Lecture Note Chapter 11 PID Controller Design Tuning and Troubleshooting 2016
Lecture Note Chapter 11 PID Controller Design Tuning and Troubleshooting 2016
Lecture Note Chapter 11 PID Controller Design Tuning and Troubleshooting 2016
Previous Lecture
1.
2.
3.
4.
Chapter 12
Chapter 12
Chapter 12
Chapter 12
Fig. 12.2. Block diagram for a standard feedback control system.
Chapter 12
G 1 Y / Ysp
Equation 12-3a cannot be used for controller design because the
closed-loop transfer function Y/Ysp is not known a priori.
Also, it is useful to distinguish between the actual process G
and the model,G% , that provides an approximation of the
process behavior.
A practical design equation can be derived by replacing the
unknown G by G% , and Y/Ysp by a desired closed-loop transfer
function, (Y/Ysp)d:
1 Y / Ysp d
Gc =
G% 1 Y / Ysp
d
Chapter 12
(12-3b)
=
Ysp d c s + 1
Chapter 12
Because the steady-state gain is one, no offset occurs for setpoint changes.
By substituting (12-4) into (12-3b) and solving for Gc, the
controller design equation becomes:
Gc =
1 1
G% c s
(12-5)
Chapter 12
Ysp
e s
=
d c s + 1
(12-6)
1
e s
Gc =
G% c s + 1 e s
(12-7)
10
Chapter 12
Next, we show that the design equation in Eq. 12-7 can be used
to derive PID controllers for simple process models.
The following derivation is based on approximating the timedelay term in the denominator of (12-7) with a truncated Taylor
series expansion:
e s 1 s
(12-8)
1 es
Gc =
s
G% ( c + )
(12-9)
Chapter 12
s
Ke
G% ( s ) =
s + 1
(12-10)
(12-12)
12
Chapter 12
1
Gc = K c 1 +
+ Ds
I s
(12-13)
where:
1 1 + 2
Kc =
,
K c +
I = 1 + 2 ,
1 2
D =
1 + 2
(12-14)
Example 12.1
Use the DS design method to calculate PID controller settings for
the process:
2e s
G=
(10s + 1)( 5s + 1)
13
Chapter 12
(
c(
K c K% = 2
K K% = 0.9
I
D
c = 1
3.75
8.33
15
3.33
c = 3
1.88
4.17
15
3.33
c = 10
0.682
1.51
15
3.33
14
Chapter 12
Chapter 12
Fig. 12.4 Simulation results for Example 12.1 (b): incorrect
model gain.
16
Chapter 12
Chapter 12
Figure 12.6.
Feedback control
strategies
Chapter 12
Gc =
Gc*
(12-16)
1 Gc*G%
Y=
Gc*G
1 + Gc*
( G G% )
Ysp +
1 Gc*G%
1 + Gc*
( G G% )
(12-17)
19
Y = Gc*GYsp + 1 Gc*G D
(12-18)
Chapter 12
(12-19)
20
Chapter 12
Gc*
1
=
f
%
G
(12-20)
f =
( c s + 1)
(12-21)
21
Chapter 12
sp
(12-23)
Selection of c
The choice of design parameter c is a key decision in both the
DS and IMC design methods.
In general, increasing c produces a more conservative
controller because Kc decreases while I increases.
22
Chapter 12
2.
> c >
3.
c =
(Skogestad, 2003)
Chapter 12
24
25
Chapter 12
Chapter 12
Example 12.3
26
27
Chapter 12
Chapter 12
Chapter 12
For lag-dominant models, the standard IMC controllers for firstorder and second-order models provide sluggish disturbance
responses because I is very large.
For example, controller G in Table 12.1 has I = where is
very large.
As a remedy, Skogestad (2003) has proposed limiting the value
of I :
I = min {1, 4 ( c + )}
(12-34)
29
Example 12.4
Consider a lag-dominant model with / = 0.01:
Chapter 12
G% ( s ) =
100 s
e
100s + 1
30
Chapter 12
Solution
The PI controller settings are:
Controller
Kc
(a) IMC
(b) Integrator approximation
(c) Skogestad
(d) DS-d
0.5
0.556
0.5
0.551
I
100
5
8
4.91
31
Chapter 12
32
Chapter 12
IAE = e ( t ) dt
(12-35)
where the error signal e(t) is the difference between the set
point and the measurement.
33
Chapter 12
34
ISE = e ( t ) dt
(12-36)
Chapter 12
ITAE = t e ( t ) dt
(12-37)
Chapter 12
Chapter 12
*
where Ysp
denotes the filtered set point that is used in the control
calculations.
Chapter 12
dym
1
*
*
p ( t ) = p + K c e ( t ) + e t dt D
(8-7)
dt
I 0
Chapter 12
( )
p ( t ) = p + K c ysp ( t ) ym ( t )
1 t * *
dym
+ K c e t dt D
dt
I 0
( )
(12-39)
Chapter 12
Figure 12.11 Influence of set-point weighting on closed-loop
responses for Example 12.6.
40
Chapter 12
Chapter 12
Step 1. After the process has reached steady state (at least
approximately), eliminate the integral and derivative control
action by setting D to zero and I to the largest possible value.
Step 2. Set Kc equal to a small value (e.g., 0.5) and place the
controller in the automatic mode.
Step 3. Introduce a small, momentary set-point change so that the
controlled variable moves away from the set point. Gradually
increase Kc in small increments until continuous cycling occurs.
The term continuous cycling refers to a sustained oscillation with
a constant amplitude. The numerical value of Kc that produces
42
Chapter 12
Step 4. Calculate the PID controller settings using the ZieglerNichols (Z-N) tuning relations in Table 12.6.
Step 5. Evaluate the Z-N controller settings by introducing a
small set-point change and observing the closed-loop response.
Fine-tune the settings, if necessary.
The continuous cycling method, or a modified version of it, is
frequently recommended by control system vendors. Even so, the
continuous cycling method has several major disadvantages:
1. It can be quite time-consuming if several trials are required and
the process dynamics are slow. The long experimental tests
may result in reduced production or poor product quality.
43
Chapter 12
Pu
45
Chapter 12
Chapter 12
46
Relay Auto-Tuning
Chapter 12
Chapter 12
Chapter 12
49
Chapter 12
50
Chapter 12
Figure 12.15 Typical process reaction curves: (a) non-selfregulating process, (b) self-regulating process.
51
Chapter 12
Chapter 12
Example 12.8
Consider the feedback control system for the stirred-tank blending
process shown in Fig. 11.1 and the following step test. The
controller was placed in manual, and then its output was suddenly
changed from 30% to 43%. The resulting process reaction curve is
shown in Fig. 12.16. Thus, after the step change occurred at t = 0,
the measured exit composition changed from 35% to 55%
(expressed as a percentage of the measurement span), which is
equivalent to the mole fraction changing from 0.10 to 0.30.
Determine an appropriate process model for G GIP Gv G p Gm .
53
Chapter 12
Figure 11.1 Composition control system for a stirred-tank
blending process.
54
Chapter 12
Chapter 12
56
Chapter 12
Solution
A block diagram for the closed-loop system is shown in Fig.
12.17. This block diagram is similar to Fig. 11.7, but the feedback
loop has been broken between the controller and the current-topressure (I/P) transducer. A first-order-plus-time-delay model can
be developed from the process reaction curve in Fig. 12.16 using
the graphical method of Section 7.2. The tangent line through the
inflection point intersects the horizontal lines for the initial and
final composition values at 1.07 min and 7.00 min, respectively.
The slope of the line is
55 35%
S =
= 3.37% / min
R=
S 3.37% / min
=
= 0.259 min 1
p 43% 30%
57
Chapter 12
xm 55% 35%
K=
=
= 1.54 ( dimensionless )
p 43% 30%
= 1.07 min
= 7.00 1.07 min = 5.93 min
The apparent time delay of 1.07 min is subtracted from the
intercept value of 7.00 min for the calculation.
The resulting empirical process model can be expressed as
X m ( s )
1.54e 1.07 s
= G (s) =
5.93s + 1
P ( s )
Example 12.5 in Section 12.3 provided a comparison of PI
controller settings for this model that were calculated using
different tuning relations.
58
Chapter 12
Chapter 12
61