Hardware-in-the-loop simulation test system of methanol engine controller

By prioritizing the starting of the oil fuel supply system in the hardware-in-ring simulation test system of the methanol engine controller and switching to the methanol fuel supply system after the engine temperature reaches, the problem of poor starting performance of the methanol engine is solved and better starting performance is achieved.

CN119758768APending Publication Date: 2025-04-04E-QUALITY INTELLIGENT TECHNOLOGY WUXI CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411948408.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

In the prior art, due to the high latent heat of vaporization of methanol, the methanol engine has poor starting performance.

Method used

A hardware in-loop simulation test system for methanol engine controller is designed. By prioritizing the starting performance of the methanol engine by starting the oil fuel supply system before the engine temperature reaches the preset temperature, and switching to the methanol fuel supply system after the temperature reaches the temperature, it is to improve the starting performance of the methanol engine.

Benefits of technology

It effectively solves the problem of poor starting performance due to high latent heat of methanol vaporization, and improves the starting performance of methanol engine.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119758768A_ABST
    Figure CN119758768A_ABST
Patent Text Reader

Abstract

The invention discloses a hardware-in-loop simulation test system of a methanol engine controller, and relates to the technical field of hardware-in-loop simulation systems, the system comprises a methanol engine controller, a simulation machine and a board card; the methanol engine controller is used for generating a first control signal under the condition that the temperature of the engine is judged to be greater than or equal to the preset temperature, and sending the first control signal to the fuel supply system model; and when it is judged that the engine temperature is smaller than the preset temperature, a second control signal is generated and sent to the fuel supply system model, and when it is determined that the engine temperature reaches the preset temperature, a first control signal is generated and sent to the fuel supply system model. The problem that in the prior art, the methanol starting performance is poor due to the fact that the latent heat of vaporization of methanol is high is solved, and the methanol starting performance is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of hardware-in-the-loop simulation systems, and in particular to a hardware-in-the-loop simulation test system for a methanol engine controller. Background Art

[0002] As the energy crisis and environmental crisis intensify, it is urgent to find a clean alternative fuel. After years of exploration, it is found that methanol has the same advantages as gasoline and diesel in storage, transportation and application, and is better than gasoline and diesel in terms of emissions. Therefore, the methanol engine has become a very promising internal combustion engine.

[0003] The methanol engine controller is the "brain" of the methanol engine. A large number of functional verification tests will be carried out during the development phase of the methanol engine controller. However, many dangerous or repetitive working conditions cannot be completed in engine bench or real vehicle tests. Therefore, during the development process of the methanol engine controller, a hardware-in-the-Loop simulation test system (HIL) is required to test the methanol engine controller.

[0004] In the prior art, the hardware-in-the-loop simulation test system of the engine controller is mainly based on fuel engines, such as the hardware-in-the-loop simulation test system of the gasoline engine controller. In addition, there are many difficulties to overcome and solve when methanol is used as an engine fuel. One of the difficulties is that the latent heat of vaporization of methanol is high, which easily causes the problem of poor low-temperature starting performance of methanol fuel. Summary of the invention

[0005] In response to the above-mentioned problems and technical requirements, the applicant has proposed a hardware-in-the-loop simulation test system for a methanol engine controller to solve the problem of poor methanol starting performance caused by the high latent heat of vaporization of methanol in the prior art, thereby improving the performance of methanol starting.

[0006] The embodiment of the present application provides a hardware-in-the-loop simulation test system for a methanol engine controller, comprising: a methanol engine controller, a simulator and a board, wherein the board is connected to the methanol engine controller and the simulator respectively;

[0007] The simulation machine includes: a pre-created methanol engine model, an environment model and an operation model, the methanol engine model includes: a fuel supply system model, the fuel supply system model includes: an oil fuel supply system model and a methanol fuel supply system model;

[0008] The environmental model is used to output environmental parameters; the operating model is used to output driver behavior parameters; the methanol engine model is used to output operating parameters of the methanol engine;

[0009] The simulator is used to send the environmental parameters, the driver behavior parameters and the operating parameters to the methanol engine controller through the board;

[0010] The methanol engine controller is used to determine the test conditions corresponding to the environmental parameters, the driver behavior parameters and the operating parameters; generate a control signal corresponding to the test conditions, and send the control signal to the simulator through the board;

[0011] The methanol engine controller is used to determine whether the engine temperature is greater than a preset temperature when it is determined that the test condition is to start the methanol engine; generate a first control signal when it is determined that the engine temperature is greater than or equal to the preset temperature, and send the first control signal to the fuel supply system model; generate a second control signal when it is determined that the engine temperature is less than the preset temperature, and send the second control signal to the fuel supply system model; and generate the first control signal when it is determined that the engine temperature reaches the preset temperature, and send the first control signal to the fuel supply system model;

[0012] The first control signal is used to instruct the start of the methanol fuel supply system model, and the second control signal is used to instruct the start of the oil fuel supply system model.

[0013] According to a hardware-in-the-loop simulation test system for a methanol engine controller according to an embodiment of the present application, the fuel supply system model further includes: a fuel supply switching model;

[0014] The fuel supply switching model is used to control the connection status of the relay based on the first control signal or the second control signal to complete the switching of the methanol fuel supply system model and the oil fuel supply system model.

[0015] According to a hardware-in-the-loop simulation test system for a methanol engine controller according to an embodiment of the present application, the methanol engine model further includes: an air system model, a cooling system model, an in-cylinder combustion system model, a crankshaft model and an accessory system model;

[0016] The oil fuel supply system model, the methanol fuel supply system model, the air system model, the cooling system model and the crankshaft model are respectively connected to the in-cylinder combustion system model, and the accessory system model is connected to the crankshaft model;

[0017] The oil fuel supply system model is used to calculate the oil fuel injection amount;

[0018] The methanol fuel supply system model is used to calculate the methanol injection amount;

[0019] The air system model is used to calculate the gas temperature and gas pressure inside the intake manifold, and the gas pressure, gas temperature and the proportion of fresh air and exhaust gas in the gas inside the exhaust manifold;

[0020] The cooling system model is used to calculate the cooling water temperature of the engine;

[0021] The crankshaft model is used to calculate the engine speed;

[0022] The accessory system model is used to simulate the start-up of the methanol engine and calculate the starting torque of the methanol engine;

[0023] The in-cylinder combustion system model is used to calculate the effective output torque of the engine.

[0024] According to a hardware-in-the-loop simulation test system for a methanol engine controller according to an embodiment of the present application, the fuel supply system model further includes: a fuel injection quantity calculation model;

[0025] The methanol engine controller is further used to send the methanol injection pulse width signal and the fuel injection pulse width signal to the fuel supply system model;

[0026] The fuel injection amount calculation model is used to calculate the methanol injection amount based on a first calculation formula and the methanol injection pulse width signal, and to calculate the fuel injection amount based on a second calculation formula and the fuel injection pulse width signal;

[0027] Wherein, the first calculation formula includes:

[0028]

[0029] in, represents the methanol injection amount, t inj represents the methanol injection pulse width signal, gain represents the methanol injection amount under unit injection pulse width, which is a constant, t Rev Indicates the duration corresponding to one working cycle of the methanol engine under the current test conditions;

[0030] in, n Engine Indicates engine speed;

[0031] The second calculation formula includes:

[0032]

[0033] in, Indicates the fuel injection amount, t ini Represents the fuel injection pulse width signal, gaini represents the fuel injection amount under unit injection pulse width, which is a constant.

[0034] According to a hardware-in-the-loop simulation test system for a methanol engine controller according to an embodiment of the present application, the air system model includes: a throttle valve model, an intake manifold model, an exhaust manifold model, an exhaust gas recirculation cooler model and an exhaust gas recirculation valve model;

[0035] The intake manifold model is connected to the throttle valve model and the exhaust gas recirculation valve model respectively, the exhaust gas recirculation valve model is connected to the exhaust gas recirculation cooler model, and the exhaust gas recirculation cooler model is connected to the exhaust manifold model;

[0036] The throttle valve model is used to calculate the gas flow rate flowing through the throttle valve based on the gas pressure difference at both ends of the throttle valve, the environmental parameters and the opening of the throttle valve to obtain a first inflow gas flow rate;

[0037] The intake manifold model is used to calculate the gas mass, the third gas temperature and the first gas pressure inside the intake manifold based on the first inflow gas flow rate flowing into the intake manifold and the outflow gas flow rate flowing out of the intake manifold, the first gas temperature of the inflow gas and the second gas temperature of the outflow gas;

[0038] The exhaust gas recirculation valve model is used to calculate the exhaust gas flow rate flowing through the exhaust gas recirculation valve based on the exhaust gas pressure difference at both ends of the exhaust gas recirculation valve, environmental parameters and the opening of the exhaust gas recirculation valve;

[0039] The exhaust gas recirculation cooler model is used to cool the gas flowing out of the exhaust manifold and calculate a fourth gas temperature of the gas passing through the exhaust gas recirculation cooler;

[0040] The exhaust manifold model is used to calculate the second gas pressure inside the exhaust manifold, the fifth gas stability, and the proportion of fresh air and exhaust gas in the gas based on the rotation speed of the methanol engine and the second inflow gas flow rate flowing into the exhaust manifold.

[0041] According to a hardware-in-the-loop simulation test system for a methanol engine controller according to an embodiment of the present application, the in-cylinder combustion system model includes: an in-cylinder air charge model, a combustion torque model, a friction torque model, and an effective torque output model;

[0042] The cylinder charge model is connected to the combustion torque model, and the combustion torque model and the friction torque model are respectively connected to the effective torque output model;

[0043] The cylinder charge model is used to calculate the cylinder intake charge, the cylinder excess air coefficient, the cylinder fresh air flow rate and the cylinder exhaust gas flow rate;

[0044] The combustion torque model is used to calculate the engine indicated torque;

[0045] The friction torque model is used to calculate the engine friction torque;

[0046] The effective torque output model is used to calculate the engine effective output torque based on the engine indicated torque and the engine friction torque.

[0047] According to a hardware-in-the-loop simulation test system for a methanol engine controller according to one embodiment of the present application, the cooling system model is used to calculate the engine coolant temperature based on the heat balance principle.

[0048] According to a hardware-in-the-loop simulation test system for a methanol engine controller according to one embodiment of the present application, the crankshaft model is used to calculate the engine speed based on the angular velocity of the engine crankshaft.

[0049] According to a hardware-in-the-loop simulation test system for a methanol engine controller according to one embodiment of the present application, the accessory system model is used to calculate the starting torque and the starting rotational inertia based on the control signal.

[0050] According to a hardware-in-the-loop simulation test system for a methanol engine controller according to an embodiment of the present application, the environmental parameters include: a first parameter of the environment in which the engine is located and a second parameter of the environment of the engine itself;

[0051] Wherein, the first parameter includes: ambient pressure and ambient temperature;

[0052] Wherein, the second parameter includes: engine temperature.

[0053] The hardware-in-the-loop simulation test system of the methanol engine controller provided in the embodiment of the present application includes: a methanol engine controller, a simulator and a board, wherein the fuel supply system model in the methanol engine model includes an oil fuel supply system model and a methanol fuel supply system model. It can be seen that the methanol engine of the present application includes two supply systems, namely, an oil fuel supply system and a methanol fuel supply system. The methanol engine controller is used to determine whether the engine temperature is greater than a preset temperature when the test condition is determined to be starting the methanol engine; when it is determined that the engine temperature is greater than or equal to the preset temperature, start the methanol fuel supply system model; when it is determined that the engine temperature is less than the preset temperature, start the oil fuel supply system model first, and when it is determined that the engine temperature reaches the preset temperature, start the methanol fuel supply system model. It can be seen that the present application gives priority to starting the oil fuel supply system when the starting temperature condition of methanol is not reached, and continuously monitors the engine temperature. When the engine temperature reaches the starting temperature condition of methanol, the methanol fuel supply system is started, thereby solving the problem of poor starting performance of methanol due to the high latent heat of vaporization of methanol and improving the starting performance of methanol. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0055] Figure 1 This is one of the schematic diagrams of the hardware-in-the-loop simulation test system for the methanol engine controller provided in the embodiment of the present application;

[0056] Figure 2 This is the second schematic diagram of the hardware-in-the-loop simulation test system for the methanol engine controller provided in the embodiment of the present application;

[0057] Figure 3 This is the third schematic diagram of the hardware-in-the-loop simulation test system for the methanol engine controller provided in the embodiment of the present application;

[0058] Figure 4 This is the fourth schematic diagram of the hardware-in-the-loop simulation test system for the methanol engine controller provided in the embodiment of the present application;

[0059] Figure 5 This is the fifth schematic diagram of the hardware-in-the-loop simulation test system for the methanol engine controller provided in the embodiment of the present application;

[0060] Figure 6 This is a data transmission diagram of each system in the hardware-in-the-loop simulation test system of the methanol engine controller provided in an embodiment of the present application. DETAILED DESCRIPTION

[0061] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0062] In order to clearly explain the present application, the hardware-in-the-loop simulation test system of the engine controller with multiple fuels is further explained:

[0063] The hardware-in-the-loop simulation test system of the methanol engine controller of the present application switches between different fuels according to the engine temperature. At this time, multiple fuels are involved, for example, gasoline fuel and methanol are used as examples for explanation.

[0064] Firstly, the existing hardware-in-the-loop simulation test system for a single-fuel engine controller cannot meet the hardware-in-the-loop simulation test requirements for methanol engine control. Secondly, there is no hardware-in-the-loop simulation test system for a multi-fuel engine controller including methanol in the prior art.

[0065] The purpose of this application is to use visual simulation tools to digitally model the methanol engine, obtain a methanol engine model, and then build a hardware-in-the-loop simulation test system based on the methanol engine model to achieve hardware-in-the-loop simulation testing of the methanol engine controller.

[0066] The present application embodiment provides a hardware-in-the-loop simulation test system for a methanol engine controller, such as Figure 1 As shown, the system includes: a methanol engine controller 1, a simulator 2 and a board 3, and the board 3 is connected to the methanol engine controller 1 and the simulator 2.

[0067] The simulation machine 2 includes: a pre-created methanol engine model 20, an environment model 21 and an operation model 22. The methanol engine model 20 includes: a fuel supply system model 201. The fuel supply system model 201 includes: an oil fuel supply system model 2011 and a methanol fuel supply system model 2012.

[0068] The environment model 21 is used to output environment parameters; the operation model 22 is used to output driver behavior parameters; and the methanol engine model 20 is used to output operating parameters of the methanol engine.

[0069] The simulator 2 is used to send environmental parameters, driver behavior parameters and operating parameters to the methanol engine controller 1 through the board 3 .

[0070] The methanol engine controller 1 is used to determine the test conditions corresponding to the environmental parameters, the driver behavior parameters and the operating parameters; generate the control signal corresponding to the test conditions, and send the control signal to the simulator 2 through the board 3.

[0071] The methanol engine controller 1 is used to determine whether the engine temperature is greater than a preset temperature when it is determined that the test condition is to start the methanol engine; generate a first control signal when it is determined that the engine temperature is greater than or equal to the preset temperature, and send the first control signal to the fuel supply system model 201; generate a second control signal when it is determined that the engine temperature is less than the preset temperature, and send the second control signal to the fuel supply system model 201; and generate a first control signal when it is determined that the engine temperature reaches the preset temperature, and send the first control signal to the fuel supply system model 201;

[0072] The first control signal is used to instruct the start of the methanol fuel supply system model 2011 , and the second control signal is used to instruct the start of the oil fuel supply system model 2012 .

[0073] Among them, Figure 1 In the figure, two boards 3 are taken as an example for illustration. Of course, the number is only for illustrative purposes and is not used to limit the protection scope of the present application.

[0074] In the case of two boards 3, the simulator 2 transmits the environmental parameters output by the environmental model 21, the driver behavior parameters output by the operating model 11, and the operating parameters output by the methanol engine model 20 to the methanol engine controller 1 through one of the boards 3. The methanol engine controller 1 sends the control signal to the simulator 2 through the other board 3. The simulator 2 continues to operate any one or more of the environmental model 21, the operating model 22, and the methanol engine model 20 based on the control signal.

[0075] Specifically, the simulation machine 2 and the board 3 may be integrated into a HIL simulation cabinet.

[0076] Specifically, the fuel supply system model 201 is used to control the start-up of the methanol fuel supply system model 2011 based on the first control signal, and to control the start-up of the oil fuel supply system model 2012 based on the second control signal.

[0077] The hardware-in-the-loop simulation test system of the methanol engine controller provided in the embodiment of the present application includes: a methanol engine controller, a simulator and a board, wherein the fuel supply system model in the methanol engine model includes an oil fuel supply system model and a methanol fuel supply system model. It can be seen that the methanol engine of the present application includes two supply systems, namely, an oil fuel supply system and a methanol fuel supply system. The methanol engine controller is used to determine whether the engine temperature is greater than a preset temperature when the test condition is determined to be starting the methanol engine; when it is determined that the engine temperature is greater than or equal to the preset temperature, start the methanol fuel supply system model; when it is determined that the engine temperature is less than the preset temperature, start the oil fuel supply system model first, and when it is determined that the engine temperature reaches the preset temperature, start the methanol fuel supply system model. It can be seen that the present application gives priority to starting the oil fuel supply system when the starting temperature condition of methanol is not reached, and continuously monitors the engine temperature. When the engine temperature reaches the starting temperature condition of methanol, the methanol fuel supply system is started, thereby solving the problem of poor starting performance of methanol due to the high latent heat of vaporization of methanol and improving the starting performance of methanol.

[0078] Specifically, in order to solve the starting problem of the low-temperature methanol fuel supply system, the methanol engine is equipped with two fuel supply systems. During cold start, gasoline is used to start the engine to warm up the engine; when the engine (methanol engine) temperature reaches above 30 degrees Celsius, the fuel supply is switched to methanol fuel. Therefore, the methanol engine needs to switch fuel modes according to different engine temperatures.

[0079] Since the control mode of the controller (methanol engine controller 1) involves two different fuels, gasoline and methanol, the control logic of the controller is more complex than the control logic of the single-fuel engine controller. This application specifically describes the specific implementation of the dual-fuel mode.

[0080] In a specific embodiment, the fuel supply system model 201 further includes: a fuel supply switching model.

[0081] The fuel supply switching model is used to control the connection status of the relay based on the first control signal or the second control signal to complete the switching between the methanol fuel supply system model and the oil fuel supply system model.

[0082] Specifically, the fuel supply switching model switches between methanol and gasoline according to the control signal sent by the methanol engine controller 1. When it is a first control signal, the control relay is connected, and when it is a second control signal, the control relay is connected to the oil fuel supply system.

[0083] In a specific embodiment, the methanol engine model 20 includes: an air system model, a cooling system model, an in-cylinder combustion system model, a crankshaft model and an accessory system model.

[0084] The oil fuel supply system model, the methanol fuel supply system model, the air system model, the cooling system model and the crankshaft model are respectively connected to the in-cylinder combustion system model, and the accessory system model is connected to the crankshaft model.

[0085] The oil fuel supply system model is used to calculate the oil fuel injection amount; the methanol fuel supply system model is used to calculate the methanol injection amount; the air system model is used to calculate the gas temperature and gas pressure inside the intake manifold, and the gas pressure, gas temperature and the proportion of fresh air and exhaust gas in the gas inside the exhaust manifold; the cooling system model is used to calculate the cooling water temperature of the engine; the crankshaft model is used to calculate the engine speed; the accessory system model is used to simulate the start-up of the methanol engine and calculate the starting torque of the methanol engine; the in-cylinder combustion system model is used to calculate the effective output torque of the engine.

[0086] In a specific embodiment, the methanol engine controller 1 is further used to send the engine operating condition when sending the control signal, such as a methanol injection pulse width signal corresponding to the engine operating condition, and a fuel injection pulse width signal corresponding to the engine operating condition.

[0087] The fuel supply system model 201 also includes a fuel injection quantity calculation model.

[0088] The methanol engine controller 1 is also used to send the methanol injection pulse width signal and the fuel injection pulse width signal to the fuel supply system model 201.

[0089] Specifically, when it is determined to start the methanol fuel supply system, a methanol injection pulse width signal is sent; when it is determined to start the oil fuel supply system, a fuel injection pulse width signal is sent.

[0090] The fuel injection quantity calculation model is used to calculate the methanol injection quantity based on a first calculation formula and a methanol injection pulse width signal, and to calculate the fuel injection quantity based on a second calculation formula and a fuel injection pulse width signal.

[0091] The first calculation formula is shown in formula (1):

[0092]

[0093] in, represents the methanol injection amount, t inj represents the methanol injection pulse width signal, gain represents the methanol injection amount under unit injection pulse width, which is a constant, t Rev Indicates the duration corresponding to one working cycle of the methanol engine under the current test conditions.

[0094] in, n Engine Indicates engine speed.

[0095] The second calculation formula is shown in formula (2):

[0096]

[0097] in, Indicates the fuel injection amount, t ini Represents the fuel injection pulse width signal, gaini represents the fuel injection amount under unit injection pulse width, which is a constant.

[0098] Specifically, Figure 2 As shown, the fuel supply system model 201 includes: a methanol fuel supply system model 2012 , an oil fuel supply system model 2011 , a fuel supply switching model 2013 and a fuel injection amount calculation model 2014 .

[0099] In a specific embodiment, Figure 3 As shown, the air system model includes: a throttle valve model 301 , an intake manifold model 302 , an exhaust manifold model 303 , an exhaust gas recirculation cooler model 304 and an exhaust gas recirculation valve model 305 .

[0100] The intake manifold model 302 is connected to the throttle valve model 301 and the exhaust gas recirculation valve model 305, respectively. The exhaust gas recirculation valve model 305 is connected to the exhaust gas recirculation cooler model 304, and the exhaust gas recirculation cooler model 304 is connected to the exhaust manifold model 303. The in-cylinder combustion system model is connected to the intake manifold model 302 and the exhaust manifold model 303, respectively.

[0101] The throttle valve model 301 is used to calculate the gas flow rate flowing through the throttle valve based on the gas pressure difference at both ends of the throttle valve, environmental parameters and the opening of the throttle valve to obtain a first inflow gas flow rate.

[0102] The intake manifold model 302 is used to calculate the gas mass, the third gas temperature and the first gas pressure inside the intake manifold based on the first inflow gas flow rate flowing into the intake manifold and the outflow gas flow rate flowing out of the intake manifold, the first gas temperature of the inflow gas and the second gas temperature of the outflow gas.

[0103] The exhaust gas recirculation valve model 304 is used to calculate the exhaust gas flow rate flowing through the exhaust gas recirculation valve based on the exhaust gas pressure difference at both ends of the exhaust gas recirculation valve, environmental parameters and the opening of the exhaust gas recirculation valve.

[0104] The exhaust gas recirculation cooler model 304 is used to cool the gas flowing out of the exhaust manifold and calculate a fourth gas temperature of the gas passing through the exhaust gas recirculation cooler.

[0105] The exhaust manifold model 303 is used to calculate the second gas pressure inside the exhaust manifold, the fifth gas temperature, and the proportion of fresh air and exhaust gas in the gas based on the rotation speed of the methanol engine and the second inflow gas flow rate flowing into the exhaust manifold.

[0106] Specifically, the gas passing through the throttle valve is fresh air, and the first inflow gas flow rate can be calculated using the third calculation formula.

[0107] The third calculation formula is shown in formula (3):

[0108]

[0109] in, Indicates the first inflow gas flow rate, Pos Throttle represents the opening of the throttle valve, A represents the effective cross section corresponding to the opening of the throttle valve, P In represents the ambient pressure, R represents the state constant of fresh air, T In Indicates the ambient temperature, P Out Indicates the gas pressure difference at both ends of the throttle valve.

[0110] in,

[0111] Where K represents the adiabatic index, which is a constant.

[0112] in,

[0113] Among them, A max Represents the maximum effective cross-section of the throttle valve, which is a constant.

[0114] Specifically, the exhaust gas flow rate flowing through the exhaust gas recirculation valve can be calculated based on formula (3).

[0115] Specifically, the fourth gas temperature is calculated based on the fourth calculation formula.

[0116] The fourth calculation formula is shown in formula (4):

[0117]

[0118] Among them, η Cooler represents the cooling efficiency of the exhaust gas recirculation cooler, T Coolant Indicates the engine coolant temperature, T Ip represents the gas temperature inside the exhaust manifold (third gas temperature), T Out denoted by φ represents the fourth gas temperature.

[0119] Specifically, the cooling efficiency is obtained based on the engine speed and the intake charge (the amount of gas flowing out of the exhaust manifold). The corresponding relationship between the cooling efficiency, the engine speed and the intake charge is created in advance, and the cooling efficiency is determined based on the corresponding relationship.

[0120] Specifically, the gas mass inside the intake manifold of the intake manifold model 302 is mainly based on the mass conservation equation. Since the exhaust gas recirculation valve will reintroduce the gas exhausted by the engine (including: exhaust gas and fresh air) into the intake manifold, the mass conservation equation in the intake manifold includes two equations, one for calculating the mass of fresh air and the other for calculating the mass of exhaust gas. Based on the obtained mass of fresh air and the mass of exhaust gas, the gas mass inside the intake manifold is obtained.

[0121] Specifically, the gas mass inside the intake manifold is obtained by the fifth calculation formula.

[0122] The fifth calculation formula is shown in formula (5):

[0123] m In,Man =m InMan,Air +m InMan,Exh ………………(5)

[0124] Among them, m In,Man Indicates the gas mass inside the intake manifold, m InMan,AirIndicates the mass of fresh air inside the intake manifold, m InMan,Exh Indicates the mass of exhaust gas inside the intake manifold.

[0125] in,

[0126] in, represents the first inflow gas flow rate, Indicates the fresh gas flow through the exhaust gas recirculation valve, Indicates the quality of fresh air in the engine cylinder.

[0127] in,

[0128] in, Indicates the exhaust gas flow through the exhaust gas recirculation valve, Indicates the mass of exhaust gas in the engine cylinder.

[0129] Specifically, the intake manifold model 302 calculates the gas ratio inside the intake manifold, including the ratio of fresh air and the ratio of exhaust gas.

[0130] Specifically, the proportion of fresh air is calculated by the sixth calculation formula, and the proportion of exhaust gas is calculated by the seventh calculation formula.

[0131] The sixth calculation formula is shown in formula (6):

[0132]

[0133] Among them, X InMan,Air Indicates the proportion of fresh air.

[0134] The seventh calculation formula is shown in formula (7):

[0135]

[0136] Among them, X InMan,Exh Indicates the proportion of exhaust gas.

[0137] Specifically, the gas temperature (third gas temperature) inside the intake manifold is mainly obtained based on the law of conservation of energy. Specifically, it is obtained through the eighth calculation formula, which is shown in formula (8):

[0138]

[0139]

[0140] in, represents the third gas temperature, c p,Air is the isobaric specific heat capacity of fresh air, T Out,Throttlerepresents the fresh controlled temperature after the throttle valve, c v,InMan represents the constant volume specific heat capacity of the gas inside the intake manifold, c p,Exh represents the isobaric specific heat capacity of engine exhaust gas, T Out,EGR Indicates the temperature of the gas passing through the exhaust gas recirculation valve, T InMan represents the first gas temperature, A InMan represents the surface area of ​​the intake manifold, k InMan represents the heat transfer coefficient of the intake manifold, T Ambient Indicates the ambient temperature.

[0141] Specifically, the intake manifold internal pressure calculation of the intake manifold model 302 is obtained based on the ideal collective equation, specifically obtained through the ninth calculation formula.

[0142] The ninth calculation formula is shown in formula (9):

[0143]

[0144] Among them, P InMan Indicates the internal pressure of the intake manifold, R InMan Represents the gas constant in the intake manifold, V InMan Indicates the intake manifold volume.

[0145] in,

[0146] Among them, R Air is the fresh air gas constant, R Exh Indicates the exhaust gas constant emitted by the engine.

[0147] Specifically, the exhaust manifold model 303 is used to calculate the pressure, temperature, gas constant, and respective proportions of fresh air and exhaust gas in the gas in the exhaust manifold.

[0148] Specifically, the pressure and temperature of the gas in the exhaust manifold are obtained by the engine speed and the intake charge (the amount of gas in the exhaust manifold). A mapping relationship between the pressure and temperature of the gas in the exhaust manifold and the engine speed and the intake charge is created in advance, and the pressure and temperature of the gas in the exhaust manifold are determined based on the mapping relationship.

[0149] Specifically, the tenth calculation formula and the eleventh calculation formula are used to obtain the respective proportions of fresh air and exhaust gas in the gas in the exhaust manifold.

[0150] The tenth calculation formula is shown in formula (10):

[0151]

[0152] Among them, X ExhMan,ExhIndicates the proportion of exhaust gas in the exhaust manifold, λ out_engine Indicates the excess air coefficient in the engine cylinder.

[0153] The eleventh calculation formula is shown in formula (11):

[0154] X ExhMan,Air =1-X ExhMan,Exh …………………………(11)

[0155] Among them, X ExhMan,Air Indicates the proportion of fresh air in the exhaust manifold.

[0156] Specifically, the gas constant in the exhaust manifold is obtained by the twelfth calculation formula.

[0157] The twelfth calculation formula is shown in formula (12):

[0158] R ExhMan =X ExhMan,Air R Air +X ExhMan,Exh R Exh ……(12)

[0159] Among them, β ExhMan Represents the gas constant in the exhaust manifold.

[0160] In a specific embodiment, Figure 4 As shown, the in-cylinder combustion system model includes: an in-cylinder air volume model 401, a combustion torque model 402, a friction torque model 403 and an effective torque output model 404. The in-cylinder air volume model 401 is connected to the combustion torque model 402, and the combustion torque model 402 and the friction torque model 403 are respectively connected to the effective torque output model 404.

[0161] The cylinder charge model 401 is used to calculate the cylinder intake charge, the cylinder excess air coefficient, the cylinder fresh air flow and the cylinder exhaust gas flow; the combustion torque model 402 is used to calculate the engine indicated torque; the friction torque model 403 is used to calculate the engine friction torque; the effective torque output model 404 is used to calculate the engine effective output torque.

[0162] Specifically, the cylinder intake charge of the cylinder charge model 401 is obtained by the engine speed and the pressure of the intake manifold (the pressure of the gas in the intake manifold). A matching relationship between the cylinder intake charge and the engine speed and the pressure of the intake manifold is created in advance, and the cylinder intake charge is determined based on the matching relationship.

[0163] Specifically, the in-cylinder fresh air flow rate and the in-cylinder exhaust gas flow rate are calculated by the thirteenth calculation formula and the fourteenth calculation formula.

[0164] The fresh air flow rate in the cylinder is calculated using the thirteenth calculation formula, see formula (13):

[0165]

[0166] in, Indicates the fresh air flow in the cylinder. Indicates the gas flow rate in the cylinder, X InMan,Air Indicates the proportion of fresh air.

[0167] in, Among them, η engine Indicates the amount of air in the cylinder, T InMan represents the first gas temperature, P InMan Indicates the pressure of the intake manifold, R InMan represents the gas constant in the intake manifold, V represents the engine displacement, t Rev Indicates the duration corresponding to one working cycle of the methanol engine under the current test conditions.

[0168] The fourteenth calculation formula is used to calculate the exhaust gas flow rate in the cylinder, see formula (14):

[0169]

[0170] Among them, X InMan,Exh Indicates the proportion of exhaust gas.

[0171] Specifically, the excess air coefficient in the cylinder is calculated by the fifteenth calculation formula, see formula (15):

[0172]

[0173] Among them, λ out_engine Indicates the excess air coefficient in the cylinder, represents the methanol injection amount, and L represents the theoretical air-fuel ratio.

[0174] In formula (15), methanol is used as fuel for illustration. When gasoline is used as fuel, Replace with That's it.

[0175] Specifically, the combustion torque model 402 obtains the indicated engine torque through the engine speed and the cylinder intake air charge. A correspondence between the indicated engine torque, the engine speed and the cylinder intake air charge is created in advance, and the indicated engine torque is obtained based on the correspondence.

[0176] Furthermore, the engine indicated torque is corrected by two correction coefficients, which include: a first correction coefficient obtained by the correspondence between the excess air coefficient in the cylinder and the first correction coefficient, and a second correction coefficient obtained by the correspondence between the second correction coefficient and the engine speed and the fuel ignition advance angle.

[0177] The corrected engine indicated torque is obtained by multiplying the first correction coefficient, the second correction coefficient and the engine indicated torque.

[0178] Specifically, the friction torque model 403 obtains the engine friction torque through the engine speed and the engine cooling water temperature. A correspondence between the engine friction torque, the engine speed and the engine cooling water temperature is created in advance, and the engine friction torque is obtained based on the correspondence.

[0179] Specifically, the effective torque output model 404 obtains the engine effective output torque by subtracting the engine indicated torque from the engine friction torque.

[0180] In a specific embodiment, the methanol engine model 20 further includes: a cooling system model.

[0181] Cooling system model to calculate engine coolant temperature.

[0182] Specifically, the cooling system model calculates the engine coolant temperature (engine cooling water temperature) by the heat balance principle. The calculation principle assumes that the engine friction torque is completely dissipated into the cooling circuit, and the cooling system also dissipates a fixed proportion of the engine indicated torque, which can be regarded as the wall heat loss from the engine cylinder to the cooling circuit. The heat generated by the engine friction torque and the fixed proportion of the engine indicated torque minus the heat taken away by the cooling fan and the large amount of heat entering, a heat flow is obtained, which is used to heat up the engine coolant.

[0183] In a specific embodiment, the methanol engine model 20 further includes: a crankshaft model.

[0184] Crankshaft model, used to calculate engine speed.

[0185] Specifically, the engine speed is calculated by the sixteenth calculation formula, see formula (16):

[0186] n Engine =60ω Engine / 2π…………………………(16)

[0187] Among them, n Engine represents the engine speed, ω Engine Indicates the angular velocity of the engine crankshaft.

[0188] Among them, ωEngine =(T Eff,Engine +T Starter ) / (J Engine +J Starter ).

[0189] Among them, T Eff,Engine Indicates the effective output torque of the engine, T Starter Indicates engine output torque, J Engine Represents the engine crankshaft moment of inertia, J Starter Represents the engine's rotational inertia. These parameters can be obtained by monitoring the engine.

[0190] In a specific embodiment, the methanol engine model 20 further includes: an accessory system model.

[0191] Accessory system model for calculating starting torque and starting moment of inertia.

[0192] Specifically, the accessory system model calculates the starting torque and the starting moment of inertia according to the control signal.

[0193] In a specific embodiment, the environmental parameters include: a first parameter of the environment in which the engine is located and a second parameter of the engine's own environment.

[0194] The first parameter includes: ambient pressure and ambient temperature; the second parameter includes: engine temperature.

[0195] Specifically, Figure 5 As shown, the methanol engine model 20 includes: a fuel supply system model 201, an air system model 501, a cooling system model 502, an in-cylinder combustion system model 503, a crankshaft model 504 and an accessory system model 505.

[0196] The fuel supply system model 201 , the air system model 501 , the cooling system model 502 and the crankshaft model 504 are connected to the in-cylinder combustion system model 503 , and the crankshaft model 504 is connected to the accessory system model 505 .

[0197] Among them, the methanol engine model 20 corresponds to the methanol engine, the fuel supply system model 201 corresponds to the fuel supply system, the air system model 501 corresponds to the air system, the cooling system model 502 corresponds to the cooling system, the in-cylinder combustion system model 503 corresponds to the in-cylinder combustion system, the crankshaft model 504 corresponds to the crankshaft, and the accessory system model 505 corresponds to the accessory system.

[0198] Specifically, through Figure 6 The data transmission of each system model of this application is specifically described:

[0199] The methanol engine controller 1 sends out a control signal, which includes any one or more of a start relay control signal, a throttle valve opening, an exhaust gas recirculation valve opening, a fuel ignition advance angle, a fuel switching relay control signal, a gasoline injection valve injection pulse width (fuel injection pulse width signal), a methanol injection valve injection pulse width (methanol injection pulse width signal) and a cooling fan control signal.

[0200] The information received by the methanol engine controller 1 includes: any one or more of the intake manifold pressure, intake manifold temperature, in-cylinder excess control coefficient, engine speed, ambient temperature and ambient pressure input by the environmental model, and the engine start signal and accelerator pedal signal input by the operating model.

[0201] The input data of the air system model include: any one or more of the following: fresh air mass flow rate in the engine cylinder (fresh air flow rate in the cylinder), excess air coefficient in the engine cylinder, exhaust gas mass flow rate in the engine cylinder (exhaust gas flow rate in the cylinder), throttle valve opening, EGR valve opening (opening of the exhaust gas recirculation valve), intake charge and engine speed.

[0202] The output data of the air system model include: any one or more of the intake manifold pressure, the intake manifold temperature, the intake manifold exhaust gas ratio, the intake manifold gas constant and the intake manifold fresh air ratio.

[0203] The input data of the fuel supply system model include: any one or more of the fuel switching relay control signal, the gasoline injection valve injection pulse width, the methanol injection valve injection pulse width and the engine speed.

[0204] The output data of the fuel supply system model include: methanol / gasoline injection mass flow rate (methanol injection flow rate or gasoline injection flow rate).

[0205] The input data of the cooling system model include: any one or more of a cooling fan control signal, an engine speed, an engine friction torque and an engine indicated torque.

[0206] The output data of the cooling system model include: engine coolant temperature.

[0207] The input data of the in-cylinder combustion system model include: any one or more of fuel ignition advance angle, intake manifold pressure, intake manifold temperature, intake manifold exhaust gas ratio, intake manifold gas constant and intake manifold fresh air ratio, methanol / gasoline injection mass flow rate, engine coolant temperature and engine speed.

[0208] The output data of the in-cylinder combustion system model include: any one or more of the intake charge, excess air coefficient in the engine cylinder, fresh air mass flow in the engine cylinder, exhaust gas mass flow in the engine cylinder, engine friction torque, engine indicated torque, and engine effective output torque.

[0209] The input data of the crankshaft model include: any one or more of the effective output torque of the engine and the starting torque.

[0210] The output data of the crankshaft model include: engine speed.

[0211] The input data of the accessory system model includes: start relay control signal.

[0212] Output data from the nearby system model include: starting torque.

[0213] The output data of the driver model (operating system model) includes: any one or more of an engine start signal and an accelerator pedal signal.

[0214] The output data of the environmental system model include: ambient temperature and ambient pressure.

[0215] Finally, it should be noted that the above is only the preferred implementation of the present application, and the present application is not limited to the above embodiments. It is understood that other improvements and changes directly derived or associated by those skilled in the art without departing from the spirit and concept of the present application should be considered to be included in the scope of protection of the present application.

Claims

1. A hardware-in-the-loop simulation test system for a methanol engine controller, characterized in that: The system comprises: a methanol engine controller, a simulator and a board, wherein the board is connected to the methanol engine controller and the simulator respectively; The simulation machine includes: a pre-created methanol engine model, an environment model and an operation model, the methanol engine model includes: a fuel supply system model, the fuel supply system model includes: an oil fuel supply system model and a methanol fuel supply system model; The environmental model is used to output environmental parameters; the operating model is used to output driver behavior parameters; the methanol engine model is used to output operating parameters of the methanol engine; The simulator is used to send the environmental parameters, the driver behavior parameters and the operating parameters to the methanol engine controller through the board; The methanol engine controller is used to determine the test conditions corresponding to the environmental parameters, the driver behavior parameters and the operating parameters; generate a control signal corresponding to the test conditions, and send the control signal to the simulator through the board; The methanol engine controller is used to determine whether the engine temperature is greater than a preset temperature when it is determined that the test condition is to start the methanol engine; generate a first control signal when it is determined that the engine temperature is greater than or equal to the preset temperature, and send the first control signal to the fuel supply system model; generate a second control signal when it is determined that the engine temperature is less than the preset temperature, and send the second control signal to the fuel supply system model; and generate the first control signal when it is determined that the engine temperature reaches the preset temperature, and send the first control signal to the fuel supply system model; The first control signal is used to instruct the start of the methanol fuel supply system model, and the second control signal is used to instruct the start of the oil fuel supply system model.

2. The hardware-in-the-loop simulation test system of the methanol engine controller according to claim 1 is characterized in that: The fuel supply system model also includes: a fuel supply switching model; The fuel supply switching model is used to control the connection status of the relay based on the first control signal or the second control signal to complete the switching of the methanol fuel supply system model and the oil fuel supply system model.

3. The hardware-in-the-loop simulation test system of the methanol engine controller according to claim 1 or 2, characterized in that: The methanol engine model also includes: an air system model, a cooling system model, an in-cylinder combustion system model, a crankshaft model and an accessory system model; The oil fuel supply system model, the methanol fuel supply system model, the air system model, the cooling system model and the crankshaft model are respectively connected to the in-cylinder combustion system model, and the accessory system model is connected to the crankshaft model; The oil fuel supply system model is used to calculate the oil fuel injection amount; The methanol fuel supply system model is used to calculate the methanol injection amount; The air system model is used to calculate the gas temperature and gas pressure inside the intake manifold, and the gas pressure, gas temperature and the proportion of fresh air and exhaust gas in the gas inside the exhaust manifold; The cooling system model is used to calculate the cooling water temperature of the engine; The crankshaft model is used to calculate the engine speed; The accessory system model is used to simulate the start-up of the methanol engine and calculate the starting torque of the methanol engine; The in-cylinder combustion system model is used to calculate the effective output torque of the engine.

4. The hardware-in-the-loop simulation test system of the methanol engine controller according to claim 3 is characterized in that: The fuel supply system model also includes: a fuel injection quantity calculation model; The methanol engine controller is further used to send the methanol injection pulse width signal and the fuel injection pulse width signal to the fuel supply system model; The fuel injection amount calculation model is used to calculate the methanol injection amount based on a first calculation formula and the methanol injection pulse width signal, and to calculate the fuel injection amount based on a second calculation formula and the fuel injection pulse width signal; Wherein, the first calculation formula includes: in, represents the methanol injection amount, t inj represents the methanol injection pulse width signal, gain represents the methanol injection amount under unit injection pulse width, which is a constant, t Rev Indicates the duration corresponding to one working cycle of the methanol engine under the current test conditions; in, n Engine Indicates engine speed; The second calculation formula includes: in, Indicates the fuel injection amount, t ini Represents the fuel injection pulse width signal, gaini represents the fuel injection amount under unit injection pulse width, which is a constant.

5. The hardware-in-the-loop simulation test system of the methanol engine controller according to claim 3 is characterized in that: The air system model includes: a throttle valve model, an intake manifold model, an exhaust manifold model, an exhaust gas recirculation cooler model and an exhaust gas recirculation valve model; The intake manifold model is connected to the throttle valve model and the exhaust gas recirculation valve model respectively, the exhaust gas recirculation valve model is connected to the exhaust gas recirculation cooler model, and the exhaust gas recirculation cooler model is connected to the exhaust manifold model; The throttle valve model is used to calculate the gas flow rate flowing through the throttle valve based on the gas pressure difference at both ends of the throttle valve, the environmental parameters and the opening of the throttle valve to obtain a first inflow gas flow rate; The intake manifold model is used to calculate the gas mass, the third gas temperature and the first gas pressure inside the intake manifold based on the first inflow gas flow rate flowing into the intake manifold and the outflow gas flow rate flowing out of the intake manifold, the first gas temperature of the inflow gas and the second gas temperature of the outflow gas; The exhaust gas recirculation valve model is used to calculate the exhaust gas flow rate flowing through the exhaust gas recirculation valve based on the exhaust gas pressure difference at both ends of the exhaust gas recirculation valve, environmental parameters and the opening of the exhaust gas recirculation valve; The exhaust gas recirculation cooler model is used to cool the gas flowing out of the exhaust manifold and calculate a fourth gas temperature of the gas passing through the exhaust gas recirculation cooler; The exhaust manifold model is used to calculate the second gas pressure inside the exhaust manifold, the fifth gas stability, and the proportion of fresh air and exhaust gas in the gas based on the rotation speed of the methanol engine and the second inflow gas flow rate flowing into the exhaust manifold.

6. The hardware-in-the-loop simulation test system of the methanol engine controller according to claim 3, characterized in that: The in-cylinder combustion system model includes: an in-cylinder air charge model, a combustion torque model, a friction torque model and an effective torque output model; The cylinder charge model is connected to the combustion torque model, and the combustion torque model and the friction torque model are respectively connected to the effective torque output model; The cylinder charge model is used to calculate the cylinder intake charge, the cylinder excess air coefficient, the cylinder fresh air flow rate and the cylinder exhaust gas flow rate; The combustion torque model is used to calculate the engine indicated torque; The friction torque model is used to calculate the engine friction torque; The effective torque output model is used to calculate the engine effective output torque based on the engine indicated torque and the engine friction torque.

7. The hardware-in-the-loop simulation test system for a methanol engine controller according to claim 3, characterized in that: The cooling system model is used to calculate the engine coolant temperature based on the heat balance principle.

8. The hardware-in-the-loop simulation test system for a methanol engine controller according to claim 3, characterized in that: The crankshaft model is used to calculate the engine speed based on the engine crankshaft angular velocity.

9. The hardware-in-the-loop simulation test system of the methanol engine controller according to claim 3, characterized in that: The accessory system model is used to calculate the starting torque and the starting rotational inertia based on the control signal.

10. The hardware-in-the-loop simulation test system for a methanol engine controller according to claim 1, characterized in that: The environmental parameters include: a first parameter of the environment in which the engine is located and a second parameter of the environment of the engine itself; Wherein, the first parameter includes: ambient pressure and ambient temperature; Wherein, the second parameter includes: engine temperature.

Citation Information

Patent Citations

  • Automobile control system, method and automobile

    CN101638053A

  • Dual-fuel engine controller simulation test system

    CN104111650A

  • Fuel injection control device for internal combustion engine

    CN107849997A

  • Methanol engine injection mode control method, device and equipment and automobile

    CN116733621A

  • Lockup control device

    CN1916446A