Professional Documents
Culture Documents
4807
A design method for PID controllers based on the direct synthesis approach and specification of
the desired closed-loop transfer function for disturbances is proposed. Analytical expressions
for PID controllers are derived for several common types of process models, including firstorder and second-order plus time delay models and an integrator plus time delay model. Although
the controllers are designed for disturbance rejection, the set-point responses are usually
satisfactory and can be tuned independently via a set-point weighting factor. Nine simulation
examples demonstrate that the proposed design method results in very good control for a wide
variety of processes including those with integrating and/or nonminimum phase characteristics.
The simulations show that the proposed design method provides better disturbance rejection
than the standard direct synthesis and internal model control methods when the controllers
are tuned to have the same degree of robustness.
1. Introduction
The ubiquitous PID controller has continued to be the
most widely used process control technique for many
decades. Although advanced control techniques such as
model predictive control can provide significant improvements, a PID controller that is properly designed
and tuned has proved to be satisfactory for the vast
majority of industrial control loops.1,2 The enormous
literature on PID controllers includes a wide variety of
design and tuning methods based on different performance criteria.3-6 Two early and well-known design
methods were reported by Ziegler and Nichols (ZN)7 and
Cohen and Coon.8 Both methods were developed to
provide a closed-loop response with a quarter decay
ratio. Other well-known formulas for PI controller
design include design relations based on integral error
criteria9-11 and gain and phase margin formulas.12
The design methods for PID controllers are typically
based on a time-domain or frequency-domain performance criterion. However, the relationships between the
dynamic behavior of the closed-loop system and these
performance indices are not straightforward. In the
direct synthesis (DS) approach,13-15 however, the controller design is based on a desired closed-loop transfer
function. Then, the controller is calculated analytically
so that the closed-loop set-point response matches the
desired response. The obvious advantage of the direct
synthesis approach is that performance requirements
are incorporated directly through specification of the
closed-loop transfer function. One way to specify the
closed-loop transfer function is to choose the closed-loop
poles. This pole placement method4,13 can be interpreted
as a special type of direct synthesis.
In general, controllers designed using the DS method
do not necessarily have a PID control structure. However, a PI or PID controller can be derived for simple
process models such as first- or second-order plus time
delay models by choosing appropriate closed-loop transfer functions.15,16 For example, the -tuning method was
* Corresponding author. Tel.: (805) 893-3352. Fax: (805)
893-4731. E-mail: seborg@engineering.ucsb.edu.
4808
Gp(s) Gc(s)
y
)
r 1 + Gp(s) Gc(s)
(1)
y
(
r)
G (s) )
y
G (s)[1 - ( )]
r
(2)
y
(
r)
G (s) )
y
G
(s)[1 - ( ) ]
r
d
(3)
y DS
)
r
()
(yr)
Gp
y
G
p +
(G - G
p)
rd p
()
y
G
G [1 - ( ) ]
y
(d) ) G + y (G -r G )
(r)
p
DS
(4)
(5)
(yr)
DS
(dy)
DS
(yr)
(6)
[ (yr) ]
) Gd 1 -
(7)
respectively.
2.2. Comparison with Internal Model Control
(IMC). A well-known control system design strategy,
internal model control (IMC) was developed by Morari
and co-workers20 and is closely related to the direct
synthesis approach. Like the DS method, the IMC
method is based on an assumed process model and
relates the controller settings to the model parameters
in a straightforward manner. The IMC approach has
the advantages that it makes the consideration of model
uncertainty and the making of tradeoffs between control
system performance and robustness easier.
The IMC approach has the simplified block diagram
shown in Figure 1b, where G
p(s) is the process model
and G/c (s) is the IMC controller. The IMC controller
design involves two steps:
Step 1. The process model G
p(s) is factored as
p+(s) G
p-(s)
G
p(s) ) G
(8)
Ind. Eng. Chem. Res., Vol. 41, No. 19, 2002 4809
where G
p+(s) contains any time delays and right-halfplane zeros. It is specified so that its steady-state gain
is 1.
Step 2. The IMC controller is specified as
G/c (s) )
1
f
G
p-(s)
(9)
GPI(s) ) Kc 1 +
1
(cs + 1)r
Kc )
e-s
cs + 1
1
e-s
G
p (c + )s
G
p(s) )
(11)
(12)
G
p(s) )
Ke
s + 1
(13)
eq 12 reduces to
Gc )
s + 1
K(c + )s
1
K c +
(16)
(17)
Gc )
(15)
I )
(10)
(yr)
f)
1
Is
(14)
Ke-s
(1s + 1)(2s + 1)
(18)
GPID(s) ) Kc 1 +
1
+ Ds
Is
(19)
Kc )
1 1 + 2
K + c
(20)
I ) 1 + 2
(21)
12
1 + 2
(22)
D )
Gd(s)
y
)
d 1 + Gp(s) Gc(s)
(23)
Gc(s) )
Gd(s)
1
y
Gp(s)
G (s)
d p
()
(24)
Let the desired closed-loop transfer function for disturbances be specified as (y/d)d, and assume that a process
model G
p(s) and a disturbance model G
d(s) are available.
Replacing the unknown (y/d), Gp(s), and Gd(s) by (y/d)d,
G
p(s), and G
d(s), respectively, gives a design equation
for Gc(s)
4810
Gc(s) )
G
d(s)
1
y
G
p(s)
G
(s)
dd p
(25)
()
Kdse-s
y
)
d d ( s + 1)2
()
(yr)
DS-d
(dy)
DS-d
Gp G
d -
with
(dy) ]
d
y
Gp G
d +
(G
- Gp)
dd p
()
G
p Gd
(dy)
y
GpG
d +
(G
- Gp)
dd p
()
(26)
(27)
y
y DS-d
dd
)1r
G
d(s)
()
()
(dy)
DS-d
(30)
Ke-s
1
K 1+
s + 1 c
Is
I -s
se
K
y
c
(32)
d
I
I
2
- I s +
+ I - s + 1
K Kc
KKc
) (
+ 2c - c2
+
Kd ) K
(36)
(c + )2
+
(37)
0 < c < + x2 +
(38)
(yr)
Is + 1
(cs + 1)2
e-s
(39)
3.1.2. Integrator Plus Time Delay Model. Processes with integrating characteristics are quite common in the process industries. Assume that the process
is described by
Gp(s) )
(31)
()
(35)
DS-d
Ke-s
s + 1
2
1 + 2c - c
Kc )
K
( + )2
(29)
1+
(34)
and Kd is given by
respectively.
The DS-d design method does not necessarily produce
a PI or PID controller. The structure and order of the
controller depend on the specification of the desired
closed-loop response and the process model. In this
section, the new DS-d design method is used to derive
PI/PID controllers for simple process models that are
widely used.
3.1. DS-d PI Settings. The DS-d methods will now
be used to design PI controllers for a first-order plus
time delay model and then an integrator plus time delay
model.
3.1.1. First-Order Plus Time Delay Model. Assume that the process is described by a first-order plus
time-delay model
y
)
d
I
Kc
(28)
(dy)
Ke-s
s + 1
Kd )
I )
Gp(s) )
(33)
Ke-s
s
(40)
y
)
d
Ke-s
s
Ke-s
1
Kc 1 +
1+
s
Is
(41)
Ind. Eng. Chem. Res., Vol. 41, No. 19, 2002 4811
()
I -s
se
Kc
I
- I s2 + (I - )s + 1
KKc
(42)
Kdse-s
y
)
d d ( s + 1)2
()
(44)
I ) 2c +
(45)
y
)
dd
()
Kc )
(47)
Gp(s) )
Ke-s
s + 1
(48)
y
)
d
Ke-s
s + 1
1+
Ke-s
1
K 1+
+ Ds
s + 1 c
Is
(49)
-s
1- s
2
1+ s
2
(52)
2 +
I )
)(
)(
3c +
- 2c3 - 3c2
2
2
(2 + )
3c + - 2( + )c3
2
2
D )
2
2 +
3c +
- 2c3 - 3c2
2
2
3c2 +
Is + 1 -s
y DS-d
e
r
( s + 1)2
3c +
- 2c3 - 3c2
2
2
(53)
2
3
2
2c + 3c +
3 +
2 c 2
2 +
1
K
(46)
Kds 1 + s e-s
2
(cs + 1)3
and Kd is given by
Kd ) K(c + )2
) ]
(43)
1 2c +
K ( + )2
( + /2)I
I
+ ID - I s2 +
+ I - s + 1
KKc
2
KKc
2
(51)
()
] [(
) (
I
I
y
s 1 + s e-s /
- s3 +
d
Kc
2
2KKc 2 I D
Kc )
() [
(
)(
(54)
(55)
and Kd is given by
Kd ) K
3 +
2 c 2
(2 + )
2c3 + 3c2 +
(56)
y DS-d
()
(IDs2 + Is + 1) 1 + s
2 -s
e
(cs + 1)3
(57)
Gp(s) )
Ke-s
s
(58)
(50)
y
)
d
Ke-s
s
Ke-s
1
1+
Kc 1 +
+ Ds
s
Is
(59)
4812
() [
] [(
I
I
s 1 + s e-s /
- s3 +
d
Kc
2
2KKc 2 I D
I
+ ID - I s2 + I - s + 1 (60)
KKc
2
2
y
)
dd
()
(61)
Kdse-s
y
)
d d ( s + 1)3
3
2
1 [(1 + 2) + 12](3c + ) - c - 3c
(71)
K
(c + )3
D )
(64)
+ )
(
2
)K
(c + )3
Kd ) K
12 + (1 + 2 + )
(65)
()
(66)
Gp(s) )
Ke-s
(1s + 1)(2s + 1)
2
y DS-d (IDs + Is + 1) -s
e
r
( s + 1)3
()
y
)
d
Ke-s
1
+ Ds
1+
K 1+
Is
(1s + 1)(2s + 1) c
(75)
Gp(s) )
Ke-s
s(s + 1)
(76)
Ke-s
s(s + 1)
(67)
y
)
d
Ke-s
(1s + 1)(2s + 1)
(74)
(IDs2 + Is + 1) 1 + s
2 -s
e
(cs + 1)3
(73)
and Kd is given by
and Kd is given by
y DS-d
(72)
12 + (1 + 2 + )
(63)
3 2
3
3
c + c2 + - c3
2
4
8
D )
3c +
2
Kd
(70)
I )
I ) 3c +
2
) ]
(62)
)
) (
(1 + 2)I
I
+ ID - I s2 +
+ I - s + 1
KKc
KKc
(69)
Kc )
3c +
2
1
Kc )
K
3
c +
2
(
(
] [(
I -s 12I
y
se
/
- ID s3 +
d
Kc
KKc
()
Kds 1 + s e-s
2
(cs + 1)3
() [
(
1+
Ke-s
1
+ Ds
K 1+
Is
s(s + 1) c
(77)
(68)
() [
] [(
)
)
I -s
I
y
se
/
- ID s3 +
d
Kc
KKc
I
+ ID - I s2 + (I - )s + 1 (78)
KKc
Ind. Eng. Chem. Res., Vol. 41, No. 19, 2002 4813
Table 1. PI/PID Controller Settings for the DS-d Design Method
casea,b
model
KKc
-s
Ke
s + 1
)(
- 2c3 - 3c2
2
2(c + / 2)3
3c +
)(
2
2
2 +
3c +
- 2( + )c3
2
2
2
2 +
3c +
- 2c3 - 3c2
2
2
-
- 2c3 - 3c2
2
(2 + )
3c +
3c2 +
2c +
2c +
Ke
s
( 2)
( + 2)
3c +
3c +
Ke
s(s + 1)
K(as + 1)
(3c - a)( - a)
s(s + 1)
(c - a)3
3c + 3c - c3 + 2
(c + )3
(3c + )( + )
3c - a
Ke-s
2s + 2s + 1
(2 + 2)(3c + ) - c3 - 3c2
12 + (1 + 2 + )
(c + )
(2 + 2)(3c + ) - c3 - 3c2
(c + )
+ (2 + )
(1s + 1)(2s + 1)
12 - (1 + 2 - a)a
(c - a)
Kdse-s
y
y
Cases A and C,
)
; cases B and D,
dd
d
(cs + 1)2
Kds(as + 1)
y
. b Kd ) I/Kc.
)
dd
(cs + 1)3
()
3c2 - 3ca - c3 + a2
(3c - a)( - a)
Ke-s
(1s + 1)(2s + 1)
K(as + 1)
3c +
(3c + )( + )
-s
( + 2) - 2
(3 + )
2
)(
(c + )2
Ke-s
s
+ - (c - )
2
2
(c + )2
2 +
-s
+ - (c - )
Ke-s
s + 1
()
Kds 1 + s e-s
2
y
)
; cases E, G, and H,
d
(cs + 1)3
()
Kdse-s
(cs + 1)3
; cases F and I,
()
Kdse-s
y
)
d d ( s + 1)3
()
(79)
Kc )
1 (3c + )( + )
K
( + )3
(80)
I ) 3c +
(81)
D )
3c + 3c + - c
(3c + )( + )
(c + )3
Kd ) K
+
(82)
(85)
2
y DS-d (IDs + Is + 1) -s
e
r
( s + 1)3
Thus
IE ) Kd
(83)
IE )
and Kd is give by
()
(84)
(86)
4814
(dy) ) (dy)
d
Gd
d Gp
(87)
1
I
0t[r() - y()] d +
D
d[cr(t) - y(t)]
(88)
dt
(89)
Kc
0.829
4.05
0.829
4.05
0.744 100.5
0.948
1.99
D
0.354
0.354
0.498
0.498
Ds
1
+
Is RDs + 1
MS IAE TV
1.94
1.94
1.94
2.30
3.06
2.19
1.88
3.52
IAE
1.46 4.89
0.82 4.89
1.10 84.4
2.82 3.22
TV
1.89
1.89
1.59
3.06
loop transfer function is specified and the same approximation is used for time delay term. For some
process models, however, the IMC tuning rules are very
well-known. Thus, the IMC method was used instead
of the DS method for a few examples.
The following robustness and performance metrics
were used as evaluation criteria for the comparison of
the PI/PID controllers:
Robustness Metric. The peak value of the sensitivity function, MS,28 has been widely used as a measure
of system robustness. Recommended values of MS are
typically in the range of 1.2-2.0.29
To provide fair comparisons, the model-based controllers (DS-d, DS, and IMC) were tuned by adjusting c so
that the MS values were very close. This tuning facilitated a comparison of controller performance for disturbance and set-point changes for controllers that had
the same degree of robustness.
Performance Metrics. Two metrics were used to
evaluate controller performance. The integrated absolute error (IAE) is defined as15
IAE (
0| r(t) - y(t)| dt
(91)
To evaluate the required control effort, the total variation (TV) of the manipulated input u was calculated
TV (
|u(k+1) - u(k)|
(92)
The total variation is a good measure of the smoothness of a signal and should be as small as possible.30
4.1. Example 1. Consider the following model with
a step disturbance acting at the plant input31
Gp(s) ) Gd(s) )
4. Simulation Results
tuning method
DS-d (c ) 1.2, b ) 1)
DS-d (c ) 1.2, b ) 0.5)
IMC (c ) 0.85)
ZN
k)1
Gc(s) ) Kc 1 +
(90)
100
e-s
100s + 1
(93)
Ind. Eng. Chem. Res., Vol. 41, No. 19, 2002 4815
disturbance
tuning method
Kc
MS
IAE
TV
IAE
TV
DS-d (c ) 0.35, b ) 1)
DS-d (c ) 0.35, b ) 0.5)
DS (c ) 0.13)
ZN
2.30
2.30
2.63
3.12
0.662
0.662
1
0.763
1.88
1.88
1.90
2.37
0.635
0.630
0.532
0.632
3.64
2.10
3.80
6.63
0.288
0.288
0.37
0.244
1.54
1.54
1.40
2.02
Gp(s) ) Gd(s) )
e-0.25s
s+1
(94)
4816
Kc
DS-d (c ) 0.8, b ) 1)
DS-d (c ) 0.8, b ) 0.5)
DS (c ) 0.62)
ZN
0.60
0.60
0.62
1.02
0.98
0.98
1.00
2.58
MS IAE TV
IAE
TV
1.80
1.80
1.81
2.05
1.80
1.80
1.80
2.50
1.30
1.30
1.30
1.45
2.13
2.34
2.11
2.52
1.09
1.09
1.09
1.62
Kc
DS-d (c ) 0.75, b ) 1)
DS-d (c ) 0.75, b ) 0.7)
IMC (c ) 0.85)
ZN
1.11
1.11
1.11
1.36
1.45
1.45
1.50
1.55
0.317
0.317
0.333
0.387
disturbance
MS IAE TV
IAE
TV
1.92
1.92
1.94
2.59
1.30
1.30
1.35
1.16
1.46
1.46
1.51
2.79
1.68
1.74
1.65
1.81
2.18
1.70
2.21
4.46
Gp(s) ) Gd(s) )
e-s
s+1
(95)
disturbance
tuning method
Kc
MS
IAE
TV
IAE
TV
DS-d (c ) 1.9)
DS (c ) 2.8)
CM
ZN
0.11
0.13
0.35
0.515
0.87
1.00
3.3
9.8
1.86
1.86
1.68
1.89
10.9
10.6
9.43
18.8
1.27
1.24
0.68
0.96
10.8
10.5
9.43
18.5
1.37
1.36
1.01
1.34
Kc
DS-d (c ) 2.5)
IMC (c ) 4.5)
CM
ZN
0.4
0.5
0.4
0.66
2.86
3.5
3.0
5.9
MS
0.313 1.86
0.714 1.87
1.2
1.92
1.48 42.2
disturbance
IAE
TV
IAE
TV
7.69
7.38
7.60
9.48
0.939
1.28
1.20
5.94
7.39
6.99
7.52
9.26
1.18
1.48
1.57
9.64
Ind. Eng. Chem. Res., Vol. 41, No. 19, 2002 4817
Gp(s) ) Gd(s) )
e-s
s+1
(96)
c e 0.4
for / ) 0.25
(97)
c e 0.7
for / ) 0.5
(98)
c e 0.935
for / ) 0.75
(99)
For / ) 0.25, the DS-d PID controllers were designed for four values of c (0.25, 0.3, 0.35, 0.4), and the
4818
Gp(s) ) Gd(s) )
Kc
MS
DS-d (c ) 0.26, b ) 1)
DS-d (c ) 0.26, b ) 0.5)
IMC (c ) 0.22)
ZN
3.46
3.46
3.26
4.16
0.702
0.702
1.13
0.458
0.0887
0.0887
0.111
0.115
1.89
1.89
1.90
2.37
Gp(s) )
Gp(s) ) Gd(s) )
Gc(s) )
e-0.25s
ds + 1
(101)
-0.25s
1.125s(s + 1)e
y
*
d
( s + 1)( s + 1)3
d
(100)
()
(103)
0.2e-7.4s
s
(104)
e-0.25s
s+1
Gd(s) )
2e-s
(10s + 1)(5s + 1)
(102)
1
K(c + )
(105)
Ind. Eng. Chem. Res., Vol. 41, No. 19, 2002 4819
Figure 12. Disturbance responses for PID control and different d values (example 5, / ) 0.25). (a) d ) 0.25. (b) d ) 0.5. (c) d ) 1.
(d) d ) 2.
Kc
6.3
7.60
6.3
7.60
5
15
4.72 5.83
D
2.10
2.10
3.33
1.46
MS IAE
1.87
1.87
1.92
2.27
TV
5.59 13.3
4.58 6.78
6.25 11.7
8.41 12.9
set point
disturbance
IAE
TV
tuning method
Kc
1.19
1.19
3.03
1.74
2.10
2.10
2.34
2.77
DS-d (c ) 15, b ) 1)
DS-d (c ) 15, b ) 0.5)
IMC (c ) 8)
TL
0.373
0.373
0.49
0.33
37.4
37.4
23
64.7
MS IAE
1.94
1.94
3.06
1.67
27.1
19.6
30.9
28.4
disturbance
TV
IAE
TV
0.675
0.354
1.63
0.455
50.1
50.1
30.9
93.2
0.932
0.932
1.58
0.742
4820
Kc
DS-d (c ) 1.6, b ) 1)
DS-d (c ) 1.6, b ) 0.5)
IMC (c ) 1.25)
ZN
-1.25
-1.25
-1.22
-0.752
5.3
5.3
6.0
3.84
1.45
1.45
1.50
0.961
MS IAE TV
IAE
TV
1.94
1.94
1.96
2.76
4.33
4.33
4.99
9.31
2.86
2.86
2.83
3.91
3.42
2.82
3.48
7.17
3.39
1.62
3.29
2.86
Gp(s) ) Gd(s) )
-1.6(-0.5s + 1)
s(3s + 1)
(106)
Gp(s) ) Gd(s) )
1
(107)
(s + 1)(0.2s + 1)(0.04s + 1)(0.008s + 1)
For high-order processes, the DS-d, DS, and IMC design
methods do not yield PI/PID controllers directly. Thus,
the model order must be reduced, or the resulting
controller must be approximated by a PI/PID controller.
Skogestad30 has proposed a simple method of approximating high-order models with low-order models.
He also derived modified IMC rules, which were named
simple control or Skogestad IMC (SIMC). For the
first-order model in eq 30, the PI controller obtained
from SIMC has the following parameters
Kc )
, I ) min{, 4(c + )}
K(c + )
(108)
Kc )
K(c + )
(109)
Using Skogestads approximation method, the fourthorder process in eq 107 can be approximated as a firstorder plus time delay model
G1(s) )
e-0.148s
1.1s + 1
(110)
G2(s) )
e-0.028s
(s + 1)(0.22s + 1)
(111)
Kc
MS
DS-d (c ) 0.4, b ) 1)
DS-d (c ) 0.4, b ) 0.5)
DS (c ) 0.148)
SIMC (c ) 0.148)
TL
2.94
2.94
3.72
3.72
9.46
0.707
0.707
1.1
1.1
1.24
1.61
1.61
1.59
1.59
2.72
IAE
TV
0.553 3.66
0.594 2.08
0.450 4.45
0.450 4.45
0.498 25.9
disturbance
IAE
TV
0.721
0.721
0.874
0.874
0.387
4.56
4.56
4.22
4.22
8.67
disturbance
tuning method
Kc
MS
IAE
TV
IAE
TV
DS-d (c ) 0.135, b ) 1)
DS-d (c ) 0.135, b ) 0.5)
IMC (c ) 0.025)
SIMC (c ) 0.028)
ZN
22.4
22.4
22.6
21.8
18.1
0.415
0.415
1.2
1.22
0.281
0.106
0.106
0.167
0.18
0.07
1.58
1.58
1.58
1.58
2.38
0.276
0.231
0.311
0.333
0.423
38.0
18.3
48.3
48.7
52.0
0.056
0.056
0.160
0.168
0.070
5.56
5.56
6.57
6.85
9.03
Ind. Eng. Chem. Res., Vol. 41, No. 19, 2002 4821
tion characteristics. Thus, the proposed design procedure is simple and easy to implement. Although the PI/
PID controllers are designed for disturbance rejection,
the set-point responses are usually satisfactory and can
be independently tuned via a standard set-point weighting factor or a set-point filter constant. The set-point
tuning does not affect the disturbance response.
Nine simulation examples have been used to compare
alternative design methods and to illustrate the effect
of c. The simulation results demonstrate that the DS-d
method provides better disturbance performance than
standard DS and IMC methods and that satisfactory
responses to set-point changes can be obtained by simply
tuning the set-point weighting factor b. The DS-d
method furnishes a convenient and flexible design
method that provides good performance in terms of
disturbance rejection and set-point tracking.
Acknowledgment
The authors acknowledge the UCSB Process Control
Consortium for financial support and Professor Sigurd
Skogestad for his helpful comments and suggestions.
Literature Cited
4822