Automobile calibration system and implementation method

By designing a car calibration system including computers, ECUs, CAN communication equipment and calibration software, the existing system is solved, and the system is simplified and the accuracy of parameter measurement and calibration is achieved, and it is suitable for large-scale industrial use.

CN119865513APending Publication Date: 2025-04-22SHAANXI FAST AUTO DRIVE GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411935109.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

The existing automobile calibration system is expensive and cumbersome, which restricts the development of the domestic automobile industry.

Method used

A calibration system for automobiles is designed, including computers, ECUs, CAN communication equipment and calibration software. The ECU and computer are connected through CAN communication equipment, the parameters required for XCP protocol are set, the measurement quantity and calibration quantity supported by the ECU are obtained, and the ECU parameters are modified through calibration software.

Benefits of technology

It has achieved simplification of the system structure and method, and can accurately measure and calibrate ECU parameters, adapt to the actual needs of the vehicle, optimize control parameters, and reduce resource costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119865513A_ABST
    Figure CN119865513A_ABST
Patent Text Reader

Abstract

The invention discloses an automobile calibration system and an implementation method. Common CAN (Controller Area Network) communication equipment is adopted. And the common communication interface is determined according to the communication requirement, so that the difference between different devices is shielded. If new CAN communication equipment needs to be added, only the communication interface of the equipment needs to be realized, so that the resource cost is saved. Besides, related CAN communication equipment is firstly connected to perform data exchange with the ECU, then related parameters, a message ID, a security algorithm, an ECU address and an A2L file required by the XCP protocol are set, then required measurement data and calibration data are added, and finally, the XCP protocol is utilized to perform testing and calibration, so that the system structure and the method are more concise, and the test efficiency is improved. According to the method, parameters of the ECU can be accurately measured, certain data can be calibrated, the internal condition of the ECU can be observed and related parameters can be modified under the condition that the internal program of the ECU is not changed, so that the actual requirements of the vehicle can be better met, and the purpose of optimization is achieved. The method is suitable for large-scale industrial use and popularization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of automobile control units, and in particular relates to an automobile calibration system and an implementation method. Background Art

[0002] With the continuous improvement of the degree of automobile electrification, the complexity of automobile research and development has greatly increased. In the process of automobile research and development, a large number of automobile ECUs (ECU for short) have achieved precise control of vehicle parameters. At present, the number of internal control parameters of ECU is increasing. To accurately measure and calibrate a certain data among so many parameters, a calibration system is essential. The so-called measurement refers to monitoring a certain parameter when the ECU is in online operation to judge the working condition of the ECU. The so-called calibration refers to modifying the values ​​of certain parameters in the ECU online through the calibration system to observe the impact of different parameter values ​​on the operating results and optimize the control parameters.

[0003] At present, the automobile calibration systems used by most domestic automobile manufacturers are mainly developed by foreign companies such as INCA and CANape. They have relatively complete functions, but are very expensive and the systems are relatively cumbersome, which restricts the development of the domestic automobile industry. Summary of the invention

[0004] The purpose of the present invention is to provide a vehicle calibration system and implementation method to solve the problems of expensive and complicated calibration systems in the prior art.

[0005] In order to solve the above technical problems, the present invention adopts the following technical solutions to achieve the above problems:

[0006] A vehicle calibration system, comprising a computer, an ECU, a CAN communication device and calibration software;

[0007] The computer is used to run the calibration software;

[0008] The calibration software is used to obtain measurement data and calibration data of the ECU and to modify ECU parameters;

[0009] The ECU communicates with the computer via a CAN communication device.

[0010] A method for implementing a vehicle calibration system, based on the above-mentioned vehicle calibration system, comprises the following steps:

[0011] Step 1: According to the communication requirements of the ECU, select the corresponding communication interface of the ECU and use the CAN communication device to connect the ECU and the computer;

[0012] Step 2: Set the parameters required by the XCP protocol in the calibration software of the computer to obtain the measurement and calibration quantities supported by the ECU;

[0013] Step 3, select the required measurement data and calibration data from the measurement quantities and calibration quantities supported by the ECU;

[0014] Step 4, converting the selected measurement data and calibration data into actual physical values ​​and displaying them on the calibration software;

[0015] Step 5: Adjust the actual physical values ​​of the selected measurement data and calibration data, and modify the parameters of the ECU using the calibration software.

[0016] The present invention also has the following features:

[0017] Furthermore, in step 2, the parameters required by the XCP protocol include message ID, security algorithm, ECU address and A2L file.

[0018] Furthermore, among the parameters required by the XCP protocol, the message ID includes a command request message ID and a data transmission message ID;

[0019] The security algorithm includes a key calculation algorithm for unlocking the ECU service;

[0020] The ECU address is used to identify different types of ECUs;

[0021] The A2L file is used to record the data unit information inside the ECU, and the data unit information inside the ECU includes device parameter information, interface data information and ECU parameter information.

[0022] Furthermore, in step 2, the A2L file is parsed using a regular expression, and the measured quantities and calibration quantities supported by the ECU recorded in the A2L file are obtained through the parsed conversion algorithm.

[0023] Furthermore, in step 5, after adjusting the actual physical values ​​of the selected measurement data and calibration data, the calibration software is modified. The calibration software converts the modified physical values ​​into data values ​​of the command request message according to the conversion algorithm parsed from the A2L file and sends it to the ECU, thereby modifying the parameters of the ECU.

[0024] Compared with the prior art, the present invention has the following technical effects:

[0025] The automobile calibration system and implementation method of the present invention adopt a common CAN communication device. A common communication interface is determined according to communication requirements, thereby shielding the differences between different devices. If a new CAN communication device is to be added, it is only necessary to implement the above-mentioned device communication interface in the same manner, thereby saving resource costs. In addition, the present invention first connects the relevant CAN communication device for data exchange with the ECU, then sets the relevant parameters required by the XCP protocol, message ID, security algorithm, ECU address and A2L file, then adds the required measurement data and calibration data, and finally uses the XCP protocol for testing and calibration. The system structure and method are more concise, and the parameters of the ECU can be accurately measured and certain data can be calibrated. Without changing the internal program of the ECU, the internal status of the ECU can be observed and the relevant parameters can be modified, thereby better adapting to the actual needs of the vehicle and achieving the purpose of optimization. It is suitable for large-scale use and promotion in industry. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 It is a flow chart of the implementation method of the automobile calibration system of the present invention. DETAILED DESCRIPTION

[0027] It should be noted that, unless otherwise specified, all components in the present invention are components known in the prior art. For example, the CAN communication device is a known and commonly used CAN communication device.

[0028] All methods in the present invention, unless otherwise specified, all adopt methods known in the prior art, such as using regular expressions to parse A2L files, and those skilled in the art can implement them using methods known in the art.

[0029] Specific embodiments of the present invention are given below. It should be noted that the present invention is not limited to the following specific embodiments, and all equivalent changes made on the basis of the technical solution of this application fall within the protection scope of the present invention.

[0030] A vehicle calibration system, comprising a computer, an ECU, a CAN communication device and calibration software;

[0031] Wherein, the computer is used to run the calibration software;

[0032] The calibration software is used to obtain the measurement data and calibration data of the ECU and to modify the ECU parameters;

[0033] ECU communicates with computer via CAN communication device.

[0034] It should be noted that the calibration software adopts the known existing calibration software, and the communication between the computer and the ECU is also a known content in the art, and does not include improvements to the algorithm.

[0035] A method for implementing a vehicle calibration system, such as Figure 1 As shown, the method is based on the above-mentioned automobile calibration system and includes the following steps:

[0036] Step 1: According to the communication requirements of the ECU, select the corresponding communication interface of the ECU and use the CAN communication device to connect the ECU and the computer;

[0037] Among them, those skilled in the art are capable of determining the required communication requirements according to actual needs, and the common device communication interface abstracted according to the communication requirements can be used for data exchange with the ECU in the subsequent communication process;

[0038] This method can shield the differences between different devices. If you want to add a new CAN communication device, you only need to implement the above device communication interface, which will not affect the existing code;

[0039] Step 2: Set the parameters required by the XCP protocol in the calibration software of the computer to obtain the measurement and calibration quantities supported by the ECU;

[0040] Step 3, select the required measurement data and calibration data from the measurement quantities and calibration quantities supported by the ECU;

[0041] The required measurement data and calibration data are determined by technicians in this field according to actual needs.

[0042] Step 4, converting the selected measurement data and calibration data into actual physical values ​​and displaying them on the calibration software;

[0043] Step 5: Adjust the actual physical values ​​of the selected measurement data and calibration data, and modify the parameters of the ECU using the calibration software.

[0044] Specifically, in step 2, the parameters required by the XCP protocol include message ID, security algorithm, ECU address and A2L file.

[0045] Furthermore, among the parameters required by the XCP protocol, the message ID includes the command request message ID sent from the calibration software to the ECU and the data transmission message ID sent from the ECU to the calibration software;

[0046] The security algorithm includes a key calculation algorithm for unlocking the ECU service; the relevant algorithm interface can be customized by technicians in this field according to actual needs.

[0047] ECU address is used to identify different types of ECUs;

[0048] The A2L file is used to record the data unit information inside the ECU. The data unit information inside the ECU includes device parameter information, interface data information, and ECU parameter information.

[0049] Among them, the device parameter information describes the basic information of the ECU and the common attributes of the ECU data unit.

[0050] The interface data information describes the interface information that needs to be configured when the calibration software communicates with the ECU.

[0051] The ECU parameter information describes the detailed contents of the ECU internal data unit, including the memory address, data type and byte order of the ECU internal data unit.

[0052] Furthermore, in step 2, the A2L file is parsed using a regular expression, and the measured quantities and calibration quantities supported by the ECU recorded in the A2L file are obtained through the parsed conversion algorithm.

[0053] Specifically, in step 5, after adjusting the actual physical values ​​of the selected measurement data and calibration data, modifications are made on the calibration software. According to the ASAP standard, the conversion algorithm parsed from the A2L file converts the modified physical values ​​into data values ​​of the command request message ID and sends them to the ECU, thereby modifying the parameters of the ECU.

[0054] The name of the conversion algorithm is a well-known name, and the conversion algorithm is also a known content in the prior art.

[0055] Specifically, when parsing the A2L file, a processing progress listener can be added in advance to ensure that the processing status can be grasped at any time during the processing. The specific processing process is as follows: Step 1, read the A2L file content; Step 2, parse the data conversion algorithm; Step 3, parse the calibration quantity; Step 4, parse the monitoring quantity. Each of the above steps is a known operation in the prior art. Those skilled in the art are capable of completing the above operations in the corresponding calibration software according to the given steps, and will not be repeated here.

[0056] The automobile calibration system and implementation method of this embodiment can accurately measure the parameters of the ECU and calibrate certain data. Without changing the internal program of the ECU, it can observe the internal status of the ECU and modify related parameters, so as to better adapt to the actual needs of the vehicle and achieve the purpose of optimization.

Claims

1. A vehicle calibration system, characterized in that: Including computers, ECU, CAN communication equipment and calibration software; The computer is used to run the calibration software; The calibration software is used to obtain measurement data and calibration data of the ECU and to modify ECU parameters; The ECU communicates with the computer via a CAN communication device.

2. A method for implementing a vehicle calibration system, the method being based on the vehicle calibration system of claim 1, characterized in that: The following steps are involved: Step 1: According to the communication requirements of the ECU, select the corresponding communication interface of the ECU and use the CAN communication device to connect the ECU and the computer; Step 2: Set the parameters required by the XCP protocol in the calibration software of the computer to obtain the measurement and calibration quantities supported by the ECU; Step 3, select the required measurement data and calibration data from the measurement quantities and calibration quantities supported by the ECU; Step 4, converting the selected measurement data and calibration data into actual physical values ​​and displaying them on the calibration software; Step 5: Adjust the actual physical values ​​of the selected measurement data and calibration data, and modify the parameters of the ECU using the calibration software.

3. The method for implementing the automobile calibration system according to claim 2, characterized in that: In step 2, the parameters required by the XCP protocol include message ID, security algorithm, ECU address, and A2L file.

4. The method for implementing the automobile calibration system as claimed in claim 3, characterized in that: Among the parameters required by the XCP protocol, the message ID includes the command request message ID and the data transmission message ID; The security algorithm includes a key calculation algorithm for unlocking the ECU service; The ECU address is used to identify different types of ECUs; The A2L file is used to record the data unit information inside the ECU, and the data unit information inside the ECU includes device parameter information, interface data information and ECU parameter information.

5. The method for implementing the automobile calibration system as claimed in claim 4, characterized in that: In step 2, the A2L file is parsed using a regular expression, and the measured quantities and calibration quantities supported by the ECU recorded in the A2L file are obtained through the parsed conversion algorithm.

6. The method for implementing the automobile calibration system as claimed in claim 5, characterized in that: In step 5, after adjusting the actual physical values ​​of the selected measurement data and calibration data, the calibration software is modified. The calibration software converts the modified physical values ​​into data values ​​of the command request message according to the conversion algorithm parsed from the A2L file and sends it to the ECU, thereby modifying the parameters of the ECU.