摘要
分析了CAN总线位仲裁方式的不足与局限性,设计并实现了基于C8051F单片机的CAN总线通信系统实验。通过改变参与总线竞争的各个节点的延时时间,实现了所有节点公平享用总线的目标,提高了系统的稳定性和实时性,具有广泛的应用前景。
In this paper, the limitations of bit arbitration mode of CAN bus is analyzed, In order to overcome these limitations, we design and implement a communication experiment of CAN bus based on C8051F MCU. By changing the time-delay of nodes competing with each other on the bus, all the nodes can equally share the bus. Furthermore, it improves the stability and real-time performances of the system. The method can be widely applied into the real time communication applications in a variety of industrial control systems based on CAN bus.
出处
《自动化与仪表》
2008年第5期17-20,共4页
Automation & Instrumentation
关键词
控制器局域网
C8051F
位仲裁
优先级
延时
controller area network(CAN)
C8051F
bit arbitration
priority
time-delay