Lecture 6.
Lecture 6.
x 1 , w1 x 2 , w2
xm
AT
x, V
x, w
p(t) p (6.2)
Kce(t)
Where
p(t) = controller output
100%
PB (6.3)
Kc
0 e
Proportional controller: ideal behavior
p
pmax
p (t ) p (t ) p (6.4)
(6.7)
P(s Kc 1 (6.10)
)E(s) 1 I
s
Kc
0 0
0 t 0 t
When a sustained error occurs, the integral term becomes quite large and the
controller output eventually saturates – reset windup or integral windup.
de(t)
p(t) p D
(6.11)
dt
P(s)
Kc 1 D s (6.12)
E(s)
(6.13)
P(s) c
I s 1
D s 1 (6.15)
E(s) K I D
s s 1
lead / lag units
Process dynamics and Control
19
ON-OFF controllers
Synonyms: “two-position” or “bang-bang” controllers.
reached
P control
Offset reduced
PI control
Offset eliminated
Oscillatory response
PID control
Oscillations reduced
No offset
Electrical IP
Signal
Pneumatic signal
AC
xsp
x 1, w1
x 2, w 2
AT
xm
x, V
x, w
(8.1)
w here w
V
q , K1 w1 , and
1x
K2 w (8.2)
X
K1
(s)
1
s 1
X d
(s)
+
W2(s) K2 +
X (s)
s 1 X u
(s)
X m (s) K m
(8.3)
X (s) m
s
1
Km
X (s) X m
ms 1
(s)
P (s) 1
Kc 1 (8.4)
E(s) Is
~ E(s) P'(s)
X sp X 'sp (s) +
' Km
Mass [mA - [mA [mA ]
fraction ] ]
X 'm (s)
[mA ]
(8.7)
Pt(s) (8.9)
K IP
P (s
)
P'(s) P't (s)
[mA K IP [psi]
]
Process dynamics and Control
36
Control Valve
W2(s) Kv (8.10)
P (s)
t
v s 1
Y = controlled variable
U = manipulated
variable D =
disturbance variable P =
controller output
E = error signal
Ym = measured value of Y
Y~sp
= set-point
Ysp = internal set-point
(used by the controller)
Gc = controller transfer
function
Gv = transfer function for
final control element
Gp = process transfer
function Process dynamics and Control
39
Gd = disturbance transfer
Standard block diagram
Forward path
Closed loop
For simplifying the notation, prime and s dependence have been dropped.
Feedback
path
E KmYsp GmY
Y G c G v G p (KmYsp GmY ) Gd D
Km Gc Gv Gp Gd
Y Ysp D Closed loop equation (8.11)
1 Gc Gv Gp m 1 Gc Gv Gp m
G G
Servo problem T.F. Regulator problem T.F.
Km Gc Gv Gp Gd
Gsp (8.12) Y (s)
Gload (s) D(s) (8.13)
Ysp 1 Gc Gv Gp m
1 Gc Gv Gp Gm
YG
path from Zi to Z.
= product of every transfer function in the
l
feedback loop
PART II
Closed-loop Response of Simple Control Systems
Servo problem
Km Gc Gv Gp
Y (s) Ysp (s)
1 Gc Gv Gp m
G
Closed-loop response
Km Gc Gv Gp A
Y (s)
1 G c G v G p G m s
Km Kc Gv Gp AK m K c G v (0)G p
y(t ) A
1 K c G v G p G m s s
(0) 1 K c G v (0)G p (0)G m (0)
s0
AK m K c K v K p
y(t )
1 K m K c K v K p
AK m K c K v K p
Attained steadystateresponse
1 K m K c K v K p
AK m K c K v K p
Offset A 1 K m K c K v K p
Regulator problem
The effect of disturbance should be removed therefore, the
desired steady state response = 0 for regulator problem
AK d
offset 0
1 K m K c K v K p
1 K c G v G p G m 0
Gc Kc 1 I s 1 N (s)
Is K c PI Gc
1 Is Is
1 I Ds 2 I s 1
G c Kc 1 D s Kc
PID
Is Is
Process dynamics and Control
54
Closed-loop Response
Rearranging
Y (s) K m N (s)Gv G p A
I s N (s)Gv G p Gm s
Process dynamics and Control
55
Closed-loop Response
K m N (s)G v G p AK m N (0)K v K p
y(t ) A
I s N (s)G v G p G m s ss 0 N (0)K v K p A
0 Km
Offset A A
0
Integral action eliminates offset for servo problem
Gd
Y (s) Dsp (s)
1 Gc Gv Gp G m
Gd A
Y (s)
N (s) v p m
s
1 s G G G
I
I sGd A
Y (s)
I s N (s)G v G p G m s
( I s)G d A 0
y(t )
s
I 0 N (s)G v G p G m 0
0
s
Offset 0 I0s
N (s)G v G p G m s
0
Integral action eliminates offset for regulator problem
Conclusion
Integral action eliminates offset for both for regulator and
servo problem
Kv K N p (s) Kc
Gv (s) G p (s) Gc (s)
v s
G (s) s
m D p (s) I s
m
1 m
1
Where Dp(s) is the denominator of the process transfer function
1 G c G v G p G m 0
Introducing the transfer functions in the characteristic equation
Kv Np Nm
K
1 Ics ( v s 1) D p ( p s
0
1)
Process dynamics and Control
59
Closed-loop Response
Rearranging
Order increases by one
Applying the final value theorem to find the steady state value
K c (1 D s)G v G p K m AK c K v K p K m
y(t ) A
1 K c (1 D s)G v G p G m s s 1 K c K v K p K m
s0
AK m K c K v K p
Attained steadystateresponse
1 K m K c K v K p
AK K K K
Offset A 1 Kmm Kc c Kv v Kp p
%
Process dynamics and Control
63
Effect of PD controller
1 Kc D sG v G p G m 0
2
s 2 2s 1 KK
c D
s
0 2 s 2 (2 KKc D )s 1
0
The damping coefficient increases with Kc. Therefore, derivative
action enables to increase the controller gain Kc without
increasing the oscillations.