摘要
TTCAN总线协议是一种CAN总线高层协议,它将事件触发机制和实时性更高的时间触发机制相结合,提高了网络实时性,满足了对安全性、可靠性要求苛刻的分布式实时控制系统以及总线日益增长的信息负载的需求。通过对TTCAN协议的研究,采用TTCAN协议的时钟同步机制同步整个网络的时钟,实现了时间主控节点对从节点的有效调度,提高了分布式客房控制系统中各个模块之间通信的实时性和可靠性。TTCAN控制器以TI公司的TMS320LF2407A处理器为核心,实现高层协议算法。采用了Microchip公司的CAN控制器MCP2515实现底层协议。通过系统调试和实验,结果较好的验证了TTCAN协议在通信实时性和带宽利用率方面的优势,表明TTCAN时间触发通信方式和系统矩阵周期的调度在一定程度上减少了总线上消息间的冲突,证明基于时间触发的CAN总线协议具有很好的应用价值。
TTCAN bus protocol is a high-level of CAN bus,it combines event-triggered with time-triggered which improves the realtime performance of the network and meets critical safety and reliability in distributed real-time system and the bus load.Through the research of TTCAN,clock synchronization mechanism is adopted to synchronize the entire network,and the master node is realized effectively scheduling the slave nodes,to improve the real-time and reliability of the communication in each module.TTCAN uses TMS320LF2407A as the control core to realize the high-level protocol and adopts MCP2515 to realize the lower protocol.Through experiment and system debugging,the results prove that the algorithm of TTCAN has the advantage of real-time transmission of signal and bandwidth utilization ratio,the conflict is indicated among the messages on the bus is depressed while the real-time performance and bus utilization are both improved in the TTCAN network with time-triggered mechanism and the scheduling in the system matrix.It proves that time-triggered CAN has good application value.
出处
《控制工程》
CSCD
北大核心
2010年第S3期48-51,共4页
Control Engineering of China