bode magnitude plots

Click here to load reader

Upload: moe

Post on 22-Feb-2016

46 views

Category:

Documents


0 download

DESCRIPTION

Bode Magnitude Plots. Constructed Bode. Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo. Actual Bode. Outline of Today’s Lecture. Review Poles and Zeros Plotting Functions with Complex Numbers Root Locus - PowerPoint PPT Presentation

TRANSCRIPT

Create a Spark Motivational Contest

Professor Walter W. OlsonDepartment of Mechanical, Industrial and Manufacturing EngineeringUniversity of ToledoBode Magnitude Plots

Actual BodeConstructed Bode1Outline of Todays LectureReviewPoles and ZerosPlotting Functions with Complex NumbersRoot LocusPlotting the Transfer FunctionEffects of Pole PlacementRoot Locus Factor ResponsesFrequency ResponseReading the Bode PlotComputing Logarithms of |G(s)|Bode Magnitude Plot Construction

Root LocusThe root locus plot for a system is based on solving the system characteristic equationThe transfer function of a linear, time invariant, system can be factored as a fraction of two polynomialsWhen the system is placed in a negative feedback loop the transfer function of the closed loop system is of the form

The characteristic equation is

The root locus is a plot of this solution for positive real values of KBecause the solutions are the system modes, this is a powerful design tool

Root LocusThe root locus plot for a system is based on solving the system characteristic equationThe transfer function of a linear, time invariant, system can be factored as a fraction of two polynomialsWhen the system is placed in a negative feedback loop the transfer function of the closed loop system is of the form

The characteristic equation is

The root locus is a plot of this solution for positive real values of KBecause the solutions are the system modes, this is a powerful design tool

The effect of placement on the root locusImaginary axisReal Axisjwsjwdwns = -zwnsin-1(z) The magnitude of the vector to pole location is the natural frequencyof the response, wn

The vertical component (the imaginarypart) is the damped frequency, wd

The angle away from the vertical is the inverse sine of the damping ratio, zThe effect of placement on the root locusImaginary axisReal Axisjwsjwdwns = -zwnsin-1(z) The magnitude of the vector to pole location is the natural frequencyof the response, wn

The vertical component (the imaginarypart) is the damped frequency, wd

The angle away from the vertical is the inverse sine of the damping ratio, zFrequency Response

General form of linear time invariant (LTI) system was previously expressed asWe now want to examine the case where the input is sinusoidal. The response of the system is termed its frequency response.

Frequency ResponseThe response to the input is amplified by M and time shifted by the phase angle.To represent this response we need two curves: one for the magnitude at any frequency and one for phase shiftThese curves when plotted are called the Bode Plot of the system

Reading the Bode PlotNote: The scale for w is logarithmicThe magnitude is in decibelsAmplifiesAttenuatesdecadealso, cycle

InputResponse

What is a decibel?The decibel (dB) is a logarithmic unit that indicates the ratio of a physical quantity relative to a specified or implied reference level. A ratio in decibels is ten times the logarithm to base 10 of the ratio of two power quantities. (IEEE Standard 100 Dictionary of IEEE Standards Terms, Seventh Edition, The Institute of Electrical and Electronics Engineering, New York, 2000; ISBN 0-7381-2601-2; page 288)Because decibels is traditionally used measure of power, the decibel value of a magnitude, M, is expressed as 20 Log10(M)20 Log10(1)=0 implies there is neither amplification or attenuation20 Log10(100)= 40 decibels implies that the signal has been amplified 100 times from its original value20 Log10(0.01)= -40 decibels implies that the signal has been attenuated to 1/100 of its original valueNoteThe book does not plot the Magnitude of the Bode Plot in decibels.

Therefore, you will get different results than the book where decibels are required.

Matlab uses decibels.Sketching Semilog PaperFirst, determine how many cycles you will need:Ideally, you will need at least one cycle below the smallest zero or pole andAt least one cycle above the largest pole or zeroExample

Knowing how many cycles needed, divide the sketch area into these regions

Sketching Semilog PaperFor this example assume

0.11.010100Frequency w rpsSketching Semilog Paper0.11.010100Frequency w rps0.33302570.50.20.7205070For each cycle,Estimate the 1/3 point and label this 2 x the starting point for the cycleEstimate the midway point and label this 3 * the starting point for the cycleAt the 2/3 point, label this 5 x * the starting point for the cycleHalf way between 3 and 5 place a tic representing 4Halfway between 5 and 10 place a tic and label this 7Halfway between 5 and 7, place a tic for 6Divide the space between 7 and 10 into thirds and label these 8 and 9These are not exact but useful for sketching purposesComputing Logarithms of |G(s)|

Therefore, in plotting the magnitude portion of the Bode plot, we cancompute each term separately and then add them up for the resultComputing Logarithms of G(s)

Computing Logarithms of G(s)

Since this does not vary with the frequency it a constant that will be added to all of the other factors when combined and has the effect of moving the complete plot up or down

When this is plotted on a semilog graph (w the abscissa) thisis a straight line with a slope of 20p (p is negative if the sp term is in the denominator of G(s)) without out any other terms it would pass through the point (w,MdB) = (1,0)

p is often called the type of the systemStatic Error ConstantsIf the system is of type 0 at low frequencies will be level. A type 0 system, (that is, a system without a pole at the origin,)will have a static position error, Kp, equal to

If the system is of type 1 (a single pole at the origin) it will have a slope of -20 dB/dec at low frequenciesA type 1 system will have a static velocity error, Kv, equal to the value of the -20 dB/dec line where it crosses 1 radian per secondIf the system is of type 2 ( a double pole at the origin) it willhave a slope of -40 dB/dec at low frequenciesA type 2 system has a static acceleration error,Ka, equal to the value of the -40 dB/dec line where it crosses 1 radian per second

Computing Logarithms of G(s)

a is called the break frequency for this factor

For frequencies of less than a rad/sec, this is plotted as a horizontal line at the level of 20Log10 a,

For frequencies greater than a rad/sec, this is plotted as a line with a slope of 20 dB/decade, the sign determined by position in G(s)ExampleAssume we have the transfer functionTo compute the magnitude part of the Bode plot

+ExampleBode plot of

Our plotting technique produces an asymptotic Bode PlotActual Bode Magnitude PlotConstructed PlotComputing Logarithms of G(s)

wn is called the break frequency for this factor

For frequencies of less than wn rad/sec, this is plotted as a horizontal line at the level of 40Log10 wn,

For frequencies greater than wn rad/sec, this is plotted as a line with a slope of 40 dB/decade, the sign determined by position in G(s)ExampleConstruct a Bode magnitude plot of

Note: there are twolines here!+Example

Asymptotic Bode MagnitudeActual Bode MagnitudeCorrectionsYou seen on the asymptotic Bode magnitude plots, there were deviations at the break frequencies.

For (s+a) type termsFor quadratic termspertains to a phase correction which willbe discussed next classNote that these could be either positive of negative corrections dependingon whether or not the term is in the numerator or denominator Bode Plot ConstructionWhen constructing Bode plots, there is no need to draw the curves for each factor: this was done to show you where the parts came from. The best way to construct a Bode plot is to first make a table of the critical frequencies and record that action to be taken at that frequency.You want to start at least one decade below the smallest break frequency and end at least one decade above the last break frequency. This will determine how semilog cycles you will need for the graph paper.This will be shown by the following example.ExamplePlot the Bode magnitude plot of

BreakFrequencyFactorEffectCumvalueCumSlope dB/dec0.01K=1020Log10(10)=20200.01sLine -20db/decThru (1,0)20-slope for two decades (40) =60-200.2s+0.2+20Log10(.2)=-13.9860+6.02=46.0203s+3-20Log10(3)=-9.5446.02-9.54=36.48-204s2+4s+16-40Log10(4)=- 24.0836.48- 24.08=12.4-605s2+2s+25+40Log10(5)=27.9632.4+27.96=40.36-20Example

Actual BodeConstructed BodeNote:

This form has certain advantages:1) the time constants of the 1st order terms can be directly read2) When constructing Bode plots the part of the curves up to the break frequencies are 0 (20Log101=0). The level parts have been taken up in the constant gain, KtSummaryFrequency Response

Reading the Bode PlotComputing Logarithms of |G(s)|

Bode Magnitude Plot Construction

Next: Bode Phase Plots