Method, system and equipment for automatically calibrating power control data and storage medium

By using automated methods and systems to verify electronic control data, the problem of low efficiency in traditional manual verification has been solved, achieving efficient and accurate data comparison and report generation, and improving the automation level of engine electronic control data verification.

CN121979703APending Publication Date: 2026-05-05GUANGXI YUCHAI MASCH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUANGXI YUCHAI MASCH CO LTD
Filing Date
2025-12-31
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

Traditional engine electronic control data calibration methods rely primarily on manual processes, resulting in tedious and repetitive calibration steps that are prone to errors and omissions, leading to low work efficiency.

Method used

This paper provides a method and system for automating the verification of electronic control data. By constructing page frames, importing files, building templates and rule bases, it automatically compares the source files of vehicle functions and the target files of electronic control data, and generates a comparison report.

Benefits of technology

It achieves efficient automatic comparison, reduces error rate, reduces the number of data errors, improves work efficiency, and reduces the failure rectification rate in external markets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121979703A_ABST
    Figure CN121979703A_ABST
Patent Text Reader

Abstract

The invention discloses a method, a system and equipment for automatically checking electric control data and a storage medium, belongs to the technical field of automobile engines, and solves the technical problem of low working efficiency of manual checking. The method comprises the following steps: constructing a source file page frame, a target file page frame and a comparison result display frame; obtaining at least one whole vehicle function source file and a corresponding electronic control data target file needing to be checked; constructing a source file template, a target file template and a comparison rule base; reading variables in the whole vehicle function source file and storing the variables in the source file template; reading variables in the electronic control data target file and storing the variables in the target file template; sequentially comparing the two variables at the same positions of the source file template and the target file template according to a comparison rule base, displaying a comparison result in a comparison result display frame, marking the variables which are inconsistent in comparison, and marking unequal marks on the electronic control data target files corresponding to the inconsistent variables; and generating and outputting a comparison file report.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automotive engine technology, and more specifically, to a method, system, device, and storage medium for automatically verifying electronic control data. Background Technology

[0002] Engine electronic control system (ECU) data calibration refers to the process of verifying and correcting the data stored or transmitted in the ECU to ensure its accuracy, consistency, and reliability. This process typically involves comparing the data with preset standards or reference data and generating a calibration report to guide subsequent adjustments.

[0003] Traditional proofreading methods rely mainly on manual proofreading, which is tedious and repetitive, easily causing eye fatigue and leading to errors and omissions, resulting in low work efficiency. Summary of the Invention

[0004] The technical problem to be solved by the present invention is to address the above-mentioned shortcomings of the prior art. The purpose of the present invention is to provide an automated method for verifying electrical control data that can improve work efficiency.

[0005] The second objective of this invention is to provide a system for automatically verifying electrical control data.

[0006] The third objective of this invention is to provide a computer device.

[0007] The fourth objective of this invention is to provide a computer storage medium.

[0008] To achieve the first objective mentioned above, the present invention provides a method for automatically verifying electronic control data, comprising the following steps: Step 1. Construct the source file page frame, the target file page frame, and the comparison result display frame; Step 2. Obtain at least one vehicle function source file through the source file page frame; Step 3. Obtain the corresponding target file of the electrical control data that needs to be calibrated through the target file page frame; Step 4. Construct source file templates, target file templates, and comparison rule bases; Step 5. Read each variable from the vehicle function source file and store it in the corresponding position of the source file template; read each variable from the electronic control data target file and store it in the corresponding position of the target file template; Step 6. For the two variables in the same position in the source file template and the target file template, compare them according to the comparison rule base, and display the comparison results in the comparison result display box. Mark the variables that are inconsistent, and mark the corresponding electronic control data target files of the inconsistent variables as unequal. Step 7. Generate and output the comparison report.

[0009] As a further improvement, the vehicle function source file is a DCM file in hexadecimal byte format, containing single variables, vectors, curves, and MAPs.

[0010] Furthermore, the target file for the electronic control data is a Hex file, which contains variables calibrated by the engine's electronic control data.

[0011] Furthermore, it also includes the A2L file of the underlying calibration of the electronic control data, which is used to parse the variables in the Hex file.

[0012] Furthermore, the comparison rule base includes univariate comparison rules, vector comparison rules, curve comparison rules, and MAP comparison rules.

[0013] Furthermore, the vehicle function source file and the electronic control data target file are imported into the source file page frame and the target file page frame by pulling in the operation method.

[0014] Furthermore, in step 6, variables that do not match are marked in red.

[0015] To achieve the second objective mentioned above, the present invention provides a system for automatically verifying electronic control data, comprising: The page frame building module is used to build the source file page frame, the target file page frame, and the comparison result display frame; The import module is used to obtain at least one vehicle function source file through the source file page box, and to obtain the corresponding electronic control data target file that needs to be calibrated through the target file page box. The template module is used to build source file templates, target file templates, and comparison rule bases; The reading module is used to read each variable in the vehicle function source file and store it in the position corresponding to the source file template; and to read each variable in the electronic control data target file and store it in the position corresponding to the target file template. The comparison module is used to compare two variables in the same position in the source file template and the target file template according to the comparison rule library, and display the comparison results in the comparison result display box. The variables that are inconsistent are marked, and the target files of the electrical control data corresponding to the inconsistent variables are marked as unequal. The output module is used to generate and output a comparison report.

[0016] To achieve the third objective mentioned above, the present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above-mentioned method for automatically verifying electronic control data.

[0017] To achieve the fourth objective mentioned above, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the above-mentioned method for automatically verifying electrical control data.

[0018] Beneficial effects Compared with the prior art, the present invention has the following advantages: This invention allows for the import of one or more vehicle function source files and target electronic control data files requiring calibration via source file and target file page boxes. It enables one-click automatic data comparison, displaying the comparison results in a result box. If discrepancies are found, the text is highlighted, and the differences can be exported. Compared to manual single-file calibration, this invention significantly reduces the error rate and the number of data errors, thereby reducing the rate of fault rectification in external markets. This invention's automatic calibration can perform single or batch calibration, reducing calibration time and improving work efficiency. Attached Figure Description

[0019] Figure 1 This is a flowchart of the present invention; Figure 2 This is a comparative page illustration of the present invention. Detailed Implementation

[0020] The present invention will be further described below with reference to specific embodiments shown in the accompanying drawings.

[0021] See Figures 1-2 A method for automatically verifying electronic control data includes the following steps: Step 1. Construct the source file page box, the target file page box, and the comparison result display box; such as Figure 2 As shown, the list box at the top left of the interface is the source file page box, the list box at the bottom left of the interface is the target file page box, and the list box on the right is the comparison result display box. Step 2. Obtain at least one source file for the entire vehicle's functions through the source file page box, such as... Figure 2 As shown, up to 6 files can be imported simultaneously; Step 3. Obtain the corresponding electronic control data target file that needs to be calibrated through the target file page box. The number of electronic control data target files is equal to the number of vehicle function source files. Step 4. Construct source file templates, target file templates, and comparison rule bases. The source file templates and target file templates have the same structure. Step 5. Read each variable from the vehicle function source file and store it in the corresponding position of the source file template; read each variable from the electronic control data target file and store it in the corresponding position of the target file template. Step 6. For the two variables in the same position in the source file template and the target file template, compare them according to the comparison rule library, and display the comparison results in the comparison result display box. Mark the variables that are inconsistent, such as in red or by highlighting them. At the same time, mark the corresponding electrical control data target files of the inconsistent variables with inequality marks, such as with red inequality signs. The display is intuitive and convenient, so that users can know at a glance which variable in which file is abnormal. Step 7. Generate and output a comparison report to guide or analyze subsequent improvement or calibration work.

[0022] Specifically, the source files for the whole vehicle functions are DCM files in hexadecimal byte format, which contain single variables, vectors, curves, and MAPs.

[0023] The target file for electronic control data is a Hex file, which contains the variables calibrated for engine electronic control data.

[0024] The present invention also includes an A2L file for the underlying calibration of electronic control data, which is an SQLite3 database file containing various parsing algorithms for parsing variables in the Hex file and aligning them with the variables in the engine electronic control data calibration and the variables in the vehicle function source file (i.e., uniform format).

[0025] The comparison rule base includes univariate comparison rules, vector comparison rules, curve comparison rules, and MAP comparison rules. During the comparison process, each variable is compared according to the corresponding comparison rule. For example, the univariate comparison rule compares whether the numerical value is within the error range, while the curve comparison rule considers not only the error range but also the trend of change.

[0026] The source files for vehicle functions and the target files for electronic control data can be imported into the source file page box and the target file page box by dragging and dropping. The operation is simple and convenient.

[0027] In step 6, variables with discrepancies are marked in red or highlighted, and a response is added to that variable. Clicking on the response will display detailed information, including the reasons for the discrepancies and corresponding solutions. The comparison report will also include the reasons for the discrepancies and corresponding solutions.

[0028] It also includes an expert database, which sets the weight and variable level for each or each type of variable. Based on the comparison results and the expert database, scores and variable level rankings are performed. Variable level ranking is used to sort the degree of influence of inconsistent variables. Scoring and variable level ranking can better help users guide or analyze subsequent improvement or calibration work.

[0029] A system for automatically verifying electrical control data, comprising: The page frame building module is used to build the source file page frame, the target file page frame, and the comparison result display frame; The import module is used to obtain at least one source file for vehicle functions through the source file page box, and to obtain the corresponding electronic control data target file that needs to be calibrated through the target file page box. The template module is used to build source file templates, target file templates, and comparison rule bases; The reading module is used to read various variables from the vehicle function source files and store them in the corresponding positions of the source file template; it also reads various variables from the electronic control data target files and stores them in the corresponding positions of the target file template. The comparison module is used to compare two variables in the same position in the source file template and the target file template according to the comparison rule library, and display the comparison results in the comparison result display box. Variables that do not match are marked, and the target files of the electrical control data corresponding to the inconsistent variables are marked as unequal. The output module is used to generate and output a comparison report.

[0030] A computer device includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the above-described method for automatically verifying electronic control data.

[0031] A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the aforementioned method for automatically verifying electronic control data.

[0032] The above are merely preferred embodiments of the present invention. It should be noted that those skilled in the art can make several modifications and improvements without departing from the structure of the present invention, and these will not affect the effectiveness of the implementation of the present invention or the practicality of the patent.

Claims

1. A method for automatically verifying electronic control data, characterized in that, Includes the following steps: Step 1. Construct the source file page frame, the target file page frame, and the comparison result display frame; Step 2. Obtain at least one vehicle function source file through the source file page frame; Step 3. Obtain the corresponding target file of the electrical control data that needs to be calibrated through the target file page frame; Step 4. Construct source file templates, target file templates, and comparison rule bases; Step 5. Read each variable from the vehicle function source file and store it in the corresponding position of the source file template; Read each variable from the electronic control data target file and store it in the location corresponding to the target file template; Step 6. For the two variables in the same position in the source file template and the target file template, compare them according to the comparison rule base, and display the comparison results in the comparison result display box. Mark the variables that are inconsistent, and mark the corresponding electronic control data target files of the inconsistent variables as unequal. Step 7. Generate and output the comparison report.

2. The method for automatically verifying electrical control data according to claim 1, characterized in that, The source files for the vehicle functions are DCM files in hexadecimal byte format, containing single variables, vectors, curves, and MAPs.

3. The method for automatically verifying electrical control data according to claim 1, characterized in that, The target file for the electronic control data is a Hex file, which contains variables calibrated by the engine's electronic control data.

4. The method for automatically verifying electrical control data according to claim 1, characterized in that, It also includes the A2L file for the underlying calibration of the electronic control data, which is used to parse the variables in the Hex file.

5. The method for automatically verifying electrical control data according to claim 2, characterized in that, The comparison rule base includes univariate comparison rules, vector comparison rules, curve comparison rules, and MAP comparison rules.

6. The method for automatically verifying electrical control data according to claim 1, characterized in that, The vehicle function source files and the electronic control data target files are imported into the source file page frame and the target file page frame by pulling in the operation.

7. The method for automatically verifying electrical control data according to claim 1, characterized in that, In step 6, variables that do not match are marked in red.

8. A system for automatically verifying electrical control data, characterized in that, include: The page frame building module is used to build the source file page frame, the target file page frame, and the comparison result display frame; The import module is used to obtain at least one vehicle function source file through the source file page box, and to obtain the corresponding electronic control data target file that needs to be calibrated through the target file page box. The template module is used to build source file templates, target file templates, and comparison rule bases; The reading module is used to read various variables in the vehicle function source file and store them in the corresponding position of the source file template; Read each variable from the electronic control data target file and store it in the location corresponding to the target file template; The comparison module is used to compare two variables in the same position in the source file template and the target file template according to the comparison rule library, and display the comparison results in the comparison result display box. The variables that are inconsistent are marked, and the target files of the electrical control data corresponding to the inconsistent variables are marked as unequal. The output module is used to generate and output a comparison report.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the method for automatically verifying electrical control data as described in any one of claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the method for automatically verifying electrical control data as described in any one of claims 1-7.