摘要
CAN(Controller Area Network)总线是一种典型的串行通信协议,它采用非破坏性的比特仲裁机制解决总线冲突。为实现CAN总线比特仲裁机制的仿真研究,基于OPNET仿真环境建立了CAN总线协议介质访问控制子层(MAC,Multiple Access Control)的仿真模型,以及CAN总线的进程模型、节点模型和网络模型。通过运行所建立的仿真模型,统计存在总线争用和不存在总线争用两种情况下仿真网络的端到端延时情况。运行了大量的仿真实验并对仿真结果进行了严格的理论分析,证明了MAC进程模型的正确性。所建立的仿真模型可用于对CAN总线进行仿真研究和工业应用。
CAN (Controller Area Network) is a typical kind of serial communication protocol. To solve the problem of bus contention, CAN adopts the mechanism of non-destructive bitwise arbitration. In order to realize simulation study on this mechanism, simulation models of Medium Access Control (MAC), process models, node models and network model of CAN were built. End-to-End delay of the simulation network was obtained by simulating these models under the condition of whether there existed a bus contention. The correctness of these models was proved by extensive simulation experiments and rigorous analyses. The models can be used in simulation study and industry application.
出处
《系统仿真学报》
CAS
CSCD
北大核心
2016年第11期2692-2700,共9页
Journal of System Simulation
基金
国家自然科学基金(61471045
61227001)
山东航天创新基金(2014JJ005)
关键词
CAN总线
总线冲突
比特仲裁
网络仿真
CAN bus
bus contention
bitwise arbitration
network simulation