摘要
汽车开放系统架构(AUTOSAR)是作为包括汽车制造商、供应商和工具开发商在内的开发合作伙伴成立的,旨在创建一个开放和标准化的汽车架构,解决汽车控制器软件的诸如开发周期长、可重用性差等问题。AUTOSAR CAN通信栈是AUTOSAR的重要协议栈,其是为了解决汽车CAN网络通信层软件质量良莠不齐、复用性差等问题。本文旨在依据AUTOSAR4.0.3标准在NXP MPC5748G平台设计实现AUTOSAR CAN通信协议栈底层模块,包括CAN控制器状态控制、通道通信控制、发送缓冲机制、发送取消机制、软件接收滤波机制。在实验中对比传统CAN通信软件和本文实现的CAN通信软件的周期发送延迟,结果显示AUTOSAR CAN通信软件能够降低高优先级报文周期发送的90%左右的平均延时,证明本文实现的AUTOSAR CAN通信栈有效地提升了CAN通信软件性能。
The automotive open system architecture(AUTOSAR)is an open and standardized automotive architecture that enables development partners to integrate,exchange,re-use and transfer functions within a vehicle network and improves their efficiency of development.AUTOSAR CAN communication stack is an important protocol stack of AUTOSAR,which is designed to pave the problems of uneven software quality and poor reusability in the communication layer of the automobile CAN network.The purpose of this paper is to design and implement the AUTOSAR CAN communication stack base module based on the AUTOSAR 4.0.3 standard in the NXP MPC5748 G platform,including CAN controller state control,channel communication control,transmit buffer mechanism,transmit cancel mechanism,and software receive filter mechanism.In the experiments comparing the cycle sending delay of traditional CAN communication software and the CAN communication software implemented in this paper,the results show that AUTOSAR CAN communication software can reduce the average delay of high priority message cycle sending by around 90%,proving that the AUTOSAR CAN communication stack implemented in this paper effectively improves the CAN communication software performance.
作者
李超超
武恪
方菱
Li Chaochao;Wu Ke;Fang Ling(Hefei Institutes of Physical Science,Chinese Academy of Sciences,Hefei 230031,China;University of Science and Technology of China,Hefei 230026,China)
出处
《电子测量技术》
北大核心
2021年第23期139-145,共7页
Electronic Measurement Technology
基金
安徽省重点研究与开发计划项目(202004a05020041)资助。
作者简介
李超超,硕士研究生,主要研究方向为汽车嵌入式总线协议。E-maiMccl35@maiLustc.edu.cn;武恪,硕士研究生,主要研究方向为嵌入式系统信息安全与应用。E-mail:wke@mail.ustc.edu.cn;通信作者:方菱,副研究员,博士,主要研究方向为嵌入式系统、形式化方法验证。E-mail:fangl@hfcas.as.cn。