Process Control
Basic Concepts
Level Control
R!0
L{0
C ( s) K M GC GV GP ! R ( s ) 1 GC GV GPGM
(s) ! L( s ) 1
PID Control
Proportional Function
The controller output u is proportional to error signal e:
1 u ! K ce ! e H
where H is proportional band P control has steady state error.
Example
Temperature control of heating system UT obtains temperature of hot water U and sends Uc Uc regulate steam valve to keep constant outlet temperature. load: hot water flow rate Q and outlet temperature U P control, opening of regulating valve Q controller output
C V ste a m T
co n d e n se r w a te r
Integral Function
Controller output is proportional to error e.
t du ! S 0 e u ! S 0 edt 0 dt
Output of I control is constant only e=0, no steady state error. Reduce system stability. I control is always slower than that of P control, Open loop gain is proportional to S0, increase S0 In reduce system stability.
PI Control
P to improve response time and reject disturbance, I to eliminate steady state error.
1 1 u ! K c e S0 edt ! e 0 H TI
t
0 edt
t
Derivative Function
Output of controller is proportional to the differential of error
de u ! S2 dt
or
dy u ! S2 dt
Prediction: Adjusting the output according to speed of error. D function must be formed to PD or PID controllers. Controller takes no action if rate of change very small, accumulate error.
de dt
u ! K c e S 0 edt S 2
Properties 1. Steady state, de/dt=0, PD control has steady state error. 2. D function reduces oscillation, increases system stability. 3. Adding D increase open loop gain, increase response speed. 4. Sensitive to disturbance.
de 0 dt de 1 1 t 1 ! K c e edt T ! e TI 0 dt H TI
t
edt T
de dt
Stability Criterion
Denominator of the closed loop transfer function
1 GC GV GPGM ! 0
The roots of the characteristic equation (s pi ) determine responses
an " 0
a a a a b! a
n1 n2 n 1 n1 1 n3 1
n3
a a a a b! a
n1 n4 n 2 n1 1 n5 2
n5
ba a b c! b
1
n1 2
ba a b c! b
1
n1 3
L L
Example
8 GP ! G ! ( s 2)3
GV ! GM ! 1
GC ! KC
12
72 (8 8 K C ) " 0 K C
8 8 K C " 0 K C " 1
8 8KC 0 0 0 0 0
KC u 8 unstable
s ! j[
G( j[ ) ! K K j 1 2
G ! AR ! K12 K 22
K2 J !G ! arctan K1
Example:
Determine closed-loop stability for proportional control with values of KC =1, KC =4 and KC =20
GP (s) !
GO (s) !
Impossible to satisfy all Alternatives for Controller Design Tuning correlations - limited to lst order and dead time Closed loop transfer function - analysis of stability Repetitive simulation (computer and interactive graphics) Frequency response-stability and performance (computer and graphics) On-line controller cycling (field tuning)
I ! I (t )dt
ISE ! I 2 (t ) dt
Example (IAE)
FR Characteristics of Controllers
a) Proportional Controller
GC (s) ! KC
b) PI Controller
1 GC (s) ! KC 1 XI s
AR ! G( j[ ) ,
J !0
AR ! KC
1 1 2 2 [ XI
1 J ! tan 1 X I[
c) PD Controller
GC (s) ! KC X D s
1
d) Ideal PID Controller
1 GC (s) ! KC 1 X s XIs
D
AR ! KC [ 2X D 1
J ! tan 1 [X D
1 AR ! KC [X D 1 [X I
1 J ! tan1 [X D [X I
Example
KC ! 1
Ultimate Period:
PU |
2T
[C
GM " 1 stability
Phase Margin:
[ ! [1 ARO ! 1.0
Phase angle:
J1
PM | 180r J1
Rules of Thumb:
Tuning Relationships
KC decreases as E increases increases X D ! 0.25X I
and X D
X increase as E X
Reduce K c when adding integral action Increase K c , when adding derivative action To reduce oscillation, decrease K c and increase X I