摘要
在AUTOSAR标准下实现了基于以太网的诊断,并简要分析了基于以太网诊断通信的优势。将开源的TCP/IP协议栈LwIP移植进AUTOSAR的基础软件层,在此基础上,构建基于以太网的通信协议栈,从下到上依次为以太网驱动、以太网接口、TCP/IP协议栈、套接字适配器。在以太网通信协议栈的基础之上加入与诊断通信相关的模块,分别是基于IP协议的诊断、PDU Router和诊断通信管理,实现基于AUTOSAR标准的以太网诊断通信。并设计相应的诊断上位机测试UDS诊断服务,说明基于以太网诊断通信在大数据量传输过程中具有基于CAN诊断通信无可比拟的优越性。
Ethernet diagnostic communication based on the AUTOSAR standard was realized and the advantages of Ethernet diagnostic communication were analyzed briefly. The open source TCP/IP protocol stack LwIP was transplanted into the AUTOSAR basis software layer, and then the communication protoeol staek based on Ethernet was built which included the Ethernet driver, Ethernet interface, TCP/IP protocol stack , socket adapter. The ,nodule of the diagnosis communication was added on the basis of the Ethernet communication protocol stack. Finally, the corresponding upper computer was designed to test the UDS diagnosis services. It is proved that Ethernt diagnoslic communication is better than CAN diagnostic communication in the large data transmission process.
作者
章鸿滨
徐旭
黄熙
钟再敏
ZHANG Hongbin XU Xu HUANG Xi ZHONG Zaimin(Automotive Colleges, Tongji University, Shanghai 200092, Chin)
出处
《汽车零部件》
2017年第1期3-8,共6页
Automobile Parts
基金
国家科技支撑计划资助项目(2015BAG17B00)
国家自然科学基金资助项目(51075301)