Professional Documents
Culture Documents
Published in:
2012 IFAC Workshop on Engine and Powertrain Control, Simulation and Modeling
DOI:
10.3182/20121023-3-FR-4025.00063
2012
Link to publication
General rights
Unless other specific re-use rights are stated the following general rights apply:
Copyright and moral rights for the publications made accessible in the public portal are retained by the authors
and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the
legal requirements associated with these rights.
• Users may download and print one copy of any publication from the public portal for the purpose of private study
or research.
• You may not further distribute the material or use it for any profit-making activity or commercial gain
• You may freely distribute the URL identifying the publication in the public portal
LUNDUNI
VERSI
TY
PO Box117
22100L und
+4646-2220000
Abstract: Cylinder pressure sensors provide detailed information on the diesel engine com-
bustion process. This paper presents a method to use cylinder-pressure data for prediction
of engine emissions by exploiting data-mining techniques. The proposed method uses principal
component analysis to reduce the dimension of the cylinder-pressure data, and a neural network
to model the nonlinear relationship between the cylinder pressure and emissions. An algorithm
is presented for training the neural network to predict cylinder-individual emissions even though
the training data only provides cylinder-averaged target data. The algorithm was applied to an
experimental data set from a six-cylinder heavy-duty engine, and it is verified that trends in
emissions during transient engine operation are captured successfully by the model.
1 X X
C M
Fig. 2. Structure of neural network for cylinder-individual ¯
ζ̂nk = ζ̂nkc = βk0 + βkm z̄nm (8)
prediction of emissions. Note that the functions C c=1 m=1
fN N (·) and parameters θ are the same for all cylin- Here, z represent the hidden layer variables, and α0 , α, β0 ,
ders. β are the network parameters.
N number of data Cost function For training of the network, a cost func-
K dimension of ζn (number of network outputs) tion R built from a prediction error term Rpe and a
L dimension of qn (number of network inputs) regularization term Rreg is defined
M dimension of zn (number of hidden nodes)
R = Rpe + γRreg , (9)
C number of cylinders
where γ is constant weight. The prediction error cost is
given by
Table 1. Summary of notation for the neural 1 XX
N K
¯
network model. Rpe = (ζnk − ζ̂nk )2 (10)
2 n=1
k=1
and the regularization cost by
data. There is consequently a significant dimensionality
1 XXX
N K C
reduction in going from p to w. ¯
Rreg = (ζ̂nkc − ζ̂nk )2 . (11)
2C n=1 c=1
k=1
The regularization term is included to avoid overfitting
2.2 Neural network model from q to ζ by penalizing the difference between the predicted output
of the individual cylinders ζ̂nkc and the predicted average
A neural network is proposed to predict the target variable ¯
ζ̂nk .
ζ from the set of reduced variables q. We assume that
q is available for each cylinder individually, whereas the Network training Optimization of R with respect to
training data only provide y measured in the exhaust flow θ = {β0 , β, α0 , α} can be performed through a gradient
common to all cylinder. We wish to train a neural network descent method
model fN N (qc , θ) that predicts ζc individually for each dR (τ )
cylinder by assuming that the network parameters θ are θ(τ +1) = θ(τ ) − η (τ ) (θ ). (12)
dθ
common to all cylinders, and that mixing of the exhaust Algebraic expressions for the derivative of R with respect
flow averages emissions over the cylinders, to θ are found in Appendix A. The step size η τ is chosen
iteratively such that R is decreased in each iteration τ .
1 X 1 X
C C
ζ= ζc = fN N (qc , θ) (3) The training scheme is summarized in Algorithm 1.
C c=1 C c=1
The model is illustrated in Fig. 2. 3. EXPERIMENTAL DATA
λ
3: Compute R(θ) for each θ (0) and select the one that
1.4
1.2
gives the smallest cost. 1.0
0 20 40 60 80 100
4: Let η (0) = 1.
1000
4.1 Network structure
predicted ζ̂N N
over the union of Zk over the outputs. The purpose was 4
to include more samples from transients with large peaks
in emissions. 3
The network training algorithm was implemented in
Python. 2
4.2 Validation 1
predicted ζ̂N N
over the entire data set were
Rλ2 = 0.92 RMSEλ = 0.074
2 500
RNOx = 0.90 RMSENOx = 74 ppm (15)
2
Rop = 0.74 RMSEop = 1.9%
0
4.3 Example: EBP transient
×107
90 −4.0
w1
−4.8
80 −5.6
u EBP
w2
−2
−4
60
0×106 200 400 600 800 1000
3
2
w3
50 1
0 200 400 600 800 1000
0
p - cyl 2 (bar) −1
0×106 200 400 600 800 1000
0.8
80
30 0.0
w4
72 −0.8
20
64 0×106 200 400 600 800 1000
1.0
10
CAD
56 0.5
w5
0.0
0 48 −0.5
−1.0
−10 40 0×105 200 400 600 800 1000
8
32 4
−20
w6
0
24 −4
−30
0 200 400 600 800 0×106 200 400 600 800 1000
cycle 1
w7
0
−1
−2
Fig. 6. Data from transient experiment used to illustrate 0×105 200 400 600 800 1000
8
virtual sensor performance. We can see the effect on
4
the cylinder pressure when the exhaust back pressure
w8
0
valve position uEBP was changed.
−4
0 200 400 600 800 1000
5. CONCLUSIONS cycle
70 70
sented here has been validated on a cycle-to-cycle cylinder- 60 60
1.8