Professional Documents
Culture Documents
1
Integral-Derivative Control, Ghent, Belgium, May 9-11, 2018
Abstract: The pi/pid controller is the most used controller in industry. However, for processes
with large time delays, the common belief is that pi and pid controllers have sluggish
performance, and that a Smith predictor or similar dead-time compensator can give much
improved performance. We claim in this paper that this is a myth. For a given robustness
level in terms of the peak sensitivity (Ms ), we find that the performance improvement with the
Smith predictor is small even for a pure time delay process. For other first-order processes a
pid controller is generally better for a given robustness level. In addition, the Smith Predictor
is much more sensitive to time delay errors than pi and pid controllers.
1. INTRODUCTION dy
du
2.2 The Smith Predictor output dy , is equivalent to a setpoint change ys for the
system in Figure 1, it is not affected by a setpoint filter.
In this paper we consider the “original” Smith predictor Thus, we consider disturbance rejection which can only be
controller handled by the feedback controller K(s) (Figure 1).
K◦ (s)
Ksp = (5)
1 + K◦ (s)G◦ (s) 1 − e−θs 3.2 Robustness
where K◦ in the primary conventional controller, which
in this paper is a pi controllers, and G◦ and G are the In this paper, we quantify robustness in terms of Mst ,
internal delay-free and delayed models, respectively. A defined as the largest value of Ms and Mt (Garpinger and
block diagram of the sp for the case where K◦ is a pi Hägglund, 2008),
controller is shown in Figure 2. Mst = max{Ms , Mt }. (8)
The main advantage of the sp is the potential excellent where Ms and Mt are the largest peaks of the sensitivity
septpoint response. However, because it is impossible to S(s) and complimentary sensitivity T (s) functions, respec-
eliminate the open-loop poles in the input disturbance tively. Mathematically,
(load disturbance) transfer function, the “original” sp
Ms = maxS(jω) =
S(jω)
∞ ,
has slow settling time for for input disturbances (load ω
disturbances). It is possible to improve this by using a Mt = maxT (jω) =
T (jω)
∞ ,
ω
modified sp as discussed later.
where k·k∞ is the H∞ norm (maximum peak as a function
3. QUANTIFYING THE OPTIMAL CONTROLLER of frequency), and the sensitivity transfer functions are
defined as
3.1 Performance S(s) = 1/(1+G(s) K(s)) and T (s) = 1 − S(s). (9)
For most stable processes, Ms ≥ Mt . For a given Ms we
In this paper we choose to quantify performance in terms are guaranteed the following gain margin (gm) and phase
of the iae, Z ∞ margin (pm),
iae = y(t) − ys (t) dt. (6) Ms 1 1
0 gm ≥ and pm ≥ 2 arcsin ≥ .
Ms − 1 2Mt Mt
To balance the servo/regulatory trade-off, we choose as
(10)
the performance index a weighted average of iae for a
For example, Ms = 1.6 guarantees gm ≥ 2.7 and pm ≥
step input disturbance du and step output dy ,
36.4◦ = 0.64 rad. Another important robustness measure
iaedy (p) iaedu (p) is the delay margin (dm), (Åström and Hägglund, 2006),
J(p) = 0.5 + (7)
iae◦dy iae◦du pm
dm = (11)
where iae◦dy and iae◦du are weighting factors, and p is the ωc
controller parameters. In this paper, we select the two where ωc is the crossover frequency. Note that the units
weighting factors as the optimal iae values when using for pm [rad] and ωc [rad/s] must be consistent. The delay
pi control, for input and output disturbances, respectively margin is the smallest change in time-delay that will cause
(as recommended by Boyd and Barratt (1991)). To ensure the closed-loop to becomes unstable. We will see for the
robust reference pi controllers, they are required to have sp, that robustness in term of Mst does not guarantee
Ms = 1.59 1 , and the resulting weighting factors are given robustness in term of dm.
for four processes in Table 1.
It may be argued that a two-degree of freedom controller 4. OPTIMAL CONTROLLER
with a setpoint filter can be used to enhance setpoint
performance, and thus we only need to consider input For a given first-order plus delay process, the iae-optimal
disturbances. But note that although a change on the pi, pid or sp controller are found for a specified robustness
1 For those that are curious about the origin of this specific value
level by solving the following optimization problem:
Ms = 1.59, it is the resulting Ms value for a Simple Internal Model iaedy (p) iaedu (p)
Control (simc) tuned pi controller with τc = θ on first-order plus min J(p) = 0.5 + (12)
p iae◦dy iae◦du
time delay (foptd) process with τ ≤ 8θ.
770
Preprints of the 3rd IFAC Conference on Advances in Proportional-
Integral-Derivative Control, Ghent, Belgium, May 9-11, 2018
Table 1. Cost function weights and optimal controllers with Mst = 1.59.
e−s 1.61 1.61 1.59 0.20 0.32 1.61 1.61 1.00 0.73 0.32 1.45 1.45 0.90
e−s /(s + 1) 2.07 2.02 1.59 0.54 1.10 2.08 2.04 1.01 1.37 0.93 1.69 1.68 0.83
e−s /(8s + 1) 2.17 1.13 1.59 3.47 4.04 3.10 1.16 1.23 9.94 3.35 2.04 1.38 1.08
e−s /(20s + 1) 2.17 0.60 1.59 8.42 5.16 3.67 0.61 1.36 22.7 3.31 2.34 1.12 1.47
iaedy and iaedu are for a unit step disturbance on output (y) and input (u), respectively.
771
Preprints of the 3rd IFAC Conference on Advances in Proportional-
Integral-Derivative Control, Ghent, Belgium, May 9-11, 2018
2.5
G(s) = e−s G(s) = e /(s+1)
−s
Performance, J
1.5
1 pi/pid
pid pi
sp
0.5 sp
2.5
−s −s
G(s) = e /(8s+1) G(s) = e /(20s+1)
2
Performance, J
1.5
sp
pi
1 sp pi
pid
pid
0.5
0
1 1.2 1.4 1.6 1.8 2 1 1.2 1.4 1.6 1.8 2
Robustness, Mst Robustness, Mst
Fig. 3. Pareto-optimal tradeoff between iae-performance and Mst -robustness for pi, pid and sp control.
4
G(s) = e−s G(s) = e /(s+1)
−s
Delay Margin, dm
2 sp sp
pi pid pi
4
−s −s
G(s) = e /(8s+1) G(s) = e /(20s+1)
Delay Margin, dm
2 sp sp
pid
pid pi pi
1
0
1 1.2 1.4 1.6 1.8 2 1 1.2 1.4 1.6 1.8 2
Robustness, Mst Robustness, Mst
772
Preprints of the 3rd IFAC Conference on Advances in Proportional-
Integral-Derivative Control, Ghent, Belgium, May 9-11, 2018
pi
sp
Since we can have |L| > 1 also for ω > ω180 with sp, a
sp with high gain can become unstable both for positive
and negative time delay errors. This is not the case for ∆θ = 0
−1
pid which becomes unstable only for positive time delay
errors. ∆y
For example, for the system in Figure 5 which has a 1
sp
pi
nominal delay of 1, the system with sp becomes unstable
for time delays errors ∆θ in the intervals,
∆θ = −0.45
[−0.66, −0.45] , [0.48, 0.85] , and [1.38, ∞) . (17) −1
Closed-loop responses for a sp and a pi controller tuned for ∆y
Mst = 1.81 for three values of ∆θ are shown in Figure 6.
sp
1
pi
We see that the Smith predictor may start to oscillate both
for negative (∆θ = −0.45) and positive time delay errors
(∆θ = 0.40). ∆θ = 0.40
−1
One solution to deal with the problem of multiple instabil- 0 15 30 t
ity regions, is to limit the loop gain such that it is strictly
smaller than 1 at higher frequencies (Ingimundarson and Fig. 6. Step response for pi and sp control with different
Hägglund, 2002), that is time delay errors, ∆θ. That is, the controllers are
L(ω) < 1 for ω > ωc . (18) tuned with Mst = 1.81 for a model with θm = 1,
where ωc is the first crossover frequency. This will ensure and tested on the real process with θ = θm + ∆θ.
that the system only becomes unstable if the delay error
is ∆θ is positive, as is the case with pid. However, for e kc Σ u
system with high loop gain where one of the peaks of L(ω)
is almost one, a small under-estimation of the process gain
can bring back the peaks. e−θs
τi s+1
Concerned about the conservatism of multiplicative bound
for time delay error Larsson and Hagglund (2009) pro- Fig. 7. Block digram of the Predictive PI (ppi) controller
posed the following robustness bounds,
S(s, ∆θ)
≤ Msub 1996) is a special case of the sp, where the parameters of
Ms ∆ = max ∞ ∆
(19)
∆θ∈[∆θmin , ∆θmax ] the internal model, k and τ , is parametrized in terms of the
T (s, ∆θ)
≤ Mtub controller parameters kc and τi . This is done by assuming a
Mt ∆ = max ∞ ∆
(20)
∆θ∈[∆θmin , ∆θmax ] fopd and using the lambda tuning method to express the
which ensures a minimum gm and pm even for maximum model parameters in term of the controller parameters.
delay error. As a result, the ppi controller only needs 3 parameters
to be specified, namely kc , τi , and θ, which is same as
Form this we can conclude that by ensuring sufficiently the number of parameters needed for pid controller. The
small Ms and Mt peaks for sp, we get good robustness delay-free part of the model, G◦ , is reduced and the ppi
against delay error. But this also means that sp will not controller can be expressed as,
be able to achieve the lowest iae values in Figure 3.
kc 1 + τ1i s
6.2 Predictive PI Kppi = , (21)
1 + τ1i s (1 − e−kθ s )
Another way of avoiding some of these limitations with where kp , ki , and kθ are tuning parameters. The internal
sp is to use a modified sp. The ppi controller (Hägglund, controller delay can be treated as a fixed parameter kθ = θ
(normally done), or as a free parameter to additionally
101 improve performance. Because of the modification, the ppi
|L e−s controller can achieve better disturbance rejection than
(j L= 0.3s+1−e−s
ω)
Magnitude
| ω180 ω540 the sp because it can avoid the zero-pole cancellation be-
100
tween the controller and process. Also, the ppi controller,
unlike the sp, works for integrating processes because it
retains integral action for these processes. However, other-
wise performance compared to pid control is not improved
10−1
(Larsson and Hägglund, 2012)
10−1 100 101 102
Frequency, ω 6.3 Tuning of PID controlles
Fig. 5. Bode plot of the sp loop function L = GKsp for We find in this paper than a pid controller generally
G(s) = e−s /(s + 1) and Mst = 1.81. outperformes a Smith predictor controller. This is in agree-
773
Preprints of the 3rd IFAC Conference on Advances in Proportional-
Integral-Derivative Control, Ghent, Belgium, May 9-11, 2018
774