Engine control method, device and equipment

By constructing and using the decoupling process of the preset input and output model, the air-fuel ratio and knock signal of the engine are obtained, the control increment of the injection pulse width and ignition advance angle is determined, and the engine air-fuel ratio and knock in the existing technology are solved. The problem of low control accuracy is eliminated and more efficient engine control is achieved.

CN118582301APending Publication Date: 2024-09-03CHINA NUCLEAR POWER TECH RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410621015.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-20
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Due to the existence of multi-variable strong coupling, large time lag, large inertia and model time-varying characteristics in the existing engine injection and ignition control systems, the control accuracy of air-fuel ratio and knocking is low.

Method used

By obtaining the air-fuel ratio signal and knock signal of the engine, decoupling processing is performed based on the preset input and output model, and the first and second prediction sub-models are constructed, which are used to determine the control increments of the injection pulse width and ignition advance angle respectively. Achieve precise control of the engine.

Benefits of technology

It improves the control accuracy of engine air-fuel ratio and knock, and improves engine power, economy and emission performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118582301A
    Figure CN118582301A
Patent Text Reader

Abstract

The invention discloses an engine control method, device and equipment. The method comprises the steps that an air-fuel ratio signal and a knock signal of an engine are obtained; determining a control increment of the first input signal according to the air-fuel ratio signal and a target function of the first prediction sub-model; and determining a control increment of the second input signal according to the knock signal and an objective function of the second prediction sub-model, and controlling the engine according to the control increment of the first input signal and the control increment of the second input signal. The device comprises an output quantity acquisition module, an input quantity prediction module and a control module.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Technology Neighborhood

[0002] The present application relates to the field of engines, and in particular to a method, device and equipment for controlling an engine. Background Art

[0003] In order to improve engine performance, reduce harmful emissions, and meet strict emission regulations, electronic control technology has been widely used in the engine field. With the application of electronic control technology, the engine structure is becoming more and more complex, the functions are becoming more and more complete, the degree of automation is becoming higher and higher, and the emission regulations are becoming more and more stringent. The electronic control method of the engine has developed from the simple open-loop control in the past to closed-loop feedback control. In terms of control strategy and theory, it has also developed from the traditional table lookup method and proportional-integral-derivative (PID) control method to modern control theories such as optimal control, adaptive control, neural network control and predictive control.

[0004] There are two main indicators of the engine, namely whether the mixture is completely burned and whether the output power is maximum. At the same time, the two main factors affecting the engine's power, economy and emission performance are the air-fuel ratio of the combustible mixture and the ignition timing. To achieve the best engine performance, it is necessary to give the best injection pulse width and the best ignition advance angle according to the various operating conditions of the engine to achieve the best air-fuel ratio control and knock control. For the existing engine injection and ignition control system, due to the existence of multi-variable strong coupling, large time lag, large inertia and model time-varying characteristics, the existing engine air-fuel ratio and knock control accuracy is low. Summary of the invention

[0005] The present application aims to propose an engine control method, device and equipment, which can improve the control accuracy of the engine's air-fuel ratio and knock.

[0006] In a first aspect, an embodiment of the present application provides a method for controlling an engine, comprising:

[0007] Acquiring an air-fuel ratio signal and a knock signal of the engine;

[0008] Determining a control increment of a first input signal according to the air-fuel ratio signal and an objective function of a first prediction sub-model; and determining a control increment of a second input signal according to the knock signal and an objective function of a second prediction sub-model;

[0009] controlling the engine according to a control increment of the first input signal and a control increment of the second input signal;

[0010] Among them, the first prediction sub-model and the second prediction sub-model are converted from a preset input-output model, the input of the preset input-output model includes an injection pulse width signal and an ignition advance angle signal, and the output of the preset input-output model includes an air-fuel ratio signal and a knock signal; the input of the first prediction sub-model includes the first input signal, the output of the first prediction sub-model includes the air-fuel ratio signal, the input of the second prediction sub-model includes the second input signal, and the output of the second prediction sub-model includes the knock signal; the first input signal is one of the injection pulse width signal and the ignition advance angle signal, and the second input signal is the other of the injection pulse width signal and the ignition advance angle signal.

[0011] According to some embodiments of the present application, a preset input-output model of the engine is constructed based on historical operating condition data of the engine;

[0012] The first prediction sub-model and the second prediction sub-model are obtained by decoupling the input quantity coupling relationship of the preset input-output model.

[0013] According to some embodiments of the present application, the first prediction sub-model and the second prediction sub-model are obtained by decoupling the input quantity coupling relationship of the preset input-output model, including:

[0014] Decomposing the preset input-output model into a first intermediate model and a second intermediate model, wherein the input of the first intermediate model includes the injection pulse width signal and the ignition advance angle signal, and the output of the first intermediate model includes the air-fuel ratio signal; the input of the second intermediate model includes the injection pulse width signal and the ignition advance angle signal, and the output of the second intermediate model includes the knock signal;

[0015] Optimizing the first intermediate model and the second intermediate model so that the first intermediate model and the second intermediate model have the function of advanced prediction output;

[0016] The first intermediate model after optimization is subjected to decoupling processing of the input quantity coupling relationship to obtain the first prediction sub-model, and the second intermediate model after optimization is subjected to decoupling processing of the input quantity coupling relationship to obtain the second prediction sub-model.

[0017] According to some embodiments of the present application, performing decoupling processing on the input quantity coupling relationship of the first intermediate model after optimization processing to obtain the first prediction sub-model, and performing decoupling processing on the input quantity coupling relationship of the second intermediate model after optimization processing to obtain the second prediction sub-model, include:

[0018] Acquire known quantities and unknown quantities in the output prediction quantity of the target intermediate model, where the target intermediate model includes any one of the first intermediate model after optimization processing and the second intermediate model after optimization processing;

[0019] Obtaining a target intermediate matrix model associated with the target intermediate model according to the known quantities and the unknown quantities;

[0020] Decoupling the input quantity coupling relationship of the target intermediate matrix model to obtain a first target prediction sub-model associated with the target intermediate model.

[0021] Among them, when the target intermediate model includes the first intermediate model, the first target prediction sub-model includes the first prediction sub-model; when the target intermediate model includes the second intermediate model, the first target prediction sub-model includes the second prediction sub-model.

[0022] According to some embodiments of the present application, after performing decoupling processing on the input quantity coupling relationship of the optimized first intermediate model to obtain the first prediction sub-model, and performing decoupling processing on the input quantity coupling relationship of the optimized second intermediate model to obtain the second prediction sub-model, the method further includes:

[0023] Perform parameter identification processing on the second target prediction sub-model to obtain a target remote prediction sub-model of the second target prediction sub-model, wherein the second target prediction sub-model includes any one of the first prediction sub-model and the second prediction sub-model.

[0024] According to some embodiments of the present application, after performing decoupling processing on the input quantity coupling relationship of the optimized first intermediate model to obtain the first prediction sub-model, and performing decoupling processing on the input quantity coupling relationship of the optimized second intermediate model to obtain the second prediction sub-model, the method further includes:

[0025] Perform error weighted correction processing on the second target prediction sub-model to obtain a target prediction correction sub-model, wherein the second target prediction sub-model includes any one of the first prediction sub-model and the second prediction sub-model.

[0026] According to some embodiments of the present application, it further includes:

[0027] Acquiring control target information associated with the engine, wherein the control target information is used to indicate a control target of the engine;

[0028] The objective function of the first prediction sub-model and the objective function of the second prediction sub-model are constructed according to the control target information.

[0029] According to some embodiments of the present application, the second target prediction sub-model includes any one of the first prediction sub-model and the second prediction sub-model;

[0030] The constructing the objective function of the first prediction sub-model and the objective function of the second prediction sub-model according to the control target information includes:

[0031] Acquire an input constraint and an output constraint, wherein the input constraint is associated with the input quantity of the second target prediction sub-model, and the output constraint is associated with the output quantity of the second target prediction sub-model;

[0032] According to the control target information, the input constraints and the output constraints, an objective function of the first prediction sub-model or an objective function of the second prediction sub-model is constructed.

[0033] In a second aspect, an embodiment of the present application provides a control device for an engine, comprising:

[0034] An output quantity acquisition module, used to obtain an air-fuel ratio signal and a knock signal of the engine;

[0035] An input quantity prediction module, configured to determine a control increment of a first input signal according to the air-fuel ratio signal and an objective function of the first prediction sub-model; and to determine a control increment of a second input signal according to the knock signal and an objective function of the second prediction sub-model;

[0036] a control module, configured to control the engine according to a control increment of the first input signal and a control increment of the second input signal;

[0037] Among them, the first prediction sub-model and the second prediction sub-model are converted from a preset input-output model, the input of the preset input-output model includes an injection pulse width signal and an ignition advance angle signal, and the output of the preset input-output model includes an air-fuel ratio signal and a knock signal; the input of the first prediction sub-model includes the first input signal, the output of the first prediction sub-model includes the air-fuel ratio signal, the input of the second prediction sub-model includes the second input signal, and the output of the second prediction sub-model includes the knock signal; the first input signal is one of the injection pulse width signal and the ignition advance angle signal, and the second input signal is the other of the injection pulse width signal and the ignition advance angle signal.

[0038] In a third aspect, an embodiment of the present application provides an electronic device, the device comprising: a processor and a memory storing computer program instructions;

[0039] When the processor executes the computer program instructions, the engine control method as described in the first aspect is implemented.

[0040] The engine control method, device and equipment of the embodiments of the present application have at least the following beneficial effects:

[0041] The present application first obtains the air-fuel ratio signal and knock signal of the engine; then determines the control increment of the first input signal according to the air-fuel ratio signal and the objective function of the first prediction sub-model; and determines the control increment of the second input signal according to the knock signal and the objective function of the second prediction sub-model; finally controls the engine according to the control increment of the first input signal and the control increment of the second input signal. The present application converts the preset input-output model of dual-input / dual-output into two first prediction sub-models and second prediction sub-models with single input / single output, obtains the control increment of the injection pulse width signal and the ignition advance angle signal according to the objective function of the first prediction sub-model and the objective function of the second prediction sub-model combined with the air-fuel ratio signal and the knock signal of the engine, and controls the engine according to the control increment of the injection pulse width signal and the ignition advance angle signal, which can improve the control accuracy of the engine's air-fuel ratio and knock.

[0042] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The present application is further described below with reference to the accompanying drawings and embodiments, wherein:

[0044] Figure 1 A schematic flow chart of an embodiment of an engine control method provided in the present application;

[0045] Figure 2 A schematic diagram of a subsystem 1 in an embodiment of the engine control method provided in the present application;

[0046] Figure 3 A schematic diagram of subsystem 2 in an embodiment of the engine control method provided by the present application;

[0047] Figure 4 A schematic flow chart of an embodiment of the engine control device provided in the present application;

[0048] Figure 5 A schematic diagram of the structure of the electronic device provided in this application. DETAILED DESCRIPTION

[0049] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0050] In this article, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0051] In order to solve the problems of the prior art, the embodiments of the present application provide a control method, device and equipment for an engine. The control method for an engine provided by the embodiments of the present application is first introduced below.

[0052] Figure 1 A flow chart of a method for controlling an engine provided by an embodiment of the present application is shown. The method is applied to an electronic device, and the method comprises the following steps:

[0053] S101, obtaining an air-fuel ratio signal and a knock signal of an engine;

[0054] S102, determining a control increment of the first input signal according to the air-fuel ratio signal and the objective function of the first prediction sub-model; and determining a control increment of the second input signal according to the knock signal and the objective function of the second prediction sub-model;

[0055] S103 , controlling the engine according to the control increment of the first input signal and the control increment of the second input signal.

[0056] Among them, the first prediction sub-model and the second prediction sub-model are converted from a preset input-output model, the input of the preset input-output model includes an injection pulse width signal and an ignition advance angle signal, and the output of the preset input-output model includes an air-fuel ratio signal and a knock signal; the input of the first prediction sub-model includes a first input signal, the output of the first prediction sub-model includes an air-fuel ratio signal, the input of the second prediction sub-model includes a second input signal, and the output of the second prediction sub-model includes a knock signal; the first input signal is one of the injection pulse width signal and the ignition advance angle signal, and the second input signal is the other of the injection pulse width signal and the ignition advance angle signal.

[0057] The present application first obtains the air-fuel ratio signal and knock signal of the engine; then determines the control increment of the first input signal according to the air-fuel ratio signal and the objective function of the first prediction sub-model; and determines the control increment of the second input signal according to the knock signal and the objective function of the second prediction sub-model; finally controls the engine according to the control increment of the first input signal and the control increment of the second input signal. The present application converts the preset input-output model of dual-input / dual-output into two first prediction sub-models and second prediction sub-models with single input / single output, obtains the control increment of the injection pulse width signal and the ignition advance angle signal according to the objective function of the first prediction sub-model and the objective function of the second prediction sub-model combined with the air-fuel ratio signal and the knock signal of the engine, and controls the engine according to the control increment of the injection pulse width signal and the ignition advance angle signal, which can improve the control accuracy of the engine's air-fuel ratio and knock.

[0058] In the above step S101 , the air-fuel ratio signal and the knock signal of the engine are acquired.

[0059] The engine may be an engine or other internal combustion engine. The air-fuel ratio signal refers to the air-fuel ratio signal output by the engine's oxygen sensor, indicating the actual air-fuel ratio of the engine at the current moment; the knock signal refers to the knock signal output by the engine's knock sensor, indicating the actual knock rate of the engine at the current moment.

[0060] In the above step S102, the control increment of the first input signal is determined according to the air-fuel ratio signal and the objective function of the first prediction sub-model; and the control increment of the second input signal is determined according to the knock signal and the objective function of the second prediction sub-model.

[0061] The above-mentioned first prediction sub-model and second prediction sub-model are two prediction models of the engine obtained by converting the preset input-output model. Since the air-fuel ratio and the knock rate are the two output quantities of the engine, and the injection pulse width and the ignition advance angle are the two input quantities of the engine, the input quantities of the preset input-output model of the engine include the injection pulse width signal and the ignition advance angle signal, and the output quantities include the air-fuel ratio signal and the knock signal, that is, the preset input-output model is a dual-input / dual-output model, but this dual-input / dual-output model is very complex and difficult to predict the engine. Therefore, the dual-input / dual-output preset input-output model is converted into two first prediction sub-models and second prediction sub-models. The first prediction sub-model and the second prediction sub-model are both single-input / single-output models. The engine can be predicted based on the first prediction sub-model and the second prediction sub-model.

[0062] Specifically, the output of the first prediction sub-model is the air-fuel ratio signal, and the output of the second prediction sub-model is the knock signal. If the input of the first prediction sub-model is the injection pulse width signal, the input of the second prediction sub-model is the ignition advance angle signal; if the input of the first prediction sub-model is the ignition advance angle signal, the input of the second prediction sub-model is the injection pulse width signal.

[0063] The above objective function refers to determining the future control action by taking the minimum variance of the engine output tracking a certain expected trajectory at the future sampling point, that is, according to the desired engine target air-fuel ratio and target knock rate, the control increment of the corresponding injection pulse width signal and the ignition advance angle signal can be calculated. If the input of the first prediction sub-model is the injection pulse width signal and the input of the second prediction sub-model is the ignition advance angle signal, then the control increment of the injection pulse width signal can be obtained according to the optimal air-fuel ratio and the objective function of the first prediction sub-model, and the control increment of the ignition advance angle signal can be obtained according to the optimal knock rate and the objective function of the second prediction sub-model. Similarly, if the input of the first prediction sub-model is the ignition advance angle signal and the input of the second prediction sub-model is the injection pulse width signal, then the control increment of the ignition advance angle signal can be obtained according to the optimal air-fuel ratio and the objective function of the first prediction sub-model, and the control increment of the ignition advance angle signal can be obtained according to the optimal knock rate and the objective function of the second prediction sub-model.

[0064] The injection pulse width refers to the length of time that the injector injects fuel into the cylinder per unit time, which affects the injection amount and injection rate of the fuel. The length of the injection time will directly affect the combustion efficiency of the fuel, thereby affecting the power output and fuel economy of the engine.

[0065] The ignition advance angle refers to the time advance of the ignition system to ignite the mixture at the end of the piston compression stroke, which affects the start time and combustion process of combustion. The size of the ignition advance angle determines the combustion speed and pressure rise rate, which in turn affects the engine's output power and fuel economy, and also significantly affects the engine's emission performance.

[0066] Reasonable injection pulse width and ignition advance angle can make the fuel fully burn, improve the thermal efficiency of the engine, reduce fuel consumption and emission. In order to obtain the best air-fuel ratio and the best knock rate, it is necessary to find the corresponding injection pulse width and ignition advance angle.

[0067] In the above step S103, the engine is controlled according to the control increment of the first input signal and the control increment of the second input signal.

[0068] The control increment of the first input signal and the control increment of the second input signal refer to the control increment of the injection pulse width signal and the control increment of the ignition advance angle signal. By controlling the injection and ignition control system of the engine through the control increment of the injection pulse width signal and the control increment of the ignition advance angle signal, the air-fuel ratio and knock rate of the engine can be made close to or reach the optimal air-fuel ratio and the optimal knock rate.

[0069] In some embodiments, a preset input-output model of the engine is constructed based on historical operating condition data of the engine;

[0070] By decoupling the input quantity coupling relationship of the preset input-output model, a first prediction sub-model and a second prediction sub-model are obtained.

[0071] In this embodiment, based on the historical operating condition data of the engine, a preset input-output model of the engine is constructed; by decoupling the input quantity coupling relationship of the preset input-output model, a first prediction sub-model and a second prediction sub-model are obtained. This can improve the accuracy of the preset input-output model in simulating the engine operating condition, reduce the complexity of the model, and facilitate prediction of the engine.

[0072] The above-mentioned historical operating condition data of the engine refers to the historical input, historical output and other related historical data of the engine. By constructing a preset input-output model of the engine through the historical operating condition data, an output can be obtained according to the input, thereby simulating the operating condition of the engine. The input in this embodiment is the injection pulse width signal and the ignition advance angle signal, and the output is the air-fuel ratio signal and the knock signal.

[0073] Exemplarily, in this application, a preset input-output model of the engine is constructed based on a controlled auto-regressive integrated moving-average (CARIMA) model, and the specific expression is as follows:

[0074]

[0075] Among them, A1(z -1 )、A2(z -1 ) represent the transformation matrix; B 11 (z -1 ), B 12 (z -1 ), B 21 (z -1 ), B 22 (z -1 ) are all z -1 The polynomial of z is the input matrix of the system; -1 Related to the Z transform, a mathematical tool used to solve discrete-time systems; Δ = 1-z -1 ; y1(k) and y2(k) are input quantities; u1(k) and u2(k) are output quantities; ζ1(k) and ζ2(k) are white noise sequences with zero mean; if the time lag is greater than zero, B 11 (z -1 ), B 12 (z -1 ), B 21 (z -1 ), B 22 (z -1 ) The coefficient of one or more terms at the beginning of the polynomial is equal to zero.

[0076] The above-mentioned preset input-output model of the engine constructed based on the CARIMA model is only one implementation of the present application. In addition to the CARIMA model, a neural network model, a vector machine model or other model construction algorithms can also be used to construct the preset input-output model of the engine.

[0077] The above input quantity coupling relationship refers to the coupling relationship between the injection pulse width and the ignition advance angle. Since the change of the injection pulse width not only affects the output of the oxygen sensor, but also affects the output of the knock sensor; similarly, the change of the ignition advance angle not only affects the output of the knock sensor, but also affects the output of the oxygen sensor. Therefore, there is a correlation and coupling relationship between these two input quantities.

[0078] By decoupling the input / output interaction feedforward and converting the control problem of the multivariable system into a control problem of a single-input / single-output system, the system complexity can be reduced, making it easier to achieve precise control of the engine.

[0079] In some implementations, decoupling the input coupling relationship of the preset input-output model to obtain the first prediction sub-model and the second prediction sub-model may include:

[0080] Decomposing the preset input-output model into a first intermediate model and a second intermediate model, wherein the input of the first intermediate model includes an injection pulse width signal and an ignition advance angle signal, and the output of the first intermediate model includes an air-fuel ratio signal; the input of the second intermediate model includes an injection pulse width signal and an ignition advance angle signal, and the output of the second intermediate model includes a knock signal;

[0081] Optimizing the first intermediate model and the second intermediate model so that the first intermediate model and the second intermediate model have the function of advanced prediction output;

[0082] The first intermediate model after optimization is subjected to decoupling processing of the input quantity coupling relationship to obtain a first prediction sub-model, and the second intermediate model after optimization is subjected to decoupling processing of the input quantity coupling relationship to obtain a second prediction sub-model.

[0083] In this embodiment, the preset input-output model is first decomposed into the first intermediate model and the second intermediate model; then the first intermediate model and the second intermediate model are optimized so that the first intermediate model and the second intermediate model have the function of predicting the output in advance; finally, the first intermediate model and the second intermediate model after the optimization process are decoupled from the input quantity coupling relationship to obtain the first prediction sub-model and the second prediction sub-model. The preset input-output model can be quickly converted into the first prediction sub-model and the second prediction sub-model to achieve prediction and precise control of the engine.

[0084] The above-mentioned decomposition of the preset input-output model into the first intermediate model and the second intermediate model refers to converting the dual-input / dual-output preset input-output model into two dual-input / single-output first intermediate models and second intermediate models, that is, decomposing the complete engine control system into subsystem 1 and subsystem 2.

[0085] like Figure 2 As shown, the first intermediate model corresponds to subsystem 1. The input of subsystem 1 is the injection pulse width signal and the ignition advance angle signal, and the output is the air-fuel ratio signal obtained by the oxygen sensor. The target air-fuel ratio is the optimal air-fuel ratio to be achieved under the current operating conditions. By adjusting the injection pulse width signal and the ignition advance angle signal of subsystem 1, different air-fuel ratio outputs can be achieved.

[0086] like Figure 3 As shown, the second intermediate model corresponds to subsystem 2. The input of subsystem 2 is the same as that of subsystem 1, which is also the injection pulse width signal and the ignition advance angle signal. The output is the air-fuel ratio signal obtained by the knock sensor. The target knock rate is the best knock that is expected to be achieved under the current working conditions. By adjusting the injection pulse width signal and the ignition advance angle signal of subsystem 2, different knock outputs can be achieved.

[0087] Exemplarily, by splitting the expression (1) of the preset input-output model, the expression of the first intermediate model can be obtained as follows:

[0088] A1(z -1 )y1(k)=B 11 (z -1 )u1(k-1)+B 12 (z -1 )u2(k-1)+ζ1(k) / Δ (2)

[0089] The expression of the second intermediate model can be obtained as follows:

[0090] A2(z -1 )y2(k)=B 21 (z -1 )u1(k-1)+B 22 (z -1 )u2(k-1)+ζ2(k) / Δ (3)

[0091] The above formula (2) is the model expression of subsystem 1, and formula (3) is the model expression of subsystem 2.

[0092] The above-mentioned optimization processing of the first intermediate model and the second intermediate model refers to optimizing the first intermediate model and the second intermediate model through a prediction algorithm to predict the output of subsystem 1 and subsystem 2 j steps after time k.

[0093] In this embodiment, the Diophantine equation is introduced to optimize the first intermediate model and the second intermediate model to predict the output of subsystem 1 and subsystem 2 j steps after time k.

[0094] The optimization process of the first intermediate model and the second intermediate model is described in detail below:

[0095] First, based on the Diophantine equation, a prediction model for subsystem 1 at time k and j steps later is constructed:

[0096] y1(k+j)=E 1j (z -1 )B 11 (z -1 )Δu1(k+j-1)+E 1j (z-1 )B 12 (z -1 )Δu2(k+j-1)+F 1j (z -1 )y1(k)+E 1j (z -1 )ζ1(k+j) (4)

[0097] Among them, E 1j (z -1 )=e 1j0 +e 1j1 z -1 +L+e 1j,j-1 z -j+1 ,(e 1j0 =1); F 1j (z -1 ) = f 1j0 +f 1j1 z -1 +L+f 1jn z -n .

[0098] In the above formula, E 1j (z -1 ), F 1j (z -1 ) refers to the representation of the original function in the Z domain after the inverse Z transform. The subscript j refers to the jth component in the Z domain. 1jn 、f 1jn They all represent the specific values ​​of the function in the Z domain in the time domain.

[0099] Similarly, the prediction equation for subsystem 2 j steps after time k can be obtained.

[0100] Furthermore, we construct the polynomial G of the unit step response of y1(k) with respect to u1(k): 11j (z -1 );Construct the polynomial G of the unit step response of y1(k) with respect to u2(k) 12j (z -1 );Construct the polynomial G of the unit step response of y2(k) with respect to u1(k) 21j (z -1 ) ; construct G 22j (z -1 )The polynomial G of the unit step response of y2(k) with respect to u2(k) 22j (z -1 ), as follows:

[0101] G 11j (z -1 )=E 1j (z -1 )B 11(z -1 ) = g 11j0 +g 11j1 z -1 +L+g 11jj z -j+1 +L

[0102] G 12j (z -1 )=E 1j (z -1 )B 12 (z -1 ) = g 12j0 +g 12j1 z -1 +L+g 12jj z -j+1 +L

[0103] G 21j (z -1 )=E 2j (z -1 )B 21 (z -1 ) = g 21j0 +g 21j1 z -1 +L+g 21jj z -j+1 +L

[0104] G 22j (z -1 )=E 2j (z -1 )B 22 (z -1 ) = g 22j0 +g 22j1 z -1 +L+g 22jj z -j+1 +L.

[0105] From the above formula, we can see that the polynomial G 11 j(z- 1 ) The first j terms are exactly the unit step response g of y1(k) with respect to u1(k). 110 , g 111 , …, g 11j-1 , g 11j , the first j terms of ..., the polynomial G 12j (z -1 ) is the unit step response g of y1(k) with respect to u2(k). 120 , g 121 , …, g 12j-1 , g 12j , the first j terms of ..., the polynomial G 21j (z -1) The first j terms are exactly the unit step response g of y2(k) with respect to u1(k). 210 , g 211 , …, g 21j-1 , g 21j , the first j terms of ..., the polynomial G 22j (z -1 ) is the unit step response g of y2(k) with respect to u2(k). 220 , g 221 , …, g 22j-1 , g 22j , the first j terms of…

[0106] Therefore, the output prediction of subsystem 1, i.e. the optimized first intermediate model, can be simply expressed as:

[0107]

[0108] The output prediction of subsystem 2, i.e. the optimized second intermediate model, can be simply expressed as:

[0109]

[0110] The above-mentioned decoupling of the input quantity coupling relationship of the first intermediate model after optimization, and the decoupling of the input quantity coupling relationship of the second intermediate model after optimization, refer to the feedforward decoupling of the interactive influence between the input and output quantities by regarding the influence of the coupling between the input quantities as feedforward input quantities, thereby converting the dual-input / single-output control problem into a single-input / single-output control problem.

[0111] The above optimization of the first intermediate model and the second intermediate model by Diophantine equation is only one implementation mode of the present application. In addition to Diophantine equation, the first intermediate model and the second intermediate model can also be optimized by statistical models, machine learning and expert systems, etc., which are not limited here.

[0112] In some implementations, performing a decoupling process on the input quantity coupling relationship of the optimized first intermediate model to obtain a first prediction sub-model, and performing a decoupling process on the input quantity coupling relationship of the optimized second intermediate model to obtain a second prediction sub-model may include:

[0113] Acquire known quantities and unknown quantities in the output prediction quantity of the target intermediate model, where the target intermediate model includes any one of the first intermediate model after optimization processing and the second intermediate model after optimization processing;

[0114] According to the known quantities and the unknown quantities, a target intermediate matrix model associated with the target intermediate model is obtained;

[0115] Decoupling the input coupling relationship of the target intermediate matrix model to obtain the first target prediction sub-model associated with the target intermediate model.

[0116] Among them, when the target intermediate model includes the first intermediate model, the first target prediction sub-model includes the first prediction sub-model; when the target intermediate model includes the second intermediate model, the first target prediction sub-model includes the second prediction sub-model.

[0117] In this embodiment, the known quantities and unknown quantities in the output prediction quantity of the target intermediate model are first obtained; then, based on the known quantities and unknown quantities, a target intermediate matrix model associated with the target intermediate model is obtained; finally, the target intermediate matrix model is decoupled from the input quantity coupling relationship to obtain the first target prediction sub-model associated with the target intermediate model. Since a part of the output prediction quantity is used as a known quantity, the amount of calculation of the output prediction can be reduced, making it easier to obtain the decoupled first prediction sub-model and second prediction sub-model.

[0118] The above-mentioned division of the output prediction of the target intermediate model into known quantities and unknown quantities refers to the division of the output prediction of the first intermediate model and the output prediction of the second intermediate model into known quantities and unknown quantities. Since only the past control input is known, it is necessary to separate the contribution of the past input to the future output when using the CARIMA model for estimation, that is, the output prediction values ​​of subsystem 1 and subsystem 2 in the future N steps include both the known quantity and the unknown quantity at time k.

[0119] Use f(k+j) to represent the known quantity. The target intermediate matrix model associated with the target intermediate model obtained based on the known quantities and the unknown quantities includes a first intermediate matrix model and a second intermediate matrix model. The first intermediate matrix model is the output prediction matrix of subsystem 1, and the second intermediate matrix model is the output prediction matrix of subsystem 2.

[0120] Exemplarily, the output prediction for the next N steps is expressed as two parts: a known quantity and an unknown quantity at time k. The known quantity is represented by f(k+j). The output prediction matrix of subsystem 1 is expressed as:

[0121]

[0122] The above formula (7) can be simplified as:

[0123]

[0124] in,

[0125] ΔU1=[Δu1(k),Δu1(k+1),...,Δu1(k+N-1)] T ;

[0126] ΔU2=[Δu2(k),Δu2(k+1),...,Δu2(k+N-1)] T ;

[0127] f1=[f1(k+1),f1(k+2),...,f1(k+N)] T ;

[0128] Among them, f1 represents the known quantity corresponding to subsystem 1, and Δu1(k) and Δu2(k) both represent the output increments.

[0129]

[0130] Among them, G 11 is the unit step response of y1(k) with respect to u1(k) 110 , g 111 , …, g 11j-1 , g 11j , ..., the coefficient matrix, G 12 is the unit step response of y1(k) with respect to u2(k) 120 , g 121 , …, g 12j-1 , g 12j ,…is the coefficient matrix composed of .

[0131] The above-mentioned decoupling processing of the input quantity coupling relationship of the target intermediate matrix model is performed to obtain the first target prediction sub-model associated with the target intermediate model. When the target intermediate model includes the first intermediate model, the first target prediction sub-model includes the first prediction sub-model; when the target intermediate model includes the second intermediate model, the first target prediction sub-model includes the second prediction sub-model. It means that the decoupling processing of the input quantity coupling relationship of the first intermediate matrix model and the second intermediate matrix model is performed respectively, and the first prediction sub-model is obtained according to the first intermediate matrix model, and the second prediction sub-model is obtained according to the second intermediate matrix model. The two can be processed simultaneously or successively.

[0132] The decoupling of the coupling relationship of the input quantities refers to the feedforward decoupling of the interaction between the input quantities and the output quantities by treating the coupling effect between the input quantities as the feedforward input quantity, thereby converting the dual-input / single-output control problem into a single-input / single-output control problem.

[0133] Specifically, for the first prediction sub-model corresponding to subsystem 1, the ΔU2 value at the previous moment is used to replace the ΔU2 value at the k moment, that is, G 12 If ΔU2 is regarded as a known quantity, equation (8) can be expressed as follows:

[0134]

[0135] in, Predict the known quantities in the submodel for subsystem 1,

[0136] Similarly, the expression of the second prediction sub-model corresponding to subsystem 2 is:

[0137]

[0138] Same as above. Predict the known quantities in the submodel for subsystem 2.

[0139] In some embodiments, after performing decoupling processing of the input quantity coupling relationship on the optimized first intermediate model to obtain the first prediction sub-model, and performing decoupling processing of the input quantity coupling relationship on the optimized second intermediate model to obtain the second prediction sub-model, the method may further include:

[0140] Parameter identification processing is performed on the second target prediction sub-model to obtain a target remote prediction sub-model of the second target prediction sub-model, wherein the second target prediction sub-model includes any one of the first prediction sub-model and the second prediction sub-model.

[0141] In this embodiment, the second target prediction sub-model is subjected to parameter identification processing to obtain a target long-range prediction sub-model of the second target prediction sub-model, thereby achieving the most long-range prediction of the future output of the engine and improving the accuracy of the prediction.

[0142] The above-mentioned performing parameter identification processing on the second target prediction submodel to obtain the target remote prediction submodel of the second target prediction submodel refers to performing parameter identification processing on the first prediction submodel to obtain the first remote prediction submodel, and performing parameter identification processing on the second prediction submodel to obtain the second remote prediction submodel. The above two processes can be performed simultaneously or successively.

[0143] The first long-range prediction submodel refers to the most long-range output prediction formula of subsystem 1, and the second prediction submodel refers to the most long-range output prediction formula of subsystem 2. Figure 2 and Figure 3 The farthest point in the future output that the controller can effectively predict and control.

[0144] The above-mentioned parameter identification process refers to identifying the parameter matrices G and f in the first prediction sub-model and the second prediction sub-model based on current and past input and output data. G represents the gain matrix, which is used to adjust the control input to minimize the prediction error and meet other performance indicators. f represents the function or mapping in the first prediction sub-model and the second prediction sub-model, which is used to map the input and state of the engine system to the future output. In practical applications, parameter identification is usually performed in a predictor, which refers to a model or algorithm used to predict future system outputs. The predictor contains one or more prediction models that predict the future output of the system based on the system's input and output historical data and current inputs.

[0145] In this embodiment, the first prediction sub-model and the second prediction sub-model are subjected to parameter identification processing by recursive least square method. In addition to the least square method, maximum likelihood estimation, genetic algorithm, particle swarm optimization, neural network, etc. can also be used to identify the parameters in the predictor.

[0146] Exemplarily, the expression of the first long-range prediction sub-model is:

[0147] y1(k+N)=X1(k)θ1(k)+E 1N ζ1(k+N) (11)

[0148] Among them, X1(k) is the predicted control variable vector; θ1(k) is the augmented matrix of the control coefficients and known quantities of subsystem 1, E 1N ζ1(k+N) is white noise, X1(k)=[Δu1(k),...,Δu1(k+N-1),Δu2(k),...,Δu2(k+N-1),1];

[0149] θ1(k)=[g 11N-1 ,g 11N-2 ,L,g 110 ,g 12N-1 ,g 12N-2 ,L,g 120 ,f1(k+N)] T .

[0150] Similarly, the expression of the second long-range prediction sub-model is:

[0151] y2(k+N)=X1(k)θ2(k)+E 2N ζ2(k+N) (12)

[0152] Among them, θ2(k) is the augmented matrix of the control coefficients and known quantities of subsystem 2, E 2N ζ2(k+N) is white noise,

[0153] θ2(k)=[g21N-1 ,g 21N-2 ,L,g 210 ,g 22N-1 ,g 22N-2 ,L,g 220 ,f2(k+N)] T .

[0154] In some embodiments, after performing decoupling processing of the input quantity coupling relationship on the optimized first intermediate model to obtain the first prediction sub-model, and performing decoupling processing of the input quantity coupling relationship on the optimized second intermediate model to obtain the second prediction sub-model, the method may further include:

[0155] The second target prediction sub-model is subjected to error weighted correction processing to obtain a target prediction correction sub-model, wherein the second target prediction sub-model includes any one of the first prediction sub-model and the second prediction sub-model.

[0156] This embodiment performs error weighted correction processing on the second target prediction sub-model to obtain a target prediction correction sub-model, which can improve the accuracy of prediction.

[0157] The above-mentioned weighted error correction processing of the second target prediction sub-model refers to the weighted error correction processing of the first prediction sub-model and the second prediction sub-model respectively, and the target prediction correction sub-model includes the first prediction correction sub-model and the second prediction correction sub-model. Since there is a difference between the output prediction value of the engine obtained according to the prediction sub-model and the actual output value of the engine, it is necessary to perform weighted error correction in order to improve the accuracy of the prediction. The prediction error is obtained based on the difference between the actual output value and the output prediction value, and the prediction model is updated by the prediction error. These prediction errors will be weighted so that the most recent error will have a greater influence when correcting the prediction, because the most recent error may better reflect the current dynamics of the system than the more distant error.

[0158] The prediction vector for the next moment can be obtained through the first prediction sub-model. The output vector f1 predicted by subsystem 1 at time t=(k+1)T is:

[0159]

[0160] Among them, e1(k+1) is the prediction error, h2, h3, …, h N is the error correction coefficient; f1 is the system output at time t=(k+1)T predicted by subsystem 1 after error correction at time t=(k+1)T, which serves as the initial value of the prediction for the next moment.

[0161] Similarly, the predicted output vector f2 of subsystem 2 at time t = (k + 1)T is:

[0162]

[0163] Among them, e2(k+1) is the prediction error, h2, h3, …, h N is the error correction coefficient; f2 is the system output at time t=(k+1)T predicted by subsystem 2 after error correction at time t=(k+1)T, which serves as the initial value of the prediction at the next moment.

[0164] In some embodiments, the method of the present application may further include:

[0165] Acquiring control target information associated with an engine, the control target information being used to indicate a control target of the engine;

[0166] The objective function of the first prediction sub-model and the objective function of the second prediction sub-model are constructed according to the control target information.

[0167] In this embodiment, the control target information associated with the engine is obtained, and the objective function of the first prediction sub-model and the objective function of the second prediction sub-model are constructed according to the control target information. The control target and the objective function can be associated together, so that the injection pulse width and the ignition advance angle can be adjusted according to the real-time working conditions when the engine is running, thereby improving the fuel economy and emission performance of the engine.

[0168] The above control target information refers to the control target of the engine. The control target of the engine is that when the engine system requires air-fuel ratio conversion or knock rate change according to the current operating conditions, the system's air-fuel ratio and knock outputs can still quickly track the system's target values ​​without steady-state error.

[0169] Engine performance optimization is an important measure to improve energy efficiency, reduce emissions and ensure safety. In engine control, injection pulse width and ignition advance angle are two key parameters, which directly affect the engine's power output, fuel economy and emission performance. The determination of injection pulse width and ignition advance angle is the result of comprehensive consideration of many factors such as the engine's working principle, fuel characteristics, working conditions and emission standards. Reasonable injection pulse width and ignition advance angle can make the fuel fully burned, improve the engine's thermal efficiency, reduce fuel consumption and emission generation. The control goal is to achieve this optimal combustion state, and the engine's electronic control unit adjusts the injection pulse width and ignition advance angle in real time to adapt to different operating conditions and load requirements. By accurately controlling these two parameters, it can ensure that the engine can maintain the best performance and lowest emissions under various working conditions, thereby achieving the goal of energy saving and emission reduction.

[0170] In summary, the engine control target is the starting point for adjusting the logical relationship between the injection pulse width and the ignition advance angle. It ensures that the engine can adjust these two parameters according to the real-time operating conditions during operation to achieve the best fuel economy and emission performance.

[0171] In some embodiments, the second target prediction sub-model includes any one of the first prediction sub-model and the second prediction sub-model;

[0172] Constructing the objective function of the first prediction sub-model and the objective function of the second prediction sub-model according to the control target information includes:

[0173] Acquire an input constraint and an output constraint, wherein the input constraint is associated with the input quantity of the second target prediction sub-model, and the output constraint is associated with the output quantity of the second target prediction sub-model;

[0174] According to the control target information, the input constraints and the output constraints, an objective function of the first prediction sub-model or an objective function of the second prediction sub-model is constructed.

[0175] In this embodiment, input constraints and output constraints are obtained, the input constraints are associated with the input quantity of the second target prediction sub-model, and the output constraints are associated with the output quantity of the second target prediction sub-model; according to the control target information, the input constraints and the output constraints, the objective function of the first prediction sub-model or the objective function of the second prediction sub-model is constructed. Adding input constraints and output constraints to the objective function can prevent the engine system from exceeding the limit range or violent oscillation, improve reliability, and consider the influence of the control u(k) at the current moment on the system at future moments in the objective function, which can enhance the robustness of the system.

[0176] The above-mentioned acquisition of input constraints and output constraints refers to the acquisition of the input constraints and output constraints of the first prediction sub-model, and the input constraints and output constraints of the second prediction sub-model. The input constraints are related to the input quantity, and the output constraints are related to the output quantity, in order to prevent the input and output of the engine from exceeding the limit range or violent oscillation. In the objective function, the input constraints are expressed as control weight coefficients, and the output constraints are expressed as reference trajectories.

[0177] Exemplarily, the objective function of the first prediction sub-model, that is, the objective function expression of subsystem 1 is:

[0178]

[0179] Among them, y1(k) is the output of subsystem 1, that is, the air-fuel ratio signal, w1(k) is the reference trajectory of subsystem 1, λ(j) is the control weighting coefficient greater than zero, and Δu1 is the control increment of subsystem 1.

[0180] The objective function of the second prediction sub-model, that is, the objective function expression of subsystem 2 is:

[0181]

[0182] Among them, y2(k) is the output of subsystem 2, that is, the knock signal, w2(k) is the reference trajectory of subsystem 2, and Δu2 is the control increment of subsystem 2.

[0183] Therefore, the objective function of the engine is:

[0184]

[0185] Further, let Representing the partial derivative of the objective function J1 of subsystem 1 with respect to its control increment Δu1, the expression of the optimal control law of the objective function of the first prediction submodel can be obtained as follows:

[0186]

[0187] Where W1=[w1(k+1),w1(k+2),...,w1(k+N)] T , Represents the coefficient matrix G 11 , T represents the transpose of the matrix, and I is the identity matrix.

[0188] M control increments can be calculated by formula (18). Since only the control increment at the current moment is needed, only the first value of the calculated M control increments is put into practice each time. The control increment of subsystem 1 at the current moment is:

[0189]

[0190] In the formula, for The first line of c T =[1 0 L 0];

[0191] Similarly, the control increment of subsystem 2 at the current moment is:

[0192]

[0193] In the formula, for The first line of Represents the coefficient matrix G 22 The transpose of .

[0194] In summary, the injection pulse width and the ignition advance angle are adjusted according to the control increments of subsystems 1 and 2, thereby ensuring that the target air-fuel ratio and target knock output of the engine are achieved.

[0195] In view of the characteristics of the engine being time-varying, uncertain and difficult to establish an accurate mathematical model, the classical control method is difficult to obtain good control effects, so an implicit generalized predictive self-correcting control strategy is adopted to achieve high-precision control of the engine's air-fuel ratio and knock, so as to achieve good power, economy and emission performance for the engine; when the parameters, order and pure lag of the engine system change, the control method can still work well and has strong robustness; it has few setting parameters, requires less prior knowledge of the object, and is easy to use; it is practical, does not identify the object model parameters, but directly identifies and obtains the parameters in the optimal control rate based on the input and output data, thereby avoiding a large number of intermediate calculations caused by solving the Diophantine equations online, has a fast running speed, and can be used for the real-time control system of the engine.

[0196] Based on the engine control method provided in the above embodiment, the present application also provides a specific implementation method of the engine control device.

[0197] like Figure 4 As shown, the engine control device 400 provided in the embodiment of the present application may include:

[0198] The output quantity acquisition module 401 is used to obtain the air-fuel ratio signal and knock signal of the engine;

[0199] An input quantity prediction module 402, configured to determine a control increment of a first input signal according to an air-fuel ratio signal and an objective function of a first prediction sub-model; and to determine a control increment of a second input signal according to a knock signal and an objective function of a second prediction sub-model;

[0200] A control module 403, configured to control the engine according to a control increment of the first input signal and a control increment of the second input signal;

[0201] Among them, the first prediction sub-model and the second prediction sub-model are converted from a preset input-output model, the input of the preset input-output model includes an injection pulse width signal and an ignition advance angle signal, and the output of the preset input-output model includes an air-fuel ratio signal and a knock signal; the input of the first prediction sub-model includes a first input signal, the output of the first prediction sub-model includes an air-fuel ratio signal, the input of the second prediction sub-model includes a second input signal, and the output of the second prediction sub-model includes a knock signal; the first input signal is one of the injection pulse width signal and the ignition advance angle signal, and the second input signal is the other of the injection pulse width signal and the ignition advance angle signal.

[0202] like Figure 4As shown, the engine control device 400 of the above embodiment can be arranged in the fuel injection and ignition control system of the engine, and can also be used as an independent control device to control the fuel injection and ignition control system of the engine.

[0203] The engine control device 400 of the embodiment of the present application is used to execute the engine control method in the above embodiment. Its specific processing process is the same as the engine control method in the above embodiment, and will not be repeated here.

[0204] Figure 5 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.

[0205] The electronic device may include a processor 501 and a memory 502 storing computer program instructions.

[0206] Specifically, the processor 501 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0207] The memory 502 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 502 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 502 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 502 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 502 is a non-volatile solid-state memory.

[0208] In some embodiments, the memory 502 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.

[0209] The processor 501 reads and executes the computer program instructions stored in the memory 502 to implement any one of the simulation prediction methods for material transportation in the above embodiments.

[0210] In one example, the electronic device may further include a communication interface 503 and a bus 510. Figure 5 As shown, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 510 and communicate with each other.

[0211] The communication interface 503 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0212] Bus 510 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 510 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0213] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0214] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0215] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0216] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0217] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A method for controlling an engine, characterized in that: The following steps are involved: Acquiring an air-fuel ratio signal and a knock signal of the engine; Determining a control increment of a first input signal according to the air-fuel ratio signal and an objective function of a first prediction sub-model; and determining a control increment of a second input signal according to the knock signal and an objective function of a second prediction sub-model; controlling the engine according to a control increment of the first input signal and a control increment of the second input signal; Among them, the first prediction sub-model and the second prediction sub-model are converted from a preset input-output model, the input of the preset input-output model includes an injection pulse width signal and an ignition advance angle signal, and the output of the preset input-output model includes an air-fuel ratio signal and a knock signal; the input of the first prediction sub-model includes the first input signal, the output of the first prediction sub-model includes the air-fuel ratio signal, the input of the second prediction sub-model includes the second input signal, and the output of the second prediction sub-model includes the knock signal; the first input signal is one of the injection pulse width signal and the ignition advance angle signal, and the second input signal is the other of the injection pulse width signal and the ignition advance angle signal.

2. The method according to claim 1, characterized in that Also includes: Based on the historical operating condition data of the engine, construct a preset input-output model of the engine; The first prediction sub-model and the second prediction sub-model are obtained by decoupling the input quantity coupling relationship of the preset input-output model.

3. The engine control method according to claim 2, characterized in that: The first prediction sub-model and the second prediction sub-model are obtained by decoupling the input quantity coupling relationship of the preset input-output model, including: Decomposing the preset input-output model into a first intermediate model and a second intermediate model, wherein the input of the first intermediate model includes the injection pulse width signal and the ignition advance angle signal, and the output of the first intermediate model includes the air-fuel ratio signal; the input of the second intermediate model includes the injection pulse width signal and the ignition advance angle signal, and the output of the second intermediate model includes the knock signal; Optimizing the first intermediate model and the second intermediate model so that the first intermediate model and the second intermediate model have the function of advanced prediction output; The first intermediate model after optimization is subjected to decoupling processing of the input quantity coupling relationship to obtain the first prediction sub-model, and the second intermediate model after optimization is subjected to decoupling processing of the input quantity coupling relationship to obtain the second prediction sub-model.

4. The engine control method according to claim 3, characterized in that: The step of performing a decoupling process on the input coupling relationship of the first intermediate model after the optimization process to obtain the first prediction sub-model, and the step of performing a decoupling process on the input coupling relationship of the second intermediate model after the optimization process to obtain the second prediction sub-model comprises: Acquire known quantities and unknown quantities in the output prediction quantity of the target intermediate model, where the target intermediate model includes any one of the first intermediate model after optimization processing and the second intermediate model after optimization processing; Obtaining a target intermediate matrix model associated with the target intermediate model according to the known quantities and the unknown quantities; Decoupling the input quantity coupling relationship of the target intermediate matrix model to obtain a first target prediction sub-model associated with the target intermediate model. Among them, when the target intermediate model includes the first intermediate model, the first target prediction sub-model includes the first prediction sub-model; when the target intermediate model includes the second intermediate model, the first target prediction sub-model includes the second prediction sub-model.

5. The engine control method according to claim 3, characterized in that: After the first intermediate model after the optimization process is subjected to the decoupling process of the input quantity coupling relationship to obtain the first prediction sub-model, and the second intermediate model after the optimization process is subjected to the decoupling process of the input quantity coupling relationship to obtain the second prediction sub-model, the method further includes: Perform parameter identification processing on the second target prediction sub-model to obtain a target remote prediction sub-model of the second target prediction sub-model, wherein the second target prediction sub-model includes any one of the first prediction sub-model and the second prediction sub-model.

6. The engine control method according to claim 3, characterized in that: After the first intermediate model after the optimization process is subjected to the decoupling process of the input quantity coupling relationship to obtain the first prediction sub-model, and the second intermediate model after the optimization process is subjected to the decoupling process of the input quantity coupling relationship to obtain the second prediction sub-model, the method further includes: Perform error weighted correction processing on the second target prediction sub-model to obtain a target prediction correction sub-model, wherein the second target prediction sub-model includes any one of the first prediction sub-model and the second prediction sub-model.

7. The engine control method according to claim 1, characterized in that: Also includes: Acquiring control target information associated with the engine, wherein the control target information is used to indicate a control target of the engine; The objective function of the first prediction sub-model and the objective function of the second prediction sub-model are constructed according to the control target information.

8. The engine control method according to claim 7, characterized in that: The second target prediction sub-model includes any one of the first prediction sub-model and the second prediction sub-model; The constructing the objective function of the first prediction sub-model and the objective function of the second prediction sub-model according to the control target information includes: Acquire an input constraint and an output constraint, wherein the input constraint is associated with the input quantity of the second target prediction sub-model, and the output constraint is associated with the output quantity of the second target prediction sub-model; According to the control target information, the input constraints and the output constraints, an objective function of the first prediction sub-model or an objective function of the second prediction sub-model is constructed.

9. An engine control device, characterized in that: include: An output quantity acquisition module, used to obtain an air-fuel ratio signal and a knock signal of the engine; An input quantity prediction module, configured to determine a control increment of a first input signal according to the air-fuel ratio signal and an objective function of the first prediction sub-model; and to determine a control increment of a second input signal according to the knock signal and an objective function of the second prediction sub-model; a control module, configured to control the engine according to a control increment of the first input signal and a control increment of the second input signal; Among them, the first prediction sub-model and the second prediction sub-model are converted from a preset input-output model, the input of the preset input-output model includes an injection pulse width signal and an ignition advance angle signal, and the output of the preset input-output model includes an air-fuel ratio signal and a knock signal; the input of the first prediction sub-model includes the first input signal, the output of the first prediction sub-model includes the air-fuel ratio signal, the input of the second prediction sub-model includes the second input signal, and the output of the second prediction sub-model includes the knock signal; the first input signal is one of the injection pulse width signal and the ignition advance angle signal, and the second input signal is the other of the injection pulse width signal and the ignition advance angle signal.

10. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the engine control method according to any one of claims 1 to 8 is implemented.