Professional Documents
Culture Documents
Chap4 - 1 - Transfer Functions
Chap4 - 1 - Transfer Functions
x t y t
system
X s Y s
input output
“cause” “effect”
Process Control 2
Definition of the transfer function:
Let G(s) denote the transfer function between an input, x,
and an output, y. Then, by definition
Y s
G s
X s
where:
Y s L y t
X s L x t
Process Control 3
Development of Transfer Functions
Ti
wi
T
V w
Q
Heater
Process Control 4
Recall the previous dynamic model, assuming constant
liquid holdup and flow rates:
dT
V C wC Ti T Q (1)
dt
Suppose the process is initially at steady state:
T 0 T , Ti 0 Ti , Q 0 Q 2
where T is the steady-state value of T, etc. For steady-
state conditions:
0 wC Ti T Q (3)
Process Control 5
dT d T T
But, because T is a constant (5)
dt dt
T T T , Ti Ti Ti , Q Q Q (7)
Take L of (6):
V C sT s T t 0 wC Ti s T s Q s (8)
Process Control 6
By definition,T T T . Thus at time, t = 0,
T 0 T 0 T (9)
But since our assumed initial condition was that the
process was initially at steady state, i.e., T 0 T it
follows from (9) that T 0 0.
Note: The advantage of using deviation variables is that
the initial condition term becomes zero. This simplifies
the later analysis. Rearrange (8) to solve for
V C. sT s wC. T s wC . Ti s Q s
T s [V C. s wC ] wC . Ti s Q s ,
T s :
divide by ( wC )
V 1
T s [ s 1] Ti s Q s
w wC
Process Control 7
1
V 1 wC
T s [ s 1] Ti s Q s
w V V
s 1 s 1
w w
K 1
T s Q s Ti s (10)
s 1 s 1
1 V
where two new symbols are defined: K and
wC w
Transfer Function Between QandT
Suppose Ti is constant at the steady-state value. Then,
Ti t Ti Ti t 0 Ti s 0. Then we can substitute into
(10) and rearrange to get the desired TF:
1st T s K
order (12)
TF Q s s 1
Process Control 8
Transfer Function Between T and Ti :
Suppose that Q is constant at its steady-state value:
Q t Q Q t 0 Q s 0
Thus, rearranging
T s 1
(13)
Ti s s 1
Comments:
1.The TFs in (12) and (13) show the individual effects of Q
and Ti on T. What about simultaneous changes in both
Q and Ti ?
Process Control 9
• Answer: See (10). The same TFs are valid for
simultaneous changes.
Process Control 10
Properties of Transfer Function Models
y2 y1
K (14)
u2 u1
Process Control 11
Calculation of K from the TF Model:
If a TF model has a steady-state gain K, then:
1
K lim sY ( s) lim sU ( s )G ( s) lim s G ( s ) lim G ( s )
s 0 s 0 s 0 s s 0
Process Control 12
2. Order of a TF Model
Consider a general n-th order, linear ODE:
dny dy n 1 dy
an an 1 a1 a0 y
dt n
dt n1 dt
d mu d m1u du
bm m
bm1 m1
b1 b0u (16)
dt dt dt
Take L, assuming the initial conditions are all zero.
Rearranging gives the TF:
m
Y s
i
b s i
G s i 0
(17)
U s n
i
a s i
i 0
Process Control 13
Definition:
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.
Physical Realizability:
For any physical system, n m in (16). Otherwise, the
system response to a step input will be an impulse. This
can’t happen.
du
Example: a0 y b1 b0u and step change in u (18)
1
dt
Y (s ) [b sU(s) b0 U(s)]
a0 1
Y (s ) 1 b b
G (s ) (b1s b0 ) 1 s 0
U (s ) a 0 a0 a0
b b 1 b1 b0
Assuming a unit step input: Y (s ) G (s )U(s) ( 1 s 0 ) y (t ) (t )
a0 a0 s a0 a0
Process Control 14
3. Additive Property
Suppose that an output is influenced by two inputs and
that the transfer functions are known:
Y s Y s
G1 s and G2 s
U1 s U2 s
Y s G1 s U1 s G2 s U 2 s
The graphical representation (or block diagram)
is:
U1(s) G1(s)
Y(s)
U2(s) G2(s)
Process Control 15
4. Multiplicative Property
Suppose that,
U 2 s Y s
G1 s and G 2 s
U 1 s U 2 s
Then,
U 2 s G1 s U 1 s and Y s G 2 s U 2 s
Substitute,
Y s G1 s G 2 s U 1 s
Or,
Y s
G1 s G 2 s U 1 s G1 s G 2 s Y s
U 1 s
Process Control 16
Exercise: non-interacting tanks
Process Control 17
Exercise: non-interacting tanks
Process Control 18
Tank 1 Tank 2
1 1
A1sH 1' (s ) Q (s ) H 1' (s )
' A 2sH 2' (s ) Q1' (s ) H 2' (s )
R1 R2
1 ' 1
A1sH 1' (s ) H 1 (s ) Q ' (s ) A 2sH 2' (s ) H 2' (s ) Q1' (s )
R1 R2
1 1 1 1 '
sH 1' (s ) H 1' (s ) Q ' (s ) sH 2' (s ) H 2' (s ) Q1 (s )
A1R1 A1 A2R 2 A2
1 1 ' 1 1 '
[s
H 1' (s ) ] Q (s ) [s
H 2' (s ) ] Q1 (s )
A1R1 A1 A2R 2 A2
H 1' (s ) R1 K1 H 2' (s ) R2 K2
Q (s ) A1R1s 1 1s 1
'
Q1 (s ) A 2 R 2s 1 2s 1
'
Process Control 19
Exercise: non-interacting tanks
G1
G2
G4
G3
Q’(s)
G1 (s ) G 2 (s ) G 3 (s ) G 4 (s )
Process Control 20
Exercise: non-interacting tanks
H 2' (s )
R2 K2
G 3 (s ) '
Q1 (s ) A 2 R 2s 1 2s 1
Q 2' (s )
1 1
G 4 (s ) '
H 2 (s ) R 2 K 2
Q’(s)
1
q1 h1 h2
R1
22
Effect of Interaction
Effective time const.:
1
1
Non-Interacting: 2
1 2.62
6.9
Interacting: 2 0.38
Process Control 23
Linearization of Nonlinear Models
• So far, we have emphasized linear models which can be
transformed into TF models.
• But most physical processes and physical models are
nonlinear.
- But over a small range of operating conditions, the
behavior may be approximately linear.
- Linear approximations can be useful, especially for
purpose of analysis.
• Approximate linear models can be obtained analytically
by a method called “linearization”. It is based on a Taylor
series expansion of a nonlinear function about a specified
operating point.
Process Control 24
Basis of Linearization
For the Ordinary Differential Equation f(x)
dx df
f (a ) f (x )
f (x ) dx a x
dt
df
f (x ) f (a ) (x a )
dx
0 x a
dx df (a )
f (x ) f (a ) (x a )
dt dt
Using perturbation variables
dx df dx df
f (x ) (x x ) x
dt dx x dt dx x
Process Control 25
Consider a nonlinear, dynamic model relating two process
variables, u and y:
dy
f y ,u (19)
dt
Perform a Taylor Series Expansion about u u and y y
and truncate after the first order terms,
f f
f u, y f u , y u y (20)
u y ,u y y ,u
where u u u and y y y . Note that the partial
derivative terms are actually constants because they have
been evaluated at the nominal operating point, u , y .
Substitute (20) into (19) gives:
dy f f
f u , y u y (21)
dt u y ,u y y ,u
Process Control 26
The steady-state version of (19) is:
0 f u , y
dy dy
Substitute into (21) and recall that ,
dt dt
Linearized dy f f
u y (4-62)
model dt u y ,u y y ,u qi
Process Control 27
Method (1): Linearizing the whole ODE
dh f f dh
q i' h '
a11q i' a12 h '
dt q i h ,q i h h ,q i dt
f 1 f Cv
a11 , a12
q i h ,q i A h h ,q i 2A h
dh 1 Cv
qi h
dt A 2A h
dh 1 1 CV
A qi h
where
dt R R 2 h
Process Control 28
Method (2): Linearizing the nonlinear terms only
d( h) 1
h h
dh
h h h h h (4)
h 2 h
Or 1
h h (5)
where: 2 h
h h h
Process Control 29
Substitute linearized expression (5) into (3):
dh 1
A q i Cv h h (6)
dt 2 h
The steady-state version of (3) is:
0 qi Cv h (7)
dh dh
Subtract (7) from (6) and let qi qi qi , noting that
gives the linearized model: dt dt
dh 1
A qi h
(8)
dt R
1 CV
where
R 2 h
Process Control 30
Examples
E /RT k (T )
Linearize k (T ) Ae k (T ) (T T )
T T
E /RT E
k (T ) Ae T T
RT 2
Ek (T )
k (T ) T T
RT 2
E
k (T ) 1 T T
RT 2
Linearize y=xz
y y
y y(x , z )
x
x x z z z
y y
x z z x x x z z
Process Control 31
Summary:
In order to linearize a nonlinear, dynamic model:
Process Control 32
Exercise
Process Control 33
Linearizing a non-isothermal CSTR
Assuming :
V : constant
Tw : constant
and ρ , Cp : constant
dC A E /RT
V F (C Ao C A ) V e CA
dt
dT E /RT
C pV C p F (To T ) H rnV e C A UA(Tw T )
dt
The only nonlinear term is: eE /RTC A
E/RT E/RT
d CAe d CAe
CAe
E/RT
CAe
E/RT
dT
T
,CA
T T
dCA
T,CA
C
A
CA
e
E/RT E E/RT
CA 2 e
RT
CA T T e
E/RT
CA CA
dC A F '
(C Ao C A ) [a 0 a1 (T T ) a 3 (C A C A )]
dt V
dT F ' H rn UA
(To T )
'
[a 0 a1 (T T ) a 3 (C A C A )] (Tw' T ' )
dt V C p C pV
Example:
Consider a CSTR example with a second order
reaction.
C A2 C A2 2C A (C A C A )
The linearized model equation is obtained as;
dC A
V F (C A0 C A ) VkC A2 2VkC A (C A C A )
dt
Assignment
P-4.5
P-4.10
P-4.13
P-4-17
Process Control 38
Derivation of exit flow relation
Bernoulli's principle states that:
Point “A”
where v is fluid speed, g is the gravitational acceleration z1=h
p1=1 atm
(9.81 m/s2), z is the fluid's height above a reference point “B”, p v1=0
With a pipe cross sectional area of (a), the exit flowrate is given as:
Qout av a 2g h
k h
Process Control 39