Engine control method and device, electronic equipment, intelligent vehicle and storage medium
By predicting the engine's exhaust temperature and adjusting the working parameters, the problem of difficulty for the driver to monitor the exhaust temperature in a timely manner is solved, ensuring that the engine works normally and reducing costs.
Patent Information
- Application Number
- CN202411014182.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-11-15
AI Technical Summary
In the prior art, it is difficult for the driver to monitor the exhaust temperature of the engine in a timely manner before the catalytic reaction, resulting in insufficient adjustment of the engine operating parameters, which may lead to abnormal operation or damage to the engine.
By obtaining the engine's current working parameters and environmental information, use a preset pre-excitation exhaust model (such as the long and short memory neural network model) to predict the pre-excitation exhaust temperature at the next moment, and detect whether the pre-excitation temperature conditions of the catalytic reaction are met. The test results adjust the engine operating parameters, avoid installing temperature sensors, and reduce costs.
Accurate prediction and timely monitoring of the engine's front exhaust temperature is achieved, ensuring that the engine is in normal working conditions, reducing the risk of engine damage and reducing costs.
Smart Images

Figure CN118959131A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of engine technology, and in particular to an engine control method, device, electronic equipment, intelligent vehicle and storage medium. Background Art
[0002] According to the theory, controlling the exhaust temperature of the engine before the catalytic reaction is within a certain range is an important guarantee for achieving efficient, reliable, environmentally friendly and energy-saving operation of the engine. For traditional internal combustion engines and hybrid vehicles involving internal combustion engines, temperature sensors are usually equipped to monitor the exhaust temperature of the engine before the catalytic reaction. In current technology, the driver needs to control the engine based on the exhaust temperature of the engine before the catalytic reaction monitored by the temperature sensor.
[0003] However, with current technology, the driver may not pay attention to the exhaust temperature before the engine undergoes a catalytic reaction in time, and thus may not be able to adjust the engine's operating parameters in time according to the exhaust temperature before the engine undergoes a catalytic reaction, which may cause the engine to be in an abnormal operating state or even cause engine damage.
[0004] Therefore, how to ensure the normal operation of the engine has become an urgent problem to be solved. Summary of the invention
[0005] In view of this, the present invention provides an engine control method, device, electronic device, intelligent vehicle and storage medium to solve the problem of how to ensure the normal operation of the engine.
[0006] In a first aspect, the present invention provides an engine control method, the method comprising:
[0007] Get the current working parameters of the engine and the current environmental information;
[0008] Predicting the exhaust temperature before the engine performs a catalytic reaction at the next moment based on current operating parameters and current environmental information;
[0009] Detect and predict whether the exhaust temperature before catalysis meets the preset temperature condition of the catalytic reaction;
[0010] According to the detection results, the current operating parameters of the engine are adjusted.
[0011] The engine control method provided in the embodiment of the present application obtains the current operating parameters and current environmental information of the engine; based on the current operating parameters and current environmental information, the predicted pre-catalyst exhaust temperature before the engine performs a catalytic reaction at the next moment is predicted, thereby ensuring the accuracy of the predicted pre-catalyst exhaust temperature before the engine performs a catalytic reaction at the next moment, and there is no need to install a temperature sensor in front of the engine's three-way catalytic converter, thereby reducing costs. Detecting whether the predicted pre-catalyst exhaust temperature meets the preset temperature conditions of the catalytic reaction ensures the accuracy of the obtained detection results. According to the detection results, the current operating parameters of the engine are adjusted, thereby realizing timely monitoring of the predicted pre-catalyst exhaust temperature of the engine, and timely adjustment of the current operating parameters of the engine based on the predicted pre-catalyst exhaust temperature can be achieved, thereby ensuring the normal operation of the engine.
[0012] In an optional implementation, predicting the predicted exhaust temperature before the engine performs a catalytic reaction at the next moment based on the current operating parameters and the current environmental information includes:
[0013] Input the current working parameters and current environmental information into the preset pre-catalyst exhaust model;
[0014] Based on the preset pre-catalyst exhaust model, feature extraction is performed on the current working parameters and current environmental information to obtain the input features at the current moment;
[0015] According to the input characteristics at the current moment, the pre-catalyst exhaust model outputs the predicted pre-catalyst exhaust temperature.
[0016] The engine control method provided in the embodiment of the present application inputs the current working parameters and the current environmental information into the preset pre-catalyst exhaust model, extracts the features of the current working parameters and the current environmental information based on the preset pre-catalyst exhaust model, and outputs the input features at the current moment, thereby ensuring the accuracy of the output input features at the current moment. Based on the input features at the current moment, the preset pre-catalyst exhaust model outputs the predicted pre-catalyst exhaust temperature, thereby ensuring the accuracy of the output predicted pre-catalyst exhaust temperature.
[0017] In an optional implementation, the preset pre-catalyst exhaust model is a preset long short-term memory neural network model. According to the input features at the current moment, the preset pre-catalyst exhaust model outputs a predicted pre-catalyst exhaust temperature, including:
[0018] Get the hidden layer output features of the previous moment corresponding to the current moment;
[0019] Calculate the current hidden layer output features based on the current input features and the previous hidden layer output features;
[0020] Based on the hidden layer output characteristics at the current moment, the preset long short-term memory neural network model output predicts the exhaust temperature before catalyst.
[0021] The engine control method provided in the embodiment of the present application obtains the hidden layer output features at the previous moment corresponding to the current moment; calculates the hidden layer output features at the current moment based on the input features at the current moment and the hidden layer output features at the previous moment; and presets a long short-term memory neural network model to output a predicted exhaust temperature before ignition based on the hidden layer output features at the current moment, thereby ensuring the accuracy of the output predicted exhaust temperature before ignition.
[0022] In an optional embodiment, the preset temperature condition is a preset exhaust temperature range, and detecting and predicting whether the exhaust temperature before catalysis satisfies the preset temperature condition of the catalytic reaction includes:
[0023] Obtaining a preset exhaust temperature range corresponding to the engine;
[0024] Compare the predicted exhaust temperature before catalysis with the maximum temperature value and the minimum temperature value in the preset exhaust temperature range;
[0025] Based on the comparison results, it is detected whether the predicted exhaust temperature before catalysis meets the preset temperature condition of the catalytic reaction.
[0026] The engine control method provided in the embodiment of the present application obtains a preset exhaust temperature range corresponding to the engine; compares the predicted pre-catalyst exhaust temperature with the maximum temperature value and the minimum temperature value in the preset exhaust temperature range; and based on the comparison result, detects whether the predicted pre-catalyst exhaust temperature meets the preset temperature condition of the catalytic reaction, thereby ensuring the accuracy of the result of detecting whether the predicted pre-catalyst exhaust temperature meets the preset temperature condition of the catalytic reaction.
[0027] In an optional implementation, adjusting the current operating parameters of the engine according to the detection result includes:
[0028] If the predicted exhaust temperature before catalysis is greater than the maximum temperature value in the preset exhaust temperature range, the current torque of the engine is reduced and a first prompt message is output;
[0029] If the predicted exhaust gas temperature before ignition is lower than the minimum temperature value in the preset exhaust gas temperature range, the current ignition angle of the engine is postponed and a second prompt message is output;
[0030] If the predicted exhaust gas temperature before ignition is within the preset exhaust gas temperature range, it is prohibited to adjust the current operating parameters of the engine.
[0031] The engine control method provided in the embodiment of the present application reduces the current torque of the engine and outputs a first prompt message if the predicted pre-catalyst exhaust temperature is greater than the maximum temperature value in the preset exhaust temperature range, thereby reducing the current power of the engine and further reducing the predicted pre-catalyst exhaust temperature of the engine. If the predicted pre-catalyst exhaust temperature is less than the minimum temperature value in the preset exhaust temperature range, the current ignition angle of the engine is postponed and a second prompt message is output, thereby increasing the predicted pre-catalyst exhaust temperature and making the combustion more complete, thereby improving the utilization rate of the fuel. If the predicted pre-catalyst exhaust temperature is within the preset exhaust temperature range, it is prohibited to adjust the current operating parameters of the engine, thereby ensuring the normal operation of the engine.
[0032] In an optional embodiment, the method further includes:
[0033] Based on the current working parameters, the current environmental information and the predicted exhaust temperature before catalysis, the predicted exhaust temperature after catalysis of the engine is predicted;
[0034] Detect engine failure based on the predicted exhaust temperature after the engine is ignited.
[0035] The engine control method provided in the embodiment of the present application predicts the predicted exhaust temperature after catalysis after the engine performs a catalytic reaction based on the current working parameters, the current environmental information and the predicted exhaust temperature before catalysis, thereby ensuring the accuracy of the predicted exhaust temperature after catalysis after the engine performs a catalytic reaction. Based on the predicted exhaust temperature after catalysis, it is detected whether the engine fails, thereby ensuring the accuracy of the obtained detection result.
[0036] In an optional implementation, detecting whether an engine failure occurs based on the predicted exhaust gas temperature after catalytic conversion includes:
[0037] Obtain the current exhaust temperature after the catalytic converter collected by the temperature sensor; wherein the temperature sensor is installed after the three-way catalytic converter of the engine;
[0038] Calculate the temperature difference between the predicted exhaust gas temperature after catalysis and the current exhaust gas temperature after catalysis;
[0039] Compare the temperature difference with a preset difference range;
[0040] If the temperature difference is within the preset difference range, it is determined that the engine has not failed;
[0041] If the temperature difference exceeds the preset difference range, it is determined that the engine has failed and an alarm message is output.
[0042] The engine control method provided in the embodiment of the present application obtains the current exhaust temperature after the catalytic converter collected by the temperature sensor, thereby ensuring the accuracy of the current exhaust temperature after the catalytic converter. The temperature difference between the predicted exhaust temperature after the catalytic converter and the current exhaust temperature after the catalytic converter is calculated, thereby ensuring the accuracy of the temperature difference between the predicted exhaust temperature after the catalytic converter and the current exhaust temperature after the catalytic converter. The temperature difference is compared with a preset difference range; if the temperature difference is within the preset difference range, it is determined that the engine has not failed; if the temperature difference exceeds the preset difference range, it is determined that the engine has failed, and an alarm message is output, thereby ensuring the accuracy of the result of determining whether the engine has failed.
[0043] In a second aspect, the present invention provides an engine control device, the device comprising:
[0044] An acquisition module is used to obtain the current working parameters of the engine and the current environmental information;
[0045] The first prediction module is used to predict the exhaust temperature before the engine performs a catalytic reaction at the next moment based on the current working parameters and the current environmental information;
[0046] The first detection module is used to detect whether the predicted exhaust temperature before catalysis meets the preset temperature condition of the catalytic reaction;
[0047] The adjustment module is used to adjust the current operating parameters of the engine according to the detection results.
[0048] The engine control device provided in the embodiment of the present application obtains the current operating parameters and current environmental information of the engine; based on the current operating parameters and current environmental information, the predicted pre-catalyst exhaust temperature before the engine performs a catalytic reaction at the next moment is predicted, thereby ensuring the accuracy of the predicted pre-catalyst exhaust temperature before the engine performs a catalytic reaction at the next moment, and there is no need to install a temperature sensor in front of the engine's three-way catalytic converter, thereby reducing costs. Detecting whether the predicted pre-catalyst exhaust temperature meets the preset temperature conditions of the catalytic reaction ensures the accuracy of the obtained test results. According to the test results, the current operating parameters of the engine are adjusted, thereby realizing timely monitoring of the predicted pre-catalyst exhaust temperature of the engine, and timely adjustment of the current operating parameters of the engine based on the predicted pre-catalyst exhaust temperature can be achieved, thereby ensuring the normal operation of the engine.
[0049] In a third aspect, the present invention provides an electronic device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the engine control method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0050] In a fourth aspect, the present invention provides an intelligent vehicle, comprising: an electronic device, an engine and a vehicle body, wherein the electronic device is connected to the engine, and a temperature sensor is installed behind the three-way catalytic converter of the engine; the electronic device is used to execute the engine control method of the first aspect or any corresponding embodiment thereof.
[0051] In a fifth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the engine control method of the first aspect or any corresponding embodiment thereof.
[0052] In a sixth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the engine control method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0054] Figure 1 is a schematic diagram of an engine structure in a related art according to an embodiment of the present invention;
[0055] Figure 2 is a flow chart of a first engine control method according to an embodiment of the present invention;
[0056] Figure 3 is a flow chart of a second engine control method according to an embodiment of the present invention;
[0057] Figure 4 is a schematic structural diagram of a preset pre-catalyst exhaust model according to an embodiment of the present invention;
[0058] Figure 5 is a flow chart of a third engine control method according to an embodiment of the present invention;
[0059] Figure 6 is a flow chart of a fourth engine control method according to an embodiment of the present invention;
[0060] Figure 7 is a structural block diagram of an engine control device according to an embodiment of the present invention;
[0061] Figure 8 is a structural block diagram of another engine control device according to an embodiment of the present invention;
[0062] Fig. 9 It is a schematic diagram of the hardware structure of the electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0063] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0064] According to the theory, controlling the exhaust temperature of the engine before the catalytic reaction within a certain range is an important guarantee for achieving efficient, reliable, environmentally friendly and energy-saving operation of the engine. Figure 1 As shown, the air is compressed by the supercharger and then cooled by the intercooler. The amount of air entering is adjusted by the throttle valve, and the fresh gas enters the cylinder for combustion and is discharged from the engine through the turbocharger bypass valve. After the combustion exhaust gas is discharged from the engine, in order to meet the environmental protection requirements, the exhaust gas needs to be treated by a three-way catalytic converter, and the gas that meets the regulatory emission requirements is generated after the oxidation-reduction reaction of the three-way catalytic converter. Since the three-way catalytic converter needs to work under certain temperature conditions, a three-way catalytic converter front temperature sensor is installed in front of the three-way catalytic converter to detect the exhaust temperature before the three-way catalytic converter is carried out. A three-way catalytic converter rear temperature sensor is installed after the three-way catalytic converter to detect the exhaust temperature after the three-way catalytic converter is carried out. In the current technology, the driver can control the engine according to the exhaust temperature of the engine before the catalytic reaction obtained by the temperature sensor.
[0065] However, with current technology, the driver may not pay attention to the exhaust temperature before the engine undergoes a catalytic reaction in time, and thus may not be able to adjust the engine's operating parameters in time according to the exhaust temperature before the engine undergoes a catalytic reaction, which may cause the engine to be in an abnormal operating state or even cause engine damage.
[0066] Therefore, how to ensure the normal operation of the engine has become an urgent problem to be solved.
[0067] Based on this, the embodiment of the present application provides an engine control method. It should be noted that the execution subject of the engine control method provided in the embodiment of the present application can be an engine control device, and the engine control device can be implemented as part or all of an electronic device through software, hardware, or a combination of software and hardware, wherein the electronic device can be a control terminal in an intelligent vehicle. In the following method embodiments, the execution subject is an electronic device as an example for explanation.
[0068] According to an embodiment of the present invention, an engine control method embodiment is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0069] In this embodiment, an engine control method is provided, which can be used in the above-mentioned electronic device. Figure 2 is a flow chart of an engine control method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0070] Step S101, obtaining current operating parameters and current environmental information of the engine.
[0071] Specifically, the electronic device can obtain the current operating parameters of the engine based on the communication connection with the engine, and obtain the current environmental information of the engine based on the environmental information sensor installed in the engine.
[0072] The current operating parameters of the engine may include at least one of the current engine speed, the current air-fuel ratio of the engine, the current torque of the engine, the current ignition angle of the engine, the current intake temperature of the engine, the current exhaust flow rate of the engine, etc.
[0073] The current environment information may include the current water temperature in the engine, the current environment pressure corresponding to the engine, and the current environment temperature corresponding to the engine.
[0074] The above-mentioned current working parameters and current environmental information are closely related to the pre-catalytic exhaust temperature before the engine performs a catalytic reaction at the next moment. Therefore, by predicting the pre-catalytic exhaust temperature through the above-mentioned current working parameters, the accuracy of the predicted pre-catalytic exhaust temperature can be guaranteed.
[0075] Optionally, the electronic device may also obtain the current vehicle speed corresponding to the engine, and the electronic device may reflect the working status of the engine from the side through the current vehicle speed.
[0076] Step S102, predicting the exhaust temperature before the engine performs a catalytic reaction at the next moment based on the current operating parameters and the current environmental information.
[0077] Specifically, the electronic device can transmit the current operating parameters and current environmental information corresponding to the engine to a preset pre-catalyst exhaust model. Then, the preset pre-catalyst exhaust model can extract features of the current operating parameters and current environmental information corresponding to the engine, and predict the predicted pre-catalyst exhaust temperature before the engine performs a catalytic reaction at the next moment based on the extracted features.
[0078] Among them, the embodiment of the present application does not specifically limit the preset pre-catalyst exhaust model. The preset pre-catalyst exhaust model can be based on a gated recursive neural network, a least squares support vector machine, or other neural networks.
[0079] This step will be described in detail below.
[0080] Step S103, detecting whether the predicted exhaust temperature before catalysis satisfies the preset temperature condition of the catalytic reaction.
[0081] Optionally, the preset temperature condition may be a preset temperature threshold or a preset exhaust temperature range. The embodiment of the present application does not specifically limit the preset temperature condition.
[0082] Specifically, the electronic device may compare the predicted pre-catalyst exhaust temperature with a preset temperature threshold, thereby detecting whether the predicted pre-catalyst exhaust temperature meets the preset temperature condition of the catalytic reaction.
[0083] This step will be described in detail below.
[0084] Step S104: adjusting the current operating parameters of the engine according to the detection result.
[0085] Specifically, the electronic device can adjust the current operating parameters of the engine based on the comparison result between the predicted exhaust temperature before ignition and the preset temperature threshold.
[0086] This step will be described in detail below.
[0087] The engine control method provided in the embodiment of the present application obtains the current operating parameters and current environmental information of the engine; the current operating parameters and current environmental information are closely related to the pre-catalyst exhaust temperature before the engine performs a catalytic reaction at the next moment. The predicted pre-catalyst exhaust temperature before the engine performs a catalytic reaction at the next moment is predicted based on the current operating parameters and current environmental information, thereby ensuring the accuracy of the predicted pre-catalyst exhaust temperature before the engine performs a catalytic reaction at the next moment, and there is no need to install a temperature sensor in front of the engine's three-way catalytic converter, thereby reducing costs. Detecting whether the predicted pre-catalyst exhaust temperature meets the preset temperature conditions of the catalytic reaction ensures the accuracy of the test results obtained. According to the test results, the current operating parameters of the engine are adjusted, thereby realizing timely monitoring of the predicted pre-catalyst exhaust temperature of the engine, and timely adjustment of the current operating parameters of the engine based on the predicted pre-catalyst exhaust temperature can be achieved, thereby ensuring the normal operation of the engine.
[0088] In this embodiment, an engine control method is provided, which can be used in the above-mentioned electronic device. Figure 3 is a flow chart of an engine control method according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:
[0089] Step S201, obtaining current operating parameters and current environmental information of the engine.
[0090] For more information about this step, see Figure 2 The introduction of step S101 is not repeated here.
[0091] Step S202, predicting the exhaust temperature before the engine performs a catalytic reaction at the next moment based on the current operating parameters and the current environmental information.
[0092] Specifically, the above step S202 may include the following steps:
[0093] Step S2021, inputting the current working parameters and the current environmental information into the preset pre-catalyst exhaust model.
[0094] Specifically, the electronic device may receive a preset pre-catalyst exhaust model input by a user, or may receive a preset pre-catalyst exhaust model sent by other devices. The electronic device may also receive a preset pre-catalyst exhaust model trained based on the first training data set.
[0095] The embodiment of the present application does not specifically limit the manner in which the electronic device obtains the preset pre-exhaust model.
[0096] Exemplarily, the preset pre-catalyst exhaust model may be sent to the electronic device by the cloud server after being trained on the cloud server.
[0097] Among them, the training process of the preset pre-catalyst exhaust model can be as follows: the electronic device can obtain the working parameters of the test team's vehicle in all road conditions during normal driving in the development stage, and generate a first training data set. The first training data set is used to train the preset pre-catalyst exhaust model. Among them, the first training data set includes the historical speed of the engine corresponding to each historical moment, the historical air-fuel ratio of the engine, the historical torque of the engine, the historical ignition angle of the engine, the historical intake temperature of the engine, the historical exhaust flow rate of the engine, the historical water temperature in the engine, the historical ambient pressure corresponding to the engine, the historical pre-ambient temperature corresponding to the engine, and the historical pre-catalyst exhaust temperature corresponding to the engine. Among them, the historical pre-catalyst exhaust temperature of the engine is a label.
[0098] The electronic device transmits the collected first training data set to the cloud server. The cloud server classifies the first training data set into a first prediction set and a first training data set, and trains the initial pre-catalyst exhaust model based on the first prediction set and the first training data set to obtain a trained preset pre-catalyst exhaust model.
[0099] Then, the cloud server transmits the trained preset pre-catalyst exhaust model to the electronic device, so that the electronic device predicts the predicted pre-catalyst exhaust temperature before the engine performs a catalytic reaction at the next moment based on the preset pre-catalyst exhaust model.
[0100] Specifically, after obtaining the preset pre-catalyst exhaust model, the electronic device may input the obtained current working parameters and current environmental information into the preset pre-catalyst exhaust model.
[0101] Step S2022: extract features of current working parameters and current environmental information based on a preset pre-catalyst exhaust model to obtain input features at the current moment.
[0102] Specifically, the electronic device can extract features of current working parameters and current environmental information based on a preset pre-catalyst exhaust model to generate input features at the current moment.
[0103] Among them, the current working parameters and the current environmental information may be the working parameters and environmental information corresponding to the current moment. For example, assuming that the current moment is t0, the current working parameters and the current environmental information are the working parameters and environmental information corresponding to the moment t0.
[0104] Optionally, the current working parameters and the current environment information may also be the working parameters and environment information corresponding to the current moment and a preset number of historical moments before the current moment, wherein the preset number may be 3 or 2. For example, assuming that the preset number is 2 and the current moment is t0, the current working parameters and the current environment information may be the working parameters and environment information corresponding to the historical moments at t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25 -1Time and t -2 The working parameters and environmental information corresponding to the moment can be used to enable the preset pre-catalyst exhaust model to learn the working parameters and environmental information of historical moments, thereby ensuring the accuracy of the input features at the current moment.
[0105] Step S2023, based on the input characteristics at the current moment, the pre-catalyst exhaust model outputs a predicted pre-catalyst exhaust temperature.
[0106] Specifically, the preset pre-catalyst exhaust model is a preset long short-term memory neural network model, and the above step S2023 may include the following steps:
[0107] Step a1, obtain the hidden layer output features of the previous moment corresponding to the current moment.
[0108] Among them, the hidden layer output features at the previous moment are generated based on the historical working parameters and historical environment information corresponding to the previous moment.
[0109] Specifically, the preset pre-catalyst exhaust model can obtain the hidden layer output features of the previous moment corresponding to the current moment.
[0110] Step a2, based on the input features at the current moment and the hidden layer output features at the previous moment, calculate the hidden layer output features at the current moment.
[0111] Specifically, the preset pre-promotion exhaust model can calculate the input gate feature and the forget gate feature in the preset pre-promotion exhaust model based on the input feature at the current moment and the hidden layer output feature at the previous moment.
[0112] Then, the preset pre-exhaust model calculates the hidden layer output features at the current moment based on the input gate features and the forget gate features.
[0113] Step a3, based on the hidden layer output features at the current moment, the long short-term memory neural network model output is preset to predict the exhaust temperature before catalysis.
[0114] Specifically, the electronic device outputs the calculated hidden layer output features at the current moment as the predicted exhaust temperature before catalysis.
[0115] For example, Figure 4 The figure shows a schematic diagram of the structure of the preset pre-catalyst exhaust model. The preset pre-catalyst exhaust model in the electronic device is a long short-term memory neural network model. Among them, the long short-term memory neural network model can use the common features and knowledge learned on large-scale data, so that it can often achieve better performance on specific tasks. The structure of the long short-term memory neural network model enables it to better capture the long-term dependencies in the working parameters and environmental information, which is very useful for tasks that need to consider historical information.
[0116] The process of calculating the hidden layer output feature at the current moment can be as follows: First, use the hidden layer output feature h at the previous moment t-1 With the current input feature x t Find the values of the input gate, forget gate, and output gate. The input gate consists of two parts. The first part is to convert the hidden layer output feature h t-1 and the current input feature X t The input is used to update the information in the Sigmoid function. The output close to 0 means that more information is forgotten, and the output close to 1 means that more information is retained. The second part is to update the hidden layer output feature h at the previous moment. t--1 and the current input feature X t Input to the Tanh function to create the current state information.
[0117] Then, combined with the forget gate f t Input Gate i t And the cell state C at the previous moment t-1 Update the current cell state C t Finally, combined with the cell state C t and output gate o t Update t And output to the next moment.
[0118] The specific calculation formula is as follows:
[0119] i t =σ(W i [x t ,h t-1 ]+b i ) (1)
[0120] g t =tanh(W g [x t ,h t-1 ]+b g ) (2)
[0121] f t =σ(W f [x t ,h t-1 ]+b f ) (3)
[0122] c t =f t *C t-1 +i t *g t ) (4)
[0123] o t =σ(W o [xt ,h t-1 ]+b o ) (5)
[0124] h t =o t *tanh (c t ) (6)
[0125] Among them, X t represents the input feature at the current moment, h t-1 represents the output feature of the hidden layer at the previous moment, h t represents the hidden layer output feature at the current moment, C t-1 Indicates the cell state at the last moment, C t represents the cell state at the current moment, f t represents the forget gate, i t represents the input gate, o t represents the output gate, g t represents the transition gate, σ() is the sigmoid activation function; W i is the weight matrix of the input gate; W f is the weight matrix of the forget gate; W o is the weight matrix of the output gate; b i is the bias of the input gate; b g , is the bias of the transition gate; b f is the bias of the forget gate; b o is the bias of the output gate.
[0126] In an optional embodiment of the present application, the preset pre-catalyst exhaust model uses five layers of LSTM, one fully connected layer, and one output layer. Each LSTM layer contains 12 units, and the fully connected layer also contains 12 units, thereby improving the expressiveness of the preset pre-catalyst exhaust model, thereby being able to capture more complex features and patterns.
[0127] Step S203, detecting whether the predicted exhaust temperature before catalysis satisfies the preset temperature condition of the catalytic reaction.
[0128] For more information about this step, see Figure 2 The introduction of step S103 is not repeated here.
[0129] Step S204: adjusting the current operating parameters of the engine according to the detection result.
[0130] For more information about this step, see Figure 2 The introduction of step S104 is not repeated here.
[0131] The engine control method provided in the embodiment of the present application inputs the current working parameters and the current environmental information into the preset exhaust model before catalysis, extracts the features of the current working parameters and the current environmental information based on the preset exhaust model before catalysis, and outputs the input features at the current moment, thereby ensuring the accuracy of the output input features at the current moment. Obtain the output features of the hidden layer at the previous moment corresponding to the current moment; calculate the output features of the hidden layer at the current moment based on the input features at the current moment and the output features of the hidden layer at the previous moment; and based on the output features of the hidden layer at the current moment, the preset long short-term memory neural network model outputs the predicted exhaust temperature before catalysis, thereby ensuring the accuracy of the output predicted exhaust temperature before catalysis.
[0132] In this embodiment, an engine control method is provided, which can be used in the above-mentioned electronic device. Figure 5 is a flow chart of an engine control method according to an embodiment of the present invention. Figure 5 As shown, the process includes the following steps:
[0133] Step S301, obtaining the current operating parameters and current environmental information of the engine.
[0134] For more information about this step, see Figure 3 The introduction of step S201 is not repeated here.
[0135] Step S302, predicting the exhaust temperature before the engine performs a catalytic reaction at the next moment based on the current operating parameters and the current environmental information.
[0136] For more information about this step, see Figure 3 The introduction of step S202 is not repeated here.
[0137] Step S303, detecting whether the predicted exhaust temperature before catalysis satisfies the preset temperature condition of the catalytic reaction.
[0138] Specifically, the preset temperature condition is a preset exhaust temperature range, and the above step S303 may include the following steps:
[0139] Step S3031, obtaining a preset exhaust temperature range corresponding to the engine.
[0140] Specifically, the electronic device can receive a preset exhaust temperature range input by a user, or a preset exhaust temperature range sent by other devices, and can also search for a preset exhaust temperature range corresponding to the engine in a storage space according to the engine model or other attribute information.
[0141] The embodiment of the present application does not specifically limit the manner in which the electronic device obtains the preset exhaust temperature range corresponding to the engine.
[0142] Among them, it should be noted that the preset temperature condition is a preset exhaust temperature range, which can reduce the number of times the current operating parameters of the engine are adjusted while ensuring the normal operation of the engine. In addition, the preset exhaust temperature range is more in line with the actual pre-catalyst exhaust temperature changes of the engine.
[0143] Exemplarily, the preset exhaust temperature range may be 200°C-950°C, or 260°C-920°C, or other temperature ranges. The embodiment of the present application does not specifically limit the preset exhaust temperature range.
[0144] Step S3032, comparing the predicted exhaust temperature before catalysis with the maximum temperature value and the minimum temperature value in the preset exhaust temperature range.
[0145] Specifically, the electronic device may compare the predicted exhaust temperature before catalysis with a maximum temperature value and a minimum temperature value in a preset exhaust temperature range.
[0146] Step S3033, based on the comparison result, detecting whether the predicted exhaust temperature before catalysis meets the preset temperature condition of the catalytic reaction.
[0147] Specifically, the electronic device can detect and predict whether the exhaust temperature before catalysis meets the preset temperature condition of the catalytic reaction based on the comparison result.
[0148] Step S304: adjusting the current operating parameters of the engine according to the detection result.
[0149] Specifically, the above step S304 may include the following steps:
[0150] Step S3041: If the predicted exhaust temperature before ignition is greater than the maximum temperature value in the preset exhaust temperature range, the current torque of the engine is reduced and a first prompt message is output.
[0151] Specifically, if the predicted exhaust temperature before catalysis is greater than the maximum temperature value in the preset exhaust temperature range, the electronic device can reduce the current torque of the engine, thereby reducing the power of the engine, and further reducing the predicted exhaust temperature before catalysis of the engine. In addition, the electronic device can also output a first prompt information based on the output component, thereby prompting the user that the predicted exhaust temperature before catalysis is greater than the maximum temperature value in the preset exhaust temperature range.
[0152] Then, the electronic device predicts the exhaust temperature before catalysis again based on the reduced engine torque and other current operating parameters of the engine and current environmental information until the predicted exhaust temperature before catalysis is within the preset exhaust temperature range.
[0153] Step S3042: If the predicted exhaust temperature before ignition is lower than the minimum temperature value in the preset exhaust temperature range, the current ignition angle of the engine is postponed and a second prompt message is output.
[0154] Specifically, if the predicted pre-catalytic exhaust temperature is lower than the minimum temperature value in the preset exhaust temperature range, the engine delays the current ignition angle of the engine, thereby increasing the predicted pre-catalytic exhaust temperature of the engine, and outputs a second prompt message based on the output component, thereby indicating that the predicted pre-catalytic exhaust temperature is lower than the minimum temperature value in the preset exhaust temperature range.
[0155] Then, the electronic device predicts the pre-ignition exhaust temperature again based on the delayed ignition angle and other current operating parameters of the engine and current environmental information until the predicted pre-ignition exhaust temperature is within a preset exhaust temperature range.
[0156] Step S3043: If the predicted exhaust temperature before ignition is within the preset exhaust temperature range, it is prohibited to adjust the current operating parameters of the engine.
[0157] Specifically, if the predicted exhaust temperature before catalysis is within a preset exhaust temperature range, the electronic device determines that the predicted exhaust temperature before catalysis satisfies the preset temperature condition of the catalytic reaction and prohibits adjusting the current operating parameters of the engine.
[0158] The engine control method provided in the embodiment of the present application obtains a preset exhaust temperature range corresponding to the engine; compares the predicted exhaust temperature before catalysis with the maximum temperature value and the minimum temperature value in the preset exhaust temperature range; based on the comparison result, detects whether the predicted exhaust temperature before catalysis meets the preset temperature condition of the catalytic reaction, thereby ensuring the accuracy of the result of detecting whether the predicted exhaust temperature before catalysis meets the preset temperature condition of the catalytic reaction. The engine control method provided in the embodiment of the present application obtains a preset exhaust temperature range corresponding to the engine; compares the predicted exhaust temperature before catalysis with the maximum temperature value and the minimum temperature value in the preset exhaust temperature range; based on the comparison result, detects whether the predicted exhaust temperature before catalysis meets the preset temperature condition of the catalytic reaction, thereby ensuring the accuracy of the result of detecting whether the predicted exhaust temperature before catalysis meets the preset temperature condition of the catalytic reaction.
[0159] In this embodiment, an engine control method is provided, which can be used in the above-mentioned electronic device. Figure 6 is a flow chart of an engine control method according to an embodiment of the present invention. Figure 6 As shown, the process includes the following steps:
[0160] Step S401, obtaining the current operating parameters and current environmental information of the engine.
[0161] For more information about this step, see Figure 5The introduction of step S301 is not repeated here.
[0162] Step S402, predicting the exhaust gas temperature before the engine performs a catalytic reaction at the next moment based on the current operating parameters and the current environmental information.
[0163] For more information about this step, see Figure 5 The introduction of step S302 is not repeated here.
[0164] Step S403, detecting whether the predicted exhaust temperature before catalysis satisfies a preset temperature condition of the catalytic reaction.
[0165] For more information about this step, see Figure 5 The introduction of step S303 is not repeated here.
[0166] Step S404: adjusting the current operating parameters of the engine according to the detection result.
[0167] For more information about this step, see Figure 5 The introduction of step S304 is not repeated here.
[0168] Step S405, predicting the predicted exhaust temperature after catalysis of the engine after the catalytic reaction based on the current working parameters, current environmental information and the predicted exhaust temperature before catalysis.
[0169] Specifically, the electronic device can input the current operating parameters, current environmental information and predicted pre-catalyst exhaust temperature into a preset post-catalyst exhaust temperature model. Then, the preset post-catalyst exhaust temperature model can extract features of the current operating parameters, current environmental information and predicted pre-catalyst exhaust temperature corresponding to the engine, and predict the predicted post-catalyst exhaust temperature of the engine after the catalytic reaction based on the extracted features.
[0170] Among them, the preset post-catalyst exhaust temperature model can be a post-catalyst exhaust temperature model based on a gated recursive neural network, or a post-catalyst exhaust temperature model based on a least squares support vector machine, or a post-catalyst exhaust temperature model based on a preset pre-catalyst exhaust model, or a pre-catalyst exhaust temperature model based on other neural networks. The embodiment of the present application does not specifically limit the preset post-catalyst exhaust temperature model.
[0171] Exemplarily, the preset post-catalyst exhaust temperature model is a post-catalyst exhaust temperature model based on a preset pre-catalyst exhaust model. The process of the electronic device predicting the predicted post-catalyst exhaust temperature of the engine after the catalytic reaction based on the preset post-catalyst exhaust temperature model can be referred to the process of the electronic device predicting the predicted pre-catalyst exhaust temperature before the engine performs a catalytic reaction at the next moment based on the preset pre-catalyst exhaust model, which will not be elaborated here.
[0172] Among them, the training process of the preset exhaust temperature model after catalysis can be as follows: the electronic device can obtain the working parameters of the test team's vehicle in all road conditions during normal driving during the development stage, and generate a second training data set. The second training data set is used to train the preset exhaust temperature model after catalysis. Among them, the second training data set includes the historical speed of the engine corresponding to each historical moment, the historical air-fuel ratio of the engine, the historical torque of the engine, the historical ignition angle of the engine, the historical intake temperature of the engine, the historical exhaust flow rate of the engine, the historical water temperature in the engine, the historical ambient pressure corresponding to the engine, the historical ambient temperature corresponding to the engine, the historical exhaust temperature before catalysis of the engine, and the historical exhaust temperature after catalysis of the engine. Among them, the historical exhaust temperature after catalysis of the engine is a label.
[0173] Then, the electronic device transmits the collected second training data set to the cloud server. The second training data set is classified on the cloud server into a second prediction set and a second training data set, and the initial long short-term memory neural network algorithm (LSTM) is trained based on the second prediction set and the second training data set to obtain a preset post-catalyst exhaust temperature model. Among them, it should be noted that the long short-term memory neural network algorithm can utilize the common features and knowledge learned on large-scale data, so that it can often achieve better performance on specific tasks. The structure of the long short-term memory neural network algorithm enables it to better capture the long-term dependencies in the working parameters and environmental information, which is very useful for tasks that need to consider historical information. Therefore, the embodiment of the present application trains the initial long short-term memory neural network algorithm to obtain a preset post-catalyst exhaust temperature model, which can ensure the accuracy of the preset post-catalyst exhaust temperature model.
[0174] Then, the cloud server transmits the trained preset post-catalyst exhaust temperature model to the electronic device, so that the electronic device predicts the predicted post-catalyst exhaust temperature of the engine after the catalytic reaction at the next moment based on the preset post-catalyst exhaust temperature model.
[0175] Step S406, based on the predicted exhaust temperature after catalytic conversion, detect whether the engine fails.
[0176] Specifically, in the above step S406, Figure 6 As shown, the following steps may be included:
[0177] Step S4061, obtaining the current exhaust gas temperature collected by the temperature sensor.
[0178] Among them, the temperature sensor is installed behind the engine's three-way catalytic converter.
[0179] Specifically, the electronic device can obtain the current post-catalyst exhaust temperature based on the communication connection with the temperature sensor installed after the three-way catalytic converter of the engine.
[0180] Step S4062, calculating the temperature difference between the predicted exhaust temperature after catalysis and the current exhaust temperature after catalysis.
[0181] Specifically, the electronic device may calculate a temperature difference between the predicted post-catalyst exhaust temperature and the current post-catalyst exhaust temperature.
[0182] Step S4063, comparing the temperature difference with a preset difference range.
[0183] Optionally, the electronic device may receive a preset difference range set by a user, or may receive a preset difference range sent by other devices.
[0184] Optionally, the electronic device can also determine the current working condition of the engine according to the current working parameters of the engine, and determine the engine material according to the engine model. Then, according to the current working condition of the engine and the material of the engine, a preset difference range is set.
[0185] The embodiment of the present application does not specifically limit the manner in which the electronic device obtains the preset difference range.
[0186] The preset difference range may be -40°C to 40°C, or -50°C to 50°C. The embodiment of the present application does not specifically limit the preset difference range.
[0187] The electronic device then compares the temperature difference with a preset difference range.
[0188] Step S4064: If the temperature difference is within the preset difference range, it is determined that the engine is not faulty.
[0189] Specifically, if the temperature difference is within a preset difference range, it is determined that the engine has not failed.
[0190] Step S4065: If the temperature difference exceeds the preset difference range, it is determined that the engine fails and an alarm message is output.
[0191] Specifically, if the temperature difference exceeds a preset difference range, it is determined that the engine has failed and an alarm message is output.
[0192] Among them, it should be noted that the determination of engine failure may be due to a failure of the temperature sensor installed behind the three-way catalytic converter of the engine, or an engine system failure causing abnormal exhaust temperature.
[0193] The engine control method provided in the embodiment of the present application predicts the predicted post-catalyst exhaust temperature of the engine after the catalytic reaction based on the current working parameters, current environmental information and the predicted pre-catalyst exhaust temperature, thereby ensuring the accuracy of the predicted post-catalyst exhaust temperature of the engine after the catalytic reaction. The current post-catalyst exhaust temperature collected by the temperature sensor installed after the three-way catalytic converter of the engine is obtained, thereby ensuring the accuracy of the obtained current post-catalyst exhaust temperature. The temperature difference between the predicted post-catalyst exhaust temperature and the current post-catalyst exhaust temperature is calculated, thereby ensuring the accuracy of the calculated temperature difference between the predicted post-catalyst exhaust temperature and the current post-catalyst exhaust temperature. The temperature difference is compared with a preset difference range; if the temperature difference is within the preset difference range, it is determined that the engine has not failed; if the temperature difference exceeds the preset difference range, it is determined that the engine has failed, and an alarm message is output, thereby ensuring the accuracy of the result of determining whether the engine has failed.
[0194] In this embodiment, an engine control device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0195] This embodiment provides an engine control device, such as Figure 7 As shown, the device comprises:
[0196] The acquisition module 501 is used to acquire the current working parameters and current environmental information of the engine;
[0197] The first prediction module 502 is used to predict the exhaust gas temperature before the engine performs a catalytic reaction at the next moment based on the current working parameters and the current environmental information;
[0198] The first detection module 503 is used to detect whether the predicted exhaust temperature before catalysis meets the preset temperature condition of the catalytic reaction;
[0199] The adjustment module 504 is used to adjust the current operating parameters of the engine according to the detection results.
[0200] In some optional embodiments, the first prediction module 502 is specifically used to input current working parameters and current environmental information into a preset pre-catalyst exhaust model; perform feature extraction on the current working parameters and current environmental information based on the preset pre-catalyst exhaust model to obtain input features at the current moment; based on the input features at the current moment, the preset pre-catalyst exhaust model outputs a predicted pre-catalyst exhaust temperature.
[0201] In some optional embodiments, the preset pre-catalyst exhaust model is a preset long short-term memory neural network model, and the first prediction module 502 is specifically used to obtain the hidden layer output characteristics of the previous moment corresponding to the current moment, wherein the hidden layer output characteristics of the previous moment are generated based on the historical working parameters and historical environmental information corresponding to the previous moment; based on the input characteristics of the current moment and the hidden layer output characteristics of the previous moment, the hidden layer output characteristics of the current moment are calculated; based on the hidden layer output characteristics of the current moment, the preset long short-term memory neural network model outputs the predicted pre-catalyst exhaust temperature.
[0202] In some optional embodiments, the preset temperature condition is a preset exhaust temperature range, and the first detection module 503 is specifically used to obtain the preset exhaust temperature range corresponding to the engine; compare the predicted pre-catalyst exhaust temperature with the maximum temperature value and the minimum temperature value in the preset exhaust temperature range; and based on the comparison result, detect whether the predicted pre-catalyst exhaust temperature meets the preset temperature condition of the catalytic reaction.
[0203] In some optional embodiments, the adjustment module 504 is specifically used to reduce the current torque of the engine and output a first prompt message if the predicted exhaust temperature before ignition is greater than the maximum temperature value in the preset exhaust temperature range; to postpone the current ignition angle of the engine and output a second prompt message if the predicted exhaust temperature before ignition is less than the minimum temperature value in the preset exhaust temperature range; and to prohibit adjustment of the current operating parameters of the engine if the predicted exhaust temperature before ignition is within the preset exhaust temperature range.
[0204] In some optional embodiments, such as Figure 8 As shown, the engine control device may also include:
[0205] The second prediction module 505 is used to predict the predicted exhaust temperature after catalysis after the engine performs the catalytic reaction based on the current working parameters, the current environmental information and the predicted exhaust temperature before catalysis;
[0206] The second detection module 506 is used to detect whether the engine fails based on the predicted exhaust gas temperature after catalytic conversion.
[0207] In some optional embodiments, the second detection module 506 is specifically used to obtain the current post-catalyst exhaust temperature collected by the temperature sensor; wherein the temperature sensor is installed after the three-way catalytic converter of the engine; calculate the temperature difference between the predicted post-catalyst exhaust temperature and the current post-catalyst exhaust temperature; compare the temperature difference with a preset difference range; if the temperature difference is within the preset difference range, it is determined that the engine has not failed; if the temperature difference exceeds the preset difference range, it is determined that the engine has failed, and an alarm message is output.
[0208] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0209] The engine control device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0210] The embodiment of the present invention also provides an electronic device having the above Figure 7 and Figure 8 The engine controls shown.
[0211] See also Fig. 9 , Fig. 9 is a schematic diagram of the structure of an electronic device provided by an optional embodiment of the present invention, such as Fig. 9 As shown, the electronic device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Fig. 9 A processor 10 is taken as an example.
[0212] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0213] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0214] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0215] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0216] The electronic device further comprises a communication interface 30 for the electronic device to communicate with other devices or a communication network.
[0217] The embodiment of the present invention further provides an intelligent vehicle, the intelligent vehicle comprising the above Fig. 9 An electronic device, an engine and a vehicle body, the electronic device is connected to the engine, and a temperature sensor is installed behind the three-way catalytic converter of the engine; the electronic device is used for the engine control method of any one of the implementation modes.
[0218] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0219] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0220] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. An engine control method, characterized in that: The method comprises: Get the current working parameters of the engine and the current environmental information; Predicting a predicted pre-catalytic exhaust temperature of the engine before a catalytic reaction at a next moment based on the current operating parameters and the current environmental information; Detecting whether the predicted pre-catalyst exhaust temperature meets a preset temperature condition of the catalytic reaction; According to the detection result, the current working parameters are adjusted.
2. The method according to claim 1, characterized in that The predicting of the pre-catalytic exhaust temperature of the engine before the catalytic reaction at the next moment based on the current operating parameters and the current environmental information includes: Inputting the current working parameters and the current environmental information into a preset pre-catalyst exhaust model; Based on the preset pre-catalyst exhaust model, feature extraction is performed on the current working parameters and the current environmental information to obtain input features at the current moment; According to the input feature at the current moment, the preset pre-catalyst exhaust model outputs the predicted pre-catalyst exhaust temperature.
3. The method according to claim 2, characterized in that The preset pre-catalyst exhaust model is a preset long short-term memory neural network model. According to the input feature at the current moment, the preset pre-catalyst exhaust model outputs the predicted pre-catalyst exhaust temperature, including: Obtaining the hidden layer output feature at the previous moment corresponding to the current moment; the hidden layer output feature at the previous moment is generated based on the historical working parameters and historical environment information corresponding to the previous moment; Calculate the hidden layer output feature at the current moment based on the input feature at the current moment and the hidden layer output feature at the previous moment; Based on the hidden layer output characteristics at the current moment, the preset long short-term memory neural network model outputs the predicted pre-catalyst exhaust temperature.
4. The method according to claim 1, characterized in that: The preset temperature condition is a preset exhaust temperature range, and the detecting whether the predicted pre-catalyst exhaust temperature satisfies the preset temperature condition of the catalytic reaction includes: Acquire the preset exhaust temperature range corresponding to the engine; Comparing the predicted exhaust gas temperature before catalysis with the maximum temperature value and the minimum temperature value in the preset exhaust gas temperature range; According to the comparison result, it is detected whether the predicted exhaust gas temperature before catalysis satisfies the preset temperature condition of the catalytic reaction.
5. The method according to claim 4, characterized in that The step of adjusting the current operating parameters of the engine according to the detection result includes: If the predicted exhaust temperature before catalysis is greater than the maximum temperature value in the preset exhaust temperature range, reducing the current torque of the engine and outputting a first prompt message; If the predicted exhaust gas temperature before ignition is less than the minimum temperature value in the preset exhaust gas temperature range, delaying the current ignition angle of the engine and outputting a second prompt message; If the predicted exhaust gas temperature before catalysis is within the preset exhaust gas temperature range, it is prohibited to adjust the current operating parameters of the engine.
6. The method according to claim 1, characterized in that The method further comprises: Based on the current operating parameters, the current environmental information and the predicted pre-catalyst exhaust temperature, predict the predicted post-catalyst exhaust temperature of the engine after the catalytic reaction; Based on the predicted post-catalyst exhaust gas temperature, it is detected whether the engine fails.
7. The method according to claim 6, characterized in that The detecting whether the engine fails based on the predicted exhaust gas temperature after catalytic conversion comprises: Acquiring the current exhaust temperature after catalysis collected by a temperature sensor, wherein the temperature sensor is installed after the three-way catalytic converter of the engine; Calculating a temperature difference between the predicted exhaust gas temperature after catalysis and the current exhaust gas temperature after catalysis; Comparing the temperature difference with a preset difference range; If the temperature difference is within the preset difference range, it is determined that the engine has not failed; If the temperature difference exceeds the preset difference range, it is determined that the engine fails and an alarm message is output.
8. An engine control device, characterized in that: The device comprises: An acquisition module is used to obtain the current working parameters of the engine and the current environmental information; A first prediction module, used for predicting the predicted pre-catalytic exhaust temperature of the engine before the catalytic reaction at the next moment based on the current working parameters and the current environmental information; A first detection module, used to detect whether the predicted pre-catalyst exhaust temperature meets the preset temperature condition of the catalytic reaction; The adjustment module is used to adjust the current operating parameters of the engine according to the detection results.
9. An electronic device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the engine control method according to any one of claims 1 to 7 by executing the computer instructions.
10. An intelligent vehicle, characterized in that: include: An electronic device, an engine and a vehicle body, wherein the electronic device is connected to the engine, and a temperature sensor is installed behind the three-way catalytic converter of the engine; the electronic device is used to execute the engine control method described in any one of claims 1 to 7.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the engine control method according to any one of claims 1 to 7.
