节点文献

基于ARM的以太网与CAN总线互联网络接口控制器的研究

The Research of Controller between Ethernet and CAN Bus Connection Interface Based on ARM

【作者】 黄修力

【导师】 李军;

【作者基本信息】 广东工业大学 , 检测技术及自动化装置, 2008, 硕士

【摘要】 控制器局域网络(CAN)是一种能有效支持分布式控制或实时控制的串行通信网络,具有高性能和高可靠性的特点,现已经形成国际标准,是国际上应用最广泛的现场总线之一。与此同时,随着Internet的发展和生产自动化程度的提高,管理人员希望能够通过Internet或局域网来监控工业现场的情况。因此测控系统接入互联网已经成为大势所趋。实现企业信息网与现场总线网络互联具有非常重要的现实意义和推广价值。本文分析了CAN总线和以太网的数据传输技术,并参照国家标准,利用已有的高性能嵌入式ARM7硬件开发平台,实现了CAN总线协议与以太网协议之间的相互转换,使CAN总线能够方便的接入以太网。利用在嵌入式平台上构建动态Web页面实现对CAN网络中各设备的监控,并提出一种多机互联系统的构建,实现系统的扩充。本文详细阐述了系统的硬件、软件设计思路和实现方法。硬件平台,选用了基于ARM7内核的LPC2129处理器,并扩展了CAN总线驱动接口电路、以太网接口电路。由于该处理器集成了CAN总线控制器和先进的接收验收滤波器,本系统主要设计了CAN总线驱动电路;以太网接口选用了RTL8019AS。同时硬件设计上采用了线路隔离与屏蔽多项措施,保证系统的抗干扰能力。软件设计上采用了μC/OS-Ⅱ嵌入式实时操作系统,保证系统的实时性。在μC/OS-Ⅱ平台上分别实现了CAN总线和以太网底层驱动函数后,对标准TCP/IP协议进行了针对性的裁减和优化。并介绍了在TCP/IP协议栈之上如何进行Web服务器的构建,实现通过Web页面动态显示现场数据的功能。最后,本文讨论了多机通讯系统的构建。在介绍了多机系统构建框图基础上,介绍了一种多机通讯协议设计的方法,即自主设计开发的应用层协议以及通信转换协议。在介绍了路由器工作原理的基础上,阐述了多机互连系统工作方法以及互联网络接口控制器在多机系统中的相关设置。

【Abstract】 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.

  • 【分类号】TP273.5
  • 【被引频次】4
  • 【下载频次】425
节点文献中: 

本文链接的文献网络图示:

本文的引文网络