You are on page 1of 6

PID CONTROLLERS AND THEIR TUNING

FOR EGR AND VGT CONTROL IN DIESEL


ENGINES

Johan Wahlstrom Lars Eriksson Lars Nielsen


Magnus Pettersson


Vehicular Systems, Linkoping University, SWEDEN
Email: johwa@isy.liu.se

Scania CV AB, NEE, Sodertalje, SWEDEN

Abstract: A PID structure is proposed and investigated for coordinated control


of EGR-valve and VGT-position in heavy duty diesel engines. Control goals are
to fulfill the legislated emission levels and safe operations of the engine and
the turbocharger. These goals are achieved through regulation of the following
performance variables: normalized air/fuel ratio , intake manifold EGR-fraction
as well as turbocharger speed. A systematic tuning strategy for the PID controllers
is also developed and the tuning rules and their performance is successfully
illustrated on a demanding part of the European Transient Cycle. Further, it is
demonstrated that the VGT-position to turbocharger speed loop does benefit from
a derivative part in order to predict high turbocharger speeds. This is due to the
c
large time constant in the corresponding open-loop transfer function. Copyright
2005 IFAC

Keywords: emission control, air-fuel ratio control, turbocharger speed control

1. INTRODUCTION 1.1 Foundation for the controller

Load control is necessary, since the drivers de-


Legislated emission limits for heavy duty trucks mand must be actuated, and this is achieved
are constantly reduced. To fulfill the require- through basic fuel control using feed forward.
ments, technologies like Exhaust Gas Recircula- The primary emission reduction mechanisms uti-
tion (EGR) systems and Variable Geometry Tur- lized in the controller is that N Ox can be re-
bochargers (VGT) have been introduced. To reach duced by increasing the intake manifold EGR-
the legislated emissions limits, primarily N Ox and fraction and smoke can be reduced by increasing
smoke, it is necessary to have coordinated con- (Heywood, 1988). Thus the emission limits are
trol of the EGR and the VGT. Various control formulated as set-points in EGR-fraction and .
approaches regarding emission control have been It is also important to monitor and control tur-
published and can be found in Jankovic et al. bocharger speed since aggressive transients can
(1998), Nieuwstadt et al. (2000), Stefanopoulou cause damage through overspeeding.
et al. (2000), and Ruckert et al. (2004). In this
paper the approach and goal is to develop a simple 1.2 Control objectives
control structure together with systematic tuning
rules that an engineer can use on an engine test The engine torque, normalized air/fuel ratio ,
bench to tune the controllers. intake manifold EGR-fraction and turbocharger
uegr
EGR cooler W_c

u_deltamax
lambda_min f(u)
min 1
Smoke limiter u_delta
Min
n_e u_deltaSetp
Wegr
udelta
f(u)
M_eSetp
uvgt
Turbine Delta feed forward
pim Wei Weo pem
Tim Tem lambda e_lambda
Wt
e_xegr u_egr 2
Intake Exhaust u_egr
manifold manifold lambda_Setp
TCSL
PID u_egr
nt
Cylinders x_egrSetp

x_egr
Wc
e_xegr

n_tSetp e_nt u_vgt 3


Intercooler Compressor TCSL
u_vgt

PID u_vgt
n_t
Fig. 1. The structure of the diesel engine model.
speed are chosen as performance variables to be n_tmax e_ntmax TCSL

controlled. To follow a driving cycle while main- Signals Turbocharger speed limiter

taining low emissions and suitable turbocharger


speeds during a test cycle the performance vari- Fig. 2. The control structure in Mat-
ables above are given following control objectives. lab/Simulink.
(1) Follow the set-point engine torque from the tailed description of the modeling and validation
driving cycle. see Wahlstrom (2004).
(2) is not allowed to go below a minimum limit,
otherwise there will be too much smoke.
(3) Minimize the error between the EGR-fraction 3. CONTROL STRUCTURE
and its set-point. There will be more N Ox if
the EGR-fraction is too low and there will be The control design objective is to coordinate u ,
more smoke if the EGR-fraction is too high. uegr , and uvgt in order to achieve the control
(4) The turbocharger speed is not allowed to objectives in Section 1.2 using a PID structure.
exceed a maximum limit, otherwise the tur- In Figure 2 a Matlab/Simulink schematic of the
bocharger can be damaged. control structure is shown.
The aim of this paper is to achieve these control
objectives using a PID structure, and to develop
3.1 Signals
a tuning method for the PID parameters. The
tuning strategy is developed and illustrated using
The signals needed for the controller can be seen
simulations of the closed-loop system.
in the block Signals in Figure 2. Compressor air
mass flow Wc , engine speed ne , and turbocharger
speed nt are measured. It is assumed that
2. DIESEL ENGINE MODEL
and xegr can be estimated using observers. The
observer design is very important, but it is not
The structure of the model can be seen in Figure 1.
the focus in this paper.
The engine model is a mean value model with
three main states: intake manifold pressure pim , The set-points and limits for the controllers
exhaust manifold pressure pem , and turbocharger are obtained from stationary measurements with
speed nt . emissions just below the legislated requirements,
and represented as look-up tables as a function of
The inputs to the model are fueling rate u , EGR-
operation condition. In the tuning section 4 these
valve position uegr , VGT actuator position uvgt ,
set-points are held constant.
and engine speed ne . The EGR-valve is closed
when uegr = 0 % and open when uegr = 100 %.
The VGT is closed when uvgt = 100 % and open
3.2 Feed forward
when uvgt = 0 %.
The model has been verified against test cell mea- The engine torque is controlled to its set-point
surements and gives good agreement. For a de- MeSetp with the control signal u using feed for-
ward. The block Delta feed forward in Figure 2 The block Smoke limiter in the top of Figure 2
calculates the set-point value for u . calculates the maximum value of u in order to
avoid overshoots in . The calculation is based
uSetp = c1 MeSetp + c2 n2e + c3 ne + c4
on engine speed ne , air mass flow through the
The parameters c1 to c4 are estimated from sta- compressor Wc , and lower limit of lambda min .
tionary measurements.
Wc 120
umax =
min (A/F )s 106 ncyl ne
3.3 Feedback loops
The block Turbocharger speed limiter in the
is controlled to a set-point Setp with the bottom of Figure 2 is a PD controller that cal-
control signal uegr . This causes a closing of the culates the signal T CSL in order to reduce over-
EGR-valve during a load transient in order to shoots in nt .
speed up the turbocharger and increase the air T CSL = max (pd (entmax ) , 0)
mass flow into the engine. It is not convenient to
control with uvgt with a linear control strategy Apart from no integral part, the PD controller
since the corresponding transfer function has a has the same structure as Equation (2). When the
sign reversal when the operating point is changed output from the PD controller is positive, T CSL
(Kolmanovsky et al., 1997). opens the EGR-valve and the VGT according to
Equation (1).
The intake manifold EGR-fraction xegr is con-
trolled to its set-point xegrSetp with the control
signal uvgt . This feedback loop causes a closing of
4. CONTROLLER TUNING
the VGT during a load transient in order to speed
up the turbocharger.
The tuning parameters Kj , Tij , and Tdj in Equa-
If the VGT is closed too much nt may exceed tion (2) are obtained by first initializing them
the maximum limit ntmax . This can be avoided (without derivative part) using the Astrom-Hagg-
by controlling nt with uvgt to a set-point ntSetp lund step-response method for pole-placement
which has a value slightly lower than the maxi- (Astrom and Hagglund, 1995). Then the param-
mum limit. The appropriate value for uvgt is then eters are fine tuned using the methods described
the smallest value of the outputs from the two below in order to achieve the control objectives.
different controllers.
In some operating points there is too much EGR,
4.1 Tuning order
although the VGT is fully open. Therefore xegr
is also controlled by the control signal uegr . The
After the initialization the following tuning order
appropriate value for uegr is then the smallest
is applied:
value of the outputs from the two different PID
controllers. (1) uegr to loop (Section 4.3)
(2) uegr to xegr loop (Section 4.3)
The two PID controller blocks in Figure 2 have
(3) uvgt to xegr loop (Section 4.4)
the following main equations
(4) uvgt to nt loop (Section 4.4)
uegr = min (pid (e ) , pid (exegr )) + T CSL (5) T CSL to nt loop (Section 4.5)
(1)
uvgt = min (pid (exegr ) , pid (ent )) T CSL This order follows the causality of the system,
The PID controllers are implemented in differen- i.e. the order that the signals in Figure 2 start
tial form with anti-windup. Each PID controller changing in a load transient
has the following structure MeSetp u uegr
 
1 xegr uvgt nt T CSL
F (s) = Kj 1 + + Tdj s (2)
Tij s
which is obtained by taking the smallest time
where the index j is the feedback loop number constants of the different loops into consideration.
according to the tuning order in Section 4.1.

4.2 Fine tuning method


3.4 Safety functions
The final tuning is obtained by adjusting the
Aggressive transients can cause to go below parameters iteratively until the control objectives
its lower limit and the turbocharger speed nt to are achieved. The gain Kj is adjusted in order
exceed its maximum limit. This is avoided by to change the speed of the controller and Tdj is
using safety functions. adjusted in order to improve the performance of
2000 0.2

EGRfraction []
Engine torque [Nm]
1000
0.1

0 x
egrSetp
setpoint
achieved torque
0
1120 1130 1140 1150 1160 1170 1180 1190
1000
1120 1130 1140 1150 1160 1170 1180 1190
8
Setp
1600 6 min
Engine speed [rpm]

[]
1500 4
2
1400
0
1300 1120 1130 1140 1150 1160 1170 1180 1190

1200 40
K1/3

EGRvalve [%]
1120 1130 1140 1150 1160 1170 1180 1190
Time [s] K
1
20 K1*3
Fig. 3. A part of the European Transient Cycle
(ETC) which is used for simulation of the 0
1120 1130 1140 1150 1160 1170 1180 1190
closed-loop system and tuning of the param- Time [s]

eters in the controllers. A critical part of


the cycle is the aggressive load transient at Fig. 4. Tuning of the gain K1 in the EGR-valve
1139 s. to loop.
the closed-loop system (see Section 4.3-4.5). If it is the gain is increased even more, there is too much
possible, a derivative part is avoided. The tuning closing at small load transients.
strategy for Tij is to increase it until oscillations
appear in the control signal, then decrease it until If the gain is decreased (K1 /3), the opening and
the oscillations disappear. the closing speed of the EGR-valve is decreased
when is near the set-point. A slow opening is
The rest of this section describes how the tuning most obvious in a high load transient (between
results can be evaluated on an important part of 1140 and 1153 s), since is low at high loads.
the European Transient Cycle (ETC), see Fig- This slow opening leads to a slow control of xegr .
ure 3. There are stationary errors between the A low value of the gain also leads to a slow closing
set-point and the achieved torque since there is of the EGR-valve at medium load transients (at
no feedback of the torque. But the errors are 1160 s). This leads to lower acceleration of the
relatively small and have no effect on the results turbocharger during the transient, a later opening
in this paper. of the EGR-valve and a slower control of xegr .
In Figures 4 to 8 Kj and Tdj represent the final A too high gain (K1 3) in the uegr to loop,
result from the tuning. From this value the pa- leads to an aggressive closing of the EGR-valve
rameters are perturbed yielding information and at small load transients (at 1155 and 1175 s)
showing important features in the signals that a that is not necessary, since is large enough. In
control tuner should look for to determine if the addition, there are no improvements in the closing
parameters Kj and Tdj are too high or too low. or opening speed at the other load transients.

4.3 EGR-valve EGR-fraction In Figure 5 the closed-loop system


is simulated for three different values of the gain
The value of the control signal uegr for the EGR- K2 in the uegr to xegr loop. The tuning strategy
valve is based on both and xegr according to is that the gain should be increased until the
Equation (1). Thus, there are two PID controllers slope of the torque starts to decrease for high load
that must be tuned for best performance of the transients that are close to each other.
EGR-valve control. No derivative part is needed
If the gain is low (K2 /3), the opening of the
in these controllers in order to predict the perfor-
EGR-valve is slow and therefore the control of
mance variables since the time constants in these
xegr is slow during a load transient. But if the
loops are relatively small.
gain is increased (K2 3), the stationary value
of uegr is increased after a positive load transient
Normalized air/fuel ratio The closed-loop sys- (at 1134 s). This leads to a lower flow through
tem is simulated for three different values of the the turbocharger, lower turbocharger speed and
gain K1 in the uegr to loop (see Figure 4). therefore less air for the next load transient. The
The tuning strategy is that the gain should be result is a slower torque increase for example at
increased until the opening speed of the EGR- 1139 s. This drawback only appears when the load
valve is saturated at the high load transients. If transients are close to each other.
0.2 0.2

EGRfraction []

EGRfraction []
0.1 0.1

x x
egrSetp egrSetp
0 0
1120 1130 1140 1150 1160 1170 1180 1190 1120 1130 1140 1150 1160 1170 1180 1190

60 80

VGTposition [%]
K /3
EGRvalve [%]

2
K 60
40 2 K /3
40 3
K *3
2 K3
20
20 K3*4
0 0
1120 1130 1140 1150 1160 1170 1180 1190 1120 1130 1140 1150 1160 1170 1180 1190

4 4
x 10 x 10
Turbo speed [rpm]

Turbo speed [rpm]


15 15

10 ntmax 10 ntmax
n n
5 tSetp 5 tSetp

0 0
1120 1130 1140 1150 1160 1170 1180 1190 1120 1130 1140 1150 1160 1170 1180 1190

2000 2000
Engine torque [Nm]

Engine torque [Nm]


1500 MeSetp 1500 MeSetp

1000 1000
1138.5 1139 1139.5 1140 1140.5 1141 1141.5 1142 1142.5 1143 1138.5 1139 1139.5 1140 1140.5 1141 1141.5 1142 1142.5 1143
Time [s] Time [s]

Fig. 5. Tuning of the gain K2 in the EGR-valve Fig. 6. Tuning of the gain K3 in the VGT-position
to EGR-fraction loop. to EGR-fraction loop.
4.4 VGT-position 0.2
EGRfraction []

There are two PID controllers that must be tuned 0.1


for best performance of the VGT-position control, xegrSetp
since the control signal uvgt is based on both xegr 0
and nt according to Equation (1). 1120 1130 1140 1150 1160 1170 1180 1190

80
VGTposition [%]

60
EGR-fraction In Figure 6 the closed-loop system 40
Td4*0

is simulated for three different values of the gain Td4


20
K3 in the uvgt to xegr loop. The tuning strategy is Td4*3
0
that the gain should be increased until the closing 1120 1130 1140 1150 1160 1170 1180 1190

speed of the VGT-position is almost saturated at 4


Turbo speed [rpm]

x 10
the load transients. If the gain is increased even 15

more, oscillations appear in the uvgt signal. No 10 ntmax

derivative part is needed in order to predict xegr 5


ntSetp

since the time constant in this loop is relatively 0


1120 1130 1140 1150 1160 1170 1180 1190
small. Time [s]

The disadvantage with a low gain (K3 /3) is a slow Fig. 7. Tuning of the derivative time Td4 in the
closing of the VGT during a load transient. This VGT-position to turbocharger speed loop.
leads to a slow control of xegr (at 1130 s), a lower
turbocharger speed, and a slower control of the There must be a derivative part in the PID con-
engine torque (at 1139 s). The disadvantage with troller for the the uvgt to nt loop in order to
a high gain (K3 4) is oscillations in the uvgt signal, predict the turbocharger speed, since the corre-
which can be seen at 1130 and 1157 s. sponding open-loop transfer function has a large
time constant (about 2 s compared to 1 s for the
other transfer functions that are used as feedback
Turbocharger speed In Figure 7 the closed-loop
loops).
system is simulated for three different values of
the derivative time Td4 in the uvgt to nt loop. If no derivative part is used (Td4 0), uvgt opens
The tuning strategy is that the derivative time the VGT to late in order to decrease the tur-
should be increased until the control speed of xegr bocharger speed (at 1141 s), this leads to a high
starts to decrease or just before oscillations start acceleration of the turbocharger and a positive
to appear in the uvgt signal. T CSL (the result is an opening of EGR-valve
0.2 in the system from VGT to . A simple straight-
EGRfraction []
forward tuning strategy for the PID structure is
0.1 also developed.
x The proposed PID structure shows promising re-
egrSetp
0
1120 1130 1140 1150 1160 1170 1180 1190 sults in simulation on a demanding part of the
80
European Transient Cycle. Further, it is demon-
VGTposition [%]

60
strated that the VGT-position to turbocharger
40
K4/3 speed loop does benefit from a derivative part in
K4 order to predict high turbocharger speeds. This is
20 K *3
4 due to the large time constant in the correspond-
0
1120 1130 1140 1150 1160 1170 1180 1190 ing open-loop transfer function.
4
Turbo speed [rpm]

x 10
15
10 ntmax 6. ACKNOWLEDGMENTS
ntSetp
5
0
1120 1130 1140 1150 1160 1170 1180 1190
The Swedish Energy Agency are gratefully ac-
Time [s] knowledged for their financial support.

Fig. 8. Tuning of the gain K4 in the VGT-position


to turbocharger speed loop. REFERENCES
and VGT). The drawback with a high derivative Heywood, J.B. (1988). Internal Combustion En-
part is slow control of xegr , oscillations in the gine Fundamentals. McGraw-Hill Book Co.
uvgt signal and too much opening of the VGT (at Singapore.
1141 s) that is not necessary Jankovic, M., M. Jankovic and I.V. Kolmanovsky
In Figure 8 the closed-loop system is simulated (1998). Robust nonlinear controller for tur-
for three different values of the gain K4 in the bocharged diesel engines. In: Proceedings of
uvgt to nt loop. The tuning strategy for the gain the American Control Conference.
is the same as for the derivative time, i.e. the gain Kolmanovsky, I.V., A.G. Stefanopoulou, P.E.
should be increased until the control speed of xegr Moraal and M. van Nieuwstadt (1997). Issues
starts to decrease or just before oscillations start in modeling and control of intake flow in vari-
to appear in the uvgt signal. able geometry turbocharged engines. In: Pro-
ceedings of 18th IFIP Conference on System
Modeling and Optimization.
Nieuwstadt, M.J., I.V. Kol-
4.5 Turbocharger speed limiter, T CSL
manovsky, P.E. Moraal, A.G. Stefanopoulou
and M. Jankovic (2000). EGRVGT control
The turbocharger speed limiter consists of two
schemes: Experimental comparison for a high-
parameters: the gain K5 and the derivative time
speed diesel engine. IEEE Control Systems
Td5 . The tuning strategy is that the gain and
Magazine pp. 6379.
the derivative time should be decreased until just
Ruckert, J., F. Richert, A. Schloer, D. Abel,
before the turbocharger speed starts to exceed its
O. Herrmann, S. Pischinger and A. Pfeifer
maximum limit during a high load transient when
(2004). A model based predictive attempt
the uvgt to nt control is insufficient.
to control boost pressure and EGRrate in
T CSL is positive for the solid line in Figure 8 at a heavy duty diesel engine. In: Preprints of
1143 s and the turbocharger speed is below the IFAC Symposium on Advances in Automotive
maximum limit. Control.
Stefanopoulou, A.G., I.V. Kolmanovsky and J.S.
Freudenberg (2000). Control of variable ge-
5. CONCLUSION ometry turbocharged diesel engines for re-
duced emissions. IEEE Transactions on Con-
A PID structure is proposed and investigated for trol Systems Technology.
control of air/fuel ratio and intake manifold Wahlstrom, J. (2004). Modeling of a diesel en-
EGR-fraction. These are chosen as performance gine with VGT and EGR. Technical report.
variables since they are strongly coupled to the Vehicular Systems, Department of Electrical
emissions. It is also important to control the tur- Engineering, Linkoping University.
bocharger speed in order to avoid overspeeding. Astrom, K. J. and T. Hagglund (1995). PID Con-
The key idea behind the structure is that is trollers: Theory, Design and Tuning. 2nd ed..
controlled by the EGR-valve and EGR-fraction by Research Triangle Park. Instrument Society
the VGT-position, which handles the sign reversal of America.

You might also like