Learning model generation device, state quantity estimation device, learning model generation method, and computer program

By generating a learning model using both correct and erroneous input values, the method improves estimation accuracy and robustness against sensor errors, maintaining high performance even with flawed inputs.

JP7576496B2Active Publication Date: 2024-10-31KK TOYOTA CHUO KENKYUSHO +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2021045710
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-03-19
Publication Date
2024-10-31
Estimated Expiration
2041-03-19

AI Technical Summary

Technical Problem

Existing learning models for estimating state quantities suffer from decreased accuracy due to errors in sensor inputs, such as individual sensor differences and noise, leading to reduced estimation performance.

Method used

A learning model generation method that includes generating a second data set with input values containing errors, allowing machine learning to improve estimation accuracy by incorporating these errors within a defined range, thus maintaining accuracy even when erroneous inputs are provided.

Benefits of technology

The method enhances the robustness of the learning model against sensor errors, ensuring high estimation accuracy by expanding the interpolation region and reducing the impact of erroneous inputs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007576496000001
    Figure 0007576496000001
  • Figure 0007576496000002
    Figure 0007576496000002
  • Figure 0007576496000003
    Figure 0007576496000003
Patent Text Reader

Abstract

To provide a learning model that can maintain accuracy of estimating a state quantity even when an input containing an error is given.SOLUTION: A learning model generation device includes: a data acquisition unit that acquires a first data set including an input value including one or more parameters and an output value corresponding to the input value; a data generation unit that generates an input value with an error by giving an error to at least one parameter among the one or more parameters included in the acquired input value, and generates a second data set including the input value with the error and the output value corresponding to the input value before the error is given; and a model generation unit that generates a learning model by machine learning using the first data set and the second data set as teacher data.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a learning model generating device, a state quantity estimating device, a learning model generating method, and a computer program. [Background technology]

[0002] There is known a device that estimates various state quantities using a learning model generated by machine learning (see, for example, Patent Documents 1 and 2). In the technology described in Patent Document 1, a learning model for estimating the ambient temperature in an ambient temperature estimation device is generated, and the ambient temperature is estimated using this learning model. In the device described in Patent Document 1, various input variables acquired by an input variable acquisition unit are input to a neural network. The neural network calculation unit generates the learning model by repeating calculations to determine the weights of the neural network.

[0003] Patent Document 2 describes an exhaust gas purification device for an internal combustion engine that performs a NOx reduction process. In this exhaust gas purification device, the amount of NOx stored in the NOx catalyst is estimated using a learning model that inputs engine operating parameters that indicate the operating state of the internal combustion engine and outputs control parameters related to the NOx catalyst. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2019-60642 A [Patent Document 2] JP 2009-180086 A Summary of the Invention [Problem to be solved by the invention]

[0005] However, in the techniques described in Patent Document 1 and Patent Document 2, there is a possibility that the estimation accuracy of state quantities using a learning model may decrease. Specifically, in Patent Document 1, when the temperature of the actual environment acquired by a sensor is used as an input variable, the estimation accuracy by the learning model may decrease because the input value contains errors due to individual differences in the sensor. Similarly, in Patent Document 2, when engine operating parameters are acquired from an on-board sensor, the input value contains errors due to noise and sensor characteristics, and the estimation accuracy by the learning model may decrease.

[0006] The present invention has been made to solve the above-mentioned problems, and aims to provide a learning model that can maintain the estimation accuracy of a state quantity even when an input including an error is given. [Means for solving the problem]

[0007] The present invention has been made to solve at least one of the above problems, and can be realized in the following forms. A learning model generation device comprising: a data acquisition unit that acquires a first data set including an input value including one or more parameters and an output value corresponding to the input value, a data generation unit that generates an error-added input value by adding an error to at least one of the one or more parameters included in the acquired input value, and generates a second data set including the error-added input value and an output value corresponding to the input value before the error is added, and a model generation unit that generates a learning model by machine learning using the first data set and the second data set as teacher data, wherein the data generation unit sets a magnitude of an error to be added to the parameter within an error range of a sensor value output from the sensor according to a specification value of a sensor for acquiring the parameter. The present invention can also be realized in the following forms.

[0008] (1) According to one aspect of the present invention, there is provided a learning model generation device, comprising: a data acquisition unit that acquires a first data set including input values ​​including one or more parameters and output values ​​corresponding to the input values, a data generation unit that generates an error-added input value by adding an error to at least one of the one or more parameters included in the acquired input values, and generates a second data set including the error-added input value and an output value corresponding to the input value before the error is added, and a model generation unit that generates a learning model by machine learning using the first data set and the second data set as teacher data.

[0009] A learning model has a property that it cannot approximate an extrapolation region where the data density of the input value used during learning is low. Therefore, when an error is included in the input value, the input value becomes the extrapolation region, and the estimation accuracy in the extrapolation region decreases. In other words, when an error is included in the input value, the estimation accuracy of the estimated value of the state quantity calculated by the learning model decreases. According to this configuration, in addition to the set of input value and output value (first data set) that has been used as teacher data when generating a learning model in the past, a set of input value and output value with error (second data set) is further used as teacher data to generate a learning model by performing machine learning. Therefore, the input value including an error becomes the interpolation region rather than the extrapolation region. As a result, the learning model generating device of this configuration can provide a learning model that can maintain the estimation accuracy of the state quantity even when an input including an error is given. As a result, robustness is increased against input values ​​including errors in parameters such as sensor values, and a decrease in the estimation accuracy of the state quantity calculated using the learning model can be suppressed.

[0010] (2) In the learning model generation device of the above aspect, the data generation unit may set the magnitude of error to be assigned to the parameter within the error range of the sensor value output from the sensor, depending on the specifications of the sensor used to acquire the parameter. According to this configuration, the error included in the error-added input value of the second data set is set to the range of error expected in the sensor value of the correct answer value. As a result, according to this configuration, the estimation accuracy of the state quantity calculated using the learning model can be maintained at a higher level.

[0011] (3) In the learning model generating device of the above aspect, the data generating unit may set a maximum error or a minimum error of the sensor value as the error to be assigned to the parameter. According to this configuration, the maximum error or the minimum error is assigned to the input value, so that the model generation unit can generate a learning model using teacher data including the maximum error that the correct sensor value can have. This makes it possible to increase the interpolation range of the estimated value of the state quantity, and to maintain high estimation accuracy of the state quantity within the range of error that the actual sensor value can have.

[0012] (4) In the learning model generation device of the above aspect, the model generation unit generates a model that estimates a state quantity of a system having an internal combustion engine as the learning model, and the data acquisition unit may include, as the parameter, a sensor value of a sensor that acquires a physical quantity of the system. According to this configuration, the state quantity of a system having an internal combustion engine can be estimated using the learning model generated by the learning model generation device. A system having an internal combustion engine generally requires input values ​​including a wide variety of parameters to estimate the state quantity. By using the learning model, the state quantity of such a system having an internal combustion engine can be estimated easily and with high accuracy.

[0013] (5) In the learning model generation device of the above aspect, the model generation unit generates, as the learning model, a model that estimates a state quantity of an exhaust gas purification catalyst in the system having the exhaust gas purification catalyst, and the data acquisition unit may include, as the parameters, at least one of the flow rate of the exhaust gas flowing from the internal combustion engine to the purification catalyst, the temperature of the exhaust gas at an inlet of the purification catalyst, the temperature of the exhaust gas at an outlet of the purification catalyst, and the NOx concentration at the inlet of the purification catalyst. According to this configuration, a learning model can be generated that estimates the state quantities of the purification catalyst using the flow rate of the exhaust gas, the inlet and outlet temperatures of the exhaust gas, and the NOx concentration in the exhaust gas as input variables.

[0014] (6) According to another aspect of the present invention, there is provided a state quantity estimation device having the learning model generation device of the above aspect. This state quantity estimation device includes a storage unit that stores a catalyst state estimation model including the learning model generated by the early model generation unit and a physical model, and an estimation value calculation unit that estimates the state quantity of the purification catalyst by applying the input value included in the first data set acquired by the data acquisition unit and the error-added input value included in the second data set generated by the data generation unit as inputs to the catalyst state estimation model of the storage unit. According to this configuration, the state quantity estimation device estimates the state quantity of the purification catalyst using a catalyst state estimation model configured by combining a learning model generated by machine learning and a physical model. Therefore, it is possible to improve the estimation accuracy of the state quantity of the purification catalyst compared to a case where only one of the learning model or the physical model is used.

[0015] The present invention can be realized in various forms, for example, in the form of a learning model generation device, a learning device, a state quantity estimation device, and a system equipped with these devices, a learning model generation system, a computer program for executing these devices and methods, a server device for distributing this computer program, a non-transitory storage medium storing a computer program, etc. [Brief description of the drawings]

[0016] [Figure 1] 1 is an explanatory diagram of a state quantity estimating device according to an embodiment of the present invention; [Diagram 2] FIG. 1 is an explanatory diagram illustrating a process from data acquisition to generation of a learning model. [Diagram 3] FIG. 1 is an explanatory diagram illustrating a process from data acquisition to generation of a learning model. [Figure 4] FIG. 11 is an explanatory diagram of an estimated value calculation performed by an estimated value calculation unit. [Diagram 5] FIG. 13 is an explanatory diagram of an interpolation region expanded by a second data set. [Figure 6]4 is a flowchart of a state quantity estimation method. [Figure 7] FIG. 11 is an explanatory diagram of the estimation accuracy of the learning model of this embodiment. [Figure 8] FIG. 11 is an explanatory diagram of the estimation accuracy of a learning model of a comparative example. [Figure 9] 11 is an explanatory diagram for comparing state quantities estimated in the present embodiment and a comparative example. FIG. [Figure 10] 13 is a flowchart of a modified learning model generation method. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] <Embodiment> FIG. 1 is an explanatory diagram of a state quantity estimation device 100 according to an embodiment of the present invention. FIG. 1 shows a schematic block diagram of an internal combustion engine system 200 including an internal combustion engine 210, and the state quantity estimation device 100. The state quantity estimation device 100 of this embodiment generates a learning model by machine learning using a first data set DS1 including input values ​​and output values, and a second data set DS2 of error-added input values ​​and output values ​​to which an error has been added, as training data. Since the generated learning model uses the second data set DS2 including the error-added input values ​​as well as the first data set DS1 as training data, the estimation accuracy of the state quantity using the learning model is maintained high.

[0018] As shown in FIG. 1, the internal combustion engine system 200 includes an NSR catalyst (NOx Storage Reduction catalyst) 220 that purifies NOx (nitrogen oxides) in exhaust gas emitted from an internal combustion engine 210, an exhaust pipe 230 through which exhaust gas passes, a flow rate acquisition unit 231 that acquires the flow rate of exhaust gas emitted from the internal combustion engine 210, a NOx concentration acquisition unit 232 that acquires the NOx concentration in the exhaust gas, a front end temperature acquisition unit 233 that acquires the inlet gas temperature of the exhaust gas before it flows into the NSR catalyst 220, and a rear end temperature acquisition unit 234 that acquires the outlet gas temperature of the exhaust gas flowing out from the NSR catalyst 220.

[0019] The internal combustion engine 210 is, for example, a diesel engine or a gasoline engine with a lean-burn operation system. As shown in Fig. 1, the exhaust pipe 230 forms a main flow path through which exhaust gas from the internal combustion engine 210 flows. The flow rate acquisition unit 231 of this embodiment acquires a measurement signal measured by a Pitot tube flow meter provided in the exhaust pipe 230, thereby acquiring the flow rate of the exhaust gas. The NOx concentration acquisition unit 232 is a sensor that measures the NOx concentration in the exhaust gas flowing into the NSR catalyst 220. The front end temperature acquisition unit 233 and the rear end temperature acquisition unit 234 are temperature sensors.

[0020] The state quantity estimation device 100 of this embodiment shown in Fig. 1 takes various exhaust gas parameters (e.g., gas flow rate, NOx concentration, inlet gas temperature, outlet gas temperature, and NOx occlusion amount one time ago) as input values, and generates a learning model that estimates an output value from the input values ​​when the actual NOx occlusion rate in the NSR catalyst 220 is an output value. At this time, the state quantity estimation device 100 functions as a "learning model generation device." After generating the learning model, the state quantity estimation device 100 uses the generated learning model to estimate the NOx occlusion rate of the NSR catalyst 220 (state quantity of the purification catalyst), and determines whether the estimation accuracy of the state quantity satisfies the required performance.

[0021] The state quantity estimation device 100 includes a CPU (Central Process Unit) 10, a storage unit 20 that stores a learning model and a physical model used for estimating the state quantity, and a display unit 30 that displays various images. As shown in Fig. 1, the storage unit 20 includes a learning model database (learning model DB) 21 that stores the learning model, and a physical model database (physical model DB) 22 that stores the physical model in advance. The physical model will be described in detail later.

[0022] The CPU 10 executes various functions by expanding a computer program stored in a ROM (Read Only Memory) into a RAM (Random Access Memory) and executing the program. The CPU 10 of this embodiment functions as a data acquisition unit 11 that acquires a plurality of sensor values ​​acquired from the internal combustion engine system 200, a data generation unit 12 that generates a second data set DT2 from a first data set DS1 transmitted from the data acquisition unit 11, a model generation unit 13 that generates a learning model by machine learning using the first data set DS1 and the second data set DS2 as teacher data, a model acquisition unit 14 that acquires the generated learning model, an estimated value calculation unit 15 that calculates an estimated value of a state quantity using the learning model and a physical model stored in the storage unit 20, and a determination unit 16 that determines whether the accuracy of the calculated estimated value satisfies the required performance.

[0023] 2 and 3 are explanatory diagrams from data acquisition to generation of a learning model. FIG. 2 shows a schematic block diagram showing details of a model generated by the model generation unit 13 and a data set exchanged between the data acquisition unit 11, the data generation unit 12, and the model generation unit 13. As shown in FIG. 2, the data acquisition unit 11 acquires a first data set DS1 including input values ​​including one or more parameters and output values ​​corresponding to the input values. In this embodiment, five parameters (flow rate, inlet gas temperature, outlet gas temperature, NOx concentration, and NOx occlusion amount one time ago) consisting of four sensor values ​​acquired by each acquisition unit 231 to 234 and the NOx occlusion amount one time ago are adopted as input values. In addition, the NOx occlusion amount of the correct value in the NSR catalyst 220 is adopted as an output value. The data acquisition unit 11 transmits the acquired first data set DS1 to the model generation unit 13.

[0024] The data generating unit 12 of this embodiment generates an error-added input value by adding an error to one or more parameters among the four sensor values ​​included in the input value acquired by the data acquiring unit 11. Hereinafter, a case where the data generating unit 12 adds an error to the "inlet gas temperature", which is one of the parameters included in the input value, will be described as an example. Specifically, the data generating unit 12 generates two error-added input values ​​by setting the maximum error (e.g., +x2) and the minimum error (e.g., -x2) of the front end temperature acquiring unit 233 as errors to be added to the inlet gas temperature. Note that the data generating unit 12 of this embodiment adds an error of a magnitude according to the specification value of the front end temperature acquiring unit 233 as an error to be added to the inlet gas temperature. In other words, the above-mentioned ±x2 is the error range of the sensor value defined in the specification value of the front end temperature acquiring unit 233.

[0025] The data generating unit 12 generates a second data set DS2 using the error-added input values ​​generated as described above. Specifically, the data generating unit 12 generates the second data set DS2 including the error-added input values ​​and output values ​​corresponding to the input values ​​before the errors are added. The data generating unit 12 transmits the generated second data set DS2 to the model generating unit 13.

[0026] The data generating unit 12 also generates test data used to check the estimation accuracy of the generated learning model. Specifically, the data generating unit 12 generates test data from input values ​​included in the first data set DS1, the second data set DS2 including the error-added input value that is the maximum error, and the second data set DS2 including the error-added input value that is the minimum error. The data generating unit 12 transmits the test data to the estimated value calculating unit 15.

[0027] The model generation unit 13 generates a learning model by machine learning using the first data set DS1 transmitted from the data acquisition unit 11 and the second data set DS2 transmitted from the data generation unit 12 as teacher data. The model generation unit 13 of this embodiment generates a first NN model MD1, a second NN model MD2, and a third NN model MD3 by machine learning using a neural network (NN). The model generation unit 13 stores the generated learning models (the first to third NN models MD1 to MD3) in a learning model DB21 of the storage unit 20.

[0028] The first NN model MD1 is a model for estimating the "NOx purification rate" in the NSR catalyst 220. At least one of five parameters included in the input values ​​of the first data set DS1 or the error-added input values ​​of the second data set DS2 can be used as input variables for each of the first NN model MD1, the second NN model MD2, the third NN model MD3, and a physical model described below. The output variable of the first NN model MD1 is an estimated value of the NOx storage rate of the NSR catalyst 220 under the conditions represented by the input variables. Among the parameters acquired by the data acquisition unit 11, the "NOx storage amount one time ago" is a value calculated using the NOx purification rate estimated by the first NN model MD1 one time ago.

[0029] The second NN model MD2 is a model for estimating the "amount of NOx purified by the gas phase reaction" in the NSR catalyst 220. The output variables of the second NN model MD2 are estimated values ​​of the amount of NOx purified by the gas phase reaction in the NSR catalyst 220 under the conditions represented by the input variables.

[0030] The third NN model MD3 is a model for estimating the "NOx reduction amount" in the NSR catalyst 220. At least one of five parameters included in the input value of the first data set DS1 or the error-added input value of the second data set DS2, and the amount of additive that does not contribute to the reduction reaction estimated by a physical model described later can be used as the input variables of the third NN model MD3. The output variables of the third NN model MD3 are estimates of the amount of NOx reduction reduced by the reduction reaction or rich spike control under the conditions represented by the input variables. The rich spike control is a control that makes the air-fuel ratio in the internal combustion engine 210 rich for a short period of time, thereby discharging CO, H2, and other unburned gases such as HC (hereinafter also referred to as "CO, H2, HC, etc.") from the internal combustion engine 210.

[0031] The physical model stored in the physical model DB 22 of the storage unit 20 is a model for estimating "the amount of additives that do not contribute to the reduction reaction (amounts of CO, H2, HC, etc.)" in rich spike control. Depending on the temperature of the exhaust gas from the internal combustion engine 210 and the temperature of the NSR catalyst 220, the reduction reaction between the NOx stored in the NSR catalyst 220 and the additives may not progress sufficiently. The physical model estimates the amount of such additives that do not contribute to the reduction reaction. As an example of the physical model, the Arrhenius equation that estimates the amount of CO that does not contribute to the reduction reaction can be used.

[0032] The learning models (first to third NN models MD1 to MD3) stored in the learning model DB21 and the physical models stored in the physical model DB22 function as a "catalyst state estimation model." The catalyst state estimation model of this embodiment is a model for estimating a state quantity (e.g., NOx storage amount) of the NSR catalyst 220 using the NOx purification rate estimated by the first NN model MD1, the amount of NOx purified by the gas phase reaction estimated by the second NN model MD2, the amount of NOx reduced estimated by the third NN model MD3, and the amount of additive that does not contribute to the reduction reaction estimated by the physical model.

[0033] An image diagram of the learning model generation flow is shown in Fig. 3. As shown in Fig. 3, the model generation unit 13 performs machine learning using teacher data consisting of a first data set DS1 and a second data set DS2 including input values ​​(including input values ​​with errors) including five parameters and output values.

[0034] The model acquisition unit 14 transmits the catalyst state estimation model acquired from the storage unit 20 to the estimated value calculation unit 15. The estimated value calculation unit 15 calculates an estimated value of a state quantity (e.g., NOx storage amount) of the NSR catalyst 220 by inputting, as test data, each of the input values ​​included in the first data set DS1 and the input values ​​(including input values ​​with errors) included in the second data set DS2 to the catalyst state estimation model. Specifically, the estimated value calculation unit 15 calculates the NOx storage amount as an output variable by inputting, to the catalyst state estimation model, the NOx purification rate estimated by the first NN model MD1 from the test data, the NOx amount purified by the gas phase reaction estimated by the second NN model MD2 from the test data, the NOx reduction amount estimated by the third NN model MD3 from the test data, and the additive amount not contributing to the reduction reaction estimated by the physical model from the test data.

[0035] FIG. 4 is an explanatory diagram of the calculation of the estimated value by the estimated value calculation unit 15. As shown in FIG. 4, the estimated value calculation unit 15 calculates the NOx occlusion rate corresponding to each of the input value included in the first data set DS1, the error-added input value of the second data set DS2 in which the inlet gas temperature has the maximum error, and the error-added input value of the second data set DS2 in which the inlet gas temperature has the minimum error, using a learning model. The estimated value calculation unit 15 calculates the NOx occlusion amount as an estimated value of the state quantity corresponding to each calculated NOx occlusion rate. Note that in the graph of the inlet gas temperature of the two second data sets DS2 shown in FIG. 4, the inlet gas temperature not including the error included in the first data set DS1 for comparison is shown by a broken line. Similarly, in the graph of the NOx occlusion amount as the state quantity calculated using the two second data sets DS2, the graph of the NOx occlusion amount calculated using the first data set DS1 not including the error-added input value is shown by a broken line.

[0036] FIG. 5 is an explanatory diagram of the interpolation region RG1 expanded by the second data set DS2. FIG. 5 shows plots representing the NOx occlusion amount calculated by the estimated value calculation unit 15, and approximation curves y1, y2, and y3 calculated from the plots. The approximation curve y1 is a curve approximating the NOx occlusion amount (plot of small black circles) calculated from the input value of the first data set DS1. The approximation curve y2 is a curve approximating the NOx occlusion amount (plot of large white circles) calculated from the error-added input value of the second data set DS2, which is the maximum error. The approximation curve y3 is a curve approximating the NOx occlusion amount (plot of large hatched circles) calculated from the error-added input value of the second data set DS2, which is the minimum error. As shown in FIG. 5, the error-added input values ​​corresponding to the maximum error and the minimum error are used as test data, so that an interpolation region RG1 enclosed between the approximation curves y2 and y3 is formed.

[0037] The determination unit 16 determines whether the estimated value of the state quantity calculated by the estimate value calculation unit 15 is within the allowable error range as the required specification. When the determination unit 16 determines that the estimated value of the state quantity satisfies the required specification, it stores it in the learning model DB 21 as a learning model that satisfies the required specification. When the determination unit 16 determines that the estimated value of the state quantity does not satisfy the required specification, the model generation unit 13 re-determines the learning algorithm and the hyperparameters including the number of nodes in the intermediate layer, and generates a new learning model.

[0038] Fig. 6 is a flowchart of a state quantity estimation method. In the state quantity estimation flow shown in Fig. 6, first, the data generation unit 12 generates teacher data (step S1). The teacher data includes a first data set DS1 acquired by the data acquisition unit 11 and a second data set DS2 generated by the data generation unit 12. The data generation unit 12 generates each of the first data set DS1 and the second data set DS2 as test data (step S2).

[0039] The model generation unit 13 determines a learning algorithm and hyperparameters (step S3). The model generation unit 13 generates a learning model using the determined learning algorithm and hyperparameters and teacher data (step S4). The judgment unit 16 checks the estimation accuracy of the state quantity calculated by the estimate value calculation unit 15 using the learning model, the physical model, and the test data (step S5). The judgment unit 16 judges whether or not the estimate value calculation unit 15 has calculated estimate values ​​corresponding to all the test data (step S6). If estimate values ​​corresponding to all the test data have not been calculated (step S6: NO), the process of step S5 is performed.

[0040] In the process of step S6, when the determination unit 16 determines that the estimated values corresponding to all the test data have been calculated (step S6: YES), it determines whether the calculated estimation accuracy meets the required specifications (step S7). When it is determined that the calculated estimation accuracy does not meet the required specifications (step S7: NO), the processes after step S3 are performed. When it is determined that the calculated estimation accuracy meets the required specifications (step S7: YES), the learning model that meets the required specifications is stored in the learning model DB21, and the state quantity estimation flow ends.

[0041] FIG. 7 is an explanatory diagram of the estimation accuracy of the learning model of the present embodiment. FIG. 7 shows the time change of the estimated value of the NOx occlusion amount calculated by the learning model of the present embodiment. In FIG. 7, the output value is represented by a thin solid line as the correct value, the estimated value calculated using the test data with an error of +x2 is shown by a thick broken line, the estimated value calculated using the test data with an error of +x1 (<x2) is shown by a thick two-dot chain line, the estimated value calculated using the test data without an error is shown by a thin one-dot chain line, the estimated value calculated using the test data with an error of -x1 is shown by a thin broken line, and the estimated value calculated using the test data with an error of -x2 is shown by a thick solid line. Note that "x1" and "x2" are arbitrary positive numbers.

[0042] FIG. 8 is an explanatory diagram of the estimation accuracy of the learning model of the comparative example. FIG. 8 shows the time change of the estimated value of the NOx occlusion amount calculated by the learning model of the comparative example. The learning model of the comparative example is a model in which only the first data set DS1 that does not include an error in the input value of the present embodiment is machine-learned as teacher data. The scale of the graph shown in FIG. 8 is the same as the scale of FIG. 7. The line types of the various estimated values shown in FIG. 8 correspond to the line types shown in FIG. 7.

[0043] FIG. 9 is an explanatory diagram for comparing the state quantities estimated in this embodiment and the comparative example. FIG. 9 shows the maximum absolute error, which is the ratio of the maximum value of the difference between the NOx occlusion amount, which is the estimated state quantity, and the correct value, to the error given to the test data, which is derived from FIG. 7 and FIG. 8. The estimated value in this embodiment is shown by the broken line L1 (solid line), and the estimated value in the comparative example is shown by the broken line L2 (dashed line). The maximum absolute error is the maximum value among the values ​​obtained by dividing the absolute value of the difference between the estimated value and the correct value by the correct value. That is, in this embodiment, even if an error is included in the input value, it is possible to suppress a decrease in the estimation accuracy of the state quantity.

[0044] As described above, in the state quantity estimation device 100 of this embodiment, the data acquisition unit 11 acquires the first data set DS1 including five parameters (flow rate, inlet gas temperature, outlet gas temperature, NOx concentration, and NOx occlusion amount one time ago) and the correct value of the NOx occlusion amount in the NSR catalyst 220 as an output value. The data generation unit 12 generates an error-added input value by adding an error to the inlet gas temperature among the four sensor values ​​included in the input value acquired by the data acquisition unit 11. The data generation unit 12 generates a data set including the error-added input value and the output value included in the first data set DS1 corresponding to the input value before the error is added as the second data set DS2. The model generation unit 13 generates a learning model by machine learning using the first data set DS1 and the second data set DS2 as teacher data. The learning model has a property of being unable to approximate an extrapolation region in which the data density of the input value used during learning is low. Therefore, when an error is included in the input value, the input value becomes the extrapolation region, and as shown in Figs. 8 and 9, the estimation accuracy in the extrapolation region decreases. That is, when an input value includes an error, the estimation accuracy of the estimated value of the state quantity calculated by the learning model decreases. According to the state quantity estimation device 100 of this embodiment, in addition to the set of input values ​​and output values ​​(first data set DS1) that has been used as teacher data when generating a learning model in the past, a set of input values ​​with errors and output values ​​(second data set DS2) is used as teacher data to generate a learning model by performing machine learning. Therefore, the input value including an error becomes the interpolation region RG1 instead of the extrapolation region. Thereby, in the state quantity estimation device 100 of this embodiment, even when an input including an error is given, it is possible to provide a learning model that can maintain the estimation accuracy of the state quantity. As a result, as shown in Figs. 7 and 9, robustness against input values ​​including an error such as a sensor value can be improved, and the deterioration of the estimation accuracy of the calculated state quantity can be suppressed.

[0045] Moreover, the data generating unit 12 of this embodiment sets the error to be assigned to the inlet gas temperature within the error range acquired by the front end temperature acquiring unit 233. That is, the error included in the error-added input value of the second data set DS2 is set within the error range assumed for the correct inlet gas temperature of the front end temperature acquiring unit 233. As a result, in this embodiment, the estimation accuracy of the state quantity calculated by the learning model can be maintained at a higher level.

[0046] Furthermore, the data generating unit 12 of this embodiment generates an error-added input value in which the maximum error (e.g., +x2) and minimum error (e.g., -x2) of the front end temperature acquiring unit 233 are set as errors to be added to the inlet gas temperature. By adding the maximum error or the minimum error to the input value, the model generating unit 13 can generate a learning model using teacher data including the maximum error that the actual front end temperature acquiring unit 233 can take. This increases the interpolation region RG1 of the estimated value of the state quantity, and the estimation accuracy of the state quantity can be maintained at a high level within the range of errors that the actual front end temperature acquiring unit 233 can take.

[0047] Further, the data acquisition unit 11 of this embodiment acquires five parameters consisting of the four sensor values ​​acquired by each of the acquisition units 231 to 234, or values ​​derived from the sensor values, and the NOx occlusion amount one time ago. The model generation unit 13 generates a learning model that estimates the NOx occlusion rate as a state quantity in the NSR catalyst 220. According to this embodiment, the state quantity of the internal combustion engine system 200 having the internal combustion engine 210 can be estimated using the learning model generated by the state quantity estimation device 100. The internal combustion engine system 200 having the internal combustion engine 210 generally requires input values ​​including a wide variety of parameters to estimate the state quantity. By using the learning model, the state quantity of the internal combustion engine system 200 having such an internal combustion engine 210 can be estimated simply and with high accuracy.

[0048] Furthermore, the model generation unit 13 of this embodiment generates a learning model that estimates the state quantities of the NSR catalyst 220 in the internal combustion engine system 200. The parameters acquired by the data acquisition unit 11 include the flow rate of exhaust gas, the inlet gas temperature of exhaust gas flowing into the NSR catalyst 220, the outlet gas temperature of exhaust gas discharged from the NSR catalyst 220, and the NOx concentration in the exhaust gas. The state quantity estimation device 100 of this embodiment can generate a learning model that estimates the state quantities of the NSR catalyst 220 using the flow rate of exhaust gas, the inlet and outlet temperatures of exhaust gas, and the NOx concentration in exhaust gas as input variables.

[0049] The state quantity estimation device 100 of this embodiment also includes a storage unit 20 including a learning model DB 21 that stores a learning model, and a physical model DB 22 that stores a physical model. The estimated value calculation unit 15 estimates the amount of NOx occlusion in the NSR catalyst 220 using, as test data, the input values ​​of the first data set DS1 acquired by the data acquisition unit 11 and the error-added input values ​​of the second data set DS2 generated by the data generation unit 12. The state quantity estimation device 100 of this embodiment calculates the amount of NOx occlusion in the NSR catalyst 220 using a catalyst state estimation model configured by combining a learning model generated by machine learning and a physical model. Therefore, the estimation accuracy of the amount of NOx occlusion in the NSR catalyst 220 can be improved compared to the case where only one of the learning model or the physical model is used.

[0050] <Modifications of the above embodiment> The present invention is not limited to the above-described embodiment, and can be embodied in various forms without departing from the spirit of the present invention. For example, the following modifications are also possible. In the above-described embodiment, a part of the configuration realized by hardware may be replaced by software, and conversely, a part of the configuration realized by software may be replaced by hardware. The present invention is not limited to the above-described embodiment, and can be embodied in various forms without departing from the spirit of the present invention.

[0051] In the above embodiment, the state quantity estimation device 100 has been described as an example of a learning model generation device that generates a learning model, but the configuration of the state quantity estimation device 100 and the control that it executes can be modified. The learning model generation device can be modified to the extent that it includes a data generation unit 12 that uses a first data set DS1 to generate a second data set DS2 including an input value with an error, and a model generation unit 13 that uses the first data set DS1 and the second data set DS2 as teacher data to generate a learning model by machine learning. For example, the state quantity estimation device 100 does not need to include the display unit 30 and the storage unit 20, and does not need to function as the model acquisition unit 14, the estimated value calculation unit 15, and the determination unit 16. In other words, the state quantity estimation device 100 may be a learning model generation device that does not generate a learning model and determine the estimation accuracy of the state quantity. The state quantity estimated by the state quantity estimation device 100 is not limited to the amount of NOx stored by the NSR catalyst 220 from the exhaust gas of the internal combustion engine system 200, and can be modified according to a data set of input values ​​and output values ​​including one or more parameters acquired by the data acquisition unit 11.

[0052] Although the data generating unit 12 of the above embodiment assigns an error only to the parameter of the front end temperature acquiring unit 233, the number of parameters to which an error is assigned may be two or more, or may be a parameter other than the front end temperature acquiring unit 233. The data generating unit 12 generates two second data sets DS2 including a maximum error and a minimum error as errors to be assigned as input values ​​with errors, but the errors assigned to the parameters can be modified. The errors assigned to the parameters are preferably within the range of the error of the sensor value according to the sensor specification values. In this specification, the "sensor value" includes not only a value directly acquired by the sensor, but also an indirect value derived using the sensor value. Therefore, the "error of the sensor value" also includes an error that occurs in an indirect value derived using the sensor value due to an error in the value directly acquired by the sensor. The generated second data set DS2 may include a data set corresponding to an intermediate error between the maximum error and zero in addition to a data set corresponding to each of the maximum error and the minimum error, and can be modified.

[0053] As shown in FIG. 2, the model generation unit 13 in the above embodiment calculates the NOx occlusion amount as a state quantity using both the machine learning model using a neural network (the first NN model MD1, the second NN model MD2, and the third NN model MD3) and the physical model, but the state quantity may be calculated without using the physical model. In addition, the number of models using a neural network included in the generated learning model may be two or less, or may be four or more. The model generation unit 13 may perform machine learning using a model other than a neural network. In order to calculate the NOx occlusion amount of the NSR catalyst 220, the model generation unit 13 uses five parameters (flow rate, inlet gas temperature, outlet gas temperature, NOx concentration, and NOx occlusion amount one time ago) consisting of the four sensor values ​​acquired by each acquisition unit 231 to 234 and the NOx occlusion amount one time ago, but it is not necessary to use all of the five parameters. The data acquisition unit 11 may acquire parameters other than the five parameters, and the model generation unit 13 may generate a learning model using the acquired different parameters.

[0054] Fig. 10 is a flowchart of a learning model generation method according to a modified example. In the learning model generation flow shown in Fig. 10, first, the data acquisition unit 11 acquires a first data set DS1 (step S11). The data generation unit 12 generates a second data set DS2 using the first data set DS1 (step S12). The model generation unit 13 generates a learning model by machine learning using the first data set DS1 and the second data set DS2 as teacher data (step S3).

[0055] Although the present aspect has been described above based on the embodiment and modified examples, the above-mentioned embodiment of the aspect is intended to facilitate understanding of the present aspect and does not limit the present aspect. The present aspect may be modified or improved without departing from the spirit and scope of the claims, and equivalents are included in the present aspect. Furthermore, if a technical feature is not described as essential in this specification, it may be deleted as appropriate. [Explanation of symbols]

[0056] 10…CPU 11…Data acquisition section 12...Data generation section 13…Model generation section 14…Model Acquisition Section 15...Estimated value calculation section 16…Judgment section 20...Storage section 21…Learning model DB 22…Physical model database 30...Display section 100...State quantity estimator (learning model generator) 200…Internal combustion engine system 210…Internal combustion engine 220...NSR catalyst 230…Exhaust pipe 231...Flow rate acquisition section 232...NOx concentration acquisition section 233...Front end temperature acquisition section 234...Rear end temperature acquisition section DS1: First data set DS2: Second Data Set MD1...First Neural Network Model MD2: Second NN model MD3...3rd NN model RG1…Interpolation area x1,x2…Error

Claims

1. A learning model generation device, a data acquisition unit that acquires a first data set including input values ​​including one or more parameters and output values ​​corresponding to the input values; a data generating unit that generates an error-added input value by adding an error to at least one of the one or more parameters included in the acquired input value, and generates a second data set including the error-added input value and an output value corresponding to the input value before the error is added; a model generation unit that generates a learning model by machine learning using the first data set and the second data set as training data; Equipped with A learning model generation device in which the data generation unit sets the magnitude of error to be assigned to the parameter within the error range of the sensor value output from the sensor, depending on the specifications of the sensor used to acquire the parameter.

2. The learning model generating device according to claim 1 , A learning model generating device, wherein the data generating unit sets a maximum error or a minimum error of the sensor value as the error to be assigned to the parameter.

3. The learning model generating device according to claim 1 or 2, the model generation unit generates, as the learning model, a model for estimating a state quantity of a system having an internal combustion engine; A learning model generating device, wherein the data acquisition unit includes, as the parameters, sensor values ​​of a sensor that acquires physical quantities of the system.

4. The learning model generating device according to claim 3, the model generation unit generates, as the learning model, a model that estimates a state quantity of a purification catalyst in the system having the purification catalyst for exhaust gas; The data acquisition unit acquires, as the parameter of the input value, A flow rate of the exhaust gas flowing from the internal combustion engine to the purification catalyst; and the temperature of the exhaust gas at the inlet of the purification catalyst; the temperature of the exhaust gas at the outlet of the purification catalyst; A NOx concentration at an inlet of the purification catalyst; A learning model generation device including at least one of the above.

5. A state quantity estimating device having the learning model generating device according to claim 4, a storage unit that stores a catalyst state estimation model including the learning model generated by the model generation unit and a physical model; an estimation value calculation unit that estimates a state quantity of the purification catalyst by applying, as input, the input value included in the first data set acquired by the data acquisition unit and the error-added input value included in the second data set generated by the data generation unit to the catalyst state estimation model in the storage unit; A state quantity estimating device comprising:

6. A learning model generation method, comprising: a data acquisition step of acquiring a first data set including input values, the input values ​​including one or more parameters, and output values ​​corresponding to the input values; a data generating step of generating an error-added input value by adding an error to at least one of the one or more parameters included in the acquired input value, and generating a second data set including the error-added input value and an output value corresponding to the input value before the error is added; a model generation step of generating a learning model by machine learning using the first data set and the second data set as training data; Equipped with A learning model generation method in which the data generation step sets the magnitude of error to be assigned to the parameter within the error range of the sensor value output from the sensor, depending on the specifications of the sensor used to acquire the parameter.

7. A computer program for causing a computer to generate a learning model, a data acquisition function that acquires a first data set including input values, the input values ​​including one or more parameters, and output values ​​corresponding to the input values; a data generating function that generates an error-added input value by adding an error to at least one of the one or more parameters included in the acquired input value, and generates a second data set including the error-added input value and an output value corresponding to the input value before the error is added; a model generation function that generates a learning model by machine learning using the first data set and the second data set as training data; Realize this, The data generation function is a computer program that sets the magnitude of error to be assigned to the parameter within the error range of the sensor value output from the sensor, depending on the specifications of the sensor used to acquire the parameter.

Citation Information

Patent Citations

  • Exhaust emission control device for internal combustion engine

    JP2009180086A

  • Atmospheric temperature estimation device, atmospheric temperature estimation method, program, and system

    JP2019060642A

  • Catalyst state estimation device, method for estimating state of catalyst, and computer program

    JP2019167948A

  • System, Device, and Method for Feature Generation, Selection, and Classification for Audio Detection of Anomalous Engine Operation

    US20180005463A1

  • Method for generating neural network model, and control device using neural network model

    WO2020178936A1