Frequency Response Techniques
Frequency Response Techniques
Techniques
Chapter 10
• Also
(c) 2017 Farrokh Sharifi 15
Introduction:
The Basic Concept of Frequency Response (section 10.1)
• The steady state response of a linear system to a sinusoidal input
is a sinusoid with the same frequency.
• Sinusoid: 𝑀1 cos 𝜔𝑡 + 𝜙1
can be represented as complex number: phasor.
Amplitude of the sinusoid M1 is the magnitude of the
complex number;
Phase of the sinusoid 1 is the angle of the complex number;
17
Introduction:
The Basic Concept of Frequency Response
• Consider a simple scenario:
I M i e(t i )
G Me
O IG M i Me(t i ) M o e(t o )
O M o e(t o ) M o (o i )
G ( t i )
e
I Mie Mi
Introduction:
The Basic Concept of Frequency Response
• We know that if the input signal {the force f (t)} is sinusoidal,
then the steady-state output response is sinusoid with the same
frequency (different magnitude and phase).
Note that both the magnitude M and the phase response are
functions of the frequency .
We study how the input will be varied to get an output at different
frequencies.
(c) 2019 Farrokh Sharifi 20
Introduction:
Analytical Expressions for Frequency Response
• Now consider a system with a general sinusoidal input in the
form
j i
c) by Euler’s formula M i ( ) i ( ) M i e
21
(c) 2019 Farrokh Sharifi
Introduction:
Analytical Expressions for Frequency Response
• The output C (s) of the system is
where
• K1 is the complex conjugate of K1
22
Introduction:
Analytical Expressions for Frequency Response
• The steady state response comes from the first two terms
(associated to the input sinusoid)
in dB: 20 log | G ( j ) | 20 log
1
20 log
4
2 2 4
G ( j ) (2 j ) ( 2 4) tan 1 ( ) 0 tan 1 ( )
2 2
(c) 2019 Farrokh Sharifi 26
Introduction:
Plotting Frequency Response
Example cont.:
• The magnitude diagram is is , and the
phase diagram is , both plotted over log.
As the frequency increases
The output amplitude will drop
27
Introduction:
Plotting Frequency Response
Example cont.:
• Polar plot:
1
2 M (2) 0.36, tan 1 (1) 45
8
1
1 M (1) 0.447, tan 1 (0.5) 26
5
28
Introduction:
Plotting Frequency Response
Example cont.:
• For = 1 rad/s, magnitude is 20log M 7 dB , with phase
of –26 degrees. It follows: M = 107/20 0.447 .
-26°
0.447
s s s s 2 s s2 s
K 0 1 1 1 2 2 1 1 2 2 m 1
L( s ) z1 z2 zm n1 n1 nm nm
N s s s s 2 s s2 s
s 1 1 1 2 2 1 1 2 2 n 1
p1 p2 pn n1 n1 nn
nn
3. Substitute s = j.
4. Expand the 20log10 | L j)| of the magnitude and add their contributions
one by one.
j j
20 log L( j ) 20 log K 0 20 log 1 20 log 1
z1 zm
2 2
20 log 2 j 2 1 1 20 log 2 j 2 m 1
n1 n1 nm nm
j j
20 log j 20 log 1 20 log 1
N
p1 pn
2 2
20 log 2 j 2 1 ' 1 20 log 2 j 2 n ' 1
n1 n1
nn nm
2
2 2
And 20dB/decade:
20log10 20log10 20log 20 20log 41
Asymptotic Approximations: Bode Plots
• Now consider the phase frequency response.
j
G ( j ) 1 tan 1
a a
• For = α , G( ja) ja a tan 1 a tan 1 1 45 .
a
• For ≈ 0, the phase is 0, and for a the phase is 90°.
• Start one decade below the break frequency, i.e. = 0.1 α , and
draw 45° line to one decade above the break frequency, = 10 α
42
Asymptotic Approximations: Bode Plots
• The maximum difference of the approximation for the magnitude is at the
break frequency.
• For the phase, the maximum difference is at one decade below and above the
break frequency.
2
2 2
n n n n
<< n 20 log M 20 log 1 0 G ( j ) tan 1 (0) 0
n 20 log M 20 log 2 G( j ) tan 1 () 90
>> n G ( j ) tan 1 ( 0) 180 47
Asymptotic Approximations: Bode Plots
Case 6 cont.:
20log( M )
48
Asymptotic Approximations: Bode Plots
• The actual and approximated plots for the second order
systems depend on the value of ζ, and when these values are
low the difference between the plots are increasing.
• Dip frequency at
d n 1 2 2 |G( jd ) |dB 20log(2 1 2 ) (dip only if 0 0.707)
50
(dip only if 0 0.707)
Asymptotic Approximations: Bode Plots
Case 7: second order polynomial in denominator
Similar to the previous example (opposite). G ( s) 1/ s 2 s 1
2
n
2
n
• Magnitude: – 40 dB/decade;
• Phase: from 0 to – 180°.
G ( s) e sT
G ( j ) e jT 20 log | e jT | 20 log1 0 dB No effect on amplitude
G( j ) T
Zero
Zero
3
( s / 3 1)
G(s) 2
s( s 1)( s / 2 1)
1
Zero
Zero
3
( s / 3 1)
G(s) 2
(c) 2019 Farrokh Sharifi s( s 1)( s / 2 1) 58
Asymptotic Approximations: Bode Plots
Example cont.:
Asymptotic Approximations: Bode Plots
• Example:
3
20 log 24.4dB
50
Asymptotic Approximations: Bode Plots
Example cont.:
Asymptotic Approximations: Bode Plots
Example: Phase plot (identify)
K s z1 s z2 s zm s 2 2 1n1s n21 s 2 s e
2 2
Td s
L( s ) G ( s ) H ( s ) N
m nm nm
3. Substitute s = j.
4. Expand the 20log10 | L j)| of the magnitude and add their contributions
one by one.
j j
20 log L( j ) 20 log K 0 20 log 1 20 log 1
z1 zm
2 2
20 log 2 j 2 1 1 20 log 2 j 2 m 1 0
n1 n1 nm nm
j j
20 log j 20 log 1 20 log 1
N
p1 pn
2 2
20 log 2 j 2 1 ' 1 20 log 2 j 2 n ' 1
n1 n1
nn nm
Asymptotic Approximations: Bode Plots
• a) Choose the frequency axis range (two decades below the smallest
frequency (× 0.01) and two decades above the largest frequency (×100).
• b) For a constant: 20log K0 constant
• c) For zero or pole at origin: 20log j N 20 N log
(lines of slopes N × 20 dB/decade passing through 1 rad/sec).
• d) For simple zero or pole 1 0 a
j
20 log 1
a 20 log a
a
(Locate corner frequency or break point = α , and draw line of
20dB/decade. Draw a horizontal line of 0 dB. Two lines intersect at = α )
• e) For quadratic zeros or poles
1 0 n
2
20 log 2 j 2 1
n n 40 log n
n
5. Expand the L( j ) of the phase and add their contributions one by one.
j j
L( j ) K 0 1 1
z1 zm
2 2
2 j 2 1 1 2 j 2 m 1 Td
n1 n1 nm nm
j j
j 1 1
N
1
p n
p
2 2
2 j 2 1 1 2 j 2 n 1
n1 n1
nn
nm
Asymptotic Approximations: Bode Plots
0 K0 0
• a) For a constant K 0
180 K 0 0
1
the damping ratio: 2 2 , 1.41
n 0.707 is high.
1
L( s) 1.5
s2 s
s 1 1
2 2
0 dB
-20 dB
-40 dB
3.5218 / (s/2+1)(s2/2+s+1)
-60 dB
2
1.41
0.1 1 10 100
Frequency (rad/s)
Asymptotic Approximations: Bode Plots
• Example cont.:
Step 5: For the phase contributions we have:
2
L( j ) 1.5 j / 2 1 j 1
2
2
0° at 0.141 rad/s and -180° at 14.1 rad/s (-90 deg/decade).
76
Asymptotic Approximations: Bode Plots
• Example cont.:
1
L( s) 1.5
s2 s
s 1 1
2 2 (c) 2019 Farrokh Sharifi 77
Asymptotic Approximations: Bode Plots
Bode Diagram
• Example cont.: Phase plot:
1/(s2/2+s+1) 1/(s/2+1)
0
Magnitude (dB)
-90
-180
-270
3.5218 / (s/2+1)(s2/2+s+1)
-360
0.141 14.1 20
0.2
0.1 1 10 100
Frequency (rad/s)
Asymptotic Approximations: Bode Plots
• Example cont.: For comparison the next figure shows the
Bode plots for the same example generated by MATLAB.
Bode Diagram
50
0
Magnitude (dB)
-50
-100
-150
0
-45
Phase (deg)
-90
-135
-180
-225
-270
-2 -1 0 1 2
10 10 10 10 10 79
Frequency (rad/sec)
Stability, gain margin and phase
margin via Bode plots
(section 10.7 in the book)
K 1
20 log M 20 log( ) 20 log
40 s s s
1 1 1
2 4 5 82
Stability, gain margin and phase
margin via Bode plots
Example cont.:
• For the magnitude plot: begin by setting K = 40 or in other
words plot 20logM +20log(K/40) , so that the magnitude at
the low frequencies is zero.
• Break points: 2, 4 and 5. GM=- 20 dB
PM=- 80 deg
7 rad/s
Stability, gain margin and phase
margin via Bode plots
Example cont.:
• From the previous figure we see that the phase angle of -180 is
at 7 rad/s.
• The magnitude at 7 rad/s is –20 dB. Therefore, to maintain less
than unity magnitude (equal to 0 dB) for stability, we can
increase the gain by up to 20 dB.
• What is the gain for the magnitude of 20 dB?
20 = 20 log x → 1 = log x → x = 10,
so the gain for 20 dB is 10.
• Remember that in the beginning we set K = 40, therefore the
range of the gain for stability of the system is:
0< K/40 < 10 or 0 < K < 40×10 = 400.
• The results from the actual plots are: = 6.16, K = 378.
→ good approximation. 84
Stability, gain margin and phase
margin via Bode plots
• Example: find the gain and phase margins for the previous
example with K = 200.
GM=-6.02
• The previous plot was for K=40
K=200 is 5 times more thus the
magnitude in 20 log will be
shifted 20log 5 =13.98 dB up.
The gain –20 dB +13.98 = – 6. 02 dB.
Gain margin: 6.02 dB