Engine Model Application Method
By establishing an overall engine model that is consistent with the actual engine parameters and performing software and hardware calibration, the problem of engine calibration working time compression is solved, efficient calibration development is achieved, and costs and time expenditures are reduced.
Patent Information
- Application Number
- CN202210048170.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-17
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-01-17
AI Technical Summary
The current engine calibration work is under great pressure on development time due to the increase in control functions and codes. It also needs to rely on hardware and physical equipment for calibration, making it difficult to complete quickly.
By establishing an overall engine model that is consistent with the actual engine parameters, establishing a virtual engine controller and model association based on software code, performing software and hardware calibration, and realizing part of the virtual calibration work.
It shortens engine calibration development time, improves calibration efficiency, reduces dependence on hardware and physical equipment, and reduces engineering vehicle cost and usage costs.
Smart Images

Figure CN114417599B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of automobile related fields, and in particular to an engine model application method. Background Art
[0002] With the development of engine electrification and the application of domain control of engine controllers, the control functions and control codes in engine controllers have increased significantly. At the same time, engine calibration work is required to be carried out quickly to meet the rapid launch of engine products. The calibration development work must be increased while the calibration development time must be shortened. The current calibration work must be carried out after the engine hardware is ready, relying on the engine bench and the actual vehicle equipment to carry out the engine calibration work and the software testing work involving the performance calibration preset. The pressure to complete the development node according to the current method is very high. Summary of the invention
[0003] Based on this, it is necessary to provide an engine model application method.
[0004] The present invention provides an engine model application method, comprising:
[0005] Establish an overall engine model consistent with actual engine parameters;
[0006] Establishing a virtual engine controller based on the software code of the engine controller, associating the virtual engine controller with the overall engine model, and calibrating the engine controller;
[0007] The input and output signals of the engine controller are connected to the overall engine model, and the engine controller is calibrated based on feedback from the overall engine model.
[0008] Furthermore, the establishing of the overall engine model consistent with the actual engine parameters specifically includes:
[0009] Set up model elements of the basic subsystem model and auxiliary subsystem model;
[0010] The model elements of the basic subsystem model are connected and designed for signal transmission according to the direction of gas flow, and the model elements of the auxiliary subsystem model interact with the basic subsystem model according to the signals of the engine working conditions;
[0011] The physical parameters of the model elements are set to be consistent with the physical parameters of the physical elements corresponding to the actual engine, so as to obtain the overall engine model.
[0012] Furthermore, the setting of the overall engine model consistent with the actual engine parameters specifically includes:
[0013] Design steady-state operating interface parameters, transient operating interface parameters and online simulation operating parameters of the overall engine model;
[0014] Obtain multiple measured performance parameters of each physical component of the real engine at multiple preset operating points;
[0015] For each model element, multiple measured performance parameters of the corresponding physical element are fitted to obtain the performance parameters of the model element;
[0016] The performance parameters of the model components are adjusted based on steady-state and transient conditions.
[0017] Furthermore, the adjusting the performance parameters of the model elements based on the steady-state operating conditions and the transient operating conditions specifically includes:
[0018] Inputting steady-state operating parameters of different steady-state operating points into the steady-state operating interface parameters, performing simulation operation on each steady-state operating point, and recording steady-state simulation results of each steady-state operating point;
[0019] Compare the steady-state simulation result of each steady-state operating point with the steady-state physical measurement result of the real engine at the steady-state operating point, and adjust the performance parameters of the model components until the deviation between the steady-state simulation results of all steady-state operating points and the corresponding steady-state physical measurement results is within a preset steady-state accuracy range;
[0020] Inputting transient operating condition parameters of different transient operating condition points into the transient operating condition interface parameters, performing simulation operation on each transient operating condition point, and recording transient simulation results of each transient operating condition;
[0021] The transient simulation results of each transient operating point are compared with the transient physical measurement results of the real engine at the transient operating point, and the dynamic performance parameters of the model components are adjusted until the deviations between the transient simulation results of all transient operating points and the corresponding transient physical measurement results are within the preset transient accuracy range.
[0022] Further:
[0023] The basic subsystem model includes: an intake system model, a multi-cylinder combustion system model, an exhaust system model, and an environmental parameter input system model;
[0024] The auxiliary subsystem model includes: a fuel injection system model, a fire circuit system model, a supercharging system model, and an exhaust gas recirculation system model.
[0025] Furthermore, the software code based on the engine controller establishes a virtual engine controller, associates the virtual engine controller with the overall engine model, and calibrates the engine controller, specifically including:
[0026] Call the operating system and control code of the engine controller to simulate a virtual engine controller;
[0027] Link the input and output of the virtual engine controller to the overall engine model;
[0028] Scheduling and running a virtual engine controller to obtain a simulation value output by the engine model in response to control of the virtual engine controller;
[0029] The calibration parameters of the engine controller are adjusted based on the simulation value, and the calibration parameters of the generator controller are calibrated.
[0030] Furthermore, the step of connecting the input and output signals of the engine controller to the overall engine model and calibrating the engine controller based on feedback from the overall engine model specifically includes:
[0031] Connecting the engine controller to physical sensors, physical bus communication devices, and physical actuators;
[0032] inputting the output signal of the actuator into the overall engine model;
[0033] The engine controller is scheduled to run, the actuator output signal is controlled, the performance parameters fed back by the overall model response of the engine and the output signal of the actuator are obtained, and the calibration parameters of the engine controller are calibrated based on the performance parameters fed back by the overall model response of the engine and the output signal of the actuator.
[0034] Furthermore, it also includes:
[0035] Through the test bench control software, virtual test bench calibration is carried out based on the overall engine model.
[0036] Furthermore, the virtual bench calibration is performed based on the overall engine model by the bench control software, specifically including:
[0037] Design and calibrate the test bench operating points in the test bench control software;
[0038] The performance parameters fed back by the overall engine model at different test bench operating points are obtained, and the engine controller is calibrated based on the performance parameters fed back by the overall engine model at different test bench operating points.
[0039] The present invention establishes an overall engine model, and calibrates the software and hardware based on the overall engine model, thereby performing partial virtual calibration work with the help of the engine model, putting the engine calibration work in advance, and solving the problem of time compression for calibration development. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 A flowchart of an engine model application method of the present invention;
[0041] Figure 2 A flowchart of an engine model application method in one embodiment of the present invention;
[0042] Figure 3 A system structure diagram of the overall engine model adopted in the best embodiment of the present invention. DETAILED DESCRIPTION
[0043] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0044] Embodiment 1
[0045] like Figure 1 The flowchart of an engine model application method of the present invention is shown, comprising:
[0046] Step S101, establishing an overall engine model consistent with actual engine parameters;
[0047] Step S102, establishing a virtual engine controller based on the software code of the engine controller, associating the virtual engine controller with the overall engine model, and calibrating the engine controller;
[0048] Step S103, connecting the input and output signals of the engine controller to the overall engine model, and calibrating the engine controller based on feedback from the overall engine model.
[0049] Specifically, the existing engine models are basically hardware-in-the-loop, and the external outputs of the engine model are mainly speed, torque and throttle. These outputs cannot meet the virtual engine calibration. The virtual engine calibration work cannot be separated from a high-precision engine model. Therefore, the quality of the established engine model is the key to the accuracy of the early virtual engine calibration. The software-in-the-loop test and hardware-in-the-loop test of the control software development of the engine controller also require a high-precision engine model to ensure the accuracy of the software test and the rationality of the preset value. To meet these needs at the same time, it is necessary to use software tools to establish a model that meets the needs by designing models and control logic. Step S101 uses the actual engine to establish a high-precision engine model through software design. Then step S102 calibrates the software of the engine controller based on the overall engine model, and step S103 calibrates the hardware of the engine controller based on the overall engine model.
[0050] The present invention establishes an overall engine model, and calibrates the software and hardware based on the overall engine model, thereby performing partial virtual calibration work with the help of the engine model, putting the engine calibration work in advance, and solving the problem of time compression for calibration development.
[0051] Embodiment 2
[0052] like Figure 2 The present invention is shown as an engine model application method in one embodiment, comprising:
[0053] Step S201, setting model elements of the basic subsystem model and the auxiliary subsystem model.
[0054] Step S202, the model elements of the basic subsystem model are connected and designed for signal transmission according to the direction of gas flow, and the model elements of the auxiliary subsystem model interact with the basic subsystem model according to the signals of the engine operating conditions.
[0055] Step S203, setting the physical parameters of the model elements to be consistent with the physical parameters of the physical elements corresponding to the actual engine, to obtain the overall engine model.
[0056] In one embodiment, the setting of the overall engine model consistent with the actual engine parameters specifically includes:
[0057] Design steady-state operating interface parameters, transient operating interface parameters and online simulation operating parameters of the overall engine model;
[0058] Obtain multiple measured performance parameters of each physical component of the real engine at multiple preset operating points;
[0059] For each model element, multiple measured performance parameters of the corresponding physical element are fitted to obtain the performance parameters of the model element;
[0060] The performance parameters of the model components are adjusted based on steady-state and transient conditions.
[0061] In one embodiment, the adjusting the performance parameters of the model elements based on the steady-state operating conditions and the transient operating conditions specifically further includes:
[0062] Inputting steady-state operating parameters of different steady-state operating points into the steady-state operating interface parameters, performing simulation operation on each steady-state operating point, and recording steady-state simulation results of each steady-state operating point;
[0063] Compare the steady-state simulation result of each steady-state operating point with the steady-state physical measurement result of the real engine at the steady-state operating point, and adjust the performance parameters of the model components until the deviation between the steady-state simulation results of all steady-state operating points and the corresponding steady-state physical measurement results is within a preset steady-state accuracy range;
[0064] Inputting transient operating condition parameters of different transient operating condition points into the transient operating condition interface parameters, performing simulation operation on each transient operating condition point, and recording transient simulation results of each transient operating condition;
[0065] The transient simulation results of each transient operating point are compared with the transient physical measurement results of the real engine at the transient operating point, and the dynamic performance parameters of the model components are adjusted until the deviations between the transient simulation results of all transient operating points and the corresponding transient physical measurement results are within the preset transient accuracy range.
[0066] In one embodiment:
[0067] The basic subsystem model includes: an intake system model, a multi-cylinder combustion system model, an exhaust system model, and an environmental parameter input system model;
[0068] The auxiliary subsystem model includes: a fuel injection system model, a fire circuit system model, a supercharging system model, and an exhaust gas recirculation system model.
[0069] Step S204, calling the operating system and control code of the engine controller to simulate a virtual engine controller.
[0070] Step S205, establishing a connection between the input and output of the virtual engine controller and the overall engine model.
[0071] Step S206 , scheduling the operation of the virtual engine controller to obtain the simulation value output by the engine model in response to the control of the virtual engine controller.
[0072] Step S207: adjusting the calibration parameters of the engine controller based on the simulation value, and calibrating the calibration parameters of the generator controller.
[0073] Step S208, connecting the engine controller to the physical sensor, the physical bus communication device, and the physical actuator.
[0074] Step S209: inputting the output signal of the actuator into the overall engine model.
[0075] Step S210, schedule the operation of the engine controller, control the actuator output signal, obtain the performance parameters fed back by the engine overall model response and the actuator output signal, and calibrate the calibration parameters of the engine controller based on the performance parameters fed back by the engine overall model response and the actuator output signal.
[0076] Step S211, performing virtual test bench calibration based on the overall engine model through the test bench control software.
[0077] In one embodiment, the virtual bench calibration is performed based on the overall engine model by bench control software, specifically including:
[0078] Design and calibrate the test bench operating points in the test bench control software;
[0079] The performance parameters fed back by the overall engine model at different test bench operating points are obtained, and the engine controller is calibrated based on the performance parameters fed back by the overall engine model at different test bench operating points.
[0080] Specifically, step S201 to step S203 set the overall engine model.
[0081] like Figure 3 The system structure diagram of the overall engine model used in the best embodiment of the present invention is shown. Specifically, the system architecture of the entire three-cylinder engine is analyzed, and the overall engine model is first divided into a basic subsystem and an auxiliary subsystem according to the physical system of the actual engine. The basic subsystem includes: intake system model 2, multi-cylinder combustion system model 6, exhaust system model 8, ambient conditions set model 1, etc. The auxiliary subsystem includes: fuel injection system model 4, ignition system model 5, boost system model 3, exhaust gas recirculation system model 7. Then select appropriate model elements for the internal physical elements in these subsystems. The basic subsystem is connected and designed and signaled according to the direction of gas flow, and the auxiliary subsystem interacts with the basic subsystem according to the signal of the engine working condition. The model elements in each subsystem are designed for physical parameters and filled with appropriate physical parameters. In the environmental parameter input system, steady-state operating interface parameters, transient operating interface parameters and online simulation operating parameters are designed.
[0082] Among them, the interface parameters of steady-state working conditions and transient working conditions are the same. For different model components, their interface parameters are different. For example, the interface parameters of air filter, connecting pipe, intake manifold are the pressure of the gas flowing through, the gas temperature, and the change rate of the parameters is different. The values of these interface parameters remain unchanged under steady-state working conditions, and the values of the interface parameters change under transient working conditions. The online simulation working condition parameters refer to the values of these interface parameters that can be manually changed at any time during the simulation process. Therefore, the changes in the online simulation working condition parameters may be step-like.
[0083] Then, the measured data of the designed operating points are obtained from the actual engine test bench. These measured operating points are used to fit the performance parameters of each model component, and suitable points are selected from the measured points to calibrate the performance parameters of the model components in the subsystem to check whether the settings of the component performance parameters are appropriate.
[0084] Connect all the components in the basic subsystem and auxiliary subsystem together, and associate the boundaries of the intake system model and the exhaust system model with the environmental parameters of the environmental parameter input model, so that the boundaries of the entire system are consistent and the material flow simulation is closed-loop. Use the steady-state operating condition interface parameters to input parameters and perform simulation operations at different steady-state operating points, record the simulation results, and compare them with the actual physical results. If the results are significantly different, analyze the reasons for the difference and adjust the performance parameters of the model components so that the deviation between the simulation results and the actual physical measurement results is within the required accuracy range. Run the transient operating condition interface parameter input and the transient operating condition test points, record the transient operating condition output results, and compare them with the actual physical quantity results under these transient operating conditions. If the results are significantly different, analyze the reasons for the difference and adjust the dynamic performance parameters of the model components so that the deviation between the simulation results and the actual physical measurement results is within the required accuracy range.
[0085] Among them, the boundaries of the intake system model and the exhaust system model refer to the environment that the targeted system believes it is in. Make the environmental variable parameters into variables, and then assign the variables to the boundary parameters. In the simulation, directly change the values of different environmental parameter variables to achieve parameter association. Among them, steady-state parameters are parameters related to physical characteristics, and transient parameters are parameters that depend on time changes. The steady-state operating point refers to the parameter value, such as gas temperature and gas pressure, which reaches dynamic equilibrium and does not change with time. The transient operating point is the parameter value that changes significantly with time.
[0086] Finally, the engine model that meets the accuracy requirements is exported. The export format is selected according to the requirements of the target simulation platform. In this case, the FMI format is selected. Model Connect control is used as an interface to combine with other models, such as the driver model, transmission model, external fuel control model, exhaust gas conversion model, etc. to perform simulations under different engine conditions. Through these simulation results, it is determined that the entire engine model is operating normally, and then the version is solidified and exported for use in different calibration and software development test platforms. In this case, the FMI format is exported.
[0087] Then, execute step S204 to step S207 to perform software-in-the-loop simulation. In the software-in-the-loop simulation platform, the software control code file of the entire engine controller and the overall model of the engine are established under the same simulation project, the operating system and control code of the engine control software are called through the script file, and a virtual hardware engine controller is simulated in the storage area of the simulation computer. The input and output of the virtual hardware engine controller are connected to the overall engine model interface through the interface script file setting, and the two will be simulated and output under the same system clock. The simulation output results of the engine model can be viewed through the interface of the simulation platform, and the calibration parameters of the virtual hardware engine controller can also be adjusted in real time, thereby realizing the test of the control software and the verification of the initial calibration.
[0088] In the software-in-the-loop test, the underlying driver and software and hardware interface parts cannot be tested physically, so it is necessary to perform steps S208 to S210 to perform hardware-in-the-loop test. In the hardware-in-the-loop test, the software and calibration of the engine controller run in the processor of the real engine controller itself, and the actual signal from the physical layer is interfaced with the overall engine model. The engine controller is closer to the operation in the actual physical environment. In the application, the calibration parameters in the engine control are adjusted online through the calibration software and calibration physical tools that are the same as the actual vehicle calibration. The output of the actuator controlled by the engine controller is also the physical actuator output, and the performance parameters of the engine, such as torque, physical characteristics of intake, exhaust components, etc., are output in real time through the simulation results of the overall engine model, thereby achieving the purpose of calibration. Among them, bus information refers to the information obtained by the hardware-in-the-loop system from the engine controller bus. The engine controller receives sensor signals and bus signals, and outputs execution signals to the actuator. The electrical signals of the actuator are input into the overall engine model, and the overall engine model generates responsive simulated feedback based on the electrical signals of the actuator. In the hardware-in-the-loop simulation environment, the host computer also needs to obtain a copy of the information broadcast from the bus. Since the CAN bus is a broadcast bus, it can directly obtain information from the bus.
[0089] Finally, in order to realize automatic bench calibration, execute step S211. Add bench calibration control software CAMEO and PUMA, and control the operation of the overall engine model in a ring simulation environment through the control software and the engine controller hardware, so as to realize virtual bench calibration. Design the operating points required for engine calibration in the bench control software, including steady-state operating points and cycle conditions of calibration concern, such as WLTC cycle conditions, RDE cycle conditions, and you can also customize different cycle operating points. After the automatic software simulates according to the defined operating conditions, the simulation results can be recorded through the calibration software, and the calibration parameters of the engine controller can be optimized based on this result to realize the automation of the calibration process.
[0090] Specifically, in the host computer software, design a specific point of concern, then control HiL to work at the designed operating point, observe the output exhaust temperature, emissions and other expected outputs, and adjust the parameters in the engine controller to make the observed output reach the expected value. At this time, the output exhaust temperature, torque, fuel consumption, and emissions of the virtual engine are the benchmarks for optimization. When the bench operating point is different, the intake, injection, and ignition angles controlled by the engine are also different. By adjusting the parameters in the engine controller, the fuel consumption and emissions are as small as possible. The control parameters at the minimum point are the control parameters that need to be set.
[0091] During the entire virtual calibration process of the engine, the accuracy of the engine model is the key to determining the accuracy of the entire calibration. As the hardware status is gradually finalized during the development process, the iteration of the engine model can quickly promote the process of virtual calibration of the engine. When the engine hardware changes, the performance parameters of the changed model components are corrected, and the entire engine model is iterated and output, and the updated model is applied to the corresponding calibration process to improve the update speed and calibration accuracy of the calibration.
[0092] This embodiment fits the performance parameters of each model element through the measured data of the actual engine, and optimizes the performance parameters based on steady-state and transient conditions, so that the performance parameters of the model element are more consistent with the actual engine. The use of software-in-the-loop testing can speed up the calibration of the software method. The use of hardware-in-the-loop calibration can make up for the defects of the underlying driver and software and hardware interface parts in the software-in-the-loop test that cannot be physically tested, and improve the calibration accuracy.
[0093] The physical model of this embodiment has high accuracy. While ensuring accuracy, the real-time performance can meet the needs of real-time simulation. Calibration development on the system provided by this embodiment can save time, save time for actual vehicle operation, and solve the problem of high cost and high cost of engineering vehicles. At the same time, the same or a group of working conditions can be repeated in large quantities, which is convenient for quickly solving problems in engineering.
[0094] As an example of the present invention, taking a three-cylinder engine as an example, with the help of CruiseM software tool, the model physical parameters of the actual engine are set in the software environment. The main parameters include volume, cylinder diameter, crank length, cylinder material, etc., and a thermodynamic model is generated based on the physical parameters. This model is a semi-physical and semi-empirical model. In order to improve the output accuracy of the model, the operating condition model is optimized and adjusted with the help of a small number of actual physical parameter points to obtain the output within the entire engine working area.
[0095] The engine model can output the gas emission component model under different control conditions, and calibrate the gas emission component model of the model with the help of the gas emission component conditions under a few actual working conditions, so as to obtain the gas emission component model output at different working points in the entire engine working area. When collecting different typical working condition data on the actual engine design, it is necessary to consider the uniformity of the design point in the filling space of the entire engine operation.
[0096] In the environmental parameter input model, the pressure of the environment in which the entire system is located, the temperature of the environment in which the system is located, the humidity of the intake air and the air flow rate of the system in a specific working state are set; the gas entering the intake system from the environmental parameter input model calculates and corrects the air parameters according to the characteristics of each intake system component when flowing through the components, and outputs the corresponding air parameters to the input boundary of the next component until it reaches the combustion chamber. When the intake air flows through the air filter element, the air filter's influence on the intake air flow is mainly the reduction of gas pressure, and the pressure reduction is a function of the gas flow rate, but the temperature change of the intake air flow is not obvious; when the supercharger is not working, the pipeline has a main influence on the intake air flow in the flow process after the air filter and before the throttle body, and the temperature change is not obvious. A simple pipeline model is designed to represent the intake air flow process; the electronic throttle body is a major throttle control element, and the pressure change of the intake air flow through the element is obvious. The pressure change is closely related to the flow coefficient of the intake air flow. The position change of the throttle body is determined by the pressure ratio and flow rate before and after the throttle body; the model between the gas pipeline after the throttle body and the intake manifold assembly is replaced by a simple pipeline model. The pressure change of the intake air flow through this section of the pipeline is not obvious, but due to the effect of the intercooler, the temperature of the gas flowing through it changes greatly. The temperature model will correct the temperature value of the intake air flow and output it to the multi-cylinder engine combustion model system.
[0097] When the supercharging system is working, the temperature and pressure of the intake air flow on the compression side of the supercharging system at the intake system end change significantly. When the flow rate remains unchanged, the pressure rises and the temperature also rises. The model of the pressure rise is established through the compressor supercharging curve, and the temperature model is established through the heat transfer model. According to the energy conservation principle of the supercharging system, the gas pressure and temperature of the exhaust flow on the exhaust side of the supercharging system decrease, and the energy is absorbed by the intake air flow on the intake side of the supercharging system. The models of each component of the exhaust system, the temperature and pressure drop of the exhaust flow of the exhaust system passing through each component are simplified into throttling components by merging the pipeline part with the component, and the pressure drop model of each component is established through physical parameters, including the exhaust manifold assembly, turbine components, exhaust pipes, catalytic converters, mufflers and their pipelines and exhaust flow boundaries. The boundary parameters of the exhaust flow and the boundary parameters of the intake flow are combined with the environmental parameter input system to form a closed loop of material flow and a closed loop of the simulation system.
[0098] The fuel injection system model, the fire circuit system model, the exhaust gas recirculation system model and the cooling system model are models for each subsystem. The injection pressure of the fuel injection system model is directly obtained through the output of the demand pressure control algorithm inside the engine controller. The injection pulse width of the injector is fitted through the actual injection pulse width and injection amount. Different injection mode selections, the distribution ratio of multiple injections, and the injection phase are model-simulated and controlled through the corresponding variable output values in the engine controller. The control strategy of the ignition angle of the fire circuit system model is set from the output value of the ignition angle under different working conditions inside the engine controller and the corresponding. The exhaust gas recirculation system is fitted according to the actual exhaust gas recirculation working range output by the engine controller, and the exhaust gas corresponding to the opening of different exhaust gas recirculation valves and the actual exhaust gas return flow. The cooling system model includes the cooling elements of the engine body, the centralized cooling part of the compressed intake air flow, the cooling water pump and the radiator. Each part is built through a heat transfer model, and the heat transfer efficiency of the elements is fitted through the coolant temperature changes under actual engine operating conditions and the temperature state under the boundary parameters of the intake air flow. In the simulation calculation, the temperature state of the coolant of each component under different engine operating conditions is calculated through thermal efficiency.
[0099] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. An engine model application method, characterized in that: include: Establish an overall engine model consistent with actual engine parameters; Establishing a virtual engine controller based on the software code of the engine controller, associating the virtual engine controller with the overall engine model, and calibrating the engine controller; connecting the input and output signals of the engine controller to the overall engine model, and calibrating the engine controller based on feedback from the overall engine model; The step of establishing an overall engine model consistent with actual engine parameters specifically includes: Set up model elements of the basic subsystem model and auxiliary subsystem model; The model elements of the basic subsystem model are connected and designed for signal transmission according to the direction of gas flow, and the model elements of the auxiliary subsystem model interact with the basic subsystem model according to the signals of the engine working conditions; Setting the physical parameters of the model elements to be consistent with the physical parameters of the physical elements corresponding to the actual engine to obtain an overall engine model; Design steady-state operating interface parameters, transient operating interface parameters and online simulation operating parameters of the overall engine model; Obtain multiple measured performance parameters of each physical component of the real engine at multiple preset operating points; For each model element, multiple measured performance parameters of the corresponding physical element are fitted to obtain the performance parameters of the model element; Adjust the performance parameters of model components based on steady-state and transient conditions; The performance parameters of the model components are adjusted based on the steady-state operating conditions and the transient operating conditions, and specifically include: Inputting steady-state operating parameters of different steady-state operating points into the steady-state operating interface parameters, performing simulation operation on each steady-state operating point, and recording steady-state simulation results of each steady-state operating point; Compare the steady-state simulation result of each steady-state operating point with the steady-state physical measurement result of the real engine at the steady-state operating point, and adjust the performance parameters of the model components until the deviation between the steady-state simulation results of all steady-state operating points and the corresponding steady-state physical measurement results is within a preset steady-state accuracy range; Inputting transient operating condition parameters of different transient operating condition points into the transient operating condition interface parameters, performing simulation operation on each transient operating condition point, and recording transient simulation results of each transient operating condition; Compare the transient simulation results of each transient operating point with the transient physical measurement results of the real engine at the transient operating point, and adjust the dynamic performance parameters of the model components until the deviations between the transient simulation results of all transient operating points and the corresponding transient physical measurement results are within a preset transient accuracy range; The software code based on the engine controller is used to establish a virtual engine controller, associate the virtual engine controller with the overall engine model, and calibrate the engine controller, specifically including: Call the operating system and control code of the engine controller to simulate a virtual engine controller; Link the input and output of the virtual engine controller to the overall engine model; Scheduling and running a virtual engine controller to obtain a simulation value output by the engine model in response to control of the virtual engine controller; adjusting calibration parameters of the engine controller based on the simulation value, and calibrating calibration parameters of the generator controller; The step of connecting the input and output signals of the engine controller to the overall engine model and calibrating the engine controller based on feedback from the overall engine model specifically includes: Connecting the engine controller to physical sensors, physical bus communication devices, and physical actuators; inputting the output signal of the actuator into the overall engine model; The engine controller is scheduled to run, the actuator output signal is controlled, the performance parameters fed back by the overall model response of the engine and the output signal of the actuator are obtained, and the calibration parameters of the engine controller are calibrated based on the performance parameters fed back by the overall model response of the engine and the output signal of the actuator.
2. The engine model application method according to claim 1, characterized in that: The basic subsystem model includes: an intake system model, a multi-cylinder combustion system model, an exhaust system model, and an environmental parameter input system model; The auxiliary subsystem model includes: a fuel injection system model, a fire circuit system model, a supercharging system model, and an exhaust gas recirculation system model.
3. The engine model application method according to claim 1, characterized in that: Also includes: Through the test bench control software, virtual test bench calibration is carried out based on the overall engine model.
4. The engine model application method according to claim 3, characterized in that: The virtual bench calibration is performed based on the overall engine model through the bench control software, specifically including: Design and calibrate the test bench operating points in the test bench control software; The performance parameters fed back by the overall engine model at different test bench operating points are obtained, and the engine controller is calibrated based on the performance parameters fed back by the overall engine model at different test bench operating points.
Citation Information
Patent Citations
Method for carrying out integrated testing on intelligent driving vehicle
CN110794810A
Calibration test method and system for gasoline engine controller
CN113761747A
