Font Size: a A A

Low-level Software And Hardware Design And Tool Chain Implementation Of Vehicle Controlle

Posted on:2023-02-15Degree:MasterType:Thesis
Country:ChinaCandidate:J C ZhangFull Text:PDF
GTID:2532307052999709Subject:Electronic and communication engineering
Abstract/Summary:PDF Full Text Request
With the popularization of new energy vehicles,the acceleration of the new four modernizations of automobiles,the shortening of the iteration cycle of automobile products,the industry’s requirements for the development efficiency of automobile ECUs are getting higher and higher.At the same time,based on intelligent driving,the needs of automobile networking,which also puts forward higher requirements for ECU safety and ease of use.The vehicle controller is one of the important components in many ECUs of new energy vehicles.At present,the research on the vehicle controller in domestic universities is generally carried out for a specific technology,lacking its software and hardware design,diagnosis protocol and calibration protocol and peripherals.The result of a systematic study of toolchains.Based on the NXP MPC5744 P microcontroller,this paper designs a vehicle controller for rapid verification of the vehicle control strategy model.An integrated framework of Simulink control strategy is built,and peripheral tool chains such as underlying driver,UDS diagnostic protocol,XCP calibration protocol and code integration,Boot Loader,and A2 L integration are written and implemented.In terms of hardware design,through multiple design iterations,the customized testing requirements of the vehicle controller for data acquisition and control of new energy vehicles and laboratory benches have been met.It not only includes the conventional analog input acquisition interface and digital input of the vehicle controller.Output interface,PWM capture and output interface,CAN and LIN communication interfaces,and also realize the temperature acquisition and analog output interfaces required for laboratory bench testing.In terms of software design,through the research of UDS and XCP protocol,first of all,UDS protocol is implemented to meet the needs of vehicle diagnosis and OTA upgrade,and the Boot Loader host computer based on UDS protocol is designed and implemented;at the same time,the support of XCP protocol is added to make The vehicle controller designed in this paper can use INCA calibration software to measure and modify the parameters of the controller in real time,so as to meet the calibration requirements of vehicle control strategy development.Since the C code of the control strategy is generated by the Simulink model,this paper also designs a code integration tool to integrate the underlying basic software and the control strategy code.At the end of the paper,the whole vehicle controller designed in this paper is tested and verified,and its software functions and hardware interfaces such as UDS download,XCP calibration,and other software functions and hardware interfaces are systematically tested and verified,and the vehicle modification and real vehicle test are completed in cooperation with enterprise partners.The test results show that the research results in this paper meet the development and verification requirements of the vehicle control strategy and run stably.
Keywords/Search Tags:New energy vehicle, Vehicle controller, UDS protocol, XCP protocol, Measurement and calibration, Bootloader download
PDF Full Text Request
Related items