Practical Guidelines For Tuning PID Controllers by Using MOMI Method
Practical Guidelines For Tuning PID Controllers by Using MOMI Method
Damir Vrančić and Stanko Strmčnik II. THE MOMI PID CONTROLLER TUNING METHOD
J. Stefan Institute,
Jamova 39, SI-1001 Ljubljana, Slovenia A magnitude optimum multiple integration (MOMI)
[email protected], [email protected] tuning method is based on a magnitude optimum (MO)
frequency criterion which makes the frequency response
from set-point to plant output as close to one as possible
Abstract – The magnitude optimum multiple integration for low frequencies.
(MOMI) tuning method for the PID controllers provides non- If GCL(s) is the closed-loop transfer function from the
oscillatory closed-loop response for a large class of process set-point (w) to the process output (y), the controller is
models. However, one must account for certain additional determined in such a way that
obstacles that have to be overcome to enable application of the
method in practice. A few practical guidelines for performing GCL (0) = 1
multiple integrations (MI) from the process step response in
practice, for re-tuning controller parameters, and for ∂ n GCL ( jω ) (1)
=0
calculating the parameters of the two-degrees-of-freedom ∂ω n
controller in order to improve disturbance rejection ω =0
performance, are given. for as many n as possible (Åström and Hägglund, 1995).
Such criterion results in a fast and non-oscillatory
closed-loop time response for a large class of process
I. INTRODUCTION models.
In order for the MO method to be applied by using the
The Ziegler-Nichols tuning rules (Ziegler and Nichols, following PID controller transfer function:
1942) were the very first tuning rules for PID controllers,
and it is surprising that they are still widely used today.
U (s ) 1 sTd
Their popularity lies in their simplicity and efficiency. This GC (s ) = = K 1 + + , (2)
is why so many different tuning rules which are based on E (s ) sTi 1 + sT f
the same tuning procedures have subsequently been
developed (Gorez, 1997). where u is the controller output and e is the controller error
Following the work of Ziegler and Nichols, a variety of (e=w-y), and the following process transfer function:
PID tuning methods have been developed. In general, these
Y (s ) 1 + b1 s + b2 s 2 + + bm s m
methods can be divided into two main groups: the direct G P (s ) = = K PR e − sTdel , (3)
and the indirect tuning methods (Åström et al., 1993; U (s ) 1 + a1 s + a2 s 2 + + an s n
Gorez, 1997).
The direct tuning methods do not require a process an explicit identification of the parameters KPR, a1, a2, a3,
model, while the indirect methods calculate controller a4, a5, b1, b2, b3, b4, b5, and Tdel is required (Vrančić, 1997;
parameters from an identified model of the process. Vrančić et al., 1997, Vrančić et al., 1998b). However, it is
Recently, a new indirect tuning method which is based well known that accurately estimating such a number of
on an implicit process model was developed (Vrančić et parameters from real measurements could prove to be very
al., 1996). The multiple integrations (MI) method (Rake, problematic.
1987; Strejc, 1960) is used for the implicit process However, this problem can be avoided by using the
identification. However, the areas, calculated by using the concept of multiple integrations (Rake, 1987; Strejc,
multiple integrations from the open-loop process response, 1960). Following Rake, (1987), the following areas can be
are directly used for the calculation of the controller expressed by integrating the process open-loop step
parameters rather than for the process identification in response (y(t)), after applying the step-change ∆U at the
order to meet the so-called magnitude optimum (MO) process input at t=0:
criterion (Åström and Hägglund, 1995; Hanus, 1975;
Kessler, 1955). It was found out that in this way, by using
the so-called magnitude optimum multiple integration A1 = y1 (∞ )
(MOMI) method, the magnitude optimum criterion can be , (4)
met for a very large set of process models (low-order, high- Ak = y k (∞)
order, highly non-minimum phase and/or processes with
larger time delays) merely by measuring the process open- where
loop step response without the need for additional “fine”
y (t ) − y (0)
tuning. The excellent tuning results were also achieved on y 0 (t ) =
several laboratory set-ups (Vrančić, 1997; Vrančić et al., ∆U
1997; Vrančić et al., 1998b). t
Fig. 2. Process output (y) and controller output (u) during the open-loop K PR = 2, A1 = 12, A2 = 62, A3 = 312,
experiment on the process with present noise. . (21)
A4 = 1562, A5 = 7812
B. Re-tuning the controller parameters In the next step, the PI and PID controller parameters
were calculated from (6) to (8):
In some cases, the controller parameters, obtained by
using the MOMI method, have to be re-tuned due to some PI : K = 1.3, Ti = 5.03s
. (22)
practical reasons, namely that when tuning the PID PID : K = ∞, Ti = 6s, Td = 0.833s
controllers for a first-order or second-order process the
controller gain is, in accordance with the MO tuning By fixing the controller gain at K=10, and by applying
criterion, theoretically infinite. In practice (when there is (15) and (16), the following modified PID controller
process noise), the calculated controller gain can have a parameters were obtained:
very high positive or negative value. In this case, the
controller gain should be limited to some acceptable value, K = 10, Ti = 5.85s, Td = 0.725s . (23)
which depends on the controller and the process Fig. 3 shows the closed-loop process responses when
limitations. using the original PI controller and the modified PID
The remaining two controller parameters can now be controller parameters. It is clear that the closed-loop
calculated according to the limited (fixed) controller gain process response when using such modified PID controller
from (7) and (8): is very good.
A1
Ti = (15)
1
K PR + 1.2
2K
and 1
A3 A1 A2 1
Td = 2
− − K PR (16) 0.8
A1 A3 2K
if 0.6
1
K> (17)
2 A1 A2 0.4
− 2 K PR
A3
0.2
and
Td = 0 (18) 0
0 2 4 6 8 10 12 14 16 18 20
Time [s]
if
Fig. 3. Process output (y) and controller output (u) during the closed-loop
experiment with: __ modified PID controller, -- PI controller.
C. Modified tuning procedure for 2-degrees-of-freedom performed on several process models, the following
PI controllers expression was derived (Vrančić, 1997)1:
( )( 2
K 2 1 − β 2 K PR A3 + A1 − 2 K PR A1 A2 +
3
) (24)
+ 2 K (K PR A3 − A1 A2 ) + A3 = 0 0.5
A1
Ti = 2
(25) 0
(1 − β )
0 50 100 150 200 250 300 350 400
1 KK PR 2
K PR + +
Time [s]
Process input; __ PI, −− modified PI
2K 2 5
( A1 A2 − K PR A3 ) − S1
2
K= , (26a)
(1 − β )(K
2
PR
2 3
A3 + A1 − 2 K PR A1 A2 ) 1
0
0 50 100 150 200 250 300 350 400
if KPRA3-A1A2 < 0, and Time [s]
( A1 A2 − K PR A3 ) + S1 Fig. 5. Process output (above) and controller output (below) during the
K= , (26b) closed-loop experiment with:
(1 − β )(K
2
PR
2 3
A3 + A − 2 K PR A1 A2
1 ) __ classical PI controller, -- modified PI controller.
. (27a)
2
(
− A3 (1 − β ) K PR A3 + A1 − 2 K PR A1 A2
2 3
) The purpose of this paper was to present how to
overcome some obstacles in order to be able to apply the
In case when β=1, or KPR2A3+A13-2KPRA1A2=0, the MOMI tuning method in practice. Namely, tuning result
proportional gain is calculated from (7) by applying Td=0. can become quite sensitive to the process noise, the
The remaining question is how to choose the new calculated controller gain can become quite high (positive
parameter β? By using optimisation of the closed-loop or negative), and the MOMI tuning method could result in
responses on the reference and disturbance step changes, poor disturbance rejection. All of the counted problems
were treated in the present paper.
1
Criteria used for optimisation will be given in the final
version of the paper.
It was shown that the tuning result can become relatively
insensitive to the process corrupted by noise by properly
choosing integration interval of the process step response.
The calculated gain of the PID controller, when applying
the MO criterion, could be too high for successful
implementation in practice. It was shown that in this
particular case the PID controller parameters can be simply
re-tuned, according to arbitrary chosen controller gain,
without the need for additional process identification stage.
The MO technique may lead to poor attenuation of load
disturbances. It was shown that disturbance rejection can
be significantly improved by using a two-degrees-of-
freedom controller structure.
REFERENCES