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

计算机工程 ›› 2007, Vol. 33 ›› Issue (24): 258-260. doi: 10.3969/j.issn.1000-3428.2007.24.091

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

CAN总线上层协议的设计

许 杭,白瑞林,严 惠   

  1. 江南大学控制科学与工程研究中心,无锡 214122
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-12-20 发布日期:2007-12-20

Design of Higher Layer Protocol Based on CAN Bus

XU Hang, BAI Rui-lin, YAN Hui   

  1. Control Science and Engineering Research Center, Southern Yangtze University, Wuxi 214122
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-12-20 Published:2007-12-20

摘要: 提出多帧控制协议和节点互访协议,讨论了两种协议在CAN协议上的实现及报文调度方法。采用多帧控制协议对多帧报文进行传输控制。节点互访协议采用存储区映射的方法来建立节点之间的逻辑联系,借鉴了MODBUS协议请求/应答形式的数据通信方法。实验表明该设计应用于电梯控制系统,能充分满足性能指标要求。

关键词: CAN总线, 多帧控制协议, 节点互访协议, MODBUS协议

Abstract:

Multi-frame control protocol and node exchange visiting protocol are presented. This paper discusses the way of implementing the two protocols on CAN protocol and the method of message scheduling. Multi-frame control protocol is used to control transporting multi-frame messages. Node exchange visiting protocol adopts memory mapping to establish the logic relationship among nodes. Node exchange visiting protocol also consults request/response communication model used by MODBUS protocol. This design is applied to elevator control system, and it shows good capability.

Key words: CAN bus, multi-frame control protocol, node exchange visiting protocol, MODBUS protocol

中图分类号: