论文部分内容阅读
CAN(Controller Area Network)总线是一种典型的串行通信协议,它采用非破坏性的比特仲裁机制解决总线冲突。为实现CAN总线比特仲裁机制的仿真研究,基于OPNET仿真环境建立了CAN总线协议介质访问控制子层(MAC,Multiple Access Control)的仿真模型,以及CAN总线的进程模型、节点模型和网络模型。通过运行所建立的仿真模型,统计存在总线争用和不存在总线争用两种情况下仿真网络的端到端延时情况。运行了大量的仿真实验并对仿真结果进行了严格的理论分析,证明了MAC进程模型的正确性。所建立的仿真模型可用于对CAN总线进行仿真研究和工业应用。
CAN (Controller Area Network) bus is a typical serial communication protocol, which uses a non-destructive bit arbitration mechanism to resolve bus conflicts. In order to realize the simulation of bit-arbitration mechanism of CAN bus, a simulation model of MAC (Multiple Access Control) of CAN bus protocol is established based on OPNET simulation environment, and the process model, node model and network model of CAN bus. Through running the established simulation model, we can calculate the end-to-end delay of the simulation network under the condition of bus contention and absence of bus contention. Run a large number of simulation experiments and the simulation results of a rigorous theoretical analysis to prove the correctness of the MAC process model. The simulation model can be used to simulate the CAN bus and industrial applications.