Gasoline Engine Controller Calibration Test Method and System
By establishing an engine mathematical model and combining simulation testing technology, virtual automatic calibration test is performed using ACME automatic calibration software, the problem of low calibration test efficiency of gasoline engine controller is solved, and an efficient development process is achieved.
Patent Information
- Application Number
- CN202111050428.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-08
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2041-09-08
AI Technical Summary
The calibration test efficiency of gasoline engine controllers is inefficient, resulting in extended development cycles and increased costs.
By obtaining engine-related parameters, establishing an engine mathematical model, and conducting MIL model-in-loop simulation debugging and HIL hardware-in-loop simulation testing, and virtual automatic calibration tests are carried out in combination with ACME automatic calibration software.
It realizes efficient virtual automatic calibration test of gasoline engine controller, shortens development cycle and improves development efficiency.
Smart Images

Figure CN113761747B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of calibration testing, and particularly to a calibration testing method, system, computer device, and storage medium for a gasoline engine controller. Background Art
[0002] With the increasing market demand for automobiles, as well as the strict requirements for automobile fuel consumption and emissions, the complexity of the gasoline engine controller system has been continuously increasing. The difficulty and workload of calibrating and testing the gasoline engine controller have also increased significantly, which brings more technical investment and cost pressure to automobile OEMs for developing and upgrading new engine models. In this context, starting from software strategies, it is particularly important to adopt effective technical means to achieve automatic calibration testing of gasoline engine controllers, shorten the development cycle, and improve development efficiency.
[0003] In traditional technologies, the calibration testing of gasoline engine controllers usually requires calibration engineers to manually adjust and measure the control parameters of the engine on an engine test bench, calculate the ignition control curve inside the gasoline engine controller, and engineers need to perform complex analyses based on this ignition control curve and other data before they can achieve the calibration testing of the gasoline engine controller. It can be seen that the traditional calibration testing scheme for gasoline engine controllers has the problem of low calibration efficiency. Summary of the Invention
[0004] Based on this, in view of the technical problem of low calibration testing efficiency of the above-mentioned gasoline engine controller, it is necessary to provide an efficient calibration testing method, system, computer device, and storage medium for a gasoline engine controller.
[0005] A calibration testing method for a gasoline engine controller, the method includes:
[0006] Obtain engine-related parameters and establish an engine mathematical model;
[0007] Perform MIL (Model in the Loop) model-in-the-loop simulation debugging on the engine mathematical model to obtain a debugged engine mathematical model;
[0008] Determine the HIL (Hardware in the Loop) hardware-in-the-loop simulation test platform corresponding to the engine controller, and perform integrated closed-loop debugging on the debugged engine mathematical model in the HIL hardware-in-the-loop simulation test platform to obtain a debugged HIL platform;
[0009] Connect the pre-loaded ACME (Automatic Calibration MEasurement) automatic calibration software to the debugged HIL platform and the engine controller to perform virtual automatic calibration testing on the engine controller.
[0010] In one embodiment, obtain engine-related parameters and establish an engine mathematical model, including:
[0011] The engine-related parameters include: engine characteristic parameters, geometric parameters of the engine cylinders, intake and exhaust system characteristic parameters, throttle characteristic parameters, injector characteristic parameters, and intake and exhaust valve parameters;
[0012] Obtain engine-related parameters and establish an engine mathematical model, including: obtain engine parameters and establish mathematical models for each component of the gasoline engine.
[0013] In one embodiment, perform MIL model-in-the-loop simulation debugging on the engine mathematical model to obtain a debugged engine mathematical model, including:
[0014] Perform MIL model-in-the-loop simulation debugging on the established mathematical models of each component of the gasoline engine;
[0015] Through MIL model-in-the-loop simulation debugging, obtain a debugged engine mathematical model.
[0016] In one embodiment, obtain the HIL hardware-in-the-loop simulation test platform corresponding to the engine controller, and perform integrated closed-loop debugging on the debugged engine mathematical model in the HIL hardware-in-the-loop simulation test platform to obtain a debugged HIL platform, including:
[0017] Determine the HIL hardware-in-the-loop simulation test platform corresponding to the engine controller;
[0018] Match and connect the debugged engine mathematical model to the HIL hardware-in-the-loop simulation test platform;
[0019] Push an engine controller access prompt message, which is used to prompt the access of the engine controller in the HIL hardware-in-the-loop simulation test platform;
[0020] Start integrated closed-loop debugging in the HIL hardware-in-the-loop simulation test platform to obtain a debugged HIL platform.
[0021] In one embodiment, connect the pre-loaded ACME automatic calibration software to the debugged HIL platform and the engine controller to perform virtual automatic calibration testing on the engine controller, including:
[0022] Start the pre-loaded ACME automatic calibration software, and set up the debugged HIL platform interface and the INCA calibration software interface;
[0023] Start the pre-loaded ACME automatic calibration software, write the automatic calibration test process, and push the writing tips for the automatic calibration test process;
[0024] Write data according to the writing tips based on the automatic calibration test process to generate the automatic calibration test process;
[0025] Start the pre-loaded ACME automatic calibration software, automatically execute the automatic calibration test process, and obtain the virtual calibration test data MAP.
[0026] In one of the embodiments, the calibration test method for a gasoline engine controller further includes:
[0027] Analyze the virtual calibration test data MAP obtained in the automatic calibration test process through the pre-loaded ACME automatic calibration software;
[0028] Optimize the virtual calibration test data MAP through the pre-loaded calibration data processing tool to obtain the optimized virtual calibration test data MAP.
[0029] In one of the embodiments, the method further includes:
[0030] Obtain bench test data according to the optimized virtual calibration test data MAP, where the bench test data is obtained by the engine controller using the optimized virtual calibration test data MAP to conduct tests on the engine bench;
[0031] Compare the bench test data with the engine design objectives.
[0032] A calibration test device for a gasoline engine controller, the device includes:
[0033] A parameter acquisition module for acquiring engine-related parameters and establishing an engine mathematical model;
[0034] A simulation and debugging module for performing MIL model-in-the-loop simulation and debugging on the engine mathematical model to obtain a debugged engine mathematical model;
[0035] A closed-loop debugging module for obtaining the HIL hardware-in-the-loop simulation test platform corresponding to the engine controller, and integrating and performing closed-loop debugging on the debugged engine mathematical model in the HIL hardware-in-the-loop simulation test platform to obtain a debugged HIL platform;
[0036] A calibration test module for docking the debugged HIL platform and the engine controller through the pre-loaded ACME calibration software to perform virtual automatic calibration tests on the engine controller.
[0037] A computer device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the following steps are implemented:
[0038] Obtain engine-related parameters, establish an engine mathematical model, perform MIL model-in-the-loop simulation debugging on the engine model to obtain a debugged engine mathematical model, determine a HIL hardware-in-the-loop simulation test platform, perform integrated closed-loop debugging on the debugged engine mathematical model in the HIL hardware-in-the-loop simulation test platform to obtain a debugged HIL platform, and connect the debugged HIL platform and the engine controller through pre-loaded ACME automatic calibration test software to perform virtual automatic calibration testing on the engine controller.
[0039] A computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the following steps are implemented:
[0040] Obtain engine-related parameters, establish an engine mathematical model, perform MIL model-in-the-loop simulation debugging on the engine model to obtain a debugged engine mathematical model, determine a HIL hardware-in-the-loop simulation test platform, perform integrated closed-loop debugging on the debugged engine mathematical model in the HIL hardware-in-the-loop simulation test platform to obtain a debugged HIL platform, and connect the debugged HIL platform and the engine controller through pre-loaded ACME automatic calibration test software to perform virtual automatic calibration testing on the engine controller.
[0041] In the above calibration testing method, device, computer device, and storage medium for a gasoline engine controller, the terminal obtains engine-related parameters, establishes an engine mathematical model, performs MIL model-in-the-loop simulation debugging on the engine model to obtain a debugged engine mathematical model, determines a HIL hardware-in-the-loop simulation test platform, performs integrated closed-loop debugging on the debugged engine mathematical model in the HIL hardware-in-the-loop simulation test platform to obtain a debugged HIL platform, and connects the debugged HIL platform and the engine controller through pre-loaded ACME automatic calibration test software to perform virtual automatic calibration testing on the engine controller. In the above solution, the engine simulation model is integrated through the HIL hardware-in-the-loop simulation test platform, without occupying the resources of the engine test bench. The ACME automatic calibration test software is used to automatically execute the calibration test process, realizing virtual automatic calibration testing of the engine controller and improving the calibration testing efficiency of the gasoline engine controller. Description of the Drawings
[0042] Figure 1 It is an application environment diagram of the calibration testing method for a gasoline engine controller in an embodiment;
[0043] Figure 2 It is a schematic flowchart of a calibration test method for a gasoline engine controller in an embodiment;
[0044] Figure 3 It is a schematic flowchart of a calibration test method for a gasoline engine controller in another embodiment;
[0045] Figure 4 It is a structural block diagram of a calibration test device for a gasoline engine controller in an embodiment;
[0046] Figure 5 It is an internal structure diagram of a computer device in an embodiment. Detailed implementation manners
[0047] In order to make the objectives, technical solutions and advantages of the present application clearer and more understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0048] The calibration test method for a gasoline engine controller provided by the present application can be applied to an application environment as Figure 1 shown. Among them, the terminal 102 communicates with the gasoline engine controller 104 through a network. The terminal 102 obtains gasoline engine-related parameters, establishes an engine mathematical model, determines the HIL hardware-in-the-loop simulation test platform corresponding to the engine controller, integrates and closes the loop for debugging the engine mathematical model on the HIL platform, and starts the pre-loaded ACME automatic calibration software to execute the automatic calibration test process, so as to realize the virtual automatic calibration test of the gasoline engine controller 104. Among them, the terminal 102 can be but is not limited to various personal computers, laptop computers, smart phones, tablet computers and portable wearable devices.
[0049] In one embodiment, as Figure 2 shown, a calibration test method for a gasoline engine controller is provided. Taking the method applied to the Figure 1 terminal 102 as an example, the method includes the following steps:
[0050] Step 201, obtain engine-related parameters and establish an engine mathematical model.
[0051] The engine-related parameters refer to the parameters required to establish the engine mathematical model, which are used to describe the basic structure of the engine, determine the basic dimensions and basic performance of the engine. By obtaining the engine-related parameters and using modeling software to build the mathematical model of the engine, the characteristics of the real gasoline engine can be simulated.
[0052] In specific implementation, the terminal 102 obtains gasoline engine-related parameters and uses modeling software to establish the mathematical model of the engine.
[0053] Step 202: Conduct MIL model-in-the-loop simulation debugging on the engine mathematical model to obtain the debugged engine mathematical model.
[0054] When using model-driven development for the embedded system, the MIL model-in-the-loop simulation test is a simulation method carried out in the initial stage of the development phase and during the modeling phase. The MIL model-in-the-loop test simulates the established engine mathematical model in the corresponding development environment, stimulates the engine mathematical model through the access points in the development test environment and feeds back the behavior, completes the debugging of the engine mathematical model, and enables the engine mathematical model to meet the designed functional requirements. The development and simulation environment for model-driven development can be MATLAB / Simulink, and the debugging of the virtual engine simulation model is realized through real-time computer simulation to obtain the debugged engine mathematical model.
[0055] In specific implementation, the terminal 102 can conduct MIL model-in-the-loop simulation debugging on the mathematical models of each component of the engine to obtain the debugged engine mathematical model.
[0056] Step 203: Determine the HIL hardware-in-the-loop simulation test platform corresponding to the engine controller, and conduct integrated closed-loop debugging on the debugged engine mathematical model in the HIL hardware-in-the-loop simulation test platform to obtain the debugged HIL platform.
[0057] The engine controller is an electronic device that controls the operation of each component of the engine. Similar to an ordinary computer, it consists of a microprocessor, a memory, an input / output interface, an analog-to-digital converter, and large-scale integrated circuits such as shaping and driving circuits. It has the function of continuously monitoring and controlling the normal operation of the engine. The engine controller tests and calculates the required air-fuel mixture ratio and engine ignition advance angle based on the input data from various sensors, and directly controls the fuel supply amount, fuel injection timing, ignition closing angle, engine idle speed, and the state of other accessory systems of the vehicle under various working conditions. The HIL hardware-in-the-loop simulation test platform simulates the operating state of the engine by running the engine simulation model on a real-time processor, connects to the engine controller through the I / O interface, and conducts comprehensive and systematic tests on the engine controller. During the HIL test, the engine simulation model runs in real time in the HIL platform, enabling the HIL platform to replace the real engine and connecting the engine controller to the HIL platform to form a closed-loop test system, obtaining the debugged HIL platform. From the perspective of the engine controller, it is equivalent to working in the actual engine control system.
[0058] In a specific implementation, the terminal 102 obtains the HIL hardware-in-the-loop simulation test platform corresponding to the engine controller, integrates and closes the loop for debugging the debugged engine mathematical model in the HIL hardware-in-the-loop simulation test platform, and obtains the debugged HIL platform.
[0059] Step 204: Connect the debugged HIL platform and the engine controller through the pre-loaded ACME automatic calibration software to perform virtual automatic calibration testing on the engine controller.
[0060] Engine calibration testing is to calibrate the control parameters of all operating conditions of the engine on the engine test bench during the engine development process, that is, to find suitable parameters for each working point of the engine. Various control parameters and MAPs in the engine controller are the main objects of calibration. These parameters form a huge database. When the engine is running, the engine controller will obtain parameters from the database according to the data measured by the sensors, through data processing, and in accordance with the control strategy to control the engine operation. The ACME automatic calibration software is developed based on the INCA calibration software. ACME and INCA software run on the same RTPC (Real Time PC, real-time industrial control computer). ACME and INCA software communicate using INCA-COM. The INCA-COM protocol is a proprietary API interface protocol of the INCA software, allowing third-party software to access INCA. Therefore, the ACME software can basically implement all the functions of INCA. The ACME automatic calibration software connects to the RTPC through Ethernet. The RTPC can access CAN or other digital and analog input / output boards. The RTPC, Ethernet-to-CAN, ACME / INCA software, calibration hardware devices, and HIL hardware-in-the-loop test platform are all connected to the router through the network. The output signal of the engine simulation model is output to the ACME automatic calibration software through the CAN bus, and at the same time, it is output to the engine controller through the HIL hardware-in-the-loop simulation test platform. The ACME software expands the interface for docking with the HIL hardware-in-the-loop simulation test platform, thereby realizing the closed-loop control of the test process. In the ACME automatic calibration software, according to the automatic calibration process, the automatic calibration test process is written and automatically executed, and the virtual automatic calibration test process can be realized.
[0061] In a specific implementation, the terminal 102 connects the debugged HIL platform and the engine controller through the pre-loaded ACME automatic calibration software to perform virtual automatic calibration testing on the engine controller.
[0062] The calibration test method for the above gasoline engine controller is as follows: The terminal obtains the engine-related parameters, establishes an engine mathematical model, conducts in-loop simulation debugging of the MIL model for the engine model, obtains the debugged engine mathematical model, determines the HIL hardware-in-the-loop simulation test platform, integrates and closes the loop for the debugged engine mathematical model in the HIL hardware-in-the-loop simulation test platform to obtain the debugged HIL platform, and docks the debugged HIL platform and the engine controller through the pre-loaded ACME automatic calibration test software to conduct virtual automatic calibration testing on the engine controller. In the above solution, the engine simulation model is integrated through the HIL hardware-in-the-loop simulation test platform, without occupying the engine bench resources. The ACME automatic calibration test software is used to automatically execute the calibration test process, realizing virtual automatic calibration testing of the engine controller and improving the calibration test efficiency.
[0063] In one embodiment, obtaining the engine-related parameters and establishing the engine mathematical model in step S201 includes:
[0064] The gasoline engine-related parameters may include: engine characteristic parameters, geometric parameters of the engine cylinders, intake and exhaust system characteristic parameters, throttle characteristic parameters, injector characteristic parameters, and intake and exhaust valve parameters; based on the obtained engine-related parameters, mathematical models of each component of the gasoline engine are established.
[0065] In this embodiment, the terminal 102 establishes mathematical models of each component of the gasoline engine according to the obtained relevant parameters of each component of the gasoline engine; the obtained engine characteristic parameters may include the number of engine cylinders, compression ratio, firing order, cylinder arrangement, and stroke; the obtained geometric parameters of the engine cylinders may include cylinder diameter, piston stroke, connecting rod length, eccentricity of the piston pin, clearance when the piston is at top dead center, piston surface area of the combustion chamber part, and cylinder head surface area of the combustion chamber part; the obtained intake and exhaust system characteristic parameters may include the geometric dimensions of all components in the pipeline and the flow coefficient of each component, where the geometric dimensions may include length, diameter, volume, surface roughness, and material parameters; the obtained throttle characteristic parameters may include the position of the throttle in the pipeline and the flow coefficient of the full throttle opening angle; the obtained injector characteristic parameters may include the number of injectors, position in the pipeline, and air-fuel ratio; the obtained intake and exhaust valve parameters may include valve diameter, lift curve, valve clearance, and forward and reverse flow coefficients at different lifts; obtain the relevant parameters of each component of the engine and establish mathematical models of each component of the gasoline engine.
[0066] The solution of the above embodiment obtains the engine characteristic parameters, geometric parameters of the engine cylinders, intake and exhaust system characteristic parameters, throttle characteristic parameters, injector characteristic parameters, and intake and exhaust valve parameters, and uses these parameters as input variables. By using modeling software to establish the mathematical models of various components of the gasoline engine, it can characterize the basic structure and basic performance of the engine and realize the simulation of the characteristics of the real engine.
[0067] In one embodiment, the steps of performing MIL model-in-the-loop simulation debugging on the engine mathematical model in step S202 to obtain the debugged engine mathematical model include:
[0068] According to the obtained mathematical models of various components of the engine, corresponding simulation software is used to simulate the mathematical models of various components of the engine. The engine simulation models of various components are used as the objects to be tested for MIL model-in-the-loop simulation testing in the corresponding development and testing environments, and the debugged engine mathematical model is obtained.
[0069] In this embodiment, the terminal 102 performs MIL model-in-the-loop simulation debugging on the established mathematical models of various components of the gasoline engine. Optionally, it includes jointly simulating the mathematical models of various components of the engine using the corresponding simulation software according to the obtained mathematical models of various components of the engine to ensure correct matching between the models, selecting the MIL model-in-the-loop simulation test platform, and using the engine simulation models of various components as the objects to be tested for closed-loop testing in the corresponding MIL model-in-the-loop simulation test environment to obtain the debugged engine mathematical model. The obtained debugged engine mathematical model can fully describe the behavior of the engine.
[0070] In the solution of the above embodiment, the terminal 102 obtains the relevant parameters of various components of the gasoline engine, establishes the mathematical models of various components of the gasoline engine, performs MIL model-in-the-loop simulation debugging on the mathematical models of various components of the gasoline engine, and obtains the debugged engine mathematical model, which can fully describe the behavior of the engine. At the same time, it can achieve the same effect as the real engine bench, avoid occupying bench resources for a long time, and improve the calibration test efficiency.
[0071] In one embodiment, the steps of determining the HIL hardware-in-the-loop simulation test platform corresponding to the engine controller and performing integrated closed-loop debugging on the debugged engine mathematical model in the HIL hardware-in-the-loop simulation test platform to obtain the debugged HIL platform in step S203 include:
[0072] Determine the HIL hardware-in-the-loop simulation test platform corresponding to the engine controller, match and connect the debugged engine mathematical model to the HIL hardware-in-the-loop simulation test platform, push an access prompt message for the engine controller, and start integrated closed-loop debugging in the HIL hardware-in-the-loop simulation test platform to obtain a debugged HIL platform.
[0073] In this embodiment, determine the HIL hardware-in-the-loop simulation test platform corresponding to the engine controller. During the HIL test, match and connect the debugged engine mathematical model to the HIL hardware-in-the-loop simulation test platform, that is, generate program code for the debugged engine mathematical model, compile and link to generate an executable file, and download the executable file to the HIL platform for operation, which also means running the engine simulation model in the HIL platform in real time, so that the HIL platform replaces the real engine; push an access prompt message for the engine controller, connect the engine controller to the HIL hardware-in-the-loop simulation test platform, so as to obtain a closed-loop debugging module from the engine controller to the HIL platform; perform integrated closed-loop debugging in the closed-loop debugging module, that is, generate feedback data in real time on the HIL platform and send the real-time feedback data to the engine controller. The engine controller is used to receive the real-time feedback data generated by the HIL platform, calculate the corresponding control amount according to the real-time feedback data, and then send it back to the HIL platform for execution; through the closed-loop debugging of the closed-loop debugging module, obtain a debugged HIL platform.
[0074] The solution of the above embodiment determines the HIL hardware-in-the-loop simulation test platform corresponding to the engine controller, connects the debugged engine mathematical model to the HIL hardware-in-the-loop simulation test platform, pushes an access prompt message for the engine controller, obtains a closed-loop debugging module from the engine controller to the HIL platform, and achieves the same effect as connecting the engine controller to the real engine bench. Perform integrated closed-loop debugging in the closed-loop debugging module to complete the simulation of the function of the engine controller to monitor and control the engine operation. The control of the engine model by the entire engine controller is carried out in a virtual test environment, which is very suitable for engine calibration test work and lays a foundation for further realizing virtual automatic calibration test of gasoline engine controllers.
[0075] In one embodiment, the steps of performing virtual automatic calibration test on the engine controller by docking the debugged HIL platform and the engine controller through the pre-loaded ACME automatic calibration software in step S204 include:
[0076] Start the pre-loaded ACME automatic calibration software, set up the debugged HIL platform interface and the INCA calibration software interface, start the pre-loaded ACME automatic calibration software, write the automatic calibration test process, and push the writing prompt for the automatic calibration test process. Write data according to the writing prompt based on the automatic calibration test process to generate the automatic calibration test process. Start the pre-loaded ACME automatic calibration software and automatically execute the automatic calibration test process to obtain the virtual calibration test data MAP.
[0077] In this embodiment, the ignition control curve graph required by the engine under various working conditions is called the MAP graph. In the virtual automatic calibration test, the engine controller obtains a set of fuel injection and ignition strategies, that is, the calibration test data MAP, according to the engine data output by the HIL hardware-in-the-loop simulation test platform, such as the intake air volume and the positions of the crankshaft and camshaft, in accordance with the control strategy to control the engine operation. Start the pre-loaded ACME automatic calibration software, set up the INCA-COMAPI interface connected to the calibration software INCA, expand and dock the interface of the debugged HIL hardware-in-the-loop simulation test platform, and connect the ACME software to the HIL platform through the network. Start the pre-loaded ACME automatic calibration software, write the automatic calibration test process, and push the writing prompt for the automatic calibration test process. Write data according to the writing prompt based on the automatic calibration test process to generate the automatic calibration test process. Specifically, a standard sample of the automatic calibration test process is pre-written in the ACME software. According to different calibration test requirements, different test processes can be written. The test process and the data written for the test process can be modified, trimmed, and expanded, making the calibration test process flexible and scalable. In addition, the ACME software also provides an abnormal service interface for the automatic calibration test process. When an abnormal prompt is thrown in the calibration test process, it can enter the corresponding abnormal handling process or abort the process to ensure the correct and stable operation of the calibration test process. Start the pre-loaded ACME automatic calibration software and run the written automatic calibration test process. The calibration test work will be automatically executed, and the virtual calibration test data MAP can be obtained during the automatic calibration test, realizing the virtual automatic calibration test of the gasoline engine controller.
[0078] For the solution of the above embodiments, start the pre-loaded ACME automatic calibration software, build the debugged HIL platform interface and INCA calibration software interface, write the automatic calibration test process, write the prompt to write data according to the pushed automatic calibration test process, generate and automatically execute the automatic calibration test process. The ACME automatic calibration software is connected to the INCA calibration software based on the INCA-COM API interface, and can basically implement all the functions of the INCA calibration software. At the same time, the standard sample of the automatic calibration test process is pre-written in the ACME software, and the calibration test process can be modified according to different test requirements. The written automatic calibration test process has flexibility and scalability. Further, the automatic calibration test process exception service interface provided by the ACME software can ensure the correct and stable operation of the automatic test process. Moreover, the automatic calibration test process written in the ACME automatic calibration software can be automatically executed, realizing the virtual automatic calibration test of the gasoline engine controller, and synchronously obtaining the virtual calibration test data MAP, reducing manual operation and improving the accuracy of the calibration test data and the efficiency of the calibration test work.
[0079] In one embodiment, as Figure 3 shown, a calibration test method for a gasoline engine controller is provided, and the method includes:
[0080] Step 301, the terminal 102 acquires engine-related parameters and establishes a mathematical model of each component of the gasoline engine.
[0081] Step 302, the terminal 102 performs MIL model-in-the-loop simulation debugging on the mathematical models of each component of the engine. Through the MIL model-in-the-loop simulation debugging, the debugged engine mathematical model is obtained; the HIL hardware-in-the-loop simulation test platform corresponding to the engine controller is determined, the debugged engine mathematical model is matched and connected to the HIL hardware-in-the-loop simulation test platform, and an engine controller access prompt message is pushed. The engine controller access prompt message is used to prompt the access of the engine controller in the HIL hardware-in-the-loop simulation test platform. Start integrated closed-loop debugging in the HIL hardware-in-the-loop simulation test platform to obtain the debugged HIL platform.
[0082] Step 303, the terminal 102 starts the pre-loaded ACME automatic calibration software, builds the debugged HIL platform interface and the INCA calibration software interface, starts the pre-loaded ACME software, writes the automatic calibration test process, and pushes the automatic calibration test process writing prompt. Write data according to the automatic calibration test process writing prompt, generate the automatic calibration test process, start the pre-loaded ACME software, and automatically execute the automatic calibration test process to obtain the virtual calibration test data MAP.
[0083] Step 304: The terminal 102 analyzes the virtual calibration test data MAP obtained in the automatic calibration test process through the pre-loaded ACME automatic calibration software. Specifically, in the virtual automatic calibration test, the working state of the engine is judged by the engine data output by the HIL platform. The ignition advance angle required by the engine in this working state is found on the obtained virtual calibration test data MAP, and ignition is carried out according to this requirement. The ignition requirement is corrected according to the knock sensor signal, so that the engine can work at the optimal ignition moment. Since gasoline engines face strict national regulations and design pressures, in order to meet the national regulations' requirements for emissions and the requirements for power and fuel consumption in the design, it is necessary to optimize the calibration test data MAP, that is, through the pre-loaded calibration data processing tool, select the optimal configuration that meets the national regulations and design requirements to obtain the optimized virtual calibration test data MAP.
[0084] Step 305: The terminal 102 obtains the bench test data according to the optimized virtual calibration test data MAP. The bench test data is obtained by the engine controller using the optimized virtual calibration test data MAP to conduct tests on the engine bench. Specifically, the virtual calibration test data MAP can be imported into the engine controller, and the engine controller is connected to the engine bench to conduct calibration tests on the engine bench to obtain the real bench test data. Compare the bench test data with the engine design target. The engine design target refers to the main design target parameters determined at the beginning of the engine design. Comparing the real bench test data with the engine design target can verify the accuracy of the calibration test results.
[0085] In this embodiment, the terminal 102 obtains the engine-related parameters, establishes an engine mathematical model, conducts MIL model-in-the-loop simulation debugging on the engine model to obtain the debugged engine mathematical model, determines the HIL hardware-in-the-loop simulation test platform, and conducts integrated closed-loop debugging on the debugged engine mathematical model in the HIL hardware-in-the-loop simulation test platform to obtain the debugged HIL platform. Start the pre-loaded ACME automatic calibration test software to connect to the debugged HIL platform and the engine controller to conduct virtual automatic calibration tests on the engine controller. Integrating the engine simulation model through the HIL hardware-in-the-loop simulation test platform does not require occupying the engine bench resources. Using the ACME automatic calibration test software to automatically execute the calibration test process realizes the virtual automatic calibration test of the engine controller and improves the calibration test efficiency. The engine controller uses the analyzed and optimized virtual calibration test data MAP to obtain the bench test data through tests on the engine bench. Comparing the bench test data with the engine design target further improves the accuracy of the calibration test data, is conducive to saving the development cycle, and further improves the calibration test efficiency.
[0086] It should be understood that although Figures 2 - 4 the steps in the flowchart are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figures 2 - 4 at least a part of the steps in
[0087] include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.
[0088] In one embodiment, a method for calibrating and testing a gasoline engine controller is provided. The method includes:
[0089] For the solution of the above embodiment, by obtaining the engine-related parameters, establishing an engine mathematical model, performing MIL model-in-the-loop simulation debugging on the engine model, obtaining the debugged engine mathematical model, determining the HIL hardware-in-the-loop simulation test platform, integrating and performing closed-loop debugging on the debugged engine mathematical model in the HIL hardware-in-the-loop simulation test platform, obtaining the debugged HIL platform, starting the pre-loaded ACME automatic calibration test software to interface with the debugged HIL platform and the engine controller, so as to perform virtual automatic calibration testing on the engine controller. By integrating the engine simulation model through the HIL hardware-in-the-loop simulation test platform, it is not necessary to occupy the engine bench resources. Using the ACME automatic calibration test software to automatically execute the calibration test process, virtual automatic calibration testing of the engine controller is realized, and the calibration test efficiency is improved.
[0090] In one embodiment, as Figure 4 shown, a calibration test device for a gasoline engine controller is provided. The device 400 includes: a parameter acquisition module, a simulation debugging module, a closed-loop debugging module, and a calibration test module, where:
[0091] The parameter acquisition module 401 is configured to acquire engine-related parameters and establish an engine mathematical model;
[0092] The simulation debugging module 402 is configured to perform MIL model-in-the-loop simulation debugging on the engine mathematical model to obtain the debugged engine mathematical model;
[0093] The closed-loop debugging module 403 is configured to determine the HIL hardware-in-the-loop simulation test platform corresponding to the engine controller, and perform integrated closed-loop debugging on the debugged engine mathematical model in the HIL hardware-in-the-loop simulation test platform to obtain the debugged HIL platform;
[0094] The calibration test module 404 is configured to interface with the debugged HIL platform and the engine controller through the pre-loaded ACME calibration software to perform virtual automatic calibration testing on the engine controller.
[0095] In one embodiment, the parameter acquisition module 401 is further configured to acquire engine characteristic parameters, geometric parameters of the engine cylinders, intake and exhaust system characteristic parameters, throttle characteristic parameters, injector characteristic parameters, and intake and exhaust valve parameters, and establish mathematical models of various components of the gasoline engine;
[0096] In one embodiment, the simulation debugging module 402 is further configured to perform MIL model-in-the-loop simulation debugging on the engine mathematical models of various components of the established gasoline engine, and obtain the debugged engine mathematical model through the MIL model-in-the-loop simulation debugging;
[0097] In one embodiment, the closed-loop debugging module 403 is further configured to determine the HIL hardware-in-the-loop simulation test platform corresponding to the engine controller, match and access the debugged engine mathematical model to the HIL hardware-in-the-loop simulation test platform, and push an engine controller access prompt message, which is used to prompt to access the engine controller in the HIL hardware-in-the-loop simulation test platform, and start integrated closed-loop debugging in the HIL hardware-in-the-loop simulation test platform to obtain a debugged HIL platform;
[0098] In one embodiment, the calibration test module 404 is further configured to start the pre-loaded ACME automatic calibration software, build the interfaces of the debugged HIL platform and the INCA calibration software, write an automatic calibration test process, and push a prompt for writing the automatic calibration test process, write data according to the prompt for writing the automatic calibration test process, generate an automatic calibration test process, run and automatically execute the automatic calibration test process, obtain the virtual calibration test data MAP, analyze the obtained virtual calibration test data MAP in the ACME automatic calibration software, and optimize the obtained virtual calibration test data MAP through the pre-loaded calibration data processing tool to obtain an optimized virtual calibration test data MAP for virtual automatic calibration testing of the engine controller.
[0099] In one embodiment, the above gasoline engine controller calibration test device 400 is further configured to test the engine controller on the engine bench using the optimized virtual calibration test data MAP, and compare the obtained engine bench test data with the engine design target.
[0100] For the specific limitations of the gasoline engine controller calibration test device, reference may be made to the limitations of the gasoline engine controller calibration test method in the foregoing text, which will not be elaborated herein. Each module in the above gasoline engine controller calibration test device can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor of the computer device in hardware form or be independent of it, or can be stored in the memory of the computer device in software form to facilitate the processor to call and execute the operations corresponding to the above respective modules.
[0101] In one embodiment, a computer device is provided. The computer device can be a server, and its internal structure diagram can be as Figure 5As shown. The computer device includes a processor, a memory, and a network interface connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store virtual automatic calibration test data of a gasoline engine controller. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements a method for virtual automatic calibration test of a gasoline engine controller.
[0102] Those skilled in the art can understand that Figure 5 the structure shown in is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0103] In one embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the steps in the above method embodiments are implemented.
[0104] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by the processor, the steps in the above method embodiments are implemented.
[0105] Those of ordinary skill in the art can understand that all or part of the processes in the above method embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the above method embodiments. Among them, any reference to the memory, storage, database, or other media used in the various embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0106] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this specification.
[0107] The above embodiments only express several implementation manners of the present application, and the description is relatively specific and detailed. However, it should not be construed as a limitation to the scope of the invention patent. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several deformations and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the appended claims.
Claims
1. A calibration test method for a gasoline engine controller, characterized in that, the method includes: Obtaining engine-related parameters and establishing an engine mathematical model; the engine-related parameters are used to describe the basic structure of the engine, determine the basic dimensions and basic performance of the engine; Performing MIL model-in-the-loop simulation debugging on the engine mathematical model to obtain a debugged engine mathematical model; Determining an HIL hardware-in-the-loop simulation test platform corresponding to the engine controller, connecting the engine control to the HIL hardware-in-the-loop simulation test platform to obtain a closed-loop debugging module from the engine controller to the HIL platform, and performing integrated closed-loop debugging on the debugged engine mathematical model in the HIL hardware-in-the-loop simulation test platform to obtain a debugged HIL platform; the integrated closed-loop debugging refers to generating feedback data in real time in the HIL hardware-in-the-loop simulation test platform and sending the real-time feedback data to the engine controller, and the engine controller is used to receive the real-time feedback data generated by the HIL hardware-in-the-loop simulation test platform, calculate corresponding control quantities according to the real-time feedback data, and then send them back to the HIL hardware-in-the-loop simulation test platform for execution; Connecting the debugged HIL platform and the engine controller through pre-loaded ACME automatic calibration software to perform virtual automatic calibration testing on the engine controller; connecting the debugged HIL platform and the engine controller through pre-loaded ACME automatic calibration software to perform virtual automatic calibration testing on the engine controller includes: starting the pre-loaded ACME automatic calibration software, building an INCA-COM API interface connected to the calibration software INCA, expanding the interface for docking the debugged HIL platform, and connecting the ACME automatic calibration software and the debugged HIL platform through the network; starting the pre-loaded ACME automatic calibration software, writing an automatic calibration test process according to the test requirements and pushing a writing prompt for the automatic calibration test process; writing data according to the writing prompt based on the automatic calibration test process to generate an automatic calibration test process; starting the pre-loaded ACME automatic calibration software, automatically executing the automatic calibration test process, and obtaining virtual calibration test data MAP; The obtaining engine-related parameters and establishing an engine mathematical model includes: obtaining the related parameters of each component of the engine and establishing a mathematical model for each component of the engine; The performing MIL model-in-the-loop simulation debugging on the engine mathematical model to obtain a debugged engine mathematical model includes: Performing MIL model-in-the-loop simulation debugging on the established mathematical models of each component of the engine; Obtaining a debugged engine mathematical model through MIL model-in-the-loop simulation debugging.
2. The calibration test method for a gasoline engine controller according to claim 1, characterized in that, it includes: The engine-related parameters include engine characteristic parameters, geometric parameters of the engine cylinders, intake and exhaust system characteristic parameters, throttle characteristic parameters, injector characteristic parameters, and intake and exhaust valve parameters.
3. The gasoline engine controller calibration test method according to claim 1, wherein, determining the HIL hardware-in-the-loop simulation test platform corresponding to the engine controller, and integrating and closed-loop debugging the debugged engine mathematical model in the HIL hardware-in-the-loop simulation test platform to obtain the debugged HIL platform, including: determining the HIL hardware-in-the-loop simulation test platform corresponding to the engine controller; matching and connecting the debugged engine mathematical model to the HIL hardware-in-the-loop simulation test platform; pushing an engine controller access prompt message, which is used to prompt the access of the engine controller in the HIL hardware-in-the-loop simulation test platform; starting integrated closed-loop debugging in the HIL hardware-in-the-loop simulation test platform to obtain a debugged HIL platform.
4. The gasoline engine controller calibration test method according to claim 1, wherein, further comprising: analyzing the virtual calibration test data MAP obtained in the automatic calibration test process through the pre-loaded ACME automatic calibration software; optimizing the virtual calibration test data MAP through a pre-loaded calibration data processing tool to obtain an optimized virtual calibration test data MAP.
5. The gasoline engine controller calibration test method according to claim 4, wherein, the method further comprises: acquiring bench test data according to the optimized virtual calibration test data MAP, where the bench test data is obtained by the engine controller using the optimized virtual calibration test data MAP to conduct tests on an engine bench; comparing the bench test data with the engine design objectives.
6. A gasoline engine controller calibration test device, wherein, comprising: a parameter acquisition module, configured to acquire engine-related parameters and establish an engine mathematical model; the engine-related parameters are used to describe the basic structure of the engine, determine the basic dimensions and basic performance of the engine; a simulation debugging module, configured to perform MIL model-in-the-loop simulation debugging on the engine mathematical model to obtain a debugged engine mathematical model; The closed-loop debugging module is used to obtain the HIL hardware-in-the-loop simulation test platform corresponding to the engine controller, connect the engine control to the HIL hardware-in-the-loop simulation test platform, obtain the closed-loop debugging module from the engine controller to the HIL platform, and perform integrated closed-loop debugging on the debugged engine mathematical model in the HIL hardware-in-the-loop simulation test platform to obtain the debugged HIL platform; the integrated closed-loop debugging refers to generating feedback data in real time in the HIL hardware-in-the-loop simulation test platform, and sending the real-time feedback data to the engine controller, and the engine controller is used to receive the real-time feedback data generated by the HIL hardware-in-the-loop simulation test platform, calculate the corresponding control quantity according to the real-time feedback data, and then send it back to the HIL hardware-in-the-loop simulation test platform for execution; The calibration test module is used to connect to the debugged HIL platform and the engine controller through the pre-loaded ACME calibration software to perform virtual automatic calibration tests on the engine controller; the connection to the debugged HIL platform and the engine controller through the pre-loaded ACME automatic calibration software to perform virtual automatic calibration tests on the engine controller includes: starting the pre-loaded ACME automatic calibration software, building an INCA-COM API interface connected to the calibration software INCA, extending the interface for docking the debugged HIL platform, and connecting the ACME automatic calibration software to the debugged HIL platform through the network; starting the pre-loaded ACME automatic calibration software, writing an automatic calibration test process according to the test requirements, and pushing a writing prompt for the automatic calibration test process; writing data according to the writing prompt based on the automatic calibration test process to generate an automatic calibration test process; starting the pre-loaded ACME automatic calibration software, automatically executing the automatic calibration test process, and obtaining the virtual calibration test data MAP; The parameter acquisition module is further used to acquire the relevant parameters of each component of the engine and establish the mathematical models of each component of the engine; The simulation debugging module is further used to perform MIL model-in-the-loop simulation debugging on the established mathematical models of each component of the gasoline engine; through the MIL model-in-the-loop simulation debugging, obtain the debugged engine mathematical model.
7. A computer device, including a memory and a processor, the memory stores a computer program, characterized in that, when the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium, on which a computer program is stored, characterized in that, when the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Automatic calibration simulation testing system for ECU stand
CN104898647A