Professional Documents
Culture Documents
Chapter 6 Industrial Control Tuning Strategies
Chapter 6 Industrial Control Tuning Strategies
CEV544
PROCESS CONTROL AND
INSTRUMENTATIONS
LEARNING OUTCOMES
At the end of this chapter, student should be
able to:
SP2
Undershoot
SP1
Settling time
0 Time
1. Settling time is the period of time taken by the process reach stability.
2. Period is the time interval between two succesive peaks.
3. Overshoot is the process response (PV) surpasses the set point.
4. Undershoot is the process response (PV) goes below the set point.
5. Risetime is the period of time taken by the process to reach the setpoint.
© Abdul Aziz Ishak, Universiti Teknologi MARA Malaysia (2009)
process responses under automatic control.
Terminology
Ideal response: The desired process response is achieved at an instantaneous time.
Ideal
response
PV2
PV1
SP2
SP1
Time
Ideal
response
PV2
PV1
SP2
SP1
Time
Ideal
PV2 response
PV1
SP2
SP1
Time
PV
Out of spec
UCL
SP2
LCL
Out of spec
SP
1
0 Time
1. LCL = Lower control (quality)
limit.
2. UCL = Upper control (quality)
limit .
© Abdul Aziz Ishak, Universiti Teknologi MARA Malaysia (2009)
Various shapes of process responses under automatic
control.
QAD Oscillatory
Underdamped
Overdamped
Offset
1. Response time
2. Settling time
3. Rise time
4. Quarter Amplitude Damping (QAD)
5. Quality limits (BEST for product quality control)
6. No overshoot or no undershoot (BEST for
temperature and pH control)
7. Minimum IAE, ITSE, etc.
Tuning Rules
RR, Td & Tc
I/P
Openloop Test
URP tw Time, t
h
0
Examples:
0 for t 0
Usin t (5-14)
A sin t for t 0
K
Y (s) X (s )
s 1
1.Step response
K
Y (s) X (s )
s 1
K x
Y (s )
s 1 s
•All first order systems forced by a step function will have
a response of this same shape.
K
Y (s) X (s )
s 1
K a
Y (s ) s2
s 1
The normalized output
lags the input by exactly
one time constant
Where tan1( )
First order response to the sine wave
Response with time delay
X(t)
Y(t)
t=0 t=t0
Kest0
Y (s ) X (s )
s 1
First-order-plus-dead-time (FOPDT)
Unit 2: Process characteristics
Process deadtime
Definition by Z-N:
Period of time between the starting of input (load) change and the intersection of tangent line
and old steady state baseline. (Zieglar-Nichols, 1942)
PV ,% new s.s.
old s.s.
Td
time
MV , %
MV
time
PV63.2%
TC,63.2%
old s.s. old s.s. TPV@63.2
Tc %
Td
time time
TPV@63.2%
MV , % MV , %
MV MV
time time
© Abdul Aziz Ishak, Universiti Teknologi MARA Malaysia (2009)
Unit 2: Process characteristics
Process time constant
estimation
Definition 3: Two points method
Time constant is 1.5 times the difference between T(PV@63.2%) and
T(PV@28.3%).
PV63.2%
Definition by
Dr. Cecil
Smith does
PV28.3% not depend
TPV@28.32%
on tangent
old s.s. TPV@63.2% line.
time
MV , %
MV
time
© Abdul Aziz Ishak, Universiti Teknologi MARA Malaysia (2009)
Unit 2: Tutorial 2
45
PV, %
25
A
10
0 20 40 60 80 100
Time, min
30
5. Calculate 0.632 (PVnss – PVoss)
6. Calculate 0.283 (PVnss – PVoss)
25
Summary of result
20
Td, s TC,Z-N TC,63.2% TC,Cecil
15
A
10
0 20 40 60 80 100 TC,Z-N/Td TC,63.2% TC,Cecil /Td
Time, min /Td
TC Tnss Td
PV63.2% PVoss 0.63 x PVnss PVoss
4. Estimate TPV@63%
Step-by-step calculation for TC,63%
5. Calculate PV28.3%
1. Estimate TC,63%
PV28.3% PVoss 0.283 x PVnss PVoss
TC ,63% TPV @ 63% Td
6. Calculate TC,Cecil
TC ,Cecil 1.5 TPV @ 63% TPV @ 28%
d 2Y (t ) dY (t ) b
K
2
2
2 Y (t ) KX(t ) a0
dt dt
• General second order transfer function
K
Y (s ) 2 2 X (s )
s 2 s 1
Composed of two first order subsystems (G1 and G2)
K1K 2
Y (s)
1s 1 2s 1
K 1 overdamped
G(s) = 2 2
s 2s 1 0 1 underdamped
1 2 1 critically damped
Y (s) 2 2
K K x
s 2s 1X (s) Y (s)
2s 2 2s 1 s
Second Order Step Change
a. Overshoot – fraction of the final steady-state change
by which the first peak exceeds this change
a
os= exp
b 1 2
b. time of first maximum-time required for the output
to reach its first maximum value
tp
1 2
• Examples:
Liquid flow, gas pressure, tempe-
rature, mass flow.
old s.s.
time
MV,%
MV
time
time
pump
Unit 4: Process characteristics determination
Process characteristics
These methods are used to extract the response rate, deadtime and time
constant from openloop response curves.
• Tangent Method1
• Reformulated Tangent Method2
• Numerical Method3
1 J.G. Zieglar & N.J. Nichols, “Optimum Settings for Automatic Controllers”, Trans. ASME (1942)64:759-768
2
Abdul Aziz Ishak & Muhamed Azlan Hussain, “Reformulation of the Tangent Method for PID Controller
Tuning”, TENCON2000 IEEE Asia-Pacific Regional Symposium, 24-27 Sept. 2000, Kuala Lumpur.
3
Abdul Aziz Ishak & Anuar Ahmad, “Application of Numerical Technique in Tangent Analysis of a Discrete
Step Response Data”, SCOReD 2002, UiTM-IEEE Conference, 16-17 July 2002, Shah Alam.
max. slope
PV ,%
The Tangent Method
Time constant?
time Information not available.
6-Process Charac.
4/17 (61/108)
© Abdul Aziz Ishak, Universiti Teknologi MARA Malaysia (2009)
1. Td = 2.6 s
2. RR = 0.04182 / s
Interacting vs. Noninteracting
Systems
• Consider a process with several invariables and several output
variables. The process is said to be interacting if:
o Each input affects more than one output.
or
o A change in one output affects the other outputs.
dh1
Mass Balance: A1 qi q1 (1) (4-48)
dt
1
Valve Relation: q1 h1 (2) (4-49)
R1
H1 s R1 K1
(4-53)
Qi s A1R1s 1 τ1s 1
Q2 s 1 1
(4-56)
H 2 s R2 K2
H2 (s) K2
Qi (s) 1s 1 2s 1
a second-order transfer function
Block Diagram for Noninteracting
Surge Tank System
1
q1 h1 h2 (6-70)
R1
R2
H 2' s R1 R2
H1 s R1R2 A2 s 1
'
R1 R2
H2 (s) K2
Qi (s) 1s 1 2s 1
• Interacting system
Multiple-Input, Multiple Output
(MIMO) Processes
• Most industrial process control applications involved a number
of input (manipulated) and output (controlled) variables.
• These applications often are referred to as multiple-input/
multiple-output (MIMO) systems to distinguish them from the
simpler single-input/single-output (SISO) systems that have
been emphasized so far.
• For example, consider the system illustrated in Figure below
• Here the level h in the stirred tank and the temperature T are to
be controlled by adjusting the flow rates of the hot and cold
streams wh and wc, respectively.
• The temperatures of the inlet streams Th and Tc represent
potential disturbance variables.
On – off, Proportional, Integral,
Derivative Control modes
(6.3 SELECTION OF
CONTROLLER MODE &
characteristic of PID
controllers)
Topic Covered
• On – off control
• Proportional control
• Proportional-Derivative control
• Proportional-Integral control
• Proportional-Integral-Derivative control
• General tips for designing a PID controller
Topic Outcome
• Able to understand the characteristics of the
each of proportional (P), the integral (I), and
the derivative (D) controls.
• Able to use them to obtain a desired
response.
Introduction
• Consider the following unity feedback system:
• Plant: A system to be controlled
Controller: Provides the excitation for the plant; Designed to
control the overall system behavior
Selection of controller mode
• Three popular modes of control are:
– Proportional only (P)
– Proportional-Integral (P+I)
– Proportional-Integral-Derivative (P+I+D)
The goal of this problem is to show you how each of Kp, Ki and
Kd contributes to obtain:
You can always refer to the table shown in this "PID Tutorial" page
to find out which controller controls what characteristics.
Summary
• Lastly, please keep in mind that you do not need
to implement all three controllers (proportional,
derivative, and integral) into a single system, if not
necessary. For example, if a PI controller gives a
good enough response (like the above example),
then you don't need to implement derivative
controller to the system. Keep the controller as
simple as possible.
•PID Controller Tuning
• Tuning –adjustment of the controller parameters
to obtain a specified closed-loop response.
• 2 methods:
• On-line or closed-loop tuning
• Step-testing or open-loop tuning
• A number of tuning procedures and formulas – to
aid and insight into the tuning procedure.
76
CLOSE-LOOP OR ONLINE TUNING METHOD
Quarter Decay Ratio Response By Ultimate Gain
• It consists of two steps:
1. The determination of the dynamic
characteristics
2. The estimation of the controller tuning
parameters that produce a desired response for
the dynamic characteristic in first step
• The dynamic characteristics are represented by:
• Ultimate gain of a proportional controller
• Ultimate period of oscillation of the loop.
77
Quarter decay ratio response to disturbance input
and change in the set point
78
• The decay ratio is the ratio of the amplitudes of
two successive oscillations.
• It should be independent of the input to the
system
• It depends only on the roots of the characteristic
equation of the loop.
• First, determine the ultimate gain and period
• Then, calculate the controller tuning parameters
that produce quarter decay ratio responses.
79
Tuning formulas for quarter decay ratio response
Mode Kc I D
- -
P K
Kc cu
2
PI K T -
K c cu I u
2.2 1 .2
PID K cu Tu Tu
K c'
'
I
D'
1.7 2 8
80
Determine the controller tuning parameters for quarter decay ratio
response by the ultimate gain method
•Characteristic equation
1 H(s )Gs (s )Gv (s )Gc (s ) 0
1.0 50 0.016
1 Kc 0
10s 1 30s 1 3s 81 1
1.0 the controller
Determine 50 0.016 tuning
1 K c parameters
0 for quarter decay ratio
10s 1 30 s 1 3sby the
response 1 ultimate gain method
•Rearrange into polynomial form
(10s 1)(30s 1)(3s 1) 0.8K c 0
82
Obtain two equations, real and imaginary parts
must be zero
420u2 1 0.8Kcu 0
900u3 43u 0
u 0.2186rad / s
Kcu 23.8%CO / %TO
2
Tu
u
2
Tu 28.73s
0.2186
83
a) A proportional controller
K cu %CO
Kc 11.9
2 %TO
Tu
I 14.37s
2
84
• Consider a feedback control system that has the characteristic equation,
1+GOL=0
where
2K c
GOL (s)
(s 1)(s 2)(s 3)
Determine the ultimate controller gain, Kcu and ultimate period, Tu.
85
OPEN-LOOP OR OFFLINE TUNING METHOD
88
Time delay (Td), time constant (Tc@∆t), response
rate (RR)
• Tangent method
• Reformulated tangent method
• Tangent and point
• Two point method
89
Tangent method
90
Ziegler-Nichols's tuning
rule
91
Ziegler-Nichols's tuning
rule
Mode Kc I P
P - -
PI -
PID
92
Tuning formulas for Cohen-Coon
Mode Kc I P
P - -
PI -
PID
93
Tuning formulas for Cohen-Coon
Mode Kc I P
P 1 - -
1
3
K
PI -
1 30 3 /
K 0.9 12
9 20 /
PID 1 16 3
32 6 / 4
K 12
13 8 / 11 2 /
94
Unit 4: Tutorial 4
?
9 73.2
10 73.9
11 74.5 Response rate, RR
12 74.9
13 75.1 Dead time, Td
14 75.3 Time constant, Tc
15 75.6
16 75.7
17 75.8
18 76.1
19 76
20 76.1
21 76.2
22 76.2
PV1 PV1
PVo slope
2h
Therefore, the response rate
PV-1 becomes:
slope PV1 PV1
= data RR
points MV 2 h MV
h h
t-1 to t1
Td Tnss
t-1 to t1
= data points
PV1 PV1
3 61.8 0.2044 1.9 5.1 42.4 6.2
4 65.1 0.1657
RRmax
5
6
67.8
69.6
0.1243
0.0912
2 h MV
7 71.1 0.0801
8 72.5 0.0580 PV1 PVoss
9 73.2 0.0387
Td t1 2 h
10
11
73.9
74.5
0.0359
0.0276 1
PV PV1
12 74.9 0.0166
13 75.1 0.0110 PVnss PVoss
14 75.3 0.0138 C
T 2 h
15 75.6 0.0110
PV1 PV 1
16 75.7 0.0055
17 75.8 0.0110
18 76.1 0.0055
19 76.0 0.0000
20 76.1 0.0055
21 76.2 0.0028
22 76.2
0.2044
Example
Pressure control loop Pressure control loop
Calculated optimum: Calculated optimum:
PB = 58.3% PB = 60%
I = 5.75 s I=6s
2. Tune with confidence. Select the integral time first, set the derivitive time
to about one fourth of the integral time, and then adjust the proportional
gain to obtain tight control.
D = 0.25 x I
Example
Pressure control loop Pressure control loop
Calculated optimum: Calculated optimum:
PB = 60% PB = 60%
I=6s I = 12 s
Example
Flow control loop Flow control loop
Calculated optimum: Calculated optimum:
PB = 15% PB = 30%
I=3s I=9s
D > Dcalc
I < Icalc
SP2
PB < PBcalc
PB > PBcalc
SP1
The response curve below is the result of a set point change from 50% to
60%. The PB is 30, 100 and 200% and I is 6 s. Assume that the process is of
linear characteristic and a linear control valve had been installed.
a. On the response curve, label the PB’s accordingly. Justify your answer.
b. You are to make a set point change from 50 to 60%. Sketch the expected
responses for
i) PB =15% and I = 6 s
ii) PB = 400% and I = 6 s
70
Automatic Response of Level Control
PB = 30, 100, 200%, I = 6 s
60
Level, %
50
0 50 100 150 200 250
Time, s
© Abdul Aziz Ishak, Universiti Teknologi MARA Malaysia (2009)
Unit 5: Tutorial 5
Effect of integral time, I
The response curve below is the result of a set point change from 50
to 60%. The PB is 100 and I is 12 s. If you were to change the integral
a. 12 Ito
time, 20 s
from
b. 12 to 6 s
how would the process response curve be? Justify your answer.
I = 12 s
Level, %
SP
109
Integral Error Criteria
Alternative approach for the closed-loop tuning
• Controller design based on performance index
• Tuning relationship are intended to minimize the
integral of the error.
• Three popular performance indices are:
•Integral of the absolute value of error (IAE)
IAE et dt
0
110
M
u
k
a
s
u
r
a
t
Mode Kc I D
0.985
P 0.902 t 0 - -
K
0.986
PI 0.984 t 0 t0
0.707
-
K 0.608
0.921 0.749 1.137
PID 1.435 t 0 t0 t
0.482 0
K 0.878
Controller
τ
Mode A B
I
PI P 0.859 -0.977
I 0.674 -0.680
PID P 1.357 -0.947
I 0.842 -0.738
D 0.381 0.995
Y At 0 /
B
113
Minimum ITAE performance index for set point changes
Controller Mode A B
PI P 0.586 -0.916
I 1.03 -0.165
PID P 0.965 -0.85
I 0.796 -0.1465
D 0.308 0.929
Y At 0 /
B
For proportional and derivative
Y A Bt 0 / mode
For integral mode
=1.85
115
•For the process model,
4e 3.5s
G(s)
7s 1
116