Professional Documents
Culture Documents
Chap 8 PDF
Chap 8 PDF
8.1
K c M D KcM
Ya (s ) = +
D s + 1 s ( D s + 1)
K c M t /( D )
y a (t ) = e + K c M (1 e t /( D ) )
As 0
e t /( D )
y a (t ) = K c M(t ) dt + K c M
t =0
y a (t ) = K c M(t ) D + KcM
Ideal response,
s + 1 KM
Yi( s ) = Gi ( s )U ( s ) = K c M D = KcMD + c
s s
yi (t ) = K c M D (t ) + K c M
Hence y a (t ) y i (t ) as 0
8-1
s +1 Ds +1
Ya ( s ) = K c D U ( s ) = K c M 2
D s + 1 s ( D s + 1)
K c M D K M
Ya (s ) = + 2 c
s ( D s + 1) s ( D s + 1)
1 D D 1 ( D ) 2
= K c M D + K M + +
s D s + 1 s 2 D s + 1
c
s
[ ] [
y a (t ) = K c M D 1 e t /( D ) + K c M t + D (e t /( D ) 1) ]
As 0
y a (t ) = K c M D + K c Mt
Ideal response,
s + 1 K c M D K c M
Yi(s ) = K c M D 2 = + 2
s s s
yi (t ) = K c M D + K c Mt
Hence y a (t ) y i (t ) as 0
c) Yes. The ideal transfer function amplifies the noise in the measurement by
taking its derivative. The approximate transfer function reduces this
amplification by filtering the measurement.
8.2
K 2 1
P ( s ) K1 K + K 2 1 s + K 2 K + K s + 1
a) = + K2 = 1 = ( K1 + K 2 ) 1 2
E ( s ) 1 s + 1 1 s + 1 1 s + 1
8-2
b) Kc = K1 + K2 K2 = Kc K1
1 = D
K 2 1 K
D = = 2 D
K1 + K 2 K1 + K 2
K 2
or 1=
K1 + K 2
K1 + K 2 = K 2
K 1 = K 2 K 2 = K 2 ( 1)
Substituting,
K 1 = ( K c K 1 )( 1) = ( 1) K c ( 1) K 1
Then,
1
K1 = K c
c) If Kc = 3 , D = 2 , = 0.1 then,
0 .9
K1 = 3 = 27
0 .1
K 2 = 3 (27) = 30
1 = 0.1 2 = 0.2
Hence
K1 + K2 = -27 + 30 = 3
K 2 1 30 0.2
= =2
K1 + K 2 3
2s + 1
Gc ( s ) = 3
0 .2 s + 1
8-3
8.3
From Eq. 8-15, for 0, the series form of the PID controller is:
1
Ga ( s ) = K c 1 + [ D s + 1]
I s
1
= K c 1 + D + + D s
I I s
D 1 Ds
= K c 1 +
1+ +
I
1 + D I s 1 + D
I I
K c = K c 1 + D
I
I = I 1 + D
I
D
D =
1+ D
I
b) Since 1 + D 1 for all D, I, therefore
I
K c K c , I I and D D
8-4
8.4
Note that parts a), d), and e) require material from Chapter 9 to work.
System II: Flow rate too high need to close valve increase
controller output direct acting.
c) System I : Kc is positive
System II : Kc is negative
d) Kc Kv Kp Km
System I : + + + +
System II : + +
e) Any negative gain must have a counterpart that "cancels" its effect. Thus,
the rule:
8.5
[
p(t ) = p + K c y sp (t ) y m (t ) ] (1)
8-5
The control-valve characteristic is
[ ] [
q(t ) q = K v p (t ) p = K V K c y sp (t ) K T h(t ) ]
q (t ) q
KV K c =
y sp K T h(t )
For inflow manipulation configuration, q(t)> q when ysp(t)>KTh(t). Hence
KvKc > 0
8.6
For PI control
1
t
p (t ) = p + K c e(t ) + e(t*)dt *
I 0
1
t
p (t ) = K c e(t ) + e(t*)dt *
I 0
Since
e(t) = ysp ym and ym= 2
8-6
Then
e(t)= -2
1
t
2
p (t ) = K c 2 + (2)dt * = K c 2 t
I 0 I
Initial response = 2 Kc
2K c
Slope of early response =
I
2 Kc = 6 Kc = -3
2K c
= 1.2 min-1 I = 5 min
I
8.7
1
K c 1 +
I s
1
1 f s 23
8-7
P ( s ) K c ( I s + 1)
= Negative sign comes from comparator
Ym ( s ) I s ( f s + 1)
M
For Ym ( s ) =
s
KcM I s +1 KcM A B C
P ( s ) = 2 = 2 + +
I s ( f s + 1) I s s f s + 1
C
The term gives rise to an exponential.
f s +1
Slope = KcM/I
"Ideal" PI
y
Filtered PI
-KcM
-KcM(1-f/I)
time
f
Note that as 0 , the two responses become the same.
I
d) If the measured level signal is quite noisy, then these changes might still
be large enough to cause the controller output to jump around even after
filtering.
One way to make the digital filter more effective is to filter the process
output at a higher sampling rate (e.g., 0.1 sec) while implementing the
controller algorithm at the slower rate (e.g., 1 sec).
8-8
8.8
D
a) From inspection of Eq. 8-26, the derivative kick = K c r
t
b) Proportional kick = K c r
c) e1 = e2 = e3 = . = ek-2 = ek-1 = 0
ek = ek+1 = ek+2 = = r
p k 1 = p
t
p k = p + K c r + r + D r
I t
t
p k +i = p + K c r + (1 + i ) r , i = 1, 2,
I
D
Kc r
pk t
t
K c r Kc r
I
p
8-9
8.9
pk = Kc(ek ek-1)
[ ]
= K c ( y sp y k ) ( y sp y k 1 )
= K c [ y k 1 y k ]
b) For both these algorithms pk = 0 if yk-2 = yk-1 = yk. Hence steady state is
reached with a value of y that is independent of the value of y sp . Use of
these algorithms is inadvisable if offset is a concern.
t
c) If the integral mode is present, then pk contains the term Kc ( y sp y k ) .
I
Thus, at steady state when pk = 0 and yk-2 = yk-1 = yk , yk = y sp and the
offset problem is eliminated.
8.10
P ( s ) 1 Ds
a) = K c 1 + +
E (s) I s D s + 1
= Kc
( I s( D s + 1) + D s + 1 + D s I s )
I s ( D s + 1)
1 + ( I + D ) s + (1 + ) I D s 2
= Kc
I s ( D s + 1)
8-10
Cross- multiplying
( )
( I D s 2 + I s ) P ( s ) = K c 1 + ( I + D ) s + (1 + ) I D s 2 E ( s )
d 2 p (t ) dp (t ) de(t ) d 2 e(t )
I D + = K e (t ) + ( + ) + (1 + )
dt 2
I c I D I D
dt 2 dt dt
P ( s ) s + 1 D s
b) = K c I
E (s) I s D s + 1
Cross-multiplying
I s 2 ( D s + 1) P ( s ) = K c (( I s + 1)( D s + 1) ) E ( s )
d 2 p (t ) dp (t ) de(t ) d 2 e(t )
I D + = K e (t ) + ( + ) +
dt 2
I c I D I D
dt 2 dt dt
By using Simulink-MATLAB
Step Response
22
Parallel PID with a derivative filter
20 Series PID with a derivative filter
18
16
14
p'(t) 12
10
2
0 2 4 6 8 10
Time
Figure S8.10. Step responses for both parallel and series PID controllers
with derivative filter.
8-11
8.11
P ( s ) s +1
a) = K c I ( D s + 1)
E (s) I s
I s P ( s ) = K c (( I s + 1)( D s + 1) ) E ( s )
Impulse at t=0
p'
K c ( I + D )
slope =
I
Kc
I
8-12