Professional Documents
Culture Documents
UNIDAD III
Frequency-Domain Analysis
Prof. Raymundo Hernández Bárcenas 2020A 3.1 Frequency Response
1
2019/10/5
A ω ≤ ωc
M ( jω ) =
Frequency response M ( jω )
0 ω > ωc
The magnitude of M(jω) is
A
The frequency response of a system is defined G ( jω )
M ( jω ) =
as the steady-state response of the system to a 1 + G ( jω ) H ( jω )
sinusoidal input signal. G ( jω )
=
G(s) 1 + G ( jω ) H ( jω ) 0 ωc ω
r (t ) = R sin ω0t − y (t ) = Y sin(ω0t + φ )
Gain characteristic ω
0
H(s) The phase of M(jω) is
For a LTI system, when the input to it is a sinusoid signal, ∠M ( jω ) = φM ( jω )
the resulting output , as well as signals throughout the = ∠G ( jω ) − ∠ [1 + G ( jω ) H ( jω ) ]
system, is sinusoidal in the steady-state;
The output differs from the input waveform only in φM ( jω )
Phase characteristic Gain-phase characteristics
amplitude and phase. of an ideal low-pass filter
The closed-loop transfer function of the LTI Example. Frequency response of a Capacitor
system: Consider the capacitor described by the equation
Y ( s) G( s) dv
M ( s) = = i =C
R( s) 1 + G ( s) H ( s) dt
where v is the input and i is the output. Determine the
For frequency-domain analysis, we replace s
sinusoidal steady-state response of the capacitor.
by jω:
Y ( jω ) G ( jω ) Solution. The transfer function of the capacitor is
M ( jω ) = =
R ( jω ) 1 + G ( jω ) H ( jω ) I (s)
= M ( s ) = Cs
V ( s)
The frequency-domain transfer function M(jω)
may be expressed in terms of its magnitude and So M ( jω ) = Cjω
phase: Computing the magnitude and phase, we find that
M ( jω ) = M ( jω ) ∠M ( jω ) M ( jω ) = Cjω = Cω
magnitude phase
∠M ( jω ) = φM = 90
2
2019/10/5
frequency.
Define u = ω ωn
1
M ( ju ) =
1 + j 2ζ u − u 2
With ur = ωr ωn , we have ωr = ωn 1 − 2ζ 2
3
2019/10/5
1.0
BW = ωn [(1 − 2ζ 2 ) ± 4ζ 4 − 4ζ 2 + 2]1/2 0.9 0dB
0.3dB
0.1 t
0 0 BW ω
1 − 0.4167ζ + 2.917ζ 2
tr ≈
ωn BW = ωn [(1 − 2ζ ) + 4ζ − 4ζ + 2]1/2
2 4 2
For a prototype second-order system (ζ ≤ 0.707 ) Example. The specifications on a second-order unity-
feedback control system with the closed-loop transfer
M r depends on ζ only.
Resonant peak function Y ( s) ωn2
For ζ ≤ 0, the system is unstable; M ( s) = = 2
1 R ( s ) s + 2ζωn s + ωn2
Mr = For 0<ζ ≤ 0.707, ζ ↑ M r ↓;
2ζ 1 − ζ 2 are that the maximum overshoot must not exceed 10
For ζ ≥ 0.707, M r = 1
percent, and the rise time be less than 0.1 sec. Find the
Resonant frequency ωr depends on both ζ and ωn . corresponding limiting values of Mr and BW analytically.
Solution. Maximum overshoot:
For 0<ζ ≤ 0.707, ωn fixed, ζ ↑ ωr ↓;
ωr = ωn 1 − 2ζ 2
1−ζ 2
For ζ ≥ 0.707, ωr = 0. σ % = e −ζπ × 100% ≤ 10% ζ ≥ 0.6
1 − 0.4167ζ + 2.917ζ 2
Rise time: tr ≈ ≤ 0.1 (0 < ζ < 1)
Bandwidth BW = ωn [(1 − 2ζ 2 ) + 4ζ 4 − 4ζ 2 + 2]1/2 ωn
BW is directly proportional to ωn , ωn ↑ BW ↑ 2.917ζ 2 − 0.4167ζ + 1 − 0.1ωn ≤ 0
ζ ↑ BW ωn ↓ 0.4167 ± 0.4167 2 − 4 × 2.917 × (1 − 0.1ωn )
ζ 1,2 = ωn ≥ 18
For 0 ≤ ζ ≤ 0.707, ωn fixed, ζ ↑ BW ↓; 2 × 2.917
4
2019/10/5
Effects of adding a zero to the OL TF2 The general effect of adding a zero the open-loop
ωn transfer function is to increase the bandwidth of the
R( s) ωn2 Y ( s ) Open-loop TF:G ( s ) = s ( s + 2ζω ) closed-loop system.
n
Bode Diagram
s ( s + 2ζωn ) Closed-loop TF: 20
ωn = 1 0
Y ( s) G( s) ωn2
ζ = 0.2
Magnitude (dB)
M ( s) = = =
R ( s ) 1 + G ( s ) s 2 + 2ζωn s + ωn2 -20
-40 Tz=0
Adding a zero at s = −1 Tz Tz=0.2
-60
Tz=1
R( s) ωn2 Y (s) Tz=5
1 + Tz s Open-loop TF: -80
0
s ( s + 2ζωn )
(1 + Tz s )ωn2 -45
G (s) =
Phase (deg)
s ( s + 2ζωn ) -90
The additional
-135
zero changes
Closed-loop TF:φ ( s ) =
ωn2 (1 + Tz s ) both numerator -180
s + (2ζωn + Tzωn2 ) s + ωn2
2 and denominator. 10
-1
10
0
10
1
10
2
Frequency (rad/sec)
5
2019/10/5
R( s) 1 ωn2 Y (s)
1 + Tp s Open-loop TF:
s ( s + 2ζωn )
ωn2
G (s) =
s ( s + 2ζωn )(1 + Tp s )
ωn2
Closed-loop TF: φ ( s ) =
Tp s + (1 + 2ζωnTp ) s 2 + 2ζωn s + ωn2
3
ωn = 1
0 Tp=1 G(s)
Magnitude (dB)
Tp=5 −
ζ = 0.707 -50
-100
H(s)
-150
0
-45 Nyquist criterion is a semigraphical method that
determines the stability of a closed-loop system;
Phase (deg)
-90
-135
-180 Nyquist criterion allows us to determine the stability of a
-225 closed-loop system from the frequency-response of the
-270
-2 -1 0 1 2
loop function G(jw)H(j(w)
10 10 10 10 10
Frequency (rad/sec)
6
2019/10/5
Closed-loop stability: poles of the closed-loop TF or roots Point A is encircled once; Point C is enclosed once;
of the CE are all in the left-half s-plane. Point B is encircled twice. Point D is enclosed twice.
Definition of Encircled and Enclosed Mapping from the complex s-plane to the
Δ(s) -plane
Encircled: A point or region in a complex function plane is Exercise 1: Consider a function Δ(s) =s-1, please map a
said to be encircled by a closed path if it is found inside circle with a radius 1 centered at 1 from s-plane to the
the path. Δ(s)-plane .
Enclosed: A point or region in a complex function plane is jω j Im Δ( s)-plane
said to be enclosed by a closed path if it is encircled in the s-plane
Mapping
countclockwise(CCW) direction. s2 Δ ( s2 )
1
s3 s1 Δ( s3 )
B Point A is encircled in the
0 1 2 σ 0 Δ ( s1 ) Re[ Δ ( s )]
A closed path;
−1 Δ ( s4 )
Point A is also enclosed in the s4
closed path;
s1 = 2; s2 = 1 + j Δ( s1 ) = 1; Δ ( s2 ) = j
Γ
s3 = 0; s4 = 1 − j Δ( s3 ) = −1; Δ( s4 ) = − j
7
2019/10/5
8
2019/10/5
Nyquist Diagram
4
Imaginary Axis
5
R→∞ G( s) H ( s) G( s) H ( s) = 0
( s + 1) 3 -1
Nyquist plot
Γs (G(s)H(s) plot)
-3
-4
N - number of encirclements of (-1,j0) by the G(s)H(s) plot >>den=[1 3 3 1]; Question 2: what if
Z - number of zeros of Δ ( s ) that are inside the right-half plane >>nyquist(num,den); 5K
G( s) H ( s) = ?
P - number of poles of Δ( s ) that are inside the right-half plane ( s + 1)3
Question 1: is the
The condition of closed-loop stability according to the closed-loop system N=0, P=0,
Nyquist Creterion is: stable? N=-P, stable
N = −P
j =1
( s − pi ) For K* varies from 0
3
K* → ∞
to ∞, we draw the RL 2
∏ ( s − pi ) + K ∏ i =1 ( s − zi )
n m
j =1
Δ( s ) = 1 + G ( s ) H ( s ) = When K*=8 1
∏
n
( s − pi )
Imaginary Axis
j =1 (K=1.6), the RL ∞ ← K*
cross the jw-axis,
0
K* = 8
the closed-loop -1 K =0*
half plane. K* → ∞
-3
-4 -3 -2 -1 0 1 2
Real Axis
9
2019/10/5
2. With Nyquist plot and >>K=1; 2. With Nyquist plot and >>K=4;
Nyquist criterion: >>num=5*K; Nyquist criterion: >>num=5*K;
>>den=[1 3 3 1]; >>den=[1 3 3 1];
5K 5K
G( s) H ( s) = >>nyquist(num,den); G( s) H ( s) = >>nyquist(num,den);
( s + 1) 3 Nyquist Diagram
( s + 1) 3
4 Nyquist Diagram
K=1 K=4
15
No pole of No pole of 10
G(s)H(s) in RHP,
2
G(s)H(s) in RHP,
so P=0; so P=0;
5
1
Imaginary Axis
Imaginary Axis
0 0
Nyquist plot Nyquist plot
does not -1
encircles (-1,j0) -5
-15
Thus N=-P -4
-2 -1 0 1 2 3 4 5 Thus Z=N+P=2
-5 0
Real Axis
5 10 15 20
10
2019/10/5
Bode Diagram
15 transfer function
G1 ( jω ) = G2 ( jω )
Magnitude (dB)
10
N =0
5
For a closed-loop system with loop transfer function L(s)
0
that is of minimum-phase type, the system is closed-
180
loop stable , if the Nyquist plot (L(s) plot) that
135
∠G2 ( jω ) corresponds to the Nyquist path does not enclose (-1,j0)
Phase (deg)
90
point. If the (-1,j0) is enclosed by the Nyquist plot, the
system is unstable.
45
∠G1 ( jω )
0
-2 -1 0 1 2 3
10 10 10 10
Frequency (rad/sec)
10 10
The Nyquist stability can be checked by plotting the
A minimum-phase system (all zeros in the LHP) with a segment of L(jw) from w= ∞ to 0.
given magnitude curve will produce the smallest change
in the associated phase, as shown in G1.
11
2019/10/5
Im[ L( jω ) K ] = Im[
1
]=0
Relative Stability
ω = ± 20 rad / s
jω ( jω + 2)( jω + 10) Gain Margin and Phase Margin
The frequency is positive, so ω = 20 rad / s For a stable system, relative stability describes how stable
the system is.
1 In time-domain, the relative stability is measured by
L( j 20) K = = −0.004167
j 20( j 20 + 2)( j 20 + 10) maximum overshoot and damping ratio.
In frequency-domain, the relative j Im
1. K < 240 L( j 20) > −1
stability is measured by resonance
the Nyquist plot does not enclose (-1,jw); stable peak and how close the Nyquist plot
2. K = 240 L( j 20) = −1 of L(jw) is to the (-1,j0) point. ω=∞
the Nyquist plot goes through (-1,jw); marginally stable −1 Real
The relative stability of the 0
3. K > 240 L( j 20) < −1 blue curve is higher than the
unstable green curve. ω →0
the Nyquist plot encloses (-1,jw).
L( jω p )
0 K = 240 L(jw) as its loop transfer
function, its gain margin is ω→0
-5
defined as
-10
1
gain margin (GM) = 20log10
-15 L( jω p )
-20
-30 -25 -20 -15 -10 -5 0 5 10 = −20log10 L( jω p ) dB
Real Axis
12
2019/10/5
If the Nyquist plot of G(jw) intersects with the real axis, we have
Phase Margin (PM) Im[G ( jω )] = 0
10ω
(for minimum-phase loop transfer functions) 10 −10ω 2 10ω =0 ω =∞
G ( jω ) = = −j 4 ω4 + ω2
jω ( jω + 1) ω 4 + ω 2 ω + ω2
Gain margin alone is inadequate to indicate relative
stability when system parameters other the loop gain are This means that the G(jw) plot intersects only with the real axis of the
G(jw)-plane at the origin.
subject to variation. j Im
Similarly, intersection of G(jw) with the imaginary axis:
With the same gain margin,
system represented by plot A is Re[G ( jω )] = 0 ω =∞
more stable than plot B. ∠L( jω g ) which corresponds to the origin of the G(jw)-plane.
−1
Gain crossover frequency ωg Real The conclusion is that the Nyquist
PM 0 plot of G(jw) does not intersect any
L( jωg ) = 1 L( jωg ) = 1 one of the axes at any finite
nonzero frequency.
Phase margin: B A At w=∞, Re[G ( jω )] = 0
phase margin (PM) =∠L( jωg ) − 180 At w=0, Re[G ( jω )] = −10
13
2019/10/5
Phase margin:
PM =∠L( jωg ) − 180 = 31.72
14
2019/10/5
15
2019/10/5
Phase of ( jω ) ± p :
± p × 90
3. (a) Simple zero 1+jwT Consider the function The phase of G(jw)=1+jwT is ∠G ( jω ) = tan ωT
−1
G ( jω ) = 1 + jωT
where T is a positive real constant. At very low frequencies, ∠G ( jω ) ≅ 0
The magnitude of G(jw) in dB is At very high frequencies, ∠G ( jω ) ≅ 90
G ( jω ) dB = 20log10 G ( jω ) = 20log10 1 + ω 2T 2
16
2019/10/5
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
The two lines
G ( jω ) dB ≅ −20log10 1 = 0 dB
intersect at:
At very high frequencies, ω / ωn >> 1 ω = ωn
(corner
G ( jω ) dB ≅ −20log10 (ω ωn ) 4 = −40log10 (ω ωn ) dB frequency)
17
2019/10/5
The actual magnitude curve of G(jw) in this case may 10( s + 10)
G(s) =
differ strikingly from the asymptotic curve. s ( s + 2)( s + 5)
Sketch its Bode Plot.
∠G ( jω ) = − tan −1 1 −
ω ω 20.5
n n
Magnitude (dB)
20
19.5
19
1
0.5
Phase (deg)
-0.5
-1
-1 0 1 2 3
10 10 10 10 10
Frequency (rad/sec)
18
2019/10/5
2. Bode Plot of the component with pole at origin : jw 4. Bode plot of simple pole componet 1/(1+j0.5w)
magnitude curve: a straight line with slope of 20 dB/decade, Corner frequency: w=1/0.5=2 rad/sec
passing through the w=1 rad/sec point on the 0-dB axis. Bode Diagram
Bode Diagram 0
20
-20
Magnitude (dB)
0
Magnitude (dB)
-40
-20
-60
-40
-80
-60 0
-89
Phase (deg)
-89.5
Phase (deg)
-45
-90
-90.5
-90
-1 0 1 2 3
-91 10 10 10 10 10
-1 0 1 2 3
10 10 10 10 10 Frequency (rad/sec)
Frequency (rad/sec)
3. Bode plot of simple zero component 1+j0.1w 5. Bode plot of simple pole component 1/(1+j0.2w)
Corner frequency: w=1/0.1=10 rad/sec Corner frequency: w=1/0.2=5 rad/sec
Bode Diagram
60 Bode Diagram
-10
50 -20
Magnitude (dB)
Magnitude (dB)
-30
40
-40
30
-50
20 -60
90 0
Phase (deg)
Phase (deg)
45 -45
0 -90
-1 0 1 2 3 -1 0 1 2 3
10 10 10 10 10 10 10 10 10 10
19
2019/10/5
|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.
20