Font Size: a A A

Development Of CAN Communication Module For Electric Vehicle Central Control Unit Based On AUTOSAR

Posted on:2022-08-26Degree:MasterType:Thesis
Country:ChinaCandidate:B C DongFull Text:PDF
GTID:2492306323479194Subject:Control Science and Engineering
Abstract/Summary:PDF Full Text Request
As the national policy attaches importance to protection of the environment,the requirements of relevant emission regulations have become more stringent,and the development of new energy vehicles has become a new direction for the automotive industry.As one of the main representatives of new energy vehicles,electric vehicles have received extensive attention.With the gradual improvement of travel safety and comfort requirements,electric vehicles ECU(Electronic Control Unit)software development is also facing many challenges.The central control unit is one of the important ECUs of electric vehicles.It has the functions of vehicle control and remote monitoring.It communicates with other ECUs of the vehicle through CAN(Controller Area Network)bus.Based on the AUTOSAR(AUTomotive Open System Architecture)architecture and following the MISRA(Motor Industry Software Reliability Association)C 2012 programming specification,this thesis designs and implements a reliable CAN communication module software for central control unit.This thesis first designs the overall plan of the central control unit CAN communication module.By analyzing the function of central control unit,the important role of CAN communication module is determined,and the application layer software is designed and optimized.Based on the AUTOS AR architecture,design the central control unit CAN communication software framework and functional mechanisms in the layered software,and analyze the transmission and reception processes of the data stream in the CAN communication module.OSEK OS(Open Systems and the Corresponding Interfaces for Automotive Electronics Operating System)is used to provide services for the application layer and CAN communication module software.Then follow the AUTOS AR and MISRA C 2012 specifications to develop CAN communication module software,including COM(Communication)module,PDU Router(Protocol Data Unit Router)module,CAN Interface module and CAN Driver module,analyze the functional requirements of each module,and design the data structure and functional function implementation according to the module function.The CAN Driver module is designed based on the CAN hardware of the central control unit and supports two processing modes:interrupt and polling.Finally,the central control unit CAN communication module software is tested in the laboratory,including programming specification testing,functional testing and system testing.In response to the requirements of programming specifications,MISRA C 2012 standard detection was carried out,and codes that violated the rules were modified to improve the reliability of the software.Through hardware online debugging and host computer software monitoring,the function test of each module in the development process is realized.Combined with the CAN communication requirements of the application layer of the central control unit,design and configure the data parameters of each layer of the CAN communication module to realize the system test of the CAN module of the central control unit.
Keywords/Search Tags:Central Control Unit, AUTOSAR, OSEK OS, CAN Communication, MISRAC
PDF Full Text Request
Related items