Plan of the Lecture Review: coordinate transformations; conversion - - PowerPoint PPT Presentation

plan of the lecture
SMART_READER_LITE
LIVE PREVIEW

Plan of the Lecture Review: coordinate transformations; conversion - - PowerPoint PPT Presentation

Plan of the Lecture Review: coordinate transformations; conversion of any controllable system to CCF. Todays topic: pole placement by (full) state feedback. Plan of the Lecture Review: coordinate transformations; conversion of any


slide-1
SLIDE 1

Plan of the Lecture

◮ Review: coordinate transformations; conversion of any

controllable system to CCF.

◮ Today’s topic: pole placement by (full) state feedback.

slide-2
SLIDE 2

Plan of the Lecture

◮ Review: coordinate transformations; conversion of any

controllable system to CCF.

◮ Today’s topic: pole placement by (full) state feedback.

Goal: learn how to assign arbitrary closed-loop poles of a controllable system ˙ x = Ax + Bu by means of state feedback u = −Kx.

slide-3
SLIDE 3

Plan of the Lecture

◮ Review: coordinate transformations; conversion of any

controllable system to CCF.

◮ Today’s topic: pole placement by (full) state feedback.

Goal: learn how to assign arbitrary closed-loop poles of a controllable system ˙ x = Ax + Bu by means of state feedback u = −Kx. Reading: FPE, Chapter 7

slide-4
SLIDE 4

State-Space Realizations

˙ x = Ax + Bu y = Cx u y

G(s) = C(Is − A)−1B

slide-5
SLIDE 5

State-Space Realizations

˙ x = Ax + Bu y = Cx u y

G(s) = C(Is − A)−1B

Open-loop poles are the eigenvalues of A: det(Is − A) = 0

slide-6
SLIDE 6

State-Space Realizations

˙ x = Ax + Bu y = Cx u y

G(s) = C(Is − A)−1B

Open-loop poles are the eigenvalues of A: det(Is − A) = 0 Then we add a controller to move the poles to desired locations:

G(s) Y

+ −

R KD(s)

slide-7
SLIDE 7

Goal: Pole Placement by State Feedback

Consider a single-input system in state-space form:

˙ x = Ax + Bu y = Cx u y

Today, our goal is to establish the following fact: If the above system is controllable, then we can assign arbitrary closed-loop poles by means of a state feedback law u = −Kx = −

  • k1

k2 . . . kn

    x1 x2 . . . xn      = −(k1x1 + . . . + knxn), where K is a 1 × n matrix of feedback gains.

slide-8
SLIDE 8

Review: Controllability

Consider a single-input system (u ∈ R): ˙ x = Ax + Bu, y = Cx x ∈ Rn The Controllability Matrix is defined as C(A, B) =

  • B | AB | A2B | . . . | An−1B
  • We say that the above system is controllable if its

controllability matrix C(A, B) is invertible.

slide-9
SLIDE 9

Review: Controllability

Consider a single-input system (u ∈ R): ˙ x = Ax + Bu, y = Cx x ∈ Rn The Controllability Matrix is defined as C(A, B) =

  • B | AB | A2B | . . . | An−1B
  • We say that the above system is controllable if its

controllability matrix C(A, B) is invertible.

◮ As we will see today, if the system is controllable, then we

may assign arbitrary closed-loop poles by state feedback of the form u = −Kx.

slide-10
SLIDE 10

Review: Controllability

Consider a single-input system (u ∈ R): ˙ x = Ax + Bu, y = Cx x ∈ Rn The Controllability Matrix is defined as C(A, B) =

  • B | AB | A2B | . . . | An−1B
  • We say that the above system is controllable if its

controllability matrix C(A, B) is invertible.

◮ As we will see today, if the system is controllable, then we

may assign arbitrary closed-loop poles by state feedback of the form u = −Kx.

◮ Whether or not the system is controllable depends on its

state-space realization.

slide-11
SLIDE 11

Controller Canonical Form

A single-input state-space model ˙ x = Ax + Bu, y = Cx is said to be in Controller Canonical Form (CCF) is the matrices A, B are of the form A =        1 . . . 1 . . . . . . . . . . . . ... . . . . . . . . . 1 ∗ ∗ ∗ . . . ∗ ∗        , B =        . . . 1        A system in CCF is always controllable!!

(The proof of this for n > 2 uses the Jordan canonical form, we will not worry about this.)

slide-12
SLIDE 12

Coordinate Transformations

slide-13
SLIDE 13

Coordinate Transformations

◮ We will see that state feedback design is particularly easy

when the system is in CCF.

slide-14
SLIDE 14

Coordinate Transformations

◮ We will see that state feedback design is particularly easy

when the system is in CCF.

◮ Hence, we need a way of constructing a CCF state-space

realization of a given controllable system.

slide-15
SLIDE 15

Coordinate Transformations

◮ We will see that state feedback design is particularly easy

when the system is in CCF.

◮ Hence, we need a way of constructing a CCF state-space

realization of a given controllable system.

◮ We will do this by suitably changing the coordinate system

for the state vector.

slide-16
SLIDE 16

Coordinate Transformations and State-Space Models

˙ x = Ax + Bu

T

− − − − → ˙ ¯ x = ¯ A¯ x + ¯ Bu y = Cx y = ¯ C¯ x where ¯ A = TAT −1, ¯ B = TB, ¯ C = CT −1

slide-17
SLIDE 17

Coordinate Transformations and State-Space Models

˙ x = Ax + Bu

T

− − − − → ˙ ¯ x = ¯ A¯ x + ¯ Bu y = Cx y = ¯ C¯ x where ¯ A = TAT −1, ¯ B = TB, ¯ C = CT −1

◮ The transfer function does not change.

slide-18
SLIDE 18

Coordinate Transformations and State-Space Models

˙ x = Ax + Bu

T

− − − − → ˙ ¯ x = ¯ A¯ x + ¯ Bu y = Cx y = ¯ C¯ x where ¯ A = TAT −1, ¯ B = TB, ¯ C = CT −1

◮ The transfer function does not change. ◮ The controllability matrix is transformed:

C( ¯ A, ¯ B) = TC(A, B).

slide-19
SLIDE 19

Coordinate Transformations and State-Space Models

˙ x = Ax + Bu

T

− − − − → ˙ ¯ x = ¯ A¯ x + ¯ Bu y = Cx y = ¯ C¯ x where ¯ A = TAT −1, ¯ B = TB, ¯ C = CT −1

◮ The transfer function does not change. ◮ The controllability matrix is transformed:

C( ¯ A, ¯ B) = TC(A, B).

◮ The transformed system is controllable if and only if the

  • riginal one is.
slide-20
SLIDE 20

Coordinate Transformations and State-Space Models

˙ x = Ax + Bu

T

− − − − → ˙ ¯ x = ¯ A¯ x + ¯ Bu y = Cx y = ¯ C¯ x where ¯ A = TAT −1, ¯ B = TB, ¯ C = CT −1

◮ The transfer function does not change. ◮ The controllability matrix is transformed:

C( ¯ A, ¯ B) = TC(A, B).

◮ The transformed system is controllable if and only if the

  • riginal one is.

◮ If the original system is controllable, then

T = C( ¯ A, ¯ B) [C(A, B)]−1 .

slide-21
SLIDE 21

Coordinate Transformations and State-Space Models

˙ x = Ax + Bu

T

− − − − → ˙ ¯ x = ¯ A¯ x + ¯ Bu y = Cx y = ¯ C¯ x where ¯ A = TAT −1, ¯ B = TB, ¯ C = CT −1

◮ The transfer function does not change. ◮ The controllability matrix is transformed:

C( ¯ A, ¯ B) = TC(A, B).

◮ The transformed system is controllable if and only if the

  • riginal one is.

◮ If the original system is controllable, then

T = C( ¯ A, ¯ B) [C(A, B)]−1 . This gives us a way of systematically passing to CCF.

slide-22
SLIDE 22

Example: Converting a Controllable System to CCF

A = −15 8 −15 7

  • , B =

1 1

  • (C is immaterial)
slide-23
SLIDE 23

Example: Converting a Controllable System to CCF

A = −15 8 −15 7

  • , B =

1 1

  • (C is immaterial)

Step 1: check for controllability. C = 1 −7 1 −8

  • det C = −1

– controllable

slide-24
SLIDE 24

Example: Converting a Controllable System to CCF

A = −15 8 −15 7

  • , B =

1 1

  • (C is immaterial)

Step 1: check for controllability. C = 1 −7 1 −8

  • det C = −1

– controllable Step 2: Determine desired C( ¯ A, ¯ B). C( ¯ A, ¯ B) = [ ¯ B | ¯ A ¯ B] = 1 1 −8

slide-25
SLIDE 25

Example: Converting a Controllable System to CCF

A = −15 8 −15 7

  • , B =

1 1

  • (C is immaterial)

Step 1: check for controllability. C = 1 −7 1 −8

  • det C = −1

– controllable Step 2: Determine desired C( ¯ A, ¯ B). C( ¯ A, ¯ B) = [ ¯ B | ¯ A ¯ B] = 1 1 −8

  • Step 3: Compute T.

T = C( ¯ A, ¯ B) · [C(A, B)]−1 = 1 1 −8 8 −7 1 −1

  • =

1 −1 1

slide-26
SLIDE 26

Finally, Pole Placement via State Feedback

Consider a state-space model ˙ x = Ax + Bu, x ∈ Rn, u ∈ R y = x

slide-27
SLIDE 27

Finally, Pole Placement via State Feedback

Consider a state-space model ˙ x = Ax + Bu, x ∈ Rn, u ∈ R y = x Let’s introduce a state feedback law u = −Ky ≡ −Kx = −

  • k1

k2 . . . kn

    x1 x2 . . . xn      = −(k1x1 + . . . + knxn)

slide-28
SLIDE 28

Finally, Pole Placement via State Feedback

Consider a state-space model ˙ x = Ax + Bu, x ∈ Rn, u ∈ R y = x Let’s introduce a state feedback law u = −Ky ≡ −Kx = −

  • k1

k2 . . . kn

    x1 x2 . . . xn      = −(k1x1 + . . . + knxn) Closed-loop system:

˙ x = Ax − BKx = (A − BK)x y = x

slide-29
SLIDE 29

Pole Placement via State Feedback

Let’s also add a reference input:

+ −

r ˙ x = Ax + Bu y = x K u y

slide-30
SLIDE 30

Pole Placement via State Feedback

Let’s also add a reference input:

+ −

r ˙ x = Ax + Bu y = x K u y

˙ x = Ax + B(−Kx + r) = (A − BK)x + Br, y = x

slide-31
SLIDE 31

Pole Placement via State Feedback

Let’s also add a reference input:

+ −

r ˙ x = Ax + Bu y = x K u y

˙ x = Ax + B(−Kx + r) = (A − BK)x + Br, y = x Take the Laplace transform: sX(s) = (A − BK)X(s) + BR(s), Y (s) = X(s) Y (s) = (Is − A + BK)−1B

  • G

R(s)

slide-32
SLIDE 32

Pole Placement via State Feedback

Let’s also add a reference input:

+ −

r ˙ x = Ax + Bu y = x K u y

˙ x = Ax + B(−Kx + r) = (A − BK)x + Br, y = x Take the Laplace transform: sX(s) = (A − BK)X(s) + BR(s), Y (s) = X(s) Y (s) = (Is − A + BK)−1B

  • G

R(s) Closed-loop poles are the eigenvalues of A − BK!!

slide-33
SLIDE 33

Pole Placement via State Feedback

+ −

r ˙ x = Ax + Bu y = x K u y assigning closed-loop poles = assigning eigenvalues of A − BK

slide-34
SLIDE 34

Pole Placement via State Feedback

+ −

r ˙ x = Ax + Bu y = x K u y assigning closed-loop poles = assigning eigenvalues of A − BK Now we will see that this is particularly straightforward if the (A, B) system is in CCF. A =        1 . . . 1 . . . . . . . . . . . . ... . . . . . . . . . 1 −an −an−1 −an−2 . . . −a2 −a1        , B =        . . . 1       

slide-35
SLIDE 35

The Beauty of CCF

A =        1 . . . 1 . . . . . . . . . . . . ... . . . . . . . . . 1 −an −an−1 −an−2 . . . −a2 −a1        , B =        . . . 1       

slide-36
SLIDE 36

The Beauty of CCF

A =        1 . . . 1 . . . . . . . . . . . . ... . . . . . . . . . 1 −an −an−1 −an−2 . . . −a2 −a1        , B =        . . . 1        Claim. det(Is − A) = sn + a1sn−1 + . . . + an−1s + an — the last row of the A matrix in CCF consists of the coefficients of the characteristic polynomial, in reverse order, with “−” signs.

slide-37
SLIDE 37

Proof of the Claim

A nice way is via Laplace transforms: ˙ x = Ax + Bu A =        1 . . . 1 . . . . . . . . . . . . ... . . . . . . . . . 1 −an −an−1 −an−2 . . . −a2 −a1        , B =        . . . 1       

slide-38
SLIDE 38

Proof of the Claim

A nice way is via Laplace transforms: ˙ x = Ax + Bu A =        1 . . . 1 . . . . . . . . . . . . ... . . . . . . . . . 1 −an −an−1 −an−2 . . . −a2 −a1        , B =        . . . 1        Represent this as a system of ODEs:

slide-39
SLIDE 39

Proof of the Claim

A nice way is via Laplace transforms: ˙ x = Ax + Bu A =        1 . . . 1 . . . . . . . . . . . . ... . . . . . . . . . 1 −an −an−1 −an−2 . . . −a2 −a1        , B =        . . . 1        Represent this as a system of ODEs: ˙ x1 = x2 X2 = sX1

slide-40
SLIDE 40

Proof of the Claim

A nice way is via Laplace transforms: ˙ x = Ax + Bu A =        1 . . . 1 . . . . . . . . . . . . ... . . . . . . . . . 1 −an −an−1 −an−2 . . . −a2 −a1        , B =        . . . 1        Represent this as a system of ODEs: ˙ x1 = x2 X2 = sX1 ˙ x2 = x3 X3 = sX2 = s2X1

slide-41
SLIDE 41

Proof of the Claim

A nice way is via Laplace transforms: ˙ x = Ax + Bu A =        1 . . . 1 . . . . . . . . . . . . ... . . . . . . . . . 1 −an −an−1 −an−2 . . . −a2 −a1        , B =        . . . 1        Represent this as a system of ODEs: ˙ x1 = x2 X2 = sX1 ˙ x2 = x3 X3 = sX2 = s2X1 . . . . . .

slide-42
SLIDE 42

Proof of the Claim

A nice way is via Laplace transforms: ˙ x = Ax + Bu A =        1 . . . 1 . . . . . . . . . . . . ... . . . . . . . . . 1 −an −an−1 −an−2 . . . −a2 −a1        , B =        . . . 1        Represent this as a system of ODEs: ˙ x1 = x2 X2 = sX1 ˙ x2 = x3 X3 = sX2 = s2X1 . . . . . . ˙ xn = −

n

  • i=1

an−i+1xi + u

  • sn + a1sn−1 + . . . + an
  • char. poly.

X1 = U

slide-43
SLIDE 43

... And, Back to Pole Placement

A =        1 . . . 1 . . . . . . . . . . . . ... . . . . . . . . . 1 −an −an−1 −an−2 . . . −a2 −a1       

slide-44
SLIDE 44

... And, Back to Pole Placement

A =        1 . . . 1 . . . . . . . . . . . . ... . . . . . . . . . 1 −an −an−1 −an−2 . . . −a2 −a1        BK =        . . . 1        k1 k2 . . . kn

  • =

       . . . . . . . . . . . . . . . ... . . . . . . . . . k1 k2 k3 . . . kn−1 kn       

slide-45
SLIDE 45

... And, Back to Pole Placement

A =        1 . . . 1 . . . . . . . . . . . . ... . . . . . . . . . 1 −an −an−1 −an−2 . . . −a2 −a1        BK =        . . . 1        k1 k2 . . . kn

  • =

       . . . . . . . . . . . . . . . ... . . . . . . . . . k1 k2 k3 . . . kn−1 kn        A − BK = −        1 . . . 1 . . . . . . . . . . . . ... . . . . . . . . . 1 an + k1 an−1 + k2 an−2 + k3 . . . a2 + kn−1 a1 + kn       

slide-46
SLIDE 46

... And, Back to Pole Placement

A =        1 . . . 1 . . . . . . . . . . . . ... . . . . . . . . . 1 −an −an−1 −an−2 . . . −a2 −a1        BK =        . . . 1        k1 k2 . . . kn

  • =

       . . . . . . . . . . . . . . . ... . . . . . . . . . k1 k2 k3 . . . kn−1 kn        A − BK = −        1 . . . 1 . . . . . . . . . . . . ... . . . . . . . . . 1 an + k1 an−1 + k2 an−2 + k3 . . . a2 + kn−1 a1 + kn        — still in CCF!!

slide-47
SLIDE 47

Pole Placement in CCF

˙ x = (A − BK)x + Br, y = Cx A − BK = −        1 . . . . . . . . . . . . ... . . . . . . . . . 1 an + k1 an−1 + k2 . . . a2 + kn−1 a1 + kn       

slide-48
SLIDE 48

Pole Placement in CCF

˙ x = (A − BK)x + Br, y = Cx A − BK = −        1 . . . . . . . . . . . . ... . . . . . . . . . 1 an + k1 an−1 + k2 . . . a2 + kn−1 a1 + kn        Closed-loop poles are the roots of the characteristic polynomial det(Is − A + BK) = sn + (a1 + kn)sn−1 + . . . + (an−1 + k2)s + (an + k1)

slide-49
SLIDE 49

Pole Placement in CCF

˙ x = (A − BK)x + Br, y = Cx A − BK = −        1 . . . . . . . . . . . . ... . . . . . . . . . 1 an + k1 an−1 + k2 . . . a2 + kn−1 a1 + kn        Closed-loop poles are the roots of the characteristic polynomial det(Is − A + BK) = sn + (a1 + kn)sn−1 + . . . + (an−1 + k2)s + (an + k1) Key observation: When the system is in CCF, each control gain affects only one of the coefficients of the characteristic polynomial, and these coefficients can be assigned arbitrarily by a suitable choice of k1, . . . , kn.

slide-50
SLIDE 50

Pole Placement in CCF

˙ x = (A − BK)x + Br, y = Cx A − BK = −        1 . . . . . . . . . . . . ... . . . . . . . . . 1 an + k1 an−1 + k2 . . . a2 + kn−1 a1 + kn        Closed-loop poles are the roots of the characteristic polynomial det(Is − A + BK) = sn + (a1 + kn)sn−1 + . . . + (an−1 + k2)s + (an + k1) Key observation: When the system is in CCF, each control gain affects only one of the coefficients of the characteristic polynomial, and these coefficients can be assigned arbitrarily by a suitable choice of k1, . . . , kn. Hence the name Controller Canonical Form — convenient for control design.

slide-51
SLIDE 51

Pole Placement by State Feedback

General procedure for any controllable system:

slide-52
SLIDE 52

Pole Placement by State Feedback

General procedure for any controllable system:

  • 1. Convert to CCF using a suitable invertible coordinate

transformation T (such a transformation exists by controllability).

slide-53
SLIDE 53

Pole Placement by State Feedback

General procedure for any controllable system:

  • 1. Convert to CCF using a suitable invertible coordinate

transformation T (such a transformation exists by controllability).

  • 2. Solve the pole placement problem in the new coordinates.
slide-54
SLIDE 54

Pole Placement by State Feedback

General procedure for any controllable system:

  • 1. Convert to CCF using a suitable invertible coordinate

transformation T (such a transformation exists by controllability).

  • 2. Solve the pole placement problem in the new coordinates.
  • 3. Convert back to original coordinates.
slide-55
SLIDE 55

Example

Given ˙ x = Ax + Bu A = −15 8 −7 1

  • ,

B = 1 1

  • Goal: apply state feedback to place closed-loop poles at −10 ± j.
slide-56
SLIDE 56

Example

Given ˙ x = Ax + Bu A = −15 8 −7 1

  • ,

B = 1 1

  • Goal: apply state feedback to place closed-loop poles at −10 ± j.

Step 1: convert to CCF — already did this

slide-57
SLIDE 57

Example

Given ˙ x = Ax + Bu A = −15 8 −7 1

  • ,

B = 1 1

  • Goal: apply state feedback to place closed-loop poles at −10 ± j.

Step 1: convert to CCF — already did this T = 1 −1 1

→ ¯ A = 1 −15 −8

  • , ¯

B = 1

slide-58
SLIDE 58

Example

Step 2: find u = − ¯ K¯ x to place closed-loop poles at −10 ± j.

slide-59
SLIDE 59

Example

Step 2: find u = − ¯ K¯ x to place closed-loop poles at −10 ± j. Desired characteristic polynomial: (s + 10 + j)(s + 10 − j) = (s + 10)2 + 1 = s2 + 20s + 101

slide-60
SLIDE 60

Example

Step 2: find u = − ¯ K¯ x to place closed-loop poles at −10 ± j. Desired characteristic polynomial: (s + 10 + j)(s + 10 − j) = (s + 10)2 + 1 = s2 + 20s + 101 Thus, the closed-loop system matrix should be ¯ A − ¯ B ¯ K =

  • 1

−101 −20

slide-61
SLIDE 61

Example

Step 2: find u = − ¯ K¯ x to place closed-loop poles at −10 ± j. Desired characteristic polynomial: (s + 10 + j)(s + 10 − j) = (s + 10)2 + 1 = s2 + 20s + 101 Thus, the closed-loop system matrix should be ¯ A − ¯ B ¯ K =

  • 1

−101 −20

  • On the other hand, we know

¯ A − ¯ B ¯ K =

  • 1

−(15 + ¯ k1) −(8 + ¯ k2)

  • =

⇒ ¯ k1 = 86, ¯ k2 = 12

slide-62
SLIDE 62

Example

Step 2: find u = − ¯ K¯ x to place closed-loop poles at −10 ± j. Desired characteristic polynomial: (s + 10 + j)(s + 10 − j) = (s + 10)2 + 1 = s2 + 20s + 101 Thus, the closed-loop system matrix should be ¯ A − ¯ B ¯ K =

  • 1

−101 −20

  • On the other hand, we know

¯ A − ¯ B ¯ K =

  • 1

−(15 + ¯ k1) −(8 + ¯ k2)

  • =

⇒ ¯ k1 = 86, ¯ k2 = 12 This gives the control law u = − ¯ K¯ x = −

  • 86

12 ¯ x1 ¯ x2

slide-63
SLIDE 63

Example

Step 3: convert back to the old coordinates.

slide-64
SLIDE 64

Example

Step 3: convert back to the old coordinates. u = − ¯ K¯ x = − ¯ KT

  • K

x

slide-65
SLIDE 65

Example

Step 3: convert back to the old coordinates. u = − ¯ K¯ x = − ¯ KT

  • K

x — therefore, K = ¯ KT =

  • 86

12 1 −1 1

  • =
  • 86

−74

slide-66
SLIDE 66

Example

Step 3: convert back to the old coordinates. u = − ¯ K¯ x = − ¯ KT

  • K

x — therefore, K = ¯ KT =

  • 86

12 1 −1 1

  • =
  • 86

−74

  • The desired state feedback law is

u =

  • −86

74 x1 x2