Vous êtes sur la page 1sur 26

Process Control

CHAPTER IV
INPUT-OUTPUT MODELS AND
TRANSFER FUNCTIONS

Transfer Functions
Control systems are based on a single output
and a few input variables. For this reason
solution of model equation for all input
variables is usually not required.
We need a method for compressing the
model
For linear dynamic models used in process
control, its possible to eliminate intermediate
variables analytically to yield an input-output
model.

The Transfer Function, is an algebraic
expression for the dynamic relation
between a selected input and output
of the process model. A transfer
function can only be derived only for a
linear differential equation model
because Laplace transforms can be
applied only to linear equations.
The transfer function is a model, based on,
Laplace transform of output variable y(t),
divided by the Laplace transform of the
input variable with all initial conditions
being equal to zero.

0 ) ( , 0 ) ( ,
) (
) (
) ( = = = s X s Y
s X
s Y
s G
The assumptions of y(0)=0 and x(0)=0 are
easy to be achieved by expressing the
variables in the transfer function as deviations
from the initial conditions.
Thus all transfer functions involve variables
that are expressed as deviations from an initial
steady state.
Deviation variables; difference between variables
and their steady state values.

s s
Y Y Y X X X =
'
=
'
,
Example:
In the mixing tank system the following function
was obtained. Evaluate the transfer function.

|

1
1
) (
) (
) (
) ( ) 1 )( (
) ( ) ( ) (
)) ( ) ( ( ) (
)) ( ) ( ( ) 0 ( ) (
) (
0 ) (
+
= =
= +
= +
=
=
(
(

=
=
=
s s C
s C
s G
s C s s C
s C s C s sC
q
V
s C s C q s VsC
s C s C q C s sC V
C C q
dt
dC
V
i
i
i
i
i
t C
i
o t
t
t
t

q,
C
i

q,C
Example:
Consider the blending system with two input units.

) ( ) (
) ( ) (
) (
) (
) (
) (
2
2
1
1
2 2 1 1
2 2 1 1 2 1
2 2 1 1 2 1
2 2 1 1
) (
2 2 1 1
2 1
2 1
x x
V
w
x x
V
w
dt
dx
x x w x x w
dt
dx
V
wx x w x w xw xw xw
dt
dx
V
wx x w x w w w w x
dt
dx
V
wx x w x w
dt
dV
x
dt
dx
V
dt
Vx d
wx x w x w
dt
x V d
w w w
dt
V d
w w w x
+ =
+ =
+ = + +
+ = + +
+ = + =
+ =
+ =
+


Output:x
Inputs:x
1
,x
2
,w
1
,w
2
One input-one output ?

Assumptions:
1. Both feed and output compositions are dilute
(x
1
<x < <1)
2. Feed flow rate w
1
is constant ( )
3. Stream 2 is pure material A, x
2
=1
4. Process is initially at steady-state,

Since x
1
and x are very small, required flow
rate of pure component w
2
will be also small.
w
1
=w=constant


1 1
w w =
x w w x w + = ) 1 ( 0
2 1 1
2 1
w wx wx
dt
dx
V + =
In the definition of transfer function it was
indicated that input and output variables
should be zero at the initial conditions. In this
example, the variables have initial steady
state values different than zero. In order to
define deviation variables we should subtract
steady state equation from the general
equation.
at steady state;
0
2 1
= + x w w x w
Subtracting steady state equation from general equation gives;

x w
w
x
dt
x d
w
V
w w w x x x x x x
x x w w
w
x x
dt
x x d
w
V
x w x w w w x w x w
dt
x x d
V
x x w w w x x w
dt
x x d
V
'

'
+
'
=
'
=
'
=
'
=
'
+ =

+ =

+ =

2 1
2 2 2 1 1 1
2 2 1 1
2 2 1 1
2 2 1 1
1
, ,
) ( ) (
1
) (
) (
) (
) ( ) ( ) (
) (
t

dividing both sides with gives


w
defining the deviation variables;
t
: Time Constant
It is an indication of the speed of response of the
process. Large values of mean a slow process
response, whereas small values of mean a fast
response.
K : Steady-state gain
The transfer function which relates change in input to
change of output at steady state conditions.
The steady state gain can be evaluated by setting s
to zero in the transfer function.

0 ) ( ,
1
) (
) (
) (
0 ) ( ,
1
1
) (
) (
) (
) (
1
1
) (
1
1
) (
) ( ) ( ) 1 )( (
) ( ) ( )) 0 ( ) ( (
1 2
2
2 1
1
2 1
2 1
2 1
2 1
=
'
+
= =
'
'
=
'
+
= =
'
'
'
|
.
|

\
|
+
+
'
|
.
|

\
|
+
=
'
'
+
'
= +
'
'

'
+
'
=
'

'
'

'
+
'
=
'
s X
s
K
s G
s W
s X
s W
s
s G
s X
s X
s W K
s
s X
s
s X
s W K s X s s X
s X W K s X X s X s
x w K x
dt
x d
t
t
t t
t
t
t
In transfer functions there can be a single output and a single output.
However, in this equation there exists two inputs.
Properties of Transfer Functions
1. By using transfer functions the steady state output
change for a change in input can be calculated directly.
(i.e., simply setting s0 in transfer function gives the
steady state gain.
2. In any transfer function order of the denominator
polynomial is the same as the order of the equivalent
differential equation.

0
1
1
0
1
1
0
0
0 1
1
1
1
0 1
1
1
1
.........
.........
) (
) (
) (
.........
..........
a s a s a
b s b s b
s a
s b
s U
s Y
s G
u b
dt
du
b
dt
u d
b
dt
u d
b
y a
dt
dy
a
dt
d
a
dt
y d
a
n
n
n
n
m
m
m
m
n
i
i
i
m
i
i
i
m
m
m
m
m
m
n
n
n
n
n
n
+ + +
+ + +
= = =
+ + + +
= + + + +

=
=

st.st. gain is obtained by setting s to zero, therefore b


0
/a
0

3. Transfer functions have additive property.



Y(s)
U
1
(s)
U
2
(s)
G
1
(s)
G
2
(s)
U
3
(s)
U
4
(s)
) ( ) ( ) ( ) ( ) (
) ( ) ( ) (
2 2 1 1
4 3
s U s G s U s G s Y
s U s U s Y
+ =
+ =
X
3
(s)
G
1
(s)
G
2
(s)
X
1
(s)
X
2
(s)
X
0
(s)
) ( ) (
) (
) (
)) ( ) ( )( ( ) (
) ( ) ( ) ( ) ( ) (
) ( ) ( ) (
2 1
0
3
2 1 0 3
0 2 0 1 3
2 1 3
s G s G
s X
s X
s G s G s X s X
s X s G s X s G s X
s X s X s X
+ =
+ =
+ =
+ =
4. Transfer functions also have
multiplicative property.


G
1
(s) G
2
(s)
U(s)
Y
1
(s)
Y
2
(s)
) ( ) ( ) ( ) ( ) ( ) (
1 2 1 2 2
s U s G s G s Y s G s Y = =
! Always from right to left
q
i

q
R
A
h
R
h
q
dt
dh
A
R
h
q
h A V
dt
V d
q q
i
i
=
=
= = . ,
) (

Example:
Consider two liquid surge tanks that are placed in
series so that the output from the first tank is an
input to the second tank. If the outlet flow rate
from each tank is linearly related to the height of
the liquid (head) in that tank, find the transfer
function relating changes in flow rate from the
second tank to changes in flow rate into the first
tank.
q
i

q
1

q
2

R
1

R
2

A
1

A
2

h
1

h
2

1
1
1
,
, 1 1 1
1
1
i 1
1
, 1
, 1
, 1
1
s i,
1
1
1
1
1
1
1
1
1
q 0
eqn.2 q
1 eqn.
1
R
h
q
q q q
h h h
h
R
q
dt
h d
A
R
h
q
h
R
R
h
h
R
q
dt
dh
A
s i i i
s
s
s
s
i
'
=
'
=
'
=
'
'

'
=
'
=
=
=
=
for tank 1
in order to convert variables into deviation variable form, steady state equations for
eqn 1 and 2 should be written;
subtracting st.st. equations from general equation gives;
where
1 1
1
1
1
1
1
1 1
1
1
1
1 1 1
1 1 1 1
1
1 1 1 1
1
1
1 1
1
1
0
1 1 1
1
1
i 1
1 1
) (
) (
1 1 ) (
) (
2 ,
) (
) (
) ( ) 1 )( (
) ( 1 ( ) (
) (
) ( ) (
) ( ) (
1
) (
) (
1
) ( ) ) 0 ( ) ( (
1
1
K R
s H
s Q
s
K
s
R
s Q
s H
eqn
R
s H
s Q
s Q R s s H
s Q R s R A s H
s Q
R
s H s sH R A
s Q s H
R
s sH A
s H
R
s Q H s sH A
h
R
q
dt
h d
A
i
i
i
i
i
i
= =
'
'
+
=
+
=
'
'
=
'
'
= +
'
'
=
(
(

+
'
'
=
'
+
'
'
=
'
+
'
'

'
=
'

'
'

'
=
'

t t
t
t


taking Laplace transform of eqns 1 and 2 gives;
these two transfer functions give information
about;
input:Q
i,
output;H
1

and
input:H
1,
output:Q
1
however, relationship between Q
2
and Q
i
is
required

) 1 )( 1 (
1
) (
) (
) (
) (
.
) (
) (
.
) (
) (
.
) (
) (
) (
) (
1 1
) (
) (
1 1
) (
) (
2 1
2
1
1
1
1
2
2
2 2
2 2
2
2
2
2
2 2
2
1
2
2
+ +
=
'
'
'
'
'
'
'
'
'
'
=
'
'
= =
'
'
+
=
+
=
'
'
s s
s Q
s Q
s Q
s H
s H
s Q
s Q
s H
s H
s Q
s Q
s Q
K R
s H
s Q
s
K
s R A
R
s Q
s H
i
i i
t t
t
t
for tank 2
required ;
for interacting systems;
q
i

q
1

q
2

R
1
R
2

A
1

A
2

h
1
h
2

2
2
2
2 1
1
1
2
2 2 1
1
1 1
) (
1
R
h
q
h h
R
q
dt
dh
A q q
dt
dh
A q q
i
=
=
=
=
s
s
s
s
s i i i
s
s
s s s
s s
s s i
h h h
h h h
q q q
q q q
q q q
R
h
q
h h
R
q
q q
q q
, 2 2 2
, 1 1 1
, 2 2 2
, 1 1 1
,
2
, 2
, 2
, 2 , 1
1
, 1
, 2 , 1
, 1 ,
) (
1
0
0
=
'
=
'
=
'
=
'
=
'
=
=
=
=
at st.st.
deviation variables
2
2
2
2 1
1
1
0
2 2 2 2 1
0
1 1 1 1
2
2
2
2 1
1
1
2
2 2 1
1
1 1
) (
) (
)) ( ) ( (
1
) (
) ) 0 ( ) ( ( ) ( ) (
) ) 0 ( ) ( ( ) ( ) (
) (
1
R
s H
s Q
s H s H
R
s Q
H s sH A s Q s Q
H s sH A s Q s Q
R
h
q
h h
R
q
dt
dh
A q q
dt
dh
A q q
i
i
'
=
'
'

'
=
'
'

'
=
'

'
'

'
=
'

'
'
=
'
'

'
=
'
'
=
'

'
'
=
'

'



taking the Laplace transform of the equations;


) (
2
2
2 2 1
2 1 1 1 1 1
) (
2 1 1 1 1
1
2 1
2
1
) (
) ( ) (
) ( ) ( ) ( ) (
) ) ( ) ( ( ) ( ) (
) (
) (
.
) (
) (
s Q
i
s H
i
i
R
s H
s sH A s Q
s sH A s Q sR A s Q s Q
s H s Q R s A s Q s Q
s Q
s H
s Q
s Q
'
'
'
+
'
=
'
'
+
'
=
'

'
'
+
'
=
'

'
'
'
'
'

s s R A s s
s Q
s Q
s s R A s s
R
s Q
s H
R
s R A s R A s R A s R A s R A
s H s Q
s sH A
R
s H
s sH A s sH sA R A
R
s H
s R A s Q
s sH A
R
s H
s sH A s sH A
R
s H
s R A s Q
i
i
i
i
i
2 2 1
2
2 1 1
2
2 2 1
2
2 1 1
2 2
2
2 2 2 1 2 2 1 1 1 1
2
2 2
2
2
2 1 2 2 1 1
2
2
1 1
2 2
2
2
2 1 2 2
2
2
1 1
1
1
) (
) (
1
) (
) (
1
) ( ) (
) (
) (
) ( ) (
) (
) (
) (
) (
) ( ) (
) (
) (
2 2 1 1
t t t t
t t t t
t t t t
+ + + +
=
'
'
+ + + +
=
'
'
(
(
(

+ + + +
'
=
'
'
+
'
+
'
+
'
+
'
=
'
(
(

'
+
'
+
'
+
(
(

'
+
'
=
'

Vous aimerez peut-être aussi