论文部分内容阅读
TTCAN总线协议是一种CAN总线高层协议,它将事件触发机制和实时性更高的时间触发机制相结合,提高了网络实时性,满足了对安全性、可靠性要求苛刻的分布式实时控制系统以及总线日益增长的信息负载的需求。通过对TTCAN协议的研究,采用TTCAN协议的时钟同步机制同步整个网络的时钟,实现了时间主控节点对从节点的有效调度,提高了分布式客房控制系统中各个模块之间通信的实时性和可靠性。TTCAN控制器以TI公司的TMS320LF2407A处理器为核心,实现高层协议算法。采用了Microchip公司的CAN控制器MCP2515实现底层协议。通过系统调试和实验,结果较好的验证了TTCAN协议在通信实时性和带宽利用率方面的优势,表明TTCAN时间触发通信方式和系统矩阵周期的调度在一定程度上减少了总线上消息间的冲突,证明基于时间触发的CAN总线协议具有很好的应用价值。
TTCAN bus protocol is a high-level protocol of CAN bus. It combines event triggering mechanism with real-time triggering mechanism to improve network real-time performance and satisfy distributed real-time control system with demanding requirements on safety and reliability As well as the growing demand for information on the bus. Through the research of TTCAN protocol, the clock synchronization mechanism of TTCAN protocol is used to synchronize the clock of the whole network to realize the efficient scheduling of slave nodes by the time master node and improve the real-time performance of communication among the modules in distributed guest room control system. reliability. TTCAN controller to TI’s TMS320LF2407A processor as the core, to achieve high-level protocol algorithm. Using Microchip’s MCP2515 CAN controller to achieve the underlying agreement. Through the system debugging and experiment, the result better verifies the advantage of TTCAN protocol in communication real-time and bandwidth utilization, which shows that the scheduling of TTCAN time-triggered communication and system matrix cycle reduces the collision of messages on the bus to a certain extent , Proving that CAN bus protocol based on time trigger has good application value.