technical articles

using deep learning networks to estimate nox emissions -凯发k8网页登录

by nicoleta-alexandra stroe and vincent talon, renault


renault is actively developing next-generation technology for zero-emissions vehicles (zevs). at the same time, we are working to make internal combustion engine (ice) vehicles cleaner and more efficient. one area of focus is the reduction of harmful emissions. ices generate oxides of nitrogen (nox), which contribute to smog, acid rain, and greenhouse gases. to minimize nox, we need accurate estimates of emissions at different engine operating points—for example, at various combinations of torque and engine speed.

running tests on a real engine is costly and often time-consuming, and so nox estimates have traditionally been calculated using lookup tables or combustion models. these methods have several drawbacks. lookup tables lack accuracy, while combustion models are exceptionally difficult to create due to the complexity of the equations needed to capture emission dynamics. physical models of nox are highly complex and difficult to use over the entire operating range of an engine; moreover, they cannot be run in real time on an ecu.

we recently began modeling engine-out nox (emissions issuing directly from the engine and not from the aftertreatment system) using a long short-term memory (lstm) network, a type of neural network that excels in learning, processing, and classifying sequential data. the lstm was much easier to create than a combustion model. even though we are not specialists in deep learning, using matlab® and deep learning toolbox™ we were able to create and train a network that predicts nox emissions with almost 90% accuracy.

designing and training the lstm network

we obtained our training data from tests conducted on an actual engine. during these tests, the engine was put through common drive cycles, including the worldwide harmonized light vehicles test cycles (wltc) and new european driving cycle (nedc), as well as real driving emissions (rde) tests. the captured data provided input to the network. it included engine torque, engine speed, coolant temperature, and gear number emissions.

we then created a simple lstm network using a matlab script. although this initial network only consisted of an lstm layer, a rectified linear unit (relu) layer, a fully connected (fc) layer, and a regression output layer, it performed surprisingly well. we suspected, however, that we could increase its accuracy by adding more layers. we took care not to increase the size of the network to the point where it would cause overfitting or take up too much memory on the ecu.

we updated the matlab script to add layers and explored several network configurations. selection of the best network configuration and architecture was performed manually, since the network size was small. the trial-and-error method enabled us to exploit the physical properties of the system. for instance, for a system with high nonlinearities, we would choose multiple relu layers, whereas for a thermal system, multiple lstm layers would be more appropriate. we settled on a network that had a single lstm layer, three relu layers, three fc layers, and a regression output layer. this version of the lstm network achieved 85–90% accuracy in predicting nox levels compared with the 60–70% accuracy that we saw with lookup tables (figure 1).

figure 1. measured nox emissions from an actual engine and modeled nox emissions from the lstm network.

figure 1. measured nox emissions from an actual engine (blue) and modeled nox emissions from the lstm network (orange).

incorporating the network into system-level simulations

once we had a trained lstm network, we made it available to other renault teams for use in their simulink® simulations. one team incorporated it into a model that used the engine-out nox level from the network as input to an aftertreatment system. the team then ran simulations to measure the nox conversion efficiency of the aftertreatment system at various engine operating points. by introducing lstms into system simulations, the team acquired information not easily accessed with physical or empirical models. renault teams are also using the lstm neural network in simulations to evaluate the performance of onboard diagnostics (obd) systems and to assess engine emissions for new drive cycles.

deep learning follow-on projects

our successful implementation of an lstm network for predicting nox emissions levels has led to several follow-on projects at renault. in one project, we used a tool built for us by mathworks consultants to generate c code from the lstm network as a proof-of-concept demonstration. generating code in this way will enable us to deploy the nox emissions estimator on an ecu. as part of a simulation platform dedicated to the obd system, the lstm will enable on-the-fly, round-the clock detection of unhealthy or faulty conditions, as mandated by emission standards.

when embedded into ecus, deep neural networks—in particular, deep lstms—can present a challenge. our ecus are not very powerful computers, which means we need to trade off the complexity of the lstm (and hence, the quality of the prediction) against the ecu’s capacity to run the calculations. for our applications, the networks were relatively small, and could be easily integrated into kalman filters if needed.

more recently, we’ve extended our use of deep learning with matlab. for this effort, we are using reinforcement learning to develop strategies for air path control in renault engines.

published 2021

learn more

  • - documentation
  • - video
  • - article
  • - article

view articles for related capabilities

view articles for related industries

网站地图