Process Dynamics and Control Seborg 2nd
Process Dynamics and Control Seborg 2nd
6.1
Figure S6.1. Poles and zeros of G(s) plotted in the complex s plane.
6-1
b) Process output will be unbounded because some poles lie in the right half
plane.
c) By using Simulink-MATLAB
8
x 10
2
-2
-4
-6
Output
-8
-10
-12
-14
-16
0 5 10 15 20 25 30
Time
Figure E6.1b. Response of the output of this process to a unit step input.
As shown in Fig. S6.1b, the right half plane pole pair makes the process
unstable.
6.2
K (τ a s + 1)
a) Standard form =
(τ1 s + 1)(τ 2 s + 1)
b)
0.5(2s + 1)e −5 s
Hence G ( s ) =
(0.5s + 1)(2s + 1)
0.5e −5 s
G (s) =
(0.5s + 1)
c) Gain = 0.5
Pole = −2
Zeros = No zeros due to the zero-pole cancellation.
6-2
(1 − 5 / 2s )
d) 1/1 Pade approximation: e −5 s =
(1 + 5 / 2 s )
The transfer function is now
0.5 (1 − 5 / 2 s )
G (s) = ×
0.5s + 1 (1 + 5 / 2 s )
Gain = 0.5
Poles = −2, −2/5
Zeros = + 2/5
6.3
Y ( s ) K (τ a s + 1) M
= , X (s) =
X ( s) (τ1 s + 1) s
τ τ − τ1 −t / τ1
y(t) = KM 1 − 1 − a e −t / τ1 = KM 1 + a e
τ1 τ1
τ − τ1 τ a
a) y (0 + ) = KM 1 + a = KM
τ1 τ1
τ − τ1 −t / τ1
KM 1 + a e > KM
τ1
or τa − τ1 > 0 , that is, τa > τ1
( τ a − τ1 )
y1 = − KM e −t / τ1 < 0 for KM > 0
τ1
2
τ − τ1 −t / τ1
KM 1 + a e <0
τ1
τ a − τ1 τa
< −e +t / τ1 or < 1 − e +t / τ1 < 0 at t = 0.
τ1 τ1
Therefore τa < 0.
6-3
6.4
Y (s) K (τ a s + 1)
= , τ1>τ2, X(s) = M/s
X ( s ) (τ1 s + 1)(τ 2 s + 1)
τ − τ1 −t / τ1 τ a − τ 2 −t / τ2
y (t ) = KM 1 + a e − e
τ 1 − τ 2 τ 1 − τ 2
a) Extremum → y1 (t ) = 0
1 τ − τ1 −t / τ1 1 τ a − τ 2 −t / τ 2
KM 0 − a e + e =0
τ 1 τ 1 − τ 2 τ 2 τ1 − τ 2
1 1
1 − τa / τ2 −t −
τ τ
= e 1 2 ≥1 since τ1>τ2
1 − τ a / τ1
b) Overshoot → y (t ) > KM
τ − τ1 −t / τ1 τ a − τ 2 −t / τ2
KM 1 + a e − e > KM
τ1 − τ 2 τ1 − τ 2
1 1
τ a − τ1 −t −
τ τ
> e 2 1 > 0 , therefore τa>τ1
τa − τ2
1 τ − τ1 −t / τ1 1 τ a − τ 2 −t / τ2
KM 0 − a e + e < 0 at t = 0
+
τ1 τ1 − τ 2 τ 2 τ1 − τ 2
1 τ − τ1 1 τ a − τ 2
− a + <0
τ1 τ1 − τ 2 τ 2 τ1 − τ 2
1 1
τ a −
τ 2 τ1 < 0
τ1 −τ 2
6-4
Since τ1 > τ2, τa < 0.
1 1
− t − 1 − τa τ2
τ1 τ 2
e =
1 − τ a τ1
ττ 1 − τa τ2
t = 1 2 ln
τ1 − τ 2 1 − τ a τ1
6.5
1.6
case(i)
case(ii)a
1.4 case(ii)b
case(iii)
1.2
0.8
y(t)
0.6
0.4
0.2
-0.2
0 5 10 15 20 25 30 35 40 45 50
Time
6-5
Conclusions:
6.6
K1 K2 K K2
Y (s) = U (s) + U ( s) = 1 + U ( s )
s τs + 1 s τs + 1
Y ( s ) K 1 τs + K 1 + K 2 s ( K 1τ + K 2 ) s + K 1
= =
U ( s) s (τs + 1) s (τs + 1)
K
K 1 τ + 2 s + 1
K1
=
Y (s)
G( s) =
U ( s) s (τs + 1)
−1 − K1
sa = =
K K1τ + K 2
τ + 2
K1
K1
If < 0 , the zero is in RHP.
K1τ + K 2
6-6
Two possibilities: 1. K1<0 and K1τ + K2 >0
g) If input is M/s, the output will contain a t term, that is, it is not bounded.
6.7
2
a) p ′(t ) = (4 − 2) S (t ) , P ′( s ) =
s
−3 −3 2
Q ′( s ) = P ′( s ) =
20 s + 1 20 s + 1 s
Q ′(t ) = −6(1 − e −t / 20 )
b) R ′( s ) + Q ′( s ) = Pm′ ( s )
r ′(t ) = p m (t ) − 12 + 6(1 − e − t / 20 )
r ′(t = ∞) 18 − 12 + 6(1 − 0)
K= = =6
p (t = ∞) − p (t = 0) 4−2
Overshoot,
6-7
− πζ
OS = exp = 0.514 , ζ = 0 .2
1− ζ2
Period, T, for r ′(t ) is equal to the period for pm(t) since e-t/20 decreases
monotonically.
Thus, T = 50 − 15 = 35
T
and τ= 1 − ζ 2 = 5.46
2π
Pm′ ( s ) K K′
c) = 2 2 +
P ′( s ) τ s + 2ζτs + 1 τ′s + 1
=
(K ′τ )s 2 2
+ ( Kτ′ + 2 K ′ζτ) s + ( K + K ′)
(τ s 2 + 2ζτs + 1)(τ′s + 1)
2
Pm′ ( s ) %
d) Overall process gain = = K + K′ = 6 −3 = 3
P ′( s ) s =0
psi
6.8
K bt qin
Gbt ( s ) = where K bt = ≠1
τ bt s + 1 ∑ qi
2m 3
τ bt = = 2 min
1m 3 / min
K tl
Gtl ( s ) = where K tl = 1
(τ tl s + 1)5
0.1m 3
τ tl = = 0.02 min
5 × 1m 3 / min
6-8
′ (s)
C out K bt
∴ =
C in′ ( s ) (2s + 1)(0.02s + 1) 5
1
b) Since τbt >> τtl [ 2 >> 0.02] we can approximate by e-θ s
(0.02 s + 1) 5
5
where θ = ∑ (0.02) = 0.1
i =1
′ ( s ) K bt e −0.1s
C out
∴ ≈
C in′ ( s ) 2s + 1
c) Since τbt ≈ 100 τtl , we can imagine that this approximate TF will yield
results very close to those from the original TF (part (a)). We also note
that this approximate TF is exactly the same as would have been obtained
using a plug flow assumption for the transfer line. Thus we conclude that
investing a lot of effort into obtaining an accurate dynamic model for the
transfer line is not worthwhile in this case.
d) By using Simulink-MATLAB,
1.2
0.8
0.6
Output/Kbt
0.4
0.2
Exact model
Approximate model
-0.2
0 5 10 15 20 25 30
Time
Fig S6.8. Unit step responses for exact and approximate model.
6-9
6.9
c) θ = 2, τ = 10
e) θ = 0.5, τ = 10
f) θ = 1, τ = 10
h) θ = 2, τ = 0
Part c)
0.9
0.8
0.7
0.6
Output
0.5
0.4
0.3
0.2
0.1
Exact model
Approximate model
0
0 5 10 15 20 25 30 35 40 45 50
time
Figure S6.9a. Unit step responses for exact and approximate model in part c)
6-10
Part e)
0.9
0.8
0.7
0.6
Output
0.5
0.4
0.3
0.2
0.1
Exact model
Approximate model
0
0 5 10 15 20 25 30 35 40 45 50
Time
Figure S6.9b. Unit step responses for exact and approximate model in part e)
Part f)
0.9
0.8
0.7
0.6
Output
0.5
0.4
0.3
0.2
0.1
Exact model
Approximate model
0
0 5 10 15 20 25 30 35 40 45 50
Time
Figure S6.9c. Unit step responses for exact and approximate model in part f)
6-11
Part h)
1.5
Output 0.5
-0.5
Exact model
Approximate model
-1
0 5 10 15 20 25 30 35 40 45 50
Time
Figure S6.9d. Unit step responses for exact and approximate model in part h)
6.10
C i′( s ) 1
= , i = 1, 2, …, 5
C i′−1 ( s ) V
s + 1
q
C 5′ ( s ) C ′(s) 1
5 5
= ∏ i = ,
C 0′ ( s ) i =1 C i′−1 ( s ) 6s + 1
6-12
t 1 t 2 1 t 3 1 t 4
−t / 6
c5 (t ) = 0.60 − 0.15 1 − e 1 + + + +
6 2! 6 3! 6 4! 6
b) Using Simulink,
0.6
c5
0.58 c4
c3
c2
0.56
c1
0.54
Concentration
0.52
0.5
0.48
0.46
0.44
0 5 10 15 20 25 30 35 40 45 50
time
The value of the expression for c5(t) verifies the simulation results above:
52 53 54
c5 (30) = 0.60 − 0.15 1 − e −5 1 + 5 + + + = 0.5161
2! 3! 4!
6.11
− τa s + 1 E A B C
a) Y (s) = = + 2 +
τ1 s + 1 s 2
s s τ1 s + 1
6-13
E (− τ a s + 1)
B = lim =E
s →0
τ1 s + 1
Now look at
E (− τ a s + 1) = As (τ1 s + 1) + B (τ1 s + 1) + Cs 2
− Eτ a s + E = Aτ1 s 2 + As + Bτ1 s + B + Cs 2
Equate coefficients on s:
− Eτ a = A + Bτ1
A = − E ( τ a + τ1 )
y (t ) ≈ Et − E (τ a + τ1 )
Plotting
(τa+τ1)
y(t)=Et =Et-E(τa+τ1)
y
6-14
6.12
5e − ( 0.5+0.2) s 5e −0.7 s
G ( s ) approx = =
(10s + 1)((4 + 0.5) s + 1) (10s + 1)(4.5s + 1)
b) By using Simulink-MATLAB
3
Output
Exact model
Approximate model
-1
0 5 10 15 20 25 30 35 40 45 50
Time
Figure S6.12a. Unit step responses for exact and approximate model.
c) Using MATLAB and saving output data on vectors, the maximum error is
6-15
Exact model
Approximate model
0.9
0.8
0.7
0.6
0.5
Output
0.4
0.3
0.2
0.1
-0.1
0 1 2 3 4 5 6 7 8
Time
Figure S6.12b. Maximum error between responses for exact and approximate
model.
6.13
From the solution to Problem 2-5 (a) , the dynamic model for isothermal
operation is
V1 M dP1 Pd − P1 P1 − P2
= − (1)
RT1 dt Ra Rb
V2 M dP2 P1 − P2 P2 − Pf
= − (2)
RT2 dt Rb Rc
K b Pd′ ( s ) + K a P2′ ( s )
P1′( s ) = (3)
τ1 s + 1
K P ′( s )
P2′ ( s ) = c 1 (4)
τ2 s + 1
where
6-16
K a = Ra /( Ra + Rb )
K b = Rb /( Ra + Rb )
K c = Rc /( Rb + Rc )
V1 M Ra Rb
τ1 =
RT1 ( Ra + Rb )
V2 M Rb Rc
τ2 =
RT2 ( Rb + Rc )
Kb Kc
P2′( s ) Kb Kc 1 − K K c
= = a
(5)
Pd′ ( s ) (τ1 s + 1)(τ 2 s + 1) − K a K c τ1 τ 2 2 τ1 + τ 2
s + s + 1
1 − K a K c 1− Ka Kc
Kb
(τ2 s + 1)
P1′( s ) 1 − Ka Kc
= (6)
Pd′ ( s ) τ1τ2 2 τ1 + τ2
s + s +1
1 − Ka Kc 1 − Ka Kc
τ1 τ 2 τ + τ2
τ 2 = , 2ζτ = 1
1 − Ka Kc 1− Ka Kc
Therefore,
1 (τ1 + τ 2 ) (1 − K a K c ) 1 τ1 τ 1
ζ= = + 2
2 (1 − K a K c ) τ1 τ 2 2 τ2 τ1 (1 − K a K c )
6-17
1
ζ≥
(1 − K a K c )
Since KaKc ≥ 0,
ζ ≥1
6.14
M
a) For X (s) =
s
KM A B C
Y (s) = = + +
s (1 − s )(τs + 1) s 1 − s τs + 1
KM
A = lim = = KM
s →0 (1 − s )(τs + 1)
KM KM
B = lim = =
s →1 s (τs + 1) τ + 1
KM KM − KM τ2
C = lim = =
s →−1/ τ s (1 − s ) τ +1
− 1 1 + 1
τ τ
Then,
et τ −t / τ
y1 (t ) = KM 1 − − e
τ +1 τ +1
6-18
8
x 10
0
-2
-4
Output
-6
-8
-10
-12
0 2 4 6 8 10 12 14 16 18 20
Time
Ke −2 s
b) If G2 ( s) = then,
(1 − s )(τs + 1)
e t −2 τ −( t − 2 ) / τ
y 2 (t ) = KM 1 − − e S (t − 2)
τ +1 τ +1
K (1 − s ) K
G2 ( s) = =
( s + 1)(τs + 1)(1 − s ) ( s + 1)(τs + 1)
M
d) For X (s) =
s
KM
Y (s) =
s ( s + 1)(τs + 1)
τ1 = 1 , τ2 = τ
6-19
1
y3 (t ) = KM 1 + (e −t − τe −t / τ )
τ −1
-1
-2
-3
-4
Output
-5
-6
-7
-8
-9
-10
0 2 4 6 8 10 12 14 16 18 20
Time
4
Output
0
0 2 4 6 8 10 12 14 16 18 20
Time
6-20
6.15
R2 A2 + R1 A1 + R2 A1 1 R1 A1 R2 A2 1
+
R2 A1
ζ= = +
2 R1 R2 A1 A2 2 R2 A2 R1 A1 2
R1 A2
1
Since x + ≥ 2 for all positive x and since R1, R2, A1, A2 are positive
x
ζ≥
1
(2) + 1 R2 A1 ≥ 1
2 2 R1 A2
6.16
a) If w1 = 0 and ρ = constant
dh2
ρA2 = w0 − w2
dt
1
w2 = h2
R2
1 ρ
[ Note: could also define R2 by q 2 = h2 → w2 = ρq 2 = h2 ]
R2 R2
Substituting,
dh2 1
ρA2 = w0 − h2
dt R2
dh2
or ρA2 R2 = R2 w0 − h2
dt
ρA2 R2 sH 2′ ( s ) + H 2′ ( s ) = R2W0′( s )
6-21
H 2′ ( s ) R2
=
W0′( s ) ρA2 R2 s + 1
1
Since W2′ ( s ) = H 2′ ( s )
R2
W2′ ( s ) 1 R2 1
= =
W0′( s ) R2 ρA2 R2 s + 1 ρA2 R2 s + 1
Let τ2 = ρA2R2
W2′ ( s ) 1
=
W0′( s ) τ 2 s + 1
b) ρ = constant
dh dh2
ρA1 1 = − w1 ρA2 = w0 + w1 − w2
dt dt
1 1
w1 = (h1 − h2 ) w2 = h2
R1 R2
c) Since this clearly is an interacting system, there will be a single zero. Also,
we know the gain must be equal to one.
W1′( s ) τ s +1 W2′ ( s ) 1
∴ = 2 2 a = 2 2
W0′( s ) τ s + 2ζτs + 1 W0′( s ) τ s + 2ζτs + 1
W1′( s ) τa s + 1 W2′ ( s ) 1
or = =
W0′( s ) (τ1′ s + 1)(τ′2 s + 1) W0′( s ) (τ1′ s + 1)(τ′2 s + 1)
where τ1′ and τ′2 are functions of the resistances and areas and can
only be obtained by factoring.
6-22
6.17
12ω
Ti′( s ) =
s + ω2
2
(−72 + 36 s )ω
Ti′( s ) =
(10 s + 1)(5s + 1)( s 2 + ω 2 )
To invert, either (1) make a partial fraction expansion manually, or (2) use
the Matlab residue function. The first method requires solution of a system
of algebraic equations to obtain the coefficients of the four partial
fractions. The second method requires that the numerator and denominator
be defined as coefficients of descending powers of s prior to calling the
Matlab residue function:
Matlab Commands
b=
9.4320 −18.8640
b=
r=
6.0865 − 4.9668i
6.0865 + 4.9668i
38.1989
−50.3718
6-23
p=
−0.0000 − 0.2620i
−0.0000 + 0.2620i
−0.2000
−0.1000
k=
[]
Note: the residue function recomputes all the poles (listed under p). These
are, in reverse order: p1 = 0.1( τ1 = 10) , p2 = 0.2( τ 2 = 5) , and the two
purely imaginary poles corresponding to the sine and cosine functions.
The residues (listed under r) are exactly the coefficients of the
corresponding poles, in other words, the coefficients that would have been
obtained via a manual partial fraction expansion. In this case, we are not
interested in the real poles since both of them yield exponential functions
that go to 0 as t→ ∞.
The complex poles are interpreted as the sine/cosine terms using Eqs. 3-69
and 3-74. From (3-69) we have:
The amplitude of the composite output sinusoidal signal, for large values,
of t is given by
Thus the amplitude of the output is 15.7° for the specified 12° amplitude
input.
6-24
6.18
(1 − γ )V
s + 1
(q + q R )
= (3)
γ (1 − γ )V 2 2 V
s + s + 1
q(q + q R ) q
CT′ ( s ) 1
== (4)
CTi′ ( s ) γ (1 − γ )V 2 2 V
s + s + 1
q(q + q R ) q
b) Case (i), γ → 0
V
s + 1
CT′ ( s ) 1 CT′ 1 ( s ) q + qR
== ==
CTi′ ( s ) V CTi′ ( s ) V
q s + 1 q s + 1
Case (ii), γ → 1
CT′ ( s ) 1 C ′ ( s)
= = T1
CTi′ ( s ) V CTi′ ( s )
q s + 1
6-25
Case (iii), q R → 0
CT′ ( s ) 1 CT′ 1 ( s ) 1
== , ==
CTi′ ( s ) γ (1 − γ )V 2 2 V CTi′ ( s ) γV
s + s + 1 q s + 1
q2 q
Case (iv), q R → ∞
CT′ ( s ) 1 C ′ ( s)
= = T1
CTi′ ( s ) V CTi′ ( s )
q s + 1
c) Case (i), γ → 0
This corresponds to the physical situation with no top tank. Thus the
dynamics for CT are the same as for a single tank, and CT′ 1 ≈ CTi′ for small
qR.
Case (ii), γ → 1
Physical situation with no bottom tank. Thus the dynamics for CT 1 are the
same as for a single tank, and CT = CT 1 at all times.
Case (iii), q R → 0
Physical situation with two separate non-interacting tanks. Thus, top tank
dynamics, CT 1 , are first order, and bottom tank, CT , is second order.
Case (iv), q R → ∞
d) In Eq.(3),
(1 − γ )V
≥0
( q + q R
)
6-26
1 1
−
1V γ (1 − γ )V 2 2 (q + q R ) 2
ζ= =
2q q(q + q R ) 4qγ (1 − γ )
1
(q + q R ) 2
ζ= ≥1
q
1
γ (1 − γ )V 2 2
τ1 = q( q + q R )
1 1
(q + q R ) (q + q R )
2 2
4qγ (1 − γ ) − 4qγ (1 − γ ) − 1
1
γ (1 − γ )V 2 2
τ2 = q(q + q R )
1 1
(q + q R ) 2 (q + q R ) 2
4qγ (1 − γ ) + −
4qγ (1 − γ ) 1
It is given that
CTi′ ( s ) =
h
s
[ ] h h
1 − e −t w s = − e − t w s
s s
τ e− t / τ1 − τ2 e− t / τ2
cT (t ) = S (t )h 1 − 1
τ1 − τ2
τ1e − (t −t w ) / τ1 − τ 2 e − (t −tw ) / τ 2
− S (t − t w )h 1 −
τ1 − τ 2
6-27
And using Eq. 6-15 and (3)
τ − τ1 −t / τ1 τ a − τ 2 −t / τ2
CT 1 (t ) = S (t )h 1 + a e + e
τ1 − τ 2 τ 2 − τ1
(1 − γ )V
τa =
(q + q R )
6.19
dT8
A2 = B2 (T6 − T8 ) + K (T3 − T8 ) (1)
dt
dT
A2 6 = B2 (T4 − T6 ) + K (T5 − T6 ) (2)
dt
dT4
A2 = B2 (T2 − T4 ) + K (T7 − T4 ) (3)
dt
dT7
A1 = B1 (T5 − T7 ) + K (T4 − T7 ) (4)
dt
dT5
A1 = B1 (T3 − T5 ) + K (T6 − T5 ) (5)
dt
6-28
dT3
A1 = B1 (T1 − T3 ) + K (T8 − T3 ) (6)
dt
Define vectors
T ′ ( s )
T (s) = 2
*
T1′( s )
s I T ′( s ) = A T ′( s ) + B T ( s )
*
(7)
− K − B2 B2 K
A 0 0 0
A2 A2
2
− K − B1 B1 K
0 0 0
A1 A1 A1
− K − B2 K B2
0 0 0
A= A2 A2 A2
K − K − B1 B1
0 0 0
A1 A1 A1
K − K − B2
0 0 0 0
A2 A2
K − K − B1
0 0 0 0
A1 A1
B2
0 0 0 0 A2
0
B=
0 0 0 0 B1
0
A1
From Eq. 7,
T ′( s ) = ( s I − A) −1 B T ( s )
*
6-29
Then
T8′( s ) 1 0 0 0 0 0 −1
T ′ ( s ) = 0 1 0 0 0 0 ( s I − A) B T ( s )
*
7
6.20
The dynamic model for the process is given by Eqs. 2-45 and 2-46,
which can be written as
dh 1
= ( wi − w) (1)
dt ρA
dT w Q
= i (Ti − T ) + (2)
dt ρAh ρAhC
System outputs: h , T
System inputs : w, Q
Hence assume that wi and Ti are constant. In Eq. 2, note that the nonlinear
dT
term h can be linearized as
dt
dT ′ dT
h + h′
dt dt
dT ′ dT
or h since =0
dt dt
dh ′ 1
=− w′
dt ρA
dT ′ − wi 1
= T′+ Q′
dt ρAh ρAh C
6-30
Taking Laplace transforms and rearranging,
H ′( s ) K 1 H ′( s ) T ′( s ) T ′( s ) K2
= , =0 , =0 , =
W ′( s ) s Q ′( s ) W ′( s ) Q ′( s ) τ 2 s + 1
1 1 ρAh
where K 1 = − ; and K 2 = , τ2 =
ρA wi C wi
6.21
Additional assumptions:
(i) The density, ρ, and the specific heat, C, of the process liquid are
constant.
(ii) The temperature of steam, Ts, is uniform over the entire heat transfer
area.
dV
= qF − q (1)
dt
d [V (T − Tref )]
ρC = q F ρC (TF − Tref ) − qρC (T − Tref ) + UA(Ts − T ) (2)
dt
dV
Eq. 2 is simplified by substituting for from Eq. 1. Also, replace
dt
V by AT h (where AT is the tank area) and replace A by pT h
(where pT is the perimeter of the tank). Then,
6-31
dh
AT = qF − q (3)
dt
dT
ρCAT h = qF ρC (TF − T ) + UpT h(Ts − T ) (4)
dt
Then, Eqs. 3 and 4 constitute the dynamic model for the system.
dh ′
AT = q ′F − q ′ (5)
dt
dT ′
ρCAT h = ρC (TF − T )qF′ − (ρCqF + UpT h )T ′
dt
+ UpT hTs′ + UpT (Ts − T )h′ (6)
1 1
H ′( s ) = QF′ ( s ) − Q′( s ) (7)
AT s AT s
ρCAT h ρC (TF − T )
s + 1 T ′( s ) = QF′ ( s )
ρCqF + UpT h ρCqF + UpT h
UpT h UpT (Ts − T )
+ Ts′( s ) + H ′( s ) (8)
ρ Cq F + UpT
h ρ Cq F + UpT
h
ρCAT h ρC (TF − T )
[ AT s ] s + 1 T ′( s ) = AT s QF′ ( s )
ρCqF + UpT h ρCqF + UpT h
ρCAT h
Let τ =
ρCqF + UpT h
6-32
H ′( s ) 1 H ′( s ) 1 H ′( s )
= , =− , =0
QF′ ( s ) AT s Q′( s ) AT s Ts′ ( s )
UpT (Ts − T )
−
T ′( s ) ρCqF + UpT h
=
Q′( s ) ( AT s )( τs + 1)
UpT h
T ′( s ) ρCqF + UpT h
=
Ts′( s ) τs + 1
Note:
ρC (TF − T ) AT
τ2 = is the time constant in the numerator.
UpT (Ts − T )
Because TF − T < 0 (heating) and Ts − T > 0 , τ2 is negative.
−UpT h (Ts − T )
or ρC (TF − T ) =
qF
Substituting
hAT
τ2 = −
qF
V
Let V = hAT so that τ2 = − = − (initial residence time of tank)
qF
T ′( s ) T ′( s )
For and the “gain” in each transfer function is
QF′ ( s ) Q′( s )
6-33
Up (T − T )
K = T s
AT ( ρCqF + UpT h )
ρCqF (TF − T )
UpT (Ts − T ) = −
h
−ρCqFT (TF − T )
K=
hAT ( ρCqF + UpT h )
T − TF
or K =
Up h
V 1 + T
ρCqF
UpT h
(The ratio is dimensionless).
ρCqF
6-34
T − qF transfer function is second-order due to the interaction with liquid
level and has numerator dynamics since qF affects T directly as well if
TF ≠ T .
h − Ts : h stays constant.
6.22
Laplace transforming
6-35
From (4)
or
H 2' ( s ) 1 1
= = (6)
H1 ( s ) ρA2 Rs + 1 τ2 s + 1
'
where τ2 = ρA2 R
Returning to (3)
1 '
(τ1s + 1) − H1 ( s ) = RWi ( s )
'
(8)
τ 2 s + 1
or
Note that
R R 1 1
K= = = = (12)
τ1 + τ2 ρA1 R + ρA2 R ρ( A1 + A2 ) ρA
since A = A1 + A2
Also, let
6-36
τ1τ2 ρ2 R 2 A1 A2 ρRA1 A2
τs = = = (13)
τ1 + τ2 ρR( A1 + A2 ) A
so that
H1' ( s ) K (τ2 s + 1)
= (14)
Wi ' ( s ) s (τ3 s + 1)
and
K
= (15)
s (τ3 s + 1)
Transfer functions (6), (14) and (15) define the operation of the two-tank
process.
dh' 1 '
= wi (16)
dt ρA
H ' ( s ) 1/ ρA
= (17)
Wi ' ( s ) s
Again
1
K=
ρA
H ' ( s) K
= (18)
Wi ' ( s ) s
6-37
b) For A1 = A2 = A / 2
τ2 = ρAR / 2
(19)
τ3 = ρAR / 4
Thus τ2 = 2τ3
H 2' ( s ) K
=
Wi ( s ) s (τ3 s + 1)
'
Remarks:
For either A1 → 0 or A2 → 0 ,
ρRA1 A2
τ3 = →0
A
6-38
Thus the beneficial effect of the pole is lost as the process tends to
“look” more like the first-order process.
ρRA1 A2 ρRA1 ( A − A1 )
τ3 = =
A A
∂τ ρR
Find max τ3 : 3 = [ ( A − A1 ) + A1 (−1)]
∂A1 A
Set to 0: A − A1 − A1 = 0
2 A1 = A
A1 = A / 2
Thus the maximum filtering action is obtained when A1 = A2 = A / 2.
τ2 ρA2 R A
= =
τ3 ρ RA A
1 2 A1
A
τ
As A1 goes to 0, 2 → ∞
τ3
Summing up:
6-39
6.23
Y ( s) K
= G( s) =
U ( s) (0.1s + 1) (4 s 2 + 2 s + 1)
2
where K = K1K2
2ζτ = 2 → ζ = 0 .5
a) For the second-order process element with τ2 = 2 and this degree of
underdamping (ζ = 0.5) , the small time constant, critically damped 2nd-
order process element (τ1 = 0.1 ) will have little effect.
Ke −0.2 s
G (s) ≈
4s 2 + 2s + 1
− πζ
Overshoot = exp = 0.163
1− ζ2
c) From Fig. 5.4, ymax occurs at t/τ = 3K or tmax = 6.8 for underdamped 2nd-
order process with ζ = 0.5 .
d) By using Simulink-MATLAB
6-40
τ1 = 0.1
3.5
2.5
2
Output
1.5
0.5
0
Exact model
Approximate model
-0.5
0 5 10 15 20 25 30
Time
Fig S6.23a. Step response for exact and approximate model ; τ1 = 0.1
τ1 = 1
3.5
2.5
2
Output
1.5
0.5
0
Exact model
Approximate model
-0.5
0 5 10 15 20 25 30
Time
6-41
τ1 = 5
3.5
2.5
Output 2
1.5
0.5
0
Exact model
Approximate model
-0.5
0 5 10 15 20 25 30
Time
As noted in plots above, the smaller τ1 is, the better the quality of the
approximation. For large values of τ1 (on the order of the underdamped
element's time scale), the approximate model fails.
6.24
-0.2
-0.4
-0.6
Output
-0.8
-1
-1.2
-1.4
0 50 100 150 200 250 300 350 400
Time
6-42
The Simulink-MATLAB block diagram is shown below
-1
40s+1
Step Transfer Fcn Transport
Delay1= 30 s
Scope
-0.4
40s+1
Step1 Transfer Fcn1 Transport
Delay = 75 s
6-43