Chapter 4
Chapter 4
An algebraic expression
( ) ( )
( ) ( )
Y s y t
X s x t
]
]
]
]
=L
=L
Development of Transfer Functions
Example: Stirred Tank Heating System
C
h
a
p
t
e
r
4
Figure 2.3 Stirred-tank heating process with constant holdup, V.
C
h
a
p
t
e
r
4
Recall the previous dynamic model, assuming constant liquid
holdup and flow rates:
( )
(2-36)
i
dT
V C wC T T Q
dt
+
Suppose the process is initially at steady state:
( )
0 (2)
i
wC T T Q +
For new values of Q and T
i
, subtracting (2) from (2-36):
( ) ( ) ( )
(3)
i i
dT
V C wC T T T T Q Q
dt
]
+
]
C
h
a
p
t
e
r
4
which shows the dependence of T on Q and T
i
.
Thus,
( )
(4)
i
dT
V C wC T T Q
dt
+
Where are called
deviation variables.
, ,
i i i
T T T T T T Q Q Q
Take L of (4):
C
h
a
p
t
e
r
4
At the initial steady state, T(0) = 0.
( ) ( ) ( ) ( ) ( )
0 (5)
i
V C sT s T wC T s T s Q s
] ]
] ]
+
( ) ( ) ( )
1
(6)
1 1
i
K
T s Q s T s
s s
| ` | `
+
+ +
. , . ,
Rearrange (5) to solve for
C
h
a
p
t
e
r
4
where
1
and
V
K
wC w
(s) T (s) G (s) Q (s) (s)=G T
i
+
2 1
K = steady-state gain, = process time constant
G
1
, G
2
= transfer functions
(6)
The transfer functions G
1
and G
2
are independent of
the inputs, Q and T
i
.
Gain = G(s=0).
+ +
What is T(t)?
/
25
( ) 25[1 ] ( )
( 1)
t
T t e T s
s s
+
/ 2
( ) 25[1 ]
t
T t e
From line 13, Table 3.1
0.05 K C/(cal/sec) 2.0
sec
0.05
2 1
T Q
s
+
(s)
s
s Q t Q
500
) ( cal/sec 500 1500 2000 ) (
+ + + +
+ + +
K
K
Take L, assuming the initial conditions are all zero. Rearranging
gives the TF:
( )
( )
( )
0
0
(4-40)
m
i
i
i
n
i
i
i
b s
Y s
G s
U s
a s
C
h
a
p
t
e
r
4
The order of the TF is defined to be the order of the denominator
polynomial.
Note: The order of the TF is equal to the order of the ODE.
Definition:
Physical Realizability:
For any physical system, in (4-38). Otherwise, the
system response to a step input will be an impulse. This cant
happen.
Example:
n m
0 1 0
and step change in (4-41)
du
a y b b u u
dt
+
C
h
a
p
t
e
r
4
General 2nd order ODE:
Laplace Transform:
y=Ku
dt
dy
+b
dt
y d
a +
2
2
[ ] KU(s) Y(s) bs+ as + 1
2
( ) ( ) 1 1 1 ) (
) (
) (
2 1
2
+ +
+ +
s s
K
bs as
K
s U
s Y
s G
real roots
2
b
1
4a
>
imaginary roots
2
b
1
4a
<
C
h
a
p
t
e
r
4
2nd order process
K = overall steady state gain of the process
1
,
2
= two time constants
b a +
2 1 2 1
,
2 IMPORTANT properties of Transfer Functions
A. Multiplicative Rule
B. Additive Rule
C
h
a
p
t
e
r
4
Example 1:
Example 1:
Place sensor for temperature downstream from heated
tank (transport lag)
Distance L for plug flow,
Dead time
V = fluid velocity
Tank:
Sensor:
Overall transfer function:
1
1
1
K T(s)
G = =
U(s) 1+ s
V
L
s
2
s -
2 s
2
+ 1
e K
=
T(s)
(s) T
= G
) 1 )( 1 ( ) 1 )( 1 (
2 1
1
1
2 1
2 1
1 2
2
+ +
+ +
s s
e K
s s
e K K
G G
U
T
T
T
U
T
s
K
s
s s
C
h
a
p
t
e
r
4
) (
1 1
t u K T
dt
dT
+
) ( ) ( ), (
s 2 s
s
2
+ t T t T t T K T
dt
dT
C
h
a
p
t
e
r
4
Example 2: Example 2: Consider the system shown below. The
system consists of two liquid surge tanks in series so that
the outflow from the first tank is the inflow to the second
tank.
Equations (2.56) and (2.57) are valid for each tank.
For tank 1,
C
h
a
p
t
e
r
4
48) - (4
1
1
1
q q
dt
dh
A
i
1
1
1
1
h
R
q
(4 - 49)
1
1
1
1
h
R
q
Putting into deviation variable forms to (4-50) and (4-49) gives
(4 -52)
51) - (4
1
1
1
1
1
h
R
q
dt
h d
A
i
to
) (s Q
i
is found
by transforming (4-51) and rearranging to obtain
(4-53)
1 1 ) (
) (
1
1
1 1
1 1
+
s
K
s R A
R
s Q
s H
i
C
h
a
p
t
e
r
4
Similarly, the transfer function relating
) (
1
s Q
to
) (
1
s H
C
h
a
p
t
e
r
4
The same procedure leads to the corresponding transfer
functions for Tank 2,
(4-55)
(4.56)
1 1 ) (
) (
2
2
2 2
2
1
2
+
s
K
s R A
R
s Q
s H
2 2 2
2
1 1
) (
) (
K R s H
s Q
or
1
1
1
1
) (
) (
1
1
1 2
2
2
2
+ +
s
K
K s
K
K s Q
s Q
i
which can be simplified to give
( ) ( ) 1 1
1
) (
) (
2 1
2
+ +
s s s Q
s Q
i
(4-59)
(4-57)
(4-58)
Linearization of Nonlinear Models
) ( ) ( ) , ( ) , (
,
,
u u
u
f
y y
y
f
u y f u y f
u y
u y
+
u
u
f
y
y
f
dt
y d
s
s
nonlinear element
C
h
a
p
t
e
r
4
Figure 2.5
R
V
: line resistance
linear ODE : eq. (4-50)
h
R
q
V
1
...(4)
1
h
R
q
dt
dh
A
V
i
...(5) h C q
V
if
C
h
a
p
t
e
r
4
) a 5 ( h C q
dt
dh
A
V i
nonlinear ODE : eq. (4-74)
Substitute linearized expression of
(5) into (1):
The steady-state version of (6) is:
0 (7)
i v
q C h
1
(8)
i
dh
A q h
dt R
C
h
a
p
t
e
r
4
Linearize nonlinear term (5)
And substitute in (5a):
(6)
1
h
R
h C q
dt
dh
A
v i
(6) minus (7) and let , noting that gives the
linearized model:
dh dh
dt dt
i i i
q q q
( )
h
R
h C
h
h
C
h C
h h
h
C h C
h h
dh
dq
q
h C q
v
v
v
v v
h
v
+
+
,
`
.
|
+
,
`
.
|
+
1
2
1
2
1
) (
Conclusions
1
st
order process
2
nd
order process
Examples