Plan of the Lecture Review: design using Root Locus; dynamic - - PowerPoint PPT Presentation

plan of the lecture
SMART_READER_LITE
LIVE PREVIEW

Plan of the Lecture Review: design using Root Locus; dynamic - - PowerPoint PPT Presentation

Plan of the Lecture Review: design using Root Locus; dynamic compensation; PD and lead control Todays topic: PI and lag control; introduction to frequency-response design method Plan of the Lecture Review: design using Root Locus;


slide-1
SLIDE 1

Plan of the Lecture

◮ Review: design using Root Locus; dynamic compensation;

PD and lead control

◮ Today’s topic: PI and lag control; introduction to

frequency-response design method

slide-2
SLIDE 2

Plan of the Lecture

◮ Review: design using Root Locus; dynamic compensation;

PD and lead control

◮ Today’s topic: PI and lag control; introduction to

frequency-response design method Goal: wrap up lead and lag control; start looking at frequency response as an alternative methodology for control systems design.

slide-3
SLIDE 3

Plan of the Lecture

◮ Review: design using Root Locus; dynamic compensation;

PD and lead control

◮ Today’s topic: PI and lag control; introduction to

frequency-response design method Goal: wrap up lead and lag control; start looking at frequency response as an alternative methodology for control systems design. Reading: FPE, Sections 5.1–5.4, 6.1

slide-4
SLIDE 4

Recap: Lead & Lag Compensators

Consider a general controller of the form K s + z s + p — K, z, p > 0 are design parameters

slide-5
SLIDE 5

Recap: Lead & Lag Compensators

Consider a general controller of the form K s + z s + p — K, z, p > 0 are design parameters Depending on the relative values of z and p, we call it:

slide-6
SLIDE 6

Recap: Lead & Lag Compensators

Consider a general controller of the form K s + z s + p — K, z, p > 0 are design parameters Depending on the relative values of z and p, we call it:

◮ a lead compensator when z < p

slide-7
SLIDE 7

Recap: Lead & Lag Compensators

Consider a general controller of the form K s + z s + p — K, z, p > 0 are design parameters Depending on the relative values of z and p, we call it:

◮ a lead compensator when z < p ◮ a lag compensator when z > p

slide-8
SLIDE 8

Recap: Lead & Lag Compensators

Consider a general controller of the form K s + z s + p — K, z, p > 0 are design parameters Depending on the relative values of z and p, we call it:

◮ a lead compensator when z < p ◮ a lag compensator when z > p

Why the name “lead/lag?” — think frequency response

slide-9
SLIDE 9

Recap: Lead & Lag Compensators

Consider a general controller of the form K s + z s + p — K, z, p > 0 are design parameters Depending on the relative values of z and p, we call it:

◮ a lead compensator when z < p ◮ a lag compensator when z > p

Why the name “lead/lag?” — think frequency response ∠jω + z jω + p = ∠(jω + z) − ∠(jω + p) = ψ − φ

slide-10
SLIDE 10

Recap: Lead & Lag Compensators

Consider a general controller of the form K s + z s + p — K, z, p > 0 are design parameters Depending on the relative values of z and p, we call it:

◮ a lead compensator when z < p ◮ a lag compensator when z > p

Why the name “lead/lag?” — think frequency response ∠jω + z jω + p = ∠(jω + z) − ∠(jω + p) = ψ − φ

◮ if z < p, then ψ − φ > 0

(phase lead)

◮ if z > p, then ψ − φ < 0

(phase lag)

z p ω ψ φ

slide-11
SLIDE 11

Approximate PI via Dynamic Compensation

PI control achieves the objective of stabilization and perfect steady-state tracking of constant references; however, just as with PD earlier, we want a stable controller.

slide-12
SLIDE 12

Approximate PI via Dynamic Compensation

PI control achieves the objective of stabilization and perfect steady-state tracking of constant references; however, just as with PD earlier, we want a stable controller. Here’s an idea: replace K s + 1 s by K s + 1 s + p, where p is small

slide-13
SLIDE 13

Approximate PI via Dynamic Compensation

PI control achieves the objective of stabilization and perfect steady-state tracking of constant references; however, just as with PD earlier, we want a stable controller. Here’s an idea: replace K s + 1 s by K s + 1 s + p, where p is small More generally, if z = KI/KP, then replace K s + z s by K s + z s + p, where p < z

slide-14
SLIDE 14

Approximate PI via Dynamic Compensation

PI control achieves the objective of stabilization and perfect steady-state tracking of constant references; however, just as with PD earlier, we want a stable controller. Here’s an idea: replace K s + 1 s by K s + 1 s + p, where p is small More generally, if z = KI/KP, then replace K s + z s by K s + z s + p, where p < z This is lag compensation (or lag control)!

slide-15
SLIDE 15

Approximate PI via Dynamic Compensation

PI control achieves the objective of stabilization and perfect steady-state tracking of constant references; however, just as with PD earlier, we want a stable controller. Here’s an idea: replace K s + 1 s by K s + 1 s + p, where p is small More generally, if z = KI/KP, then replace K s + z s by K s + z s + p, where p < z This is lag compensation (or lag control)! We use lag controllers as dynamic compensators for approximate PI control.

slide-16
SLIDE 16

Approximate PI via Lag Compensation

Gc(s) = K s + z s + p, p < z Gp(s) = 1 s − 1 How good is this controller?

slide-17
SLIDE 17

Approximate PI via Lag Compensation

Gc(s) = K s + z s + p, p < z Gp(s) = 1 s − 1 How good is this controller? Tracking a constant reference: assuming closed-loop stability, the FVT gives

slide-18
SLIDE 18

Approximate PI via Lag Compensation

Gc(s) = K s + z s + p, p < z Gp(s) = 1 s − 1 How good is this controller? Tracking a constant reference: assuming closed-loop stability, the FVT gives e(∞) = 1 1 + Gc(s)Gp(s)

  • s=0
slide-19
SLIDE 19

Approximate PI via Lag Compensation

Gc(s) = K s + z s + p, p < z Gp(s) = 1 s − 1 How good is this controller? Tracking a constant reference: assuming closed-loop stability, the FVT gives e(∞) = 1 1 + Gc(s)Gp(s)

  • s=0 =

1 1 + K

s+z (s+p)(s−1)

  • s=0
slide-20
SLIDE 20

Approximate PI via Lag Compensation

Gc(s) = K s + z s + p, p < z Gp(s) = 1 s − 1 How good is this controller? Tracking a constant reference: assuming closed-loop stability, the FVT gives e(∞) = 1 1 + Gc(s)Gp(s)

  • s=0 =

1 1 + K

s+z (s+p)(s−1)

  • s=0 =

1 1 − Kz

p

slide-21
SLIDE 21

Approximate PI via Lag Compensation

Gc(s) = K s + z s + p, p < z Gp(s) = 1 s − 1 How good is this controller? Tracking a constant reference: assuming closed-loop stability, the FVT gives e(∞) = 1 1 + Gc(s)Gp(s)

  • s=0 =

1 1 + K

s+z (s+p)(s−1)

  • s=0 =

1 1 − Kz

p

Check for stability: no RHP poles for 1 1 + Gc(s)Gp(s)

slide-22
SLIDE 22

Approximate PI via Lag Compensation

Gc(s) = K s + z s + p, p < z Gp(s) = 1 s − 1 How good is this controller? Tracking a constant reference: assuming closed-loop stability, the FVT gives e(∞) = 1 1 + Gc(s)Gp(s)

  • s=0 =

1 1 + K

s+z (s+p)(s−1)

  • s=0 =

1 1 − Kz

p

Check for stability: no RHP poles for 1 1 + Gc(s)Gp(s) (s + p)(s − 1) + K(s + z) = 0

slide-23
SLIDE 23

Approximate PI via Lag Compensation

Gc(s) = K s + z s + p, p < z Gp(s) = 1 s − 1 How good is this controller? Tracking a constant reference: assuming closed-loop stability, the FVT gives e(∞) = 1 1 + Gc(s)Gp(s)

  • s=0 =

1 1 + K

s+z (s+p)(s−1)

  • s=0 =

1 1 − Kz

p

Check for stability: no RHP poles for 1 1 + Gc(s)Gp(s) (s + p)(s − 1) + K(s + z) = 0 s2 + (K + p − 1)s + Kz − p = 0

slide-24
SLIDE 24

Approximate PI via Lag Compensation

Gc(s) = K s + z s + p, p < z Gp(s) = 1 s − 1 How good is this controller? Tracking a constant reference: assuming closed-loop stability, the FVT gives e(∞) = 1 1 + Gc(s)Gp(s)

  • s=0 =

1 1 + K

s+z (s+p)(s−1)

  • s=0 =

1 1 − Kz

p

Check for stability: no RHP poles for 1 1 + Gc(s)Gp(s) (s + p)(s − 1) + K(s + z) = 0 s2 + (K + p − 1)s + Kz − p = 0 Conditions for stability: K > 1 − p, Kz > p

slide-25
SLIDE 25

Approximate PI via Lag Compensation

Tracking a constant reference: if the stability conditions K > 1 − p, Kz > p are satisfied, then the steady-state error is e(∞) = 1 1 − Kz

p

slide-26
SLIDE 26

Approximate PI via Lag Compensation

Tracking a constant reference: if the stability conditions K > 1 − p, Kz > p are satisfied, then the steady-state error is e(∞) = 1 1 − Kz

p

— this will be close to zero (and negative) if Kz p is large.

slide-27
SLIDE 27

Approximate PI via Lag Compensation

Tracking a constant reference: if the stability conditions K > 1 − p, Kz > p are satisfied, then the steady-state error is e(∞) = 1 1 − Kz

p

— this will be close to zero (and negative) if Kz p is large. Lag compensation does not give perfect tracking (indeed, it does not change system type), but we can get as good a tracking as we want by playing with K, z, p. On the other hand, unlike PI, lag compensation gives a stable controller.

slide-28
SLIDE 28

Effect of Lag Compensation on Root Locus

L(s) = s + 1 (s + p)(s − 1)

slide-29
SLIDE 29

Effect of Lag Compensation on Root Locus

L(s) = s + 1 (s + p)(s − 1) Intuition: By choosing p very close to zero, we can make the root locus arbitrarily close to PI root locus (stable for large enough K). Let’s check:

slide-30
SLIDE 30

Effect of Lag Compensation on Root Locus

L(s) = s + 1 (s + p)(s − 1) Intuition: By choosing p very close to zero, we can make the root locus arbitrarily close to PI root locus (stable for large enough K). Let’s check: Try p = 0.1

  • 3
  • 2
  • 1

1

  • 1.0
  • 0.5

0.5 1.0

Compare to PI root locus:

  • 3
  • 2
  • 1

1

  • 1.0
  • 0.5

0.5 1.0

slide-31
SLIDE 31

Effect of Lag Compensation on Root Locus

L(s) = s + 1 (s + p)(s − 1) Intuition: By choosing p very close to zero, we can make the root locus arbitrarily close to PI root locus (stable for large enough K). Let’s check: Try p = 0.1

  • 3
  • 2
  • 1

1

  • 1.0
  • 0.5

0.5 1.0

Compare to PI root locus:

  • 3
  • 2
  • 1

1

  • 1.0
  • 0.5

0.5 1.0

What do we see? Compared to PD vs. lead, there is no qualitative change in the shape of RL, since we are not changing #(poles) or #(zeros).

slide-32
SLIDE 32

More Pole Placement

As before, we can choose zlag for a fixed plag (or vice versa) based on desired pole locations.

slide-33
SLIDE 33

More Pole Placement

As before, we can choose zlag for a fixed plag (or vice versa) based on desired pole locations. The procedure is exactly the same as the one we used with lead. (In fact, depending on the pole locations, we may end up with either lead or lag.)

slide-34
SLIDE 34

More Pole Placement

As before, we can choose zlag for a fixed plag (or vice versa) based on desired pole locations. The procedure is exactly the same as the one we used with lead. (In fact, depending on the pole locations, we may end up with either lead or lag.) Main technique: select parameters to satisfy the phase condition (points on RL must be such that ∠L(s) = 180◦).

slide-35
SLIDE 35

More Pole Placement

As before, we can choose zlag for a fixed plag (or vice versa) based on desired pole locations. The procedure is exactly the same as the one we used with lead. (In fact, depending on the pole locations, we may end up with either lead or lag.) Main technique: select parameters to satisfy the phase condition (points on RL must be such that ∠L(s) = 180◦). Caveat: may not always be possible!

slide-36
SLIDE 36

Pole Placement via RL

Let Gp(s) = 1 s − 1, Gc(s) = K s + z s + p

slide-37
SLIDE 37

Pole Placement via RL

Let Gp(s) = 1 s − 1, Gc(s) = K s + z s + p Problem: given p = 2, find K and z to place poles at −2 ± 3j.

slide-38
SLIDE 38

Pole Placement via RL

Let Gp(s) = 1 s − 1, Gc(s) = K s + z s + p Problem: given p = 2, find K and z to place poles at −2 ± 3j. Desired characteristic polynomial: (s + 2)2 + 9 = s2 + 4s + 13,

slide-39
SLIDE 39

Pole Placement via RL

Let Gp(s) = 1 s − 1, Gc(s) = K s + z s + p Problem: given p = 2, find K and z to place poles at −2 ± 3j. Desired characteristic polynomial: (s + 2)2 + 9 = s2 + 4s + 13, damping ratio ζ = 2 √ 13 ≈ 0.555

slide-40
SLIDE 40

Pole Placement via RL

Let Gp(s) = 1 s − 1, Gc(s) = K s + z s + p Problem: given p = 2, find K and z to place poles at −2 ± 3j. Desired characteristic polynomial: (s + 2)2 + 9 = s2 + 4s + 13, damping ratio ζ = 2 √ 13 ≈ 0.555

x

  • Re

Im

x s – given − z (to be selected) −2 3 ψ ϕ1 = 135◦ ϕ2 = 90◦

Must have ψ

  • angle from

s to zero

  • i

ϕi

  • angles from

s to poles

= 180◦ So, we want ψ = 180◦ +

  • i

ϕi

slide-41
SLIDE 41

Pole Placement via RL

x

  • Re

Im

x s – given − z (to be selected) −2 3 ψ ϕ1 = 135◦ ϕ2 = 90◦

slide-42
SLIDE 42

Pole Placement via RL

x

  • Re

Im

x s – given − z (to be selected) −2 3 ψ ϕ1 = 135◦ ϕ2 = 90◦

We have ϕ1 = 135◦, ϕ2 = 90◦

slide-43
SLIDE 43

Pole Placement via RL

x

  • Re

Im

x s – given − z (to be selected) −2 3 ψ ϕ1 = 135◦ ϕ2 = 90◦

We have ϕ1 = 135◦, ϕ2 = 90◦ We want ψ = 180◦ +

  • i

ϕi

slide-44
SLIDE 44

Pole Placement via RL

x

  • Re

Im

x s – given − z (to be selected) −2 3 ψ ϕ1 = 135◦ ϕ2 = 90◦

We have ϕ1 = 135◦, ϕ2 = 90◦ We want ψ = 180◦ +

  • i

ϕi Must have ψ = 180◦ + 135◦ + 90◦

slide-45
SLIDE 45

Pole Placement via RL

x

  • Re

Im

x s – given − z (to be selected) −2 3 ψ ϕ1 = 135◦ ϕ2 = 90◦

We have ϕ1 = 135◦, ϕ2 = 90◦ We want ψ = 180◦ +

  • i

ϕi Must have ψ = 180◦ + 135◦ + 90◦ = 405◦

slide-46
SLIDE 46

Pole Placement via RL

x

  • Re

Im

x s – given − z (to be selected) −2 3 ψ ϕ1 = 135◦ ϕ2 = 90◦

We have ϕ1 = 135◦, ϕ2 = 90◦ We want ψ = 180◦ +

  • i

ϕi Must have ψ = 180◦ + 135◦ + 90◦ = 405◦ = 45◦ mod 360◦

slide-47
SLIDE 47

Pole Placement via RL

x

  • Re

Im

x s – given − z (to be selected) −2 3 ψ ϕ1 = 135◦ ϕ2 = 90◦

We have ϕ1 = 135◦, ϕ2 = 90◦ We want ψ = 180◦ +

  • i

ϕi Must have ψ = 180◦ + 135◦ + 90◦ = 405◦ = 45◦ mod 360◦ Thus, we should have z = −5

slide-48
SLIDE 48

Pole Placement via RL

x

  • Re

Im

x s – given − z (to be selected) −2 3 ψ ϕ1 = 135◦ ϕ2 = 90◦

We have ϕ1 = 135◦, ϕ2 = 90◦ We want ψ = 180◦ +

  • i

ϕi Must have ψ = 180◦ + 135◦ + 90◦ = 405◦ = 45◦ mod 360◦ Thus, we should have z = −5

x

  • Re

Im

x s – given − z = −5 −2 3 ψ = 45◦ ϕ1 = 135◦ ϕ2 = 90◦

slide-49
SLIDE 49

Let Gp(s) = 1 s − 1, Gc(s) = K s + z s + p Problem: given p = 2, find z to place poles at −2 ± 3j.

slide-50
SLIDE 50

Let Gp(s) = 1 s − 1, Gc(s) = K s + z s + p Problem: given p = 2, find z to place poles at −2 ± 3j. Solution:

slide-51
SLIDE 51

Let Gp(s) = 1 s − 1, Gc(s) = K s + z s + p Problem: given p = 2, find z to place poles at −2 ± 3j. Solution:

◮ we already found that we need z = 5

slide-52
SLIDE 52

Let Gp(s) = 1 s − 1, Gc(s) = K s + z s + p Problem: given p = 2, find z to place poles at −2 ± 3j. Solution:

◮ we already found that we need z = 5 ◮ resulting characteristic polynomial:

slide-53
SLIDE 53

Let Gp(s) = 1 s − 1, Gc(s) = K s + z s + p Problem: given p = 2, find z to place poles at −2 ± 3j. Solution:

◮ we already found that we need z = 5 ◮ resulting characteristic polynomial:

(s − 1)(s + p) + K(s + z)

slide-54
SLIDE 54

Let Gp(s) = 1 s − 1, Gc(s) = K s + z s + p Problem: given p = 2, find z to place poles at −2 ± 3j. Solution:

◮ we already found that we need z = 5 ◮ resulting characteristic polynomial:

(s − 1)(s + 2) + K(s + 5)

slide-55
SLIDE 55

Let Gp(s) = 1 s − 1, Gc(s) = K s + z s + p Problem: given p = 2, find z to place poles at −2 ± 3j. Solution:

◮ we already found that we need z = 5 ◮ resulting characteristic polynomial:

(s − 1)(s + 2) + K(s + 5) s2 + (K + 1)s + 5K − 2

slide-56
SLIDE 56

Let Gp(s) = 1 s − 1, Gc(s) = K s + z s + p Problem: given p = 2, find z to place poles at −2 ± 3j. Solution:

◮ we already found that we need z = 5 ◮ resulting characteristic polynomial:

(s − 1)(s + 2) + K(s + 5) s2 + (K + 1)s + 5K − 2

◮ compare against desired characteristic polynomial:

slide-57
SLIDE 57

Let Gp(s) = 1 s − 1, Gc(s) = K s + z s + p Problem: given p = 2, find z to place poles at −2 ± 3j. Solution:

◮ we already found that we need z = 5 ◮ resulting characteristic polynomial:

(s − 1)(s + 2) + K(s + 5) s2 + (K + 1)s + 5K − 2

◮ compare against desired characteristic polynomial:

s2 + 4s + 13

slide-58
SLIDE 58

Let Gp(s) = 1 s − 1, Gc(s) = K s + z s + p Problem: given p = 2, find z to place poles at −2 ± 3j. Solution:

◮ we already found that we need z = 5 ◮ resulting characteristic polynomial:

(s − 1)(s + 2) + K(s + 5) s2 + (K + 1)s + 5K − 2

◮ compare against desired characteristic polynomial:

s2 + 4s + 13 = ⇒ K + 1 = 4, 5K − 2 = 13

slide-59
SLIDE 59

Let Gp(s) = 1 s − 1, Gc(s) = K s + z s + p Problem: given p = 2, find z to place poles at −2 ± 3j. Solution:

◮ we already found that we need z = 5 ◮ resulting characteristic polynomial:

(s − 1)(s + 2) + K(s + 5) s2 + (K + 1)s + 5K − 2

◮ compare against desired characteristic polynomial:

s2 + 4s + 13 = ⇒ K + 1 = 4, 5K − 2 = 13 so we need K = 3

slide-60
SLIDE 60

Let Gp(s) = 1 s − 1, Gc(s) = K s + z s + p Problem: given p = 2, find z to place poles at −2 ± 3j. Solution:

◮ we already found that we need z = 5 ◮ resulting characteristic polynomial:

(s − 1)(s + 2) + K(s + 5) s2 + (K + 1)s + 5K − 2

◮ compare against desired characteristic polynomial:

s2 + 4s + 13 = ⇒ K + 1 = 4, 5K − 2 = 13 so we need K = 3

◮ compute s.s. tracking error:

slide-61
SLIDE 61

Let Gp(s) = 1 s − 1, Gc(s) = K s + z s + p Problem: given p = 2, find z to place poles at −2 ± 3j. Solution:

◮ we already found that we need z = 5 ◮ resulting characteristic polynomial:

(s − 1)(s + 2) + K(s + 5) s2 + (K + 1)s + 5K − 2

◮ compare against desired characteristic polynomial:

s2 + 4s + 13 = ⇒ K + 1 = 4, 5K − 2 = 13 so we need K = 3

◮ compute s.s. tracking error:

  • 1

1 − Kz

p

  • = 1

6.5 ≈ 15%

slide-62
SLIDE 62

Story So Far

PD control:

slide-63
SLIDE 63

Story So Far

PD control:

◮ provides stability, allows to shape transient response specs

slide-64
SLIDE 64

Story So Far

PD control:

◮ provides stability, allows to shape transient response specs ◮ replace noncausal D-controller Ks with a causal, stable

lead controller K s + z s + p, where p > z

slide-65
SLIDE 65

Story So Far

PD control:

◮ provides stability, allows to shape transient response specs ◮ replace noncausal D-controller Ks with a causal, stable

lead controller K s + z s + p, where p > z

◮ this introduces a zero in LHP (at −z), pulls the root locus

into LHP

slide-66
SLIDE 66

Story So Far

PD control:

◮ provides stability, allows to shape transient response specs ◮ replace noncausal D-controller Ks with a causal, stable

lead controller K s + z s + p, where p > z

◮ this introduces a zero in LHP (at −z), pulls the root locus

into LHP

◮ shape of RL differs depending on how large p is

slide-67
SLIDE 67

Story So Far

PD control:

◮ provides stability, allows to shape transient response specs ◮ replace noncausal D-controller Ks with a causal, stable

lead controller K s + z s + p, where p > z

◮ this introduces a zero in LHP (at −z), pulls the root locus

into LHP

◮ shape of RL differs depending on how large p is

PI control:

slide-68
SLIDE 68

Story So Far

PD control:

◮ provides stability, allows to shape transient response specs ◮ replace noncausal D-controller Ks with a causal, stable

lead controller K s + z s + p, where p > z

◮ this introduces a zero in LHP (at −z), pulls the root locus

into LHP

◮ shape of RL differs depending on how large p is

PI control:

◮ provides stability and perfect steady-state tracking of

constant references

slide-69
SLIDE 69

Story So Far

PD control:

◮ provides stability, allows to shape transient response specs ◮ replace noncausal D-controller Ks with a causal, stable

lead controller K s + z s + p, where p > z

◮ this introduces a zero in LHP (at −z), pulls the root locus

into LHP

◮ shape of RL differs depending on how large p is

PI control:

◮ provides stability and perfect steady-state tracking of

constant references

◮ replace unstable I-controller K/s with a stable lag

controller K s + z s + p, where p < z

slide-70
SLIDE 70

Story So Far

PD control:

◮ provides stability, allows to shape transient response specs ◮ replace noncausal D-controller Ks with a causal, stable

lead controller K s + z s + p, where p > z

◮ this introduces a zero in LHP (at −z), pulls the root locus

into LHP

◮ shape of RL differs depending on how large p is

PI control:

◮ provides stability and perfect steady-state tracking of

constant references

◮ replace unstable I-controller K/s with a stable lag

controller K s + z s + p, where p < z

◮ this does not change the shape of RL compared to PI

slide-71
SLIDE 71

What About PID Control?

Obvious solution — combine lead and lag compensation. We will develop this further in homework and later in the course using frequency-response design methods — which are the subject of several lectures, starting with today’s.

slide-72
SLIDE 72

The Frequency-Response Design Method

Recall the frequency-response formula:

sin(ωt) M sin(ωt + φ) G(s)

where M = M(ω) = |G(jω)| and φ = φ(ω) = ∠G(jω)

slide-73
SLIDE 73

The Frequency-Response Design Method

Recall the frequency-response formula:

sin(ωt) M sin(ωt + φ) G(s)

where M = M(ω) = |G(jω)| and φ = φ(ω) = ∠G(jω) Derivation:

slide-74
SLIDE 74

The Frequency-Response Design Method

Recall the frequency-response formula:

sin(ωt) M sin(ωt + φ) G(s)

where M = M(ω) = |G(jω)| and φ = φ(ω) = ∠G(jω) Derivation:

  • 1. u(t) = est −

→ y(t) = G(s)est

slide-75
SLIDE 75

The Frequency-Response Design Method

Recall the frequency-response formula:

sin(ωt) M sin(ωt + φ) G(s)

where M = M(ω) = |G(jω)| and φ = φ(ω) = ∠G(jω) Derivation:

  • 1. u(t) = est −

→ y(t) = G(s)est

  • 2. Euler’s formula: sin(ωt) = ejωt − e−jωt

2j

slide-76
SLIDE 76

The Frequency-Response Design Method

Recall the frequency-response formula:

sin(ωt) M sin(ωt + φ) G(s)

where M = M(ω) = |G(jω)| and φ = φ(ω) = ∠G(jω) Derivation:

  • 1. u(t) = est −

→ y(t) = G(s)est

  • 2. Euler’s formula: sin(ωt) = ejωt − e−jωt

2j

  • 3. By linearity,

sin(ωt) − → G(jω)ejωt − G(−jω)e−jωt 2j

slide-77
SLIDE 77

The Frequency-Response Design Method

Recall the frequency-response formula:

sin(ωt) M sin(ωt + φ) G(s)

where M = M(ω) = |G(jω)| and φ = φ(ω) = ∠G(jω) Derivation:

  • 1. u(t) = est −

→ y(t) = G(s)est

  • 2. Euler’s formula: sin(ωt) = ejωt − e−jωt

2j

  • 3. By linearity,

sin(ωt) − → G(jω)ejωt − G(−jω)e−jωt 2j G(jω) = M(ω)ejφ(ω)

slide-78
SLIDE 78

The Frequency-Response Design Method

Recall the frequency-response formula:

sin(ωt) M sin(ωt + φ) G(s)

where M = M(ω) = |G(jω)| and φ = φ(ω) = ∠G(jω) Derivation:

  • 1. u(t) = est −

→ y(t) = G(s)est

  • 2. Euler’s formula: sin(ωt) = ejωt − e−jωt

2j

  • 3. By linearity,

sin(ωt) − → G(jω)ejωt − G(−jω)e−jωt 2j G(jω) = M(ω)ejφ(ω) = M(ω)ej(ωt+φ(ω)) − M(ω)e−j(ωt+φ(ω)) 2j

slide-79
SLIDE 79

The Frequency-Response Design Method

Recall the frequency-response formula:

sin(ωt) M sin(ωt + φ) G(s)

where M = M(ω) = |G(jω)| and φ = φ(ω) = ∠G(jω) Derivation:

  • 1. u(t) = est −

→ y(t) = G(s)est

  • 2. Euler’s formula: sin(ωt) = ejωt − e−jωt

2j

  • 3. By linearity,

sin(ωt) − → G(jω)ejωt − G(−jω)e−jωt 2j G(jω) = M(ω)ejφ(ω) = M(ω)ej(ωt+φ(ω)) − M(ω)e−j(ωt+φ(ω)) 2j = M(ω) sin(ωt + φ(ω))

slide-80
SLIDE 80

The Frequency-Response Design Method

sin(ωt) M sin(ωt + φ) G(s)

where M = M(ω) = |G(jω)| and φ = φ(ω) = ∠G(jω)

slide-81
SLIDE 81

The Frequency-Response Design Method

sin(ωt) M sin(ωt + φ) G(s)

where M = M(ω) = |G(jω)| and φ = φ(ω) = ∠G(jω) Let’s apply this formula to our prototype 2nd-order system: G(s) = ω2

n

s2 + 2ζωns + ω2

n

slide-82
SLIDE 82

The Frequency-Response Design Method

sin(ωt) M sin(ωt + φ) G(s)

where M = M(ω) = |G(jω)| and φ = φ(ω) = ∠G(jω) Let’s apply this formula to our prototype 2nd-order system: G(s) = ω2

n

s2 + 2ζωns + ω2

n

M(ω) = |G(jω)| =

  • ω2

n

−ω2 + 2jζωnω + ω2

n

slide-83
SLIDE 83

The Frequency-Response Design Method

sin(ωt) M sin(ωt + φ) G(s)

where M = M(ω) = |G(jω)| and φ = φ(ω) = ∠G(jω) Let’s apply this formula to our prototype 2nd-order system: G(s) = ω2

n

s2 + 2ζωns + ω2

n

M(ω) = |G(jω)| =

  • ω2

n

−ω2 + 2jζωnω + ω2

n

  • =
  • 1

1 − ω

ωn

2 + 2ζ ω

ωn j

slide-84
SLIDE 84

The Frequency-Response Design Method

sin(ωt) M sin(ωt + φ) G(s)

where M = M(ω) = |G(jω)| and φ = φ(ω) = ∠G(jω) Let’s apply this formula to our prototype 2nd-order system: G(s) = ω2

n

s2 + 2ζωns + ω2

n

M(ω) = |G(jω)| =

  • ω2

n

−ω2 + 2jζωnω + ω2

n

  • =
  • 1

1 − ω

ωn

2 + 2ζ ω

ωn j

  • =

1

  • 1 −

ω

ωn

22 + 4ζ2 ω

ωn

2

slide-85
SLIDE 85

The Frequency-Response Design Method

For our prototype 2nd-order system: G(s) = ω2

n

s2 + 2ζωns + ω2

n

M(ω) = 1

  • 1 −

ω

ωn

22 + 4ζ2 ω

ωn

2 = 1

  • 1 + (4ζ2 − 2)

ω

ωn

2 + ω

ωn

4

z=1ê2 z=1ê 2 z=1

0.5 1.0 1.5 2.0 2.5 3.0 w wn 0.2 0.4 0.6 0.8 1.0 MHwL

slide-86
SLIDE 86

Frequency Response Parameters

Here is a typical frequency response magnitude plot:

0.5 1.0 1.5 2.0 2.5 3.0 Ω 0.2 0.4 0.6 0.8 1.0 MHΩL

ωr ωBW

Mr

1/ √ 2

ωr – resonant frequency Mr – resonant peak ωBW – bandwidth

slide-87
SLIDE 87

Frequency Response Parameters

0.5 1.0 1.5 2.0 2.5 3.0 Ω 0.2 0.4 0.6 0.8 1.0 MHΩL

ωr ωBW

Mr

1/ √ 2

We can get the following formulas using calculus:    ωr = ωn

  • 1 − 2ζ2

Mr = 1 2ζ

  • 1 − ζ2 − 1

(valid for ζ < 1 √ 2; for ζ ≥ 1 √ 2, ωr = 0) ωBW = ωn

  • (1 − 2ζ2) +
  • (1 − 2ζ2)2 + 1
  • =1 for ζ=1/

√ 2

— so, if we know ωr, Mr, ωBW, we can determine ωn, ζ and hence the time-domain specs (tr, Mp, ts)

slide-88
SLIDE 88

Frequency Response & Time-Domain Specs

All information about time response is also encoded in frequency response!!

0.5 1.0 1.5 2.0 2.5 3.0 Ω 0.2 0.4 0.6 0.8 1.0 MHΩL

ωr ωBW

Mr

1/ √ 2

small Mr ← → better damping large ωBW ← → large ωn ← → smaller tr

slide-89
SLIDE 89

Frequency-Response Design Method: Main Idea

G(s) Y

+ −

R K

slide-90
SLIDE 90

Frequency-Response Design Method: Main Idea

G(s) Y

+ −

R K

Two-step procedure:

slide-91
SLIDE 91

Frequency-Response Design Method: Main Idea

G(s) Y

+ −

R K

Two-step procedure:

  • 1. Plot the frequency response of the open-loop transfer

function KG(s) [or, more generally, D(s)G(s)], at s = jω

slide-92
SLIDE 92

Frequency-Response Design Method: Main Idea

G(s) Y

+ −

R K

Two-step procedure:

  • 1. Plot the frequency response of the open-loop transfer

function KG(s) [or, more generally, D(s)G(s)], at s = jω

  • 2. See how to relate this open-loop frequency response to

closed-loop behavior.

slide-93
SLIDE 93

Frequency-Response Design Method: Main Idea

G(s) Y

+ −

R K

Two-step procedure:

  • 1. Plot the frequency response of the open-loop transfer

function KG(s) [or, more generally, D(s)G(s)], at s = jω

  • 2. See how to relate this open-loop frequency response to

closed-loop behavior. We will work with two types of plots for KG(jω):

slide-94
SLIDE 94

Frequency-Response Design Method: Main Idea

G(s) Y

+ −

R K

Two-step procedure:

  • 1. Plot the frequency response of the open-loop transfer

function KG(s) [or, more generally, D(s)G(s)], at s = jω

  • 2. See how to relate this open-loop frequency response to

closed-loop behavior. We will work with two types of plots for KG(jω):

  • 1. Bode plots: magnitude |KG(jω)| and phase ∠KG(jω) vs.

frequency ω (could have seen it earlier, in ECE 342)

slide-95
SLIDE 95

Frequency-Response Design Method: Main Idea

G(s) Y

+ −

R K

Two-step procedure:

  • 1. Plot the frequency response of the open-loop transfer

function KG(s) [or, more generally, D(s)G(s)], at s = jω

  • 2. See how to relate this open-loop frequency response to

closed-loop behavior. We will work with two types of plots for KG(jω):

  • 1. Bode plots: magnitude |KG(jω)| and phase ∠KG(jω) vs.

frequency ω (could have seen it earlier, in ECE 342)

  • 2. Nyquist plots: Im
  • KG(jω)
  • vs. Re
  • K(jω)
  • [Cartesian plot

in s-plane] as ω ranges from −∞ to +∞

slide-96
SLIDE 96

Note on the Scale

Horizontal (ω) axis: we will use logarithmic scale (base 10) in order to display a wide range of frequencies. Note: we will still mark the values of ω, not log10 ω, on the axis, but the scale will be logarithmic:

1 10 100 1000 0.1 0.01 ... ...

ω

Equal intervals on log scale correspond to decades in frequency.

slide-97
SLIDE 97

Note on the Scale

Vertical axis on magnitude plots: we will also use logarithmic scale, just like the frequency axis.

slide-98
SLIDE 98

Note on the Scale

Vertical axis on magnitude plots: we will also use logarithmic scale, just like the frequency axis. Reason: |(M1ejφ1)(M2ejφ2)| = M1 · M2 log(M1M2) = log M1 + log M2

slide-99
SLIDE 99

Note on the Scale

Vertical axis on magnitude plots: we will also use logarithmic scale, just like the frequency axis. Reason: |(M1ejφ1)(M2ejφ2)| = M1 · M2 log(M1M2) = log M1 + log M2 — this means that we can simply add the graphs of log M1(ω) and log M2(ω) to obtain the graph of log

  • M1(ω)M2(ω)
  • , and

graphical addition is easy.

slide-100
SLIDE 100

Note on the Scale

Vertical axis on magnitude plots: we will also use logarithmic scale, just like the frequency axis. Reason: |(M1ejφ1)(M2ejφ2)| = M1 · M2 log(M1M2) = log M1 + log M2 — this means that we can simply add the graphs of log M1(ω) and log M2(ω) to obtain the graph of log

  • M1(ω)M2(ω)
  • , and

graphical addition is easy. Decibel scale: (M)dB = 20 log10 M (one decade = 20 dB)

slide-101
SLIDE 101

Note on the Scale

Vertical axis on phase plots: we will plot the phase on the usual (linear) scale.

slide-102
SLIDE 102

Note on the Scale

Vertical axis on phase plots: we will plot the phase on the usual (linear) scale. Reason: ∠

  • (M1ejφ1)(M2ejφ2)
  • = ∠
  • M1M2ej(φ1+φ2)

= φ1 + φ2

slide-103
SLIDE 103

Note on the Scale

Vertical axis on phase plots: we will plot the phase on the usual (linear) scale. Reason: ∠

  • (M1ejφ1)(M2ejφ2)
  • = ∠
  • M1M2ej(φ1+φ2)

= φ1 + φ2 — this means that we can simply add the phase plots for two transfer functions to obtain the phase plot for their product.

slide-104
SLIDE 104

Scale Convention for Bode Plots

magnitude phase horizontal scale log log vertical scale log linear Advantage of the scale convention: we will learn to do Bode plots by starting from simple factors and then building up to general transfer functions by considering products of these simple factors.