SlideShare a Scribd company logo
Introduction to Bode Plot
• 2 plots – both have logarithm of frequency on x-axis
o y-axis magnitude of transfer function, H(s), in dB
o y-axis phase angle
The plot can be used to interpret how the input affects the output in both magnitude and phase over
frequency.
Where do the Bode diagram lines comes from?
1) Determine the Transfer Function of the system:
)
(
)
(
)
(
1
1
p
s
s
z
s
K
s
H
+
+
=
2) Rewrite it by factoring both the numerator and denominator into the standard form
)
1
(
)
1
(
)
(
1
1
1
1
+
+
=
p
s
sp
z
s
Kz
s
H
where the z s are called zeros and the p s are called poles.
3) Replace s with j? . Then find the Magnitude of the Transfer Function.
)
1
(
)
1
(
)
(
1
1
1
1
+
+
=
p
jw
jwp
z
jw
Kz
jw
H
If we take the log10 of this magnitude and multiply it by 20 it takes on the form of
20 log10 (H(jw)) =










+
+
)
1
(
)
1
(
log
20
1
1
1
1
10
p
jw
jwp
z
jw
Kz
=
)
1
(
log
20
log
20
log
20
)
1
(
log
20
log
20
log
20
1
10
10
1
10
1
10
1
10
10 +
−
−
−
+
+
+ z
jw
jw
p
z
jw
z
K
Each of these individual terms is very easy to show on a logarithmic plot. The entire Bode log magnitude plot is
the result of the superposition of all the straight line terms. This means with a little practice, we can quickly sket
the effect of each term and quickly find the overall effect. To do this we have to understand the effect of the
different types of terms.
These include: 1) Constant terms K
2) Poles and Zeros at the origin | j? |
3) Poles and Zeros not at the origin
1
1
p
j ω
+ or
1
1
z
j ω
+
4) Complex Poles and Zeros (addressed later)
Effect of Constant Terms:
Constant terms such as K contribute a straight horizontal line of magnitude 20 log10(K)
H = K
Effect of Individual Zeros and Poles at the origin:
A zero at the origin occurs when there is an s or j? multiplying the numerator. Each occurrence of this
causes a positively sloped line passing through ? = 1 with a rise of 20 db over a decade.
H = | ω
j |
A pole at the origin occurs when there are s or j? multiplying the denominator. Each occurrence of this
causes a negatively sloped line passing through ? = 1 with a drop of 20 db over a decade.
H =
ω
j
1
Effect of Individual Zeros and Poles Not at the Origin
Zeros and Poles not at the origin are indicated by the (1+j? /zi) and (1+j? /pi). The values
zi and pi in each of these expression is called a critical frequency (or break frequency). Below their critical
frequency these terms do not contribute to the log magnitude of the overall plot. Above the critical
frequency, they represent a ramp function of 20 db per decade. Zeros give a positive slope. Poles produce a
negative slope.
H =
i
i
p
j
z
j
ω
ω
+
+
1
1
20 log10(K)
?
0.1 1 10 100
(log scale)
20 log10(H)
?
0.1 1 10 100
(log10 scale)
20 log(H)
-20 db
dec.
dec.
+20 db
zi
pi
-20 db
?
0.1 1 10 100
(log scale)
20 log(H)
dec
?
0.1 1 10 100
(log scale)
20 log(H)
20 db
dec
• To complete the log magnitude vs. frequency plot of a Bode diagram, we superpositionall the lines
of the different terms on the same plot.
Example 1:
For the transfer function given, sketch the Bode log magnitude diagram which shows howthe log
magnitude of the system is affected by changing input frequency. (TF=transfer function)
1
2 100
TF
s
=
+
Step 1: Repose the equation in Bode plot form:
1
100
1
50
TF
s
 
 
 
=
+
recognized as
1
1
1
K
TF
s
p
=
+
with K = 0.01 and p1 = 50
For the constant, K: 20 log10(0.01) = -40
For the pole, with critical frequency, p1:
Example 2:
Your turn. Find the Bode log magnitude plot for the transfer function,
4
2
5 10
505 2500
x s
TF
s s
=
+ +
Start by simplifying the transfer function form:
50
-40 db
0db ? (log scale)
20 log10(MF)
Example 2 Solution:
Your turn. Find the Bode log magnitude plot for the transfer function,
4
2
5 10
505 2500
x s
TF
s s
=
+ +
Simplify transfer function form:
4
4
5 10
5 10 20
5*500
( 5)( 500) ( 1)( 1) ( 1)( 1)
5 500 5 500
x
s
x s s
TF
s s s s
s s
= = =
+ + + + + +
Recognize: K = 20 à 20 log10(20) = 26.02
1 zero at the origin
2 poles: at p1 = 5 and p2=500
Technique to get started:
1) Draw the line of each individual term on the graph
2) Follow the combined pole-zero at the origin line back to the left side of the graph.
3) Add the constant offset, 20 log10(K), to the value where the pole/zero at the origin line intersects the left
side of the graph.
4) Apply the effect of the poles/zeros not at the origin. working from left (low values) to right (higher
values) of the poles/zeros.
0 db
-40 db
100
80 db
-80 db
40 db
103
102
101
? (log scale)
Example 3: One more time. This one is harder. Find the Bode log magnitude plot for the transfer function,
200( 20)
(2 1)( 40)
s
TF
s s s
+
=
+ +
Simplify transfer function form:
0 db
-40 db
100
80 db
-80 db
40 db
103
102
101
20log10(TF)
? (log scale)
0 db
-40 db
100
80 db
-80 db
40 db
103
102
101
? (log scale)
Technique to get started:
1) Draw the line of each individual term on the graph
2) Follow the combined pole-zero at the origin line back to the left side of the graph.
3) Add the constant offset, 20 log10(K), to the value where the pole/zero at the origin line intersects the left
side of the graph.
4) Apply the effect of the poles/zeros not at the origin. working from left (low values) to right (higher
values) of the poles/zeros.
Example 3 Solution: Find the Bode log magnitude plot for the transfer function,
200( 20)
(2 1)( 40)
s
TF
s s s
+
=
+ +
Simplify transfer function form:
200*20
( 1) 100 ( 1)
200( 20) 40 20 20
(2 1)( 40) ( 1)( 1) ( 1)( 1)
0.5 40 0.5 40
s s
s
TF
s s s s
s s s s s
+ +
+
= = =
+ + + + + +
Recognize: K = 100 à 20 log10(100) = 40
1 pole at the origin
1 zero at z1 = 20
2 poles: at p1 = 0.5 and p2=40
0 db
-40 db
100
80 db
-80 db
40 db
103
102
101
20log10(TF)
40 db/dec
20 db/dec
20 db/dec
40 db/dec
? (log scale)
Technique to get started:
1) Draw the line of each individual term on the graph
2) Follow the combined pole-zero at the origin line back to the left side of the graph.
3) Add the constant offset, 20 log10(K), to the value where the pole/zero at the origin line intersects the left
side of the graph.
4) Apply the effect of the poles/zeros not at the origin. working from left (low values) to right (higher
values) of the poles/zeros.
The plot of the log magnitude vs. input frequency is only half of the story.
We also need to be able to plot the phase angle vs. input frequency on a log scale as well to complete the
full Bode diagram..
For our original transfer function,
)
1
(
)
1
(
)
(
1
1
1
1
+
+
=
p
jw
jwp
z
jw
Kz
jw
H
the cumulative phase angle associated with this function are given by
)
1
(
)
1
(
)
(
1
1
1
1
+
∠
∠
∠
+
∠
∠
∠
=
∠
p
jw
p
jw
z
jw
z
K
jw
H
Then the cumulative phase angle as a function of the input frequency may be written as





 +
−
−
−
+
+
+
∠
=
∠ )
1
(
)
(
)
1
(
)
(
1
1
1
1 p
jw
p
jw
z
jw
z
K
jw
H
Once again, to show the phase plot of the Bode diagram, lines can be drawn for each of the different terms.
Then the total effect may be found by superposition.
Effect of Constants on Phase:
A positive constant, K>0, has no effect on phase. A negative constant, K<0, will set up a phase shift of
±180o
. (Remember real vs imaginary plots – a negative real number is at ±180o
relative to the origin)
Effect of Zeros at the origin on Phase Angle:
Zeros at the origin, s, cause a constant +90 degree shift for each zero.
∠ TF
Effect of Poles at the origin on Phase Angle:
Poles at the origin, s -1
, cause a constant -90 degree shift for each pole.
∠ TF
? (log)
+90 deg
?
-90 deg
Effect of Zeros not at the origin on Phase Angle:
Zeros not at the origin, like
1
1
z
j ω
+ , have no phase shift for frequencies much lower than zi, have a +
45 deg shift at z1, and have a +90 deg shift for frequencies much higherthan z1.
∠ H
.
To draw the lines for this type of term, the transition from 0o
to +90o
is drawn over 2 decades, starting at
0.1z1 and ending at 10z1.
Effect of Poles not at the origin onPhase Angle:
Poles not at the origin, like
1
1
1
p
jω
+
, have no phase shift for frequencies much lower than pi, have a -
45 deg shift at p1, and have a -90 deg shift for frequencies much higherthan p1.
∠ TF
.
To draw the lines for this type of term, the transition from 0o
to -90o
is drawn over 2 decades, starting at
0.1p1 and ending at 10p1.
When drawing the phase angle shift for not-at-the-origin zeros and poles, first locate the criticalfrequency
of the zero or pole. Then start the transition 1 decade before, following a slope of
±45o
/decade. Continue the transition until reaching the frequency one decade past the critical frequency.
Now let’s complete the Bode Phase diagrams for the previous examples:
?
0.1z1 1z1 10z1 100z1
+90 deg
+45 deg
?
0.1p1 1p1 10p1 100p1
-90 deg
-45 deg
Example 1:
For the Transfer Function given, sketch the Bode diagram which shows how the phase of the system is
affected by changing input frequency.
1 (1/100)
2 100 ( 1)
50
TF
s
s
= =
+ +
20 log|TF|
TF
+90
-90
-40db
50
5 500 rad/s
?
?
0.5
Example 2:
Repeat for the transfer function,
20log|TF|
4
2
5 10 20
505 2500 ( 1)( 1)
5 500
x s s
TF
s s
s s
= =
+ + + +
0 db
-40 db
100
80 db
-80 db
40 db
103
102
101
? (log scale)
0o
-90o
100
180o
-180o
90o
103
102
101
? (log scale)
20 log10(MF)
Phase Angle
Example 2 Solution:
Repeat for the transfer function,
20log|TF|
4
2
5 10 20
505 2500 ( 1)( 1)
5 500
x s s
TF
s s
s s
= =
+ + + +
0 db
-40 db
100
80 db
-80 db
40 db
103
102
101
? (log scale)
0o
-90o
100
180o
-180o
90o
103
102
101
? (log scale)
20 log10(MF)
Phase Angle
Example 3: Find the Bode log magnitude and phase angle plot for the transfer function,
100 ( 1)
200( 20) 20
(2 1)( 40) ( 1)( 1)
0.5 40
s
s
TF
s s
s s s s
+
+
= =
+ + + +
0 db
-40 db
10-1
80 db
-80 db
40 db
102
101
100
? (log scale)
0o
-90o
10-1
180o
-180o
90o
102
101
100
? (log scale)
20 log10(MF)
Phase Angle
Example 3: Find the Bode log magnitude and phase angle plot for the transfer function,
100 ( 1)
200( 20) 20
(2 1)( 40) ( 1)( 1)
0.5 40
s
s
TF
s s
s s s s
+
+
= =
+ + + +
0 db
-40 db
10-1
80 db
-80 db
40 db
102
101
100
? (log scale)
0o
-90o
10-1
180o
-180o
90o
102
101
100
? (log scale)
20 log10(MF)
Phase Angle
Example 4:
Sketch the Bode plot (Magnitude and Phase Angle) for
3
100 10 ( 1)
( 10)( 1000)
s
TF
s s
× +
=
+ +
=
20log10|TF|
Angle of TF
Example 4:
Sketch the Bode plot (Magnitude and Phase Angle) for
3
100 10 ( 1)
( 10)( 1000)
s
TF
s s
× +
=
+ +
=
10( 1)
1
( 1)( 1)
10 1000
s
s s
+
+ +
Therefore: K = 10 so 20log10(10) = 20 db
One zero: z1 = 1
Two poles: p1 = 10 and p2 = 1000
20log10|TF|
Angle of TF
40
20
0 db
-20
-40
10-2
10-1
100
101
102
103
104
10-2
10-1
100
101
102
103
104
180
90
0 deg
-90
-180
Matlab can also be used to draw Bode plots:
Matlab (with the sketched Bode Plot superimposed on the actual plot)
3
100 10 ( 1)
( 10)( 1000)
s
TF
s s
× +
=
+ +
w=logspace(-1,5,100); %setup for x-axis
MagH=100000*sqrt(w.^2+1^2)./(sqrt(w.^2+10^2).*sqrt(w.^2+1000^2));
%transfer function
MagHdb=20*log10(MagH); %transfer functionconverted to dB
PhaseHRad=atan(w/1)-atan(w/10)-atan(w/1000); %phase done in radians
PhaseHDeg=PhaseHRad*180/pi; %phase done in degrees
subplot(2,1,1)
semilogx(w,MagHdb,':b',x,y,'-b') %semilog plot
xlabel('frequency [rad/s]'),ylabel('20 log10(|TF|) [db]'),grid %xaxis label
subplot(2,1,2)
semilogx(w,PhaseHDeg,':b',xAng,yAngDeg,'-b')
xlabel('frequency [rad/s]'),ylabel('Phase Angle [deg]'),grid
10
-2
10
0
10
2
10
4
10
6
-20
-10
0
10
20
30
40
frequency [rad/s]
20
log10(|TF|)
[db]
10
-2
10
0
10
2
10
4
10
6
-100
-50
0
50
100
frequency [rad/s]
Phase
Angle
[deg]
Notice that the actual plot does not follow the sketched plot exactly. There is error between our sketched
method and the actual Bode plot. How much error is expected?
Let’s look at an example of a zero, )
10
1
(
s
TF +
= . Note, ? critical = 10 rad/s
The largest error that occurs on the Magnitude plot is right at the critical frequency. It is on the order of 3
db.
10
-1
10
0
10
1
10
2
10
3
0
10
20
30
40
50
frequency [rad/s]
20
log10(|TF|)
[db]
10
-1
10
0
10
1
10
2
10
3
0
20
40
60
80
100
frequency [rad/s]
Phase
Angle
[deg]
The largest error that is shown on the Phase plot occurs at 0.1? critical and 10? critical (one decade above and
below the critical frequency). Error at these points is about 6 degrees.
It’s understood that sketching the Bode diagrams will contain some error but this is generally considered
acceptable practice.
To quickly sketch the graphs:
1. Determine the starting value: |H(0)|
2. Determine all critical frequencies (break frequencies). Start from the lowest value and draw the graphs
as follows:
Magnitude Phase (create slope 1
decade below to 1 decade
above ωcritical)
Pole is negative -20dB/dec -45o
Pole is positive -20dB/dec +45o
Zero is negative +20dB/dec +45o
Zero is positive +20dB/dec -45o
Add each value to the previous value.
Examples:
1. H(s) = |H(0)| = |0+1/0+10 = 1/10 |= |0.1| => -20dB
Critical frequencies: zero@ -1 and pole @ -10
Magnitude Plot Phase Plot
The dotted line is a more accurate representation.
2. H(s) = |H(0)| = |10*(-1)/(-3)(-10) |= |-1/3| = 1/3 => -10dB
Note that the angle of (-1/3 real value) is 180o
critical frequencies: zero @ 1, pole@3 and 10

More Related Content

Similar to bodeplot.pdf

Signals and Systems Assignment Help
Signals and Systems Assignment HelpSignals and Systems Assignment Help
Signals and Systems Assignment Help
Matlab Assignment Experts
 
Lecture4
Lecture4Lecture4
Lecture4
deepthy26
 
Bode plot
Bode plotBode plot
Bode plot
Mrunal Deshkar
 
Online Signals and Systems Assignment Help
Online Signals and Systems Assignment HelpOnline Signals and Systems Assignment Help
Online Signals and Systems Assignment Help
Matlab Assignment Experts
 
Diffusion Schrödinger bridges for score-based generative modeling
Diffusion Schrödinger bridges for score-based generative modelingDiffusion Schrödinger bridges for score-based generative modeling
Diffusion Schrödinger bridges for score-based generative modeling
JeremyHeng10
 
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Amr E. Mohamed
 
Diffusion Schrödinger bridges for score-based generative modeling
Diffusion Schrödinger bridges for score-based generative modelingDiffusion Schrödinger bridges for score-based generative modeling
Diffusion Schrödinger bridges for score-based generative modeling
JeremyHeng10
 
Workshop presentations l_bworkshop_reis
Workshop presentations l_bworkshop_reisWorkshop presentations l_bworkshop_reis
Workshop presentations l_bworkshop_reis
Tim Reis
 
EE301 Lesson 15 Phasors Complex Numbers and Impedance (2).ppt
EE301 Lesson 15 Phasors Complex Numbers and Impedance (2).pptEE301 Lesson 15 Phasors Complex Numbers and Impedance (2).ppt
EE301 Lesson 15 Phasors Complex Numbers and Impedance (2).ppt
RyanAnderson41811
 
3306565.ppt
3306565.ppt3306565.ppt
3306565.ppt
JP Chicano
 
Problem Solving by Computer Finite Element Method
Problem Solving by Computer Finite Element MethodProblem Solving by Computer Finite Element Method
Problem Solving by Computer Finite Element Method
Peter Herbert
 
Signal Processing Homework Help
Signal Processing Homework HelpSignal Processing Homework Help
Signal Processing Homework Help
Matlab Assignment Experts
 
ALC-Prac-10A.pdfMAT2ALC Practice Class 10A Turing Machines.docx
ALC-Prac-10A.pdfMAT2ALC Practice Class 10A Turing Machines.docxALC-Prac-10A.pdfMAT2ALC Practice Class 10A Turing Machines.docx
ALC-Prac-10A.pdfMAT2ALC Practice Class 10A Turing Machines.docx
nettletondevon
 
Laplace transforms
Laplace transformsLaplace transforms
Laplace transforms
Awais Chaudhary
 
Conversion of transfer function to canonical state variable models
Conversion of transfer function to canonical state variable modelsConversion of transfer function to canonical state variable models
Conversion of transfer function to canonical state variable models
Jyoti Singh
 
A Simple Communication System Design Lab #3 with MATLAB Simulink
A Simple Communication System Design Lab #3 with MATLAB SimulinkA Simple Communication System Design Lab #3 with MATLAB Simulink
A Simple Communication System Design Lab #3 with MATLAB Simulink
Jaewook. Kang
 
Ec gate 13
Ec gate 13Ec gate 13
Ec gate 13
Ashish Sharma
 
Cse41
Cse41Cse41
Varibale frequency response lecturer 2 - audio+
Varibale frequency response   lecturer 2 - audio+Varibale frequency response   lecturer 2 - audio+
Varibale frequency response lecturer 2 - audio+
Jawad Khan
 
Signals and Systems Assignment Help
Signals and Systems Assignment HelpSignals and Systems Assignment Help
Signals and Systems Assignment Help
Matlab Assignment Experts
 

Similar to bodeplot.pdf (20)

Signals and Systems Assignment Help
Signals and Systems Assignment HelpSignals and Systems Assignment Help
Signals and Systems Assignment Help
 
Lecture4
Lecture4Lecture4
Lecture4
 
Bode plot
Bode plotBode plot
Bode plot
 
Online Signals and Systems Assignment Help
Online Signals and Systems Assignment HelpOnline Signals and Systems Assignment Help
Online Signals and Systems Assignment Help
 
Diffusion Schrödinger bridges for score-based generative modeling
Diffusion Schrödinger bridges for score-based generative modelingDiffusion Schrödinger bridges for score-based generative modeling
Diffusion Schrödinger bridges for score-based generative modeling
 
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
 
Diffusion Schrödinger bridges for score-based generative modeling
Diffusion Schrödinger bridges for score-based generative modelingDiffusion Schrödinger bridges for score-based generative modeling
Diffusion Schrödinger bridges for score-based generative modeling
 
Workshop presentations l_bworkshop_reis
Workshop presentations l_bworkshop_reisWorkshop presentations l_bworkshop_reis
Workshop presentations l_bworkshop_reis
 
EE301 Lesson 15 Phasors Complex Numbers and Impedance (2).ppt
EE301 Lesson 15 Phasors Complex Numbers and Impedance (2).pptEE301 Lesson 15 Phasors Complex Numbers and Impedance (2).ppt
EE301 Lesson 15 Phasors Complex Numbers and Impedance (2).ppt
 
3306565.ppt
3306565.ppt3306565.ppt
3306565.ppt
 
Problem Solving by Computer Finite Element Method
Problem Solving by Computer Finite Element MethodProblem Solving by Computer Finite Element Method
Problem Solving by Computer Finite Element Method
 
Signal Processing Homework Help
Signal Processing Homework HelpSignal Processing Homework Help
Signal Processing Homework Help
 
ALC-Prac-10A.pdfMAT2ALC Practice Class 10A Turing Machines.docx
ALC-Prac-10A.pdfMAT2ALC Practice Class 10A Turing Machines.docxALC-Prac-10A.pdfMAT2ALC Practice Class 10A Turing Machines.docx
ALC-Prac-10A.pdfMAT2ALC Practice Class 10A Turing Machines.docx
 
Laplace transforms
Laplace transformsLaplace transforms
Laplace transforms
 
Conversion of transfer function to canonical state variable models
Conversion of transfer function to canonical state variable modelsConversion of transfer function to canonical state variable models
Conversion of transfer function to canonical state variable models
 
A Simple Communication System Design Lab #3 with MATLAB Simulink
A Simple Communication System Design Lab #3 with MATLAB SimulinkA Simple Communication System Design Lab #3 with MATLAB Simulink
A Simple Communication System Design Lab #3 with MATLAB Simulink
 
Ec gate 13
Ec gate 13Ec gate 13
Ec gate 13
 
Cse41
Cse41Cse41
Cse41
 
Varibale frequency response lecturer 2 - audio+
Varibale frequency response   lecturer 2 - audio+Varibale frequency response   lecturer 2 - audio+
Varibale frequency response lecturer 2 - audio+
 
Signals and Systems Assignment Help
Signals and Systems Assignment HelpSignals and Systems Assignment Help
Signals and Systems Assignment Help
 

More from Mahamad Jawhar

text book Programmable-Logic-Controllers plc.pdf
text book Programmable-Logic-Controllers plc.pdftext book Programmable-Logic-Controllers plc.pdf
text book Programmable-Logic-Controllers plc.pdf
Mahamad Jawhar
 
2.pdf
2.pdf2.pdf
3.pdf
3.pdf3.pdf
1.pdf
1.pdf1.pdf
robotic2.docx
robotic2.docxrobotic2.docx
robotic2.docx
Mahamad Jawhar
 
Power Plant Engineering - (Malestrom) (1).pdf
Power Plant Engineering - (Malestrom) (1).pdfPower Plant Engineering - (Malestrom) (1).pdf
Power Plant Engineering - (Malestrom) (1).pdf
Mahamad Jawhar
 
ref3.pdf
ref3.pdfref3.pdf
ref3.pdf
Mahamad Jawhar
 
I-Section-US-1003.pdf
I-Section-US-1003.pdfI-Section-US-1003.pdf
I-Section-US-1003.pdf
Mahamad Jawhar
 
ref.pdf
ref.pdfref.pdf
lect 01 (1).pdf
lect 01 (1).pdflect 01 (1).pdf
lect 01 (1).pdf
Mahamad Jawhar
 
plasma cutting.pdf
plasma cutting.pdfplasma cutting.pdf
plasma cutting.pdf
Mahamad Jawhar
 
Grad. Proj. Poster Templete akam.docx
Grad. Proj. Poster Templete akam.docxGrad. Proj. Poster Templete akam.docx
Grad. Proj. Poster Templete akam.docx
Mahamad Jawhar
 
project format writting 2.docx
project format writting 2.docxproject format writting 2.docx
project format writting 2.docx
Mahamad Jawhar
 
PLC4.docx
PLC4.docxPLC4.docx
PLC4.docx
Mahamad Jawhar
 
PLC 1 (2).docx
PLC 1 (2).docxPLC 1 (2).docx
PLC 1 (2).docx
Mahamad Jawhar
 
Project Cooling Tower.pptx
Project Cooling Tower.pptxProject Cooling Tower.pptx
Project Cooling Tower.pptx
Mahamad Jawhar
 
final project.docx
final project.docxfinal project.docx
final project.docx
Mahamad Jawhar
 
final project1.docx
final project1.docxfinal project1.docx
final project1.docx
Mahamad Jawhar
 
project cooling tower.docx
project cooling tower.docxproject cooling tower.docx
project cooling tower.docx
Mahamad Jawhar
 
robotic.docx
robotic.docxrobotic.docx
robotic.docx
Mahamad Jawhar
 

More from Mahamad Jawhar (20)

text book Programmable-Logic-Controllers plc.pdf
text book Programmable-Logic-Controllers plc.pdftext book Programmable-Logic-Controllers plc.pdf
text book Programmable-Logic-Controllers plc.pdf
 
2.pdf
2.pdf2.pdf
2.pdf
 
3.pdf
3.pdf3.pdf
3.pdf
 
1.pdf
1.pdf1.pdf
1.pdf
 
robotic2.docx
robotic2.docxrobotic2.docx
robotic2.docx
 
Power Plant Engineering - (Malestrom) (1).pdf
Power Plant Engineering - (Malestrom) (1).pdfPower Plant Engineering - (Malestrom) (1).pdf
Power Plant Engineering - (Malestrom) (1).pdf
 
ref3.pdf
ref3.pdfref3.pdf
ref3.pdf
 
I-Section-US-1003.pdf
I-Section-US-1003.pdfI-Section-US-1003.pdf
I-Section-US-1003.pdf
 
ref.pdf
ref.pdfref.pdf
ref.pdf
 
lect 01 (1).pdf
lect 01 (1).pdflect 01 (1).pdf
lect 01 (1).pdf
 
plasma cutting.pdf
plasma cutting.pdfplasma cutting.pdf
plasma cutting.pdf
 
Grad. Proj. Poster Templete akam.docx
Grad. Proj. Poster Templete akam.docxGrad. Proj. Poster Templete akam.docx
Grad. Proj. Poster Templete akam.docx
 
project format writting 2.docx
project format writting 2.docxproject format writting 2.docx
project format writting 2.docx
 
PLC4.docx
PLC4.docxPLC4.docx
PLC4.docx
 
PLC 1 (2).docx
PLC 1 (2).docxPLC 1 (2).docx
PLC 1 (2).docx
 
Project Cooling Tower.pptx
Project Cooling Tower.pptxProject Cooling Tower.pptx
Project Cooling Tower.pptx
 
final project.docx
final project.docxfinal project.docx
final project.docx
 
final project1.docx
final project1.docxfinal project1.docx
final project1.docx
 
project cooling tower.docx
project cooling tower.docxproject cooling tower.docx
project cooling tower.docx
 
robotic.docx
robotic.docxrobotic.docx
robotic.docx
 

Recently uploaded

Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
PKavitha10
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
ydzowc
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
Gino153088
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
gowrishankartb2005
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
bjmsejournal
 
Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...
bijceesjournal
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
TaghreedAltamimi
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
architagupta876
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
Mahmoud Morsy
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
Anant Corporation
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
Divyanshu
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
Seminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptxSeminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptx
Madan Karki
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
ecqow
 

Recently uploaded (20)

Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
 
Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
Seminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptxSeminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptx
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
 

bodeplot.pdf

  • 1. Introduction to Bode Plot • 2 plots – both have logarithm of frequency on x-axis o y-axis magnitude of transfer function, H(s), in dB o y-axis phase angle The plot can be used to interpret how the input affects the output in both magnitude and phase over frequency. Where do the Bode diagram lines comes from? 1) Determine the Transfer Function of the system: ) ( ) ( ) ( 1 1 p s s z s K s H + + = 2) Rewrite it by factoring both the numerator and denominator into the standard form ) 1 ( ) 1 ( ) ( 1 1 1 1 + + = p s sp z s Kz s H where the z s are called zeros and the p s are called poles. 3) Replace s with j? . Then find the Magnitude of the Transfer Function. ) 1 ( ) 1 ( ) ( 1 1 1 1 + + = p jw jwp z jw Kz jw H If we take the log10 of this magnitude and multiply it by 20 it takes on the form of 20 log10 (H(jw)) =           + + ) 1 ( ) 1 ( log 20 1 1 1 1 10 p jw jwp z jw Kz = ) 1 ( log 20 log 20 log 20 ) 1 ( log 20 log 20 log 20 1 10 10 1 10 1 10 1 10 10 + − − − + + + z jw jw p z jw z K Each of these individual terms is very easy to show on a logarithmic plot. The entire Bode log magnitude plot is the result of the superposition of all the straight line terms. This means with a little practice, we can quickly sket the effect of each term and quickly find the overall effect. To do this we have to understand the effect of the different types of terms. These include: 1) Constant terms K 2) Poles and Zeros at the origin | j? | 3) Poles and Zeros not at the origin 1 1 p j ω + or 1 1 z j ω + 4) Complex Poles and Zeros (addressed later)
  • 2. Effect of Constant Terms: Constant terms such as K contribute a straight horizontal line of magnitude 20 log10(K) H = K Effect of Individual Zeros and Poles at the origin: A zero at the origin occurs when there is an s or j? multiplying the numerator. Each occurrence of this causes a positively sloped line passing through ? = 1 with a rise of 20 db over a decade. H = | ω j | A pole at the origin occurs when there are s or j? multiplying the denominator. Each occurrence of this causes a negatively sloped line passing through ? = 1 with a drop of 20 db over a decade. H = ω j 1 Effect of Individual Zeros and Poles Not at the Origin Zeros and Poles not at the origin are indicated by the (1+j? /zi) and (1+j? /pi). The values zi and pi in each of these expression is called a critical frequency (or break frequency). Below their critical frequency these terms do not contribute to the log magnitude of the overall plot. Above the critical frequency, they represent a ramp function of 20 db per decade. Zeros give a positive slope. Poles produce a negative slope. H = i i p j z j ω ω + + 1 1 20 log10(K) ? 0.1 1 10 100 (log scale) 20 log10(H) ? 0.1 1 10 100 (log10 scale) 20 log(H) -20 db dec. dec. +20 db zi pi -20 db ? 0.1 1 10 100 (log scale) 20 log(H) dec ? 0.1 1 10 100 (log scale) 20 log(H) 20 db dec
  • 3. • To complete the log magnitude vs. frequency plot of a Bode diagram, we superpositionall the lines of the different terms on the same plot. Example 1: For the transfer function given, sketch the Bode log magnitude diagram which shows howthe log magnitude of the system is affected by changing input frequency. (TF=transfer function) 1 2 100 TF s = + Step 1: Repose the equation in Bode plot form: 1 100 1 50 TF s       = + recognized as 1 1 1 K TF s p = + with K = 0.01 and p1 = 50 For the constant, K: 20 log10(0.01) = -40 For the pole, with critical frequency, p1: Example 2: Your turn. Find the Bode log magnitude plot for the transfer function, 4 2 5 10 505 2500 x s TF s s = + + Start by simplifying the transfer function form: 50 -40 db 0db ? (log scale) 20 log10(MF)
  • 4. Example 2 Solution: Your turn. Find the Bode log magnitude plot for the transfer function, 4 2 5 10 505 2500 x s TF s s = + + Simplify transfer function form: 4 4 5 10 5 10 20 5*500 ( 5)( 500) ( 1)( 1) ( 1)( 1) 5 500 5 500 x s x s s TF s s s s s s = = = + + + + + + Recognize: K = 20 à 20 log10(20) = 26.02 1 zero at the origin 2 poles: at p1 = 5 and p2=500 Technique to get started: 1) Draw the line of each individual term on the graph 2) Follow the combined pole-zero at the origin line back to the left side of the graph. 3) Add the constant offset, 20 log10(K), to the value where the pole/zero at the origin line intersects the left side of the graph. 4) Apply the effect of the poles/zeros not at the origin. working from left (low values) to right (higher values) of the poles/zeros. 0 db -40 db 100 80 db -80 db 40 db 103 102 101 ? (log scale)
  • 5. Example 3: One more time. This one is harder. Find the Bode log magnitude plot for the transfer function, 200( 20) (2 1)( 40) s TF s s s + = + + Simplify transfer function form: 0 db -40 db 100 80 db -80 db 40 db 103 102 101 20log10(TF) ? (log scale) 0 db -40 db 100 80 db -80 db 40 db 103 102 101 ? (log scale)
  • 6. Technique to get started: 1) Draw the line of each individual term on the graph 2) Follow the combined pole-zero at the origin line back to the left side of the graph. 3) Add the constant offset, 20 log10(K), to the value where the pole/zero at the origin line intersects the left side of the graph. 4) Apply the effect of the poles/zeros not at the origin. working from left (low values) to right (higher values) of the poles/zeros. Example 3 Solution: Find the Bode log magnitude plot for the transfer function, 200( 20) (2 1)( 40) s TF s s s + = + + Simplify transfer function form: 200*20 ( 1) 100 ( 1) 200( 20) 40 20 20 (2 1)( 40) ( 1)( 1) ( 1)( 1) 0.5 40 0.5 40 s s s TF s s s s s s s s s + + + = = = + + + + + + Recognize: K = 100 à 20 log10(100) = 40 1 pole at the origin 1 zero at z1 = 20 2 poles: at p1 = 0.5 and p2=40 0 db -40 db 100 80 db -80 db 40 db 103 102 101 20log10(TF) 40 db/dec 20 db/dec 20 db/dec 40 db/dec ? (log scale)
  • 7. Technique to get started: 1) Draw the line of each individual term on the graph 2) Follow the combined pole-zero at the origin line back to the left side of the graph. 3) Add the constant offset, 20 log10(K), to the value where the pole/zero at the origin line intersects the left side of the graph. 4) Apply the effect of the poles/zeros not at the origin. working from left (low values) to right (higher values) of the poles/zeros. The plot of the log magnitude vs. input frequency is only half of the story. We also need to be able to plot the phase angle vs. input frequency on a log scale as well to complete the full Bode diagram.. For our original transfer function, ) 1 ( ) 1 ( ) ( 1 1 1 1 + + = p jw jwp z jw Kz jw H the cumulative phase angle associated with this function are given by ) 1 ( ) 1 ( ) ( 1 1 1 1 + ∠ ∠ ∠ + ∠ ∠ ∠ = ∠ p jw p jw z jw z K jw H Then the cumulative phase angle as a function of the input frequency may be written as       + − − − + + + ∠ = ∠ ) 1 ( ) ( ) 1 ( ) ( 1 1 1 1 p jw p jw z jw z K jw H Once again, to show the phase plot of the Bode diagram, lines can be drawn for each of the different terms. Then the total effect may be found by superposition. Effect of Constants on Phase: A positive constant, K>0, has no effect on phase. A negative constant, K<0, will set up a phase shift of ±180o . (Remember real vs imaginary plots – a negative real number is at ±180o relative to the origin) Effect of Zeros at the origin on Phase Angle: Zeros at the origin, s, cause a constant +90 degree shift for each zero. ∠ TF Effect of Poles at the origin on Phase Angle: Poles at the origin, s -1 , cause a constant -90 degree shift for each pole. ∠ TF ? (log) +90 deg ? -90 deg
  • 8. Effect of Zeros not at the origin on Phase Angle: Zeros not at the origin, like 1 1 z j ω + , have no phase shift for frequencies much lower than zi, have a + 45 deg shift at z1, and have a +90 deg shift for frequencies much higherthan z1. ∠ H . To draw the lines for this type of term, the transition from 0o to +90o is drawn over 2 decades, starting at 0.1z1 and ending at 10z1. Effect of Poles not at the origin onPhase Angle: Poles not at the origin, like 1 1 1 p jω + , have no phase shift for frequencies much lower than pi, have a - 45 deg shift at p1, and have a -90 deg shift for frequencies much higherthan p1. ∠ TF . To draw the lines for this type of term, the transition from 0o to -90o is drawn over 2 decades, starting at 0.1p1 and ending at 10p1. When drawing the phase angle shift for not-at-the-origin zeros and poles, first locate the criticalfrequency of the zero or pole. Then start the transition 1 decade before, following a slope of ±45o /decade. Continue the transition until reaching the frequency one decade past the critical frequency. Now let’s complete the Bode Phase diagrams for the previous examples: ? 0.1z1 1z1 10z1 100z1 +90 deg +45 deg ? 0.1p1 1p1 10p1 100p1 -90 deg -45 deg
  • 9. Example 1: For the Transfer Function given, sketch the Bode diagram which shows how the phase of the system is affected by changing input frequency. 1 (1/100) 2 100 ( 1) 50 TF s s = = + + 20 log|TF| TF +90 -90 -40db 50 5 500 rad/s ? ? 0.5
  • 10. Example 2: Repeat for the transfer function, 20log|TF| 4 2 5 10 20 505 2500 ( 1)( 1) 5 500 x s s TF s s s s = = + + + + 0 db -40 db 100 80 db -80 db 40 db 103 102 101 ? (log scale) 0o -90o 100 180o -180o 90o 103 102 101 ? (log scale) 20 log10(MF) Phase Angle
  • 11. Example 2 Solution: Repeat for the transfer function, 20log|TF| 4 2 5 10 20 505 2500 ( 1)( 1) 5 500 x s s TF s s s s = = + + + + 0 db -40 db 100 80 db -80 db 40 db 103 102 101 ? (log scale) 0o -90o 100 180o -180o 90o 103 102 101 ? (log scale) 20 log10(MF) Phase Angle
  • 12. Example 3: Find the Bode log magnitude and phase angle plot for the transfer function, 100 ( 1) 200( 20) 20 (2 1)( 40) ( 1)( 1) 0.5 40 s s TF s s s s s s + + = = + + + + 0 db -40 db 10-1 80 db -80 db 40 db 102 101 100 ? (log scale) 0o -90o 10-1 180o -180o 90o 102 101 100 ? (log scale) 20 log10(MF) Phase Angle
  • 13. Example 3: Find the Bode log magnitude and phase angle plot for the transfer function, 100 ( 1) 200( 20) 20 (2 1)( 40) ( 1)( 1) 0.5 40 s s TF s s s s s s + + = = + + + + 0 db -40 db 10-1 80 db -80 db 40 db 102 101 100 ? (log scale) 0o -90o 10-1 180o -180o 90o 102 101 100 ? (log scale) 20 log10(MF) Phase Angle
  • 14. Example 4: Sketch the Bode plot (Magnitude and Phase Angle) for 3 100 10 ( 1) ( 10)( 1000) s TF s s × + = + + = 20log10|TF| Angle of TF
  • 15. Example 4: Sketch the Bode plot (Magnitude and Phase Angle) for 3 100 10 ( 1) ( 10)( 1000) s TF s s × + = + + = 10( 1) 1 ( 1)( 1) 10 1000 s s s + + + Therefore: K = 10 so 20log10(10) = 20 db One zero: z1 = 1 Two poles: p1 = 10 and p2 = 1000 20log10|TF| Angle of TF 40 20 0 db -20 -40 10-2 10-1 100 101 102 103 104 10-2 10-1 100 101 102 103 104 180 90 0 deg -90 -180
  • 16. Matlab can also be used to draw Bode plots: Matlab (with the sketched Bode Plot superimposed on the actual plot) 3 100 10 ( 1) ( 10)( 1000) s TF s s × + = + + w=logspace(-1,5,100); %setup for x-axis MagH=100000*sqrt(w.^2+1^2)./(sqrt(w.^2+10^2).*sqrt(w.^2+1000^2)); %transfer function MagHdb=20*log10(MagH); %transfer functionconverted to dB PhaseHRad=atan(w/1)-atan(w/10)-atan(w/1000); %phase done in radians PhaseHDeg=PhaseHRad*180/pi; %phase done in degrees subplot(2,1,1) semilogx(w,MagHdb,':b',x,y,'-b') %semilog plot xlabel('frequency [rad/s]'),ylabel('20 log10(|TF|) [db]'),grid %xaxis label subplot(2,1,2) semilogx(w,PhaseHDeg,':b',xAng,yAngDeg,'-b') xlabel('frequency [rad/s]'),ylabel('Phase Angle [deg]'),grid
  • 17. 10 -2 10 0 10 2 10 4 10 6 -20 -10 0 10 20 30 40 frequency [rad/s] 20 log10(|TF|) [db] 10 -2 10 0 10 2 10 4 10 6 -100 -50 0 50 100 frequency [rad/s] Phase Angle [deg] Notice that the actual plot does not follow the sketched plot exactly. There is error between our sketched method and the actual Bode plot. How much error is expected? Let’s look at an example of a zero, ) 10 1 ( s TF + = . Note, ? critical = 10 rad/s
  • 18. The largest error that occurs on the Magnitude plot is right at the critical frequency. It is on the order of 3 db. 10 -1 10 0 10 1 10 2 10 3 0 10 20 30 40 50 frequency [rad/s] 20 log10(|TF|) [db] 10 -1 10 0 10 1 10 2 10 3 0 20 40 60 80 100 frequency [rad/s] Phase Angle [deg] The largest error that is shown on the Phase plot occurs at 0.1? critical and 10? critical (one decade above and below the critical frequency). Error at these points is about 6 degrees. It’s understood that sketching the Bode diagrams will contain some error but this is generally considered acceptable practice.
  • 19. To quickly sketch the graphs: 1. Determine the starting value: |H(0)| 2. Determine all critical frequencies (break frequencies). Start from the lowest value and draw the graphs as follows: Magnitude Phase (create slope 1 decade below to 1 decade above ωcritical) Pole is negative -20dB/dec -45o Pole is positive -20dB/dec +45o Zero is negative +20dB/dec +45o Zero is positive +20dB/dec -45o Add each value to the previous value. Examples: 1. H(s) = |H(0)| = |0+1/0+10 = 1/10 |= |0.1| => -20dB Critical frequencies: zero@ -1 and pole @ -10 Magnitude Plot Phase Plot The dotted line is a more accurate representation. 2. H(s) = |H(0)| = |10*(-1)/(-3)(-10) |= |-1/3| = 1/3 => -10dB Note that the angle of (-1/3 real value) is 180o critical frequencies: zero @ 1, pole@3 and 10