Unit-4-1 PPT CS
Unit-4-1 PPT CS
FREQUENCY-DOMAIN ANALYSIS
27/01/22
Content in Chapter 5
5-1 Frequency Response (or Frequency
Characteristics)
27/01/22
5-1 Frequency Response
27/01/22
A Perspective on the Frequency-Response
Design Method
The design of feedback control systems in industry is
probably accomplished using frequency-response methods
more than any other.
Advantages of frequency-response design:
-It provides good designs in the face of uncertainty in the
plant model
-Experimental information can be used for design
purposes.
Raw measurements of the output amplitude and phase of a plant
undergoing a sinusoidal input excitation are sufficient to design a
suitable feedback control.
-No intermediate processing of the data (such as finding
poles and zeros) is required to arrive at the system model.
27/01/22
Frequency response
H(s)
For a LTI system, when the input to it is a sinusoid signal,
the resulting output , as well as signals throughout the
system, is sinusoidal in the steady-state;
The output differs from the input waveform only in
amplitude
27/01/22 and phase.
The closed-loop transfer function of the LTI
system:
Y ( s) G( s)
M (s)
R( s) 1 G ( s) H ( s )
For frequency-domain analysis, we replace s by
jω: Y ( j ) G ( j )
M ( j )
R ( j ) 1 G ( j ) H ( j )
27/01/22 M ( j ) M 90
Gain characteristic: M ( j ) Cj C
Output: I ( j ) M ( j )V ( j )
27/01/22
Frequency-Domain Specifications
M ( j )
Resonant peak M r
Mr Resonant frequency r
Cutoff
rate Bandwidth BW
0.707
d M ( j )
0
0 r BW d
0
r
M ( j )
27/01/22
Typical gain-phase characteristic of a control system
Frequency response of a prototype
second-order system
Closed-loop transfer function:
Y ( s) n2
M ( s) 2
R ( s ) s 2n s n2
Define u n
1
M ( ju )
1 j 2 u u 2
27/01/22
The magnitude of M(ju) is
1
M ( ju )
[(1 u 2 ) 2 (2 u ) 2 ]1/2
The phase of M(ju) is Resonant peak
2 u
1 1
M ( j ) M ( j ) tan Mr
1 u2 2 1 2
The resonant frequency of M(ju) is
d M ( ju )
0 ur 1 2 2
du
With ur r n , we have r n 1 2 2
Since frequency is a real quantity, it requires 1 2 2 0
So
27/01/22
0.707
According to the definition of Bandwidth
1 1
M ( ju ) 2 2 2 1/2
0.707
[(1 u ) (2 u ) ] 2
u 2 (1 2 2 ) 4 4 4 2 2
With u n , we have
BW n [(1 2 2 ) 4 4 4 2 2]1/2
27/01/22
For a prototype second-order system ( 0.707)
M r depends on only.
Resonant peak
For 0, the system is unstable;
1
Mr For 0< 0.707, M r ;
2
2 1
For 0.707, M r 1
/ 1 2
y (t ) max overshoot e M ( j )
1.0
0.9 0dB
0.3dB
0.1 t
0 0 BW
2
1 0.4167 2.917
tr
27/01/22
n BW n [(1 2 2 ) 4 4 4 2 2]1/2
Example. The specifications on a second-order unity-
feedback control system with the closed-loop transfer
function Y ( s) n2
M ( s) 2
R( s ) s 2n s n2
are that the maximum overshoot must not exceed 10
percent, and the rise time be less than 0.1 sec. Find the
corresponding limiting values of Mr and BW analytically.
Solution. Maximum overshoot:
1 2
% e 100% 10% 0.6
1 0.4167 2.917 2
Rise time: tr 0.1 (0 1)
n
2.917 2 0.4167 1 0.1n 0
2 4 2 1/2
Bandwidth BW n [(1 2 ) 4 4 2]
BW is directly proportional to n , n BW
BW n
For 0 0.707, n fixed, BW ;
0.6 0.707 1 BW n 1.15
n BW 1.15n
BW 18
27/01/22 n 18
Effects of adding a zero to the OL TF2
n
G(s)
R(s) n2 Y ( s ) Open-loop TF : s ( s 2n )
s( s 2n ) Closed-loop TF :
Y ( s) G( s) n2
M ( s) 2
R ( s ) 1 G ( s ) s 2n s n2
Adding a zero at s 1 Tz
R(s) n2 Y ( s)
1 Tz s Open-loop TF :
s ( s 2n )
(1 Tz s )n2
G(s)
s ( s 2n )
The additional
zero changes
n2 (1 Tz s ) both numerator
Closed-loop TF : ( s ) 2
27/01/22 s (2n Tzn2 ) s n2 and denominator.
As analyzing the prototype second-order system, using
similar but more complicate calculation, we obtain
Bandwidth BW ( b 1 / 2 b2 4n4 )1/2
where b 4 2n2 4n3Tz 2n2 n4Tz2
27/01/22
The general effect of adding a zero the open-loop
transfer function is to increase the bandwidth of the
closed-loop system.
Bode Diagram
20
n 1 0
0.2
Magnitude (dB)
-20
-40 Tz=0
Tz=0.2
-60
Tz=1
Tz=5
-80
0
-45
Phase (deg)
-90
-135
-180
-1 0 1 2
10 10 10 10
27/01/22
Frequency (rad/sec)
Effects of adding a pole to the OL TF 2
n
G(s)
R(s) n2 Y ( s ) Open-loop TF : s ( s 2n )
s( s 2n ) Closed-loop TF :
Y ( s) G( s) n2
M ( s) 2
R ( s ) 1 G ( s ) s 2n s n2
Adding a pole at s 1 Tp
R(s) 1 n2 Y ( s)
1 Tp s Open-loop TF :
s ( s 2n )
n2
G (s)
s( s 2n )(1 Tp s )
n2
Closed-loop TF : ( s ) 3 2 2
27/01/22
T p s (1 2 T
n p ) s 2 n s n
The effect of adding a pole the open-loop transfer function is
to make the closed-loop system less stable, while decreasing
the bandwidth.
Bode Diagram
50
Tp=0
Tp=0.5
0 Tp=1
n 1
Magnitude (dB)
Tp=5
0.707 -50
-100
-150
0
-45
Phase (deg)
-90
-135
-180
-225
-270
-2 -1 0 1 2
10 10 10 10 10
27/01/22 Frequency (rad/sec)
5-2 Nyquist Plot and Nyquist Criterion
27/01/22
Nyquist Criterion
What is Nyquist criterion used for?
R( s) Y ( s)
G(s)
H(s)
27/01/22
Definition of Encircled and Enclosed
A C
D
B
27/01/22
Mapping from the complex s-plane to the
Δ(s) -plane
Exercise 1: Consider a function Δ(s) =s-1, please map a
circle with a radius 1 centered at 1 from s-plane to the
Δ(s)-plane .
j j Im Δ( s)-plane
s-plane
Mapping
s2 ( s2 )
1
s3 s1 ( s3 )
0 1 2 0 ( s1 ) Re[ ( s )]
1 s4 ( s4 )
s1 2; s2 1 j ( s1 ) 1; ( s2 ) j
s 0; s4 1 j
3
27/01/22
( s3 ) 1; ( s4 ) j
Principle the Argument
Let ( s ) be a single-valued function that has a finite
number of poles in the s-plane.
Suppose that an arbitrary closed path s is chosen in the s-
plane so that the path does not go through any one of the
poles or zeros of ( s ) ;
The corresponding locus mapped in the ( s )-plane will
encircle the origin as many times as the difference
between the number of zeros and poles (P) of ( s ) that are
encircled by the s-plane locus s .
In equation form: N ZP
N - number of encirclements of the origin by the ( s ) -plane locus
Z - number of zeros of ( s ) encircled by the s-plane locus
P - number of poles of ( s ) encircled by the s-plane locus
27/01/22
Nyquist Path s
A curve composed of the imaginary axis and an arc of
infinite radius such that the curve completely encloses the
right half of the s-plane .
j s-plane Nyquist path is in the
CCW direction
R Since in mathematics, CCW
is traditionally defined to be
0 the positive sense.
s
R ( s) 1 G ( s) H ( s )
0 1
s
Nyquist Path G( s)H(s)-plane
Nyquist Diagram:
Plot the loop
function to
1 0
determine the
Critical point: closed-loop
(-1+j0) stability
27/01/22
Nyquist Criterion and G(s)H(s) Plot
j s-plane G( s)H(s)-plane
R G( s) H ( s)
0 1 0
s
R G( s) H ( s)
0 1 0
s
Nyquist Path Nyquist Plot
N - number of encirclements of (-1,j0) by the G(s)H(s) plot
Z - number of zeros of ( s ) that are inside the right-half plane
P - number of poles of ( s ) that are inside the right-half plane
The condition of closed-loop stability according to the
Nyquist Creterion is:
27/01/22
N P
m
K i 1 ( s zi )
G (s) H (s) n
j 1
( s pi )
n m
( s) 1 G ( s) H ( s)
j 1
( s pi ) K i 1 ( s zi )
n
j 1
( s pi )
27/01/22
Nyquist Diagram
4
An example 3
Imaginary Axis
5
G( s) H ( s)
0
( s 1)3 -1
Nyquist plot -3
(G(s)H(s) plot)
-4
-2 -1 0 1 2 3 4 5
(K=1.6), the RL K *
K*
-3
-4 -3 -2 -1 0 1 2
Real Axis
No pole of 2
G(s)H(s) in
RHP, so P=0; 1
Imaginary Axis
0
Nyquist plot
does not -1
encircle (-1,j0), -2
so N=0
-3
-4
Thus N=-P -2 -1 0 1 2 3 4 5
Real Axis
The closed-loop system is stable
27/01/22
2. With Nyquist plot and >>K=1.6;
Nyquist criterion: >>num=5*K;
>>den=[1 3 3 1];
5K >>nyquist(num,den);
G( s) H ( s)
( s 1)3 Nyquist Diagram
6
K=1.6
No pole of 4
G(s)H(s) in RHP, 2
so P=0;
Imaginary Axis
(-1,j0)
-4
-6
-2 -1 0 1 2 3 4 5 6 7 8
Real Axis
G(s)H(s) in RHP,
5
so P=0;
Imaginary Axis
0
Nyquist plot
encircles (-1,j0) -5
twice, so N=2
-10
-15
-5 0 5 10 15 20
Thus Z=N+P=2 Real Axis
15
Magnitude (dB) G1 ( j ) G2 ( j )
10
0
180
135
G2 ( j )
Phase (deg)
90
45
G1 ( j )
0
-2 -1 0 1 2 3
10 10 10 10 10 10
Frequency (rad/sec)
27/01/22
Example Consider a single-loop feedback system with the
loop transfer function
K
L( s ) G ( s ) H ( s )
s ( s 2)( s 10)
Analyze the stability of the closed-loop system.
Solution.
Since L(s) is minimum-phase, we can analyze the closed-loop
stability by investigating whether the Nyquist plot enclose
the critical point (-1,j0) for L(jw)/K first.
j Im
L( j ) 1
Im[ L( j ) K ] 0
K j ( j 2)( j 10)
L( j )
w=∞: 0 270 0 Real
K
L( j 0)
w=0 :+ 90 0
K
27/01/22
1
Im[ L( j ) K ] Im[ ]0 20 rad / s
j ( j 2)( j 10)
1
L( j 20) K 0.004167
j 20( j 20 2)( j 20 10)
1. K 240 L( j 20) 1
the Nyquist plot does not enclose (-1,jw); stable
2. K 240 L( j 20) 1
the Nyquist plot goes through (-1,jw); marginally stable
3. K 240 L( j 20) 1
the Nyquist plot encloses (-1,jw). unstable
27/01/22
By root locus technique >>z=[]
1 >>p=[0, -2, -10];
L( s ) G ( s ) H ( s ) K >>k=1
s( s 2)( s 10)
>>sys=zpk(z,p,k);
20
Root Locus
>>rlocus(sys);
15
10
5
Imaginary Axis
0 K 240
-5
-10
-15
-20
-30 -25 -20 -15 -10 -5 0 5 10
27/01/22 Real Axis
Relative Stability
Gain Margin and Phase Margin
For a stable system, relative stability describes how stable
the system is.
In time-domain, the relative stability is measured by
maximum overshoot and damping ratio.
In frequency-domain, the relative j Im
stability is measured by resonance
peak and how close the Nyquist plot
of L(jw) is to the (-1,j0) point.
1 Real
The relative stability of the 0
blue curve is higher than the
green curve. 0
27/01/22
Gain Margin (GM)
(for minimum-phase loop transfer functions)
Phase crossover
j Im L(jw)-plane
Phase crossover frequency ωp
p
L( j p ) 180
For a closed-loop system with 0 Real
L( j p )
L(jw) as its loop transfer
function, it gain margin is 0
defined as
1
gain margin (GM) = 20log10
L( j p )
20log10 L( j p ) dB
27/01/22
1
gain margin (GM) = 20log10
L( j p )
20log10 L( j p ) dB
Phase margin: B A
phase margin (PM) =L( jg ) 180
27/01/22
Example Consider the transfer function
10
G(s)
s ( s 1)
Draw its Nyquist plot when w varies from 0 to ∞.
10
Solution. Substituting s=jw into G(s) yields: G ( j )
j ( j 1)
The magnitude and phase of G(jw) at w=0 and w=∞ are
computed as follows.
10 10
lim G ( j ) lim lim Thus the properties of
0 0 j ( j 1) 0 the Nyquist plot of G(jw)
10 10 at w=0 and w=∞ are
lim G ( j ) lim lim 90
0 0 j ( j 1) 0 j ascertained.
10
lim G ( j ) lim 0
j ( j 1) Next we determine the
intersection…
10 10
lim G ( j ) lim lim 2 180
j ( j 1)
27/01/22
If the Nyquist plot of G(jw) intersects with the real axis, we have
Im[G ( j )] 0
2 10
10 10 10 0
G ( j ) 4 j 4
2
j ( j 1) 2 4 2
This means that the G(jw) plot intersects only with the real axis of the
G(jw)-plane at the origin.
Similarly, intersection of G(jw) with the imaginary axis:
Re[G ( j )] 0
which corresponds to the origin of the G(jw)-plane.
At w=∞, Re[G ( j )] 0
At w=0, Re[G ( j )] 10
27/01/22
Example Consider a system with a loop transfer function as
2500
L( s )
s( s 5)( s 50)
Determine its gain margin and phase margin.
Solution. Phase crossover frequency ωp: j Im
Phase margin:
PM =L( jg ) 180 31.72
27/01/22
Advantages of Nyquist plot:
-By Nyquist plot of the loop transfer function, the
closed-loop stability can be easily determined with
reference to the critical point (-1,j0).
27/01/22
5-3 Bode Plot
27/01/22
Bode Plot
The Bode plot of the function G(jw) is composed of two
plots:
-- the amplitude of G(jw) in decibels (dB) versus log10w
or w
-- the phase of G(jw) in degrees as a function of log10w
or w.
Without loss of generality, the following transfer function
is used to illustrate the construction of the Bode Plot
K (1 T1s )(1 T2 s )
G( s) j
s (1 1s )(1 2 s / n s 2 / n2 )
where K, T1, T2, τ1, ζ, ωn are real constants. It is assumed
that the second-order polynomial in the denominator has
complex conjugate zeros.
27/01/22
Substituting s=jw into G(s) yields
K (1 jT1 )(1 jT2 )
G ( j )
( j )(1 j 1 )(1 j 2 / n 2 / n2 )
G ( j ) dB 20log10 G ( j )
20log10 K 20log10 1 jT1 20log10 1 jT2
20log10 j 20log10 1 j 1 20log10 1 j 2 / n 2 / n2
The phase of G(jw) is
G ( j ) K (1 jT1 ) (1 jT2 ) j
(1 j 1 ) (1 j 2 / n 2 / n2 )
27/01/22
In general, the function G(jw) may be of higher order and
have many more factored terms. However, the above two
equations indicate that additional terms in G(jw) would
simply produce more similar terms in the magnitude and
phase expressions, so the basic method of construction of
the Bode plot would be the same.
K dB 20log 20 K
constant
0 K 0
K
180 K 0
27/01/22
p
2. Poles or zeros at the origin, ( j )
Magnitude of ( j ) p in dB:
At =1, ( j ) p 0.
dB
Phase of ( j ) p :
p 90
27/01/22
3. (a) Simple zero 1+jwT Consider the function
G ( j ) 1 jT
where T is a positive real constant.
The magnitude of G(jw) in dB is
G ( j ) dB 20log10 G ( j ) 20log10 1 2T 2
27/01/22
1
The phase of G(jw)=1+jwT is G ( j ) tan T
At very low frequencies, G ( j ) 0
At very high frequencies, G ( j ) 90
27/01/22
3. (b) Simple pole, 1/(1+jwT)
1
Consider the function G ( j )
1 jT
The magnitude of G(jw) in dB is
G ( j ) dB 20log10 G ( j ) 20log10 1 2T 2
27/01/22
1
G ( j )
[1 ( 2 n2 )] j 2 ( n )
The magnitude of G(jw) in dB is
G ( j ) dB 20log10 G ( j )
20log10 [1 ( 2 n2 )]2 4 2 ( n )2
At very low frequencies, / n 1
G ( j ) dB 20log10 1 0 dB The two lines
intersect at:
At very high frequencies, / n 1 n
4 (corner
G ( j ) dB 20log10 ( n ) 40log10 ( n ) dB
frequency)
This equation represents a straight line with a slope of
40 dB decade in the Bode plot coordinates.
27/01/22
The actual magnitude curve of G(jw) in this case may
differ strikingly from the asymptotic curve.
27/01/22
The phase of G(jw) is given by
2 2
G ( j ) tan 1 1
n n
27/01/22
Example Consider the following transfer function
10( s 10)
G( s)
s( s 2)( s 5)
Sketch its Bode Plot.
20.5
Magnitude (dB)
20
19.5
19
1
0.5
Phase (deg)
-0.5
-1
-1 0 1 2 3
10 10 10 10 10
27/01/22 Frequency (rad/sec)
2. Bode Plot of the component with pole at origin : jw
magnitude curve: a straight line with slope of 20 dB/decade,
passing through the w=1 rad/sec point on the 0-dB axis.
Bode Diagram
20
0
Magnitude (dB)
-20
-40
-60
-89
-89.5
Phase (deg)
-90
-90.5
-91
-1 0 1 2 3
27/01/22 10 10 10 10 10
Frequency (rad/sec)
3. Bode plot of simple zero component 1+j0.1w
Corner frequency: w=1/0.1=10 rad/sec
Bode Diagram
60
50
Magnitude (dB)
40
30
20
90
Phase (deg)
45
0
-1 0 1 2 3
10 10 10 10 10
27/01/22
Frequency (rad/sec)
4. Bode plot of simple pole componet 1/(1+j0.5w)
Corner frequency: w=1/0.5=2 rad/sec
Bode Diagram
0
-20
Magnitude (dB)
-40
-60
-80
0
Phase (deg)
-45
-90
-1 0 1 2 3
10 10 10 10 10
27/01/22 Frequency (rad/sec)
5. Bode plot of simple pole component 1/(1+j0.2w)
Corner frequency: w=1/0.2=5 rad/sec
Bode Diagram
-10
-20
Magnitude (dB)
-30
-40
-50
-60
0
Phase (deg)
-45
-90
-1 0 1 2 3
10 10 10 10 10
27/01/22
Frequency (rad/sec)
|G(jw)|dB is obtained
by adding the
component curves
together, point by
point.
Bode Plot:
Gain crossover
point: |G(jw)|dB
cross the 0-dB
axis
Phase crossover
point: where the
phase curve cross
the -180°axis.
27/01/22
Nyquist Plot (Polar Plot) :
The gain-crossover point is where G ( j ) 1 ,
The phase crossover point is where G ( j ) 180 .
27/01/22