frequency response--bode plots

12
Procedure for sketching bode plots (mentioned on Oct 5 th notes, Pg. 20) 1. Rewrite the transfer function in “proper form”. 2. Separate the transfer function into its constituent parts. 3. Draw the Bode diagram for each part. (you work from a table) 4. Draw the overall Bode diagram by adding up the results from step 3. Good walkthrough (used as class handout for today): Good walkthrough (used as class handout for today): http://www.ece.utah.edu/~ee3110/bodeplot.pdf 1

Upload: sonali-srivastava

Post on 02-Jun-2017

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: frequency response--Bode Plots

Procedure for sketching bode plots (mentioned on Oct 5th notes, Pg. 20)

1. Rewrite the transfer function in “proper form”.p p2. Separate the transfer function into its constituent parts. 3. Draw the Bode diagram for each part. (you work from a table)4. Draw the overall Bode diagram by adding up the results from 

step 3.

Good walkthrough (used as class handout for today):Good walkthrough (used as class handout for today):

http://www.ece.utah.edu/~ee3110/bodeplot.pdf

1

Page 2: frequency response--Bode Plots

Work through a fewWork through a few examples of this technique from the handout (like this 

f )one, from pg. 6)

Page 3: frequency response--Bode Plots

When in doubt, just plug in numbers d h h i dand see whether your magnitude 

graph is correct.g p

• You can plug in actual numerical values of s into H(s) to get estimates for the magnitude plot 

• This doesn’t work for the phase plot (would involve calculating complex number values, not worth the effort)

Page 4: frequency response--Bode Plots

So we learned how to sketch Bode Plots by h d ( h ld h d thand (when we could have used a computer program to generate sketches).  Why exactly?

• Can more clearly see how individual terms affect system performance and system output.

• Easier to understand why different controllers are used to compensate for specific shortcomings and specific terms in the system. 

4

Page 5: frequency response--Bode Plots

• Defining stability• Interpreting stability from the magnitude and• Interpreting stability from the magnitude and phase plots

5

Page 6: frequency response--Bode Plots

Stability ‐ definitiony

“A stable system is a dynamic system with aA stable system is a dynamic system with a bounded response to a bounded input.”

• E.g. a sine wave input results in a sine wave output that doesn’t grow unbounded until the p gsystem finally “breaks”.

• Resonance is still acceptable (the output can p ( pbecome very large, as long as it does not become unbounded)

6

Page 7: frequency response--Bode Plots

From Oct 6th session, pg. 9:

Systems become unstable in negativeSystems become unstable in negative feedback loops with a negative loop gain.  

X(s) )(GX(s)G( )

Y(s)X(s) Y(s)

)()(1)(

sFsGsG

G(s)

F(s)

+‐

GYoverall transfer function What happens when GF gets to be close to  ‐1?  

• H gets bigger and bigger, becoming an unstable 

F(s)

GFG

XYH

1

g gg gg , gsystem.

• GF can become ‐1 depending on the gain and phase of the system.  

7

Page 8: frequency response--Bode Plots

Stability analysis for open‐loop usually has     F(s) =1 (unity gain) in the feedback loopF(s) =1 (unity gain) in the feedback loop.

• Most of the time (80% of the time?), stability analysis in control theory assumes that the feedback gain is a constant value of 1 This simplifies analysis to justthat the feedback gain is a constant value of 1.  This simplifies analysis to just looking at the true open‐loop gain G(s):

X(s) Y(s)X(s) Y(s)

)(1)(sG

sG

X(s) G(s)

1

+‐

Y(s)

GYH overall transfer function

1

H becomes unstable if G becomes a value  of ‐1

GXH

1overall transfer function

G is called the open‐loop gain since G is the gain in the system if h f db k l i dthe feedback loop is removed.

8

Page 9: frequency response--Bode Plots

Stability comes from avoiding G(s)=‐1

G( ) 1 h i d l 1 0 dB d h l * 1800• G(s) = ‐1 when magnitude plot = 1 = 0 dB, and phase plot* = ‐1800

• A stable system is one where the open‐loop gain is less than 1 when the open‐loop phase angle is ‐1800

bl h h l• An unstable system is one where the open‐loop gain is greater than 1 when the open‐loop phase is ‐1800  (since this guarantees that at some point, the value G(s) would be “equal” to ‐1**) p , ( ) q )

Aside:( * the word “phase” is from the fact that “s” H(s) and G(s) are all really complex(   the word  phase  is from the fact that  s , H(s), and G(s) are all really complex number (with real and imaginary components), which can be represented with a magnitude and phase value  ) 

( **actually, this is only the “real” part of G(s) which equals ‐1, since G(s) is a complex # with real and imaginary parts, but really that doesn’t matter in this analysis, it still guarantees that the system will become unstable at some point )  9

Page 10: frequency response--Bode Plots

Aside:  Why analyze the open‐loop response i d f h l d l di l ?instead of the closed‐loop response directly?

Why not analyze this entire expression H(s) i t d f j t l i G( )?

H(s) 

X(s) Y(s)

)(1)(sG

sG

instead of just analyzing G(s)?   

Because G(s) remains bounded and stable even as the entire expression Because G(s) remains bounded and stable even as the entire expression H(s) becomes unstable.  We can use Bode plots and straight‐line asymptotes to examine G(s) even when the system becomes unstable, but we don’t have any tools to accurately analyze H(s) as the entire expression becomes unbounded and unstable.  

Page 11: frequency response--Bode Plots

You check stability by looking at the gain and phase margin of the open‐loop system

From Oct 5th, Pg. 23

• Gain Margin ‐ the amount of gain that you

Magnitude plot

• Gain Margin ‐ the amount of gain that you could add to the system before reaching a gain of 1 = 0 dB.  Measured at the phase crossing frequency (phase = +/‐1800)

0db

• Phase Margin ‐ the amount of phase you could add/subtract to the system before reaching +/‐1800.  Measured at the gain 

Wgain_cross Wphase_crossPhase plot0

crossing frequency (gain = 1 = 0dB)

Wgain_cross =  gain crossing  (frequency at which gain = 0dB, and phase margin iswhich gain   0dB, and phase margin is measured)Wphase_cross =  phase crossing (frequency at which phase = +/‐ 180deg, gain margin is 

d)

‐180

11Plot from lecture notes, 8B, pg. 12

measured)

Page 12: frequency response--Bode Plots

Wh d i h h i d h i ?What can you do with the gain and phase margin?

• Tells you how much proportional gain (k) you can add to the system (to make the system operate faster) without becoming unstable.

• Tells you how you might select and design a controller to compensate for aspects of the system (e.g. PID, lag/lead compensators) to increase stability or improve performance

12