帮助 本站公告
您现在所在的位置:网站首页 > 知识中心 > 文献详情
文献详细Journal detailed

Ethernet、多路CAN网关的设计与实现
The Design and Implement of a Ethernet and Multi-CAN Bus Gateway

导  师: 方方

学科专业: 080402

授予学位: 硕士

作  者: ;

机构地区: 成都理工大学

摘  要: 典型的现场总线控制系统/(FCS,Fieldbus Control System/)由现场设备、现场总线系统、计算机接口以及通信设备组成。现场总线/(Field bus/)负责现场设备通信,它能满足过程自动化、制造加工自动化、楼宇自动化、家庭自动化等领域的自动化控制需求。因此现场总线在工业总线领域变得非常的重要和活跃。最早的现场总线国际标准是CAN/(Controller Aera Network/)。虽然CAN总线在现场控制领域有诸多优势,但是它不能直接接入Ethernet网络。因此控制信息只能在现场网络中传递,这一点不利于工厂自动化和系统自动化的发展。如果能将CAN总线与Ethernet有机的结合起来,无疑将给现场控制、生产调控、企业管理等诸多方面带来巨大便利。 因此本论文设计了一个Ethernet和多路CAN总线的网关来实现CAN总线与以太网的通信。论文深入的剖析了CAN总线及Ethernet的通信协议,并对CAN总线与Ethernet的接口技术以及两个网络的信息交换技术进行了研究。该网关以LPC2294作为核心处理器,DM9000以太网控制器作为以太网主控芯片构建了Ethernet和多路CAN的网关的硬件电路。并选用μC/OS-Ⅱ为嵌入式操作系统,选用开源轻量级TCP/IP协议栈LWIP实现了系统管理和以太网通信。 本文成功实现了“Ethernet、多路CAN网关”。探讨了以LPC2294为核心处理器的Ethernet-CAN网关的总体设计、软硬件设计。介绍了μC/OS-Ⅱ在ARM7上的移植,LWIP在ARM7和μC/OS-Ⅱ上的移植,以及以太网控制器和CAN控制器驱动的驱动程序的编写等。 Field-bus Control System is often consisted by filed devices, filed bus, computer interfaces, and communication devices. The communication between devices in filed is done by the filed bus, which can be used in process automation, make automation, building automation, family automation and so. So Filed-bus becomes very important and active. In the filed-buses, the first one certificated by the international organization for standardization is the CAN /(CAN: Control Area Network/) bus. Although the CAN bus has done excellently, it can directly connected to Ethernet. So the information can only follow in the local network, can not be shared by the remote user. It doesn't contribute to the development of factory automation. If CAN bus can work together with the Ethernet well, the field control, the produce adjustment, the enterprise management and so on can get more convenient. Because of the above reasons, the paper designs a gateway of Ethernet and multiple CAN bus. It studies the protocol of CAN bus and Ethernet, interface technology of them, and communication technology between them. The LPC2294 used as the core processor of the gateway, DM9000 as the Ethernet controller, mcp2510 as CAN controller are the main devices in the gateway. The embedded OSμC//OS-Ⅱ, LWIP are used to implementation the system management and Ethernet communication. The Ethernet and multiple CAN bus gateway is designed successfully. The macro design, software and hardware design are talked in this paper, event how to port the LWIP to ARM7 andμC//OS-Ⅱand the driver of CAN controllers and DM9000 are introduced, too.

关 键 词: 总线 网关 接口

领  域: [自动化与计算机技术] [自动化与计算机技术]

相关作者

作者 雷瑞庭
作者 赵晨
作者 田晓松
作者 麦涛

相关机构对象

机构 中山大学资讯管理学院资讯管理系
机构 华南理工大学
机构 广东外语外贸大学
机构 暨南大学华文学院
机构 英语系

相关领域作者

作者 李文姬
作者 邵慧君
作者 杜松华
作者 周国林
作者 邢弘昊