Professional Documents
Culture Documents
CHAPTER 12: Controller Design, Tuning, & Troubleshooting: Anis Atikah Ahmad Anisatikah@unimap - Edu.my
CHAPTER 12: Controller Design, Tuning, & Troubleshooting: Anis Atikah Ahmad Anisatikah@unimap - Edu.my
& Troubleshooting
Which of the
following
provides the
best
response????
Y Gc G
Eq. 12-2
Ysp 1 Gc G
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:
Y Y
sp d
Gc ~
G 1 Y Ysp d
Eq. 12-3b
1. Direct Synthesis (DS) method [cont.]
Note that the controller transfer function in (12-3b) contains the
inverse of the process model.
Y Y
sp
Gc ~ d
G 1 Y Ysp d
Eq. 12-3b
For processes without time delays, the first-order model in Eq. 12-4
is a reasonable choice,
Y
1 Eq. 12-4
Y s 1
sp d c
Y e s Y Y
sp d
Gc ~
Y s 1 G 1 Y Ysp d
sp d c
Gives:
1 e s
Gc ~ s
G c s 1 e Eq. 12-7
1 e s
e s 1 s Gc ~
G c s 1 e s
and rearranging gives
1 e s
Gc ~
G c s
Eq. 12-9
~ Ke s 1 e s 1
G Gc ~ Gc K c 1 D s
1s 1 2 s 1 G c s
Is
Eq. 12-13
with the following controller settings:
1 1 2 1 2
Kc I 1 2 D Eq. 12-14
K c 1 2
Example 12.1
Gc
10s 1 5s 1 1
Gc K c 1 D s
2 c s Is
50 s 2 15s 1 I D s 2 I s 1
comparing K c
2 c s Is
Thus;
I 15 D 50 15 3.33 K c 15 2 c 1
Example 12.1- Solution
The values of Kc decrease as τc increases, but the values of τI and τD and do not
change
Simulink diagram for Example 12.1
Example 12.1- Solution
~ ~
G
Simulation results for (a) ( = G), K 2
Increasing τc
As τc increases, the
responses become
more sluggish
Increasing τc
Example 12.1- Solution
~
Simulation results for (b) ( K = 0.9).
Increasing τc
As τc increases, the
responses become
more sluggish
Example 12.1- Solution
1 1 2
Kc
K c
2. Internal Model Control (IMC)
The Internal Model Control (IMC), similar to DS method, is based on an
assumed process model and leads to analytical expressions for the controller
settings.
The IMC method is based on the simplified block diagram shown in Fig. 12.6b.
~
The model response Y is subtracted
from the actual response Y, and the
~
difference, Y Y is used as the
input signal to the IMC controller,
Fig. 12.6
Internal Model Control (IMC)
The two block diagrams are identical if controllers Gc and Gc* satisfy the
relation:
Gc*
Gc *~
Eq. 12.16
1 Gc G
Fig. 12.6
2. Internal Model Control (IMC)
~
GG *
1 G G *
Y ~ Ysp
c c
~ D Eq. 12.17
1 Gc G G
*
1 Gc G G
*
~
For the special case of a perfect model, G G Eq. 12.17 reduces to
*
c
~
Y G GYsp 1 G G D *
c Eq. 12.18
2. Internal Model Control (IMC)
~
G
where contains any time delay and right half plane zeros.
Thus, the closed-loop transfer function for set-point changes (D=0) is:
Y ~
G f Eq. 12.23
Ysp
Example 12.2
Use the IMC design method to design a FOPTD model. Assume that f is
specified by eq 12.21 with r=1, and consider 1/1 Padé approximation for the
time delay term
~ Ke s
FOPTD Model: G
s 1 1 s Eq. 12.24a
According to 1/1 Padé approximation, e
s
2
1 s
Substituting into FOPTD Model; 2
K 1 s
~ 2
G Eq. 12.25
1 s s 1
2
Example 12.2 cont.
~ ~ ~
STEP 1: Factor this model asG G G
contains any time
K 1 s delay and right
~ 2 ~ half plane zeros
Model: G
G 1 s
1 s s 1 2 Eq. 12.26
2
~
~ G
Thus, G ~ K
G
1 s s 1 Eq. 12.27
2
Example 12.2 cont.
1
STEP 2: Specify the controller into G ~ f
*
c
G
~ K 1
Thus, substituting G and f ,
1 s s 1 c s 1 r
2
1 s s 1
2
Thus, Gc
*
K c s 1
Eq. 12.28
Example 12.2 cont.
1
STEP 2: Specify the controller into G ~ f
*
c
G
~ K 1
Thus, substituting G and f ,
1 s s 1 c s 1 r
2
1 s s 1
2
Thus, Gc
*
K c s 1
Eq. 12.28
Example 12.2 cont.
Gc*
The equivalent controller Gc can be obtained from eq 12.16; Gc *~
1 Gc G
1 s s 1
2
Gc
Eq. 12.29
K c s
2
And rearranged into PID controller;
2 1
1
Kc I D
K c 2
2 1 2 1
Eq. 12.30
*Type of controller (PI or PID) depends on time-delay approximation. Repeating this
derivation for Taylor series approximation gives a standard PI controller.
3. Controller Tuning Relations
3.1. IMC Tuning Relations
Table 12.1
3. Controller Tuning Relations
3.1. IMC Tuning Relations
K *e s
G s
K K
*
s
Then apply IMC tuning relation in Table 12.1. (Case M or N)
3. Controller Tuning Relations
3.1. IMC Tuning Relations
For lag-dominant models, the standard IMC controllers for first-order and
second-order models provide sluggish disturbance responses because τI is
very large.
I min 1 ,4 c
3. Controller Tuning Relations
3.1. IMC Tuning Relations
3. Design the controller for disturbance rejection, rather than set-point tracking.
~ 100
G s es
100s 1
Design four PI controller;
(a)IMC (τc=1)
(b)IMC (τc=2) based on the integrator approximation
(c)IMC (τc=1) with Skogestad’s modification
(d)Direct synthesis method for disturbance rejection. The controller settings
are Kc=0.551 and τI=4.91
Evaluate the four controllers by comparing their performance for unit step
changes in both set point and disturbance.
Example 12.4-solution
The PI controller settings are:
Kc τI
IMC 0.5 100
Integrator 0.556 5
approximation
Skogestad 0.5 8
DS (disturbance) 0.551 4.91
Example 12.4-solution
Set-point response
IMC controller provides an excellent
set-point response, while the other
three controllers have significant
overshoots and longer settling
times.
Disturbance
response
3. Controller Tuning Relations
3.2 Tuning Relations Based on Integral Error Criteria
Controller tuning relations have been developed that optimize the closed-
loop response for a simple process model & a specified disturbance or set-
point change. The optimum settings minimize an integral error criterion.
Three popular integral error criteria are:
IAE
value
Ke s 0.35
7
s K
0.5 1 2 1 2
1 8 1 2
K 1 2
1 8 0.5 1 8 2 8 2
8 2
K 8 8 2
Controllers with two degree of freedom
The specification of controller settings for standard PID controller typically requires
a tradeoff between set-point tracking and disturbance rejection.
Fortunately, two simple strategies can be used to adjust the set-point and disturbance
responses independently. These strategies referred to as controllers with two degrees
of freedom.
First strategy: set point changes are introduced gradually rather than as abrupt
step changes . Eg: the set-point can be ramped or “filtered” by passing it through
first order transfer function:.
Ysp* 1
Ysp f s 1
Controllers with two degree of freedom
Second strategy: adjusting the set-point response, based on a simple modification of
the PID control law:
1 t * * dym
p t p K c y sp t ym t K c e t dt D
dt
I 0
Set-point weighting factor, 0<β<1
As β increases, the set point response become faster but exhibits more overshoot.
When β =1, the modified control law reduces to standard PID control law.
Set-point response
Example 12.6
For the first-order-plus
delay model of Example
12.4, the PI controller with
DS-d settings provided the
best disturbance response.
However, its set point
response had a significant
overshoot.
Can set-point weighting
significantly reduce the
overshoot without
adversely affecting the
settling time? Disturbance
response
Example 12.6
Step 2. Set Kc equal to a small value (e.g., 0.5) and place the controller in the
automatic mode.
Step 4. Calculate the PID controller settings using the Ziegler-Nichols (Z-N)
tuning relations in Table 12.6.
1. Flow Rate
- Flow control loops are characterized by fast response with essentially no time delay
- For flow control loops, PI control is generally used.
- The presence of recurring high-frequency noise discourages the use of derivative
action because it amplifies the noise.
2. Gas Pressure
- PI controllers are normally used with only a small amount of integral control action
(тI is large)
- Derivative action is normally not needed because the process response times are
usually quite small compared to those of other process operations.
Guidelines for Common Control Loops
3. Temperature
-General guidelines are difficult to state because of the wide variety of processes and
equipment involving heat transfer and different time scales.
-PID controller are commonly employed to provide more rapid responses than can be
obtained with PI controllers.
4. Liquid Level
After acquiring this background information, the next step is to check out
each component in the control loop.