Professional Documents
Culture Documents
ch06 PDF
ch06 PDF
D(s)
G2(s)
R(s) + E(s) M(s) + C(s)
Gc(s) G1(s)
+
-
K
G1 ( s) = Gc( s) = Kc
( 1 s + 1) ( 2 s + 1)
%TO
Problem parameters: K := 0.10 1 := 1min 2 := 0.8min
%CO
(a) Closed loop transfer function and characteristic equation of the loop.
K
Kc
C( s)
=
( 1 s + 1) ( 2 s + 1) =
Kc K
R( s)
1 + Kc
K ( 1 s + 1) ( 2 s + 1) + Kc K
( 1 s + 1) ( 2 s + 1)
Characteristic equation:
2
( )
1 2 s + 1 + 2 s + 1 + Kc K = 0
C( s) 0.1Kc
Closed-loop transfer function: =
R( s) 2
0.8s + 1.8s + 1 + 0.1Kc
2
Characteristic equation: 0.8s + 1.8s + 1 + 0.1Kc = 0
(b) Values of the controller gain for which the response is over-damped, critically
damped, and under-damped
( )
2 2
1.8 + 1.8 4 0.8 1 + 0.1Kc 1.8
+ 1.8 1 + 0.1Kc
r1 = =
2 0.8 1.6 1.6 0.8
The response is critically damped when the term in the radical is zero: 2
1.8 1 + 0.1Kc = 0
1.6 0.8
1 1.8 2
%CO
Critically damped:
Kccd := 0.8 1 Kccd = 0.125
0.1 1.6 %TO
%CO %CO
Over-damped (real roots): Kc < 0.125 Under-damped: Kc > 0.125
%TO %TO
1 2 1 + 2
Match coefficients: := := = 0.886 min = 0.996
1 + Kc K (
2 1 + Kc K )
(d) Steady-state offset for a unit step change in set point.
1
Final value theorem: lim Y( t) = lim s Y( s) R( s) = (Table 2-1.1)
t s0 s
%CO Kc K 1 -3
Kc := 0.1 lim s 9.9009900990099009901 10
%TO s0 2
( )
1 2 s + 1 + 2 s + 1 + Kc K
s
%CO Kc K 1 -2
Kc := 0.125 lim s 1.2345679012345679012 10
%TO s 0 2
( )
1 2 s + 1 + 2 s + 1 + Kc K
s
These are very large offsets because the loop gains are so small.
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
Smith & Corripio, 3rd edition
Problem 6-2. Inverse-response second-order system with proportional
controller.
D(s)
G2(s)
R(s) + E(s) M(s) + C(s)
Gc(s) G1(s)
+
-
6 ( 1 s) %TO %CO
G1 ( s) = Gc( s) = Kc
( s + 1 ) ( 0.5 s + 1 ) %CO %TO
( )
2
Characteristic equation: 0.5 s + 1.5 6Kc s + 1 + 6Kc = 0
(b) Values of the gain for which the response is over-, critically, and under-damped
Roots:
The response is critically damped when the term in the radical is zero:
2
2 30 + 30 4 0.25 36 %CO
0.25 30Kc + 36Kc = 0 Kc := Kc = 0.82491
2 36 %TO
2
30 30 4 0.25 36 %CO
Kc := Kc = 0.00842
2 36 %TO
%CO %CO
Over-damped (two real roots): Kc < 0.00842 and Kc > 0.825
%TO %TO
%CO %CO
Under-damped (complex conjugate roots): 0.00842 < Kc < 0.825
%TO %TO
%CO
The response is unstable when Kc > 0.25 (one real root is positive or the real part of the
%TO complex roots i positive)
(c) Effective time constants or time constant and damping ratio for various values o
the gain:
%CO 0.5min
2 (1.5 6Kc)min
Kc := 0.1 := := = 0.559 min = 0.503
%TO 1 + 6Kc 2 ( 1 + 6Kc)
%CO 0.5min
2 (1.5 6Kc)min
Kc := 0.125 := := = 0.535 min = 0.401
%TO 1 + 6Kc 2 ( 1 + 6Kc)
Kc := 0.2
%CO
0.5min
2 (1.5 6Kc)min
%TO := := = 0.477 min = 0.143
1 + 6Kc 2 ( 1 + 6Kc)
Kc := 0.3
%CO
0.5min
2 (1.5 6Kc)min
%TO := := = 0.423 min = 0.127
1 + 6Kc 2 ( 1 + 6Kc)
(unstable)
Try values that result in equivalent time constants:
%CO 1min
Kc := 0.005 e1 := e1 = 0.868 min
%TO 2
1.5 6 Kc 0.25 30Kc + 36Kc
1min
e2 := e2 = 0.559 min
2
1.5 6 Kc + 0.25 30Kc + 36Kc
%CO 1min
Kc := 1 e1 := e1 = 0.143 min
%TO 2
1.5 6 Kc 0.25 30Kc + 36Kc
(unstable)
1min
e2 := e2 = 0.5 min
2
1.5 6 Kc + 0.25 30Kc + 36Kc
(d) Offset for various values of the gain and a unit step change in set point.
%CO Kc 6 ( 1 s) 1
Kc := 0.10 lim s .37500000000000000000
%TO s
( )
s0 2
0.5s + 1.5 6 Kc s + 1 + 6Kc
%CO
offset := 1 0.375 offset = 0.625
%TO
%CO Kc 6 ( 1 s) 1
Kc := 0.125 lim s .42857142857142857143
%TO s
s0 2
( )
0.5s + 1.5 6 Kc s + 1 + 6Kc
%CO
offset := 1 0.429 offset = 0.571
%TO
%CO Kc 6 ( 1 s) 1
Kc := 0.20 lim s .54545454545454545455
%TO s
s0 2
( )
0.5s + 1.5 6 Kc s + 1 + 6Kc
%CO
offset := 1 0.545 offset = 0.455
%TO
The offsets are high because the gains are small. Of course, since for gains greater than
0.25%CO/%TO the loop is unstable, offsets can only be high with a proportional controller.
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
K := 1.8R
Smith & Corripio, 3rd edition
Problem 6-3. First-order process and proportional-integral controller.
D(s)
G2(s)
R(s) + E(s) M(s) + C(s)
Gc(s) G1(s)
+
-
Gc( s) = Kc 1 +
K 1
G1 ( s) =
s + 1 I s
(a) Closed-loop transfer function and characteristic equation of the loop. Offset.
( )
2
Characteristic equation: I s + 1 + KKc I s + KKc = 0
No, there is no ultimate gain. This result just means that a negative loop gain will make the loop
unstable. Another way to show it is to determine the roots of the characteristic equation:
2
( ) (1 + KKc)
2
1 + KKc I + I 4 I KKc
r1 =
2 I
The real root cannot be negative for any positive value of the loop gain KK c because the radical is
always smaller than the negative term. Also, for complex conjugate roots, the real part is always
negative:
(
1 + KKc )
Real = <0
2
(c) Response of the loop to a step change in set point for I = as the gain varies
from 0 to infinity.
R( s) =
1
(Table 2-1.1) KKc ( s + 1 ) 1 KKc 1
s Y( s) = =
s ( s + 1 ) + KKc ( s + 1 ) s s + KKc s
1 1 1 1
Let c = Y( s) = =
KKc c s + 1 s s 1 u ( t) := 0 if t < 0
s+
c 1 if t 0
c := 1
t R( t) := u ( t)
Invert using Table 2-1.1: c
Y( t) := u ( t) e
1
As KKc increases c decreases and the response
is faster. Y ( t)
R( t) 0.5
0
0 2 4
t
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
K
R :=
1.8
Smith & Corripio, 3rd edition
Problem 6-4. Second-order process with pure integral controller.
D(s)
G2(s)
R(s) + E(s) M(s) + C(s)
Gc(s) G1(s)
+
-
K KI
G1 ( s) = Gc( s) =
( 1 s + 1) ( 2 s + 1) s
(a) Ultimate gain and period with the parameters of Problem 6-1:
%CO
K := 0.1 1 := 1min 2 := 0.8min
%TO
K KI
( )
Characteristic equation: 2
1 2 s + 1 + 2 s + 1 + =0
s
3
( )2
1 2 s + 1 + 2 s + s + KKI = 0
( )
3 2
Substitute s = iu : 1 2 i u 1 + 2 u + i u + KKIu = 0 + 0i
( ) 2
1 + 2 u + KKIu = 0
3
1 2 u + u = 0
u :=
1
KIu :=
( 1 + 2) u2 u = 1.118 min
1
KIu = 22.5
%CO
1 2
K %TO min
2
Tu :=
u Tu = 5.62 min
(b) Ultimate gain and period for other values of the smaller time constant:
2 := 0.1min
u :=
1
KIu :=
( 1 + 2) u2 u = 3.162 min
1
KIu = 110
%CO
1 2
K %TO min
Tu := 2
u Tu = 1.987 min
2 := 2min
u :=
1
KIu :=
( 1 + 2) u2 u = 0.707 min
1
KIu = 15
%CO
1 2
K %TO min
2
Tu :=
u Tu = 8.886 min
Reducing the non-dominat time constant increases the ultimate gain and reduces the ultimate
period, as expected. When 2 is increased to 2 min, it becomes the dominant time constant and
the ultmate gain should be higher than for part (a). However, in this case K I has units of rate and,
since the loop is slower, it results in a smaller ultimate gain.
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
Smith & Corripio, 3rd edition
Problem 6-5. Second-order process with proportional-integral controller.
D(s)
G2(s)
R(s) + E(s) M(s) + C(s)
Gc(s) G1(s)
+
-
Gc( s) = Kc 1 +
K 1
G1 ( s) =
( 1 s + 1) ( 2 s + 1) I s
1 := 1min 2 := 0.8min
u =
1
KKcu =
( 1 + 2) I
(
1 2 1 + 2 I ) 1 2 ( 1 + 2) I
Tu =
2
u
(
= 2 1 2 1 + 2 I )
1.8min I 2
For the given numerical values: KKcu = Tu = 2 0.8min 1.8min I
2
0.8min 1.8min I
Notice that for some values of I the ultimate frequency and period are complex. When this
happens there is no ultimate gain and the loop is stable for all values of the gain. So, the loop is
always stable as long as
1 2 2
0.8min
I > or I > = 0.444min
1 + 2 1.8min
(b) Damping ratio and decay ratio with Kc equal to one half the ultimate and I = 1
min
For these values there is no ultimate gain. THe characteristic equation becomes:
KKc 1 +
1
KKc ( s + 1 )
1+
s
=1+
2
= 0.8s + s + KKc = 0
( s + 1 ) ( 0.8s + 1 ) s( s + 1 ) ( 0.8s + 1 )
2 2 0.8 2 1
Standard second-order differential equation: s + 2 s + 1 = s + s+1
KKc KKc
2
0.8min 1min 1 1
Damping ratio: =
KKc
=
2 KKc
=
2 0.8 KKc
(
KKc := ) 2 0.8KKc
Under these conditions the decay ratio is, from Eq. 2-5.18:
2
2
2 1 2
2 0.8KKc 1 3.2KKc 1
DR = e
1
2
=e 4 0.8 KKc
=e 3.2 KKc 1
(
DR KKc := e )
1.5 0.4
1
(
KKc ) DR KKc( ) 0.2
0.5
0 0
5 10 0 5 10
KKc KKc
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
Smith & Corripio, 3rd edition degF := R psia := psi
3
kscf := 1000ft psig := psi
Problem 6-6. Design of gas flow control loop.
Design conditions: lbmole := 453.59mole
fsset(t)
kscf
fs := 150 p 1 := 150psig
hr c(t)
T1 := 60degF p 2 := 80psig
FC
lb
M := 29 := 50 m(t)
lbmole
FT
v := 0.06min I := v fs(t)
Kc := 0.9
%CO p1 p2
%TO
Assume the pressures and temperatures are constant and that the flow transmitter FT has a built-in
square-root extractor so that the signal c(t) is proportional to the flow f s(t). The valve is
equal-percentage and the controller is PI.
Size the flow transmitter for 150% of design flow: fsmax := 1.5 fs kscf
fsmax = 225
hr
100%TO %TO hr
Transmitter gain: KT := Ksp := KT KT = 0.444
fsmax kscf
Gc( s) = Kc 1 +
1
PI Controller:
I s
Size the control valve for 100% overcapacity. From Eq. 5-2.3: Let Cf := 0.9
M lbmole 1.63 p1 p2 3
G := y := y = 1.181 fy := y 0.148y fy = 0.937
29lb Cf p 1 + 14.7psia
Cvmax :=
(
200 % fs G T1 + 460 R ) gal hr
psi
( )
Cf p 1 + 14.7psia fy 0.836kscf min R
gal
Cvmax = 58.91
min psi
From Fig. C-10.1, p. 532, a 3-in Masoneilan valve is the smallest for this service:
gal
Cvmax := 110
min psi
Valve gain, equal-percentage, constant pressures, Eq. 5-2.24:
ln( ) kscf
Kv := f Kv = 5.87
100%CO s hr %CO
Kv
Ksp Kc 1 +
1
Ksp Gc( s) Gv ( s) I s
Fs( s)
= =
v s + 1
set 1 + KT Gc( s) Gv ( s) Kv
1 + KT Kc 1 +
Fs ( s) 1
I s v s + 1
v
Closed-loop time constant: c := c = 0.026 min
KT Kc Kv
So the closed-loop responds faster than the valve, and has no offset.
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
Smith & Corripio, 3rd edition
Problem 6-7. Steam flow control loop.
Design conditions: lbmole := 453.59mole
wset(t)
lb
w := 3500 p 1 := 45psig
hr c(t)
Tsh := 50degF p 2 := 20psig
FC
lb lb
M := 18 wmax := 5000 m(t)
lbmole hr
FT
Linear valve.
I := v w(t)
Cf := 0.8 Kc := 0.5
%CO p1 p2
%TO
Assume the pressures and temperatures are constant and that the flow transmitter FT has a built-in
square-root extractor so that the signal c(t) is proportional to the flow w(t). The valve is linear and
the controller is PI.
100%TO %TO hr
Transmitter gain: KT := Ksp := KT KT = 0.02
wmax lb
Gc( s) = Kc 1 +
1
PI Controller:
I s
Size the control valve for 100% overcapacity. From Eq. 5-2.3:
M lbmole 1.63 p1 p2 3
G := y := y = 1.319 fy := y 0.148y fy = 0.979
29lb Cf p 1 + 14.7psia
From the steam table the saturated steam pressure at: p 1 + 14.7psia = 59.7 psia Tsat := 292degF
w kscf kscf
fs := 0.380 fs = 73.889 T1 := Tsat + Tsh T1 = 342 degF
M lbmole hr
(
200 % fs G T1 + 460 R ) gal hr psi
Cvmax :=
(
Cf p 1 + 14.7psia fy ) 0.836kscf min R
gal
Cvmax = 84.3
min psi
From Fig. C-10.1, p. 532, a 3-in Masoneilan valve is the smallest for this service:
gal
Cvmax := 110
min psi
lb
wvmax = 9131
hr
Kv
Ksp Kc 1 +
1
Ksp Gc( s) Gv ( s) I s
W( s)
= =
v s + 1
set 1 + KT Gc( s) Gv ( s) Kv
1 + KT Kc 1 +
W ( s) 1
I s v s + 1
v
Closed-loop time constant: c := KT Kc Kv = 0.913
KT Kc Kv
So the closed-loop responds slightly slower than the valve, and has no offset. What can be
adjusted to speed-up the response of the closed loop?
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
Smith & Corripio, 3rd edition
Problem 6-8. Ultimate gain and period of various process transfer functions.
D(s)
G2(s)
R(s) + E(s) M(s) + C(s)
Gc(s) G1(s)
+
-
1 4 4 3 2
(a) G1 ( s) = ( s + 1 ) + Kc = 0 s + 4s + 6s + 4s + 1 + Kc = 0
4
( s + 1)
4 3 2
Substitute s = iu at Kc = K cu : u 4 u i 6 u + 4 u i + 1 + Kcu = 0 + 0i
3 1 2
Imaginary part: 4 u + 4 u = 0 u := 1min Tu := Tu = 6.28 min
u
4 2
Kcu := u min
( )4 + 6min2 ( u)2 1
Real part: u 6 u + 1 + Kcu = 0 %CO
Kcu = 4
%TO
1 2 2
(b) G1 ( s) = ( s + 1 ) + Kc = 0 s + 2s + 1 + Kc = 0
2
( s + 1)
2
Substitute s = iu at Kc = K cu : u + 2 u i + 1 + Kcu = 0 + 0i
2 %CO
Real part: u + 1 + Kcu = 0 Kcu := 1
%TO
The loop becomes monotonically unstable when the controller gain is less than -1%CO/%TO.
1 3 2
(c) G1 ( s) = 8s + 14s + 7s + 1 + Kc = 0
( 4s + 1 ) ( 2 s + 1 ) ( s + 1 )
3 2
Substitute s = iu at Kc = K cu : 8 u i 14 u + 7 u i + 1 + Kcu = 0 + 0i
3
Imaginary part: 8 u + 7 u = 0 7 1 2
u := min Tu := Tu = 6.72 min
8 u
2 2 2 %CO
Real part: 14 u + 1 + Kcu = 0 Kcu := 14min u 1 Kcu = 11.25
%TO
0.5s + 1
( )
3 2
(d) G1 ( s) = 8s + 14s + 7 + 0.5Kc s + 1 + Kc = 0
( 4s + 1 ) ( 2s + 1 ) ( s + 1 )
3 2
Substitute s = iu at Kc = K cu : ( )
8 u i 14 u + 7 + 0.5Kcu u i + 1 + Kcu = 0 + 0i
2 2
Real part: 14 u + 1 + Kcu = 0 Kcu = 14 u 1
3
Imaginary part: (
8 u + 7 + 0.5Kcu u = 0 )
2 2 1 2
8 u + 7 + 7 u 0.5 = 0 u := 6.5 min Tu :=
u
2 2 %CO
Kcu := 14min u 1 Kcu = 90 Tu = 2.46 min
%TO
1 3 2
(e) G1 ( s) = 0.08s + 1.22s + 4.3s + 1 + Kc = 0
( 4s + 1 ) ( 0.2s + 1 ) ( 0.1s + 1 )
3 2
Substitute s = iu at Kc = K cu : 0.08 u i 1.22 u + 4.3 u i + 1 + Kcu = 0 + 0i
3
Imaginary part: 0.08 u. + 4.3 u = 0 4.3 1 2
u := min Tu :=
0.08 u
2
Real part: 1.22 u + 1 + Kcu = 0
Tu = 0.857 min
2 2 %CO
Kcu := 1.22min u 1 Kcu = 64.6
%TO
0.6s
e 0.6s
(f) G1 ( s) = 6s + 1 + Kc e =0
Pad approximation:
0.6s 1 0.3s
6s + 1 e =
1 + 0.3s
( )
2
1.8s + 6.3 0.3Kc s + 1 + Kc = 0
2
Substitute s = iu at Kc = K cu : ( )
1.8 u + 6.3 0.3Kcu u i + 1 + Kcu = 0 + 0i
6.3 %CO
Imaginary part: ( )
6.3 0.3Kcu u = 0 Kcu :=
0.3
Kcu = 21
%TO
2 1 + Kcu 1 2
Real part: 1.8 u + 1 + Kcu = 0 u := min Tu :=
1.8 u
Tu = 1.797 min
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
Smith & Corripio, 3rd edition
Problem 6-9. Ultimate gain and period with integral controller.
D(s)
G2(s)
R(s) + E(s) M(s) + C(s)
Gc(s) G1(s)
+
-
KI KI
Integral controller: Gc( s) = Characteristic equation: 1+ G1 ( s) = 0
s s
1 5 4 3 2
(a) G1 ( s) = s + 4s + 6s + 4s + s + KI = 0
4
( s + 1)
5 4 3 2
Substitute s = iu at KI = K Iu: u i + 4 u 6 u i 4 u + u i + KIu = 0 + 0i
5 3
Imaginary part: u 6 u + u = 0
2 2
6+ 6 4 1 6 6 4 1
u := u = 2.414 min u := u = 0.414 min
2 2
2min 2min
4 3 3 4 2 2
Real part: 4 u 4 u + KIu = 0 KIu := 4 min u + 4min u Tu :=
u
%CO
KIu = 0.569 Tu = 15.17 min
%TO min
Must use the smaller ultimate frequency, as the ultimate gain for the other value is negative.
1 3 2
(b) G1 ( s) = s + 2s + s + KI = 0
2
( s + 1)
3 2
Substitute s = iu at KI = K Iu: u i 2 u + u i + KIu = 0 + 0i
3 1 2
Imaginary part: u + u = 0 u := 1min Tu := Tu = 6.28 min
u
2 2 %CO
Real part: 2 u + KIu = 0 KIu := 2min u KIu = 2
%TO min
1 4 3 2
(c) G1 ( s) = 8s + 14s + 7s + s + KIu = 0
( 4s + 1 ) ( 2s + 1 ) ( s + 1 )
4 3 2
Substitute s = iu at KI = K Iu: 8 u 14 u i 7 u + u i + KIu = 0 + 0i
3 1 1 2
Imaginary part: 14 u + u = 0 u := min Tu := Tu = 23.51 min
14 u
4 2 3 4 2 %CO
Real part: 8 u 7 u + KIu = 0 KIu := 8 min u + 7min u KIu = 0.459
%TO min
0.5s + 1
(d) G1 ( s) =
( 4s + 1 ) ( 2s + 1 ) ( s + 1 )
4 3 2
8s + 14s + 7s + 1 + 0.5KI s + KI = 0 ( )
4 3 2
Substitute s = iu at KI = K Iu: (
8 u 14 u i 7 u + 1 + 0.5 KIu u i + KIu = 0 + 0i )
4 2 4 2
Real part: 8 u 7 u + KIu = 0 KIu = 8 u + 7 u
14 u + 1 4 u + 3.5 u
3 4 2 4 2
Imaginary part:
u = 0 4 u 10.5 u + 1 = 0
2
10.5 10.5 4 ( 4 ) 2
u := Tu := Tu = 20.71 min
2 u
2 ( 4 ) min
3 4 2 %CO
KIu := 8 min u + 7min u KIu = 0.576
%TO min
1 4 3 2
(e) G1 ( s) = 0.08s + 1.22s + 4.3s + s + KI = 0
( 4s + 1 ) ( 0.2s + 1 ) ( 0.1s + 1 )
4 3 2
Substitute s = iu at KI = K Iu: 0.08 u 1.22 u i 4.3 u + u i + KIu = 0 + 0i
3 1 1 2
Imaginary part: 1.22 u + u = 0 u := min Tu := Tu = 6.94 min
1.22 u
4 2 3 4 2
Real part: 0.08 u 4.3 u + KIu = 0 KIu := 0.08min u + 4.3min u
%CO
KIu = 3.47
%TO min
0.6s
e 2 0.6s 0.6s 1 0.3s
(f) G1 ( s) = 6s + s + KI e =0 Pad approximation: e =
6s + 1 1 + 0.3s
3 2
(
1.8s + 6.3s + 1 0.3KI s + KI = 0 )
3 2
Substitute s = iu at KI = K Iu: ( )
1.8 u i 6.3 u + 1 0.3KIu u i + KIu = 0 + 0i
2 2
Real part: 6.3 u + KIu = 0 KIu = 6.3 u
1.8 u + 1 1.89 u
3 2 1 1 2
Imaginary part:
u = 0 u :=
3.69
min Tu :=
u
2 %CO
KIu := 6.3min u KIu = 1.707 Tu = 12.07 min
%TO min
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
Smith & Corripio, 3rd edition
Problem 6-10. Open-loop unstable process and proportional controller.
D(s)
G2(s)
R(s) + E(s) M(s) + C(s)
Gc(s) G1(s)
+
-
Gc( s) = Kc K
G1 ( s) = := 5min
( s 1) ( v s + 1) ( T s + 1)
1 KKc
s 1 + KKc = 0 Root: r=
%CO
The loop is stable for KKc > 1 (negative real root)
%TO
Dominant root: r1 =
(
T + ) ( T)2 4 T (1 + KKc)
2 T
( )2 4 T KKc
2 2
The radical is: 2 T + T + 4 T 4 T KKc = + T
%CO
So, the loop is stable for: KKc > 1
%TO
Note: When the roots are complex, the real part is negative:
(
T ) = 0.4 min 1
2 T
( ) ( )
3 2
v T u i v + T v T u + v T u i 1 + KKcu = 0 + 0i
v T
( )
3 2
Imaginary part: v T u + v T u = 0 u := Tu :=
v T u
( ) 2
Real part: v + T v T u 1 + KKcu = 0 Tu = 2.25 min
( ) 2 %CO
KKcu := 1 + v + T v T u KKcu = 43.1
%TO
Now, the response is unstable also for KK c < 1:
KKc := 1 1 + KKc
( v c) min 1 10.037
polyroots = 0.963 Root at zero, integrating
( v T)
+ min 2 response
0
3
( v T) min
KKc := 0.99 1 + KKc
( v c) min 1 10.036 Positive root, unstable
polyroots = 0.966 response
( + ) min 2 3
v T 2.064 10
3
( v T) min
KKc := 1.01 1 + KKc
Negative real roots, stable
( v c) min 1 10.037 response
polyroots = 0.961
( + ) min 2
3
v T 2.073 10
min 3
( v T)
%CO %CO
So the range of the gain for which the response is stable is: 1 < KKc < 43.1
%TO %TO
Notice that for all three cases there is a lower limit on the loop gain for which the response is
stable. This means the response is unstable when the feedback controller is on manual, KK c = 0.
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
Smith & Corripio, 3rd edition
Problem 6-11. Analyzer control loop for blender of Problem 3-18.
Problem parameters:
3 kg c set(t)
V := 40m c1b := 80 AC
3
m
3 m(t)
m kg
fb := 4.0 c2b := 30
min 3
m
kg
cb := 50 f1(t)
3
m
Linear control valve sized for 100% AT
overcapacity.
c 1(t) V
v := 0.1min
p v := 5psi f2(t) c(t) f(t)
Transmitter: T := 3min
c 2(t)
kg kg
cmin := 20 cmax := 70
3 3
m m
3
Disturbance: m
f1 := 0.1 Use subscript "b" to denote base values for linearization.
min
From the solution top Problem 3-18, ignoring the inlet concentration disturbances for simplicity:
F1(s)
G1(s)
H(s)
Kv KT K1 K2
Gc( s) = Kc Gv ( s) = H( s) = G1 ( s) = G2 ( s) =
v s + 1 T s + 1 s + 1 s + 1
3 3
m m V
From the solution to Problem 3-18: f1b := 1.6 f2b := 2.4 := = 10 min
min min f1b + f2b
c1b cb c2b cb kg min kg min
K1 := K2 := K1 = 7.5 K2 = 5
f1b + f2b f1b + f2b 3 3 3 3
m m m m
200 % f2b gal 1 gal
Control valve: Cvmax := Cvmax = 567
3 3 p v 0.5
3.785 10 m min psi
From Fig. C-10.1, p. 532, an 8-in valve is the smallest with enough capacity:
gal
Cvmax := 640
0.5
min psi
3 3
3.785 10 m
f2max := Cvmax p v
gal
3 f2max 3
m m
f2max = 5.417 Kv := Kv = 0.054
min 100%CO min %CO
set
Ksp Gc( s) Gv ( s) G2 ( s) C ( s) + G1 ( s) F1 ( s)
Closed-loop transfer function:: C( s) =
1 + H( s) Gc( s) Gv ( s) G2 ( s)
KT Kv K2
Characteristic equation: 1+ Kc =0
T s + 1 v. s + 1 s + 1
3
( ) 2
( )
T v s + T v + T + v s + T + v + s + 1 + KT Kc Kv K2 = 0
Let K := KT Kv K2 K = 0.542
( ) ( )
3 2
T v u i T v + T + v u + T + v + u i + 1 + KKcu = 0 + 0i
T + v +
( ) 2
3
Imaginary part: T v u + T + v + u = 0 u := Tu :=
T v u
( ) 2
Real part: T v + T + v u + 1 + KKcu = 0 Tu = 3.01 min
Kcu :=
( T v + T + v ) u 2 1 Kcu = 250
%CO
K %TO
Direct-acting controller, because the dilute stream has a negative gain on the product composition.
f1 set
Kcu %CO
Offset: F1 ( s) = C ( s) = 0 Kc := Kc = 125
s 2 %TO
set
E( s) = Ksp C ( s) H( s) C( s) = H( s) C( s)
KT K1 f1
T s + 1 s + 1 s KT K1 f1
Offset = lim s =
s0
1+
KT
Kc
Kv K2
1 + KT Kc Kv K2
T s + 1 v s + 1 s + 1
KT K1 f1
= 0.022 %TO
1 + KT Kc Kv K2
Although not asked in the problem, let us determine the roots of the characteristic equation:
This is a highly oscillatory response, with 11 cycles before it settles. Students should be
encouraged to study which controller gain actually gives quarter decay ratio.
F(s)
GF(s)
H(s)
The control valve fails opened (air-to-close) to prevent overheating the reactor on loss of power. This
is why its gain is negative.
100%TO %TO
Transmitter gain: KT := KT = 1.667
Tmax Tmin R
35.77 ( 2.07 s + 1 )
Characteristic equation of the loop: 1 + Kc Kv KT =0
3 2
26.27s + 36.31s + 10.14s + 1
R min %TO
Let K := 35.77 Kv KT K = 2.046
3 %CO
ft
The positive K requires a positive K c,
that is, a reverse-acting controller.
Rearrange and substitute s = u i at KKc = KKcu :
3 2
( )
26.27 u i 36.31 u + 10.14 + 2.07 KKcu u i + 1 + KKcu = 0 + 0i
2 2
Real part: 36.31 u + 1 + KKcu = 0 KKcu = 36.31 u 1
3 2
Imaginary part: (
26.27 u + 10.14 + 2.07KKcu u = 0 ) 10.14 2.07 = ( 26.27 2.07 36.31 ) u
10.14 2.07 1 1
u := min u = 0.406i min
26.27 2.07 36.31
The ultimate frequency cannot be an imaginary number. This means that there is no ultimate gain
and period for this loop. The reason is the G(s) has a net order of 2--one zero and three poles--and
there are no additional lags for the valve and the transmitter. So, the loop cannot be made unstable
with a proportional controller of positive gain.
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
Smith & Corripio, 3rd edition
Problem 6-13. Temperature control of non-isothermal reactor of Section
4-2.3 by manipulation of the reactants flow.
fmax 3
ft
Control valve gain, Eq. 5-2.23, p. 171: Kv := Kv = 0.033
100%CO min %CO
The control valve fails closed (air-to-open) to prevent overflowing the reactor on loss of power.
100%TO %TO
Transmitter gain: KT := KT = 1.667
Tmax Tmin R
R min %TO
Let K := 31.79 Kv KT K = 1.742
3 %CO
ft
The positive K requires a positive K c,
that is, a reverse-acting controller.
Rearrange and substitute s = u i at KKc = KKcu :
3 2
26.27 u i 36.31 + 0.976 ( 2.77) KKcu u + 10.14 + ( 0.976 2.77) KKcu u i + 1 + KKcu = 0
2
2 36.31 u 1
Real part: 36.31 + 0.976 ( 2.77) KKcu u + 1 + KKcu = 0 KKcu =
2
1 0.976 ( 2.77) u
3
Imaginary part: 26.27 u + 10.14 + ( 0.976 2.77)KKcu u = 0 0.976 2.77 = 1.794
2 0.976 ( 2.77) = 2.704
2 36.31 u 1
26.27 u + 10.14 + ( 1.794 ) =0
2
1 ( 2.704 ) u
4 2
26.27 ( 2.704 ) u + [ 26.27 + 10.14 ( 2.704 ) + ( 1.794 )36.31 ] u + ( 10.14 + 1.794 ) = 0
26.27 ( 2.704 ) = 71.034 26.27 + 10.14 ( 2.704 ) + ( 1.794 )36.31 = 63.992 10.14 + 1.794 = 11.934
4 2
71.034 u 63.992 u + 11.934 = 0
2
63.992 63.992 4 ( 71.034) ( 11.934) 2
u := Tu := Tu = 15.78 min
2 u
2 ( 71.034) min
2 2
1 36.31min u 1
Kcu := %CO
K 2 2 Kcu = 1.91
1 + 2.704min u %TO
The reason there is an ultimate gain in this case and not when the cooling water is manipulated
(Problem 6-12) is the inverse response of the temperature to the reactants flow (negative zero in the
transfer function).
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
K := 1.8R
Smith & Corripio, 3rd edition
Problem 6-14. Analyzer control of three mixing tanks of Problem 4-3.
m(t) x6set(t)
AC
AT
f1(t) f3(t) f4(t) f6(t)
V V V
x3(t) x4(t) x6(t)
F2(s)
G2(s)
H(s)
gal gal
Problem parameters (Table P4-1): V := 7000gal f1 := 1900 f2 := 1000 x 2 := 99%
min min
gal gal
f5 := 500 x 5 := 80% f7 := 500 x 7 := 90%
min min
f5 x 5 gal
Assume perfectly mixed tanks, constant density. f3 := f1 + f5 x 3 := f3 = 2400
f3 min
f3 x 3 + f2 x 2 gal
f4 := f3 + f2 x 4 := f4 = 3400 x 4 = 40.882 % x 3 = 16.667 %
f4 min
f4 x 4 + f7 x 7 gal
f6 := f4 + f7 x 6 := f6 = 3900 x 6 = 47.179 %
f6 min
Control valve: Equal-percentage valve, constant pressure drop, = 50, negligible time constant.
ln( 50) gal
Gv ( s) = Kv Kv := f (Eq. 5-2.24, p. 171) Kv = 74.3
100%CO 1 min %CO
The valve fails closed (air-to-open) to
prevent overflowing the tanks on loss
Analyzer Transmitter: negligible lag, 30 to 70% range:
of power.
100%TO %TO
H( s) = KT KT := KT = 2.5
( 70 30)% %
V V V f4 x6 x4 f3 x4 x3 x3
1 := 2 := 3 := K6 := K7 := K3 := K5 := K2 :=
f3 f4 f6 f6 f6 f4 f4 f3
x2 x4 % min
K8 := 1 = 2.917 min 2 = 2.059 min 3 = 1.795 min K6 = 0.872 K8 = 0.017
f4 gal
X4 ( s) =
(
K2 K3 K5 1 s + 1 ) F (s) + K8
F2 ( s)
( 1 s + 1) ( 2 s + 1) 1
2 s + 1
X6 ( s) = G1 ( s) F1 ( s) + G2 ( s) F2 ( s)
G1 ( s) =
(
K6 K2 K3 K5 1 s + 1
) K7 ( 1 s + 1) ( 2 s + 1)
( 1 s + 1) ( 2 s + 1) ( 3 s + 1)
G2 ( s) =
(
K6 K8 K7 2 s + 1 )
( 2 s + 1) ( 3 s + 1)
Characteristic equation of the loop: 1 + H( s) Gc( s) G ( s) G1 ( s) = 0
1 + KT Kc Kv
(
K6 K2 K3 K5 1 s + 1
) K7 ( 1 s + 1) ( 2 s + 1) = 0
( 1 s + 1) ( 2 s + 1) ( 3 s + 1)
2
(
1 2 3 s + 1 2 + 1 3 + 2 3 K7 KT Kc Kv 1 2 s + )2
+ 1 + 2 + 3 K6 K5 KT Kc Kv 1 K7 KT Kc Kv 1 + 2 s +
( )
( )
+ 1 K6 K2 K3 + K5 + K7 KT Kc Kv = 0
Let A := 1 2 3 B := 1 2 + 1 3 + 2 3 C := 1 + 2 + 3 KA := K7 KT Kv 1 2
KB := KT Kv K6 K5 1 + K7 1 + 2
( ) ( )
KC := K6 K2 K3 + K5 + K7 KT Kv
3 2 2
A = 10.778 min B = 14.935 min C = 6.77 min KA = 1.802 min KB = 4.858 min
KC = 2.248
Substitute s = u i at Kc = K.cu :
( ) ( )
3 2
A u i B KA Kcu u + C KB Kcu u i + 1 KC Kcu = 0 + 0i
2
B u 1
( ) 2
Real part: B KA Kcu u + 1 KC Kcu = 0 Kcu =
2
KC KA u
B u 1
2
3
Imaginary part: A u + C + KB u = 0
2
KC KA u
( )
4 2
KA A u + A KC + KB B KA C u + KC C KB = 0
Let a := KA A b := A KC + KB B KA C c := KC C KB
5 3
a = 19.419 min b = 36.13 min c = 10.361 min
2
b + b 4 a c 1
u := u = 0.595i min
2 a
The complex ultimate frequency mens that there is no ultimate gain. The process is stable for all
negative Kc (direct-acting controller): increasing concentration increases controller output, opening
the valve and increasing the flow of pure water. This dilutes the solution and brings the
concentration down.
Test: %CO
Kc := 1 Roots of the characteristic equation:
%TO
1 KC Kc
Negative real root and
( C KB Kc) min 1 0.59 complex conjugate roots
polyroots
= 0.481 0.528i
with negative real parts.
( K K ) min 2 Loop is stable.
B A c 0.481 + 0.528i
3
A min
%CO
Kc := 100 Roots of the characteristic equation:
%TO
1 KC Kc Negative real roots. Loop
is stable.
( C KB Kc) min 1 15.183
polyroots = 2.326
( K K ) min 2
B A c 0.593
3
A min
%CO
Kc := 10000 Roots of the characteristic equation:
%TO
1 KC Kc
Negative real roots. Loop is
( C KB Kc) min 1 1.67 103 stable.
polyroots =
( K K ) min 2 2.105
B A c 0.593
3
A min
The reason there is no ultimate gain is that the transfer function of the process in the loop has a net
order of one (three poles and two zeros). So, with negligible valve and transmitter lags, the loop
cannot be made unstable with a proportional controller. In practice there will be some lags in the
valve and transmitter, however small, and this will impose a limit on the controller gain. Note: In the
second edition of this text the analyzer transmitter was specified to have a dead time of 2 min. This
is a more realistic situation and did result in an ultimate gain and period.
gal min %
f2 := 10 G2 ( 0 ) = KG2 KG2 := K6 K8 K7 KG2 = 0.013
min gal
min %
G1 ( 0 ) = KG1 ( )
KG1 := K6 K2 K3 K5 K7 KG1 = 0.012
gal
KG2
( )
Offset Kc := KT f
1 + KT Kc Kv KG1 2
0
Let X = Kc
Offset( X ) 0.002
0.004
10 5 0
X
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
Smith & Corripio, 3rd edition
Problem 6-15. Analyzer control of reactors in series of Problem 4-9.
m(t) cA2set(t)
AC
AT
f0(t) f1 (t)
V1 V2
cA0(t) cA1(t) cA2(t)
fR
Block diagram:
CA0(s)
G2(s)
CA2set(s)
+ E(s) M(s) F0(s) + CA2(s)
Ksp Gc(s) Gv(s) G1(s)
- +
H(s)
KT 3 3
100 %TO ft %TO ft
Transmitter: H( s) = T := 0.5min KT := KT = 20
T s + 1 5lbmole lbmole
Problem data:
3 3
3 lbmole 1 ft ft
V1 := 125ft V2 := V1 cA0 := 7 k 1 := 0.2min f0 := 10 fR := 0
3 min min
ft
k 2 := k 1 f1 := f0 + fR
At the initial steady state: (f1 + k1 V1) cA1 = f0 cAo + fR cA2 (f1 + k2 V2)cA2 = f1 cA1
f0 cA0 f1 cA1
cA1 := cA2 :=
fR f1 f1 + k 2 V2
f1 + k 1 V1
f1 + k 2 V2
lbmole lbmole
cA1 = 2 cA2 = 0.571
3 3
ft ft
Control valve gain: linear sized for 100% overcapacity, assume p v := 5psi
gal
From Fig. C-10.1, p. 532, a 3-in valve is needed: Cvmax := 110
min psi
3 f0max 3
ft ft
f0max := Cvmax p v Kv := Kv = 0.329
7.48gal 100%CO min %CO
The valve fails closed (air-to-open) so as not to overflow the reactor on power failure.
CA2( s) = K3
(K1 CA0(s) + K4 F0( s) + K2 CA2( s) ) + K5
F0 ( s)
( 2 s + 1) ( 1 s + 1) 2 s + 1
=
( )
K1 K3 CA0( s) + K3 K4 + K5 1 s + 1 F0 ( s)
( 1 s + 1) ( 2 s + 1) K2 K3
G1 ( s) =
CA2( s)
=
K3 K4 + K5 1 s + 1 ( )
F0 ( s) ( )(
1 s + 1 2 s + 1 K2 K3 )
KT
Charactetristic equation of the loop: 1+ Kc Kv G1 ( s) = 0
T s + 1
3
( )2 (
T 1 2 s + T 1 + T 2 + 1 2 s + T + 1 + 2 K2 K3 T + KT Kc Kv K5 1 s )
+ 1 K2 K3 + KT Kc Kv K3 K4 + K5 = 0 ( )
Let A := 1 2 T B := T 1 + T 2 + 1 2 C := T + 1 + 2 K2 K3 T
( )
3 2
D := KT Kv K5 1 KL := KT Kv K3 K4 + K5 A = 6.378 min B = 16.327 min
lbmole min
C = 7.643 min D = 0.959 min KL = 0.537 K3 K4 = 0.041
6
ft
Substitute s = u i at Kc = K cu :
( )
3 2
A u i B u + C + D Kcu u i + 1 K2 K3 + KL Kcu = 0 + 0i
2
2 B u 1 + K2 K3
Real part: B u + 1 K2 K3 + KL Kcu = 0 Kcu =
KL
B u 1 + K2 K3
2
3
Imaginary part: A u + C + D u = 0
KL
u :=
(
KL C D 1 K2 K3 ) u = 0.507i min
1
KL A D B
The imaginary value of the ultimate gain means that there is no ultimate gain. The loop is stable for
all positive values of the controller gain. The reason is that the net order of the transfer function
G1 (s) is one (two poles and one zero). With an additional lag in the transmitter, the total order of
the transfer function is two, not enough lags to produce instability with a proportional controller.
The controller gain is positive (reverse action): an increase in composition decreases the controller
output. This decreases the flow of reactants and decreases the concentration.
Compare these results with the simulation of this process in Problem 13-16.
Let X = Kc
Offset( X) 0.01
0.02
0 5 10
X
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
Smith & Corripio, 3rd edition
Problem 6-16. Temperature control of direct contact heater of Problem 4-5.
Problem parameters:
V := 5gal := 7
lb T3set(t)
gal TC
BTU
cp := 0.8 f1(t)
lb degF
T1(t) TT
Design conditions:
gal Liquid f3(t)
f1p := 25 T1p := 60degF
min
T3(t)
T3p := 80degF
w2(t)
Control valve: p v := 10psi
Saturated
m(t)
steam
lb p v
w2 ( t) = 1.954 vp( t)
min psi
"p" denotes base value
min gal
v := 4s Disturbance: f1 := 2 for linearization.
60s min
Assumptions:
Perfectly mixed tank, constant volume, negligible heat losses Tmin := 50degF
Constant density and physical properties
Steam is at atmospheric pressure Tmax := 100degF
Transmitter has a range of 50 to 100F and a time constant of 10 s
BTU min
From the steam tables, the enthalpy of the steam is: Hs := 1145.4 T := 10s
lb 60s
Block diagram, ignoring the inlet temperature as a variable:
F1(s)
G2(s)
T3set(s)
+ E(s) M(s) W2(s) + T3(s)
Ksp Gc(s) Gv(s) G3(s)
- +
H(s)
Kv lb p v 1 lb
Linear control valve: Gv ( s) = Kv := 1.954 K = 0.062
v s + 1 min psi 100%CO v min %CO
KT 100%TO %TO
Temperature transmitter: H( s) = KT := Ksp := KT KT = 2
T s + 1 Tmax Tmin degF
d T3 ( t )
( ) (
f1 ( t) cp T1 ( t) 32 degF + w2 ( t) Hs f3 ( t) cp T3 ( t) 32 degF = V cv ) dt
d V
Mass balance, assuming constant volume: f1 ( t) + w2 ( t) f3 ( t) = =0
dt
f3 ( t) = f1 ( t) + w2 ( t)
d T3 ( t )
V cv
dt
( ) (
= f1 ( t) cp T1 ( t) T3 ( t) + w2 ( t) Hs cp T3 ( t) 32 degF
)
At the initial steady state:
w2p :=
(
f1p cp T3p T1p ) w2p = 2.529
lb
(
Hs cp T3p 32degF ) min
Note: This value differs from the value given in the statement of Problem 4-5, probably because a
different steam pressure was assumed.
Linearize: d 3( t)
V cv
dt
( )
= a1 1 ( t) 3 ( t) + a2 F1 ( t) + a3 W2 ( t) a4 3 ( t)
d 3 ( t)
Rearrange:
dt
()
+ 3 ( t) = K1 1 t + K2 F1 ( t) + K3 W2 ( t) 3(0) = 0
where V cp a1 a2 a3
:= K1 := K2 := K3 := = 0.197 min
a1 + a4 a1 + a4 a1 + a4 a1 + a4
Note: These values differ from the solution to Problem 4-5 because a different steam pressure is
assumed here.
K1 K2 K3
Laplace transform: 3 ( s) = 1 ( s) + F1 ( s) + W2 ( s)
s + 1 s + 1 s + 1
K2 K3
G2 ( s) = G3 ( s) =
s + 1 s + 1
let KKc = KT Kc Kv K3
3
( ) 2
(
T v s + T v + T + v s + T + v + s + 1 + KKc = 0 )
Substitue s = u i at KK c = KKcu :
( ) ( )
3 2
T v u i T v + T + v u + T + v + u i + 1 + KKcu = 0
T + v +
( )
3 2
Imaginary part: T v u + T + v + u = 0 u := Tu :=
T v u
( ) 2
Real part: T v + T + v u + 1 + KKcu = 0 Tu = 0.448 min
Kcu :=
( T v + T + v ) u 2 1 Kcu = 10.61
%CO
KT Kv K3 %TO
Offset caused by change in inlet liquid flow at one half the ultimate gain:
set
Ksp T3 KT T3 0 KT K2 f1 Kcu
Offset = = Kc :=
1 + KT Kc Kv K3 1 + KT Kc Kv K3 2
KT K2 f1
Offset :=
1 + KT Kc Kv K3 Offset = 0.516 %TO
Offset
= 0.258 degF
KT
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
Smith & Corripio, 3rd edition
Problem 6-17. Composition control of three isothermal reactors in series.
m(t) c3set(t)
AC
AT
f(t) c1(t) c2(t) c3(t)
V V V
ci(t)
1 gal lb
Problem data: V := 1000gal k := 0.1min fp := 100 cip := 4
min gal
lb lb 100%TO %TO gal
Analyzer transmitter: cmin := 0 cmax := 1.0 KT := KT = 100
gal gal cmax cmin lb
Control valve: linear with constant pressure drop and sized for 100% overcapacity. v := 0.1min
200% fp gal
p v := 5psi Cvmax := Cvmax = 89.443
p v min psi
gal
From Fig. C-10.1, page 532, a 3-in valve is required: Cvmax := 110
min psi
Cvmax p v The valve fails closed (air-to-open)
gal
Kv := to prevent overflowing the reactors Kv = 2.46
100%CO on power failure. min %CO
d c1 ( t )
V = f ( t) ci( t) f ( t) c1 ( t) k V c1 ( t)
dt
d c2 ( t )
V = f ( t) c1 ( t) f ( t) c2 ( t) k V c2 ( t)
dt
d c3 ( t )
V = f ( t) c2 ( t) f ( t) c3 ( t) k V c3 ( t)
dt
Linearize: d C1 ( t )
V
dt
( )
= fp Ci( t) fp + k V C1 ( t) + cip c1p F( t)( )
d C2 ( t )
V
dt
( ) (
= fp C1 ( t) fp + k V C2 ( t) + c1p c2p F( t) )
d C3 ( t )
V
dt
( ) (
= fp C2 ( t) fp + k V C3 ( t) + c2p c3p F( t) )
d C2 ( t )
+ C2 ( t) = Ki C1 ( t) + K2 F( t)
dt C2 ( 0 ) = 0
d C2 ( t )
+ C2 ( t) = Ki Ci( t) + K3 F( t)
dt C3 ( 0 ) = 0
Ki Ci( s) + K1 F( s) Ki C1 ( s) + K2 F( s) Ki C2 ( s) + K3 F( s)
C1 ( s) = C2 ( s) = C3 ( s) =
s + 1 s + 1 s + 1
Ki K1 + Ki K2 ( s + 1 ) + K3 ( s + 1 )
2 2 3
C3 ( s) Ki
G1 ( s) = G2 ( s) = =
Ci( s)
( s + 1) 3 ( s + 1)3
(a) Block diagram of the loop:
Ci(s)
G2(s)
C3set(s) C3(s)
+ E(s) M(s) F(s) +
Ksp Gc(s) Gv(s) G1(s)
- +
H(s)
Kv
Ksp := KT H( s) = KT Gv ( s) = Proportional controller: Gc( s) = Kc
v s + 1
3
Ki 2
G2 ( s) = KA + KB s + K3 s
G1 ( s) =
( s + 1) 3 ( s + 1)3
2 lb min
KA := Ki K1 + Ki K2 + K3 KB := 2 K3 + Ki K2 = 5 min KA = 0.0075
2
gal
lb min lb min
K3 = 0.0025 KB = 0.0075
2 2
gal gal
lb %CO
(b) Offset for a change in inlet concentration ci := 1 Kc := 1.
gal %TO
set 3
Ksp c3 KT G2 ( 0 ) ci KT Ki ci
Offset = Offset :=
1 + KT Kc Kv G1 ( 0 ) 1 + KT Kc Kv KA
Offset lb
Offset = 4.39 %TO = 0.044
KT gal
3
For the open loop, Kc = 0: Offset := KT Ki ci Offset = 12.5 %TO
(c) Ultimate gain and period of the loop with a proportional controller.
2 2
Kv KA + KB s + K3 s
Characteristic equation of the loop: 1 + KT Kc =0
v s + 1 ( s + 1) 3
Rearrange and substitute s = u i at Kc = K cu :
( ) ( )
3 4 2 3 2
v u 3 v u i 3 v + A Kcu u + v + B Kcu u i + 1 + KL Kcu = 0
2 %TO
where A := KT Kv K3 B := KT Kv KB KL := KT Kv KA KL = 1.845
%CO
2
A = 15.373 min B = 9.224 min
( )
3 4 2
Real part: v u 3 v + A Kcu u + 1 + KL Kcu = 0
2 3 4
3 v u v u 1
Kcu =
2
KL A u
3 v u v u 1
2 3 4
2 3
Imaginary part: 3 v u + v + B u = 0
2
KL A u
3 2 3 4 + 3 2 K + 3 2 = 0
v A B v u v L v A B v u B
2 3 2
Let a := 3 v A B v b := 3 v KL v A + B 3 v
14 5 3
a = 1.962 10 min b = 1.537 min
u :=
b
2
b 4 a B ( ) u = 2.45i min
1
2 a
The imaginary value of the ultimate frequency shows that there is no ultimate gain for this loop. This
is because the net order of the loop is one--three poles and two zeros--and it cannot be unstable for
any positive value of the controller gain. The controller gain is positive, reverse acting: increases
concentration decreases the signal to the valve. This decreases the reactants flow and the
concentration decreases.
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
3
Smith & Corripio, 3rd edition %CO := % %TO := % kscf := 1000ft
psig := psi
Problem 6-18. Compressor suction pressure control.
Problem Data:
Kp
Ps( s) =
p s + 1
(Fi( s) Fc( s) )
PC
psi min
Kp := 0.5
kscf m(t)
p := 7.5s SC
Ksc
Steam
Fc( s) =
sc s + 1
M ( s) fc(t)
kscf PT Discharge
Ksc := 0.36
min %CO Suction
sc := 2.5s
ps(t)
fi(t)
(a) Block diagram of the loop, closed-loop transfer function, and characteristic
equation of the loop.
Fi(s)
Gp(s)
Psset(s)
+ E(s) M(s) Fc(s) + Ps(s)
Ksp Gc(s) Gsc(s) Gp(s)
- -
H(s)
Kp
Gp ( s) =
Closed-loop transfer function: p s + 1
Ksp Gc( s) Gsc( s) Gp ( s) set Gp ( s)
Ps( s) = Ps ( s) + F ( s)
1 H( s) Gc( s) Gsc( s) Gp ( s) (
1 H( s) Gc( s) Gsc( s) Gp ( s) i )
Characteristic equation of the loop:
KT Ksc Kp
1 H( s) Gc( s) Gsc( s) Gp ( s) = 1 Gc( s) =0
T s + 1 sc s + 1 p s + 1
The controller must be direct-acting (negative gain): increasing pressure increases the signal to te
speed controller (SC). This increases the compressor speed and the flow through the compressor,
decreasing the suctiion pressure.
( ) ( )
3 2
T sc p u i T sc + T p + sc p u + T + sc + p u i + 1 + KL Kcu = 0 + 0i
%TO
where KL := KT Ksc Kp KL = 0.9
%CO
T + sc + p
( )
3
Imaginary part: T sc p u + T + sc + p u = 0 u :=
T sc p
( T sc + T p + sc p) u 2
1 2
Real part: Kcu := Tu := Tu = 8.91 s
KL u
%CO
Kcu = 15.9
%TO
Offset
= 0.061 psi
KT
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
Smith & Corripio, 3rd edition kJ := 1000joule degC := K
A := 4m
2
Vc := 1.1m
3 f(t) m(t)
TT
kg kJ Ti(t)
:= 800
3
cp := 3.8
kg degC
Tc(t)
m
V SP
kg kJ
c := 1000 cpc := 4.2 FC
3 kg degC
m
Design conditions:
3
FT
m
f := 0.1 Ti := 70degC
min
(a) Block diagram of the temperature control loop, valve fail position, controller
action.
Ti(s)
G2(s)
Tset(s) T(s)
+ E(s) M(s) Fc(s) +
Ksp Gc(s) GFC(s) G1(s)
- -
H(s)
100%TO KT %TO
Temperature transmitter: KT := Ksp := KT H( s) = KT = 2
Tmax Tmin T s + 1 degC
G1 ( s) =
K2 K3
G2 ( s) =
(
K1 2 s + 1 )
( 1 s + 1) ( 2 s + 1) K2 K4 ( 1 s + 1) ( 2 s + 1) K2 K4
V cp f cp U A
where 1 := K1 := K2 := 1 = 13.77 min
f cp + U A f cp + U A f cp + U A
(
f c p Ti T )
( ) (
f cp Ti T U A T Tc = 0 ) Tc := T
U A
Tc = 35.5 degC
(
f c p Ti T ) m
3
( ) (
f cp Ti T fc c cpc Tc Tci = 0 ) fc := fc = 0.172
(
c cpc Tc Tci ) min
2 :=
Vc c cpc
K3 :=
(
c cpc Tc Tci ) K4 :=
U A
fc c cpc + U A fc c cpc + U A fc c cpc + U A
degC min
2 = 3.03 min K3 = 28.94 K4 = 0.525
3
m
The coolant valve must fail opened (air-to-close) to prevent loss of coolant on power failure. This
means that the flow controller must be direct acting: incease in flow increases the output to close
the valve and reduce the flow.
The temperature controller must also be direct acting (negative gain): increasing temperature must
increase the output to incrase the coolant flow and reduce the temperature.
(b) Ultimate gain and period of the loop with a proportional controller. Gc( s) = Kc
Characteristic equation of the loop: KT KFC K2 K3
1+ Kc =0
T s + 1 ( )(
FC s + 1 1 s + 1 2 s + 1 K2 K4 )
Rearrange and substitute s = u i at Kc = K cu :
4 3 2
A u B u i C u + D u i + 1 K2 K4 + KL Kcu = 0 + 0i
where A := T FC 1 2 B := T FC 1 + T FC 2 + FC 1 2 + T 1 2
4
= 2.505 min
( )
C := T FC 1 K2 K4 + T 1 + T 2 + FC 1 + FC 2 + 1 2 A
3
B = 30.228 min
( )(
D := T + FC 1 K2 K4 + 1 + 2 ) KL := KT KFC K2 K3
C = 53.54 min
2
%TO
KL = 0.336 D = 17.234 min
%CO
3 D 2
Imaginary part: B u + D u = 0 u := Tu := Tu = 8.32 min
B u
4 2
Real part: A u C u + 1 K2 K4 + KL Kcu = 0
4 2
A u + C u 1 + K2 K4 %CO
Kcu := Kcu = 86.7
KL %TO
Offset
Offset = 0.18 %TO = 0.09 degC
KT
KT K1 Ti
Open-loop, Kc = 0: Offset := 0 Offset = 4.44 %TO
1 K2 K4
Students should verify these results with the simulation of this process in Problem 13-18.
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
3
Smith & Corripio, 3rd edition degF := R scf := ft psia := psi
lbmole := 453.59mole
Problem 6-20. Pressure control og gas torage tank.
Problem Data: lb
MW := 50
lbmole p2set(t)
V := 550000ft
3
T := 350degF PC
p3(t)
scf
f1 := 1500 p := 90psi
min 1 PT vp3(t)
scf
f3 := 500 p 3 := 30psig
min p1(t) p4(t)
p2(t)
p 2 := 45psig p 4 := 15psig
vp1(t) vp4(t)
Pressure transmitter PT:
p min := 0psig p max := 100psig
gal
From Fig. C-10.1, page 532, a 3-in valve is required: Cv1max := 110
min psi
1.63 p2 p3
Valve 3: y 3 := y 3 = 0.908
Cf p 2 + 14.7psia
gal
From Fig. C-10.1, page 532, a 3-in valve is required: Cv3max := 110
min psi
scf
Valve 4: From initial steady state conditions: f4 := f1 f3 f4 = 1000
min
1.63 p2 p4
y 4 := y 4 = 1.284
Cf p 2 + 14.7psia
200% f4 G ( T + 460R ) gal psia hr 60min gal
Cv4max := Cv4max = 102.9
836 C f p 2 + 14.7psia y 4 0.148y 4
3 hr
( ) 0.5
min R scf
min psi
gal
From Fig. C-10.1, page 532, a 3-in valve is required: Cv4max := 110
min psi
Process model:
d 2( t)
Mass balance: V = s f1 ( t ) s f3 ( t ) s f4 ( t )
dt
1 eqn. 4 unks. (2 , f1 , f2 , f3 )
Ideal gas law: 2( t) =
(
MW p 2 ( t ) + 14.7psia )
Rg ( T + 460R ) 2 eqns. 5 unks. (p 2 )
3
psia ft
Rg := 10.73 MW 14.7psia lb
lbmole R s := s = 0.132
R g 520 R scf
MW V d p 2( t)
Substitute ideal gas law: = f1 ( t ) f3 ( t ) f4 ( t )
Rg ( T + 460 R ) s dt
MW V d P2 ( t )
= a1 VP 1 ( t ) + b 1 P1 ( t ) c1 P2 ( t ) a3 VP 3 ( t ) b 3 P2 ( t ) + c3 P3 ( t )
Rg ( T + 460 ) s dt
a4 VP 4 ( t ) b 4 P2 ( t ) + c4 P4 ( t )
f4 ( t ) kv
p + 14.7psia y 4 0.148y 4
3 scf
a4 =
vp
a4 := C
100%CO v4max 2
( ) a4 = 21.39 min %CO
f1 f3 f4
Initial valve positions: vp1 := vp3 := vp4 := vp1 = 41.3 %CO vp3 = 28.5 %CO
a1 a3 a4
vp4 = 46.8 %CO
0.5
k y11 =
y1 ( t)
k y11 :=
1.63 1
p1 p2
(p1 + 14.7 psia) (p1 p2)
p1 Cf 2 p 1 + 14.7 psia
(p1 + 14.7psia)2
f1 ( t ) k v C v1max vp1
b1 = b 1 := y 0.148 y 3 + ( p + 14.7psia) 1 3 0.148 y 2 k
p1 100%CO 1 1 1 1 y11
1 scf
k y11 = 0.00752 psia b 1 = 18.819
min psi
y1 ( t) 0.5
k y12 = 1.63 1 p1 p2 1 1
p2 k y12 := k y12 = 0.013 psi
Cf 2 p 1 + 14.7 psia
(p1 + 14.7psia)
f1 ( t ) k v C v1max vp1
c1 = c1 := ( p + 14.7psia) 1 3 0.148 y 2 k c = 7.878 scf
p2 100%CO 1 1 y12 1 min psi
0.5
k y32 =
y3 ( t)
k y32 :=
1.63 1
p2 p3
(p2 + 14.7 psia) (p2 p3)
p2 Cf 2 p 2 + 14.7 psia
(p2 + 14.7psia)2
f3 ( t ) k v C v3max vp3
b3 = b 3 := y 0.148 y 3 + ( p + 14.7psia) 1 3 0.148 y 2 k
p2 100%CO 3 3 2 3 y32
1 scf
k y32 = 0.02266 psia b 3 = 17.387
min psi
y3 ( t) 0.5
k y33 = 1.63 1 p2 p3 1 1
p3 k y33 := k y33 = 0.03 psi
Cf 2 p 2 + 14.7 psia
(p2 + 14.7psia)
f3 ( t ) k v C v3max vp3
c3 = c3 := ( p + 14.7psia) 1 3 0.148 y 2 k c = 12.036 scf
p3 100%CO 2 3 y33 3 min psi
0.5
y4 ( t) 1.63 1 p2 p4 (p2 + 14.7 psia) (p2 p4)
k y42 = k y42 :=
p2 Cf 2 p 2 + 14.7 psia
(p2 + 14.7psia)
2
f4 ( t ) k v C v4max vp4
b4 = b 4 := y 0.148 y 3 + ( p + 14.7psia) 1 3 0.148 y 2 k
p2 100%CO 4 4 2 4 y42
1 scf
k y42 = 0.01065 psia b 4 = 19.691
min psi
y4 ( t) 0.5
k y44 = 1.63 1 p2 p4 1 1
p4 k y44 := k y44 = 0.021 psi
Cf 2 p 2 + 14.7 psia
( p 2 + 14.7psia )
f4 ( t ) k v C v4max vp4
c4 = c4 := ( p + 14.7psia) 1 3 0.148 y 2 k c = 5.911 scf
p4 100%CO 2 4 y44 4 min psi
d P2 ( t )
+ P2 ( t ) = K1 VP 1 ( t ) K3 VP 3 ( t ) K4 VP 4 ( t ) + Kp1 P1 ( t ) + Kp3 P3 ( t ) + Kp4 P4 ( t )
dt
MW V a1 a3
where := K1 := K3 :=
(
Rg ( T + 460R ) s c1 + b 3 + b 4 ) c1 + b 3 + b 4 c1 + b 3 + b 4
a4 b1 c3 c4
K4 := Kp1 := Kp3 := Kp4 :=
c1 + b 3 + b 4 c1 + b 3 + b 4 c1 + b 3 + b 4 c1 + b 3 + b 4
1
P2 ( s) =
s + 1
(K1 VP1( s) K3 VP3(s) K4 VP4( s) + Kp1 P1(s) + Kp3 P3( s) + Kp4 P4(s))
The very long time constant, approximately 9 hours, denotes that the pressure in the tank behaves
as an integrating process. See discussion of controller tuning for integrating processes in Section
7-3.
Block diagram of the loop:
P1(s)
Kp1
VP4(s)
K4 P4(s)
F1(s) Kp4
VP3(s) P3(s)
K3 + Kp3
P2set(s)
- +
+ E(s) VP1(s) - + 1 P2(s)
Ksp Gc(s) K1
- + Js + 1
H(s)
(c) Ultimate gain. The response of the loop cannot be unstable with a proportional controller
with positive gain because the loop transfer function is first-order. There is no
ultimate gain. The controller is reverse acting: increasing tank pressure
decreases the controller output to close the control valve and decrease the
inlet flow. This decreases the pressure in the tank.
(d) Offset for a proportinal controller and a change in set point. p2set := 5psi
%CO
Kc := 50
Ksp p 2set %TO
Offset := Offset = 0.121 %TO
1 + KT Kc K1 Offset
= 0.121 psi
KT
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
Smith & Corripio, 3rd edition
Problem 6-21. Temperature and analysis control of a heated mixer.
wB(t)
TB(t) m2(t) AC
vp2(t)
m(t) TC
b(t)
vp1(t) TT AT
wA(t)
T(t) x B(t)
TA(t)
mho
Analyzer AT measures solution conductivity: C( t) =
x B( t) m
Range is C L to C H.
d M
Total mass balance: wA( t ) + wB ( t ) w( t ) = =0 w( t ) = wA( t ) + wB( t )
dt
d xB( t)
Mass balance on component B: wB ( t ) w( t ) x B( t ) = M
dt 2 eqns. 2 unks. (w, xB)
M xB 1 xB d XB ( t )
Let = KA = KB = + XB = KB WB( t ) KA WA( t )
w w w dt
1
Laplace transform and solve for output: XB ( s) =
s + 1
(KB WB(s) KA WA(s))
C( t) CL
Transmitter: b( t) = 100%TO =
100%TO CL
CH CL CH CL x B( t)
100%TO 100 %TO
Linearize: B( t) = XB ( t ) H( s) = KAT =
CH CL 2
xB ( C H C L) x B 2
Kv2
Control valves: WA( s) = Kv1 VP 1 ( s) WB( s) = Kv2 VP 2 ( s) = M ( s)
100%CO 2
VP1(s)
Kv1KA
X (s)
set
-
B
+ E(s) M2(s) XB(s)
Ksp GAC(s)
Kv2KB + 1
-
100 + Js + 1
H(s)
If the control valve is air-to-open, the controller must be direct acting, because of the negative
gain in the transmitter: Increasing composition decreases the signal from the transmitter; the
controller decreases the signal to the valve; this closes the valve and reduces the flow of
component B, decreasing the composition. Notice also that
Ksp = KT (negative set point scale)
Energy balance:
d T( t )
M cv
dt
( ) ( ) (
= wA( t ) cpA TA( t ) Tref + wB( t ) cpB TB ( t ) Tref + q ( t ) w( t ) cp T( t ) Tref )
1 eqn. 1 unk. (T)
Substitute w( t ) = wA( t ) + wB( t ) Assume cp = cpA = cpB = cv
d T( t )
M cp
dt
( ) ( )
= wA( t ) cp TA( t ) T( t ) + wB ( t ) cp TB( t ) T( t ) + q ( t )
d ( t)
M cp
dt
( ) ( )
= cp TA T WA( t ) + cp TB TA WB ( t ) + Q( t ) + wA cp A( t )
( )
+ wB cp B( t ) wA + wB cp ( t )
M d ( t) TA T ( TB T ) 1 ( wA ) wB
+ ( t) = WA( t ) + WB( t ) + Q( t ) + A( t ) + ( t)
w dt w w w cp w w B
( 0) = 0
Laplace transform:
M TA T TB T 1 wA wB
= K1 = K2 = K3 = K4 = K5 =
w w w w cp w w
q max 100%TO
Electric heater: Q( s) = M ( s) Temperature transmitter TT: H( s) = KTT =
100%CO TH .L
The controller is reverse acting: increasing temperature decreases the controller output, decresing
the rate of heat input. This decreases the temperature.
Block diagram of the loop:
VP1(s)
'A(s)
Kv1K1 K4
VP2(s) 'B(s)
Kv2K2 K5
'set(s) + +
+ E(s) M(s) + + 1 '(s)
Ksp qmaxK3
GTC(s)
-
100 + Js + 1
H(s)
1 + KAT GAC( s)
Kv2
KB
=1+
100 %TO
GAC( s)
Kv2
1 xB ( =0
)
100%CO s + 1 100%CO w( s + 1 )
( C H C L) x B 2
M
For both loops: =
w
There is no ultimate gain for either loop because they are first-order when a proportional controller
is used. The loops cannot be made unstable as long as the controller gains have the proper sign.
In practice there will be lags on the transmitter and final control elements and there will be an
ultimate gain and period.
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
Smith & Corripio, 3rd edition
Problem 6-22. Control of reactors in series.
Problem Data:
1
c A2set(t)
V := 500gal k 1 := 0.25min
AC
A := 2
lbmole
k 2 := 0.50min
1 c A1(t)
gal
lb
MWA := 25
lbmole
V
AT
Control valve, linear, sized for fA(t)
100% overcapacity.
DA LC
p v := 10psi fi(t) V LT
Analyzer transmitter: c Ai(t)
lbmole
c A2(t)
cAL := 0.05
gal
lbmole
cAH := 0.5 T := 0.5min
gal
lbmole gal gal
Design conditions: cAi := 0.8 fi := 50 fA := 50
gal min min
gal
From Fig. C-10.1, page 532, a 3-in valve is required. Cvmax := 110
min psi
Cvmax p v gal
Valve gain: Kv := Kv = 1.42
100%CO G min %CO
The valve fails closed (air-to-open) to prevent overflowing the reactors on loss of instrument power.
(c) Linearize the model equations and obtain the block diagram.
Linearize and express in terms of deviation variables:
d CA1( t )
V
dt
( ) (
= A FA( t ) + cAi Fi ( t ) + fi CAi( t ) V k 1 + f C A1( t ) cA1 FA( t ) + Fi ( t ) )
d CA2( t )
V
dt
( )( ) (
= cA1 cA2 FA( t ) + Fi ( t ) + f CA1( t ) f + V k 2 CA2( t ) )
Rearrange in the standard first-order form:
d C A1( t )
1 + CA1( t ) = K1 FA( t ) + K2 Fi ( t ) + K3 CAi( t ) CA1( 0 ) = 0
dt
d C A2( t )
2 + CA2( t ) = K4 FA( t ) + K4 Fi ( t ) + K5 CA1( t ) CA2( 0 ) = 0
dt
V cA1 cA2 f
2 := K4 := K5 :=
f + V k 2 f + V k 2 f + V k 2
lbmole min
2 = 1.429 min K4 = 0.00127 K5 = 0.286
2
gal
Laplace transform:
K1 FA( s) + K2 Fi ( s) + K3 C Ai( s)
CA1( s) =
1 s + 1
K4 FA( s) + K4 Fi ( s) + K5 C A1( s)
CA2( s) =
2 s + 1
K4 K5
(FA( s) + Fi( s) ) +
( 1 s + 1) ( 2 s + 1) (
CA2( s) =
2 s + 1
K1 FA( s) + K2 Fi ( s) + K3 C Ai( s) )
where
G1 ( s) =
( )
K4 1 s + 1 + K5 K1
G2 ( s) =
( )
K4 1 s + 1 + K5 K2
G3 ( s) =
K5 K3
( 1 s + 1) ( 2 s + 1) ( 1 s + 1) ( 2 s + 1) ( 1 s + 1) ( 2 s + 1)
Block diagram:
CAi(s)
G3(s)
Fi(s)
G2(s)
CA2set(s)
+
E(s) M(s) CA2(s)
Ksp
+ FA(s) +
Gc(s) Gv(s) G1(s)
- +
H(s)
Characteristic equation: 1+
KT
Kc Kv
( )
K4 1 s + 1 + K5 K1
=0
T s + 1 ( 1 s + 1) ( 2 s + 1)
Let 3
A := T 1 2 B := T 1 + T 2 + 1 2 C := 1 + 2 + T A = 1.587 min
D := KT Kv K4 1 (
Kp := KT Kv K4 + K5 K1 ) B = 5 min
2
C = 4.151 min
D = 0.89 min Kp = 0.953
Substitute s = u i at Kc = K cu
( )
3 2
A u i B u + C + D Kcu u i + 1 + Kp Kcu = 0 + 0 i
2
2 B u 1
Real part: B u + 1 + Kp Kcu = 0 Kcu =
Kp
B u 1
2
D Kp C
Imaginary part:
3
A u + C + D u = 0 u :=
Kp
D B A Kp
1
u = 1.021i min
The imaginary value of the ultimate frequency means that there is no ultimate gain, that is, the loop
is stable for all positive values of the gain. This is because the net order of the process is one--two
poles and one zero--and, with the lag in the transmitter, the order is two. An order of at least three
is needed to have an ultimate gain.
The controller is reverse acting: increasing reactants composition decreases the controller output,
closing the reactant feed valve; this decreases the reactants flow and the composition of reactants.
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
Smith & Corripio, 3rd edition
Problem 6-23. Temperature control of two heaters in series.
T4set(t)
TC
f1
Tc1(t)
T1(t)
Steam
f2 T3(t)
T2(t) f TT
Cond.
f T4(t)
d T3 ( t )
V1 cv
dt
( ) ( ) (
= f1 cp T1 ( t ) Tref + f2 cp T2 ( t ) Tref + U A Tc1( t ) T3 ( t ) )
Tank 2: (
f cp T3 ( t ) Tref ) 1 eqn. 2 unks. (f, T 3 )
d T4 ( t )
V2 cp
dt
( ) (
= f cp T3 ( t ) Tref + ws( t ) f cp T4 ( t ) Tref )
2 eqns. 3 unks. (T 4 )
Total mass balance on tank 1: f1 + f2 = f f = f1 + f2
3 eqns. 3 unks.
d 3( t)
1 + 3 ( t ) = K1 1 ( t ) + K2 2 ( t ) + K3 c1( t ) 3(0) = 0
dt
d 4( t)
2 + 4 ( t ) = 3 ( t ) + K4 W( s) 4(0) = 0
dt
V1 cv f1 cp f2 cp U A
K3 :=
where 1 = K1 := K2 = f cp + U A
f cp + U A f cp + U A f cp + U A
V2 cv
2 = K4 =
f cp f cp
K1 1 ( S) + K2 2 ( s) + K3 c1( s) 3 ( s) + K4 W( s)
3 ( s) = 4 ( s) =
1 s + 1 2 s + 1
4 ( s) = G1 ( s) 1 ( s) + G2 ( s) 2 ( s) + G3 ( s) c1( s) + G4 ( s) W( s)
K1 K2 K3
G1 ( s) = G2 ( s) = G3 ( s) =
( 1 s + 1) ( 2 s + 1) ( 1 s + 1) ( 2 s + 1) ( 1 s + 1) ( 2 s + 1)
K4
G4 ( s) =
2 s + 1
Kv
Control valve: Gv ( s) =
v s + 1
KT 100%TO
Temperature transmitter TT: H( s) = KT = Ksp = KT
T s + 1 TH TL
Block Diagram:
'c1(s) G (s)
3
'2(s) G2(s)
'1(s)
G1(s)
'4set(s) ++
Ksp
+ E(s) M(s) W(s) + '4(s)
Gc(s) Gv(s) G4(s)
- +
H(s)
3
( ) 2
( )
T v 2 s + T v + T 2 + v 2 s + T + v + 2 s + 1 + KT Kv K4 Gc( s) = 0
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
Smith & Corripio, 3rd edition
Problem 6-24. Temperature and level control of oil heater.
T3set(t)
TC
N2
TT hset(t)
p2 = 40 psia
LC
Steam 3 ft LT
fs(t) AO h(t) AO T1(t)
5 ft p1(t)
T vp2(t) T3(t)
Condensate p3(t)
lb BTU
Problem Data: := 53 cp := 0.45 T1 := 70degF T3 := 200degF D := 3ft
3 lb degF
ft
BTU
Steam, saturated at 115 psig (130 psia). from steam tables: Ts1 := 347degF s := 873
lb
BTU
p 2 := 40psia p 1 := 45psig p 3 := 15psig U := 136 gal
2 f1 := 100
hr ft degF min
lb BTU
Heating coil: Do := 0.5in (20 BWG) L := 974ft wm := 0.178 cpm := 0.12
ft lb degF
2 BTU
Ao := Do L Ao = 127.5 ft CM := wm L cpm CM = 20.805
degF
Level transmitter: h L := 7ft h H := 10ft LT := 0.01min
(
f1 cp T3 T1 ) lb
ws := ws = 47.5
s min
ws s
(
ws s U Ao Ts T3 = 0 ) Ts := T3 +
U Ao
Ts = 343.4 degF p s := 123psia
(steam tables)
Size inlet oil valve:
hH + hL
Assume initially the level is at 50% of the level transmitter range: h :=
2 2
p v1 := p 1 + 14.7psia p 2 g ( h 5ft)
ft
12in h = 8.5 ft p v1 = 18.41 psi
3
ft Gf
Gf := gal
62.4lb Cv1max := 150% f1 Cv1max = 32.2
p v1 min psi
gal
From Fig. C-10.1, page 532, a 3-in valve is required. Cv1max := 46
min psi
2
p v2 := p 2 + g h
ft
Size exit oil valve:
12in
p 3 + 14.7psia
( ) p v2 = 13.43 psi
Gf gal
Cv2max := 150% f3 Cv2max = 37.7
p v2 min psi
gal
From Fig. C-10.1, page 532, a 2-in valve is required. Cv2max := 46
min psi
18
Size steam valve: p s1 := 130psia G := G = 0.621 Assume Cf := 0.9
29
(
150 % fs G Ts1 + 460 R ) gal hr psia gal
Cvsmax := Cvsmax = 50.4
(
C f p s1 y 0.148 y
3) 836 min scf R min psi
gal
From Fig. C-10.1, page 532, a 3-in valve is required. Cvsmax := 110
min psi
1
2
p 1 ( t ) p 2 g ( h ( t ) 5 ft)
ft
Valves: f1 ( t ) = C v1max vp1 ( t )
Gf 12 in
2 eqns. 3 unks.
1
2
p p 3 ( t ) + g h ( t )
ft
f3 ( t ) = C v2max vp2 ( t )
Gf 2 in
12
3 eqns. 3 unks.
p v1 p v2 gal gal
f1max := Cv1max f3max := Cv2max f1max = 214.2 f3max = 182.9
Gf Gf min min
1 1 1 1
a1 := Cv1max vp1 a2 := C v2max vp2 ( 1 )
2 Gf p v1 2 Gf p v2
2 2
g g
1 1 ft 1 1 ft
a3 := C v1max vp1 a4 := Cv2max vp2
2 Gf p v1 2 2 Gf p v2 2
144 in 144 in
d H( t )
+ H( t ) = K1 VP 1 ( t ) K2 VP 2 ( t ) + K3 P1 ( t ) + K4 P3 ( t ) H( 0 ) = 0
dt
where
2 f1max f3max a1 a2
D 7.48gal 1
:= K1 := K2 := K3 := K4 :=
4 3 a3 + a4 a3 + a4 a3 + a4 a3 + a4 a3 + a4
ft
ft ft
= 22.31 min K1 = 90.4 ft K2 = 77.2 ft K3 = 1.146 K4 = 1.571
psi psi
Laplace transform:
1
H( s) =
s + 1
(K1 VP1(s) K2 VP2( s) + K3 P1(s) + K4 P3( s) )
1
Level control valve: VP 1 ( s) = M 1 ( s)
100%CO
P3(s)
K4
P1(s)
K3
VP2(s)
K2
R(s) E(s) M1(s)
++ H(s)
+ K1 - 1
KLc
100 + Js + 1
-
HLT(s)
(c) Block diagram and characteristic equation of the temperature control loop.
Energy balance on tank:
2
D 7.48gal d
4
3
cv
dt
(h( t) T3(t) ) = f1(t) cp (T1( t) Tref ) + U Ao (Ts( t) T3(t) )
ft
(
f3 ( t ) cp T3 ( t ) Tref ) 1 eqn. 2 unks. (T 3 , Ts)
d Ts( t )
Energy balance on steam chest: CM
dt
(
= s ws( t ) U Ao Ts( t ) T3 ( t ) )
2 eqns. 3 unks. (w s)
2 eqns. 3 nks. (ws)
Steam valve:
836 scf min R hr 18 lb
(
C vsmax vps( t ) Cf p s1 y 0.148 y
3)
ws( t ) =
hr gal psia 60 min 380 scf (
G Ts1 + 460R )
3 eqns. 3 unks.
d 3( t)
1 + 3 ( t ) = K1 F1 ( t ) + K2 1 ( t ) + K3 s( t )
dt
d s( t )
2 + s( t ) = K4 Ws( t ) + 3 ( t )
dt
where 1 :=
V cv (
cp T1 T3 ) f cp U Ao
K1 := K2 := K3 :=
f1 cp + U Ao f1 cp + U Ao f cp + U Ao f cp + U Ao
CM s
2 := K4 := degF min
U Ao U Ao 1 = 2.357 min 2 = 0.072 min K1 = 0.682
gal
degF min
K2 = 0.525 K3 = 0.475 K4 = 3.021
lb
K1 F1 ( s) + K2 1 ( s) + K3 s( s) K4 Ws( s) + 3 ( s)
Laplace transform: 3 ( s) = s( s) =
1 s + 1 2 s + 1
Combine:
3 ( s) = G1 ( s) F1 ( s) + G2 ( s) 1 ( s) + G3 ( s) Ws( s)
where G1 ( s) =
(
K1 2 s + 1) G2 ( s) =
(
K2 2 s + 1 )
( 1 s + 1) ( 2 s + 1) K3 ( 1 s + 1) ( 2 s + 1) K3
K3 K4
G3 ( s) =
( 1 s + 1) ( 2 s + 1) K3
wsmax wsmax lb
Steam control valve: Ws( s) = M ( s) = 1.553
100%CO s 100%CO min %CO
DT + 1
s
GTc( s) = KTc 1 +
1
PID controller:
IT s D DT s + 1
f1max f1max gal
Inlet flow: F1 ( s) = M ( s) + a1 P1 ( s) a3 H( s) = 2.142
100%CO 1 100%CO min %CO
gal gal
a1 = 2.716 a3 = 1
min psi min ft
M1(s)
f1max
100
P1(s) + F1(s)
a1
+ G1(s)
H(s) - '1(s)
a3 G2(s)
'3set(s)
-
+ E(s) Ms(s) w Ws(s) + '3(s)
Ksp GTc(s)
smax
G3(s)
100 +
-
HTT(s)
Characteristic equation:
wsmax KTT wsmax K3 K4
1 + HTT( s) GTc( s) G ( s) = 1 + GTc( s) =0
100%CO 3 TT s + 1 100%CO ( 1 s + 1) ( 2 s + 1) K3
(d) Ultimate gain nad period of the temperature control loop.
Proportional controller: GTc( s) = KTc
3 2
Substitute s = u i at KTc = K cu : A u i B u + C u i + 1 K3 + Kp Kcu = 0 + 0 i
where A := TT 1 2 B := TT 1 + TT 2 + 1 2 ( )
C := TT 1 K3 + 1 + 2
wsmax 3 2
Kp := KTT K K A = 0.085 min B = 1.384 min C = 2.692 min
100%CO 3 4
%TO
Kp = 1.116
%CO
3 C 2
Imaginary part: A u + C u = 0 u := Tu := Tu = 1.069 min
A u
2
2 K3 1 + B u
Real part: B u + 1 K3 + Kp Kcu = 0 %CO
Kcu := Kcu = 38.9
Kp %TO
Compare these results with the simulation of this process in Problem 13-24.
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
Smith & Corripio, 3rd edition
Problem 6-25. Level control of two tanks in series.
LC
.fi(t) .f3(t)
h1(t)
f1(t)
fo(t)
h2(t) LT
f2(t)
.m 1(t)
fmax 1
Linear pump with a time constant: Fo ( s) = M ( s)
100%CO p s + 1 1
100%TO
Level transmitter LT has negligible time constant: HLT( s) = KT =
h max
2
D1 d H1 ( t ) k v1
= Fi ( t ) + F3 ( t ) Fo ( t ) H1 ( t ) H1 ( 0 ) = 0
4 dt 2 h1
2
D2 d H2 ( t ) k v1 k v2
= H1 ( t ) H2 ( t ) H2 ( 0 ) = 0
4 dt 2 h1 2 h2
d H1 ( t )
1 + H1 ( t ) = K1 Fi ( t ) + K1 F3 ( t ) K1 Fo ( t )
dt
d H2 ( t )
2 + H2 ( t ) = K2 H1 ( t )
dt
2 2
D1 h 1 2 h1 D2 h 2 k v1 h 2
where 1 = K1 = 2 = K2 =
2 k v1 k v1 2 k v2 k v2 h 1
K1
Laplace transform: H1 ( s) =
1 s + 1
(Fi( s) + F3(s) Fo( s) )
K2 K1 K2
( 1 s + 1) ( 2 s + 1) (
H2 ( s) =
2 s + 1
H1 ( s) = Fi ( s) + F3 ( s) Fo ( s) )
Block diagram of the level control loop:
R(s)
+ E(s) M1(s) + - K1K2
H2(s)
KLc Gv(s)
+ (J1s+1)(J2s+1)
- F3(s)
KT
(b) Characteristic equation and ultimate gain and period.
Kv K1 K2
1 + KT KLC =0
( )(
v s + 1 1 s + 1 2 s + 1 )
100 %TO f3max 2 h 2
Substitute s = u i at KLC = K.cu : Let Kp = KT Kv K1 K2 =
h max 100 CO k v2
( ) ( )
3 2
v 1 2 u i v 1 + v 2 + 1 2 u + v + 1 + 2 u i + 1 + Kp Kcu = 0 + 0 i
v + 1 + 2 2
( )
3
Imaginary part: v 1 2 u + v + 1 + 2 u = 0 u = Tu =
v 1 2 u
( ) 2
( )
2 v 1 + v 2 + 1 2 u 1
Real part: v 1 + v 2 + 1 2 u + 1 + Kp Kcu = 0
Kcu =
Kp
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.
Smith & Corripio, 3rd edition
Problem 6-26. Control of heating value of fuel stream.
Problem Data:
hv( t ) = c + g x 3 ( t )
hvset(t)
AC
G( t ) = a + b x 3 ( t )
hv
Fan driver, linear, lag F, AT
range 0 to f2max. p2
Natural gas
p(t)
Sensor transmitter, lag T,
range hvL to hvH.
f2(t) x 2(t) f3(t) x 3(t)
Controller is PI:
Waste gas
Gc( s) = Kc 1 +
1
I s f1(t) x 1(t)
Exit valve: f3 ( t ) =
836scf min
R hr
C C
p ( t)
(
y ( t ) 0.148 y ( t )
3 )
psia 60min v3 f G( t ) T
hr gal
3 eqns. 5 unks. (y, p)
1.63 p ( t ) p 2
y( t) =
Cf p( t) 4 eqns. 5 unks.
p ( t ) lbmole
Ideal gas law: ( t) = 5 eqns. 5 unks.
Rg T 3
ft 14.7psia 3 lbmole
s := s = 2.635 10
Rg 520 R scf
V x 3 d P( t ) V P d x 3 ( t )
Rg T dt
+
Rg T
dt
(
= s f1 X1 ( t ) + f2 X2 ( t ) f3 X3 ( t ) + x 1 F1 ( t ) + x 2 F2 ( t ) x 3 F3 ( t ) )
F3 ( t ) = a1 P( t ) a2 X3 ( t ) where f3 ( t ) f3 ( t )
a1 = a2 =
p x 3
V d x 3 ( t )
s
dt
( )
= f1 X1 ( t ) + f2 X2 ( t ) f3 X3 ( t ) + x 1 x 3 F1 ( t ) + x 2 x 3 F2 ( t ) ( ) x3( 0) = 0
V d P( t )
= F1 ( t ) + F2 ( t ) a1 P( t ) + a2 X3 ( t ) P( 0 ) = 0
R g T s dt
C v3 C f p 2
0.5
a1 =
836scf min
R hr 3
y 0.148 y + p 1 3 0.148 y ( p p2
)
2 1.63
hr gal psia 60min G T Cf 2 p 2
p
a2 =
836 scf min
hr gal
R
psia 60min
hr
Cv3 Cf
p
(y 0.148 y3) b
( )
T 1.5
2 a + b x3
d X3 ( t )
1 + X3 ( t ) = K1 X1 ( t ) + K2 X2 ( t ) K3 F1 ( t ) + K4 F2 ( t )
dt
d P( t ) 1 1 a2
2 + P( t ) = F1 ( t ) + F2 ( t ) + X3 ( t )
dt a1 a1 a1
V f1 f2 x3 x1 x2 x3 V
1 = K1 = K2 = K3 = K4 = 2 =
f3 s f3 f3 f3 f3 Rg T s a1
1
Laplace transform: X3 ( s) =
1 s + 1
(K1 X1(s) + K2 X2( s) K3 F1(s) + K4 F2( s) )
1 1 1 a2
P( s) = F1 ( s) + a F2 ( s) + X ( s)
2 s + 1 a1 a3 3
1
KF f2max
Variable speed fan: F2 ( s) = M ( s) KF =
F s + 1 100%CO
KT 100%TO
Heating value transmitter: H( s) = KT = Ksp = KT
T s + 1 hvH hvL
X1(s)
K1
X2(s)
K2
F1(s)
K3
HVset(s) + +
+ E(s) M(s) K K - g
HV(s)
Ksp Gc(s) F 4
JFs + 1 + J1s + 1
-
H(s)
The controller must be reverse acting (negative gain): increasing heating value decreases the
controller output; this decreases the fan speed and the flow of natural gas, decreasing the heating
value.
( T s + 1) ( F s + 1) ( 1 s + 1) + KT Kc 1 + s KF K4 = 0
1
Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis for testing or instructional purposes
only to students enrolled in courses for which the textbook has been adopted. Any other reproduction or translation of this work
beyond that permitted by Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the copyright owner
is unlawful.