计算机工程与应用 ›› 2011, Vol. 47 ›› Issue (20): 14-16.

• 博士论坛 • 上一篇    下一篇

CAN总线应用层协议的研究与实现

王邦继,刘庆想,李相强,张健穹   

  1. 西南交通大学 物理科学与技术学院,成都 610031

  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2011-07-11 发布日期:2011-07-11

Design of CAN bus application layer protocol for beam control system

WANG Bangji,LIU Qingxiang,LI Xiangqiang,ZHANG Jianqiong   

  1. College of Physical Science and Technology,Southwest Jiaotong University,Chengdu 610031,China
  • Received:1900-01-01 Revised:1900-01-01 Online:2011-07-11 Published:2011-07-11

摘要: 在研究CAN协议的原理及应用技术的基础上,为了满足波控系统控制策略的需要,设计了CAN总线应用层协议。该协议对网络信息进行了分类,在CAN2.0B标准基础上重新定义了标识符域,并对数据编码、网络管理机制和物理接口等作了定义。介绍了所开发的基于CAN总线的控制网络。实际运行表明,该协议具有网络负载小、通讯实时性好和可靠性高的特点。

关键词: 波控系统, 控制器局域网络(CAN)总线, 应用层协议, 控制器局域网络(CAN)分析仪

Abstract: A special Controller Area Network(CAN) bus application layer protocol is designed for the high reliable and hard real-time communication of the beam control system.In this paper,messages on the network are classified and the identifier coding,data coding,network management mechanism and physical interface are defined.A test platform based on CAN bus for the beam control system is built to validate the design.Experimental results indicate that the developed CAN control network for the beam control system is very reliable and has good real-time performance and low network load rate.

Key words: beam control system, Controller Area Network(CAN) bus, application layer protocol, Controller Area Network(CAN) analyzer