首页 | 本学科首页   官方微博 | 高级检索  
     

一种适用于煤矿安全监控系统的CAN总线应用层通讯协议
引用本文:李恩,蔡丽,梁自泽,赵现军,张文亚. 一种适用于煤矿安全监控系统的CAN总线应用层通讯协议[J]. 计算机应用, 2006, 26(9): 2178-2181
作者姓名:李恩  蔡丽  梁自泽  赵现军  张文亚
作者单位:中国科学院,自动化研究所,北京,100080;中国科学院,研究生院,北京,100049;中国科学院,自动化研究所,北京,100080;中国电力财务有限公司,北京,100054
基金项目:信息产业部电子信息产业发展基金
摘    要:针对煤矿安全监控系统中的CAN总线通讯,提出了一种适用于该系统的应用层通讯协议。通过对CAN2.0B帧结构的分析,根据监控系统的通讯要求对扩展帧的报文标识符的各位进行了定义,用来存放通讯中的控制信息,而8字节长度的数据场可以全部用来存放通讯数据,进而提高了通讯效率。基于管道技术设计了支持多线程通讯的应用层通讯协议,实现了监控系统中的命令和数据并行传输。基于帧号和位图进行数据包的拆分与重组,解决了由于CAN总线本身的短帧结构所造成的大数据量传输困难的问题。最后对通讯过程中的控制协议及其帧格式的构成进行了简要的阐述。

关 键 词:现场总线  通讯协议  监控系统  多线程
文章编号:1001-9081(2006)09-2178-4
收稿时间:2006-03-24
修稿时间:2006-03-242006-05-30

CAN-bus Based Communication Application Layer Protocol for the Colliery Safety Monitoring System
LI En,CAI Li,LIANG Zi-ze,ZHAO Xian-jun,ZHANG Wen-ya. CAN-bus Based Communication Application Layer Protocol for the Colliery Safety Monitoring System[J]. Journal of Computer Applications, 2006, 26(9): 2178-2181
Authors:LI En  CAI Li  LIANG Zi-ze  ZHAO Xian-jun  ZHANG Wen-ya
Affiliation:1. Institute of Automation, Chinese Academy of Sciences, Beijing 100080, China; 2. School of Graduate, Chinese Academy of Sciences, Beijing 100049, China; 3. China Power Finance Co., Ltd., Beijing 100054, China
Abstract:In this paper,we proposed an application layer communication protocol which was suitable for CAN(Controller Area Networks) bus based colliery safety monitoring systems.After analyzing the frame structure of CAN 2.0B and the communication requirements of the monitoring system,we gave a definition for each bit of message identifier in the extended data frame to carry communication control information.Consequently,all of the eight bytes in the data field can be used to transmit actual data and then the CAN bus based communication efficiency was improved.The application layer protocol with multi-pipe technique can support the multi-thread communication between the transmitter and the receiver,and the command and captured data can be transmitted simultaneously in the monitoring system. The CAN bus short frame structure may result in the transmission failure of the large size data,while the frame number and bitmap technique can effectively solve the problem.Finally,the control protocol of the application layer and its frame format were briefly introduced.
Keywords:field bus   communication protocol   monitor system   multi-thread
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号