The Research of Controller between Ethernet and CAN Bus Connection Interface Based on ARM
|School||Guangdong University of Technology|
|Course||Detection technology and automation devices|
|Keywords||CAN Bus Ethernet μC/OS-Ⅱ Embedded Web Server Common Gateway Interface Multi-computer System|
CAN bus is a kind of Serial communication network which can effectively support the distributed control and the real-time contorl. It featured of high performance and redundant relibale. An international standard for CAN has been used, and, CAN is the one of most extensive application Fieldbus of the international community. At the same time, with the Internet’s development and the improvement of production automation, managements hope to through the Internet or LAN to monitor the situation of the industrial site. Therefore, monitoring system connected to the Internet has become the trend of the times, the related research have very important actual means and extension value to carry out that the corporation information intranet interconnects with the Field Bus.The dissertation analyses the whole data communication technology between CAN Bus with Ethernet, and refer to the national standards , sueeessly realize the interconversion between CAN bus and Ethernet, enables CAN bus to connect with Ethernet facilely by using the advaneed ARM7 embedded processor with rapid speed, high performance.This paper analyses the CAN bus and Ethernet data transmission technology, and in the light of national standards, the use of the existing high-performance embedded ARM7 hardware development platform, and the CAN bus protocol and Ethernet mutual agreement between the conversion, CAN bus to facilitate access to Ethernet. Using construct a dynamic Web page on embedded platform to monitor the field data in CAN Bus.In this paper, the design and realize method of the hardware and software are presented. About hardware platform, LPC2129 which is based on ARM7TDMI-S? CPU core was selected,and CAN bus driver interface circuits、Ethernet interface circuit are expanded. In LPC2129, CAN interfaces with advanced acceptance filters are intergrated, so this system is mainly designed CAN bus driver circuit.RTL8019AS was chosen as Ethernet controller. To achieve high EMC perfomence,many methods were applied, such as optoelectronic isolation、shield. In order to ensure real-time, the RTOS--μC/OS-Ⅱwas chosen about software platform. After CAN bus drivers and and the underlying Ethernet function based onμC/OS-Ⅱ, embedded the standard TCP/IP to the targeted reductions and optimization. And, embedded Web server was designed based on TCP/IP. Dynamic Web page was realized to present field data.At last, this article discusses the multi-communication system design. After the introduction of the multi-computer system diagram, this paper introduced a multi-protocol design method, that is, application layer protocol based on independent design and communication conversion protocol. Working methods of multi-computer system was expatiated based on the router principle, and how to setting the interface controllers.