Professional Documents
Culture Documents
Variable-Frequency Network Performance: Learning Goals
Variable-Frequency Network Performance: Learning Goals
PERFORMANCE
LEARNING GOALS
Filter Networks
Networks with frequency selective characteristics:
low-pass, high-pass, band-pass
SINUSOIDAL FREQUENCY ANALYSIS
A0e j ( t + )
A0 H ( j )e j ( t + )
H (s)
B0 cos( t + ) B0 | H ( j ) | cos( t + + H ( j ) )
Circuit represented by
network function
To study the behavior of a network as a function of the frequency we analyze
the network function H ( j ) as a function of .
Notation
M ( ) =| H ( j ) |
( ) = H ( j )
H ( j ) = M ( )e j ( )
Plots of M ( ), ( ), as function of are generally called
magnitude and phase characteri stics.
20 log10 (M ( ))
BODE PLOTS vs log10 ( )
( )
HISTORY OF THE DECIBEL
P2
P2 |dB (over P1 ) = 10 log
P1
V2 V22 I 22
P=I R=2
P2 |dB (over P1 ) = 10 log 2 = 10 log 2
R V1 I1
V |dB = 20 log10 | V |
By extension I |dB = 20 log10 | I |
G |dB = 20 log10 | G |
K ( s + z )( s + z ) ... ( s + z )
G ( s) = 1 2 m
( s + p )( s + p ) ... ( s + p )
1 2 n
wlg
Poles, Zeros and the S-Plane
An Example: You are given the following transfer function. Show the
poles and zeros in the s-plane.
( s + 8)( s + 14)
G (s) =
s ( s + 4)( s + 10)
j axis
S - plane
origin
o x o x x
-14 -10 -8 -4 0 axis
wlg
Poles, Zeros and Bode Plots
K ( jw / z +1)
G ( jw) = B
( jw)( jw / p +1)
wlg
Poles, Zeros and Bode Plots
20logKB
20log|(jw/z +1)|
-20log|jw|
-20log|(jw/p + 1)|
wlg
Poles, Zeros and Bode Plots
20
-20db/dec
-20
=1
wlg
Poles, Zeros and Bode Plots
20
0
-20db/dec
-20
-40
=p wlg
Poles, Zeros and Bode Plots
Mechanics: When we have a term of 20log|(jw/z + 1)| we
approximate it be a straight line of slop 0 dB/dec
when w < z. We approximate it as 20log(w/z)
when w > z, which is a straight line on Bode paper
with a slope of + 20dB/dec. Illustrated below.
20
+20db/dec
0
-20
-40
=z
wlg
Example 1:
First: Always, always, always get the poles and zeros in a form such that
the constants are associated with the jw terms. In the above example
we do this by factoring out the 10 in the numerator and the 500 in the
denominator.
Second: When you have neither poles nor zeros at 0, start the Bode
at 20log10K = 20log10100 = 40 dB in this case.
wlg
Example 1: (continued)
Third: Observe the order in which the poles and zeros occur.
This is the secret of being able to quickly sketch the Bode.
In this example we first have a pole occurring at 1 which
causes the Bode to break at 1 and slope 20 dB/dec.
Next, we see a zero occurs at 10 and this causes a
slope of +20 dB/dec which cancels out the 20 dB/dec,
resulting in a flat line ( 0 db/dec). Finally, we have a
pole that occurs at w = 500 which causes the Bode
to slope down at 20 dB/dec.
40
20
-20
-60
-60
0.1 1 10 (rad/sec) 1000
100 10000
(rad/sec)
wlg
Using Matlab For Frequency Response
From: U(1)
40
30
20
P has e (deg); M agnitude (dB )
10
-10
1 10 100 500
0
-20
-40
To: Y (1)
-60
100(1 + jw / 10)
-80 Bode for: G ( jw) =
(1 + jw)(1 + jw / 500)
-100
10 -1 10 0 10 1 10 2 10 3 10 4
Frequenc y (rad/sec )
wlg
Phase for Bode Plots
Comment: Generally, the phase for a Bode plot is not as easy to draw
or approximate as the magnitude. In this course we will use
an analytical method for determining the phase if we want to
make a sketch of the phase.
wlg
Bode Plots
Example 2: Given the transfer function. Plot the Bode magnitude.
100(1 + s / 10)
G (s) =
s (1 + s / 100)
2
The is
40
-20db/dec a tentative line we use
dB 20 until we encounter the
first pole(s) or zero(s)
0
not at the origin.
-20
wlg
1 (rad/sec)
Bode Plots
Example 2: (continued) The completed plot is shown below.
100(1 + s / 10)
G (s) =
s (1 + s / 100)
2
1 1 1 1 1 1
60
-20db/dec
40
20
-20
100(1 + s / 10)
G (s) =
-40 s (1 + s / 100)
2
-60
0.1 1 10 100 1000
wlg
(rad/sec)
Bode Plots
Example 3:
80(1 + jw)3
Given: G( s) = 20log80 = 38 dB
( jw)3 (1 + jw / 20)2
1 1 1 1 1 1
-60 dB/dec
60
dB Mag 40
-40 dB/dec
20
-20 .
(rad/sec)
Bode Plots
Example 4:
10(1 jw / 2)
Given: G ( jw) =
(1 + j 0.025w)(1 + jw / 500) 2
1 1 1 1 1 1
60
40
+ 20 dB/dec
20 -40 dB/dec
-60
2
0.1 1 10 100 1000 wlg
(rad/sec)
Bode Plots
Given:
(1 + jw / 30) (1+ jw / 100)
2 2
G ( jw) =
(1+ jw / 2) (1+ jw / 1700)
2 2
Example 5
1 1 1 1 1 1
60
40
20
-40 dB/dec
-20 Sort of a low
pass filter
+ 40 dB/dec
-40
-60
0.1 1 10 100 1000 wlg
(rad/sec)
Bode Plots
Example 6
640( jw + 1)(0.01 jw + 1) 64( jw + 1)(0.01 jw + 1)
H ( jw) = =
( jw) ( jw + 10)
2
( jw) (0.1 jw + 1)
2
.
-40dB/dec
40 . -20db/dec
20
.
-40dB/dec
0
dB mag
-20 . -20dB/dec
-40 .
Design Problem: Design a G(s) that has the following Bode plot.
Example 7
40
30 dB
20
+40 dB/dec -40dB/dec
0
dB mag
? ?
30 900
0.1 1 10 100 1000 wlg
rad/sec
Bode Plots
Procedure: The two break frequencies need to be found. Recall:
#dec = log10[w2/w1]
Then we have:
(#dec)( 40dB/dec) = 30 dB
Also:
wlg
Bode Plots
Procedure:
(1 + s / 5.3) 2 (1 + s / 5060) 2
G( s) =
(1 + s / 30) 2 (1 + s / 900) 2
Clearing:
( s + 5.3) 2 ( s + 5060) 2
G( s) =
( s + 30)2 ( s + 900)2
s4 s3 s2 s1 s0
wlg
Bode Plots
Procedure: The final G(s) is given by;
G ( s) =
( s + 1860 s + 9.189e s + 5.022e s + 7.29e )
4 3 2 2 7 8
Testing: We now want to test the filter. We will check it at = 5.3 rad/sec
And = 164. At = 5.3 the filter has a gain of 6 dB or about 2.
At = 164 the filter has a gain of 30 dB or about 31.6.
wlg
Matlab (Simulink) Model:
wlg
Filter Output at = 5.3 rad/sec
Not to scale
68
20 db/dec
-20 db/dec
30
20 db/dec
dB
1 110 850
wlg
Reverse Bode Plot
Required:
From the partial Bode diagram, determine the transfer function
Example 9 (Assume a minimum phase system)
100 dB
-40 dB/dec
Not to scale
50 dB
-20 dB/dec
-20 dB/dec
10 dB
-40 dB/dec
0.5 40 300
wlg
w (rad/sec)
Appendix
General form of a network function showing basic terms
K 0 ( j ) N (1 + j1 )[1 + 2 3 ( j 3 ) + ( j 3 ) 2 ]...
H ( j ) =
(1 + j a )[1 + 2 b ( j b ) + ( j b ) 2 ]...
answer
1 2 b b
1
tan a tan ...
1 ( b ) 2
Simple pole
Quadratic pole or zero t 2 = [1 + 2 ( j ) + ( j ) ] = [1 + 2 ( j ) ( ) ]
2 2
2
| t 2 |dB = 20 log10 (1 ( ) )
2 2
+ (2 )
2 t 2 = tan 1
1 ( ) 2
<< 1 | t 2 |dB 0 low frequency asymptote t 2 0
>>1 | t 2 |dB 20 log10 ( ) 2 high freq. asymptote 40dB/dec t 2 180
= 1 | t 2 |dB = 20 log10 ( 2 ) Corner/break frequency t 2 = 90
= 1 2 2 | t 2 |dB = 20 log10 2 1 2 Resonance frequency 1 2 2 2
t 2 = tan 1
2
These graphs are inverted for a zero
dB
40
20 10 |dB
20dB / dec
0
20 dB / dec
20
90
45 / dec
45 / dec
90
0.1 1 10 100 1000
asymptotes
LEARNING EXAMPLE Generate magnitude and phase plots
25( j + 1)
Draw asymptotes for each Gv ( j ) = Breaks (corners) : 1, 10
( j ) 2 (0.1 j + 1)
Form composites
dB
40
28dB
20
0
40dB / dec
20
45 / dec
90
45
90
180
270
0.1 1 10 100
Final results . . . And an extra hint on poles at the origin
dB
40 dB
dec 20
dec
dB
40
1 dec
K0
= 0 = ( K 0 )2
( j ) 2 dB
LEARNING EXTENSION Sketch the magnitude characteristic
104 ( j + 2) breaks : 2, 10, 100
G ( j ) =
( j + 10)( j + 100) But the function is NOT in standard form
Put in standard form G ( j ) =
20( j / 2 + 1) We need to show about
( j / 10 + 1)( j / 100 + 1) 4 decades
dB
40
25 |dB
20
0
20
90
90
1 10 100 1000
LEARNING EXTENSION Sketch the magnitude characteristic
100(0.02 j + 1 It is in standard form
G ( j ) =
( j ) 2 break at 50
Double pole at the origin
dB
40
20
0
20
90
90
270
1 10 100 1000
Once each term is drawn we form the composites
LEARNING EXTENSION Sketch the magnitude characteristic
Put in standard form 10 j not in standard form
G ( j ) =
j ( j + 1)( j + 10) zero at the origin
G ( j ) =
( j + 1)( j / 10 + 1) breaks : 1, 10
dB
40
20
0
20dB / dec
20 20dB / dec
90
90
270
0.1 1 100
10
Once each term is drawn we form the composites
LEARNING EXAMPLE A function with complex conjugate poles
25 j
t 2 = [1 + 2 ( j ) + ( j ) 2 ] G ( j ) =
[
( j + 0.5) ( j ) 2 + 4 j + 100 ] 2 = 1 / 25
= 0.2
Put in standard form 0.5 j = 0.1
G ( j ) =
[
( j / 0.5 + 1) ( j / 10) 2 + j / 25 + 1]
Draw composite asymptote
dB
40
20
= 1 | t 2 |dB = 20 log10 (2 )
0
8dB
20
90
90
Behavior close to corner of conjugate pole/zero
is too dependent on damping ratio.
Computer evaluation is better
270
0.01 0.1 1 10 100
Evaluation of frequency response using MATLAB Using default options
25 j
G ( j ) =
[
( j + 0.5) ( j ) 2 + 4 j + 100 ]
num=[25,0]; %define numerator polynomial
den=conv([1,0.5],[1,4,100]) %use CONV for polynomial multiplication
den =
1.0000 4.5000 102.0000 50.0000
freqs(num,den)
Evaluation of frequency response using MATLAB User controlled
25 j
G ( j ) =
[
( j + 0.5) ( j ) 2 + 4 j + 100 ]
>> clear all; close all %clear workspace and close any open figure
>> figure(1) %open one figure window (not STRICTLY necessary)
>> w=logspace(-1,3,200);%define x-axis, [10^{-1} - 10^3], 200pts total
>> G=25*j*w./((j*w+0.5).*((j*w).^2+4*j*w+100)); %compute transfer function
>> subplot(211) %divide figure in two. This is top part
>> semilogx(w,20*log10(abs(G))); %put magnitude here
>> grid %put a grid and give proper title and labels
>> ylabel('|G(j\omega)|(dB)'), title('Bode Plot: Magnitude response')
Evaluation of frequency response using MATLAB User controlled Continued
90
12 270
0.1 1 100
10
0.2( j + 1)
G ( j ) =
j [( j / 12) 2 + j / 36 + 1]
num=0.2*[1,1];
den=conv([1,0],[1/144,1/36,1]);
freqs(num,den)
DETERMINING THE TRANSFER FUNCTION FROM THE BODE PLOT
D. Zero at 50
E. Pole at 100
5( j / 5 + 1)( j / 50 + 1)
G ( j ) =
j ( j / 20 + 1)( j / 100 + 1)
Sinusoidal
DESIGN EXAMPLE BASS-BOOST AMPLIFIER
DESIRED BODE PLOT
(non-inverting op-amp)
500
f =
P
2
OPEN SWITCH
(6dB)
Switch closed??
DESIGN EXAMPLE TREBLE BOOST
Original player response Desired boost
Design equations