Professional Documents
Culture Documents
S. Pegel. S. Engell
Abstract: This paper presents an efficient numerical method for designing PID
controllers. The method is based on frequency response approximation. It is shown that
the controller design method outlined in this work yields very good results in PID-
controller design. To evaluate the performance of the frequency response approximation
method the design method is applied to several benchmark systems for PID control
presented in Astrom, et al. (1999). Copyright © 2000IFAC
63
freely and experimented with by the designer. It is yields a linear relation of AT{jw) and AC{jw) . As
implemented as a MATLAB-toolbox (Pegel, et al., the order of the numerator and of the denominator
1999). polynomials can be chosen freely and the numerator
polynomials can be also set to zero, arbitrary
The procedure of controller design based on controller structures can be optimised, in particular
frequency response approximation is described in the PID controller structures. The procedure outlined
next section. In the third section the specification of above is realised in FASTER (Pegel, et al., 1999), a
the desired closed-loop behaviour is considered. In MATLAB toolbox.
this section also the performance limitations due to
dead times, right half plane zeros, right half plane If the desired performance is not obtained, the
poles and input constraints are discussed. In the third controller order can be increased or the performance
section the presented design method is tested for specifications must be modified.
several benchmark systems suggested by Astrom et
al. (1999). Some conclusions are given in the last
section.
3. SPECIFICATION OF THE DESIRED
PERFORMANCE
64
bandwidth of the closed-loop system. The bandwidth
of good disturbance rejection S(jw) is limited by the (8)
smallest right half plane zero. In practice the
achievable bandwidth has to be smaller than the
magnitude of the right half plane zero. A higher
The influence of a time delay on the achievable
bandwidth results in a strong increase of the peak in
bandwidth of the reference reaction is similar to that
the frequency response of the sensitivity function.
of right half plane zeros. Similarly the disturbance
Thus, the rise time of the closed-loop is restricted by
reaction properties are limited as in the case of right
a lower bound (Engell. 1988b; Skogestad. et al.•
half plane zeros. Although the transfer function of
1996).
the ideal controller is irrational, its frequency
response can be computed easily. Since the
For unstable systems with one right half plane pole
approximation of the controller is only based on the
Pu. the closed-loop model is chosen as (Engell, frequency response, systems with pure delays can be
1988a)
treated easily by this method.
Unlike a zero in the right half plane which limits the with p(r) =jg(r)1
upper bound of the closed-loop bandwidth a pole in
the right half plane limits the minimum bandwidth. for symmetric input constraints
Lowering the crossover frequency close to the fastest
unstable pole results in an undesirable high peak of
the complementary sensitivity function. Thus the rise
time is restricted by an upper bound. Usually the the fastest move of the controlled variable is given by
lower limit of the crossover frequency is I
Bode's theorem shows that two poles at the origin or The achievable rise time for linear controllers is
one pole at the origin and one unstable pole limit the larger. A practical method is to specify the model M
smallest possible peak value of the complementary with the desired overshoot and to calculate t r from
sensitivity function I T(jw) I. The controller for an y' as the minimal rise time to 50% of the final value
open-loop system with two poles at the origin or one as a first guess. After calculating the manipulated
pole at the origin and one unstable pole has to be value for a step response a violation of the constraints
designed very carefully to avoid large settling times. might make an adaption necessary. Usually these
adaptions are small.
Systems with pure time delays are very common in M (jw) can easily be modified to take additional
technical processes. Sources of time delays are
requirements into account, e.g. more roll-off at high
transportation lags due to the flow of material and
frequencies to reduce the sensitivities to sensor noise
measurement lags. Very important for controller
and modelling errors.
design by frequency response approximation is the
definition of a realisable closed-loop behaviour. To
avoid non-causal controllers, the dead time has to be
added to the desired closed-loop behaviour. In the 4. PID-CONTROLLER DESIGN WITH FASTER
SISO case, an attainable desired closed-loop
behaviour is achieved by multiplying the minimum To evaluate the performance of the presented
phase model with the dead time. For a plant with time controller design method, it was applied to the set of
delay Td , the model for the closed-loop system is benchmark systems proposed by Astr6m, et al.
(1999).
6S
In the first design step the closed-loop behaviour has The model and the controller parameters are listed in
to be chosen in state space fonn or as a transfer table 1.
function. Additionally the user may choose the model
from several predefined model types as PT I, PT2, The step responses of the closed-loop system with
oscillatory PT 2, PT 2 with left half plane zero, etc. by plant G2(s) is shown in figure 2. To design the
defining rise time and overshoot. After the c1osed- controller the dead time was added to the desired
loop behaviour has been chosen, the frequency closed-loop behaviour. eqn.(8). The rise time should
response is approximated by a controller of the not be smaller than the dead time. Consequently good
chosen structure and order. For PID controller design performance was achieved by specifying a rise time
the controller structure of 3 and an overshoot of 10%.
2
_ b 2s +bls +bo
GPlD - 2 (9) 1.4,-----~----_-----,
I I
a 2 s +s 12 - - - - - - - _1 ..J _
I I
1 - - - - - - - -: - - - - - -~-~ ~
is used. I I
0.8 - - - - - - -1- - - - - - - - -,- - - - - - --
I I
0.6 - - - - - - - -,- - - - - - - - I - - - - - - - -
To start with, we consider two simple systems: I I
0." - - - - - - - -1- - - - - - - - "'1 - - - - - - - -
I I
1-5s 02 - - - - -1- - - - - - - - -1- - - - - - - -
lime
12r------,---,-...,.--,---,----,-----,---,
I I
G = 100 (_1_+ 0.5 )
1 --"'---1- 3 &+10)2 s+1 s+0.05 .
I I I I I I I
0.8 - - .,. - - - - -,- - - t- - - l' - - "'i - - -1- - -
0.6 - -
I
+- -
I I I
-1 - - -1- - - I- - -
I
+- -
I
-i - -
1
-1- - - The system has a fast time constant at T = 1 with a
0.. - -
I
+-
I
-i - -
I
-1- - -
I
~
I
- - .... - -
I
-1- -
I
-1- - - moderate gain and a slow time constant T = 20 with a
I I I I , I I
02 - - -l- - -1 1 ~ __ J. _ _ ...J 1 _ large gain. To control the system a model with
I I I I I I I
o -- -- -I - - -1- __ L.. __ J. __ ...J 1_ - - oscillatory PT 2 elements was chosen. There is no
I I I I I I I
difficulty to control a system with a slow and a fast
mode by frequency response approximation. Because
there are no serious perfonnance limitations a rise
Fig. 1: Step response of the closed-loop system time of 0.5, about 5% of the rise time of the plant,
with plant G1 (s) (solid) and the desired c1osed- and an overshoot of 10% were chosen. The step
loop behaviour (dashed) response of the closed-loop system is shown in figure
3, the controller parameters are listed in table 1.
To design the controller for GI (s), the right half 12,-----,----.-------,----,
plane zero was included into the closed-loop ---+----~-~-~----~
I
1 I I
1988b). For 2nd order systems with right half plane 0.5 1.5
zeros either the overshoot and rise time or the over- lime
and undershoot can be detennined. The relation
between over-/undershoot and rise time is given in Fig. 3: Step response of the closed-loop system
(Engell, et al., 1982). A PT 2 transfer function with with plant G3 (s) (solid) and the desired c1osed-
right half plane zero, overshoot and undershoot of loop behaviour (dashed)
15% yields good closed-loop performance for system
G1 (s) . Figure 1 shows the closed-loop step response. The next system is a conditionally stable system:
66
presented PID controller design method:
~
approach must be used. Therefore the unconstrained I
I
I
I
I
I
quadratic programming (QP) used for the frequency -----,------~------r-----
, I I
response approximation of the ideal controller, eqn. IS 20
I I I I
10 20 30 40 50
To achieve robustness, a smaller controller pole,
time which also compensates the deviations of the real
system from the nominal one is preferable. Therefore
Fig. 4: Step response of the closed-loop system we designed a controller with a rise time of 8 and an
with plant G4 (s) (solid) and the desired closed- overshoot of 10%. The results of this design are
loop behaviour (dashed) shown in figure 7 and table 1.
1.2 time
1·' .
0.6- .
.. _. .I.. h _.1_.. h j L. ' _ ._ L __ ! _ _ 1. __ ~ with plant Gs (s) (solid) and the desired c1osed-
I I 1 i
0.41 __! __ L _ h.I •. _ .l .h _l.-. _ ..J __ L. __ ! _ _ 1. _ ~ loop behaviour (dashed), specified rise time 8
I I I I ; ; I I j i
0.2 __: __ ~ __ : __ ~ - -:- _. -1 - - ~ - -~ - - ~ - -~
Q()"- ~··--·-1~·--·115---,2!70--;:2~5---:::3Q::----f.
35'--.';;'O,---:.';;;5----;50
The last system considered was the model of an
time inverted pendulum:
Fig. 5: Step response of the system with plant
G s (s)
67
closed-loop performance an oscillatory PT 2 c1osed- for the engineer is a suitable choice of the desired
loop model with a left half plane zero (7) was chosen. closed-loop system dynamics. To demonstrate this we
The rise time of the closed-loop is bounded by the designed real PID controllers for examples of
unstable pole. For an overshoot of 10% a good choice different complexity. The designed PID controllers
of the rise time is t r < 0.09. Due to the right half plane achieve good performance and the design effort is
pole and the integral action of the open-loop a low. If a predefined controller structure must be
reduction of the maximum overshoot would cause a realised. which is not advantageous for the response
smaller upper bound for the rise time and visa versa. to reference signals, the approximation of the ideal
controller can be performed subject to constraints to
1.2,-----r---,----,----,------, avoid pole-zero cancellations.
1 ~ ~ I
--
~8
I
----r----l----------r---- I I
I I I I
0.6 - - - - + - - - - -1 - - - - -1- - - - - I- - - - - REFERENCES
I I I I
0.. - - - - 1. J __ - - _1- 1 _
I I I I
I I I I Astrom. KJ. and T. Hagglund (1999). Benchmark
0.2 - - - - i - - - - , - - - - -1- - - - - r- - - - -
I I I I Systems for PID Control, URL: http://www-
00 10 esaiiterrassa. upc.es/pidOO/bench.htm.
time Engell. S. (1988a). Multivariable Controller Design
by Frequency Response Approximation. Proc. of
Fig. 8: Step response of the closed-loop system
the lEE International Conference on Control,
with plant G6 (s) (solid) and the desired c1osed-
CONTROL 88, No. 285, pp. 253-258.
loop behaviour (dashed) Engell, S. (1988b). Optimale lineare Regelung -
Grenzen der erreichbaren Regelgute.
Fachberichte Messen-Steuern-Regeln. Springer-
Table 1: List of model and controller parameters of Verlag, Berlin.
the controller design Engell. S. and R. Muller (1991). Controller design
by frequency-weighted approximation: the
Specified Controller
Plant closed-loop lr
0 U multivariable case. Proc. lEE International
[%1 [%1
dynamics gain poles zeros Conference CONTROL-9i, Edinburgh, 332. pp.
G.(s) PTz with -0.616 0.114+1.106i 581-586.
15 15 30.78
rHpzero 0 0.114-1.106i Engell, S. and R. Muller (1992). Fast and efficient
G2 (s)
oscillatory
-1.532 -0.097+O.018i
selection of control structures. European
PTz with 3 10 0.02 Symposium on Computer-Aided Process
0 -0.097-0.018i
dead time
Engineering (ESCAPE-i), Supplement to
G3 (s) oscillatory -0.384 -1.1210
PTz
0.5 10 - 0.51
0 -0.0544
Computers & Chemical Engineering, Pergamon
Press, pp. 157-164.
G.(s) oscillatory -1 -1.516
PTz
5 10 - 4.53
0 0.003
Engell. S. and R. Muller (1993). Multivariable
controller design by frequency response
oscillatory -10 -0.1216+0.99i
Gs(s) PTz
2 10 - 0.14
0 -0.1216-0.99i approximation, Proc. 2nd European Control
oscillatory -00401 -0.0334+O.99i Conference, Groningen, pp. 1715-1720.
8 10 - 14.44
PTz 0 -o.0334-0.99i Engell, S.• G. Noth and J. Pangalos (1982).
oscillatory Indirekte Reglersynthese fur Strecken mit einer
G.(s) -61.15 -1.0810
PT. with 0.08 10 - 0.001
0 -0.2975 Nullstelle in der rechten Halbebene,
IHP zero
Regelungstechnik 30, pp. 232-239.
Pegel, S. and R. Muller (1999) FASTER-Toolbox
implemented in MATLAB, Process Control
Laboratory. Department of Chemical
5. CONCLUSIONS
Engineering. University of Dortmund, Germany,
URL: http://astwww.chemietechnik.uni-dortmundde.
A method for controller design by frequency response
Skogestad, S. and I. Postlethwaite (1996).
approximation was presented. Because the controller
Multivariable feedback control, John Wiley &
is designed by approximation of the frequency
Sons, Chichester.
response of the desired closed-loop behaviour by a
controller of prescribed structure and order, the
controller design is very easy. The only decision left
68