ece317 : feedback and control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ece317...

30
ECE317 : Feedback and Control Lecture : Bode plots Dr. Richard Tymerski Dept. of Electrical and Computer Engineering Portland State University 1

Upload: vuongthuan

Post on 23-Mar-2018

231 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

ECE317 : Feedback and Control

Lecture :Bode plots

Dr. Richard Tymerski

Dept. of Electrical and Computer Engineering

Portland State University

1

Page 2: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

Course roadmap

2

Laplace transform

Transfer function

Block Diagram

Linearization

Models for systems

• electrical

• mechanical

• example system

Modeling Analysis Design

Stability

• Pole locations

• Routh-Hurwitz

Time response

• Transient

• Steady state (error)

Frequency response

• Bode plot

Design specs

Frequency domain

Bode plot

Compensation

Design examples

Matlab & PECS simulations & laboratories

Page 3: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

Frequency response (review)

• Steady state output • Frequency is same as the input frequency

• Amplitude is that of input (A) multiplied by

• Phase shifts

• Frequency response function (FRF): G(jw)

• Bode plot: Graphical representation of G(jw)

3

Gain

G(s)

y(t)Stable

Page 4: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

Phase shift (review)

4

G(s)

Page 5: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

Bode plot of G(jw) (review)

• Bode diagram consists of gain plot & phase plot

5

Log-scale

Page 6: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

Sketching Bode plot

• Basic functions• Constant gain

• Differentiator and Integrator

• First order system and its inverse

• Second order system

• Product of basic functions1. Sketch Bode plot of each factor, and

2. Add the Bode plots graphically.

6

Page 7: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

Bode plot of a constant gain

7

10-2

10-1

100

101

102

19

19.5

20

20.5

21

10-2

10-1

100

101

102

-1

-0.5

0

0.5

1

(for all)

Old method:

Page 8: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

8

𝐻(𝑠) = 𝐴

New method:

Page 9: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

Sketching Bode plot

• Basic functions• Constant gain

• Differentiator and Integrator

• First order system and its inverse

• Second order system

• Product of basic functions1. Sketch Bode plot of each factor, and

2. Add the Bode plots graphically.

9

Page 10: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

Bode plot of a differentiator

10

10-2

10-1

100

101

102

-40

-20

0

20

40

10-2

10-1

100

101

102

89

89.5

90

90.5

91

Old method:

Page 11: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

11

𝐻(𝑠) = 𝐴𝑠

New method:

Page 12: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

Bode plot of an integrator

12

10-2

10-1

100

101

102

-40

-20

0

20

40

10-2

10-1

100

101

102

-91

-90.5

-90

-89.5

-89

Mirror image of the

Bode plot of G(s)=s

with respect to w-axis.

Old method:

Page 13: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

13

𝐻(𝑠) =𝐴

𝑠

New method:

Page 14: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

Sketching Bode plot

• Basic functions• Constant gain

• Differentiator and Integrator

• First order system and its inverse

• Second order system

• Product of basic functions1. Sketch Bode plot of each factor, and

2. Add the Bode plots graphically.

14

Page 15: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

10-2

10-1

100

101

102

-50

-40

-30

-20

-10

0

10-2

10-1

100

101

102

-100

-80

-60

-40

-20

0

Bode plot of a 1st order system

15

Corner frequencyStraight-line approximation

Old method:

Page 16: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

16

𝐻(𝑠) =𝐴

1 +𝑠𝜔𝑜

New method:

Page 17: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

Bode plot of an inverse system

17

Mirror image of the

original Bode plot with

respect to w-axis.10

-210

-110

010

110

20

10

20

30

40

50

10-2

10-1

100

101

102

0

20

40

60

80

100

Old method:

Page 18: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

18

Bode plot: Zero at

𝐻(𝑠) = 𝐴 1 +𝑠

𝜔𝑜

𝜔𝑜

New method:

Page 19: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

Sketching Bode plot

• Basic functions• Constant gain

• Differentiator and Integrator

• First order system and its inverse

• Second order system

• Product of basic functions1. Sketch Bode plot of each factor, and

2. Add the Bode plots graphically.

19

Page 20: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

Bode plot of a 2nd order system

20

10-1

100

101

-60

-40

-20

0

20

10-1

100

101

-200

-150

-100

-50

0

resonance

Resonant freq.

Peak gain

Old method:

Page 21: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

21

Bode plot of a 2nd order system

𝐻(𝑠) =𝐴

1 +𝑠

𝑄𝜔𝑜+

𝑠𝜔𝑜

2

𝑄 =1

2𝜍

New method:

Page 22: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

Sketching Bode plot

• Basic functions• Constant gain

• Differentiator and Integrator

• First order system and its inverse

• Second order system

• Product of basic functions1. Sketch Bode plot of each factor, and

2. Add the Bode plots graphically.

22

Main advantage of Bode plot!

Page 23: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

An advantage of Bode plot

• Bode plot of a series connection G1(s)G2(s) is the addition of each Bode plot of G1 and G2.• Gain

• Phase

• Later, we use this property to design C(s) so that G(s)C(s) has a “desired” shape of Bode plot.

23

Page 24: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

Short proofs

• Use polar representation

Then,

Therefore,

24

Page 25: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

Example 1

• Sketch the Bode plot of a transfer function

1. Decompose G(s) into a product form:

2. Sketch a Bode plot for each component on the same graph.

3. Add them all on both gain and phase plots.

25

Page 26: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

Example 1 (cont’d)

26

dB

deg

-20

Page 27: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

Example 2

27

dB

deg

-20

Page 28: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

Example 3

28

dB

deg

-20

-40

Page 29: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

Remark

• You can use MATLAB command “bode” to obtain the precise magnitude and phase responses.

29

Page 30: ECE317 : Feedback and Control - web.cecs.pdx.eduweb.cecs.pdx.edu/~tymerski/ece317/ECE317 L12_Bode.pdf · An advantage of Bode plot •Bode plot of a series connection G 1(s)G 2(s)

Summary

• Sketches of Bode plots • Basic transfer functions

• Products of basic transfer functions

• The new approach to sketching Bode plots is useful:• With simplified annotations we’re able to quickly obtain

good approximations to magnitude and phase values.

• This approach will be particularly useful in the process of compensator design where simplified design expressions will be derived from the sketched plots. (After a design is completed, it may be verified with MATLAB using the exact transfer function expressions).

• Next, practice sketching Bode plots

30