of Dynamical Processes
Transfer Function
or letting
Transfer functions
3
Transfer Function
+
+
Process Control
Time Domain
Laplace Domain
Process Modeling,
Experimentation and
Implementation
Transfer function
Modeling, Controller
Design and Analysis
Transfer functions
Where
The polynomial
Roots of
Roots of
Transfer function
Order of underlying ODE is given by degree of
characteristic polynomial
e.g. First order processes
Transfer Function
is
This implies that the limit exists, i.e. that the system is stable.
Transfer function
Transfer Function
10
Deviation Variables
To remove dependence on initial condition
e.g.
and
or
11
Deviation Variables
Assume that we start at equilibrium
Procedure
Find steady-state
Write steady-state equation
Subtract from linear ODE
Define deviation variables and their derivatives if required
Substitute to re-express ODE in terms of deviation variables
12
Process Modeling
Gravity tank
Fo
h
Objectives: height of liquid in tank
Fundamental quantity: Mass, momentum
Assumptions:
F
L
13
Transfer Functions
From mass balance and Newtons law,
14
Nonlinear ODEs
Q: If the model of the process is nonlinear, how do we
express it in terms of a transfer function?
A: We have to approximate it by a linear one (i.e.Linearize)
in order to take the Laplace.
f(x)
f(x0)
!f
( x0 )
!x
x0
15
Nonlinear systems
3. ODEs
16
Transfer Function
17
Block Diagrams
18
Block Diagrams
19
Block Diagrams
20
Transfer Functions
DC Motor example:
In terms of angular velocity
21
Transfer Functions
+
+
22
Transfer Functions
+
+
23
Transfer Functions
24
Transfer Functions
25
Transfer Function
Example 3.20
26
Transfer Function
Example
27
Transfer Function
Example 3.20
Transfer Function
Example 3.20
29
Transfer Function
Example 3.20
30
Transfer Function
Example 3.20
31
where
Assume:
Incompressible flow
Outlet flow due to gravity
Balance equation:
Total
Flow In
Flow Out
33
Balance equation:
Laplace transform
DC Motor
35
36
is given by
37
Step response
38
What do we need?
System initially at equilibrium
Step input of magnitude M
Measure process gain from new steady-state
Measure time constant
39
40
Settling time
41
42
0.5
1.5
2.5
3.5
4.5
43
Sinusoidal
input Asin(t)
2
1.5
1
AR
0.5
0
-0.5
-1
-1.5
10
12
14
16
18
20
44
10
10
Bode Plots
High Frequency
Asymptote
Corner Frequency
-1
-2
10
-2
10
-1
10
10
10
0
-20
-40
-60
-80
-100
10
-2
10
-1
Amplitude Ratio
10
10
10
Phase Shift
45
Integrating Systems
Example: Liquid storage tank
Fi
h
F
Laplace domain dynamics
46
Integrating Systems
Example
Capacitor
47
Integrating Systems
Output
Input
Time
Slope =
Time
48
Integrating Systems
Output
Input
Time
Time
49
Integrating Systems
Output
Input
Time
Time
50
where
51
52
53
Transfer Functions
+
+
54
By Newtons law
p
x
55
56
where
57
Case 1)
Case 2)
Case 3)
=0
1.8
=0.2
1.6
1.4
1.2
1
0.8
0.6
=2
0.4
0.2
0
9 59
10
when
Systems with
As
(with
oscillatory
60
5. Decay ratio:
61
Step response
62
Sinusoidal Response
where
63
64
where
and
can be factored following the discussion on partial
fraction expansion
s.t.
where
and
the roots of
If any
in
Poles
e.g. A transfer function of the form
with
Poles
e.g.
s=tf(s);
sys=1/s/(s+1)/(4*s^2+2*s+1);
Transfer function:
1
------------------------4 s^4 + 6 s^3 + 3 s^2 + s
pole(sys)
ans =
0
-1.0000
-0.2500 + 0.4330i
-0.2500 - 0.4330i
MATLAB
68
Poles
Function PZMAP
pzmap(sys)
MATLAB
69
Poles
70
Poles
Step Response
Poles
Example
Poles
-1.0000
-0.0000 + 1.0000i
-0.0000 - 1.0000i
72
Poles
Step Response
Poles
Example
Poles
-8.1569
-0.6564
-0.1868
74
Poles
Step Response
Slowest exponential (
) dominates the dynamic
feature (yields a time constant of 1/0.1868= 5.35 s
75
Poles
Example
Poles
-4.6858
0.3429 + 0.3096i
0.3429 - 0.3096i
One negative real root
Complex conjuguate roots with positive real part
The system is unstable (grows without bound)
76
Poles
Step Response
77
Poles
78
Poles
79
Poles
Oscillatory
Behaviour
Integrating
Behaviour
Pure Exponential
Stable
Unstable
Marginally
Stable
80
Poles
Example
Stable Poles
Unstable Poles
Fast Poles
Slow Poles
81
the roots of
Zeros:
Do not affect the stability of the system but can modify the dynamical
behaviour
82
Zeros
Types of zeros:
Slow zeros are closer to the imaginary axis than the dominant poles of the
transfer function
Affect the behaviour
Results in overshoot (or undershoot)
Fast zeros are further away to the imaginary axis
have a negligible impact on dynamics
Zeros with negative real parts,
Slow stable zeros lead to overshoot
83
Zeros
Can result from two processes in parallel
+
+
If gains are of opposite signs and time constants are different then a right half
plane zero occurs
84
Zeros
Example
Poles
Zeros
-8.1569
-0.6564
-0.1868
-10.000
85
Zeros
Fast, Stable
Zero
Dominant
Pole
86
Zeros
Zeros
Example
Poles
Zeros
-8.1569
-0.6564
-0.1868
-0.1000
88
Zeros
Slow (dominant)
Stable zero
89
Zeros
Zeros
Example
Poles
Zeros
-8.1569
-0.6564
-0.1868
10.000
91
Zeros
Dominant
Pole
Fast Unstable
Zero
92
Zeros
Zeros
Example
Poles
Zeros
-8.1569
-0.6564
-0.1868
0.1000
94
Zeros
Slow
Unstable Zero
95
Zeros
96
Zeros
Observations:
Adding a stable zero to an overdamped system yields overshoot
Adding an unstable zero to an overdamped system yields
undershoot (inverse response)
Inverse response is observed when the zeros lie in right half
complex plane,
Overshoot or undershoot are observed when the zero is dominant
(closer to the imaginary axis than dominant poles)
97
Zeros
Dominant
Pole
Slow
Stable Zeros
98
Zeros
99
Zeros
Zeros
Zero at
Origin
101
Zeros
Zeros
Observations:
Complex (stable/unstable) zero that is dominant yields an
(overshoot/undershoot)
Complex slow zero can introduce oscillatory behaviour
Zero at the origin eliminates (or zeroes out) the system response
103
Delay
Fi
Control loop
h
Delay
Delayed transfer functions
105
Delay
106
Delay
107
Delay
Problem
use of the dead time approximation makes analysis (poles and
zeros) more difficult
108
Pade Approximations
109
Pade Approximations