Introduction to Bode Plot



Similar documents
UNIVERSITY OF CALIFORNIA AT BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences. EE105 Lab Experiments

Engineering Sciences 22 Systems Summer 2004

S-DOMAIN ANALYSIS: POLES, ZEROS, AND BODE PLOTS

Understanding Poles and Zeros

CHAPTER 6 Frequency Response, Bode Plots, and Resonance

30. Bode Plots. Introduction

1.3 LINEAR EQUATIONS IN TWO VARIABLES. Copyright Cengage Learning. All rights reserved.

EE 402 RECITATION #13 REPORT

Section 1.1 Linear Equations: Slope and Equations of Lines

Bode Diagrams of Transfer Functions and Impedances ECEN 2260 Supplementary Notes R. W. Erickson

Exponential and Logarithmic Functions

Section 10.4 Vectors

ab = c a If the coefficients a,b and c are real then either α and β are real or α and β are complex conjugates

Using the Impedance Method

Σ _. Feedback Amplifiers: One and Two Pole cases. Negative Feedback:

Plot the following two points on a graph and draw the line that passes through those two points. Find the rise, run and slope of that line.

Elements of a graph. Click on the links below to jump directly to the relevant section

PLOTTING COMMANDS (!' ) "' # "*# "!(!' +,

Review of Fundamental Mathematics

3.2 LOGARITHMIC FUNCTIONS AND THEIR GRAPHS. Copyright Cengage Learning. All rights reserved.

Algebra 2: Themes for the Big Final Exam

CHAPTER FIVE. Solutions for Section 5.1. Skill Refresher. Exercises

Graphing Linear Equations

Temperature Scales. The metric system that we are now using includes a unit that is specific for the representation of measured temperatures.

Root Locus. E(s) K. R(s) C(s) 1 s(s+a) Consider the closed loop transfer function:

Algebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions.

How to Graph Trigonometric Functions

Process Dynamics, Operations, and Control Lecture Notes - 11 Lesson 11. Frequency response of dynamic systems.

Equations. #1-10 Solve for the variable. Inequalities. 1. Solve the inequality: Solve the inequality: 4 0

Transmission Lines. Smith Chart

CIRCUITS LABORATORY EXPERIMENT 3. AC Circuit Analysis

Graphing - Slope-Intercept Form

What does the number m in y = mx + b measure? To find out, suppose (x 1, y 1 ) and (x 2, y 2 ) are two points on the graph of y = mx + b.

Lecture 8 : Coordinate Geometry. The coordinate plane The points on a line can be referenced if we choose an origin and a unit of 20

Curve Fitting, Loglog Plots, and Semilog Plots 1

Lecture 9. Poles, Zeros & Filters (Lathi 4.10) Effects of Poles & Zeros on Frequency Response (1) Effects of Poles & Zeros on Frequency Response (3)

Notes for EER #4 Graph transformations (vertical & horizontal shifts, vertical stretching & compression, and reflections) of basic functions.

6.4 Logarithmic Equations and Inequalities

Lab #9: AC Steady State Analysis

Experiment 5: Magnetic Fields of a Bar Magnet and of the Earth

ECE 3510 Final given: Spring 11

First, we show how to use known design specifications to determine filter order and 3dB cut-off

6. Vectors Scott Surgent (surgent@asu.edu)

CHAPTER 1 Linear Equations

Physics 2048 Test 1 Solution (solutions to problems 2-5 are from student papers) Problem 1 (Short Answer: 20 points)

Algebra. Exponents. Absolute Value. Simplify each of the following as much as possible. 2x y x + y y. xxx 3. x x x xx x. 1. Evaluate 5 and 123

PRE-CALCULUS GRADE 12

Coordinate Plane, Slope, and Lines Long-Term Memory Review Review 1

EQUATIONS and INEQUALITIES

Magnetic Force on a Current-Carrying Wire Warm Up

Part 1: Background - Graphing

2312 test 2 Fall 2010 Form B

Statistics Revision Sheet Question 6 of Paper 2

Fractions and Linear Equations

UNIVERSITY OF CALIFORNIA, SAN DIEGO Electrical & Computer Engineering Department ECE Fall 2010 Linear Systems Fundamentals

1) Write the following as an algebraic expression using x as the variable: Triple a number subtracted from the number

Lines, Lines, Lines!!! Slope-Intercept Form ~ Lesson Plan

MATLAB Control System Toolbox Root Locus Design GUI

Pre Calculus Math 40S: Explained!

Answer Key Building Polynomial Functions

PLOTTING DATA AND INTERPRETING GRAPHS

Math Placement Test Practice Problems

Angles and Quadrants. Angle Relationships and Degree Measurement. Chapter 7: Trigonometry

Graphing Rational Functions

Positive Feedback and Oscillators

Electrical Resonance

Sophomore Physics Laboratory (PH005/105)

This unit will lay the groundwork for later units where the students will extend this knowledge to quadratic and exponential functions.

Higher Education Math Placement

In this chapter, you will learn to use cost-volume-profit analysis.

MSLC Workshop Series Math Workshop: Polynomial & Rational Functions

Impedance Matching. Using transformers Using matching networks

ALGEBRA 2: 4.1 Graph Quadratic Functions in Standard Form

A synonym is a word that has the same or almost the same definition of

1 One Dimensional Horizontal Motion Position vs. time Velocity vs. time

a. all of the above b. none of the above c. B, C, D, and F d. C, D, F e. C only f. C and F

Assessment Anchors and Eligible Content

Design of a TL431-Based Controller for a Flyback Converter

Linear Equations. Find the domain and the range of the following set. {(4,5), (7,8), (-1,3), (3,3), (2,-3)}

GRAPHING IN POLAR COORDINATES SYMMETRY

AC CIRCUITS - CAPACITORS AND INDUCTORS

Trigonometry Review with the Unit Circle: All the trig. you ll ever need to know in Calculus

Solutions to Exercises, Section 5.1

2.3. Finding polynomial functions. An Introduction:

FRICTION, WORK, AND THE INCLINED PLANE

Zeros of a Polynomial Function

Core Maths C3. Revision Notes

Algebra I Vocabulary Cards

Chapter 9: Controller design

POLYNOMIAL FUNCTIONS

Ampere's Law. Introduction. times the current enclosed in that loop: Ampere's Law states that the line integral of B and dl over a closed path is 0

16 Learning Curve Theory

2 Session Two - Complex Numbers and Vectors

Multiplying Fractions

Graphing Motion. Every Picture Tells A Story

Introduction to Complex Numbers in Physics/Engineering

A vector is a directed line segment used to represent a vector quantity.

Structural Axial, Shear and Bending Moments

Solving Rational Equations and Inequalities

Algebra II End of Course Exam Answer Key Segment I. Scientific Calculator Only

Transcription:

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? ) Determine the Transfer Function of the system: H( s) K( s + z) s( s + p ) 2) Rewrite it by factoring both the numerator and denominator into the standard form Kz ( s + ) z H ( s) sp( s + ) p 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. Kz ( z + ) H ( ) p( p + ) If we take the log 0 of this magnitude and multiply it by 20 it takes on the form of Kz( + ) z 20 log 0 (H()) 20 log 0 p ( + ) p 20log K + 20log 0 z + 20log ( 0 + ) 20log 0 p 20log 0 20log 0 ( z z 0 + 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: ) Constant terms 2) Poles and Zeros at the origin j? K ) 3) Poles and Zeros not at the origin j ω + or p + j ω z 4) Complex Poles and Zeros (addressed later)

Effect of Constant Terms: Constant terms such as K contribute a straight horizontal line of magnitude 20 log 0 (K) 20 log 0 (H) 20 log 0 (K) 0. 0 00? (log scale) 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? with a rise of 20 db over a decade. 20 log(h) 20 db H j ω 0. 0 00 dec? (log scale) 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? with a drop of 20 db over a decade. 20 log(h) dec 0. 0 00? (log scale) H jω -20 db Effect of Individual Zeros and Poles Not at the Origin Zeros and Poles not at the origin are indicated by the (+j? /z i ) and (+j? /p i ). The values z i and p i 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. 20 log(h) +20 db z i dec. p i 0. 0 00 dec.? (log 0 scale) H + + j ω z i j ω p i -20 db

To complete the log magnitude vs. frequency plot of a Bode diagram, we superposition all the lines of the different terms on the same plot. Example : For the transfer function given, sketch the Bode log magnitude diagram which shows how the log magnitude of the system is affected by changing input frequency. (TFtransfer function) TF 2s + 00 Step : Repose the equation in Bode plot form: TF 00 s + 50 recognized as TF K s + p with K 0.0 and p 50 For the constant, K: 20 log 0 (0.0) -40 For the pole, with critical frequency, p : 20 log 0 (MF) 0db -40 db 50 Example 2: Your turn. Find the Bode log magnitude plot for the transfer function, TF s 2 4 50 x s + 505s+ 2500 Start by simplifying the transfer function form:

80 db 40 db 0 db -40 db -80 db 0 0 0 0 2 0 3 Example 2 Solution: Your turn. Find the Bode log magnitude plot for the transfer function, TF s 2 4 50 x s + 505s+ 2500 Simplify transfer function form: 4 50 x 4 s 50 x s 5*500 20 s TF ( s+ 5)( s+ 500) s s s s ( + )( + ) ( + )( + ) 5 500 5 500 Recognize: K 20 20 log0(20) 26.02 zero at the origin 2 poles: at p 5 and p 2 500 Technique to get started: ) 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 log 0 (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.

80 db 40 db 20log 0 (TF) 0 db -40 db -80 db 0 0 0 0 2 0 3 Example 3: One more time. This one is harder. Find the Bode log magnitude plot for the transfer function, 200( s + 20) TF s(2s+ )( s+ 40) Simplify transfer function form: 80 db 40 db 0 db -40 db -80 db 0 0 0 0 2 0 3

Technique to get started: ) 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 log 0 (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( s + 20) TF s(2s+ )( s+ 40) Simplify transfer function form: 200*20 s s ( + ) 00 ( + ) 200( s + 20) TF 40 20 20 s(2s+ )( s+ 40) s s s s s( + )( + ) s( + )( + ) 0.5 40 0.5 40 Recognize: K 00 20 log0(00) 40 pole at the origin zero at z 20 2 poles: at p 0.5 and p 2 40 80 db 20 db/dec 40 db 40 db/dec 0 db 20 db/dec -40 db -80 db 40 db/dec 20log 0 (TF) 0 0 0 0 2 0 3

Technique to get started: ) 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 log 0 (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, Kz ( z + ) H ( ) p( p + ) the cumulative phase angle associated with this function are given by K z ( z + ) H ( ) p ( p + ) Then the cumulative phase angle as a function of the input frequency may be written as H ( ) K + z + ( + ) ( ) ( + ) p z p 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 ±80 o. (Remember real vs imaginary plots a negative real number is at ±80 o 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 +90 deg? (log) Effect of Poles at the origin on Phase Angle: Poles at the origin, s -, cause a constant -90 degree shift for each pole. TF? -90 deg

Effect of Zeros not at the origin on Phase Angle: j ω Zeros not at the origin, like +, have no phase shift for frequencies much lower than z i, have a + z 45 deg shift at z, and have a +90 deg shift for frequencies much higher than z. H. To draw the lines for this type of term, the transition from 0 o to +90 o is drawn over 2 decades, starting at 0.z and ending at 0z. Effect of Poles not at the origin on Phase Angle: +90 deg +45 deg 0.z z 0z 00z? Poles not at the origin, like, have no phase shift for frequencies much lower than p i, have a - jω + p 45 deg shift at p, and have a -90 deg shift for frequencies much higher than p. TF. 0.p p 0p 00p? -45 deg -90 deg To draw the lines for this type of term, the transition from 0 o to -90 o is drawn over 2 decades, starting at 0.p and ending at 0p. When drawing the phase angle shift for not-at-the-origin zeros and poles, first locate the critical frequency of the zero or pole. Then start the transition decade before, following a slope of ±45 o /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:

Example : For the Transfer Function given, sketch the Bode diagram which shows how the phase of the system is affected by changing input frequency. 20 log TF TF (/00) 2s + 00 s ( + ) 50 0.5 5 50 500 rad/s? -40db +90 TF? -90

Example 2: Repeat for the transfer function, 20log TF TF 4 50 x s 20 s 2 s + 505s+ 2500 s s ( + )( + ) 5 500 80 db 40 db 20 log 0 (MF) 0 db -40 db -80 db 0 0 0 0 2 0 3 80 o 90 o Phase Angle 0 o -90 o -80 o 0 0 0 0 2 0 3

Example 2 Solution: Repeat for the transfer function, 20log TF TF 4 50 x s 20 s 2 s + 505s+ 2500 s s ( + )( + ) 5 500 80 db 40 db 20 log 0 (MF) 0 db -40 db -80 db 0 0 0 0 2 0 3 80 o 90 o Phase Angle 0 o -90 o -80 o 0 0 0 0 2 0 3

Example 3: Find the Bode log magnitude and phase angle plot for the transfer function, s 00 ( + ) 200( s + 20) TF 20 s(2s+ )( s+ 40) s s s( + )( + ) 0.5 40 80 db 40 db 20 log 0 (MF) 0 db -40 db -80 db 0-0 0 0 0 2 80 o 90 o Phase Angle 0 o -90 o -80 o 0-0 0 0 0 2

Example 3: Find the Bode log magnitude and phase angle plot for the transfer function, s 00 ( + ) 200( s + 20) TF 20 s(2s+ )( s+ 40) s s s( + )( + ) 0.5 40 80 db 40 db 20 log 0 (MF) 0 db -40 db -80 db 0-0 0 0 0 2 80 o 90 o Phase Angle 0 o -90 o -80 o 0-0 0 0 0 2

Example 4: Sketch the Bode plot (Magnitude and Phase Angle) for 3 00 0 ( s + ) TF ( s+ 0)( s+ 000) 20log 0 TF Angle of TF

Example 4: Sketch the Bode plot (Magnitude and Phase Angle) for s 3 00 0 ( s + ) 0( + ) TF ( s+ 0)( s+ 000) s s ( + )( + ) 0 000 Therefore: K 0 so 20log 0 (0) 20 db One zero: z Two poles: p 0 and p 2 000 20log 0 TF 40 20 0 db -20-40 Angle of TF 0-2 0-0 0 0 0 2 0 3 0 4 80 90 0 deg -90-80 0-2 0-0 0 0 0 2 0 3 0 4

Matlab can also be used to draw Bode plots: Matlab (with the sketched Bode Plot superimposed on the actual plot) 3 00 0 ( s + ) TF ( s+ 0)( s+ 000) wlogspace(-,5,00); %setup for x-axis MagH00000*sqrt(w.^2+^2)./(sqrt(w.^2+0^2).*sqrt(w.^2+000^2)); %transfer function MagHdb20*log0(MagH); %transfer function converted to db PhaseHRadatan(w/)-atan(w/0)-atan(w/000); %phase done in radians PhaseHDegPhaseHRad*80/pi; %phase done in degrees subplot(2,,) semilogx(w,maghdb,':b',x,y,'-b') %semilog plot xlabel('frequency [rad/s]'),ylabel('20 log0( TF ) [db]'),grid %xaxis label subplot(2,,2) semilogx(w,phasehdeg,':b',xang,yangdeg,'-b') xlabel('frequency [rad/s]'),ylabel('phase Angle [deg]'),grid

40 30 20 log0( TF ) [db] 20 0 0-0 -20 0-2 0 0 0 2 0 4 0 6 frequency [rad/s] 00 Phase Angle [deg] 50 0-50 -00 0-2 0 0 0 2 0 4 0 6 frequency [rad/s] 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? s Let s look at an example of a zero, TF ( + ). Note,? critical 0 rad/s 0

The largest error that occurs on the Magnitude plot is right at the critical frequency. It is on the order of 3 50 40 20 log0( TF ) [db] 30 20 0 0 0-0 0 0 0 2 0 3 frequency [rad/s] 00 80 Phase Angle [deg] 60 40 20 db. 0 0-0 0 0 0 2 0 3 frequency [rad/s] The largest error that is shown on the Phase plot occurs at 0.? critical and 0? 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:. 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 decade below to decade above ω critical ) Pole is negative -20dB/dec -45 o Pole is positive -20dB/dec +45 o Zero is negative +20dB/dec +45 o Zero is positive +20dB/dec -45 o Add each value to the previous value. Examples:. H(s) H(0) 0+/0+0 /0 0. > -20dB Critical frequencies: zero@ - and pole @ -0 Magnitude Plot Phase Plot The dotted line is a more accurate representation. 2. H(s) H(0) 0*(-)/(-3)(-0) -/3 /3 > -0dB Note that the angle of (-/3 real value) is 80 o critical frequencies: zero @, pole@3 and 0