作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (03): 243-244. doi: 10.3969/j.issn.1000-3428.2007.03.088

• 工程应用技术与实现 • 上一篇    下一篇

TCP/IP网络与CAN网络网关的设计与实现

林士兵,袁 焱,杨煜普   

  1. (上海交通大学自动化系,上海 200030)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-02-05 发布日期:2007-02-05

Design and Realization of Gateway Between TCP/IP Network and CAN Network

LIN Shibing, YUAN Yan, YANG Yupu   

  1. (Dept. of Automation, Shanghai Jiaotong University, Shanghai 200030)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-02-05 Published:2007-02-05

摘要: 介绍了一种TCP/IP与CAN异构网络间互联网关的设计与实现方法。通过分析TCP/IP网络与CAN总线网络的特点,给出了网关硬件设计方案及软件模块。该方法采用PC外挂EPP-CAN盒子的方式,适用于任意TCP/IP网络,与一般的嵌入式网关只针对某一类计算机网络(如以太网)而扩展较难相比,具有更好的灵活性、通用性、程序可移植性和易开发易维护性。

关键词: TCP/IP网络, CAN总线, Linux, EPP模式, 网关

Abstract: A new method of developing the gateway between TCP/IP network and CAN bus network is described. According to the features of TCP/IP and CAN, the hardware design scheme and software modules are discussed. The described method can be used in any TCP/IP network, not limited to one net type. Compared to the embedded gateway developing method, it is more flexible and general, more easily to develop and maintenance.

Key words: TCP/IP network, CAN bus, Linux, EPP mode, Gateway