Control device
The control device addresses the reliability challenge of vehicle state variables by using a neural network model to approximate state space models and calculate Mahalanobis distances, ensuring accurate powertrain control within the learning range and preventing accuracy deterioration.
Patent Information
- Application Number
- PCT/JP2023/012500
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-28
- Publication Date
- 2024-10-03
AI Technical Summary
Existing powertrain control systems face challenges in evaluating the reliability of vehicle state variables not detected by sensors, particularly when operating outside the learning area of neural network models, which can lead to accuracy deterioration.
A control device that uses a neural network model to approximate a state space model composed of state and observation equations, employing a processor to determine the reliability of vehicle state variables based on control inputs and observed values through the Mahalanobis distance calculation, ensuring accurate estimation within the learning range.
Enables the evaluation and improvement of reliability for calculated vehicle state variables, preventing accuracy deterioration by identifying and managing abnormal sensor inputs and maintaining high estimation accuracy.
Smart Images

Figure JP2023012500_03102024_PF_FP_ABST
Abstract
Description
Control device
[0001] The present invention relates to a control device.
[0002] Tighter exhaust regulations require highly accurate powertrain control, and in order to improve the development efficiency of powertrain control, which was previously composed of MAP control, control development using neural network models is being promoted.Neural network models are mathematical models that mimic the mechanisms of the neural circuits in the human brain.
[0003] Japanese Patent Publication No. 2021-124419
[0004] Control using a neural network model requires learning using training data, and the neural network model operates within the learned domain to ensure the accuracy of the calculation results. However, if the neural network model operates outside the learning domain, there is a risk of accuracy deteriorating. While Patent Document 1 mentioned above determines whether the model can be trained based on the reliability of the training data, Patent Document 1 does not disclose determining the reliability of the calculation results of the trained model.
[0005] An object of the present invention is to provide a control device that can evaluate the reliability of calculated values of vehicle state variables that are not detected by sensors.
[0006] In order to achieve the above object, the control device of the present invention includes a processor that calculates the state variables of a vehicle at a first timing from a state variable of the vehicle at a second timing after the first timing, a control input of the vehicle at a second timing after the first timing, and an observation value at the second timing detected by a sensor of the vehicle, approximates a state space model consisting of a state equation for the state variables and an observation equation for the observation value with a neural network model, and determines the reliability of the state variables at the second timing from an index based on the control input at the second timing and the observation value at the second timing.
[0007] According to the present invention, it is possible to evaluate the reliability of calculated values of vehicle state variables that are not detected by sensors. Objects, configurations, and effects other than those described above will become apparent from the following description of the embodiments.
[0008] FIG. 1 is a schematic diagram of an overall configuration of an internal combustion engine control system according to first and second embodiments of the present invention. FIG. 2 is a block diagram showing an example of the hardware configuration of an ECU according to first and second embodiments of the present invention. FIG. 3 is a diagram showing an example of a neural network model according to a first embodiment of the present invention. FIG. 4 is a flowchart showing an example of an algorithm of an extended Kalman filter according to a first embodiment of the present invention. FIG. 5 is a diagram showing an overview of a Mahalanobis distance according to a first embodiment of the present invention. FIG. 6 is a diagram showing an example of actual behavior of the Mahalanobis distance according to a first embodiment of the present invention. FIG. 7 is a block diagram showing state quantity estimation and Mahalanobis distance calculation according to a first embodiment of the present invention. FIG. 8 is a flowchart showing state quantity estimation and Mahalanobis distance calculation according to a first embodiment of the present invention. FIG. 9 is a schematic diagram showing an example of the configuration of an aftertreatment system according to a second embodiment of the present invention. FIG. 10 is a diagram explaining the relationship between the equivalence ratio of exhaust gas and the output of an air-fuel ratio sensor according to a second embodiment of the present invention. FIG. 11 is a diagram explaining the relationship between the equivalence ratio of exhaust gas and the output of a rear oxygen sensor according to a second embodiment of the present invention. 2 O (water), CO (carbon monoxide), CO 2 (carbon dioxide), H 2 (hydrogen), O 21 is a diagram illustrating a trend of the purification rate of a three-way catalyst versus the equivalence ratio of exhaust gas (CO₂) and nitrogen oxides (NOx) according to a second embodiment of the present invention; FIG. 2 is a diagram illustrating a trend of the equivalence ratio of HC (hydrocarbon) and NOx (nitrogen oxide) according to a second embodiment of the present invention; FIG. 3 is a diagram illustrating a main reaction process of a three-way catalyst (ceria-based) used in an aftertreatment system according to a second embodiment of the present invention; FIG. 4 is a diagram illustrating a trend of the purification rate of a three-way catalyst versus the exhaust gas equivalence ratio at or above the catalyst activation temperature according to a second embodiment of the present invention; FIG. 5 is a diagram illustrating the catalyst upstream equivalence ratio, the catalyst downstream equivalence ratio, and the output behavior of the rear oxygen sensor 22 according to a second embodiment of the present invention; FIG. 6 is a diagram illustrating the hysteresis of the output characteristics of a rear oxygen sensor according to a second embodiment of the present invention; FIG. 7 is a diagram illustrating the change over time in the output of the rear oxygen sensor and the NOx concentration and HC concentration downstream of the catalyst according to a second embodiment of the present invention; FIG. 8 is a diagram illustrating the relationship between the degree of catalyst deterioration and the oxygen storage capacity of a three-way catalyst according to a second embodiment of the present invention; and FIG. 9 is a diagram illustrating the relationship between the oxygen storage ratio of a three-way catalyst according to a second embodiment of the present invention and the NOx purification rate of the three-way catalyst according to a second embodiment of the present invention. 1 is a diagram illustrating a comparison result of a catalyst upstream equivalence ratio, a catalyst downstream equivalence ratio, an oxygen storage rate, and an output behavior of a rear oxygen sensor when a new catalyst and a deteriorated catalyst according to a second embodiment of the present invention are used. FIG. 2 is a block diagram of catalyst temperature estimation and Mahalanobis distance calculation according to a second embodiment of the present invention. FIG. 3 is a flowchart of catalyst temperature estimation and Mahalanobis distance calculation according to a second embodiment of the present invention. FIG. 4 is a diagram illustrating an example of a neural network model according to a second embodiment of the present invention.
[0009] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In this specification and drawings, components having substantially the same functions or configurations are designated by the same reference numerals, and redundant description will be omitted.
[0010] First Embodiment FIG. 1 is a schematic diagram of an internal combustion engine control system 100 .
[0011] The internal combustion engine control system 100 includes an internal combustion engine 1 and an ECU (Electronic Control Unit) 28 attached to the internal combustion engine 1. The ECU 28 is electrically connected to various sensors, actuators, etc. that constitute the internal combustion engine 1, and is an example of an internal combustion engine control device that controls the internal combustion engine 1.
[0012] The internal combustion engine 1 includes a flow sensor 2 (air flow sensor), a turbocharger 3, an air bypass valve 4, an intercooler 5, a boost temperature sensor 6, a throttle valve 7, an intake manifold 8, a boost pressure sensor 9, a flow enhancement valve 10, an intake valve 11, a valve phase sensor 12, an exhaust valve 13, a valve phase sensor 14, a fuel injector 15, a spark plug 16, a knock sensor 17, a crank angle sensor 18, a wastegate valve 19, a catalyst upstream air-fuel ratio sensor 20, an exhaust purification catalyst (three-way catalyst) 21, a rear oxygen sensor (catalyst downstream oxygen sensor) 22, an EGR (Exhaust Gas Recirculation) pipe 23, an EGR cooler 24, an EGR valve 25, an exhaust gas temperature sensor 26, a differential pressure sensor 27, and a catalyst downstream NOx sensor 29. The rear oxygen sensor 22 can be replaced with a catalyst downstream (rear) air-fuel ratio sensor (not shown).
[0013] An intake air temperature sensor (not shown) is attached to a flow rate sensor 2 provided in an intake air flow path of the internal combustion engine 1. The intake air temperature sensor measures the intake air temperature.
[0014] The turbocharger 3 is composed of a compressor 3a having compressor blades facing the intake passage, and a turbine 3b connected to the compressor 3a so as to rotate integrally with the compressor 3a and having turbine blades facing the exhaust passage. The compressor 3a and turbine 3b are rotatably supported within the turbocharger 3. The turbine 3b converts the energy of the exhaust gas from the internal combustion engine 1 into rotational energy. The compressor 3a connected to the turbine 3b compresses the intake air that flows in from the intake passage using the rotational energy of the turbine 3b.
[0015] In the intake air flow path of the internal combustion engine 1, the intercooler 5 is provided downstream of the compressor 3a of the turbocharger 3, and cools the intake air whose temperature has been increased by adiabatic compression by the compressor 3a. The supercharger temperature sensor 6 is mounted downstream of the intercooler 5, and measures the temperature of the intake air cooled by the intercooler 5 (supercharger temperature).
[0016] The throttle valve 7 is provided downstream of the intercooler 5 and restricts the intake flow path to control the amount of intake air flowing into the cylinders of the internal combustion engine 1. The throttle valve 7 is configured as an electronically controlled butterfly valve whose valve opening can be controlled by the ECU 28. Downstream of the throttle valve 7, an intake manifold 8 to which a boost pressure sensor 9 is attached is connected.
[0017] The intake manifold 8 provided downstream of the throttle valve 7 may be integrated with the intercooler 5. In this case, the volume from downstream of the compressor 3a to the cylinder can be reduced, which improves acceleration / deceleration response and controllability.
[0018] The air bypass valve 4 is disposed in the intake bypass passage that connects the upstream and downstream of the compressor 3a in the intake passage to prevent an excessive increase in pressure from downstream of the compressor 3a to the upstream of the throttle valve 7. For example, if the throttle valve 7 is suddenly closed in a supercharging state, the air bypass valve 4 is opened under the control of the ECU 28, causing the compressed intake air downstream of the compressor 3a to flow back through the bypass passage to the upstream of the compressor 3a. As a result, the supercharging pressure is immediately reduced, preventing a phenomenon known as surging and appropriately preventing damage to the compressor 3a.
[0019] The flow enhancement valve 10 is disposed downstream of the intake manifold 8 and enhances the turbulence of the flow inside the cylinder by causing a bias in the intake air drawn into the cylinder. When exhaust gas recirculation combustion, which will be described later, is performed, the ECU 28 can close the flow enhancement valve 10 to promote turbulent combustion and stabilize the combustion that occurs in the combustion chamber.
[0020] The intake valve 11 and the exhaust valve 13 each have a variable valve mechanism for continuously varying the valve opening / closing phase. The variable valve mechanisms of the intake valve 11 and the exhaust valve 13 are each equipped with a valve opening / closing phase sensor 12, 14 for detecting the valve opening / closing phase. Each cylinder of the internal combustion engine 1 is equipped with a direct injection fuel injection valve 15 that injects fuel pressurized by a fuel pump (not shown) into the combustion chamber of the cylinder. The fuel injection valve 15 may be a port injection valve that injects fuel into the intake passage. Alternatively, a plurality of direct injection and port injection fuel injection valves 15 may be used for each cylinder.
[0021] Each cylinder of the internal combustion engine 1 is fitted with an ignition plug 16, which has an electrode exposed inside the cylinder and ignites a combustible mixture with a spark. A knock sensor 17 is provided in the cylinder block and detects the presence or absence of knock by detecting cylinder block vibrations caused by combustion pressure vibrations generated in the combustion chamber. A crank angle sensor 18 is mounted near the crankshaft and outputs a signal corresponding to the rotation angle of the crankshaft to the ECU 28.
[0022] In the exhaust pipe of the internal combustion engine 1, an upstream air-fuel ratio sensor (catalyst upstream air-fuel ratio sensor 20) is disposed downstream of the turbine 3b of the turbocharger 3 and upstream of a three-way catalyst (exhaust purification catalyst 21) having oxygen storage capacity that is provided in the exhaust pipe. The upstream air-fuel ratio sensor (catalyst upstream air-fuel ratio sensor 20) detects the exhaust gas composition, i.e., the catalyst upstream air-fuel ratio of the exhaust gas, and outputs a signal indicating the catalyst upstream air-fuel ratio to the ECU 28. The exhaust purification catalyst 21 is an example of a three-way catalyst and is disposed downstream of the catalyst upstream air-fuel ratio sensor 20. The exhaust purification catalyst 21 purifies harmful exhaust gas components, such as carbon monoxide, nitrogen compounds, and unburned hydrocarbons, in the exhaust gas through catalytic reactions. As described above, a rear oxygen sensor 22 is disposed downstream of the exhaust purification catalyst 21. The rear oxygen sensor 22 detects the amount of oxygen contained in the exhaust gas after purification by the exhaust purification catalyst 21. Hereinafter, the exhaust purification catalyst 21 will also be referred to as a three-way catalyst or a catalyst.
[0023] The turbocharger 3 is equipped with an air bypass valve 4 and a wastegate valve 19. The air bypass valve 4 is disposed in a bypass flow path connecting the upstream and downstream of the compressor 3a to prevent an excessive increase in pressure from the downstream of the compressor 3a to the upstream of the throttle valve 7. If the throttle valve 7 is suddenly closed in a supercharging state, the air bypass valve 4 is opened under the control of the ECU 28, causing compressed intake air downstream of the compressor 3a to flow back through the bypass flow path to the upstream of the compressor 3a. As a result, the supercharging pressure is immediately reduced, preventing a phenomenon known as surging and appropriately preventing damage to the compressor 3a.
[0024] The wastegate valve 19 is disposed in an exhaust bypass passage that connects the upstream and downstream of the turbine 3b in the exhaust passage. The wastegate valve 19 is an electrically operated valve whose valve opening can be freely controlled in accordance with the boost pressure under the control of the ECU 28. When the ECU 28 adjusts the opening of the wastegate valve 19 based on the boost pressure detected by the boost pressure sensor 9, part of the exhaust gas passes through the bypass passage, thereby reducing the energy imparted by the exhaust gas to the turbine 3b. As a result, the wastegate valve 19 can adjust the boost pressure to the target pressure.
[0025] The EGR pipe 23 connects the exhaust flow path downstream of the exhaust purification catalyst 21 with the intake flow path upstream of the compressor 3a, and diverts exhaust gas from downstream of the exhaust purification catalyst 21 and recirculates it upstream of the compressor 3a. An EGR cooler 24 provided in the EGR pipe 23 cools the diverted exhaust gas. An EGR valve 25 is provided in the EGR pipe 23 between the EGR cooler 24 and the upstream of the compressor 3a, and controls the flow rate of exhaust gas recirculated to the upstream of the compressor 3a. The EGR pipe 23 is also provided with an exhaust gas temperature sensor 26 that detects the exhaust gas temperature of the exhaust gas upstream of the EGR valve 25, and a differential pressure sensor 27 that detects the differential pressure between the upstream and downstream of the EGR valve 25.
[0026] The ECU 28 is a control device that includes a CPU (Central Processing Unit) 205, a ROM (Read Only Memory) 204, a RAM (Random Access Memory) 203 (described later) shown in FIG. 2 , as well as an A / D (Analog-to-Digital) converter, a driver circuit, etc. (not shown), and controls each component of the internal combustion engine 1 and executes various data processing. The ECU 28 controls the operation of actuators such as the throttle valve 7, the fuel injection valve 15, the variable valve mechanisms of the intake valve 11 and the exhaust valve 13, and the EGR valve 25. The ECU 28 also detects the operating state of the internal combustion engine 1 based on signals input from various sensors, and ignites the spark plug 16 at a timing determined according to the operating state.
[0027] [Example of Hardware Configuration of ECU] FIG. 2 is a block diagram showing an example of the hardware configuration of the ECU 28. As shown in FIG.
[0028] The ECU 28 includes an input circuit 201 , an input / output port 202 , a RAM 203 , a ROM 204 , a CPU 205 , a throttle valve drive circuit 206 , a fuel injection valve drive circuit 207 , and an ignition output circuit 208 .
[0029] 2 shows an example in which output signals from the throttle sensor of the throttle valve 7, the flow rate sensor 2, the supercharging temperature sensor 6, the supercharging pressure sensor 9, the valve opening / closing phase sensors 12 and 14, the knock sensor 17, the crank angle sensor 18, the catalyst upstream air-fuel ratio sensor 20, and the rear oxygen sensor 22 are input to the input circuit 201 of the ECU 28. The signals input to the input circuit 201 are sent to an input / output port 202.
[0030] The signals transmitted to the input / output port 202 are stored in the RAM 203 and are processed by the CPU 205. A control program describing the details of the processing is written in advance in the ROM 204 and executed by the CPU 205. The ROM 204 stores programs, data, etc. necessary for the operation of the CPU 205, and is used as an example of a computer-readable non-transitory storage medium that stores a program executed by the ECU 28.
[0031] The control signals calculated by the CPU 205 in accordance with the control program are output to various devices such as a throttle valve drive circuit 206, a fuel injection valve drive circuit 207, and an ignition output circuit 208.
[0032] The throttle valve drive circuit 206 outputs a drive signal to the throttle valve 7 for controlling the opening and closing of the throttle valve 7 .
[0033] The fuel injection valve drive circuit 207 outputs a drive signal to the fuel injection valve 15 for controlling the opening and closing of the fuel injection valve 15 at the fuel injection timing.
[0034] The ignition output circuit 208 outputs a drive signal to the ignition output circuit 208 to control the ignition of the spark plug 16 at the ignition timing.
[0035] <Neural network model> An overview of a neural network is shown in Figure 3. A neural network model is a mathematical model that mimics the structure of the neural circuits in the human brain, and each neuron that makes up the model has a weight and bias set.
[0036] In addition, a function called an activation function is defined for neurons. Activation functions such as logistic functions and ramp functions are set as appropriate. A layer is formed from multiple neurons, and a hidden layer is set between the input layer and the output layer. By increasing the number of neurons and the number of hidden layers, it is possible to approximate more complex input-output relationships. There is a trade-off between approximation accuracy and model size, and a compromise that satisfies both requirements is selected. For example, the frequency of the exhaust gas sensor signal is set in the input layer and catalyst deterioration diagnosis is set in the output layer, and the input-output relationship can be approximated by machine learning (supervised) the weights and biases of each neuron. Error backpropagation can be applied to the machine learning algorithm.
[0037] <Extended Kalman Filter> Figure 4 is a flowchart showing an example of an extended Kalman filter algorithm. The algorithm and the method of application to this control of the extended Kalman filter, which is one of the components of the present invention, will be described below. The algorithm and the method of application to this control of the extended Kalman filter will be described below. The extended Kalman filter is based on the state-output equations including the system noise Q and the observation noise R defined in equations (1) and (2).
[0038]
[0039] The above nonlinear equation is approximated by a piecewise linear equation as follows:
[0040]
[0041] where F k (k) and H k (k) are the Jacobian matrices for the state variables of f and h, respectively.
[0042]
[0043] The extended Kalman filter algorithm consists of a prediction step and a filtering step. In the prediction step, the internal state variable vector and covariance matrix are updated based on the input variables and system noise as follows:
[0044]
[0045] Next, in the filtering step, the Kalman gain defined by the updated covariance matrix and the observation noise is calculated.
[0046]
[0047] Using the Kalman gain and observation data, the internal state variable vector and covariance matrix are updated using the following equations:
[0048]
[0049] The time step is updated and we return to equation (6). By repeating the above process, we can estimate internal state variables that are difficult to measure directly based on the actual measured values.
[0050] <Mahalanobis distance> Figure 5 shows an overview of Mahalanobis distance. Mahalanobis distance is characterized by its ability to easily determine whether a value is normal or abnormal, even if the distance from the center point is similar, due to the combination of multidimensional variances. Mahalanobis distance is calculated using the following formula. x represents the input data vector as shown in formula (7). μ represents the mean value vector as shown in formula (8).
[0051]
[0052]
[0053] Equation (9) shows the variance-covariance matrix. E is the expected value. Equation (10) shows the Mahalanobis distance D M Ask for.
[0054]
[0055]
[0056] Figure 6 shows an example of the actual behavior of the Mahalanobis distance. In intervals (a) and (c), the control input u is in the interpolation region, while in interval (b), it is in the extrapolation region. Furthermore, in interval (c), the sensor used in the extended Kalman filter is abnormal, resulting in an abnormal sensor value being input. Next, the behavior of the Mahalanobis distance for each interval will be explained. In interval (a), the control input u is in the interpolation region and the sensor is operating normally, resulting in a small Mahalanobis distance and good estimation accuracy. In interval (b), the control input u is in the extrapolation region, resulting in an increase in the Mahalanobis distance and a worse estimation accuracy than in interval (a). In interval (c), the control input u is in the interpolation region, but the sensor used in the extended Kalman filter is outputting an abnormal value, resulting in an increase in the Mahalanobis distance and a worse estimation accuracy than in interval (a). Thus, when the control input or sensor is operating abnormally, the increase in the Mahalanobis distance allows us to determine the reliability of the state observer's estimate.
[0057] Next, the configuration of this embodiment will be described with reference to FIG. 7. First, an arbitrary input value is input from the ECU to the extended Kalman filter 701. The input value includes a control value and a sensor value. The state quantity is estimated using the input value. Here, since the state quantity is a differential value, an integral calculation is performed using a specified time step value and the previous value state quantity to determine the current state quantity. At the same time, the same type of input value as that of the extended Kalman filter 701 is also input to the Mahalanobis distance calculation unit 702. The Mahalanobis distance for the current input is calculated using the input value. The comparison unit 703 compares the calculated Mahalanobis distance with a specified threshold. If the current Mahalanobis distance is greater than the threshold, 0 is output, and the system is deemed to be outside the learning range or to have a sensor failure. If the current Mahalanobis distance is smaller than the threshold, 1 is output, and the system is deemed to be within the learning range or to have a sensor malfunction. The results of the extrapolation are then recorded. If 0 is input to the switching unit 704, it is assumed that the extended Kalman filter 701 is operating outside the learning range or that the sensor is malfunctioning and is not performing a normal estimation calculation, and a specified steady-state value is output. If 1 is input, it is assumed that the extended Kalman filter 701 is operating within the learning range or that the sensor is operating normally and performing a normal estimation calculation, and an estimated state quantity is output. Next, a flowchart of this embodiment will be described with reference to FIG. 8. In step 801, a control input and a sensor input value are received from the ECU. In step 802, a Mahalanobis distance is calculated using the control input and the sensor input value from the ECU. In step 803, the calculated Mahalanobis distance is compared with the threshold value specified in step 802. If the calculated Mahalanobis distance is smaller than the threshold, the process proceeds to step 804; if the calculated Mahalanobis distance is larger than the threshold, the process proceeds to step 805. If the process proceeds to step 804, the extended Kalman filter is operating within the learning range or the sensor is operating normally, so the state quantity (differential value) is estimated by the extended Kalman filter using the control input and sensor input value from the ECU, and an integral calculation is performed using the specified time step value and the previous value state quantity to determine the current state quantity.
[0058] If the process proceeds to step 805, the extended Kalman filter is operating outside the learning range or the sensor is malfunctioning, so the diagnosis result is recorded and used as sensor malfunction or re-learning data. In step 806, an estimated value calculated using a physical formula or a substitute value such as an output value of a map defined at an operating point is output.
[0059] Second Embodiment In a second embodiment, the temperature estimation of a catalyst will be described as an example.
[0060] <Configuration Example of Aftertreatment System> Next, a configuration example of an aftertreatment system 110 that purifies exhaust gas from an internal combustion engine will be described with reference to FIGS. 9A to 9C.
[0061] FIG. 9A is a schematic diagram showing an example of the configuration of the post-processing system 110.
[0062] As described above, in the aftertreatment system 110, a three-way catalyst is used as the exhaust gas purification catalyst (exhaust purification catalyst 21). A catalyst upstream air-fuel ratio sensor 20 is provided upstream of the three-way catalyst, and a rear oxygen sensor 22 is provided downstream, and the catalyst upstream air-fuel ratio sensor 20 and the rear oxygen sensor 22 are connected to a control device such as an ECU 28. The ECU 28 measures the catalyst upstream air-fuel ratio of the exhaust gas flowing into the three-way catalyst via the catalyst upstream air-fuel ratio sensor 20, and can detect the amount of oxygen contained in the exhaust gas after purification by the catalyst via the rear oxygen sensor 22.
[0063] 9B is a diagram illustrating the relationship between the equivalence ratio of the exhaust gas (=stoichiometric air-fuel ratio / air-fuel ratio) and the output of the catalyst upstream air-fuel ratio sensor 20. The horizontal axis of FIG. 9B represents the equivalence ratio, and the vertical axis represents the output of the catalyst upstream air-fuel ratio sensor 20.
[0064] 9B, the output of the catalyst upstream air-fuel ratio sensor 20 (air-fuel ratio sensor output) tends to decrease as the equivalence ratio increases (in other words, as the exhaust gas becomes richer). The ECU 28 converts the catalyst upstream air-fuel ratio sensor signal into a catalyst upstream air-fuel ratio based on the relationship between the equivalence ratio of the exhaust gas and the output of the catalyst upstream air-fuel ratio sensor 20. This enables the ECU 28 to accurately detect the catalyst upstream air-fuel ratio over a wide range of exhaust gas conditions, from lean to rich.
[0065] 9C is a diagram illustrating the relationship between the equivalence ratio of exhaust gas and the output of the rear oxygen sensor 22. The horizontal axis of FIG. 9C represents the equivalence ratio, and the vertical axis represents the rear oxygen sensor output.
[0066] The rear oxygen sensor output, also known as the rear oxygen sensor voltage, varies depending on the electromotive force caused by the difference between the oxygen concentration in the exhaust gas and the oxygen concentration in the air. The rear oxygen sensor output exhibits a minimum electromotive force under lean conditions and a maximum electromotive force under rich conditions. Therefore, in catalyst control, the rear oxygen sensor output exhibits a sudden change at the stoichiometric air-fuel ratio (equivalent ratio of 1.0). By detecting the timing of this change in the rear oxygen sensor output, the ECU 28 can detect the amount of oxygen in the exhaust gas released downstream of the three-way catalyst.
[0067] <Concentration of Chemical Species in Exhaust Gas> FIGS. 10A and 10B are diagrams illustrating the tendency of the concentration of chemical species in exhaust gas with respect to the equivalence ratio.
[0068] FIG. 10A is a 2 O (water), CO (carbon monoxide), CO 2 (carbon dioxide), H 2 (hydrogen), O 2 FIG. 1 is a diagram illustrating the tendency of (oxygen) with respect to the equivalence ratio.
[0069] 10A and 10B are diagrams illustrating the trends of HC (hydrocarbon) and NOx (nitrogen oxide) relative to the equivalence ratio. The horizontal axis of each of FIGS. 10A and 10B represents the equivalence ratio, and the vertical axis represents the concentration of the chemical species in the exhaust gas.
[0070] As shown in FIG. 10A, the combustion gas composition of hydrocarbon fuel is such that CO (carbon monoxide) and H are present on the rich side of the stoichiometric air-fuel ratio. 2 (hydrogen) increases, and on the lean side, O 2 10B, NOx (nitrogen oxides) shows a maximum value slightly leaner than the stoichiometric air-fuel ratio and tends to decrease on the leaner and richer sides. HC (unburned hydrocarbons) is an unburned fuel component that is emitted without being burned, and shows a minimum value at the stoichiometric air-fuel ratio. When the air-fuel ratio is excessively leaner or richer than the stoichiometric air-fuel ratio, the amount of HC emitted due to incomplete combustion tends to increase.
[0071] As shown in FIGS. 10A and 10B, even under theoretical air-fuel ratio conditions where fuel and air (oxygen) are supplied in the right amounts, H 2 O (water) and CO 2 In this case, a certain amount of CO (carbon monoxide) and NOx (nitrogen oxides) are emitted without reaching the final carbon dioxide (CO). For this reason, the exhaust gas needs to be properly purified by the aftertreatment system 110.
[0072] <Reaction Process of Three-Way Catalyst> Fig. 11 is a diagram illustrating the main reaction process of the three-way catalyst (ceria-based) used in the aftertreatment system 110. In the reaction process shown in Fig. 11, coefficients are omitted.
[0073] The three-way catalytic reaction process mainly consists of an oxidation reaction, a NOx reduction reaction, and an oxygen storage and release reaction. In the oxidation reaction, CO and H are produced under rich or high temperature conditions. 2 , HC reacts with oxygen to produce harmless CO 2 and H 2 O is produced. Unburned hydrocarbons (HC) include components such as methane, propane, ethylene, and butane, each of which reacts at a different rate.
[0074] The NOx reduction reaction is mainly represented by the reaction of CO and NO. 2 and N2 are produced.
[0075] In the oxygen storage and release reaction, oxygen (O 2 ) and the oxidation and reduction reactions of HC, CO, and NO proceed. 2 ) with CO and HC to form CO 2 and H 2 O is produced, and cerium trioxide (Ce 2 O 3 ) reacts with NO to produce N2. At this time, CeO 2 and Ce 2 O 3 The oxygen storage ratio Ψ of the three-way catalyst is determined by the balance between the Ce in the catalyst and the 2 O 3 All are CeO 2This means that reaction with NO cannot occur and NO cannot be purified.
[0076] Thus, in order to maintain the purification rate of the three-way catalyst appropriately, CeO 2 and Ce 2 O 3 It is necessary to maintain a balance between the above and the oxygen storage ratio Ψ at a predetermined value. Since all of the above-described reaction processes are strongly dependent on the catalyst temperature, the ECU 28 needs to appropriately manage the catalyst temperature so that the catalyst temperature reaches or exceeds the activation temperature as soon as possible after the internal combustion engine 1 is started.
[0077] Although the system shown in this embodiment is configured to use a ceria-based three-way catalyst, the present invention is not limited to this. Catalysts using other materials that exhibit similar effects can achieve similar effects without changing the configuration of the present invention by adjusting the constants of the control model. In addition to the reaction mechanism shown in FIG. 11 , the catalytic reaction may involve a water-gas shift reaction or the like. The ECU 28 can also accommodate these reaction mechanisms by adjusting the control model constants.
[0078] Fig. 12 is a diagram illustrating the tendency of the purification rate of a three-way catalyst versus the exhaust gas equivalence ratio at temperatures above the catalyst activation temperature. The horizontal axis of Fig. 12 represents the equivalence ratio, and the vertical axis represents the catalyst purification rate. Fig. 12 also shows the catalyst purification rates for NOx, HC, and CO when the equivalence ratio changes from lean to rich. The closer the catalyst purification rate is to 100%, the more the components in the exhaust gas are purified, and the less the components in the exhaust gas are emitted.
[0079] This graph shows that the purification rate characteristics of the three-way catalyst change around the stoichiometric air-fuel ratio ("control target" in the graph). Under lean conditions, the purification rates of CO and HC are maintained at approximately 90% or more, while the NOx purification rate decreases as the equivalence ratio decreases. On the rich side, the purification rates of HC and CO tend to decrease as the equivalence ratio increases. Near the stoichiometric air-fuel ratio, purification rates of NOx, HC, and CO can all be achieved at 90% or more. Therefore, the point near the stoichiometric air-fuel ratio is called the "three-way point." The ECU 28 controls the purification rate of the three-way catalyst to maintain a high level by maintaining the equivalence ratio at the stoichiometric air-fuel ratio, which is the three-way point.
[0080] FIG. 13 illustrates the behavior of the catalyst upstream equivalence ratio, the catalyst downstream equivalence ratio, and the output of the rear oxygen sensor 22. The horizontal axis of FIG. 13 represents time, and the vertical axis represents the catalyst upstream equivalence ratio, the catalyst downstream equivalence ratio, and the rear oxygen sensor output. This graph shows the behavior of the catalyst downstream equivalence ratio (catalyst downstream air-fuel ratio) and the output of the rear oxygen sensor 22 installed downstream of the catalyst when the catalyst upstream equivalence ratio (catalyst upstream air-fuel ratio) is abruptly changed in a stepwise manner (in a staircase pattern) toward the lean or rich side, with the equivalence ratio at 1.0 as the center. First, as shown in time period (a) along the horizontal time axis in FIG. 13, when the catalyst upstream equivalence ratio is set to exactly 1.0, a very small amount of oxygen is discharged downstream of the catalyst. Therefore, the rear oxygen sensor output is maintained at an intermediate state between its maximum and minimum electromotive forces. Next, as shown in time period (b) in FIG. 13 , when the catalyst upstream equivalence ratio is decreased from an equivalence ratio of 1.0 to a lean-air mixture in a stepwise manner, the catalyst downstream equivalence ratio gradually decreases toward the lean side, and the rear oxygen sensor output abruptly changes toward the predetermined minimum electromotive force value under lean conditions after the relaxation time required for the gradual decrease in the catalyst downstream equivalence ratio has elapsed. Next, as shown in time period (c) in FIG. 13 , when the catalyst upstream equivalence ratio is increased above an equivalence ratio of 1.0 to a rich-air mixture in a stepwise manner, the catalyst downstream equivalence ratio begins to gradually increase toward the rich side in response. The rear oxygen sensor output changes toward the predetermined maximum electromotive force value under rich conditions after the relaxation time required for the gradual increase in the catalyst downstream equivalence ratio has elapsed. Next, as shown in time period (d) in FIG. 13 , when the catalyst upstream equivalence ratio is again decreased from an equivalence ratio of 1.0 to a lean-air mixture in a stepwise manner, the catalyst downstream equivalence ratio again gradually decreases toward the lean side. The rear oxygen sensor output responding to the change in the catalyst upstream equivalence ratio changes again toward the predetermined minimum electromotive force value under lean conditions after a relaxation time required for the catalyst downstream equivalence ratio to gradually decrease has elapsed. The time required for the catalyst downstream equivalence ratio to change from rich to lean during time period (d) is shorter than the time required for the change from lean to rich during time period (c), which is characterized by the so-called hysteresis.
[0081] As described above, the delay time of the catalyst downstream equivalence ratio and the delay time of the output of the rear oxygen sensor 22 tend to differ between a lean-to-rich change and a rich-to-lean change. This tendency is due to the CeO 2 and Ce 2 O 3 This is because the reaction rate of the oxygen storage and release reaction differs when the mixture changes from rich to lean and when the mixture changes from lean to rich. In addition, the reaction rate of the three-way catalyst also depends on the catalyst temperature and exhaust gas flow rate, so the hysteresis described above changes depending on the catalyst temperature and exhaust gas flow rate.
[0082] Next, the hysteresis of the oxygen sensor characteristics will be explained with reference to FIG. 14 . FIG. 14 is a diagram illustrating the hysteresis of the output characteristics of an oxygen sensor. In this graph, the horizontal axis represents the equivalence ratio and the vertical axis represents the oxygen sensor output. The static characteristics of the oxygen sensor are as described with reference to FIG. 9C . Meanwhile, the oxygen sensor also uses the catalytic material described above. Therefore, the dynamic characteristics of the oxygen sensor exhibit hysteresis, in which a rich-to-lean change differs from a lean-to-rich change. That is, the relaxation time required for the oxygen sensor signal to change from a predetermined maximum electromotive force value under a rich condition to a predetermined minimum electromotive force value under a lean condition is shorter than the relaxation time required for the oxygen sensor signal to change from a predetermined minimum electromotive force value under a lean condition to a predetermined maximum electromotive force value under a rich condition. Furthermore, the behavior of the oxygen sensor signal described above is affected by changes in the material properties of the oxygen sensor during use and by the temperature of the oxygen sensor.
[0083] Here, referring also to FIG. 15 , we will explain the temporal changes in the output of the rear oxygen sensor 22 and the NOx concentration downstream of the catalyst when the internal combustion engine 1 is controlled from a state (stoichiometry control) in which the catalyst upstream equivalence ratio is 1.0 (stoichiometric air-fuel ratio) through a period of fuel cut (lean conditions) and then resumes operation under the stoichiometric air-fuel ratio. FIG. 15 illustrates the temporal changes in the output of the rear oxygen sensor 22 and the NOx concentration and HC concentration downstream of the catalyst. The horizontal axis of FIG. 15 represents time, and the vertical axis represents the catalyst upstream equivalence ratio, rear oxygen sensor output, catalyst downstream NOx concentration, and catalyst downstream HC concentration. First, as shown in time period (a) along the horizontal time axis in FIG. 15 , when the catalyst upstream equivalence ratio is set to exactly 1.0, the rear oxygen sensor output is maintained at an intermediate state between its maximum and minimum electromotive force. Next, as shown in time period (b) in FIG. 15 , the engine transitions from operation under the catalyst upstream equivalence ratio of 1.0 to lean conditions due to fuel cut. Next, as shown in time period (c) in Figure 15, the system returns to operation with a catalyst upstream equivalence ratio of 1.0. At this time, the change in the rear oxygen sensor output from the intermediate state with a catalyst upstream equivalence ratio of 1.0 to the lean side differs from the change (relaxation time) from the lean side to the intermediate state with a catalyst upstream equivalence ratio of 1.0. That is, the relaxation time required for the oxygen sensor signal to change from the predetermined minimum electromotive force value under lean conditions due to fuel cut to the intermediate state under stoichiometry control conditions (see time period (a) in Figure 15) is longer than the relaxation time required for the oxygen sensor signal to change from the intermediate state under stoichiometry control conditions to the predetermined minimum electromotive force value under lean conditions. During this relaxation time (delay period) until the rear oxygen sensor output returns to the intermediate state, a spike-like increase in the NOx concentration downstream of the catalyst may be observed. To address this increase in the NOx concentration downstream of the catalyst, for example, when restarting operation with a catalyst upstream equivalence ratio of 1.0 after a fuel cut, the catalyst upstream equivalence ratio is increased above 1.0 to temporarily increase the catalyst purification rate of NOx (see FIG. 12), thereby performing a so-called rich correction to reduce the amount of NOx emissions downstream of the catalyst. However, there is a trade-off between increasing the catalyst purification rate of NOx through rich correction and the catalyst purification rates of HC and CO (see FIG. 12).For this reason, in the air-fuel ratio control of the internal combustion engine 1, it is necessary to take into account the state inside the catalyst and perform rich correction control with an appropriate correction amount and period. To take into account the state inside the catalyst in the air-fuel ratio control of the internal combustion engine 1, for example, the signal from the rear oxygen sensor that detects the oxygen state of the exhaust gas downstream of the catalyst can be used as a judgment criterion. However, as mentioned above, it should be noted that there is a delay period (see FIG. 14) in the response of the rear oxygen sensor 22.
[0084] Here, the output of the rear oxygen sensor 22 and the changes over time in the NOx concentration and HC concentration downstream of the catalyst will be explained in the order of stoichiometry control, appropriate rich correction, and excessive rich correction.
[0085] (Stoichiometry Control) In Figure 15, the solid lines indicate the changes over time in the output of the rear oxygen sensor 22 and the NOx and HC concentrations downstream of the catalyst when stoichiometry control is performed. As shown in Figure 13, the output of the rear oxygen sensor 22 increases with a delay when the engine changes from a lean to a rich condition. The NOx concentration downstream of the catalyst exhibits a behavior in which a momentary increase in NOx occurs during the delay period until the output of the rear oxygen sensor 22 returns to normal, resulting in the emission of HC. On the other hand, the HC concentration downstream of the catalyst remains almost unchanged, preventing the emission of HC.
[0086] (Appropriate Rich Correction) In Figure 15, the output of the rear oxygen sensor 22 and the changes over time in the NOx concentration and HC concentration downstream of the catalyst when appropriate rich correction is performed are shown by dashed lines. When firing operation is resumed after a fuel cut, if rich correction is performed once, the equivalence ratio upstream of the catalyst becomes rich. The output of the rear oxygen sensor 22 reaches the equivalence ratio more quickly than under stoichiometry control. Furthermore, because the NOx concentration and HC concentration downstream of the catalyst remain almost unchanged, NOx and HC emissions are prevented.
[0087] (Excessive Rich Correction) In Figure 15, the output of the rear oxygen sensor 22 and the changes over time in the NOx concentration and HC concentration downstream of the catalyst when excessive rich correction is made are shown by rough dashed lines. The rear oxygen sensor 22 detects the oxygen content of the gas downstream of the catalyst. Therefore, when excessive rich correction is made, the internal state of the catalyst has already changed to the maximum or minimum oxygen storage state by the time the output of the rear oxygen sensor 22 reacts. Furthermore, when excessive rich correction is made, the NOx concentration decreases as shown in Figure 10B, and the catalyst purification rate of NOx increases as shown in Figure 12, preventing NOx emissions.
[0088] On the other hand, the HC concentration increases as shown in Figure 10B, and the catalyst purification rate of HC decreases as shown in Figure 12, resulting in HC emissions. In other words, if a control method is used in which rich correction is stopped after the output of the rear oxygen sensor 22 reacts, the timing of stopping rich correction is too late for the catalyst, and HC cannot be appropriately prevented. For this reason, in air-fuel ratio control for an internal combustion engine, it is necessary to perform rich correction control for an appropriate period of time, taking into account the state inside the catalyst, which cannot be directly observed from the outside.
[0089] 16 is a diagram illustrating the relationship between the degree of catalyst deterioration and the oxygen storage capacity (OSC) of a three-way catalyst, where the horizontal axis represents the degree of catalyst deterioration and the vertical axis represents the oxygen storage capacity.
[0090] Catalyst degradation refers to a state in which the catalytic activity of a three-way catalyst is reduced due to thermal influences and poisoning by sulfur contained in the fuel. As shown in Figure 16, the oxygen storage capacity of a three-way catalyst is approximately proportional to the degree of catalyst degradation in the left-right direction in Figure 16. In other words, as catalyst degradation progresses, the oxygen storage capacity of the three-way catalyst tends to decrease.
[0091] The following describes the effect that changes in oxygen storage capacity have on the purification function of a three-way catalyst.
[0092] FIG. 17 is a diagram illustrating the relationship between the oxygen storage ratio of a three-way catalyst, i.e., the value obtained by dividing the current oxygen storage amount of the three-way catalyst by the above-mentioned oxygen storage capacity, and the NOx purification rate. The horizontal axis of FIG. 17 represents the oxygen storage ratio, and the vertical axis represents the NOx purification rate. In FIG. 17, the solid line represents the change in the NOx purification rate of a new three-way catalyst, and the dashed line represents the change in the NOx purification rate of a deteriorated three-way catalyst. When the oxygen storage ratio is small, both the new and deteriorated three-way catalysts have high oxygen storage ratios. Furthermore, the new three-way catalyst has a higher NOx purification rate than the deteriorated three-way catalyst. As shown in FIG. 17, when the oxygen storage ratio exceeds a predetermined value, the NOx purification rate of both the new and deteriorated three-way catalysts tends to deteriorate rapidly. This is because, as explained with reference to FIG. 11, the Ce in the catalyst is essential for NOx purification. 2 O 3 is important, and Ce 2 O 3 All react to form CeO 2 When it changes to Ce 2 O 3 This is because NO cannot react with NO, and NOx cannot be purified. Furthermore, if catalyst deterioration progresses and the oxygen storage capacity of the three-way catalyst decreases, the oxygen storage ratio for the same oxygen storage amount will increase as a result.
[0093] Therefore, the NOx purification rate for a deteriorated three-way catalyst, shown by the dashed line in Figure 18, is lower than the NOx purification rate for a new three-way catalyst, shown by the solid line in Figure 18. Therefore, in order to maintain a high NOx purification rate, it is necessary not only to maintain the exhaust gas air-fuel ratio at the catalyst inlet at the three-way point, but also to appropriately correct and control the exhaust gas air-fuel ratio at the catalyst inlet, taking into account the internal state of the catalyst, which cannot be directly observed from the outside, i.e., the current oxygen storage capacity and oxygen storage rate of the three-way catalyst, so that the oxygen storage rate falls within a range in which a predetermined NOx purification rate can be obtained. Note that, as shown in Figure 17, the "predetermined range of oxygen storage rate" is represented by a deteriorated control range 36 when the catalyst is deteriorated and a new control range 35 when the catalyst is new, with the new control range 35 being wider than the deteriorated control range 36.
[0094] Next, the configuration of this embodiment will be described with reference to FIG. 19 . First, an extended Kalman filter 1901 receives control inputs, such as exhaust gas flow rate and equivalence ratio, from the ECU, as well as sensor inputs, such as an exhaust gas temperature sensor that detects the exhaust gas temperature downstream of the catalyst. Based on these inputs, the extended Kalman filter 1901 calculates the time differential value of the catalyst temperature. Then, using a specified time interval and the previous state quantity, an integral calculation is performed to determine the current catalyst temperature. At the same time, a Mahalanobis distance calculation unit 1902 also receives input values of the same type as the extended Kalman filter 1901. Using the input values, the Mahalanobis distance for the current input is calculated. A comparison unit 1903 compares the calculated Mahalanobis distance with a specified threshold. If the current Mahalanobis distance is greater than the threshold, a 0 is output, indicating that the system is outside the learning range or the sensor is faulty. If the current Mahalanobis distance is smaller than the threshold, a 1 is output, indicating that the system is within the learning range or the sensor is normal. The results of the interpolation and extrapolation are then recorded. If 0 is input to the switching unit 1904, it is assumed that the extended Kalman filter 1901 is operating outside the learning range or the sensor is malfunctioning and is not performing normal estimation calculations, and a specified steady-state value is output.If 1 is input, it is assumed that the extended Kalman filter 1901 is operating within the learning range or the sensor is operating normally and is performing normal estimation calculations, and an estimated catalyst temperature is output.
[0095] Next, a flowchart of this embodiment will be described with reference to FIG. 20 . In step 2001, control inputs and sensor input values are received from the ECU. In step 2002, the Mahalanobis distance is calculated using the control inputs and sensor input values from the ECU. In step 2003, the calculated Mahalanobis distance is compared with a threshold value specified in step 2002. If the calculated Mahalanobis distance is smaller than the threshold value, the process proceeds to step 2004. If the calculated Mahalanobis distance is larger than the threshold value, the process proceeds to step 2005. If the process proceeds to step 2004, the extended Kalman filter is operating within the learning range or the sensor is operating normally, so the catalyst temperature (differential value) is estimated by the extended Kalman filter using the control inputs and sensor input values from the ECU, and an integral calculation is performed using the specified time step value and the previous value state quantity to calculate the current catalyst temperature. If the process proceeds to step 2005, the extended Kalman filter is operating outside the learning range or the sensor is malfunctioning, so the diagnosis result is recorded and used as sensor malfunction or re-learning data. In step 2006, a substitute value such as an estimated value calculated using a physical formula or an output value of a map defined at an operating point is output.
[0096] The main features of the above-described embodiment can be summarized as follows.
[0097] A processor (CPU 205, FIG. 2) of the control device (ECU 28, FIG. 1) calculates a state variable (e.g., catalyst temperature) at a second timing from a vehicle state variable at a first timing (e.g., the previous value of catalyst temperature, FIG. 19), a vehicle control input at a second timing after the first timing (e.g., exhaust gas flow rate, equivalence ratio, FIG. 19), and an observation value at the second timing detected by a vehicle sensor (sensor input: e.g., exhaust gas temperature downstream of the catalyst, FIG. 19). The processor approximates a state space model, using a neural network model, that is composed of a state equation (the first equation in Equation (1)) related to the state variable (e.g., catalyst temperature) and an observation equation (the second equation in Equation (1)) related to the observation value (e.g., exhaust gas temperature downstream of the catalyst). The processor determines the reliability (accuracy) of the state variable (e.g., catalyst temperature) at the second timing from an index (e.g., Mahalanobis distance) based on the control input (e.g., exhaust gas flow rate, equivalence ratio) at the second timing and the observed value (e.g., exhaust gas temperature downstream of the catalyst) at the second timing. The observed value is a sensor value correlated with the state variable (the second equation in equation (1)).
[0098] This allows us to evaluate the reliability of the calculated values (estimated values) of the vehicle state variables that are not detected by the sensors. By using the highly reliable state variables in subsequent processing, the reliability of the subsequent processing is also improved.
[0099] An example of the index is a Mahalanobis distance based on a control input (e.g., exhaust gas flow rate, equivalence ratio) at the second timing and an observation value (e.g., exhaust gas temperature downstream of the catalyst) at the second timing. Note that a value correlated with the Mahalanobis distance may also be used as the index.
[0100] This makes it possible to evaluate the reliability of the calculated value of the state variable at the second timing, taking into account the variance of the control input and the observed value.
[0101] For example, if the Mahalanobis distance is greater than a threshold value, the processor (CPU 205) determines that the reliability of the state variable (e.g., catalyst temperature) at the second timing is low (comparison unit 1903, FIG. 19). Note that in the second embodiment, if the Mahalanobis distance is greater than a threshold value, the reliability of the state variable (e.g., catalyst temperature) at the second timing is determined to be low, and 0 is output from comparison unit 1903.
[0102] This allows us to determine whether the sensor is normal by interpolation (Mahalanobis distance≦threshold) or extrapolation (Mahalanobis distance>threshold). If the sensor is abnormal (broken, dirty, etc.), the Mahalanobis distance may be greater than the threshold.
[0103] The state equation and the observation equation are nonlinear. The processor (CPU 205) calculates the state variables (for example, catalyst temperature) using an extended Kalman filter 1901 (FIG. 19).
[0104] This makes it possible to easily calculate the state variables by linear approximation even if the state equation and observation equation are nonlinear.
[0105] In detail, if the Mahalanobis distance is equal to or less than the threshold, the processor (CPU 205) outputs the state variable (e.g., catalyst temperature) at the second timing calculated using the extended Kalman filter 1901 (step 2004, FIG. 20). If the Mahalanobis distance is greater than the threshold, the processor (CPU 205) does not output the state variable (e.g., catalyst temperature) at the second timing calculated using the extended Kalman filter 1901, but outputs (transmits or stores) a diagnostic result indicating that the reliability of the state variable (e.g., catalyst temperature) at the second timing is low or that a sensor is malfunctioning (step 2005, FIG. 20).
[0106] As a result, the unreliable state variables are not used in the subsequent processing, and therefore, the decrease in reliability of the subsequent processing can be suppressed.
[0107] As shown in FIG. 21, for example, the neural network model is composed of a first neural network model having an input layer to which the state variable x(k) at the first timing and the control input u(k) at the first timing are input, and an output layer to which the state variable x(k+1) at the second timing is output, and a second neural network model having an input layer to which the state variable x(k) at the first timing and the control input u(k) at the first timing are input, and an output layer to which the observation value y(k) at the first timing is output.
[0108] This makes it possible to estimate the state variables and observed values without solving the state equations and observation equations. Furthermore, learning improves the reliability of the state variables and observed values estimated using the neural network model. Using the state variables estimated by the neural network model for powertrain control makes it possible to achieve highly accurate powertrain control.
[0109] 19 , the processor (CPU 205) inputs a state variable at a first timing (e.g., the previous value of the catalyst temperature), a control input at a second timing (e.g., the exhaust gas flow rate and the equivalence ratio), and an observation value at a second timing (sensor input: e.g., the exhaust gas temperature downstream of the catalyst) to an extended Kalman filter 1901, and acquires a time differential value (state quantity) of the state variable from the extended Kalman filter 1901. The processor (CPU 205) integrates the time differential value (state quantity) of the state variable and adds the integrated value to the state variable at the first timing (e.g., the previous value of the catalyst temperature), thereby calculating the state variable at the second timing (e.g., the catalyst temperature).
[0110] This allows the state variables to be calculated quickly.
[0111] If the Mahalanobis distance is equal to or less than the threshold, the processor (CPU 205) outputs the state variable (e.g., catalyst temperature) at the second timing calculated using the extended Kalman filter 1901. If the Mahalanobis distance is greater than the threshold, the processor (CPU 205) does not output the state variable (e.g., catalyst temperature) at the second timing calculated using the extended Kalman filter 1901, but outputs a substitute value derived from a physical formula or a map as the state variable (e.g., catalyst temperature) (step 2006, FIG. 20 ).
[0112] This prevents, for example, subsequent processing that uses the state variables from being interrupted.
[0113] The processor (CPU 205) performs machine learning using, as training data for a first neural network model, the state variable at the first timing (e.g., the previous value of the catalyst temperature) calculated using the extended Kalman filter 1901, the control input at the first timing (e.g., the exhaust gas flow rate, the equivalence ratio), and the state variable at the second timing (e.g., the catalyst temperature) calculated using the extended Kalman filter 1901. The processor (CPU 205) also performs machine learning using, as training data for a second neural network model, the state variable at the first timing (e.g., the previous value of the catalyst temperature) calculated using the extended Kalman filter 1901, the control input at the first timing (e.g., the exhaust gas flow rate, the equivalence ratio), and the observation value at the first timing (e.g., the exhaust gas temperature downstream of the catalyst).
[0114] This allows machine learning to be performed on state variables that are not detected by sensors using state variables calculated using an extended Kalman filter.
[0115] The processor (CPU 205) performs machine learning when the Mahalanobis distance is equal to or smaller than the threshold, and does not perform machine learning when the Mahalanobis distance is greater than the threshold.
[0116] This allows machine learning to be performed using highly reliable state variables calculated using an extended Kalman filter. As a result, the reliability of the state variables and observed values estimated using the neural network model is improved. Highly accurate powertrain control can be achieved by using the state variables estimated by the neural network model for powertrain control.
[0117] The present invention is not limited to the above-described embodiment, and it goes without saying that various other applications and modifications are possible without departing from the gist of the present invention as set forth in the claims.
[0118] For example, the above-described embodiment has described the system configuration in detail and specifically to clearly explain the present invention, and is not necessarily limited to a system including all of the described configurations. Furthermore, it is also possible to add, delete, or replace part of the configuration of this embodiment with other configurations.
[0119] In addition, the control lines and information lines shown are those that are considered necessary for the explanation, and do not necessarily show all the control lines and information lines in the product. In reality, it can be assumed that almost all components are interconnected.
[0120] Furthermore, some or all of the above-described configurations, functions, etc. may be implemented in hardware, for example, by designing them as integrated circuits. Furthermore, the above-described configurations, functions, etc. may be implemented in software by a processor interpreting and executing a program that implements each function. Information such as the programs, tables, and files that implement each function can be stored in a memory, a recording device such as a hard disk or SSD (Solid State Drive), or a recording medium such as an IC card, SD card, or DVD.
[0121] The embodiment of the present invention may have the following aspects.
[0122] (1) A powertrain system control device for an automobile equipped with a sensor for detecting a current state, the powertrain system control device comprising: an index value setting unit that determines an abnormality diagnosis index based on the control input and a sensor detection value as an index for determining the validity of the state estimation amount, and a judgment threshold based on a state variable related to the automobile detected by the sensor, a control input for controlling the automobile, and a state estimation amount estimated by a state observer; a neural network model that approximates a state space model that has the sensor detection target as one of its output variables; and a means for determining the validity of a state quantity estimation result using the state observer, based on the abnormality diagnosis index defined by the input of the neural network model and the sensor detection value.
[0123] (2) A powertrain system control device including means for using a Mahalanobis distance as the abnormality diagnosis index defined by the control input and the sensor detection value.
[0124] (3) The powertrain system control device according to (1), further comprising a means for determining the validity of the state quantity estimation result of the state observer based on the Mahalanobis distance.
[0125] (4) The powertrain system control device according to (1), further comprising means for performing state quantity estimation using an extended Kalman filter capable of taking nonlinearity into account as the state observer.
[0126] (5) The powertrain system control device according to (1), further comprising means for stopping the state quantity estimation using the extended Kalman filter when the Mahalanobis distance is equal to or greater than a predetermined value, diagnosing that the state quantity estimation or the sensor is abnormal, and notifying or recording the diagnosis result to the outside.
[0127] (6) The powertrain system control device according to (1), wherein the neural network model that approximates the state space model includes a transient neural network model that approximates a state space model that uses a previous value as one of its inputs.
[0128] (7) The powertrain system control device according to (1), wherein the extended Kalman filter calculates a time differential value of the state quantity, adds the time differential value to the previous value, and estimates the current state quantity.
[0129] (8) The powertrain system control device according to (1), further comprising: outputting a substitute value calculated from a physical formula or a map after stopping the state quantity estimation using the extended Kalman filter when the Mahalanobis distance is equal to or greater than a predetermined value.
[0130] According to (1)-(8), the validity or invalidity of the transient neural network model and the sensor can be diagnosed with a minimum of information and calculations, and the reliability of the control software can be guaranteed.
[0131] 1...internal combustion engine, 20...catalyst upstream air-fuel ratio sensor, 21...exhaust purification catalyst, 22...rear oxygen sensor, 28...ECU, 51...exhaust gas flow rate calculation unit, 52...catalyst upstream state quantity estimation unit, 53...catalyst downstream state quantity estimation unit, 54...correction unit, 55...NOx sensor diagnosis unit, 56...fuel injection amount correction unit, 56a...fuel injection amount correction map, 57...fuel composition determination unit, 100...internal combustion engine control system, 110...aftertreatment system
Claims
1. A control device having a processor that calculates the state variables of a vehicle at a first timing from a state variable of the vehicle at a second timing after the first timing, a control input of the vehicle at a second timing after the first timing, and an observation value at the second timing detected by a sensor of the vehicle, approximates a state space model consisting of a state equation for the state variables and an observation equation for the observation value with a neural network model, and determines the reliability of the state variables at the second timing from an index based on the control input at the second timing and the observation value at the second timing.
2. A control device according to claim 1, characterized in that the index is a Mahalanobis distance based on the control input at the second timing and the observed value at the second timing.
3. A control device according to claim 2, characterized in that, when the Mahalanobis distance is greater than a threshold value, the processor determines that the reliability of the state variable at the second timing is low.
4. A control device according to claim 1, wherein the state equation and the observation equation are nonlinear, and the processor calculates the state variables using an extended Kalman filter.
5. A control device as described in claim 2, characterized in that the processor outputs the state variable for the second timing calculated using an extended Kalman filter when the Mahalanobis distance is equal to or less than a threshold value, and when the Mahalanobis distance is greater than the threshold value, does not output the state variable for the second timing calculated using the extended Kalman filter, and outputs a diagnostic result indicating that the reliability of the state variable for the second timing is low or that the sensor is faulty.
6. A control device as described in claim 4, characterized in that the neural network model is composed of: a first neural network model having an input layer to which the state variables of the first timing and the control input of the first timing are input, and an output layer to which the state variables of the second timing are output; and a second neural network model having an input layer to which the state variables of the first timing and the control input of the first timing are input, and an output layer to which the observation values of the first timing are output.
7. A control device as described in claim 4, wherein the processor inputs the state variable at the first timing, the control input at the second timing, and the observation value at the second timing to the extended Kalman filter, obtains a time differential value of the state variable from the extended Kalman filter, integrates the time differential value of the state variable, and adds the integrated value to the state variable at the first timing, thereby calculating the state variable at the second timing.
8. A control device as described in claim 2, characterized in that the processor outputs the state variable of the second timing calculated using an extended Kalman filter when the Mahalanobis distance is equal to or less than a threshold value, and when the Mahalanobis distance is greater than the threshold value, does not output the state variable of the second timing calculated using the extended Kalman filter, but outputs an alternative value derived from a physical formula or a map as the state variable.
9. A control device as described in claim 6, wherein the processor uses the state variables at the first timing calculated using the extended Kalman filter, the control input at the first timing, and the state variables at the second timing calculated using the extended Kalman filter as training data for the first neural network model, and uses the state variables at the first timing calculated using the extended Kalman filter, the control input at the first timing, and the observed value at the first timing as training data for the second neural network model, and performs machine learning.
10. A control device as described in claim 9, wherein the index is a Mahalanobis distance based on the control input at the second timing and the observed value at the second timing, and the processor performs the machine learning when the Mahalanobis distance is equal to or less than a threshold, and does not perform the machine learning when the Mahalanobis distance is greater than the threshold.
Citation Information
Patent Citations
Adversarial sample detection method and device, equipment
CN111950629A
Result prediction device and result prediction method
JP2014013560A
Battery deterioration determination device, battery deterioration determination method, and battery deterioration determination program
JP2021124419A
Cited By
Machine learning system and machine learning method
WO2026196495A1
