MACHINE LEARNING DEVICE, MACHINE LEARNING METHOD, ELECTRONIC CONTROL UNIT AND METHOD OF PRODUCTION OF SAME, LEARNED MODEL, AND MACHINE LEARNING SYSTEM
20200175369 ยท 2020-06-04
Assignee
Inventors
- Keisuke Nagasaka (Gotemba-shi, JP)
- Hiroshi OYAGI (Gotemba-shi, JP)
- Yusuke Takasu (Sunto-gun, JP)
- Tomohiro KANEKO (Mishima-shi, JP)
Cpc classification
F01N2560/06
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F01N2560/022
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
Y02A50/20
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
F01N2900/1402
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F01N2560/023
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F01N2900/1602
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F01N11/005
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F01N3/10
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F01N2900/0402
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
Y02T10/40
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
F01N2900/1404
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F01N9/00
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
International classification
F01N11/00
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
Abstract
A learning use data set showing relationships among an engine speed, an engine load rate, an air-fuel ratio of the engine, an ignition timing of the engine, an HC or CO concentration of exhaust gas flowing into an exhaust purification catalyst and a temperature of the exhaust purification catalyst is acquired. The acquired engine speed, engine load rate, air-fuel ratio of the engine, ignition timing of the engine, and HC or CO concentration of the exhaust gas flowing into the exhaust purification catalyst are used as input parameters of a neural network and the acquired temperature of the exhaust purification catalyst is used as training data to learn a weight of the neural network. The learned neural network is used to estimate the temperature of the exhaust purification catalyst.
Claims
1. A machine learning apparatus for use with an internal combustion engine, the machine learning apparatus comprising: an electronic control unit configured to: acquire data showing an engine speed, an engine load rate, an air-fuel ratio of an engine, an ignition timing of the engine, an HC or CO concentration of exhaust gas flowing into an exhaust purification catalyst and a temperature of the exhaust purification catalyst from the internal combustion engine, prepare a data set using the acquired engine speed, engine load rate, air-fuel ratio of the engine, ignition timing of the engine, HC or CO concentration, and exhaust purification catalyst temperature, and learn a weight of the neural network by applying a temperature of the exhaust purification catalyst as training data to learn a weight of the neural network wherein, the temperature of the exhaust purification catalyst of the internal combustion engine is predicted based on the learned neural network from the acquired engine speed, the engine load rate, air-fuel ratio of the engine, ignition timing of the engine, and HC or CO concentration of the exhaust gas flowing into the exhaust purification catalyst.
2. A machine learning method for use with an internal combustion engine, the machine learning method comprising: acquiring data showing an engine speed, an engine load rate, an air-fuel ratio of an engine, an ignition timing of the engine, an HC or CO concentration of exhaust gas flowing into an exhaust purification catalyst and a temperature of the exhaust purification catalyst from the internal combustion engine, preparing a data set using the acquired engine speed, engine load rate, air-fuel ratio of the engine, ignition timing of the engine, HC or CO concentration, and exhaust purification catalyst temperature, and learning a weight of the neural network by applying a temperature of the exhaust purification catalyst as training data to learn a weight of the neural network wherein, the temperature of the exhaust purification catalyst of the internal combustion engine is predicted based on the learned neural network from the acquired engine speed, the engine load rate, air-fuel ratio of the engine, ignition timing of the engine, and HC or CO concentration of the exhaust gas flowing into the exhaust purification catalyst.
3. A non-transitory computer readable medium storing a program for use with an internal combustion engine, the program causing a computer to perform steps comprising: acquiring data showing an engine speed, an engine load rate, an air-fuel ratio of an engine, an ignition timing of the engine, an HC or CO concentration of exhaust gas flowing into an exhaust purification catalyst and a temperature of the exhaust purification catalyst from the internal combustion engine, preparing a data set using the acquired engine speed, engine load rate, air-fuel ratio of the engine, ignition timing of the engine, HC or CO concentration, and exhaust purification catalyst temperature, and learning a weight of the neural network by applying a temperature of the exhaust purification catalyst as training data to learn a weight of the neural network wherein, the temperature of the exhaust purification catalyst of the internal combustion engine is predicted based on the learned neural network from the acquired engine speed, the engine load rate, air-fuel ratio of the engine, ignition timing of the engine, and HC or CO concentration of the exhaust gas flowing into the exhaust purification catalyst.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0060]
[0061]
[0062]
[0063]
[0064]
[0065]
[0066]
[0067]
[0068]
[0069]
[0070]
[0071]
[0072]
[0073]
[0074]
[0075]
DESCRIPTION OF EMBODIMENTS
[0076] Overall Configuration of Internal Combustion Engine
[0077]
[0078] On the other hand, the exhaust manifold 7 is connected to the inlet of the exhaust turbine 9b of the exhaust turbocharger 9, while the outlet of the exhaust turbine 9b is connected through an exhaust pipe 15 to a catalytic converter 17 having an exhaust purification catalyst 16 therein. In an embodiment of the present invention, this exhaust purification catalyst 16 is comprised of a three way catalyst. The exhaust manifold 7 and the surge tank 5 are connected with each other through an exhaust gas recirculation (below, referred to as EGR) passage 18. Inside the EGR passage 18, an EGR control valve 19 is arranged. Each fuel injector 4 is connected to a fuel distribution pipe 20. This fuel distribution pipe 20 is connected through a fuel pump 21 to a fuel tank 22. As shown in
[0079] An electronic control unit 30 is comprised of a digital computer provided with a ROM (read only memory) 32, RAM (random access memory) 33, CPU (microprocessor) 34, input port 35, and output port 36, which are connected with each other by a bidirectional bus 31. At the input port 35, output signals of the intake air amount detector 10, pressure sensor 23, temperature sensor 24, air-fuel ratio sensor 25, HC concentration sensor 26 or CO concentration sensor 26, and temperature sensor 27 are input through corresponding AD converters 37. At an accelerator pedal 40, a load sensor 41 generating an output voltage proportional to the amount of depression of the accelerator pedal 40 is connected. The output voltage of the load sensor 41 is input through the corresponding AD converter 37 to the input port 35. Furthermore, the input port 35 is connected to a crank angle sensor 42 generating an output pulse each time a crankshaft rotates by for example 30. Inside the CPU 34, the engine speed is calculated based on the output signals of the crank angle sensor 42. On the other hand, the output port 36 is connected through corresponding drive circuits 38 to the spark plugs 3, the fuel injectors 4, the throttle valve drive use actuator 13, EGR control valve 19, and fuel pump 21.
Summary of Neural Network
[0080] In embodiments of the present invention, neural networks are used to estimate various values representing the performance of the internal combustion engine.
[0081] At the nodes of the input layer, the inputs are output as they are. On the other hand, at the nodes of one hidden layer (L=2), the output values x.sub.1 and x.sub.2 of the nodes of the input layer are input, while at the nodes of one hidden layer (L=2), the respectively corresponding weights w and biases b are used to calculate the sum input value u. For example, a sum input value u.sub.k calculated at a node shown by z.sub.k (k=1, 2, 3) of one hidden layer (L=2) in
Next, this sum input value u.sub.k is converted by an activating function f and is output from a node shown by z.sub.k of one hidden layer (L=2) as an output value z.sub.k (f(u.sub.k)). The same is true for the other nodes of one hidden layer (L=2). On the other hand, the nodes of another hidden layer (L=3) receive as input the output values z.sub.1, z.sub.2, and z.sub.3 of the nodes of one hidden layer (L=2). At the nodes of the other hidden layer (L=3), the respectively corresponding weights w and biases b are used to calculate the sum input value u(z.Math.w+b). The sum input value u is similarly converted by an activating function and output from the nodes of the other hidden layer (L=3) as the output values z.sub.1 and z.sub.2. Note that, in embodiments according to the present invention, as this activating function, a Sigmoid function is used.
[0082] On the other hand, at the node of the output layer (L=4), the output values z.sub.1 and z.sub.2 of the nodes of the other hidden layer (L=3) are input. At the node of the output layer, the respectively corresponding weights w and biases b are used to calculate the sum input value u(z.Math.w+b) or just the respectively corresponding weights w are used to calculate the sum input value u(z.Math.w). In this embodiment according to the present invention, at the node of the output layer, an identity function is used, therefore, from the node of the output layer, the sum input value u calculated at the node of the output layer is output as it is as the output value y.
Expression of Function by Neural Network
[0083] Now then, it is possible to express any function if using a neural network. Next, this will be simply explained. First, if explaining the Sigmoid function used as the activating function, the Sigmoid function is expressed as (x)=1/(1+exp(x)) and takes a value between 0 and 1 corresponding to the value of x as shown in
[0084] To explain this matter, first, a neural network such as shown in
[0085] On the other hand, the node of the output layer (L=3) receives as input the output values z.sub.1 and z.sub.2 of the nodes of the hidden layer (L=2). At the node of the output layer, the respectively corresponding weights w.sub.1.sup.(y) and w.sub.2.sup.(y) are used to calculate the sum input value u(z.Math.w=z.sub.1.Math.w.sub.1.sup.(y)+z.sub.2.Math.w.sub.2.sup.(y)). As explained above, in the embodiments according to the present invention, at the node of the output layer, an identity function is used. Therefore, from the node of the output layer, the sum input value u calculated at the node of the output layer is output as is as the output value y.
[0086]
[0087] In this way, in the neural network shown in
[0088] In the present embodiment, as the activation function, a Sigmoid function is selected, but in principle it may also be a function which monotonously increases and can be differentiated. In addition, when it is difficult to analytically find a function in case where a local minimum value (or a local minimum value) of the later explained error function (cost function) is used, the gradient descent method is used, and the reason for using a Sigmoid function is to facilitate calculation by using the later explained error back propagation method when using the gradient descent method. Therefore, if calculation by the gradient descent method is possible, a Sigmoid function need not be used. Further, the gradient descent method is used because analytic calculation is not possible, but if analytic calculation is possible, there is no need to use the gradient descent method.
Learning in Neural Network
[0089] On the other hand, in the embodiments according to the present invention, an error backpropagation algorithm is used to learn the values of the weights w and biases b in a neural network. This error backpropagation algorithm is known. Therefore, the error backpropagation algorithm will be explained simply below in its outlines. Note that, a bias b is one kind of weight w, so in the following explanation, a bias b is deemed one type of weight w. Now then, in the neural network such as shown in
E/w.sup.(L)=(E/u.sup.(L))(u.sup.(L)/w.sup.(L))(1)
where, z.sup.(L1) w.sup.(L)=u.sup.(L) so if (E/u.sup.(L))=.sup.(L), the above formula (1) can be shown by the following formula:
E/w.sup.(L)=.sup.(L).Math.z.sup.(L1)(2)
[0090] Here, if u.sup.(L) fluctuates, fluctuation of the error function E is caused through the change in the sum input value u.sup.(L+1) of the following layer, so (L) can be expressed by the following formula.
where, if z.sup.(L)=f(u.sup.(L)), the input value u.sub.k.sup.(L+1) appearing at the right side of the above formula (3) can be expressed by the following formula:
Input value u.sub.k.sup.(L+1)=.sub.k=1.sup.kw.sub.k.sup.(L+1).Math.z.sup.(L)=.sub.k=1.sup.kw.sub.k.sup.(L+1).Math.f(u.sup.(L))(4)
where, the first term (E/u.sup.(L+1)) at the right side of the above formula (3) is .sup.(L+1), and the second term (u.sub.k.sup.(L+1)/u.sup.(L)) at the right side of the above formula (3) can be expressed by the following formula:
(w.sub.k.sup.(L+1).Math.z.sup.(L))/u.sup.(L)=w.sub.k.sup.(L+1).Math.f(u.sup.(L))/u.sup.(L)=w.sub.k.sup.(L+1).Math.f(u.sup.(L))(5)
Therefore, .sup.(L) is expressed by the following formula:
That is, if .sup.(L+1) is found, it is possible to find .sup.(L).
[0091] Now then, when training data y.sub.t is found for a certain input value, and the output value from the output layer corresponding to this input value is y, if the square error is used as the error function, the square error E is found by E=(yy.sub.t).sup.2. In this case, at the node of the output layer (L=4) of
.sup.(L)=E/u.sup.(L)=(E/y)(y/u.sup.(L))=(yy.sub.t).Math.f(u.sup.(L))(7)
In this regard, in the embodiments of the present invention, as explained above, f(u.sup.(L)) is an identity function and f(u.sup.(L)). Therefore, .sup.(L)=yy.sub.t and .sup.(L) are found.
[0092] If .sup.(L) is found, the .sup.(L1) of the previous layer is found by using the above formula (6). The of the previous layer is successively found in this way. Using these values of , from the above formula (2), the differential of the error function E, that is, gradient E/w.sup.(L), is found for each weight w. If the gradient E/w.sup.(L) is found, this gradient E/w.sup.(L) is used to update the value of the weight w so that the value of the error function E decreases. That is, the value of the weight w is learned. Note that, when as the training data, a batch or minibatch is used, as the error function E, the following mean squared error E is used:
On the other hand, if online learning designed to sequentially calculate the square error is performed, as the error function E, the above square error E is used.
EMBODIMENTS OF PRESENT INVENTION
[0093] Now then, in an internal combustion engine, fuel increasing control for increasing the amount of fuel injection to lower the temperature of the exhaust purification catalyst by the latent heat of evaporation of the fuel to prevent the exhaust purification catalyst from overheating when the temperature of the exhaust purification catalyst exceeds a certain setting, that is, OT increase control, is performed, and SO.sub.X release control for releasing the stored SO.sub.X from the NO.sub.X storage and reduction catalyst by making the air-fuel ratio of the exhaust gas flowing into the NO.sub.X storage and reduction catalyst rich in the state where the temperature of the NO.sub.X storage and reduction catalyst is raised to the SO.sub.X release temperature when a large amount of SO.sub.X is stored in the NO.sub.X storage and reduction catalyst is performed. These OT increase control and SO.sub.X release control are performed according to the temperature of the catalyst, and accordingly, to perform such OT increase control and SO.sub.X release control, it is necessary to estimate the temperature of the catalyst.
[0094] Therefore, in the past, the relationships among several engine operating parameters believed to affect the temperature of the catalyst and the catalyst temperature were found in advance by experiments, a plurality of maps showing these relationships were prepared, and the temperature of the catalyst was found from these maps. However, which operating parameters the temperature of the catalyst has strong correlation with in values has not been sufficiently studied. Further, even if there is correlation, the correlation is complicated, so what kind of correlation there is has been unknown. Since the correlations between the engine operating parameters and the catalyst temperature are complicated, it is difficult to express the relationships among the engine operating parameters and the catalyst temperature by a plurality of maps. Therefore, when trying to estimate the temperature of the catalyst from a plurality of maps, obtaining a high precision of estimation is difficult.
[0095] Further, the HC and CO contained in exhaust gas react with the oxygen contained in the exhaust gas and the oxygen deposited on the exhaust purification catalyst on the exhaust purification catalyst to generate the heat of oxidation reaction. This heat of oxidation reaction generated in the exhaust purification catalyst greatly affects the temperature of the catalyst. Therefore, it can be said to be preferable to also use the HC concentration or CO concentration in the exhaust gas as one of the engine operating parameters for estimating the temperature of the catalyst. However, the number of maps is limited, so it is difficult to further add maps relating to the HC concentration and CO concentration. Also, even if adding maps relating to the HC concentration and CO concentration, the relationships between the engine operating parameters, including the HC concentration and CO concentration, and the catalyst temperature would become further complicated, so obtaining a high precision of estimation of the catalyst temperature would be difficult. Therefore, the present invention uses a neural network to precisely predict the temperature of the exhaust purification catalyst of the internal combustion engine.
[0096] Next, a first embodiment according to the present invention will be explained in brief. As explained above, the present invention uses a neural network to precisely predict a temperature of an exhaust purification catalyst of an internal combustion engine. For this purpose, a machine learning device is used. In this first embodiment, as the operating parameters having an effect on the temperature of the catalyst, that is, as the variables showing the operating state, the values of the engine speed, the engine load rate, the air-fuel ratio of the engine, the ignition timing of the engine, the HC or CO concentration of the exhaust gas flowing into the exhaust purification catalyst, and the temperature of the exhaust purification catalyst are employed. As shown in
[0097] Further, using the state variables, a training data set is prepared showing the relationships among the engine speed, the engine load rate, the air-fuel ratio of the engine, the ignition timing of the engine, and the HC or CO concentration of the exhaust gas flowing into the exhaust purification catalyst and the temperature of the exhaust purification catalyst. As shown in
[0098]
[0099] Next, referring to
[0100] Next, the input values showing the values of the operating parameters in
[0101] Next, the method of acquiring the different input values will be explained. First, the engine speed is calculated in the CPU 34 in the electronic control unit 30. This calculated value is used as the engine speed. Further, the engine load rate shows the ratio of the actual amount of intake air to the amount of intake air to the inside of the engine cylinders at the time of engine full load operation. In this case, for example, the amounts of intake air at the time of engine full load operation at certain reference intake air temperatures and intake air pressures are measured in advance with respect to typical engine speeds. The measured values are stored in a storage unit (ROM 32 or RAM 33) of the electronic control unit 30. On the other hand, an actual amount of intake air is found by correcting an amount of intake air detected by the intake air amount detector 10 to become the value at the above-mentioned reference intake air temperature and intake air pressure using the detected values of the pressure sensor 23 and temperature sensor 24. In the CPU 34, the engine load rate is calculated from the stored amounts of intake air at the time of engine full load operation and the corrected actual amount of intake air, and this calculated value is used as the engine load rate.
[0102] The air-fuel ratio of the engine is acquired from an output signal of the air-fuel ratio sensor 25. Further, the ignition timing of the engine is, for example, stored in advance as a function of the engine speed and the engine load rate in a storage unit (ROM 32 or RAM 33) of the electronic control unit 30. This ignition timing of the engine is calculated in the CPU 34 from the engine speed and the load factor of the engine, and this calculated value is used as the ignition timing of the engine. The HC or CO concentration in the exhaust gas flowing into the exhaust purification catalyst 16 is acquired from the output signal from the HC concentration sensor 26 or CO concentration sensor 26. In this case, either of the HC concentration sensor 26 or CO concentration sensor 26 is used. Note that, the HC concentration and the CO concentration can also be detected using a gas analyzer which samples the exhaust gas to analyze the components of the exhaust gas. On the other hand, the temperature of the exhaust purification catalyst 16 is acquired from the output signal of the temperature sensor 27.
[0103] Next, a learning data set used in this embodiment of the present invention will be simply explained. In this embodiment according to the present invention, the measured values of the input parameters and the measured value of the output parameter in different operating states when randomly changing the operating states of the engine are, as shown in
[0104] For example, in the example shown in
[0105] Referring to
[0106] At step 62, if the weight of the neural network is learned, the routine proceeds to step 63 where the ordinal number n of the operating state is incremented by 1 (n=n+1). Next, at step 64, it is judged if the ordinal number n of the operating state becomes N, that is, if the weight of the neural network has been learned for all of the learning use data sets shown in
[0107] At step 65, for example, the above formula (8) is used to calculate a square sum error E between the output value y and the training data yt of the neural network, and it is judged if this square sum error E becomes a preset error setting or less. When it is judged that the square sum error E becomes the preset error setting or less, the learning routine is ended. As opposed to this, when it is judged that the square sum error E does not become the preset error setting or less, the routine returns to step 60 and the weight of the neural network is again learned for all of the learning use data set shown in
[0108] In this way, in this embodiment of the present invention, in a machine learning device 50 using a neural network to predict a temperature of an exhaust purification catalyst 16 of an internal combustion engine, a learning data set showing relationships among an engine speed, an engine load rate, an air-fuel ratio of the engine, an ignition timing of the engine, and an HC or CO concentration of the exhaust gas flowing into the exhaust purification catalyst and a temperature of the exhaust purification catalyst 16 is acquired, and the acquired engine speed, engine load rate, air-fuel ratio of the engine, ignition timing of the engine, and HC or CO concentration of the exhaust gas flowing into the exhaust purification catalyst are used as input parameters of the neural network. The acquired temperature of the exhaust purification catalyst is used as training data to learn a weight of the neural network, and the learned neural network is used to estimate the temperature of the exhaust purification catalyst 16.
[0109] On the other hand, in this embodiment of the present invention, as shown in
[0110] Therefore, in this embodiment of the present invention, the input parameter value acquiring unit acquires the engine speed, the engine load rate, the air-fuel ratio of the engine, the ignition timing of the engine, the HC or CO concentration in the exhaust gas flowing into the exhaust purification catalyst 16, and the temperature of the exhaust purification catalyst 16. The relationships among the engine speed, the engine load rate, the air-fuel ratio of the engine, the ignition timing of the engine, and the HC or CO concentration in the exhaust gas flowing into the exhaust purification catalyst 16 and the temperature of the exhaust purification catalyst 16 are stored as a learning use data set in the storage unit. The engine speed, the engine load rate, the air-fuel ratio of the engine, the ignition timing of the engine, and the HC or CO concentration in the exhaust gas flowing into the exhaust purification catalyst 16 stored in this storage unit as the learning use data set are used as input to the input layer of a neural network while the temperature of the exhaust purification catalyst 16 stored as learning use data set in the storage unit is used as training data to learn the weight of the neural network. The estimated value of the temperature of the exhaust purification catalyst 16 is output from the output layer of the learned neural network.
[0111] Next, based on the measured data, the precision of estimation when using the engine speed, the engine load rate, the air-fuel ratio of the engine, the ignition timing of the engine, and the HC or CO concentration in the exhaust gas flowing into the exhaust purification catalyst 16 as the input parameters of the neural network and using the acquired temperature of the exhaust purification catalyst 16 as the training data to learn the weight of the neural network will be explained.
[0112] On the other hand,
[0113] On the other hand,
[0114] Next, referring to
[0115] First, the machine learning apparatus 71 will be explained. In this machine learning device 71, the input layer (L=1) is comprised of three nodes, and the values of three operating parameters x.sub.1, x.sub.2, and x.sub.3 are input as input values to the nodes of the input layer (L=1). Note that, as explained above, x.sub.1, x.sub.2, and x.sub.3 sometimes indicate input parameters and sometimes indicate values of the input parameters. Further, for this machine learning device 71,
[0116] Next, the input values showing the values of the operating parameters in the machine learning device 71, that is, the input values x.sub.1, x.sub.2, and x.sub.3 of the input parameters, and the output value y of the output parameter will be explained. In this second embodiment, as the operating parameters, that is, the input parameters, the engine speed, the engine load rate, and the air-fuel ratio of the engine having a strong effect on the HC or CO concentration in the exhaust gas flowing into the exhaust purification catalyst 16 are employed. The values of the engine speed, the engine load rate, and the air-fuel ratio of the engine are respectively input as input values x.sub.1, x.sub.2, and x.sub.3 to the input layer (L=1). That is, in this second embodiment as well, in the same way as the first embodiment, x.sub.1 shows the engine speed, x.sub.2 shows the engine load rate, and x.sub.3 shows the air-fuel ratio of the engine. On the other hand, in this second embodiment, as the output parameter of the machine learning device 71, the HC or CO concentration in the exhaust gas flowing into the exhaust purification catalyst 16 is employed. From the output layer (L=4), the output value y of the output parameter, that is, the estimated value y of the HC or CO concentration in the exhaust gas flowing into the exhaust purification catalyst 16, is output.
[0117] On the other hand, the machine learning device 70 is comprised of a neural network of the same configuration as the machine learning device 55 shown in
[0118] That is, in the machine learning device 70, as the operating parameters, that is, as the input parameters, the engine speed, the engine load rate, the air-fuel ratio of the engine, the ignition timing of the engine, and the estimated values of the HC or CO concentration in the exhaust gas flowing into the exhaust purification catalyst 16 are employed. The values of the engine speed, the engine load rate, the air-fuel ratio of the engine, and the ignition timing of the engine and the estimated value of the HC or CO concentration in the exhaust gas flowing into the exhaust purification catalyst 16 are respectively input as the input values x.sub.1, x.sub.2, x.sub.3, x.sub.4, and x.sub.5 to the input layer (L=1). On the other hand, in the machine learning device 70, as the output parameter, the temperature of the exhaust purification catalyst 16 is employed. From the output layer (L=4), the output value y of the output parameter, that is, the estimated value y of the temperature of the exhaust purification catalyst 16, is output.
[0119] Next, referring to
[0120] In the case of using the machine learning device 71 to estimate the HC or CO concentration in the exhaust gas as well, the measured values of the values of the input parameters and the measured value of the value of the output parameter in different operating states when randomly changing the operating states of the engine are, as shown in
[0121] In this case, as explained above, the HC or CO concentration in the exhaust gas flowing into the exhaust purification catalyst 16 is acquired from the output signal of the HC concentration sensor 26 or CO concentration sensor 26 or is detected using a gas analyzer for analyzing the components of sampled exhaust gas. In the example shown in
[0122] In this way, in the second embodiment according to the present invention, the engine speed, the engine load rate, and the air-fuel ratio of the engine acquired from the learning use data set are used as the input parameters of the neural network and the HC or CO concentration in the exhaust gas flowing into the exhaust purification catalyst 16 acquired from the learning use data set is used as the training data to learn the weight of the neural network and this learned neural network is used to find the estimated value of the HC or CO concentration in the exhaust gas flowing into the exhaust purification catalyst 16.
[0123] Next, the learning use data set for predicting the catalyst temperature shown in
[0124] Note that, the measured values a.sub.n, b.sub.n, and c.sub.n (n=1, 2, . . . N) of the operating states at the three input values x.sub.1, x.sub.2, and x.sub.3 of
[0125]
[0126] Note that, as explained above, the HC or CO concentration in the exhaust gas flowing into the exhaust purification catalyst 16 is acquired from the output signal of the HC concentration sensor 26 or CO concentration sensor 26 or is detected using a gas analyzer analyzing the components of the sampled exhaust gas. Therefore, when using the machine learning device 70 shown in
[0127] Note that, as the learning use data set and the test data for validation of the precision, suitable combinations of data can be selected from all data. Further, in the present embodiment, the holdout validation method is used, but the cross validation method may also be used to validate the machine learning.
[0128] Now then, in the embodiment according to the present invention, as shown in
[0129] In this case, in the embodiment according to the present invention, this electronic control unit is comprised of an electronic control unit which has built into it a learned model. This learned model is generated by acquiring a learning use data set prepared based on values of the pressure sensor 23, temperature sensor 24, air-fuel ratio sensor 25, HC concentration or CO concentration sensor 26 or gas analyzer, temperature sensor 27 and the values calculated in a CPU 34 of the electronic control unit 30, which learning use data set showing the relationships among the engine speed, the engine load rate, the air-fuel ratio of the engine, the ignition timing of the engine, the HC or CO concentration of the exhaust gas flowing into the exhaust purification catalyst and the temperature of the exhaust purification catalyst, and by learning the weight of the neural network. In this case, the weight of the neural network is learned by using the acquired engine speed, the engine load rate, air-fuel ratio of the engine, ignition timing of the engine, and HC or CO concentration of the exhaust gas flowing into the exhaust purification catalyst as input parameters of a neural network and by using the acquired temperature of the exhaust purification catalyst as training data.
[0130] Further, in this case, in the embodiment of the present invention, as mentioned above, the learned model is comprised of a learned model which is generated by acquiring a learning use data set prepared based on values of the pressure sensor 23, temperature sensor 24, air-fuel ratio sensor 25, HC concentration or CO concentration sensor 26 or gas analyzer, temperature sensor 27 and the values calculated in a CPU 34 of the electronic control unit 30, which learning use data set showing the relationships among the engine speed, the engine load rate, the air-fuel ratio of the engine, the ignition timing of the engine, the HC or CO concentration of the exhaust gas flowing into the exhaust purification catalyst and the temperature of the exhaust purification catalyst, and by learning the weight of the neural network. In this case, the weight of the neural network is learned by using the acquired engine speed, the engine load rate, air-fuel ratio of the engine, ignition timing of the engine, and HC or CO concentration of the exhaust gas flowing into the exhaust purification catalyst as input parameters of a neural network and by using the acquired temperature of the exhaust purification catalyst as training data.
[0131] On the other hand, when producing an electronic control unit, it is possible to incorporate a learned neural network inside the electronic control unit as a learned model. Therefore, in the embodiment of the present invention, as a method of production of an electronic control unit, use may be made of a method of production of an electronic control unit by incorporating a learned neural network inside the electronic control unit as a learned model. In this case, this learned model is generated by acquiring a learning use data set prepared based on values of the pressure sensor 23, temperature sensor 24, air-fuel ratio sensor 25, HC concentration or CO concentration sensor 26 or gas analyzer, temperature sensor 27 and the values calculated in a CPU 34 of the electronic control unit 30, which learning use data set showing the relationships among the engine speed, the engine load rate, the air-fuel ratio of the engine, the ignition timing of the engine, the HC or CO concentration of the exhaust gas flowing into the exhaust purification catalyst and the temperature of the exhaust purification catalyst, and by learning the weight of the neural network. In this case, the weight of the neural network is learned by using the acquired engine speed, the engine load rate, air-fuel ratio of the engine, ignition timing of the engine, and HC or CO concentration of the exhaust gas flowing into the exhaust purification catalyst as input parameters of a neural network and by using the acquired temperature of the exhaust purification catalyst as training data.
[0132] On the other hand,
[0133] On the other hand, the server 72, as shown in
[0134] That is, this machine learning system for predicting a temperature of an exhaust purification catalyst of an internal combustion engine comprises an engine speed acquiring unit 74 for acquiring an engine speed, an engine load factor acquiring unit 75 for acquiring a load factor of the engine, an air-fuel ratio acquiring unit 76 for acquiring an air-fuel ratio of the engine, an ignition timing acquiring unit 77 for acquiring an ignition timing of the engine, a concentration acquiring unit 78 for acquiring an HC or CO concentration of the exhaust gas flowing into the exhaust purification catalyst, an exhaust purification catalyst temperature acquiring unit 79 for acquiring a temperature of the exhaust purification catalyst, a data set preparing unit 80 for preparing a data set using the acquired engine speed, engine load rate, air-fuel ratio of the engine, ignition timing of the engine, HC or CO concentration, and exhaust purification catalyst temperature, and a learning unit 81 for learning a temperature of the exhaust purification catalyst based on this data set.
[0135] In this machine learning system, data relating to the engine speed, engine load rate, air-fuel ratio of the engine, ignition timing of the engine, HC or CO concentration of the exhaust gas flowing into the exhaust purification catalyst, and temperature of the exhaust purification catalyst acquired in the vehicle 71 is received from the communicating unit 73 of the server 72. The received engine speed, the engine load rate, air-fuel ratio of the engine, ignition timing of the engine, HC or CO concentration of the exhaust gas flowing into the exhaust purification catalyst, and temperature of the exhaust purification catalyst are used to prepare a data set. The temperature of the exhaust purification catalyst is learned in accordance with this data set.
[0136] On the other hand,
[0137] On the other hand, in this example, the vehicle 71 is provided with a communicating unit 82 for communicating with the server 72 in addition to the vehicle-mounted electronic control unit 30. In this example as well, data relating to the engine speed, engine load rate, air-fuel ratio of the engine, ignition timing of the engine, HC or CO concentration of the exhaust gas flowing into the exhaust purification catalyst, and temperature of the exhaust purification catalyst acquired in the vehicle 71 is transmitted from the communicating unit 82 of the vehicle 71 to the communicating unit 73 of the server 72, a data set is prepared using the engine speed, engine load rate, air-fuel ratio of the engine, ignition timing of the engine, HC or CO concentration of the exhaust gas flowing into the exhaust purification catalyst, and temperature of the exhaust purification catalyst received at the communicating unit 73, and the temperature of the exhaust purification catalyst is learned in accordance with this data set. Next, the learned model of the temperature of the exhaust purification catalyst is transmitted from the communicating unit 73 of the server 72 to the communicating unit 82 of the vehicle 71. The weight of the neural network in the vehicle-mounted electronic control unit 30 is updated by the learned model received at the communicating unit 82.
[0138] That is, in this example, data showing the engine speed, the engine load rate, the air-fuel ratio of the engine, the ignition timing of the engine, the HC or CO concentration of exhaust gas flowing into the exhaust purification catalyst, and the temperature of the exhaust purification catalyst is acquired in the vehicle, this data is transmitted to the server, a learned model is generated in the server by using the received engine speed, engine load rate, air-fuel ratio of the engine, ignition timing of the engine, and HC or CO concentration of the exhaust gas flowing into the exhaust purification catalyst as input parameters of a neural network and by using the received temperature of the exhaust purification catalyst as training data to learn a weight of the neural network, the generated learned model is transmitted to the vehicle, and the temperature of the exhaust purification catalyst of the internal combustion engine is predicted by using the learned model from the acquired engine speed, engine load rate, air-fuel ratio of the engine, ignition timing of the engine, and HC or CO concentration of the exhaust gas flowing into the exhaust purification catalyst. In this case, the server comprises the communicating unit 73 for communicating with the vehicle 71, the engine speed acquiring unit 74 for acquiring the engine speed, the engine load rate acquiring unit 75 for acquiring the engine load rate, the air-fuel ratio acquiring unit 76 for acquiring the air-fuel ratio of the engine, the ignition timing acquiring unit 77 for acquiring the ignition timing of the engine, the concentration acquiring unit 78 for acquiring the HC or CO concentration of the exhaust gas flowing into the exhaust purification catalyst, the exhaust purification catalyst temperature acquiring unit 79 for acquiring the temperature of the exhaust purification catalyst, the data set preparing unit 80 for preparing a data set using the acquired engine speed, engine load rate, air-fuel ratio of the engine, ignition timing of the engine, HC or CO concentration, and exhaust purification catalyst temperature, and the learning unit 81 for learning the temperature of the exhaust purification catalyst in accordance with the data set.
[0139] The present machine learning handles output forming a continuous value as a problem of regression, but the output may also be considered as a problem of classification of a finite number of discrete categories (multiclass classification). Specifically, it is sufficient to prepare several classes as output and link the classes and the temperatures of the catalyst.
[0140] Further, in machine learning, there are various methods for supervised learning besides a neural network such as the Random forest, support vector machine, and k neighbor algorithm. These models are common on the point of being algorithms which lay boundary lines in feature spaces laid by feature vectors and efficiently find the decision boundaries. That is, if possible to be estimated by a neural network, machine learning is possible by other supervised learning models as well.
[0141] Further, as machine learning, instead of using supervised learning, it is also possible to use semi supervised learning.