Plan of the Lecture Review: Bode plots for three types of transfer - - PowerPoint PPT Presentation

plan of the lecture
SMART_READER_LITE
LIVE PREVIEW

Plan of the Lecture Review: Bode plots for three types of transfer - - PowerPoint PPT Presentation

Plan of the Lecture Review: Bode plots for three types of transfer functions Todays topic: stability from frequency response; gain and phase margins Plan of the Lecture Review: Bode plots for three types of transfer functions


slide-1
SLIDE 1

Plan of the Lecture

◮ Review: Bode plots for three types of transfer functions ◮ Today’s topic: stability from frequency response; gain and

phase margins

slide-2
SLIDE 2

Plan of the Lecture

◮ Review: Bode plots for three types of transfer functions ◮ Today’s topic: stability from frequency response; gain and

phase margins Goal: learn to read off stability properties of the closed-loop system from the Bode plot of the open-loop transfer function; define and calculate Gain and Phase Margins, important quantitative measures of “distance to instability.”

slide-3
SLIDE 3

Plan of the Lecture

◮ Review: Bode plots for three types of transfer functions ◮ Today’s topic: stability from frequency response; gain and

phase margins Goal: learn to read off stability properties of the closed-loop system from the Bode plot of the open-loop transfer function; define and calculate Gain and Phase Margins, important quantitative measures of “distance to instability.” Reading: FPE, Section 6.1

slide-4
SLIDE 4

Stability from Frequency Response

Consider this unity feedback configuration:

G(s) Y

+ −

R K

Question: How can we decide whether the closed-loop system is stable for a given value of K > 0 based on our knowledge of the open-loop transfer function KG(s)?

slide-5
SLIDE 5

Stability from Frequency Response

G(s) Y

+ −

R K

Question: How can we decide whether the closed-loop system is stable for a given value of K > 0 based on our knowledge of the open-loop transfer function KG(s)? One answer: use root locus.

slide-6
SLIDE 6

Stability from Frequency Response

G(s) Y

+ −

R K

Question: How can we decide whether the closed-loop system is stable for a given value of K > 0 based on our knowledge of the open-loop transfer function KG(s)? One answer: use root locus. Points on the root locus satisfy the characteristic equation 1 + KG(s) = 0 ⇐ ⇒ KG(s) = −1

⇒ G(s) = − 1 K

slide-7
SLIDE 7

Stability from Frequency Response

G(s) Y

+ −

R K

Question: How can we decide whether the closed-loop system is stable for a given value of K > 0 based on our knowledge of the open-loop transfer function KG(s)? One answer: use root locus. Points on the root locus satisfy the characteristic equation 1 + KG(s) = 0 ⇐ ⇒ KG(s) = −1

⇒ G(s) = − 1 K

  • If s ∈ C is on the RL, then

|KG(s)| = 1 and ∠KG(s) = ∠G(s) = 180◦ mod 360◦

slide-8
SLIDE 8

Stability from Frequency Response

G(s) Y

+ −

R K

Question: How can we decide whether the closed-loop system is stable for a given value of K > 0 based on our knowledge of the open-loop transfer function KG(s)? Another answer: let’s look at the Bode plots: ω − → |KG(jω)|

  • n log-log scale

ω − → ∠KG(jω)

  • n log-linear scale
slide-9
SLIDE 9

Stability from Frequency Response

G(s) Y

+ −

R K

Question: How can we decide whether the closed-loop system is stable for a given value of K > 0 based on our knowledge of the open-loop transfer function KG(s)? Another answer: let’s look at the Bode plots: ω − → |KG(jω)|

  • n log-log scale

ω − → ∠KG(jω)

  • n log-linear scale

— Bode plots show us magnitude and phase, but only for s = jω, 0 < ω < ∞

slide-10
SLIDE 10

Stability from Frequency Response

G(s) Y

+ −

R K

Question: How can we decide whether the closed-loop system is stable for a given value of K > 0 based on our knowledge of the open-loop transfer function KG(s)? Another answer: let’s look at the Bode plots: ω − → |KG(jω)|

  • n log-log scale

ω − → ∠KG(jω)

  • n log-linear scale

— Bode plots show us magnitude and phase, but only for s = jω, 0 < ω < ∞ How does this relate to the root locus?

slide-11
SLIDE 11

Stability from Frequency Response

G(s) Y

+ −

R K

Question: How can we decide whether the closed-loop system is stable for a given value of K > 0 based on our knowledge of the open-loop transfer function KG(s)? Another answer: let’s look at the Bode plots: ω − → |KG(jω)|

  • n log-log scale

ω − → ∠KG(jω)

  • n log-linear scale

— Bode plots show us magnitude and phase, but only for s = jω, 0 < ω < ∞ How does this relate to the root locus?

jω-crossings!!

slide-12
SLIDE 12

Stability from Frequency Response

G(s) Y

+ −

R K

Stability from frequency response. If s = jω is on the root locus (for some value of K), then |KG(jω)| = 1 and ∠KG(jω) = 180◦ mod 360◦

slide-13
SLIDE 13

Stability from Frequency Response

G(s) Y

+ −

R K

Stability from frequency response. If s = jω is on the root locus (for some value of K), then |KG(jω)| = 1 and ∠KG(jω) = 180◦ mod 360◦ Therefore, the transition from stability to instability can be detected in two different ways:

◮ from root locus — as jω-crossings ◮ from Bode plots — as M = 1 and φ = 180◦ at some

frequency ω (for a given value of K)

slide-14
SLIDE 14

Example

KG(s) = K s(s2 + 2s + 2)

slide-15
SLIDE 15

Example

KG(s) = K s(s2 + 2s + 2) Characteristic equation: 1 + K s(s2 + 2s + 2) = 0

slide-16
SLIDE 16

Example

KG(s) = K s(s2 + 2s + 2) Characteristic equation: 1 + K s(s2 + 2s + 2) = 0 s(s2 + 2s + 2) + K = 0

slide-17
SLIDE 17

Example

KG(s) = K s(s2 + 2s + 2) Characteristic equation: 1 + K s(s2 + 2s + 2) = 0 s(s2 + 2s + 2) + K = 0 s3 + 2s2 + 2s + K = 0

slide-18
SLIDE 18

Example

KG(s) = K s(s2 + 2s + 2) Characteristic equation: 1 + K s(s2 + 2s + 2) = 0 s(s2 + 2s + 2) + K = 0 s3 + 2s2 + 2s + K = 0 Recall the necessary & sufficient condition for stability for a 3rd-degree polynomial s3 + a1s2 + a2s + a3: a1, a2, a3 > 0, a1a2 > a3.

slide-19
SLIDE 19

Example

KG(s) = K s(s2 + 2s + 2) Characteristic equation: 1 + K s(s2 + 2s + 2) = 0 s(s2 + 2s + 2) + K = 0 s3 + 2s2 + 2s + K = 0 Recall the necessary & sufficient condition for stability for a 3rd-degree polynomial s3 + a1s2 + a2s + a3: a1, a2, a3 > 0, a1a2 > a3. Here, the closed-loop system is stable if and only if 0 < K < 4.

slide-20
SLIDE 20

Example

KG(s) = K s(s2 + 2s + 2) Characteristic equation: 1 + K s(s2 + 2s + 2) = 0 s(s2 + 2s + 2) + K = 0 s3 + 2s2 + 2s + K = 0 Recall the necessary & sufficient condition for stability for a 3rd-degree polynomial s3 + a1s2 + a2s + a3: a1, a2, a3 > 0, a1a2 > a3. Here, the closed-loop system is stable if and only if 0 < K < 4. Let’s see what we can read off from the Bode plots.

slide-21
SLIDE 21

Example, continued

KG(s) = K s(s2 + 2s + 2) Bode form: KG(jω) = K 2jω jω

√ 2

2 + jω + 1

slide-22
SLIDE 22

Example, continued

KG(s) = K s(s2 + 2s + 2) Bode form: KG(jω) = K 2jω jω

√ 2

2 + jω + 1

  • Plot the magnitude first:
slide-23
SLIDE 23

Example, continued

KG(s) = K s(s2 + 2s + 2) Bode form: KG(jω) = K 2jω jω

√ 2

2 + jω + 1

  • Plot the magnitude first:

◮ Type 1 (low-frequency) asymptote: K/2

slide-24
SLIDE 24

Example, continued

KG(s) = K s(s2 + 2s + 2) Bode form: KG(jω) = K 2jω jω

√ 2

2 + jω + 1

  • Plot the magnitude first:

◮ Type 1 (low-frequency) asymptote: K/2

jω K0 = K/2, n = −1

slide-25
SLIDE 25

Example, continued

KG(s) = K s(s2 + 2s + 2) Bode form: KG(jω) = K 2jω jω

√ 2

2 + jω + 1

  • Plot the magnitude first:

◮ Type 1 (low-frequency) asymptote: K/2

jω K0 = K/2, n = −1 = ⇒ slope = −1, passes through (ω = 1, M = K/2)

slide-26
SLIDE 26

Example, continued

KG(s) = K s(s2 + 2s + 2) Bode form: KG(jω) = K 2jω jω

√ 2

2 + jω + 1

  • Plot the magnitude first:

◮ Type 1 (low-frequency) asymptote: K/2

jω K0 = K/2, n = −1 = ⇒ slope = −1, passes through (ω = 1, M = K/2)

◮ Type 3 (complex pole) asymptote:

slide-27
SLIDE 27

Example, continued

KG(s) = K s(s2 + 2s + 2) Bode form: KG(jω) = K 2jω jω

√ 2

2 + jω + 1

  • Plot the magnitude first:

◮ Type 1 (low-frequency) asymptote: K/2

jω K0 = K/2, n = −1 = ⇒ slope = −1, passes through (ω = 1, M = K/2)

◮ Type 3 (complex pole) asymptote:

break-point at ω = √ 2

slide-28
SLIDE 28

Example, continued

KG(s) = K s(s2 + 2s + 2) Bode form: KG(jω) = K 2jω jω

√ 2

2 + jω + 1

  • Plot the magnitude first:

◮ Type 1 (low-frequency) asymptote: K/2

jω K0 = K/2, n = −1 = ⇒ slope = −1, passes through (ω = 1, M = K/2)

◮ Type 3 (complex pole) asymptote:

break-point at ω = √ 2 = ⇒ slope down by 2

slide-29
SLIDE 29

Example, continued

KG(s) = K s(s2 + 2s + 2) Bode form: KG(jω) = K 2jω jω

√ 2

2 + jω + 1

  • Plot the magnitude first:

◮ Type 1 (low-frequency) asymptote: K/2

jω K0 = K/2, n = −1 = ⇒ slope = −1, passes through (ω = 1, M = K/2)

◮ Type 3 (complex pole) asymptote:

break-point at ω = √ 2 = ⇒ slope down by 2

◮ ζ =

1 √ 2 = ⇒ no reasonant peak

slide-30
SLIDE 30

Example, Magnitude Plot

KG(jω) = K 2jω jω

√ 2

2 + jω + 1

  • Magnitude plot for K = 4 (the critical value):

0.001 0.01 0.1 1 10

  • 60.
  • 40.
  • 20.

0. 20. 40. 60.

slope = -1 slope = -3 M = 1 ω = √ 2

slide-31
SLIDE 31

Example, Magnitude Plot

KG(jω) = K 2jω jω

√ 2

2 + jω + 1

  • Magnitude plot for K = 4 (the critical value):

0.001 0.01 0.1 1 10

  • 60.
  • 40.
  • 20.

0. 20. 40. 60.

slope = -1 slope = -3 M = 1 ω = √ 2

When ω = √ 2, M = |4G(jω)| =

  • 2

j √ 2

  • j2 + j

√ 2 + 1

  • = 1
slide-32
SLIDE 32

Example, Phase Plot

KG(jω) = K 2jω jω

√ 2

2 + jω + 1

  • Phase plot (independent of K):

0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

ω = √ 2 φ = −180◦

slide-33
SLIDE 33

Example, Phase Plot

KG(jω) = K 2jω jω

√ 2

2 + jω + 1

  • Phase plot (independent of K):

0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

ω = √ 2 φ = −180◦

When ω = √ 2, φ = −180◦

slide-34
SLIDE 34

0.001 0.01 0.1 1 10

  • 60.
  • 40.
  • 20.

0. 20. 40. 60.

slope = -1 slope = -3 M = 1 ω = √ 2

0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

ω = √ 2 φ = −180◦

For the critical value K = 4: M = 1 and φ = 180◦ mod 360◦ at ω = √ 2

slide-35
SLIDE 35

Crossover Frequency and Stability

Definition: The frequency at which M = 1 is called the crossover frequency and denoted by ωc.

0.001 0.01 0.1 1 10

  • 60.
  • 40.
  • 20.

0. 20. 40. 60.

slope = -1 slope = -3 M = 1 ω = √ 2

slide-36
SLIDE 36

Crossover Frequency and Stability

Definition: The frequency at which M = 1 is called the crossover frequency and denoted by ωc.

0.001 0.01 0.1 1 10

  • 60.
  • 40.
  • 20.

0. 20. 40. 60.

slope = -1 slope = -3 M = 1 ω = √ 2

Transition from stability to instability on the Bode plot: for critical K, ∠G(jωc) = 180◦

slide-37
SLIDE 37

Effect of Varying K

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4 K=8

slide-38
SLIDE 38

Effect of Varying K

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4 K=8

What happens as we vary K?

slide-39
SLIDE 39

Effect of Varying K

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4 K=8

What happens as we vary K?

◮ φ independent of K

slide-40
SLIDE 40

Effect of Varying K

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4 K=8

What happens as we vary K?

◮ φ independent of K =

  • nly the M-plot changes
slide-41
SLIDE 41

Effect of Varying K

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4 K=8

What happens as we vary K?

◮ φ independent of K =

  • nly the M-plot changes

◮ If we multiply K by 2:

slide-42
SLIDE 42

Effect of Varying K

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4 K=8

What happens as we vary K?

◮ φ independent of K =

  • nly the M-plot changes

◮ If we multiply K by 2:

log(2M) = log 2 + log M

slide-43
SLIDE 43

Effect of Varying K

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4 K=8

What happens as we vary K?

◮ φ independent of K =

  • nly the M-plot changes

◮ If we multiply K by 2:

log(2M) = log 2 + log M – M-plot shifts up by log 2

slide-44
SLIDE 44

Effect of Varying K

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4 K=8

What happens as we vary K?

◮ φ independent of K =

  • nly the M-plot changes

◮ If we multiply K by 2:

log(2M) = log 2 + log M – M-plot shifts up by log 2

◮ If we divide K by 2:

slide-45
SLIDE 45

Effect of Varying K

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4 K=8

What happens as we vary K?

◮ φ independent of K =

  • nly the M-plot changes

◮ If we multiply K by 2:

log(2M) = log 2 + log M – M-plot shifts up by log 2

◮ If we divide K by 2:

log(1 2M) = log 1 2 + log M = − log 2 + log M

slide-46
SLIDE 46

Effect of Varying K

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4 K=8

What happens as we vary K?

◮ φ independent of K =

  • nly the M-plot changes

◮ If we multiply K by 2:

log(2M) = log 2 + log M – M-plot shifts up by log 2

◮ If we divide K by 2:

log(1 2M) = log 1 2 + log M = − log 2 + log M – M-plot shifts down by log 2

slide-47
SLIDE 47

Effect of Varying K

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4 K=8

What happens as we vary K?

◮ φ independent of K =

  • nly the M-plot changes

◮ If we multiply K by 2:

log(2M) = log 2 + log M – M-plot shifts up by log 2

◮ If we divide K by 2:

log(1 2M) = log 1 2 + log M = − log 2 + log M – M-plot shifts down by log 2 Changing the value of K moves the crossover frequency ωc!!

slide-48
SLIDE 48

Effect of Varying K

Changing the value of K moves the crossover frequency ωc!!

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4 K=8

What happens as we vary K? ∠KG(jωc)                      > −180◦, for K < 4

(stable)

= −180◦, for K = 4

(critical)

< −180◦, for K > 4

(unstable)

slide-49
SLIDE 49

Effect of Varying K

Changing the value of K moves the crossover frequency ωc!!

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4 K=8

Equivalently, we may define ω180◦ as the frequency at which φ = 180◦ mod 360◦.

slide-50
SLIDE 50

Effect of Varying K

Changing the value of K moves the crossover frequency ωc!!

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4 K=8

Equivalently, we may define ω180◦ as the frequency at which φ = 180◦ mod 360◦. Then, in this example∗, |KG(jω180◦)| < 1 ← → stability |KG(jω180◦)| > 1 ← → instability

slide-51
SLIDE 51

Effect of Varying K

Changing the value of K moves the crossover frequency ωc!!

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4 K=8

Equivalently, we may define ω180◦ as the frequency at which φ = 180◦ mod 360◦. Then, in this example∗, |KG(jω180◦)| < 1 ← → stability |KG(jω180◦)| > 1 ← → instability

∗ Not a general rule; conditions will

vary depending on the system, must use either root locus or Nyquist plot to resolve ambiguity.

slide-52
SLIDE 52

Stability from Frequency Response

Consider this unity feedback configuration:

G(s) Y

+ −

R K

Suppose that the closed-loop system, with transfer function KG(s) 1 + KG(s), is stable for a given value of K.

slide-53
SLIDE 53

Stability from Frequency Response

Consider this unity feedback configuration:

G(s) Y

+ −

R K

Suppose that the closed-loop system, with transfer function KG(s) 1 + KG(s), is stable for a given value of K. Question: Can we use the Bode plot to determine how far from instability we are?

slide-54
SLIDE 54

Stability from Frequency Response

Consider this unity feedback configuration:

G(s) Y

+ −

R K

Suppose that the closed-loop system, with transfer function KG(s) 1 + KG(s), is stable for a given value of K. Question: Can we use the Bode plot to determine how far from instability we are? Two important characteristics: gain margin (GM) and phase margin (PM).

slide-55
SLIDE 55

Gain Margin

Back to our example: G(s) = 1 s(s2 + 2s + 2), K = 2 (stable)

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4

Gain margin (GM) is the factor by which K can be multiplied before we get M = 1 when φ = 180◦

slide-56
SLIDE 56

Gain Margin

Back to our example: G(s) = 1 s(s2 + 2s + 2), K = 2 (stable)

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4

Gain margin (GM) is the factor by which K can be multiplied before we get M = 1 when φ = 180◦ Since varying K doesn’t change ω180◦, to find GM we need to inspect M at ω = ω180◦

slide-57
SLIDE 57

Gain Margin

Our example: G(s) = 1 s(s2 + 2s + 2), K = 2 (stable)

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4

ω180◦ = √ 2 M = 0.5(−6 dB)

slide-58
SLIDE 58

Gain Margin

Our example: G(s) = 1 s(s2 + 2s + 2), K = 2 (stable)

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4

ω180◦ = √ 2 M = 0.5(−6 dB) Gain margin (GM) is the factor by which K can be multiplied before we get M = 1 when φ = 180◦

slide-59
SLIDE 59

Gain Margin

Our example: G(s) = 1 s(s2 + 2s + 2), K = 2 (stable)

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4

ω180◦ = √ 2 M = 0.5(−6 dB) Gain margin (GM) is the factor by which K can be multiplied before we get M = 1 when φ = 180◦ Since varying K doesn’t change ω180◦, to find GM we need to inspect M at ω = ω180◦

slide-60
SLIDE 60

Gain Margin

Our example: G(s) = 1 s(s2 + 2s + 2), K = 2 (stable)

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4

ω180◦ = √ 2 M = 0.5(−6 dB) Gain margin (GM) is the factor by which K can be multiplied before we get M = 1 when φ = 180◦ Since varying K doesn’t change ω180◦, to find GM we need to inspect M at ω = ω180◦ In this example: at ω180◦ = √ 2 M = 0.5 (−6 dB), so GM = 2

slide-61
SLIDE 61

Phase Margin

Our example: G(s) = 1 s(s2 + 2s + 2), K = 2 (stable)

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4

φ = −148◦ M = 1 ωc ≈ 0.92

slide-62
SLIDE 62

Phase Margin

Our example: G(s) = 1 s(s2 + 2s + 2), K = 2 (stable)

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4

φ = −148◦ M = 1 ωc ≈ 0.92 Phase margin (PM) is the amount by which the phase at the crossover frequency ωc differs from 180◦ mod 360◦

slide-63
SLIDE 63

Phase Margin

Our example: G(s) = 1 s(s2 + 2s + 2), K = 2 (stable)

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4

φ = −148◦ M = 1 ωc ≈ 0.92 Phase margin (PM) is the amount by which the phase at the crossover frequency ωc differs from 180◦ mod 360◦ To find PM, we need to inspect φ at ω = ωc

slide-64
SLIDE 64

Phase Margin

Our example: G(s) = 1 s(s2 + 2s + 2), K = 2 (stable)

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4

φ = −148◦ M = 1 ωc ≈ 0.92 Phase margin (PM) is the amount by which the phase at the crossover frequency ωc differs from 180◦ mod 360◦ To find PM, we need to inspect φ at ω = ωc In this example: at ωc ≈ 0.92 φ = −148◦, so PM = (−148◦) − (−180◦) = 32◦

slide-65
SLIDE 65

Phase Margin

Our example: G(s) = 1 s(s2 + 2s + 2), K = 2 (stable)

0.001 0.01 0.1 1 10

  • 80.
  • 60.
  • 40.
  • 20.

0. 20. 40. 60. 0.001 0.01 0.1 1 10

  • 250.
  • 225.
  • 200.
  • 175.
  • 150.
  • 125.
  • 100.

K=2 K=4

φ = −148◦ M = 1 ωc ≈ 0.92 Phase margin (PM) is the amount by which the phase at the crossover frequency ωc differs from 180◦ mod 360◦ To find PM, we need to inspect φ at ω = ωc In this example: at ωc ≈ 0.92 φ = −148◦, so PM = (−148◦) − (−180◦) = 32◦ (in practice, want PM ≥ 30◦)

slide-66
SLIDE 66

Example 2

G(s) Y

+ −

R K

G(s) = ω2

n

s2 + 2ζωns ζ, ωn > 0

slide-67
SLIDE 67

Example 2

G(s) Y

+ −

R K

G(s) = ω2

n

s2 + 2ζωns ζ, ωn > 0 Consider gain K = 1, which gives closed-loop transfer function KG(s) 1 + KG(s) = ω2

n

s2 + 2ζωns 1 + ω2

n

s2 + 2ζωns = ω2

n

s2 + 2ζωns + ω2

n

— prototype 2nd-order response

slide-68
SLIDE 68

Example 2

G(s) Y

+ −

R K

G(s) = ω2

n

s2 + 2ζωns ζ, ωn > 0 Consider gain K = 1, which gives closed-loop transfer function KG(s) 1 + KG(s) = ω2

n

s2 + 2ζωns 1 + ω2

n

s2 + 2ζωns = ω2

n

s2 + 2ζωns + ω2

n

— prototype 2nd-order response Question: what is the gain margin at K = 1?

slide-69
SLIDE 69

Example 2

G(s) Y

+ −

R K

G(s) = ω2

n

s2 + 2ζωns ζ, ωn > 0 Consider gain K = 1, which gives closed-loop transfer function KG(s) 1 + KG(s) = ω2

n

s2 + 2ζωns 1 + ω2

n

s2 + 2ζωns = ω2

n

s2 + 2ζωns + ω2

n

— prototype 2nd-order response Question: what is the gain margin at K = 1? Answer: GM = ∞

slide-70
SLIDE 70

Example 2

G(jω) = ω2

n

(jω)2 + 2ζωnjω = ωn 2ζjω

2ζωn + 1

slide-71
SLIDE 71

Example 2

G(jω) = ω2

n

(jω)2 + 2ζωnjω = ωn 2ζjω

2ζωn + 1

  • Let’s look at the phase plot:
slide-72
SLIDE 72

Example 2

G(jω) = ω2

n

(jω)2 + 2ζωnjω = ωn 2ζjω

2ζωn + 1

  • Let’s look at the phase plot:

◮ starts at −90◦ (Type 1 term with n = −1)

slide-73
SLIDE 73

Example 2

G(jω) = ω2

n

(jω)2 + 2ζωnjω = ωn 2ζjω

2ζωn + 1

  • Let’s look at the phase plot:

◮ starts at −90◦ (Type 1 term with n = −1) ◮ goes down by −90◦ (Type 2 pole)

slide-74
SLIDE 74

Example 2

G(jω) = ω2

n

(jω)2 + 2ζωnjω = ωn 2ζjω

2ζωn + 1

  • Let’s look at the phase plot:

◮ starts at −90◦ (Type 1 term with n = −1) ◮ goes down by −90◦ (Type 2 pole)

0.001 0.01 0.1 1 10

  • 160.
  • 140.
  • 120.
  • 100.

−90◦ −180◦

slide-75
SLIDE 75

Example 2

G(jω) = ω2

n

(jω)2 + 2ζωnjω = ωn 2ζjω

2ζωn + 1

  • Let’s look at the phase plot:

◮ starts at −90◦ (Type 1 term with n = −1) ◮ goes down by −90◦ (Type 2 pole)

0.001 0.01 0.1 1 10

  • 160.
  • 140.
  • 120.
  • 100.

−90◦ −180◦

Recall: to find GM, we first need to find ω180◦, and here there is no such ω = ⇒ no GM.

slide-76
SLIDE 76

Example 2

So, at K = 1, the gain margin of G(s) = ω2

n

s2 + 2ζωns = ω2

n

s(s + 2ζωn) is equal to ∞ — what does that mean?

slide-77
SLIDE 77

Example 2

So, at K = 1, the gain margin of G(s) = ω2

n

s2 + 2ζωns = ω2

n

s(s + 2ζωn) is equal to ∞ — what does that mean? It means that we can keep on increasing K indefinitely without ever encountering instability.

slide-78
SLIDE 78

Example 2

So, at K = 1, the gain margin of G(s) = ω2

n

s2 + 2ζωns = ω2

n

s(s + 2ζωn) is equal to ∞ — what does that mean? It means that we can keep on increasing K indefinitely without ever encountering instability. But we already knew that: the characteristic polynomial is p(s) = s2 + 2ζωns + ω2

n,

which is always stable.

slide-79
SLIDE 79

Example 2

So, at K = 1, the gain margin of G(s) = ω2

n

s2 + 2ζωns = ω2

n

s(s + 2ζωn) is equal to ∞ — what does that mean? It means that we can keep on increasing K indefinitely without ever encountering instability. But we already knew that: the characteristic polynomial is p(s) = s2 + 2ζωns + ω2

n,

which is always stable. What about phase margin?

slide-80
SLIDE 80

Example 2: Phase Margin

G(jω) = ω2

n

(jω)2 + 2ζωnjω = ωn 2ζjω

2ζωn + 1

slide-81
SLIDE 81

Example 2: Phase Margin

G(jω) = ω2

n

(jω)2 + 2ζωnjω = ωn 2ζjω

2ζωn + 1

  • Let’s look at the magnitude plot:
slide-82
SLIDE 82

Example 2: Phase Margin

G(jω) = ω2

n

(jω)2 + 2ζωnjω = ωn 2ζjω

2ζωn + 1

  • Let’s look at the magnitude plot:

◮ low-frequency asymptote slope −1 (Type 1 term, n = −1)

slide-83
SLIDE 83

Example 2: Phase Margin

G(jω) = ω2

n

(jω)2 + 2ζωnjω = ωn 2ζjω

2ζωn + 1

  • Let’s look at the magnitude plot:

◮ low-frequency asymptote slope −1 (Type 1 term, n = −1) ◮ slope down by 1 past the breakpt. ω = 2ζωn (Type 2 pole)

slide-84
SLIDE 84

Example 2: Phase Margin

G(jω) = ω2

n

(jω)2 + 2ζωnjω = ωn 2ζjω

2ζωn + 1

  • Let’s look at the magnitude plot:

◮ low-frequency asymptote slope −1 (Type 1 term, n = −1) ◮ slope down by 1 past the breakpt. ω = 2ζωn (Type 2 pole)

= ⇒ there is a finite crossover frequency ωc!!

slide-85
SLIDE 85

Example 2: Phase Margin

G(jω) = ω2

n

(jω)2 + 2ζωnjω = ωn 2ζjω

2ζωn + 1

  • Let’s look at the magnitude plot:

◮ low-frequency asymptote slope −1 (Type 1 term, n = −1) ◮ slope down by 1 past the breakpt. ω = 2ζωn (Type 2 pole)

= ⇒ there is a finite crossover frequency ωc!!

0.001 0.01 0.1 1 10

  • 60.
  • 40.
  • 20.

0. 20. 40.

slope = -1 slope = -2 ωc M = 1

slide-86
SLIDE 86

Example 2: Magnitude Plot

G(jω) = ω2

n

(jω)2 + 2ζωnjω = ωn 2ζjω

2ζωn + 1

  • 0.001

0.01 0.1 1 10

  • 60.
  • 40.
  • 20.

0. 20. 40.

slope = -1 slope = -2 ωc M = 1

slide-87
SLIDE 87

Example 2: Magnitude Plot

G(jω) = ω2

n

(jω)2 + 2ζωnjω = ωn 2ζjω

2ζωn + 1

  • 0.001

0.01 0.1 1 10

  • 60.
  • 40.
  • 20.

0. 20. 40.

slope = -1 slope = -2 ωc M = 1

It can be shown that, for this system, PM

  • K=1 = tan−1
  • 4ζ4 + 1 − 2ζ2
slide-88
SLIDE 88

Example 2: Magnitude Plot

G(jω) = ω2

n

(jω)2 + 2ζωnjω = ωn 2ζjω

2ζωn + 1

  • 0.001

0.01 0.1 1 10

  • 60.
  • 40.
  • 20.

0. 20. 40.

slope = -1 slope = -2 ωc M = 1

It can be shown that, for this system, PM

  • K=1 = tan−1
  • 4ζ4 + 1 − 2ζ2
  • — for PM < 70◦, a good approximation is PM ≈ 100 · ζ
slide-89
SLIDE 89

Phase Margin for 2nd-Order System

G(jω) = ω2

n

(jω)2 + 2ζωnjω = ωn 2ζjω

2ζωn + 1

  • PM
  • K=1 = tan−1
  • 4ζ4 + 1 − 2ζ2
  • ≈ 100 · ζ
slide-90
SLIDE 90

Phase Margin for 2nd-Order System

G(jω) = ω2

n

(jω)2 + 2ζωnjω = ωn 2ζjω

2ζωn + 1

  • PM
  • K=1 = tan−1
  • 4ζ4 + 1 − 2ζ2
  • ≈ 100 · ζ

Conclusions: larger PM ⇐ ⇒ better damping

(open-loop quantity) (closed-loop characteristic)

slide-91
SLIDE 91

Phase Margin for 2nd-Order System

G(jω) = ω2

n

(jω)2 + 2ζωnjω = ωn 2ζjω

2ζωn + 1

  • PM
  • K=1 = tan−1
  • 4ζ4 + 1 − 2ζ2
  • ≈ 100 · ζ

Conclusions: larger PM ⇐ ⇒ better damping

(open-loop quantity) (closed-loop characteristic)

Thus, the overshoot Mp = exp

πζ

1−ζ2

  • and resonant peak

Mr =

1 2ζ√ 1−ζ2 − 1 are both related to PM through ζ!!

slide-92
SLIDE 92

Preview: Bode’s Gain-Phase Relationship

In the next lecture, we will see the following more generally:

Hendrik Wade Bode (1905–1982)

Bode’s Gain-Phase Relationship: all important characteristics of the closed-loop time response can be related to the phase margin of the

  • pen-loop transfer function!!

In fact, we will use a quantitative statement of this relationship as a design guideline.