Professional Documents
Culture Documents
PDC Minor 2 - Slides
PDC Minor 2 - Slides
PDC Minor 2 - Slides
time
time
(a) (b)
time
(c)
Introduction
y s g s u s
Stability is determined
y (t ) c1 e p1t
c2 e p2 t
.... cn e pn t
What if:
1. poles are real and positive
2. poles are real and negative
3. poles are complex
• real part positive
• real part negative
• real part equal to zero
Qualitative Analysis
CASE 1:
ci e pi t
Exponential growth
pi 0
time
CASE 2:
ci e pi t
Exponential decay
pi 0
time
Qualitative Analysis
CASE 3:
Complex poles always i 0
appear in conjugate pairs.
pi i i j
time
time
oscillations..
Qualitative Analysis
i 0
If the real part equal to
zero
time
sustained oscillations
Stability of Dynamic Systems
Im
Re
Stable Region
Unstable Region
Closed loop stability
Characteristic equation
K mGcGvG p Gd
Y Ysp D (11-80)
1 GOL 1 GOL
CASE 1:
If any of the coefficients is zero or negative in the
presence of at least one positive coefficient, then
there are one or more roots of p(s) with a positive real
part. In this case, the system is unstable.
Routh’s Criterion
CASE 2:
sn a0 a2 a4 a6 . .
sn-1 a1 a3 a5 a7 . .
sn-2 b1 b2 b3 b4 . .
sn-3 c1 c2 c3 c4 . .
sn-4 d1 d2 d3 d4
. . .
. . .
s2 e1 e2
s1 f1
s0 g1
p(s ) s 2s 3s 4s 5 0
4 3 2
4
s 1 3 5
3 The number of sign
s 2 4 0
changes in the first
s
2
1 5 column is equal to two.
p(s ) s 3s 3s 2s k 0
4 3 2
32
Use the direct substitution method to determine Ku
for the system with the characteristic equation
10s3 17 s 2 8s 1 K c 0 . (11-99)
1 Ku 17ω2 j 8ω 10ω3 0
1 Ku 17ω2 0 (11-106a)
8ω 10ω3 ω 8 10ω2 0 (11-106b)
Therefore,
ω2 0.8 ω 0.894 (11-107)
and from (11-106a),
Ku 12.6
35
Root-Locus Method
1 GOL (s) 0
f (s, k ) s 2 s k 0
In this case since f(s,k) is a quadratic equation, the
roots are
1 1 1 1
s1 1 4k s2 1 4k
2 2 2 2
k=1 k=0
k=0
Re
-1
Solution:
The characteristic equation is 1 + GOL = 0 or
40
X denotes an open-loop pole.
Dots denote locations of the closed-loop poles for different values of Kc.
Arrows indicate change of pole locations as Kc increases.
41
Example
Summary
Performance Criteria
This, in turn, will allow us to compare
design alternatives.
Design Objectives
The main goal of control system design is to meet
established performance specifications.
Speed of response
Accuracy of response or allowable tracking error
Design Objectives
Stability is, of course, the main characteristic of the system
performance. We discussed the stability problem in the
previous chapter. Since stability defines a range of admissible
controller parameters, we now concentrate on achieving
desired performance within the allowable stability range.
Performance Criteria
The performance criteria can based on:
Steady-state characteristics, or
Overshoot
Speed of response
..
Decay ratio
C 1
A 4
Quarter Decay Ratio
Desirable Controller Features
0. Stable
1. Quick responding
2. Adequate disturbance rejection
3. Insensitive to model, measurement errors
4. Avoid excessive controller action
5. Suitable over a wide range of operating conditions
ITAE t e(t ) dt Integral of the time-weighted absolute error (ITAE)
0
Example
y sp y
1 k
g c k c (1 gp
+- p
)
Is ps 1
1.4 Set 2
1. kc 10, I 0.464 1.2
0.6
0
Set 2 6.090 14.697 130.22 0 10 20 30 40 50 60
Time (sec.)
Controller Tuning Techniques
M
c(s) g d (s )
s
ym (s)
g m (s )
y m (s) k e θs
g PRC (s)
c(s) τ s 1
tD time
Process Reaction Curve
𝐵𝑢
𝑆𝑙𝑜𝑝𝑒 =
y
Cohen-Coon Controller Settings
1 τ θ
Kc 1
k θ 3τ
θ
30 3
1 τ θ τ
Kc 0.9 τI θ
k θ 12τ θ
9 20
τ
θ
6 2
1 τ5 θ τ
Kc τD θ
k θ 4 6τ θ
22 3
τ
1 τ4 θ
Kc
k θ 3 4τ
θ
32 6
τI θ τ
θ
13 8
τ
4
τD θ
θ
11 2
τ
Cohen-Coon Settings
Advantages Disadvantages
Controller kc I D
P 0.5kcu --- ---
2e s
g p (s ) ; g f (s ) 1; g m (s ) 1
10s 15s 1
Controller kc I D
PI 1.50 8.16 ---
PID 2.29 8.75 1.37
Example - CC
PI Controller
PID Controller
Using P-controller
only, the closed-loop
system is brought to
the edge of the
stability limit. pu= 12
The proportional gain
that yields sustained
oscillations and the
period of oscillations kcu= 8
are noted.
Controller kc I D
PI 3.63 10 ---
PID 4.70 6 1.5
Example - ZN
PI Controller
PID Controller
32 6
+
2.0
Integral
13 8
I I
+
0.5
0.37
Derivative D
1.0 0.2
D
Summary of Tuning Relationships
There is an initial
inversion in the
output variable response: the
process starts
moving away from
input and output
time
Controller Design - Direct Synthesis Method
Model based design
Y e s
R d s 1
(first – order response, no offset)
Derivation of PI Controller for FOPTD Process
Let Ke s K (1 s )
Y 1 2 s G (s) 2
s 1 ( s 1)(1 s)
R d s 1 2
1- θ s
2
τs + 1 1 + θ s
2 • cτ s + 1 τs +1 1+ θ s
2
Gc = =
K 1- θ s
2 1-
1- θ s
2 K
θ +τ s
2 c
τ c s +1
2 1
Kc
1
I D
K
1
2 2( ) 1
2
Second-Order-plus-Time-Delay (SOPTD) Model
Keθs
G s
τ1s 1 τ 2 s 1
1
Gc K c 1 τDs
τI s
where
1 τ1 τ 2 τ1τ 2
Kc , τ I τ1 τ 2 , τD
K τ1 τ 2
Example
Use direct synthesis design method to calculate PID controller settings
for the process:
2e s
G
10s 1 5s 1
Consider = 1, 3, and 10. Evaluate the controllers for unit step
changes in both the set point and the disturbance, assuming that Gd =
G. Perform the evaluation for two cases:
=1
=3
=5
How to Select ?
3. θ (Skogestad, 2003)
Frequency Response
Time-domain vs Frequency -
domain?
Im
0
Re
AR
A
0
Introduction
Ay
Am
time
Question 1: What are the features of the output sinusoidal wave ?
Question 2: How do they change as a function of frequency ?
Frequency Response Analysis
y(t)
m(t)
Input Wave Output Wave
Ay
Am
time
AR= Ay / Am : Amplitude Ratio : Phase Shift (lag)
ImG j
Phase angle G j tan1
ReG j
Computation of the Frequency
Response
y t
KA
2 2
ω τ 1
ωτet / τ ωτ 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
y t sin ωt φ for t (13-1)
ω2 τ 2 1
where:
φ tan 1 ωτ
5
Frequency Response Characteristics of
a First-Order Process
For x(t ) A sin t , y t Aˆ sin ωt φ as t where :
KA
Aˆ and φ tan 1 ωτ
ω2 τ 2 1
1. The output signal is a sinusoid that has the same frequency, , as the input
signal, x(t) = Asint.
2. The amplitude of the output signal, Â , is a function of the frequency and
the input amplitude, A:
KA
Aˆ (13-2)
ω2 τ 2 1
3. The output has a phase shift, φ, relative to the input. The amount of
phase shift depends on .
6
Aˆ K
AR (13-3a)
A ω2 τ 2 1
which can, in turn, be divided by the process gain to yield the normalized
amplitude ratio (ARN)
1
AR N (13-3b)
ω2 τ 2 1
7
Shortcut Method for Finding
the Frequency Response
The shortcut method consists of the following
steps:
Step 1. Set s=j in G(s) to obtain G jω.
Step 2. Rationalize G(j); We want to express it in the form.
G(j)=R + jI
where R and I are functions of . Simplify G(j) by multiplying
the numerator and denominator by the complex conjugate of the
denominator.
Step 3. The amplitude ratio and phase angle of G(s) are given by:
AR R 2 I 2
Memorize
tan 1 ( I / R)
8
Example
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)
ω τ 1
2 2
ω τ 1
2 2
9
From Step 3 of the Shortcut Method,
2 2
ωτ
1
AR R I 2 2 2 2
2 2
ω τ 1 ω τ 1
or
AR
1 ω2 τ 2 1
(13-20a)
ω τ 1
2
2 2 ω τ 1
2 2
1
I
Also,
φ tan tan 1 ωτ tan 1 ωτ (13-20b)
R
10
Complex Transfer Functions
Ga s Gb s Gc s
G s (13-22)
G1 s G2 s G3 s
Substitute s=j,
Ga jω Gb jω Gc jω
G jω (13-23)
G1 jω G2 jω G3 jω
From complex variable theory, we can express the magnitude and angle of
G jω
as follows:
Ga jω Gb jω Gc jω
G jω (13-24a)
G1 jω G2 jω G3 jω
Nyquist Diagram
Frequency is a parameter.
(Polar Plot)
Bode Diagrams
2
AR
-100 -2
-1 0 1 2
10 10 10 10 10
First-Order Process
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.
Recall:
1
AR N and φ tan 1 ωτ
ω2 τ 2 1
At low frequencies ( ω 0 and ω<<1)
1) :
AR N 1 and
1
AR N ω ωb 0.707 (13-30)
11
AR d 20 log AR (13-33)
16
Integrating Elements
Y s K
G s (5-34)
U s s
K K
AR G jω (13-34)
jω ω
φ G jω K 90 (13-35)
Second-Order Process
K
G s (13-40)
τ s 2ζτs 1
2 2
17
2ωτζ
(13-41a) φ tan 1
K
AR (13-41b)
1 ω 2 τ 2
1 ω τ
2
2ωτζ
2 2 2
s jω
G jω e jωθ (13-53)
which can be written in rational form by substitution of the
Euler identity,
20
Figure. Bode diagram for a time delay .
21
Figure. Phase angle plots for e θs and for the 1/1 and 2/2 Padé approximations
(G1 is 1/1; G2 is 2/2).
22
Process Zeros
Consider a process zero term,
G s K ( sτ 1)
Substituting s=j gives
G jω K ( jωτ 1)
Thus:
AR G jω K ω2 τ 2 1
φ G jω tan 1 ωτ
23
Frequency Response Characteristics of
Feedback Controllers
Gc s Kc (13-57)
In this case Gc jω K c , which is independent of . Therefore,
AR c Kc (13-58)
and
φc 0 (13-59)
24
Proportional-Integral Controller:
1 τI s 1
Gc s K c 1 Kc (13-60)
τ I
s τ
I s
Substitute s=j:
1 jτ I 1 1
Gc j K c 1 Kc Kc 1 j
τ I j jτ I τI
Thus, the amplitude ratio and phase angle are:
1 ωτ I 2
1
AR c Gc jω K c 1 Kc (13-62)
ωτ I 2 ωτ I
1
Gc s K c 1 τDs
τ1s
Series PID Controller:
τ1s 1
Gc s K c τ D s 1 (13-73)
τ1s
27
1
Gc s 2 1 4s
10s
28
Example - First-Order Process
Bode Diagram
1
10
AR
0
10
2
g (s )
10
-1
3s 1
-2
10
10
-2
10
-1 c=0.33 10
0
10
1
0
-20
2
-40 AR g ( j )
-60
9 2 1
-80 arg( g ( j )) tan 1( 3 )
-100
-2 -1 0 1
10 10 10 10
Example - First-Order Process with Delay
Bode Diagram
1
10
AR
0
10
2e 0.5s
10
-1
g (s )
-2
3s 1
10
10
-2
10
-1
10
0
10 1
0
2
-100 AR g ( j )
9 2 1
-200
arg( g ( j )) tan 1(3 ) (0.5 )
-300
-400
10
-2
10
-1
10
0
10
1
With the addition of a delay term, AR remains the same, but the Phase
Shift is significantly affected.
Summary
Frequency response is a compact representation of
process dynamics.
The frequency response is expressed through the
amplitude ratio and the phase shift.
A Bode or a Nyquist Diagram can be used to describe the
frequency response.
A first-order system has a maximum phase shift of 900
Stability based on frequency response
Stability based on Bode diagram
The Bode stability criterion has two important
advantages in comparison with the Routh 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:
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 for three values
of Kc: 1, 4, and 20.
Solution:
2 2K c
G OL G cG vG pG m ( K c)(0.1) (10)
(0.5s 1) 3
(0.5s 1)3
17
Figure. Bode plots for GOL = 2Kc/(0.5s+1)3.
18
Based on the amplitude ratio AROL for each value of Kc, we make the
following classifications:
19
Understanding relative stability
+ AR=1
• The gain margin represents the additional gain for
destabilization.
Specify the proportional gain Kc for the control system when (i) D
= 0 (ii) D = 0.5
The crossover frequency is 8.62 rad/min
AR/Kc
Case-1: PD controller
AR/Kc
g
• Bode' plots use frequency as the horizontal axis and use two
separate plots to display amplitude and phase of the frequency
response.
The magnitude of G( jω ) is
The phase of G( jω ) is
Example: Polar Plot of First Order System
500
𝐺 0 = = 16.67 0
30 2 ∠𝐺 0 = tan−1 = 0°
30
Example: Polar Plot of Higher Order System
500 ∞ 3
𝐺 ∞ = =0 ∠𝐺 ∞ = tan−1 = −3 × 90° = −270°
∞ 30
Point 3: Where the plot crosses the real axis, i.e., Im(G(jω)) = 0
Take the imaginary part of equation, and put equal to zero, to get the value of
frequency ω at the interception of real axis.
Example: Polar Plot of Higher Order System
Take the real part of equation, and put equal to zero, to get the value of
frequency ω at the interception of imaginary axis.
Example: Polar Plot of Higher Order System
Im
Nyquist Stability Criterion
16
Nyquist Stability Criterion
17
18
Properties of the Nyquist stability criterion
19
Properties of the Nyquist stability criterion
20
Properties of the Nyquist stability criterion
21
Example
4e s
G p(s)
5s 1
Gv = 2, Gm = 0.25, Gc = Kc
22
For ωc = 1.69 rad/min, OL = -180°
Kcu = 1/0.235 = 4.25. Setting Kc = 1.5Kcu gives Kc = 6.38.
23
Figure. Nyquist plot, Kc = 1.5Kcu = 6.38.
24
8 Nyquist Diagram
2
Imaginary Axis
-2
-4
-6
-8
-2 0 2 4 6 8 10 12 14
Real Axis
Nyquist Diagram
-1
Imaginary Axis
-2
-3
-4
-5
-6
-2 -1 0 1 2 3 4 5 6
Real Axis
Gain and phase margins
27
Gain and phase margins
28
Gain and phase margins
a
Gain Neutral Nyquist Plots - Example