MSc in Computer Engineering, Cybersecurity and Artificial - - PowerPoint PPT Presentation

msc in computer engineering cybersecurity and artificial
SMART_READER_LITE
LIVE PREVIEW

MSc in Computer Engineering, Cybersecurity and Artificial - - PowerPoint PPT Presentation

MSc in Computer Engineering, Cybersecurity and Artificial Intelligence Course FDE , a.a. 2019/2020, Lecture 13 State feedback control design by eigenvalue assignment Prof. Mauro Franceschelli Dept. of Electrical and Electronic Engineering


slide-1
SLIDE 1

MSc in Computer Engineering, Cybersecurity and Artificial Intelligence Course FDE , a.a. 2019/2020, Lecture 13 State feedback control design by eigenvalue assignment

  • Prof. Mauro Franceschelli
  • Dept. of Electrical and Electronic Engineering

University of Cagliari, Italy

Monday, 27th April 2020

1 / 40

slide-2
SLIDE 2

Outline

Introduction A necessary and sufficient condition for state feedback design for arbitrary eigenvalue assignment Design procedure Design with reference input

2 / 40

slide-3
SLIDE 3

Introduction

Introduction

Consider the next discrete time linear dynamical system: ①(k + 1) = ❆①(k) + ❇✉(k) ②(k) = ❈①(k) where ❆ is an n × n matrix; ❇ is an n × 1 matrix; ❈ is a 1 × n matrix;

  • Matlab Simulink block diagram (open-loop system dynamics):

3 / 40

slide-4
SLIDE 4

Introduction

Introduction

We consider a discrete time linear model which could be: An intrinsic discrete-time system. Example: Dynamics of a bank savings account with fixed interest rates; A discretized linear system: A continuous-time linear system which is measured and actuated at a given sampling rate. Example: DC electric motor; An intrinsic discrete time nonlinear system linearized around an equilibrium/operating point. A continuous time nonlinear system linearized around an equilibrium/operating point and discretized.

4 / 40

slide-5
SLIDE 5

Introduction

Introduction

We consider a discrete time linear model which could be: An intrinsic discrete-time system. Example: Dynamics of a bank savings account with fixed interest rates; A discretized linear system: A continuous-time linear system which is measured and actuated at a given sampling rate. Example: DC electric motor; An intrinsic discrete time nonlinear system linearized around an equilibrium/operating point. A continuous time nonlinear system linearized around an equilibrium/operating point and discretized.

4 / 40

slide-6
SLIDE 6

Introduction

Introduction

We consider a discrete time linear model which could be: An intrinsic discrete-time system. Example: Dynamics of a bank savings account with fixed interest rates; A discretized linear system: A continuous-time linear system which is measured and actuated at a given sampling rate. Example: DC electric motor; An intrinsic discrete time nonlinear system linearized around an equilibrium/operating point. A continuous time nonlinear system linearized around an equilibrium/operating point and discretized.

4 / 40

slide-7
SLIDE 7

Introduction

Introduction

We consider a discrete time linear model which could be: An intrinsic discrete-time system. Example: Dynamics of a bank savings account with fixed interest rates; A discretized linear system: A continuous-time linear system which is measured and actuated at a given sampling rate. Example: DC electric motor; An intrinsic discrete time nonlinear system linearized around an equilibrium/operating point. A continuous time nonlinear system linearized around an equilibrium/operating point and discretized.

4 / 40

slide-8
SLIDE 8

Introduction

Assumptions and main objective

  • We now assume to have full access to the state of the system
  • In particular, all state variables are measured at discrete intervals of time
  • Our goal is to design a proportional, full state feedback control u(k) = −Kx(k)

where K is a row-vector to modify the stability properties of the system (or just an equilibrium point if it is a linearized model)

  • The method allows to tailor the transient response of the system by assigning

desired eigenvalues to the closed-loop system, i.e., assignment of desired time-constants to the modes of the system.

  • The method we are about to present can be easily generalized for

multi-input/multi-output systems where K is, in general a r × n rectangular matrix

5 / 40

slide-9
SLIDE 9

Introduction

Assumptions and main objective

  • We now assume to have full access to the state of the system
  • In particular, all state variables are measured at discrete intervals of time
  • Our goal is to design a proportional, full state feedback control u(k) = −Kx(k)

where K is a row-vector to modify the stability properties of the system (or just an equilibrium point if it is a linearized model)

  • The method allows to tailor the transient response of the system by assigning

desired eigenvalues to the closed-loop system, i.e., assignment of desired time-constants to the modes of the system.

  • The method we are about to present can be easily generalized for

multi-input/multi-output systems where K is, in general a r × n rectangular matrix

5 / 40

slide-10
SLIDE 10

Introduction

Assumptions and main objective

  • We now assume to have full access to the state of the system
  • In particular, all state variables are measured at discrete intervals of time
  • Our goal is to design a proportional, full state feedback control u(k) = −Kx(k)

where K is a row-vector to modify the stability properties of the system (or just an equilibrium point if it is a linearized model)

  • The method allows to tailor the transient response of the system by assigning

desired eigenvalues to the closed-loop system, i.e., assignment of desired time-constants to the modes of the system.

  • The method we are about to present can be easily generalized for

multi-input/multi-output systems where K is, in general a r × n rectangular matrix

5 / 40

slide-11
SLIDE 11

Introduction

Assumptions and main objective

  • We now assume to have full access to the state of the system
  • In particular, all state variables are measured at discrete intervals of time
  • Our goal is to design a proportional, full state feedback control u(k) = −Kx(k)

where K is a row-vector to modify the stability properties of the system (or just an equilibrium point if it is a linearized model)

  • The method allows to tailor the transient response of the system by assigning

desired eigenvalues to the closed-loop system, i.e., assignment of desired time-constants to the modes of the system.

  • The method we are about to present can be easily generalized for

multi-input/multi-output systems where K is, in general a r × n rectangular matrix

5 / 40

slide-12
SLIDE 12

Introduction

Assumptions and main objective

  • We now assume to have full access to the state of the system
  • In particular, all state variables are measured at discrete intervals of time
  • Our goal is to design a proportional, full state feedback control u(k) = −Kx(k)

where K is a row-vector to modify the stability properties of the system (or just an equilibrium point if it is a linearized model)

  • The method allows to tailor the transient response of the system by assigning

desired eigenvalues to the closed-loop system, i.e., assignment of desired time-constants to the modes of the system.

  • The method we are about to present can be easily generalized for

multi-input/multi-output systems where K is, in general a r × n rectangular matrix

5 / 40

slide-13
SLIDE 13

Introduction

Introduction

Graphical representation of the closed-loop system with full-state feedback control

6 / 40

slide-14
SLIDE 14

Introduction

Why proportional state feedback

  • Proportional feedback is a popular and robust control method, very

simple to implement on embedded digital systems.

  • To control a dynamical system by digital means the main limiting factor

is the sampling rate.

  • If the sampling rate is too high, i.e., the sampling interval is too short,

then the embedded system might not be fast enough to perform analogue to digital conversion, process the signal by computing the control u(k) and convert back with digital to analogue conversion.

7 / 40

slide-15
SLIDE 15

Introduction

Why proportional state feedback

  • Proportional feedback is a popular and robust control method, very

simple to implement on embedded digital systems.

  • To control a dynamical system by digital means the main limiting factor

is the sampling rate.

  • If the sampling rate is too high, i.e., the sampling interval is too short,

then the embedded system might not be fast enough to perform analogue to digital conversion, process the signal by computing the control u(k) and convert back with digital to analogue conversion.

7 / 40

slide-16
SLIDE 16

Introduction

Why proportional state feedback

  • Proportional feedback is a popular and robust control method, very

simple to implement on embedded digital systems.

  • To control a dynamical system by digital means the main limiting factor

is the sampling rate.

  • If the sampling rate is too high, i.e., the sampling interval is too short,

then the embedded system might not be fast enough to perform analogue to digital conversion, process the signal by computing the control u(k) and convert back with digital to analogue conversion.

7 / 40

slide-17
SLIDE 17

Outline

Introduction A necessary and sufficient condition for full state feedback design for arbitrary eigenvalue assignment Design procedure Design with reference input

8 / 40

slide-18
SLIDE 18

Full state feedback design

State feedback design

Consider the next discrete-time linear system: ①(k + 1) = ❆①(k) + ❇✉(k) (1) where ❆ is an n × n matrix; ❇ is an n × 1 matrix;

  • Let matrix A have spectrum σol = {λ1, λ2, . . . , λn}

9 / 40

slide-19
SLIDE 19

Full state feedback design

State feedback design

  • Consider now a full-state feedback u(k) = −K①(k) with K a 1 × n matrix

(single input case). The dynamics of system (1) become ①(k + 1) = ❆①(k) + ❇u(k) = ❆①(k) + ❇(−K①(k)) = (❆ − ❇❑) ①(k) (2)

  • The state transition matrix is now ❆ − ❇❑ and has spectrum

σcl = {µ1, µ2, . . . , µn} ⇒ state feedback changes the stability properties of a system.

10 / 40

slide-20
SLIDE 20

Full state feedback design

State feedback design: A necessary and sufficient condition

  • Under what conditions can we design matrix K such that the spectrum of

matrix (❆ − ❇❑) has the desired eigenvalues σcl = {µ1, µ2, . . . , µn}?

  • A necessary and sufficient condition for the existence of a matrix K which

allows to assign arbitrary eigenvalues to matrix (❆ − ❇❑), assuming unbounded control input, is that the system defined by the pair (❆, ❇) is completely state controllable.

  • A discrete time linear system is completely state controllable if its controllability

matrix T =

  • ❇, ❆❇, . . . ❆n−1❇
  • has full rank, i.e., rank(T ) = n.

11 / 40

slide-21
SLIDE 21

Full state feedback design

State feedback design: A necessary and sufficient condition

  • Under what conditions can we design matrix K such that the spectrum of

matrix (❆ − ❇❑) has the desired eigenvalues σcl = {µ1, µ2, . . . , µn}?

  • A necessary and sufficient condition for the existence of a matrix K which

allows to assign arbitrary eigenvalues to matrix (❆ − ❇❑), assuming unbounded control input, is that the system defined by the pair (❆, ❇) is completely state controllable.

  • A discrete time linear system is completely state controllable if its controllability

matrix T =

  • ❇, ❆❇, . . . ❆n−1❇
  • has full rank, i.e., rank(T ) = n.

11 / 40

slide-22
SLIDE 22

Full state feedback design

Proof of sufficiency

  • We now prove sufficiency of the condition, a proof of necessity can be found in
  • K. Ogata ”Discrete time control systems”, Prentice-Hall int., Chapter 6.
  • Let {µ1, µ2, . . . µn} be a set of desired complex eigenvalues for matrix

(❆ − ❇❑).

  • Consider a similarity transformation P which puts the system into controllable

canonical form

12 / 40

slide-23
SLIDE 23

Full state feedback design

Proof of sufficiency

  • We now prove sufficiency of the condition, a proof of necessity can be found in
  • K. Ogata ”Discrete time control systems”, Prentice-Hall int., Chapter 6.
  • Let {µ1, µ2, . . . µn} be a set of desired complex eigenvalues for matrix

(❆ − ❇❑).

  • Consider a similarity transformation P which puts the system into controllable

canonical form

12 / 40

slide-24
SLIDE 24

Full state feedback design

Proof of sufficiency

  • We now prove sufficiency of the condition, a proof of necessity can be found in
  • K. Ogata ”Discrete time control systems”, Prentice-Hall int., Chapter 6.
  • Let {µ1, µ2, . . . µn} be a set of desired complex eigenvalues for matrix

(❆ − ❇❑).

  • Consider a similarity transformation P which puts the system into controllable

canonical form

12 / 40

slide-25
SLIDE 25

Full state feedback design

Proof of sufficiency

Thus P = T W where T =

  • ❇, ❆❇, . . . ❆n−1❇
  • is the full rank controllability matrix and

W =        a1 a2 . . . an−1 1 a2 a3 . . . 1 . . . . . . . . . . . . . . . an−1 1 . . . 1 . . .        where a0, . . . , an are the coefficients of the characteristic polynomial of matrix ❆ det(λI − ❆) = λn + an−1λn−1 + . . . + a2λ2 + a1λ + a0

13 / 40

slide-26
SLIDE 26

Full state feedback design

Proof of sufficiency

By computing the new equivalent model with state variables ①(k) = P③(k), we have that the new matrices are in controllable canonical form ˆ ❆ = P−1❆P =          1 . . . 1 . . . . . . . . . . . . . . . ... . . . . . . . . . 1 −a0 −a1 −a2 . . . −an−2 −an−1          ˆ ❇ = P−1❇ =        . . . 1       

14 / 40

slide-27
SLIDE 27

Full state feedback design

Proof of sufficiency

  • Now, choose

ˆ K = KP = δn−1 δn−2, . . . , δ0

  • The equivalent system is

③(k + 1) = ˆ ❆③(k) − ˆ ❇ ˆ K③(k) =

  • ˆ

❆ − ˆ ❇ ˆ K

  • ③(k)

(3) with ˆ ❇ ˆ K =        . . . 1        δn−1 δn−2, . . . , δ0

  • =

       . . . . . . . . . . . ., . . . . . . 0, . . . , δn−1 δn−2, . . . , δ0       

15 / 40

slide-28
SLIDE 28

Full state feedback design

Proof of sufficiency

Thus, ˆ ❆ − ˆ ❇ ˆ K =        1 . . . . . . . . . . . . . . . . . . 0, . . . 1 −an−1 −an−2 . . . −a0        −        . . . . . . . . . . . . . . . . . . 0, . . . δn−1 δn−2, . . . δ0        ˆ ❆ − ˆ ❇ ˆ K =        1 . . . . . . . . . . . . . . . . . . 0, . . . 1 −an−1 − δn−1 −an−2 − δn−2 . . . , −a0 − δ0       

16 / 40

slide-29
SLIDE 29

Full state feedback design

Proof of sufficiency

The characteristic polynomial of ˆ A − ˆ ❇ ˆ K is det(λ■ − ˆ A+ ˆ ❇ ˆ K) = det               λ −1 . . . λ . . . . . . . . ., . . . . . . 0, . . . , −1 an−1 + δn−1 an−2 + δn−1, . . . , λ + a0 + δ0               which is equal to det(λ■ − ˆ A + ˆ ❇ ˆ K) = λn + (δn−1 + an−1)λn−1 + (δn−2 + an−2)λn−2 + (δn−3 + an−3)λn−3 + . . . + (δ1 + a1)λ + δ0 + a0

17 / 40

slide-30
SLIDE 30

Full state feedback design

Proof of sufficiency

Now, the desired eignevalues for matrix ˆ ❆ − ˆ ❇ ˆ K are µ1, µ2, . . . , µn, thus the desired characteristic polynomial of matrix ˆ A − ˆ ❇ ˆ K is det(λ■ − ˆ ❆ + ˆ ❇ ˆ K) = (λ − µ1)(λ − µ2)(λ − µ3) . . . (λ − µn) = λn + αn−1λn−1 + αn−2λn−2 . . . + α1λ + α0 Thus, equating the coefficients corresponding to terms of the same order of the desired characteristic polynomial and the characteristic polynomial of the closed loop state transition matrix ˆ ❆ − ˆ ❇ ˆ K) we get α0 = a0 + δ0 α1 = a1 + δ1 α2 = a2 + δ2 . . . = . . . αn−1 = an−2 + δn−2 αn = an−1 + δn−1

18 / 40

slide-31
SLIDE 31

Full state feedback design

Proof of sufficiency

By choosing δ0 = α0 − a0 δ2 = α1 − a1 δ3 = α2 − a2 . . . = . . . δn−2 = αn−2 − an−2 δn−1 = αn−1 − an−1 and recalling that ˆ K = KP = δn−1 δn−2, . . . , δ0

  • it follows

K = ˆ KP−1 =

  • δn−1

δn−2, . . . , δ0

  • P−1

19 / 40

slide-32
SLIDE 32

Full state feedback design

Proof of sufficiency

Thus, if matrix T is non-singular (and thus P is non-singular), i.e., the system is completely state controllable, then we just constructed a feedback matrix gain K = δn−1 δn−2, . . . , δ0

  • P−1

which assigns a characteristic polynomial with desired eigenvalues det(λ■ − ˆ ❆ + ˆ ❇ ˆ K) = (λ − µ1)(λ − µ2)(λ − µ3) . . . (λ − µn) to the closed loop state transition matrix ˆ ❆ − ˆ ❇ ˆ K, thus proving that compelte state controllability is a sufficient condition for the existence of matrix K for an arbitrary eigenvalue assignment.

20 / 40

slide-33
SLIDE 33

Outline

Introduction A necessary and sufficient condition for full state feedback design for arbitrary eigenvalue assignment Full state feedback Design procedure Design with reference input

21 / 40

slide-34
SLIDE 34

Full state feedback Design procedure

Design procedure

  • There are many ways to design a feedback matrix gain K which assigns

the desired eigevalues to a closed loop system.

  • Here we propose one the simple and systematic method to assign

eigenvalues to single input systems.

  • A generalization of this method for multi-input and multi-output systems

can be found in K. Ogata ”Discrete time control systems”, Prentice-Hall int., Appendix C.

22 / 40

slide-35
SLIDE 35

Full state feedback Design procedure

Design procedure

  • There are many ways to design a feedback matrix gain K which assigns

the desired eigevalues to a closed loop system.

  • Here we propose one the simple and systematic method to assign

eigenvalues to single input systems.

  • A generalization of this method for multi-input and multi-output systems

can be found in K. Ogata ”Discrete time control systems”, Prentice-Hall int., Appendix C.

22 / 40

slide-36
SLIDE 36

Full state feedback Design procedure

Design procedure

  • There are many ways to design a feedback matrix gain K which assigns

the desired eigevalues to a closed loop system.

  • Here we propose one the simple and systematic method to assign

eigenvalues to single input systems.

  • A generalization of this method for multi-input and multi-output systems

can be found in K. Ogata ”Discrete time control systems”, Prentice-Hall int., Appendix C.

22 / 40

slide-37
SLIDE 37

Full state feedback Design procedure

Design procedure

Consider the next discrete-time linear system: ①(k + 1) = ❆①(k) + ❇u(k) where ❆ is an n × n matrix; ❇ is an n × 1 matrix;

  • Let λ1, λ2, . . . , λn be the eigenvalues of matrix A.
  • Let µ1, µ2, . . . , µn be the desired eigenvalues of the closed loop system

under full state feedback control u(k) = −K①(k).

23 / 40

slide-38
SLIDE 38

Full state feedback Design procedure

Design procedure

Consider the next discrete-time linear system: ①(k + 1) = ❆①(k) + ❇u(k) where ❆ is an n × n matrix; ❇ is an n × 1 matrix;

  • Let λ1, λ2, . . . , λn be the eigenvalues of matrix A.
  • Let µ1, µ2, . . . , µn be the desired eigenvalues of the closed loop system

under full state feedback control u(k) = −K①(k).

23 / 40

slide-39
SLIDE 39

Full state feedback Design procedure

Design procedure

Consider the next discrete-time linear system: ①(k + 1) = ❆①(k) + ❇u(k) where ❆ is an n × n matrix; ❇ is an n × 1 matrix;

  • Let λ1, λ2, . . . , λn be the eigenvalues of matrix A.
  • Let µ1, µ2, . . . , µn be the desired eigenvalues of the closed loop system

under full state feedback control u(k) = −K①(k).

23 / 40

slide-40
SLIDE 40

Full state feedback Design procedure

Design procedure

Step 1: Verify that the controllability matrix T is full rank, i.e., rank(T ) = rank(

  • ❇, ❆❇, . . . ❆n−1❇
  • ) = n

Step 2: Build matrix P = T W where W =        a1 a2 . . . an−1 1 a2 a3 . . . 1 . . . . . . . . . . . . . . . an−1 1 . . . 1 . . .       

24 / 40

slide-41
SLIDE 41

Full state feedback Design procedure

Design procedure

Step 1: Verify that the controllability matrix T is full rank, i.e., rank(T ) = rank(

  • ❇, ❆❇, . . . ❆n−1❇
  • ) = n

Step 2: Build matrix P = T W where W =        a1 a2 . . . an−1 1 a2 a3 . . . 1 . . . . . . . . . . . . . . . an−1 1 . . . 1 . . .       

24 / 40

slide-42
SLIDE 42

Full state feedback Design procedure

Design procedure

Step 3: Compute the coefficients of the characteristic polynomial corresponding to matrix ❆ det(λ■ − ❆) = (λ − λ1)(λ − λ2)(λ − λ3) . . . (λ − λn) = λn + an−1λn−1 + an−2λn−2 . . . + a1λ + a0λ Step 4: Compute the characteristic polynomial corresponding to the desired eigenvalues of matrix ❆ − ❇❑: det(λ■ − ❆ + ❇K) = (λ − µ1)(λ − µ2)(λ − µ3) . . . (λ − µn) = λn + αn−1λn−1 + αn−2λn−2 . . . + α1λ + α0

25 / 40

slide-43
SLIDE 43

Full state feedback Design procedure

Design procedure

Step 3: Compute the coefficients of the characteristic polynomial corresponding to matrix ❆ det(λ■ − ❆) = (λ − λ1)(λ − λ2)(λ − λ3) . . . (λ − λn) = λn + an−1λn−1 + an−2λn−2 . . . + a1λ + a0λ Step 4: Compute the characteristic polynomial corresponding to the desired eigenvalues of matrix ❆ − ❇❑: det(λ■ − ❆ + ❇K) = (λ − µ1)(λ − µ2)(λ − µ3) . . . (λ − µn) = λn + αn−1λn−1 + αn−2λn−2 . . . + α1λ + α0

25 / 40

slide-44
SLIDE 44

Full state feedback Design procedure

Design procedure

Step 5: Compute the coefficients of matrix ˆ K =

  • δn−1

δn−2, . . . , δ0

  • as

δ0 = α0 − a0 δ2 = α1 − a1 δ3 = α2 − a2 . . . = . . . δn−2 = αn−2 − an−2 δn−1 = αn−1 − an−1

26 / 40

slide-45
SLIDE 45

Full state feedback Design procedure

Design procedure

Step 5: Compute the coefficients of matrix ˆ K =

  • δn−1

δn−2, . . . , δ0

  • as

δ0 = α0 − a0 δ2 = α1 − a1 δ3 = α2 − a2 . . . = . . . δn−2 = αn−2 − an−2 δn−1 = αn−1 − an−1

26 / 40

slide-46
SLIDE 46

Full state feedback Design procedure

Design procedure

Step 6: Compute matrix K = ˆ KP−1 Step 7: Let u(k) = −K①(k) The design is now complete.

27 / 40

slide-47
SLIDE 47

Full state feedback Design procedure

Design procedure

Step 6: Compute matrix K = ˆ KP−1 Step 7: Let u(k) = −K①(k) The design is now complete.

27 / 40

slide-48
SLIDE 48

Full state feedback Design procedure

Design procedure

Step 6: Compute matrix K = ˆ KP−1 Step 7: Let u(k) = −K①(k) The design is now complete.

27 / 40

slide-49
SLIDE 49

Full state feedback Design procedure

Important remark

  • In the design of control system for a discretized model, the design is

dependent on the sampling time T chosen to sample the continuous-time system.

  • A change of sampling time changes the eigenvalues of the discrete-time

model.

  • Thus, a change in sampling time requires a redesign of the feedback

matrix gain K and, eventually K0.

28 / 40

slide-50
SLIDE 50

Full state feedback Design procedure

Important remark

  • In the design of control system for a discretized model, the design is

dependent on the sampling time T chosen to sample the continuous-time system.

  • A change of sampling time changes the eigenvalues of the discrete-time

model.

  • Thus, a change in sampling time requires a redesign of the feedback

matrix gain K and, eventually K0.

28 / 40

slide-51
SLIDE 51

Full state feedback Design procedure

Important remark

  • In the design of control system for a discretized model, the design is

dependent on the sampling time T chosen to sample the continuous-time system.

  • A change of sampling time changes the eigenvalues of the discrete-time

model.

  • Thus, a change in sampling time requires a redesign of the feedback

matrix gain K and, eventually K0.

28 / 40

slide-52
SLIDE 52

Outline

Introduction A necessary and sufficient condition for full state feedback design for arbitrary eigenvalue assignment Full state feedback Design procedure Design with reference input

29 / 40

slide-53
SLIDE 53

Design with reference input

Design with reference input

  • In practical applications we often wish to set a given operating point for a

plant/process/machine by providing a reference signal (for instance, a reference speed or temperature). Consider the next Simulink block diagram

30 / 40

slide-54
SLIDE 54

Design with reference input

Design with reference input

  • The input to the dynamical system under full state feedback is now

u(k) = −K①(k) + K0r(k), where r(k) is the reference signal and K0 is the desired gain with respect to the reference.

31 / 40

slide-55
SLIDE 55

Design with reference input

Design with reference input

  • Example 1: when controlling a crane with a joystick we provide a reference with

the angular position of the stick which translates in a large movement speed of the crane. (We wish y(k) = βr(k))

  • Example 2: when controlling the crane by setting numerically its speed, we wish

to have a unitary gain, i.e., the system tracks the reference signal with no gain (We wish y(k) = r(k))

32 / 40

slide-56
SLIDE 56

Design with reference input

Design with reference input

  • Important: Full state feedback changes the stability properties of a system and

its transient behavior by changing its eigenvalues but it also changes the gain of a system.

33 / 40

slide-57
SLIDE 57

Design with reference input

Design with reference input

Consider the next discrete-time linear system: ①(k + 1) = ❆①(k) + ❇✉(k) y(k) = ❈①(k) where ❆ is an n × n matrix; ❇ is an n × 1 matrix; ❈ is a 1 × n matrix. Now, let u(k) = −K①(k) + K0r(k) where K0 is a scalar constant and r(k) is a scalar reference signal.

34 / 40

slide-58
SLIDE 58

Design with reference input

Design with reference input

It follows ①(k + 1) = ❆①(k) + ❇(−K①(k) + K0r(k)) = (❆−❇K) ①(k) + ❇K0r(k) Thus, if the system is completely state controllable the eigenvalues of the state transition matrix can be arbitrarily assigned by choosing a suitable K, also they can be set independently from K0.

  • Now, by a proper full state feedback control the closed loop system is

asymptotically stable and admits a steady state y(k) = y for a constant reference signal r(k) = r and sufficiently large k (for instance, more than 5 times the largest time constant).

35 / 40

slide-59
SLIDE 59

Design with reference input

Design with reference input

It follows ①(k + 1) = ❆①(k) + ❇(−K①(k) + K0r(k)) = (❆−❇K) ①(k) + ❇K0r(k) Thus, if the system is completely state controllable the eigenvalues of the state transition matrix can be arbitrarily assigned by choosing a suitable K, also they can be set independently from K0.

  • Now, by a proper full state feedback control the closed loop system is

asymptotically stable and admits a steady state y(k) = y for a constant reference signal r(k) = r and sufficiently large k (for instance, more than 5 times the largest time constant).

35 / 40

slide-60
SLIDE 60

Design with reference input

Design with reference input

  • Thus, at the steady state x(k + 1) = x(k) = xe:

①e = (❆−❇K) ①e + ❇K0r = (I − ❆+❇K)−1❇K0r therefore, at the steady state the output equals ② = ❈xe = ❈(I − ❆+❇K)−1❇K0r and the gain of output with respect to the reference, i.e., the gain of closed loop system equals y r = ❈(I − ❆+❇K)−1❇K0

36 / 40

slide-61
SLIDE 61

Design with reference input

Design with reference input

  • Thus, if we are asked to design a full state feedback control with given

specifications on stability, transient behavior (eigenvalues) and a given steady state gain β, we first design the state feedback gain K to satisfy the requirements

  • f stability and transient behavior, then we design and the gain K0 as

K0 =

  • ❈(I − ❆+❇K)−1❇

−1 β.

37 / 40

slide-62
SLIDE 62

Deadbeat control

  • If a system is completely state controllable we can require that the state of the

system converges to zero as fast as possible, i.e., in at most n steps.

  • Choose the desired eigenvalue assignment as {0, 0, . . . , 0}, i.e., all zero

eigenvalues.

  • Apply the full state feedback control design procedure
  • It will follow that

❆ − ❇K =        1 . . . . . . . . . . . . . . . . . . 0, . . . 1 . . . ,        and (❆ − ❇K)n =        . . . . . . . . . . . . . . . . . . 0, . . . . . . ,       

38 / 40

slide-63
SLIDE 63

Deadbeat control

  • If a system is completely state controllable we can require that the state of the

system converges to zero as fast as possible, i.e., in at most n steps.

  • Choose the desired eigenvalue assignment as {0, 0, . . . , 0}, i.e., all zero

eigenvalues.

  • Apply the full state feedback control design procedure
  • It will follow that

❆ − ❇K =        1 . . . . . . . . . . . . . . . . . . 0, . . . 1 . . . ,        and (❆ − ❇K)n =        . . . . . . . . . . . . . . . . . . 0, . . . . . . ,       

38 / 40

slide-64
SLIDE 64

Deadbeat control

  • If a system is completely state controllable we can require that the state of the

system converges to zero as fast as possible, i.e., in at most n steps.

  • Choose the desired eigenvalue assignment as {0, 0, . . . , 0}, i.e., all zero

eigenvalues.

  • Apply the full state feedback control design procedure
  • It will follow that

❆ − ❇K =        1 . . . . . . . . . . . . . . . . . . 0, . . . 1 . . . ,        and (❆ − ❇K)n =        . . . . . . . . . . . . . . . . . . 0, . . . . . . ,       

38 / 40

slide-65
SLIDE 65

Deadbeat control

  • If a system is completely state controllable we can require that the state of the

system converges to zero as fast as possible, i.e., in at most n steps.

  • Choose the desired eigenvalue assignment as {0, 0, . . . , 0}, i.e., all zero

eigenvalues.

  • Apply the full state feedback control design procedure
  • It will follow that

❆ − ❇K =        1 . . . . . . . . . . . . . . . . . . 0, . . . 1 . . . ,        and (❆ − ❇K)n =        . . . . . . . . . . . . . . . . . . 0, . . . . . . ,       

38 / 40

slide-66
SLIDE 66

Deadbeat control

  • The deadbeat control is the fastest achievable by full state proportional

feedback.

  • There is a trade-off: To bring the state of the system to zero as fast as possible

the amplitude of the required amplitude of the input may be huge (large energy require to actuate the system)

  • Deadbeat control is meaningful only in discrete-time: the state is controlled to

zero only at the sampling instants, within the sampling intervals the dynamics is that of a linear system with constant input, i.e, if the system is unstable ①(t) = 0 for t ∈ (kT, (k + 1)T) where T is the sampling time.

  • If the available model is not accurate, the deadbeat response will contain errors

39 / 40

slide-67
SLIDE 67

Exercise

Consider the next discrete-time linear system: ①(k + 1) = ❆①(k) + ❇✉(k) y(k) = ❈①(k) where A =     0.8147 0.6324 0.9575 0.9572 0.9058 0.0975 0.9649 0.4854 0.1270 0.2785 0.1576 0.8003 0.9134 0.5469 0.9706 0.1419]     , B =     0.5 0.1     C = [1 0]

  • Design a full state feedback control such that the closed loop system has

eigenvalues: {0.8, 0.6, 0.4, 0.4} and unitary steady state gain.

40 / 40