Simulation model and analysis method for CAN platform research
Un X · Microcomputer Information · 2008
Controller Area Network(CAN) is a serial communication protocol developed for data exchange between controllers. To meet real-time standards of control systems, designing a CAN platform requires due consideration of latency of messages. Therefore, it is necessary to build an analysis model and a simulation platform of CAN message latency. In this paper, a CAN message queueing model and a simulation platform are built according to the cyclic,fixed priority tasks nonpreemptively schedule analysis model used in operation system design and the similarity between this model and the CAN message transferring process. Simulation and analysis on THECU CAN platform with four processing nodes are given. The correctness of the model is verified and the influence of message generation cycles and phases on latency of messages are discussed, too.