摘要
为分析控制器局域网(Controller Area Network,CAN)协议,评价CAN网络性能,提出在OPNET网络仿真环境中CAN网络模型的建模方法.采用网络层次化建模方法构建节点模型.介质访问控制(Medium Access Control,MAC)子层中设计MAC、错误处理和帧间空间模块,保证系统结构清晰.通过进程设计,MAC模块中实现了网络实时性模型;错误处理模块中实现了连续错误下网络不可用模型.定义和编辑链路及数据帧模型.根据实例模型进行网络模型的配置和仿真.仿真结果与实例测试结果一致,验证了网络模型的有效性.通过分析具体网络仿真环境下的仿真结果,对CAN网络性能进行了讨论.该模型提供了独立可编辑的节点模型,链路模型和数据帧模型,可实现灵活的网络配置,用于不同网络拓扑分析.
To analyze controller area network (CAN) protocol and evaluate CAN network performance, the CAN network modeling method was developed, based on the OPNET network simulation environment. Layered modeling method was adopted to implement CAN node model. Medium access control (MAC) module, error module and deference module were proposed based on function in the MAC sublayer of node model in order to ensure clear system structure. Network response time analysis model and inaccessibility analysis model were implemented using process design separately in MAC module and in error module. Link model and data model were defined and edited. CAN network was configured and simulated according to example model. The agreement of the simulation results with the example model testing results prove this model is valid. Through results analysis of specifically-configured network, CAN network performances were discussed. Independent and editable node model, link model and data model were provided, indicating these models could be used to carry out varied network configuration flexibly and analyze varied network topologies.
出处
《北京航空航天大学学报》
EI
CAS
CSCD
北大核心
2009年第3期284-287,346,共5页
Journal of Beijing University of Aeronautics and Astronautics
关键词
控制器局域网
OPNET
建模
仿真
centroller area network
OPNET
model building
simulation