Frequency Response Analysis & Control System Design: CHME 624 Advance Process Dynamic Modelling & Control
Frequency Response Analysis & Control System Design: CHME 624 Advance Process Dynamic Modelling & Control
Frequency Response Analysis & Control System Design: CHME 624 Advance Process Dynamic Modelling & Control
For a first-order transfer function with gain K and time constant τ , the response to a
general sinusoidal input, x ( t ) = A sin ωt is:
y (t ) =
KA
2 2
ω τ +1
( ωτe −t / τ
− ωτ cos ωt + sin ωt ) (5-25)
Note that y(t) and x(t) are in deviation form. The long-time response, yl(t),
can be written as:
KA
yl ( t ) = sin ( ωt + φ ) for t → ∞ (13-1)
2 2
ω τ +1
where:
φ = − tan −1 ( ωτ )
32
1
Attenuation and time shift between input and output sine waves (K= 1). The
phase angle φ of the output signal is given by:
𝜙 = − (time shift⁄P) × 360 , where Δt is the (period) shift and P is the period of
oscillation.
33
2
Dividing both sides by the input signal amplitude A yields the
amplitude ratio (AR)
Aˆ K
AR = = (13-3a)
A ω2 τ 2 + 1
1
AR N = (13-3b)
ω2 τ 2 + 1
35
36
3
Example 14.1 : Find the frequency response of a first-order system, with
1
G (s) = (13-16)
τs + 1
Solution
First, substitute s = jω in the transfer function
1 1
G ( jω ) = = (13-17)
τjω + 1 jωτ + 1
Then multiply both numerator and denominator by the complex
conjugate of the denominator, that is, − jωτ + 1
− jωτ + 1 − jωτ + 1
G ( jω ) = = 2 2
( jωτ + 1)( − jωτ + 1) ω τ + 1
=
1
+j
( −ωτ ) = R + jI (13-18)
2 2
ω τ +1 ω2 τ 2 + 1
37
1
where: R= 2 2
(13-19a)
ω τ +1
−ωτ
I= (13-19b)
ω2 τ 2 + 1
From Step 3 of the Shortcut Method,
2 2
2 1 2 −ωτ
AR = R + I = 2 2 + 2 2
ω τ +1 ω τ +1
or
AR =
(1 + ω2τ2 ) = 1
(13-20a)
( ω2τ2 + 1)
2 2 2
ω τ +1
Also,
I
φ = tan −1 = tan −1 ( −ωτ ) = − tan −1 ( ωτ ) (13-20b)
R
38
4
Complex Transfer Functions
Consider a complex transfer G(s),
G ( s ) Gb ( s ) Gc ( s )L
G (s) = a (13-22)
G1 ( s ) G2 ( s ) G3 ( s )L
Substitute s=jω,
G ( jω ) Gb ( jω ) Gc ( jω )L
G ( jω ) = a (13-23)
G1 ( jω ) G2 ( jω ) G3 ( jω )L
Bode Diagrams
• A special graph, called the Bode diagram or Bode plot, provides a convenient
display of the frequency response characteristics of a transfer function model. It
consists of plots of AR and φ as a function of ω.
• Ordinarily, ω is expressed in units of radians/time.
5
Bode diagram for a first-order process.
41
1
AR N ( ω = ωb ) = = 0.707 (13-30)
1+1
ϕ(ωb) = −tan-1 (1) = -45o
AR d = 20 log AR (13-33)
42
6
Integrating Elements
The transfer function for an integrating element:
Y (s) K
G (s) = = (5-34)
U (s) s
K K
AR = G ( jω ) = = (13-34)
jω ω
φ = ∠G ( jω ) = ∠K − ∠ ( ∞ ) = −90o (13-35)
Second-Order Process
A general transfer function that describes any under-damped, critically damped, or
over-damped second-order system is
K
G (s) = 2 2 (13-40)
τ s + 2ζτs + 1
Substituting s = jω and rearranging yields:
43
K − 2ωτζ
AR = and ϕ = tan -1 2 2
(1 − ω τ ) + (2ωτζ )
2 2 2 2 1− ω τ
7
Time Delay
Its frequency response characteristics can be obtained by substituting s = jω
G ( jω ) = e − jωθ (13-53)
45
8
Frequency Response Characteristics of Feedback Controllers
Proportional Controller. Consider a proportional controller with positive gain
Gc ( s ) = K c (13-57)
10 s + 1
Bode plot of a PI controller, Gc ( s ) = 2
10 s 48
9
Ideal Proportional-Derivative Controller.
For the ideal proportional-derivative (PD) controller
Gc ( s ) = K c (1 + τ D s ) (13-64)
The frequency response:
AR c = K c ( ωτ D )2 + 1 (13-65)
φ = tan −1 ( ωτ D ) (13-66)
τ s +1
Gc ( s ) = K c D (13-67)
ατ D s + 1
49
10
PID Controller Forms
Parallel PID Controller. The simplest form is
1
Gc ( s ) = K c 1 + + τDs
τ1s
Series PID Controller. The simplest version of the series PID controller is
τ s +1
Gc ( s ) = K c 1 ( τ D s + 1) (13-73)
τ1s
τ s + 1 τ D s + 1
Gc ( s ) = Kc 1
τ1s α τ D s + 1
51
1
Ideal parallel: Gc ( s ) = 2 1 + + 4s
10 s
10s + 1 4s + 1
Series with Derivative Filter: Gc ( s ) = 2
10s 0.4s + 1 52
11
Nyquist Diagrams
Consider the transfer function
1
G (s) = (13-76)
2s + 1
with
1
AR = G ( jω ) = (13-77a)
( 2ω ) 2
+1
and
φ = ∠G ( jω ) = − tan −1 ( 2ω ) (13-77b)
12
Control System Design Based on Frequency Response
Analysis
Closed-Loop Behavior
• The block diagram of a general feedback control system contains three external
input signals: set point Ysp, disturbance D, and additive measurement noise, N.
Gd Gm Gm Km
E = − D − N + Ysp (14-2)
1 + Gc G 1 + Gc G 1 + Gc G
Gd Gm Gc Gv G GG K GG
U = − D − m c v N + m c v Ysp (14-3) G = G G G .
where
1 + Gc G 1 + Gc G 1 + Gc G v p m 56
13
Example 14.2 : Consider a feedback system with the following transfer functions:
0.5
G p = Gd = , Gv = Gm = 1
1 − 2s
Suppose that controller Gc is designed to cancel the unstable pole in Gp:
3 (1 − 2 s)
Gc =
s +1
Evaluate closed-loop stability and characterize the output response for a sustained
disturbance.
Solution: The characteristic equation, 1 + GcG = 0, becomes:
3 (1 − 2 s ) 0.5
1 + = 0
s + 1 1 − 2s
s + 1 1.5 s + 2.5
+ = =0 Or s + 2.5 = 0
s +1 s +1 s +1 57
In view of the single root at s = -2.5, it appears that the closed-loop system is
stable. However, for N = Ysp = 0,
Gd 0.5(s + 1)
Y= D= D
1 + GcG (1 − 2s )(s + 2.5)
• This transfer function has an unstable pole at s = +0.5. Thus, the output response
to a disturbance is unstable.
• Furthermore, other transfer functions (Ysp and N) also have unstable poles.
• This apparent contradiction occurs because the characteristic equation does not
include all of the information, namely, the unstable pole-zero cancellation.
58
14
Example 14.3:
Suppose that Gd = Gp, Gm = Km and that Gc is designed so that the closed-loop
system is stable and |GGc | >> 1 over the frequency range of interest. Evaluate
this control system design strategy for set-point changes, disturbances, and
measurement noise. Also consider the behavior of the manipulated variable, U.
Gd Gc G K mGcGvG p
Y = D − N + Ysp
1 + Gc G 1 + GcG 1 + GcG
59
Solution:
1 GcG
Because |GGc | >> 1, ≈ 0 and ≈1
1 + GcG 1 + GcG
For disturbances responses, the first expression suggest that the
output will be very good because Y/D ≈ 0.
For set-point responses. Y = K mGcGv G p
Ysp 1 + Gc G
Because Gm = Km, G = GvGpKm and the above equation can be
written as,
Y GcG Y
= ≈1
Ysp 1 + Gc G then Ysp
15
Bode Stability Criterion
Before considering the basis for the Bode stability criterion, it is useful to review
the General Stability Criterion :
A feedback control system is stable if and only if all roots of the characteristic
equation lie to the left of the imaginary axis in the complex plane.
Before stating the Bode stability criterion, we need to introduce two important
definitions:
61
62
16
For many control problems, there is only a single ωc and a single ωg . But multiple
values can occur for ωc .
If Bode plot exhibiting multiple critical frequencies, then Bode stability criterion is
not applicable (limitation of Bode Stability criterion)
63
64
17
• In order to gain physical insight into why a sustained oscillation occurs
at the stability limit, consider the analogy of an adult pushing a child on
a swing.
• The child swings in the same arc as long as the adult pushes at the right
time, and with the right amount of force.
• Thus the desired “sustained oscillation” places requirements on both
timing (phase) and applied force (amplitude).
• If either the force or the timing is not correct, the desired swinging
motion ceases, as the child will quickly exclaim.
• A similar requirement occurs when a person bounces a ball.
65
Tutorial 4: Q1
A process has the third-order transfer function (time constant in minutes),
2
G p( s) =
(0.5s + 1)3
Also, Gv = 0.1 and Gm = 10. For a proportional controller, evaluate the stability of the
closed-loop control system using the Bode stability criterion and three values of Kc:
1, 4, and 20.
Solution 2 2K c
G OL = G cG vG pG m = ( K c )(0.1) 3
(10) =
(0.5s + 1) (0.5s + 1)3
66
18
Bode plot of GOL for three values of Kc is drawn.
Note that all three cases have the same phase angle plot because the phase
lag of a proportional controller is zero for Kc > 0.
67
19
• For proportional-only control, the ultimate gain Kcu was defined to be the largest
value of Kc that results in a stable closed-loop system.
• The value of Kcu can be determined graphically from a Bode plot for transfer
function G = GvGpGm. For proportional-only control, GOL= KcG. Because a
proportional controller has zero phase lag if Kc > 0, ωc is determined solely by G.
Also,
where ARG denotes the amplitude ratio of G. At the stability limit, ω = ωc,
AROL(ωc) = 1 and Kc= Kcu. Substituting these expressions and solving for Kcu gives
an important result:
1
Kcu = (14-10)
ARG (ωc )
The stability limit for Kc can also be calculated for PI and PID controllers.
69
70
20
Some important properties of the Nyquist stability criterion are:
1. It provides a necessary and sufficient condition for closed-loop stability based on the
open-loop transfer function.
2. The reason the -1 point is so important can be deduced from the characteristic
equation, 1 + GOL(s) = 0. This equation can also be written as GOL(s) = -1, which
implies that AROL = 1 and φOL = −180o, as noted earlier. The -1 point is referred to as
the critical point.
3. Most process control problems are open-loop stable. For these situations, P = 0 and
thus Z = N. Consequently, the closed-loop system is unstable if the Nyquist plot for
GOL(s) encircles the -1 point, one or more times.
4. A negative value of N indicates that the -1 point is encircled in the opposite direction
(counter-clockwise). This situation implies that each countercurrent encirclement can
stabilize one unstable pole of the open-loop system.
71
5. Unlike the Bode stability criterion, the Nyquist stability criterion is applicable to
open-loop unstable processes.
6. Unlike the Bode stability criterion, the Nyquist stability criterion can be applied
when multiple values of ωc or ωg occur
72
21
Solution
The Bode plot for GOL and Kc = 1 is shown below. For ωc = 1.69 rad/min, φOL = -180°
and AROL = 0.235. For Kc = 1, AROL = ARG and Kcu = 1/0.235 = 4.25. Setting Kc =
1.5Kcu gives Kc = 6.38.
22
Gain and Phase Margins
Let ARc be the value of the open-loop amplitude ratio at the critical frequency ωc.
Gain margin GM is defined as:
1
GM =
ARc
Phase margin PM is defined as:
PM = 180o +ϕg
75
23
180o
PM = Δθ max ωc (14-13)
π
or
PM π
Δθ max = o
(14-14)
ωc 180
( )
where the π /180o factor converts PM from degrees to radians.
24
Gain Margin for Q1:
Kc AROL ( for ω = ωc ) GM = 1 / ARc
1 0.25 4
4 1 1
20 5 0.2
79
25