Professional Documents
Culture Documents
PID Tuning Methods PDF
PID Tuning Methods PDF
Abstract: PID control is a control strategy that has been successfully used over many years.
Simplicity, robustness, a wide range of applicability and near-optimal performance are some of the
reasons that have made PID control so popular in the academic and industry sectors. Recently, it
has been noticed that PID controllers are often poorly tuned and some efforts have been made to
systematically resolve this matter. In the paper a brief summary of PID theory is given, then some
of the most used PID tuning methods are discussed and some of the more recent promising
techniques explored.
1 Introduction form to the parallel form and vice versa under certain
conditions. It is also very important to know the controller
A PID controller, Fig. 1, is described by the following implementation before entering the PID parameters.
transfer function in the continuous s-domain In cases where both good set-point tracking and good
load disturbance are essential, the set-point weighting
G ~ ( s=) P + I + D = Kp +'+K . S
K ~ s (1) technique [l] can be used. This method effectively results
in a two-degrees-of-freedom (2DF) system. Every input to
or each of the PID terms can be a weighted version of the
error signal. Set-point weighting is not used with propor-
tional-only control since it results in static control errors.
The general 2DF PID configuration is shown in Fig. 2.
where Kp is the proportional gain, Ki is the integration The ISA realisation is a particular case of a 2DF
coefficient and Kd is the derivative coefficient. T, is known configuration. Here, the controller takes the form
as the integral action time or reset time and Td is referred to
as the derivative action time or rate time. G&) = GSP(S>YSP(S)- Gs(S)Y(S) (6)
In practice, the following realisation is usually employed
where GsP(s) is the signal transmission from the set-
Ki K ~ s point to the control variable and Gs(s) is the signal
GJs) = Kp + s + 1 + T,s
- ~
(3) transmission from the process output to the control
variable [2].
This realisation, although it has the same response at low
frequencies as (l), includes a lowpass filter with the
derivative term to reduce noise amplification. Tn represents
the filter's time constant.
The PID realisation given by (3) is known as the parallel
form and admits complex zeros. One can also have the
series PID form described by
GcG) = GPl(S)GPD(S) (4)
or
I I
Fig. 1 Block diagram representation of a PID controller
0 IEE, 2002
IEE Proceedings online no. 20020103
DOI: 10.1049/ip-cta:20020103
Paper received 7th January 2002
The authors are with the Control Systems Centre, UMIST Sackville Street,
Manchester M60 lQD, UK Fig. 2 2DF PID controller
46 IEE Proc.-Control Theory Appl.. Vol. 149, No. I, January 2002
The remainder of this paper describes different €'ID ing critical period. In [ 11, area methods are also suggested
parameter tuning methods together with a discussion on to improve estimation of the system's parameters giving a
some of their advantages and disadvantages. less sensitive technique.
The PID tuning method presented by Ziegler and Nichols The dynamics of a system can be described more accu-
[3] is based on the system's open-loop step response. It rately if three parameters are used in the design instead of
uses the fact that many systems in the process industry can two. The kappa-tau tuning method [ 1,4] is a method in that
be approximated by a first-order lag plus a time delay as direction and is used in automatic tuning. As in the ZN
method it comes in two versions. One is based on the step
response, in which the process is characterised by a static
gain Kp, a gain a (the gain of the transient part of the open-
where c( and L can be determined by simply plotting the loop response), and a dead time L. The controller para-
step response of the plant [l]. The PID tuning parameters meters are a function of the normalised dead time z [4, 51
obtained by the ZN step response method are shown in given by
Table 1.
L
Ziegler and Nichols later introduced a method based on z=-
.the frequency response of the closed-loop system under L+T
pure proportional control. Here, the gain is increased until with T being the dominant time constant of the process.
the closed-loop system becomes critically stable. At this The second method is based on the frequency response;
point the ultimate gain, K,, is recorded together with the the process is characterised by a static gain K p , an ultimate
corresponding period of oscillation, Tu, known as the gain Ku and an ultimate period Tu. Here, the controller
ultimate period. Based on these values Ziegler and Nichols parameters are a function of the gain ratio k, [4, 51, where
calculated the tuning parameters shown in Table 2.
The ZN methods were designed to give good responses
to load disturbances. A quarter amplitude-damping criter-
ion was used in the design giving a damping ratio close to
0.2. This is not satisfactory for many systems, since it does Maximum sensitivity is used as the design objective in
not give satisfactory phase and gain margins. The maxi- both cases.
mum sensitivity is also large, giving systems sensitive to
parameter variations. Additionally, ZN methods are not 4 Pole placement
easy to apply in their original form on working plants.
When critical processes are involved, sudden changes in Analytical pole placement methods are mostly used when
the control signal or operation at the stability limit are not the system under consideration is of low order. A common
acceptable. Relay feedback and describing function analy- approach is to adopt a second-order model and then specify
sis [l] are often applied for parameter identification to a desired damping ratio and natural frequency for the
overcome the above problems. system. These specifications can then be fulfilled by
A further modification to the ZN methods can give a locating the two system poles at positions that give the
substantially improved system performance [ 11. One can required closed loop performance. As an example, the
start with a given point on the Nyquist diagram say, characteristic equation for a system approximated by a
G,( jo)= rpe'(K+9(3 and then try to find a regulator to first-order model
move this point to B=r,,e'("'4'). An amplitude margin
corresponds to 4% = 0, r = 1 /Am and a gain margin corre- G~(s) KP
~
(10)
sponds to r, = 1, 4, = I$,, , where A , , (bm are the gain and 1+ST,
phase margins, respectively. Based on this simple modifi- under PI control will take the form:
cation, a better system response results. If the plant's model
is well known then it is also possible to apply Routh's array
technique to find the critical gain and then the correspond-
This can then be compared with the general second-order
Table 1: ZN PID step response tuning parameters
model
Controller K T, Td
s2 + 2go + o2= 0 (12)
P 1l a and thus obtain
PI 0.9la 3L
PID 1.21E 2L u2
Controller K Ti Td
P 0.5Ku
a PID controller of the form
PI 0.4K, 0.8Tu
PID 0.6K, 0.5T,, 0.12T,
Gp(S)
KP e-sL
=-
1 +sT
one can then readily find the poles and zeros of the is controlled with a PI controller having the following
resulting closed-loop system. In many cases, the dominant transfer function
system dynamics can be approximated by the simple pole-
zero configuration shown in Fig. 3. The pair of poles P I ,
P2 are known as the dominant poles. Poles and zeros which
have real parts much more negative than those of the By trying, in this case, to solve for a specific phase and
dominant poles have little influence on the overall system gain margin one comes across equations containing arctan
response. For a PI controller, as an example, the following functions, which cannot be solved analytically. This
selection of P I , P2 can be made [l]: problem is overcome by using the following simple
arctan approximations
7 OLDPmethod
ITAE =
$I tl r(t) - ~ ( tI dt)
where the o symbol denotes composition, i.e.
with r(t) being the reference input and y(t) the output of the
system.
In [22], a genetic algorithm based on Gray coding is
used. Each PID parameter ( K p ,K,, Kd) is represented by 16 In [23], the error squared is minimised as the performance
bits and a single individual is generated by concatenating index giving the following auto-tuning parameters:
the coded parameter strings. The genetic algorithm requires
a population of initial approximations, which may be Kp = -2yeF:[x4] o y l
random, to start the search. The algorithm then checks
the fitness of each individual (or chromosome), and then
Ki= -2ye~:[x,] o y2 (39)
grades them. A selection process follows where five of the
fittest individuals are chosen. The remaining individuals Kd = -2yeFi[x4] o y 3
are selected probabilistically. The selected individuals are
50 IEE Proc.-Control Theory Appl., Vol. 149, No. 1, January 2002
Then, the Frkchet derivative is approximated by present [l], it is not recommended for some cases [ 3 2 ] .
F‘[x] 0 h = ph, with p being a constant. This can then be Good set-point responses may be achieved, but load
substituted into (39) to get disturbance response can be poor. In the case where
unstable poles are involved, then cancellations must be
K,] = -YeYl avoided because they will give an unstable response.
In [26], a simple but effective order reduction technique
Ki = -yey, (40) for use under PID control action is introduced. The plant’s
model is initially reduced by retaining the slowest poles,
Kd = -WY, and then by retaining the low-order coefficients. It is then
The advantage of such a method is that it can be applied to proven that the former is an overestimate of the plant’s
both open-loop stable and unstable plants, including magnitude, whereas the later is an underestimate. By
systems with time delay, and it is robust to changes in taking the average of these two, a reasonably good approx-
the system’s parameters and/or to noise entering the imation of the plant’s model is achieved up to its bandwidth
system. point. In [33], the results of [26] are extended to deal
with discrete-time systems. The main advantage of such
methods is their simplicity. For an extensive reference on
12 Methods based on cancellation model order reduction techniques, the reader is referred to
[34, 351.
It has been pointed out in [26, 271, that PID control is often
based on a second-order model. This implies that when
PID action is used for control, then a model order reduc- 13 K-B parametrisation
tion has to be employed. Internal model control (IMC) [28,
291 is useful in this case, since a plant model order K-B, Keviczky-Banyaz, parametrisation is a generic two-
reduction automatically results in controller order reduc- degree-of-freedom (G2DF) implementation. It provides the
tion. All stabilising controllers of a system under IMC are desired transient responses considering both tracking and
parameterised as regulatory performances, and it effectively opens the
system’s closed loop. Figs. 5 and 6 illustrate the principle,
where S EI, Ho E 1 and Ro are the process model, the noise
model and the controller, and 1 is the set of all stable proper
systems.
where ,G(s) is the system’s transfer function and
In [36], classical PID tuning techniques are combined
G(s)= G-(s)G+(s). Here, G+(s) includes all non-minimum
with the K-B parametrisation method to give improved
phase dynamics and Q(s) is usually chosen to be
control performance.
Q(s)=F(s)GI’(s). F(s) is chosen to be a lowpass filter
with F(O)= 1 and GI’(s) a stable inverse of G(s). The
resulting controller takes the. following form 14 Magnitude optimum multiple integration
method
F(s)GI1(s)
C(S) =
1 -F(S)&+(S) The magnitude optimum multiple integration method
(MOMI) is based on the magnitude optimum (MO or
Therefore, a PI controller will result when a first-order BO) method [37] in which the frequency response from
system is to be controlled, and a PID controller when a
second-order system is to be controlled.
A special case of IMC is the 2-tuning method [30, 311,
which was developed for processes with long dead time
and is mainly described by first-order dynamics. Here the
controller transfer function is simply expressed as I Ho I
I
1 1 I
G,(s) = ~ - (43)
Gp(s)3,s
r
-
where Gc(s), Gp(s)and /z represent the controller’s transfer RO
function, the process transfer function and the desired
closed-loop time constant.
The overall closed-loop transfer function will take the
following form Fig. 5 K-B parametvised 2DF system
1
=-
1 As + (44)
Now using (43) and a P, PI or PID controller, the tuning
parameters can be obtained as a function of 1. Examples
related to ,?-tuning are presented in [30].
It can also be shown that if the system’s model is
accurate then by using 2-tuning the sensitivity is always
A
less than two. Small 1 gives a small IAE but increases the
system sensitivity. For further details of the ),-method the
reader is referred to [4, 30, 311.
In a similar approach, the zeros of the PID controller are
used to cancel out the system’s dominant poles. Although
this may work, especially when large time delays are
r
- S