System and method for testing and calibrating new energy engine and vehicle control software

Through the system and method of testing and calibration of new energy engines and vehicle control software, and using simulation simulators for precise simulation, the problem of time and resource consumption of real engine testing in the existing technology is solved, and fast and efficient software testing and calibration is achieved.

CN119988194APending Publication Date: 2025-05-13WANWU GONGKAI INTELLIGENT TECH (ZIBO) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510035851.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-09
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

Existing engine calibration technology requires multiple tests on real engines, which consumes a lot of time and resources, and cannot accurately simulate complex working conditions.

Method used

Provide a system and method for testing and calibration of new energy engines and vehicle control software. Through actual data modules, data processing modules, upper computers, simulation simulators and ECUs, the testing and calibration of engines and vehicle control software is realized without the need for real engines.

Benefits of technology

By collecting test data at one time, it can perform precise simulation on the simulation simulator, saving time and resources for software testing and calibration, and shortening the development cycle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119988194A_ABST
    Figure CN119988194A_ABST
Patent Text Reader

Abstract

The invention relates to a system and a method for testing and calibrating new energy engine and vehicle control software, which belong to the field of software development and engine and vehicle performance development, and are characterized in that actually acquired test data are subjected to data preprocessing and then are sent to a simulator by upper computer software, so that precise analogue simulation can be carried out infinitely, and the system and the method can be used for testing and calibrating the new energy engine and vehicle control software. Therefore, the test and calibration work of the engine and the vehicle control software is completed, the test time and test resources are greatly saved, and the development period is shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a system and method for testing and calibrating new energy engine and vehicle control software, and belongs to the field of software development and engine and vehicle performance development. Background Art

[0002] Existing engine calibration technologies all use real engines and vehicles for testing and experimentation. The same test and calibration process may need to be repeated many times, which takes a lot of time and resources. Some existing testing work can be done through simulation simulators, but the work completed is relatively simple and cannot accurately simulate complex working conditions.

[0003] CN 116358874 A discloses an engine parameter determination method, device, electronic equipment and storage medium, which are used to accurately calibrate the transient process of the engine, determine the target data of each performance index in the transient process based on the collected data of any transient process of the engine; obtain a target model based on sample data training, and determine the calibration parameters of the engine through the target model.

[0004] CN 117147166 A discloses an engine calibration method, device, electronic equipment and storage medium. The method collects vehicle driving data, divides the driving data into scenes, and obtains driving data corresponding to a plurality of scenes respectively. For the driving data of a target scene, a transient operating condition and a steady-state operating condition under the target scene are determined and constructed based on the driving data of the target scene; and the engine is calibrated based on the transient operating condition and the steady-state operating condition.

[0005] CN 118670725 A discloses a PHEV engine automatic calibration system and method, comprising an engine calibration control module, an engine automatic control module, an engine calibration measurement and analysis module and an engine combustion analysis module which are interconnected, and realize switching between throttle control and charging efficiency control, thereby realizing automatic control of all universal characteristics of the PHEV engine.

[0006] The above three public applications all need to be attached to real engines. Summary of the invention

[0007] According to the problem described in the background, the problem to be solved by the present invention is: to provide a system and method for testing and calibrating new energy engines and vehicle control software, which can realize the testing and calibration of engine and vehicle control software without the need for a real engine.

[0008] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: Provide a system for testing and calibrating new energy engine and vehicle control software, including a real data acquisition module, a data processing module, a host computer, a simulation simulator and an ECU;

[0009] The real data acquisition module needs to be collected on a real engine, run on an engine test bench or a complete vehicle according to the required cycle, and synchronously collect the internal operation data of the ECU;

[0010] The collected data is screened for effective data and synchronized with sampling frequency through the data processing module;

[0011] The host computer sends the processed test data to the simulator at a certain frequency, and can establish a communication connection with the ECU to monitor and record the operating data in the ECU;

[0012] The simulation simulator receives the signal sent by the host computer, performs simulation operations, and converts the physical signal into an analog signal, which is sent to the ECU by the signal output module.

[0013] Preferably, the software part of the simulation simulator includes an input interface model, a simulation model and an output interface model;

[0014] Preferably, the input interface model comprises two modules, signal receiving and signal distribution. The signal receiving module receives the data signal sent by the host computer, and the signal distribution module sends different variables to the output interface model or the physical model according to actual needs.

[0015] Preferably, the simulation model is a component or system of an engine or vehicle. According to its physical characteristics or the simulation model built using a neural network, the physical parameters of the engine or vehicle can be calculated based on the input signal, the actuator signal returned by the ECU and other status signals; the output interface model includes two modules, a signal conversion model and an analog signal output. The signal conversion model converts the physical signal from the input interface model or the simulation model into a corresponding analog signal; the converted analog signal is output to the ECU through the analog signal output module and the corresponding hardware interface.

[0016] Preferably, the simulation model is divided into a neural network model and a physical function model.

[0017] Preferably, the hardware part of the simulation simulator includes a communication interface, an operator, a signal simulator and a communication interface with the ECU; the communication interface includes a network cable, CAN communication, an AD board and a current acquisition board; the ECU communication interface includes a DA board, CAN communication, PWM output, LIN output, and switch output.

[0018] Preferably, the communication interface and the ECU communication interface can be selected according to actual needs.

[0019] Preferably, the ECU is an electronic control unit that runs software internally to control the vehicle and the engine.

[0020] The present invention also provides a method for testing and calibrating new energy engine and vehicle control software, comprising the following steps:

[0021] (1) Preprocess the data collected by the actual data acquisition module as needed, extract the valid data segments, required variable names and variable values, and unify the sampling frequency;

[0022] (2) Build the entire simulation model according to the research object, generate code, and send it to the simulation simulator so that the operator can run the model algorithm;

[0023] (3) Connect the host computer and the simulator, add data files to the host computer, and configure the required variable names and sending frequencies;

[0024] (4) Configure the communication interface and hardware connection between the simulator and the ECU so that the signals sent by the simulator can be received normally by the ECU; at the same time, the actuator signals and other signals sent by the ECU can be received normally by the simulator;

[0025] (5) After completing all the above work, the system is powered on, the host computer software starts recording data, and the cycle begins;

[0026] (6) During or after the cycle, analyze the test data. If the function does not meet expectations, optimize the software function or calibration data and re-execute the cycle until the software function or engine or vehicle performance meets expectations and the cycle ends.

[0027] Preferably, the calibration in step (6) is a process of optimizing software parameters.

[0028] The beneficial effects of the present invention are:

[0029] The present invention can repeatedly perform accurate simulation on a simulation simulator by collecting test data once, without the need to conduct tests on a real engine or vehicle every time, which greatly saves software testing and calibration time and test resources, thereby shortening the development cycle. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is the functional description and logic block diagram of the present invention;

[0031] Figure 2 It is a simulation model diagram of the present invention;

[0032] Figure 3 This is the hardware diagram of the simulation simulator;

[0033] Figure 4 A flowchart for executing the method of the present invention;

[0034] Figure 5This is the data sampling period conversion diagram. DETAILED DESCRIPTION

[0035] The embodiments of the present invention are further described below in conjunction with the accompanying drawings:

[0036] Example 1

[0037] like Figure 1 As shown, the system for testing and calibrating new energy engine and vehicle control software of the present invention includes a real data acquisition module, a data processing module, a host computer, a simulation simulator and an ECU;

[0038] The real data acquisition module needs to be collected on a real engine, run on an engine test bench or a complete vehicle according to the required cycle, and synchronously collect the internal operation data of the ECU;

[0039] The collected data is screened for effective data and synchronized with sampling frequency through the data processing module;

[0040] In principle, the collected test data are all of the same frequency. However, due to operational reasons or transmission pulse width limitations, the frequency of individual variables is relatively low. The data processing module can convert the signal frequency into the required frequency through interpolation, fitting, and same-value filling algorithms. For example, the valid data under different signals are all segmented, so a transition segment needs to be inserted between two segments of valid data to prevent data jumps. The transition segment is connected by numerical interpolation. The transition time is set according to actual needs (such as 1 to 10 seconds), and the intermediate interpolation point period is equal to the valid data period.

[0041] Sampling frequency synchronization requires that all data sampling cycles be converted to the same cycle, such as Figure 5 As shown, taking the conversion of 100ms period data into 10ms data as an example, the solid points are the collected data with a period of 100ms, which are converted into data with a period of 10ms. The linear interpolation method is used to fill the intermediate data with a period of 10ms. The principles of other period conversion methods are the same.

[0042] The host computer sends the processed test data to the simulator at a certain frequency, and can establish a communication connection with the ECU to monitor and record the operating data in the ECU; in the host computer, the variable name and sending frequency to be sent can be selected according to actual needs.

[0043] The simulation simulator receives the signal sent by the host computer, performs simulation operations, and converts the physical signal into an analog signal, which is sent to the ECU by the signal output module.

[0044] The host computer signal receiver establishes a connection with the simulation simulator, and the simulation simulator can receive the signal from the host computer, calculate the signal, and then send it to the ECU through the simulation signal generator.

[0045] like Figure 1 As shown, the software part of the simulation simulator includes an input interface model, a simulation model and an output interface model; the input interface model includes two modules, signal receiving and signal distribution, the signal receiving module receives the data signal sent by the host computer, and the signal distribution module sends different variables to the output interface model or physical model according to actual needs; the simulation model is a component or system of the engine or vehicle, including a vehicle physical model, an air system model, a fuel system model, a cooling system model and a combustion system model. According to its physical characteristics or a simulation model built using a neural network, the physical parameters of the engine or vehicle can be calculated based on the input signal, the actuator signal returned by the ECU and other status signals; the output interface model includes two modules, a signal conversion model and a simulation signal output. The signal conversion model converts the physical signal from the input interface model or the simulation model into a corresponding simulation signal; the converted simulation signal is output to the ECU through the simulation signal output module and the corresponding hardware interface.

[0046] like Figure 2 As shown, the simulation model is divided into a neural network model and a physical function model, which can be selected according to different needs. For chaotic systems, where the physical rules are unclear or time is tight, neural network modeling can be used, and rapid modeling can be achieved through a model trainer with high efficiency. If the physical rules of the system are clear and there is sufficient time to finely optimize and calibrate the physical model, a physical function model can be established;

[0047] The physical signal generated by the simulation simulator is connected to the corresponding channel of the analog signal generator. The physical signal is converted in the analog signal generator and sent to the ECU by the corresponding hardware. The hardware interface and the ECU are connected through a wiring harness.

[0048] The hardware part of the simulation simulator includes communication interface, arithmetic unit, signal simulator and communication interface with ECU;

[0049] like Figure 3As shown, the communication interface includes network cable, CAN communication, AD board and current acquisition board. The network cable is used for communication between the host computer and the operator; CAN communication is used to communicate with ECU, intelligent sensors and actuators; the main function of the AD board is to realize the conversion between analog signals and digital signals; the current acquisition board collects current signals; the ECU communication interface includes DA board, CAN communication, PWM output, LIN output, and switch output. The main function of the DA board is to realize the conversion between digital signals and analog signals to facilitate ECU reception; the main function of PWM output is to output pulse signals; LIN output is mainly used for low-end communication between nodes of the body network module, especially serial communication of intelligent sensors and actuators; switch output is mainly used to send switch type signals, such as controller power-on signals and relay signals.

[0050] The communication interface and ECU communication interface can be selected according to actual needs.

[0051] ECU is an electronic control unit that runs software inside and controls the vehicle and engine.

[0052] like Figure 4 As shown, the present invention also provides a method for testing and calibrating new energy engine and vehicle control software, comprising the following steps:

[0053] (1) Preprocess the data collected by the actual data acquisition module as needed, extract the valid data segments, required variable names and variable values, and unify the sampling frequency;

[0054] The actual collected data may contain many signals. The required signals are selected and extracted to generate data files. If the extracted data are not all valid data, the valid data needs to be further extracted and spliced. At the same time, the collection period of each signal is unified into the same period. The specific conversion is as follows: Figure 5 shown.

[0055] (2) Build the entire simulation model according to the research object, generate code, and send it to the simulation simulator so that the operator can run the model algorithm;

[0056] (3) Connect the host computer and the simulator, add the data file to the host computer, configure the required variable name and sending frequency, and select the variable name and sending frequency to be sent according to actual needs;

[0057] (4) Configure the communication interface and hardware connection between the simulator and the ECU so that the signals sent by the simulator can be received normally by the ECU; at the same time, the actuator signals and other signals sent by the ECU can be received normally by the simulator;

[0058] The physical signal generated by the simulation simulator is connected to the corresponding channel of the analog signal generator (i.e., the communication interface). The analog signal generator and the ECU are connected through a wiring harness (i.e., hardware connection), so that the physical signal value of the simulation simulator can be received by the ECU.

[0059] The analog signal sent by the ECU is received by the analog signal receiver and transmitted to the simulation simulator.

[0060] (5) After completing all the above work, the system is powered on, the host computer software starts recording data, and the cycle begins;

[0061] (6) During or after the cycle, analyze the test data. If the function does not meet expectations, optimize the software function or calibration data and re-execute the cycle until the software function or engine or vehicle performance meets expectations and the cycle ends.

Claims

1. A system for testing and calibrating new energy engine and vehicle control software, characterized in that: Including real data module, data processing module, host computer, simulation simulator and ECU; The real data acquisition module needs to be collected on a real engine, run on an engine test bench or a complete vehicle according to the required cycle, and synchronously collect the internal operation data of the ECU; The collected data is screened for effective data and synchronized with sampling frequency through the data processing module; The host computer sends the processed test data to the simulator at a certain frequency, and can establish a communication connection with the ECU to monitor and record the operating data in the ECU; The simulation simulator receives the signal sent by the host computer, performs simulation operations, and converts the physical signal into an analog signal, which is sent to the ECU by the signal output module.

2. A system for testing and calibrating new energy engine and vehicle control software according to claim 1, characterized in that: The software part of the simulation simulator includes an input interface model, a simulation model and an output interface model; The input interface model includes two modules: signal receiving and signal distribution. The signal receiving module receives the data signal sent by the host computer, and the signal distribution module sends different variables to the output interface model or the physical model according to actual needs. The simulation model is a certain component or system of an engine or vehicle. According to its physical characteristics or a simulation model built using a neural network, the physical parameters of the engine or vehicle can be calculated based on input signals, actuator signals returned by the ECU, and other status signals; The output interface model includes two modules: a signal conversion model and an analog signal output. The signal conversion model converts the physical signal from the input interface model or the simulation model into a corresponding analog signal; the converted analog signal is output to the ECU through the analog signal output module and the corresponding hardware interface.

3. A system for testing and calibrating new energy engine and vehicle control software according to claim 1, characterized in that: The simulation model is divided into a neural network model and a physical function model.

4. A system for testing and calibrating new energy engine and vehicle control software according to claim 1, characterized in that: The hardware part of the simulation simulator includes a communication interface, an arithmetic unit, a signal simulator and a communication interface with the ECU; The communication interface includes a network cable, CAN communication, an AD board and a current acquisition board; The ECU communication interface includes DA board, CAN communication, PWM output, LIN output, and switch output.

5. A system for testing and calibrating new energy engine and vehicle control software according to claim 4, characterized in that: The communication interface and the ECU communication interface can be selected according to actual needs.

6. A system for testing and calibrating new energy engine and vehicle control software according to claim 1, characterized in that: The ECU is an electronic control unit that runs software inside and controls the vehicle and the engine.

7. A method for testing and calibrating new energy engine and vehicle control software, characterized in that: The following steps are involved: (1) Preprocess the data collected by the actual data acquisition module as needed, extract the valid data segments, required variable names and variable values, and unify the sampling frequency; (2) Build the entire simulation model according to the research object, generate code, and send it to the simulation simulator so that the operator can run the model algorithm; (3) Connect the host computer and the simulator, add data files to the host computer, and configure the required variable names and sending frequencies; (4) Configure the communication interface and hardware connection between the simulator and the ECU so that the signals sent by the simulator can be received normally by the ECU; at the same time, the actuator signals and other signals sent by the ECU can be received normally by the simulator; (5) After completing all the above work, the system is powered on, the host computer software starts recording data, and the cycle begins; (6) During or after the cycle, analyze the test data. If the function does not meet expectations, optimize the software function or calibration data and re-execute the cycle until the software function or engine or vehicle performance meets expectations and the cycle ends.

8. A method for testing and calibrating new energy engine and vehicle control software according to claim 4, characterized in that: The calibration in step (6) is a process of optimizing software parameters.

Citation Information

Patent Citations

  • Engine calibration method and device, electronic equipment and storage medium

    CN117147166A

  • Engine real-time virtual calibration system and simulation modeling method thereof

    CN112257276A

  • Engine hardware-in-the-loop test method and system

    CN113110367A

  • Vehicle RDE emission test method, system, device, equipment and medium

    CN115326406A

  • Engine test verification system and method based on virtual rack

    CN119086073A