节点文献

基于嵌入式Linux技术的CAN/Ethernet网关设计

The Design of CAN/Ethernet Gateway Based on Embedded Linux

【作者】 韩丽娜

【导师】 陈在平;

【作者基本信息】 天津理工大学 , 控制理论与控制工程, 2008, 硕士

【摘要】 Internet正在把全世界的办公系统和通信系统连接起来,这为现场信息的远程访问提供了可能;现场总线为现场设备接入Internet提供了基础。Ethernet(以太网)是最广泛的局域网技术,非常容易集成到以Internet为代表的信息网络中。将现场总线与以太网相结合构成两层工业网络控制系统,已经成为当前国内外流行的工业控制模式。嵌入式技术已经是一门涉及计算机体系结构、计算机软件以及其他相关电子技术的综合技术。随着信息与网络技术的发展,嵌入式系统渗透到各个领域,得到了广泛的应用。嵌入式Linux因为免费、开放源代码以及强大的网络功能受到了越来越多的重视。CAN(Control Area Net)总线作为一种优秀的现场总线,在我国得到大面积的推广和使用。因此,本文探讨了互连CAN总线协议和Ethernet协议的方法。本文根据研究需要,以32位ARM7系列LPC2292微处理器为核心,设计了CAN/Ethernet网关系统的总体结构,搭建了采用嵌入式Linux技术所需要的开发环境。主要的工作内容如下:选择合适的软硬件开发环境,完成嵌入式uClinux操作系统的硬件平台移植;设计了基于ARM7的CAN总线节点,编写基于嵌入式uClinux操作系统的底层CAN总线控制器的硬件驱动程序;实现PC机与ARM7处理器之间的以太网通信;进行两种总线协议的数据交换分析;最后,配合网关的实验测试设计了嵌入式webserver。本文所设计开发的CAN/Ethernet网关经过了实验测试,结果表明具备较好的易用性、稳定性,完全实现了通过以太网进行CAN总线网络信息收发的功能;并且由于嵌入式uClinux操作系统的移植,为网关完成复杂的协议转换提供了实时内核,实现了局域网内主机对CAN节点的实时访问。此网关的研究与应用为现场总线和以太网的结合提供了较好的思路,为现场总线的继续发展和以太网向工业设备底层的延伸找到了最好的结合点。

【Abstract】 The Internet connects the office systems worldwidely with the communication systems and that makes it possible for the remote access to bottom information. At the same time,the field bus provides a foundation for the field devices to connect to the Internet directly. Ethernet is the most extensive LAN technology and easily connected to information network..The two-floor industry network control system which connects field and Ethernet,has been the prevalent mode of industry control system in home and abroad.Embedded technology has been a compositive technology which integrates computer configuration,computer sofeware and other technology relating to electronics.With the development of information and network technology,the embedded system is applied widely in all kinds of fileds.And in the field of embedded operation system,more people have focused their attention on Embedded Linnux because of its free,source code opening and strong network function,etc.As an outstanding field bus,CAN(Control Area Net)bus get more popularization and application in our country.So,the interconnection between CAN bus protocol and Ethernet protocol is discussed in this paper.The configuration of CAN/Ethernet gateway based on embedded Linux technology on the core of high-speed ARM7 processor LPC2292 is designed,and the exploitation environment is also founded in this paper,according to the purpose of the study. The main contents are as follows:The exploitation environment including hardware and software is choised,and the embedded uClinux operation system is explanted to the hareware platform.The CAN field bus node based on ARM7 is designed,and the bottom device CAN controller’s driver based on embedded uClinux operation system is also programmed.At the same time,the communication between PC and ARM7 processor is carried out,as well as the data exchange between the above two protocols.At last,an embedded webserver is also completed for the gateway experiment test.The CAN/Ethernet gateway has already implemented its functions of data receiving and sending for CAN bus network through Ethernet,and its stability and usability are satistifed in the laboratory test.Above all,because of the explantation of uClinux operation system,the RTOS(Real Time Operation System) provides a good software development environment for users.The study of the gateway gives a better method for combination of fieldbus and Ethernet,and brings continued development of fieldbus and Ethernet extend through to industry control fields together in the future.

【关键词】 以太网CAN总线嵌入式技术网关
【Key words】 EthernetCAN fieldbusembedded technologygateway
节点文献中: 

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

本文的引文网络