Design and Implementation of Calibration System for New Energy Vehicle Controller

Authors

  • Qin jing, LU Yiping

Abstract

In recent years, new energy vehicles have become a research hotspot due to their good economic performance and emission performance. The development of new energy vehicles also caters to the country’s requirements for the strategic transformation of the automobile industry and sustainable social development. However, when developing electronic control units for new energy vehicles, there are a large number of control parameters that need to be calibrated and optimized. Based on this, this article has developed a complete measurement and calibration system for the vehicle controller of new energy vehicles, in which the new energy vehicle vehicle controller uses the multi-core chip F28M35x as its main control chip. In order to meet the increasingly complex requirements for the calibration of new energy vehicle electronic control systems, this paper uses the industry-wide recognized matching calibration specification, ASAP, as the calibration system software development standard and the internationally accepted XCP as the calibration protocol for the calibration system. In this paper, the entire measurement and calibration system is implemented in a modular and hierarchical manner, which facilitates the upgrade and expansion of the system's functions. The measurement and calibration system mainly includes PC calibration software system and vehicle controller software system. The PC calibration software system consists of a measurement calibration module, an XCP protocol module, a communication module, and a database module, and also integrates an A2L file parser (which can parse out and save the parameter information of the ECU description file). The measurement calibration module is based on C# language development and realizes the interface between tasks such as interface and measurement calibration. The XCP protocol module implements the encapsulation and analysis of XCP messages. The communication module implements multi-threaded parallel transmission and reception of CAN data. The database module application ADO.NET technology implements the preservation and management of parameter information. The vehicle controller software system was developed in the Code Composer Studio environment, which realized the programming of the F28M35x chip FLASH unit, the mapping between the FLASH area and the RAM area, and the data communication between the C2000 core and the ARM core. The system is divided into three layers: the XCP transport layer, the XCP protocol layer, and the interface layer. Each layer coordinates the measurement and calibration requests of the upper computer. At the same time, the test platform for measurement and calibration system is built, and the A2L file analysis, data measurement, parameter calibration and data monitoring functions of the entire system are tested based on the platform. The test results show that the functions of the entire measurement and calibration system can be reliably and stably operated and meet the design requirements.

Published

2020-12-01

Issue

Section

Articles