Professional Documents
Culture Documents
CHEE319 Notes 2012 Lecture4 PDF
CHEE319 Notes 2012 Lecture4 PDF
of Dynamical Processes
1
Linear SISO Control Systems
General form of a linear SISO control system:
2
Transfer Function
Heated stirred-tank model (constant flow, )
or letting
Transfer functions
3
Transfer Function
Heated stirred tank example
+
+
e.g. The block is called the transfer function relating Q(s) to T(s)
4
Process Control
5
Transfer functions
Transfer functions are generally expressed as a ratio of
polynomials
Where
6
Transfer function
Order of underlying ODE is given by degree of
characteristic polynomial
e.g. First order processes
7
Transfer Function
Steady state behavior of the process obtained form the
final value theorem
e.g. First order process
This implies that the limit exists, i.e. that the system is stable.
8
Transfer function
Transfer function is the unit impulse response
9
Transfer Function
Unit impulse response of a 1st order process
10
Deviation Variables
To remove dependence on initial condition
e.g.
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 F
13
Transfer Functions
From mass balance and Newton’s law,
Linear or nonlinear?
14
Nonlinear ODEs
Q: If the model of the process is nonlinear, how do we
express it in terms of a transfer function?
f(x)
f(x0) !f
( x0 )
!x
x0
x
15
Nonlinear systems
First order Taylor series expansion
3. ODEs
16
Transfer Function
Procedure to obtain transfer function from nonlinear
process models
Find an equilibrium point of the system
Linearize about the steady-state
Express in terms of deviations variables about the steady-state
Take Laplace transform
Isolate outputs in Laplace domain
17
Block Diagrams
Transfer functions of complex systems can be represented
in block diagram form.
18
Block Diagrams
Transfer functions in series
19
Block Diagrams
Transfer functions in series (two first order systems)
20
Transfer Functions
DC Motor example:
In terms of angular velocity
21
Transfer Functions
Transfer function in parallel
22
Transfer Functions
Transfer function in parallel
23
Transfer Functions
Transfer functions in (negative) feedback form
24
Transfer Functions
Transfer functions in (positive) feedback form
25
Transfer Function
Example 3.20
26
Transfer Function
Example
27
Transfer Function
Example 3.20
28
Transfer Function
Example 3.20
29
Transfer Function
Example 3.20
30
Transfer Function
Example 3.20
31
First Order Systems
First order systems are systems whose dynamics are
described by the transfer function
where
32
First Order Systems
Examples,
Examples Liquid storage
Assume:
Incompressible flow
Outlet flow due to gravity
Balance equation:
Total
Flow In
Flow Out
33
First Order Systems
Balance equation:
Laplace transform
34
First Order Systems
Examples:
Examples Cruise control
DC Motor
35
First Order Systems
Speed of a car
DC Motor
37
First Order Systems
Step response
38
First Order Systems
What do we need?
System initially at equilibrium
Step input of magnitude M
Measure process gain from new steady-state
Measure time constant
39
First Order Systems
First order systems are also called systems with finite
settling time
The settling time is the time required for the system comes
within 5% of the total change and stays 5% for all times
40
First Order Systems
Settling time
41
First Order Systems
Process initially at equilibrium subject to a step of
magnitude 1
42
First order process
Ramp response:
4.5
4
3.5
2.5
1.5
1
0.5
0
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
43
First Order Systems
Sinusoidal response
Sinusoidal
2 input Asin(ωt)
1.5
0.5
AR
0
-0.5
-1 φ
-1.5
0 2 4 6 8 10 12 14 16 18 20
44
First Order Systems
0
Bode Plots
10
High Frequency
Corner Frequency Asymptote
-1
10
-2
10 -2 -1 0 1 2
10 10 10 10 10
0
-20
-40
-60
-80
-100 -2 -1 0 1 2
10 10 10 10 10
45
Integrating Systems
Example: Liquid storage tank
Fi
F
Laplace domain dynamics
46
Integrating Systems
Example
Capacitor
47
Integrating Systems
Step input of magnitude M
Output
Slope =
Input
Time Time
48
Integrating Systems
Output
Input
Time Time
49
Integrating Systems
Rectangular pulse response
Output
Input
Time Time
50
Second order Systems
Second order process:
Assume the general form
Underdamped
Critically Damped
Overdamped
51
Second Order Systems
Three types of second order process:
52
Second order Systems
Multicapacity Second Order Processes
Naturally arise from two first order processes in series
53
Transfer Functions
First order systems in parallel
54
Second Order Systems
Inherently second order process:
e.g. Pneumatic Valve
By Newton’s law
55
Second Order Systems
Feedback Control Systems
56
Second order Systems
Second order process:
Assume the general form
Underdamped
Critically Damped
Overdamped
57
Second Order Systems
Roots of the characteristic polynomial
58
Second Order Systems
Step response of magnitude M
2
ξ=0
1.8
1.6 ξ=0.2
1.4
1.2
1
0.8
0.6
ξ=2
0.4
0.2
0
0 1 2 3 4 5 6 7 8 9 59 10
Second Order Systems
Observations
60
Second Order Systems
Characteristics of underdamped second order process
1. Rise time,
2. Time to first peak,
3. Settling time,
4. Overshoot:
5. Decay ratio:
61
Second Order Systems
Step response
62
Second Order Systems
Sinusoidal Response
where
63
Second Order Systems
64
More Complicated Systems
Transfer function typically written as rational function of polynomials
s.t.
65
Poles and zeroes
Definitions:
the roots of are called the zeros of G(s)
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
MATLAB
-0.2500 - 0.4330i
68
Poles
Function PZMAP
» pzmap(sys) MATLAB
69
Poles
70
Poles
Step Response
71
Poles
Example
Poles
-1.0000
-0.0000 + 1.0000i
-0.0000 - 1.0000i
72
Poles
Step Response
Poles
-8.1569
-0.6564
-0.1868
74
Poles
Step Response
75
Poles
Example
Poles
-4.6858
0.3429 + 0.3096i
0.3429 - 0.3096i
76
Poles
Step Response
77
Poles
Two types of poles
slower decay
Fast poles
Poles that are further from the imaginary axis
Larger real part means larger exponential term and faster
decay
78
Poles
Poles dictate the stability of the process
Stable poles
Poles with negative real parts
Decaying exponential
Unstable poles
Poles with positive real parts
Increasing exponential
Marginally stable poles
Purely complex poles
Pure sinusoidal
79
Poles
Oscillatory Integrating
Behaviour Behaviour
Pure Exponential
Stable Unstable
Marginally
Stable
80
Poles
Example
Stable Poles
Unstable Poles
Fast Poles
Slow Poles
81
Poles and zeroes
Definitions:
the roots of are called the zeros of G(s)
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
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
-8.1569
-0.6564
-0.1868
Zeros
-10.000
85
Zeros
Poles and zeros
Dominant
Fast, Stable
Pole
Zero
86
Zeros
Unit step response:
Poles
-8.1569
-0.6564
-0.1868
Zeros
-0.1000
88
Zeros
Poles and zeros:
Slow (dominant)
Stable zero
89
Zeros
Unit step response:
Poles
-8.1569
-0.6564
-0.1868
Zeros
10.000
91
Zeros
Poles and Zeros
92
Zeros
Unit Step Response:
93
Zeros
Example
Poles
-8.1569
-0.6564
-0.1868
Zeros
0.1000
94
Zeros
Poles and zeros:
Slow
Unstable Zero
95
Zeros
Unit step response:
97
Zeros
Example: System with complex zeros
Dominant
Pole
Slow
Stable Zeros
98
Zeros
Poles and zeros
99
Zeros
Unit step response:
Zero at
Origin
101
Zeros
Unit step response
Observations:
Zero at the origin eliminates (or zeroes out) the system response
103
Delay
Fi
Control loop
105
Delay
Dead time (delay)
106
Step response of a first order plus dead time process
Delay
Delayed step response:
107
Delay
Problem
use of the dead time approximation makes analysis (poles and
zeros) more difficult
108
Pade Approximations
In general Pade approximations do not approximate dead-time very
well
109
Pade Approximations
Step response of Pade Approximation