摘要
分析了CAN总线的特点和总线仲裁方式,对CAN总线的实时性进行了研究,指出了在本系统中存在的通信实时性问题,提出了基于动态优先级分配法的解决方法,并对动态优先级分配法进行了改进,用此方法解决了支架控制器与上位机之间的通信实时性问题,并分别为邻架操作CAN总线和上位机轮询CAN总线编写了应用层协议。
This paper analyzes the characteristics the real-time nature of the CAN bus. Point out and arbitration of the CAN-bus, and then researches the existence real-time communication problem. Put forward the time-division multiplexing method and dynamic priority allocation method. Use this method solve the problem of real-time communication between the bracket controller and host computer. Finally, according to these two different algorithms, write the application-layer protocol for neighbor operation CAN-bus and host computer polling CAN-bus.
出处
《煤矿机械》
北大核心
2014年第4期208-210,共3页
Coal Mine Machinery
关键词
CAN总线
时分复用法
控制器
动态优先级分配法
CAN-bus
time--division multiplexing method
controller
dynamic priority allocation method