Switched linear discrete time systems EECI Graduate School on - - PowerPoint PPT Presentation

switched linear discrete time systems
SMART_READER_LITE
LIVE PREVIEW

Switched linear discrete time systems EECI Graduate School on - - PowerPoint PPT Presentation

Switched linear discrete time systems EECI Graduate School on Control 2009 Jamal Daafouz March 2009 Outline Switched Linear Discrete Time Systems Stability Structural Properties : Invertibility, Flatness Applications Digital


slide-1
SLIDE 1

Switched linear discrete time systems

EECI Graduate School on Control 2009 Jamal Daafouz March 2009

slide-2
SLIDE 2

Outline

Switched Linear Discrete Time Systems

◮ Stability ◮ Structural Properties : Invertibility, Flatness

Applications

◮ Digital Control : Hot Strip Mill, Networked Control ◮ Encryption

slide-3
SLIDE 3

Spectral radius

◮ Spectral radius of A : largest modulus of its eigenvalues

ρ(A) = max{|λ| : Av = λv}

◮ Spectral radius of a matrix power

ρ(Ak) = ρ(A)k Convergence condition : lim

k→∞ Ak = 0

⇐ ⇒ ρ(A) < 1

◮ Spectral radius as a limit of norms

ρ(A) = lim

k→∞ Ak1/k

slide-4
SLIDE 4

Generalized spectral radius

Consider a (non necessarily bounded) set A of n × n matrices Ai A =

  • Ai : i ∈ I
  • ,

I =

  • 1, ..., M
  • The larget possible spectral radius of all products of the matrices

ρk(A) sup

  • ρ(

k

  • i=1

Ai) : Ai ∈ A for 1 ≤ i ≤ k

  • ◮ GSR : The maximal asymptotic spectral radius of the product of

matrices choosen freely in A ρ(A) lim sup

k→∞

  • ρk(A)

1/k

slide-5
SLIDE 5

Joint spectral radius

The larget possible norm of all products of the matrices choosen in A ˆ ρk(A) sup

  • k
  • i=1

Ai : Ai ∈ A for 1 ≤ i ≤ k

  • ◮ JSR :

ˆ ρ(A) lim sup

k→∞

  • ˆ

ρk(A) 1/k

◮ GSR= JSR = spectral radius when A =

  • A
  • ρ(A) = ˆ

ρ(A) = ρ(A)

◮ GSR=JSR for any bounded set A

ρ(A) = ˆ ρ(A)

slide-6
SLIDE 6

Stability of discrete switched systems

Consider a set A of matrices Ai, and the discrete linear inclusion xk+1 ∈

  • Aσkxk

: Aσk ∈ A

  • ,

x0 ∈ Rn arbitrary (1) The sequence (σk) is the switching signal depending on k and/or on xk. (x0, x1, . . . , xk, . . .) satisfying the inclusion (1) xk+1 = Aσkxk, for some sequence σk is a trajectory in the Rn space. The set of all possible switchings signals defines a whole set of possible trajectories.

slide-7
SLIDE 7

GSR/JSR and UFS (J. Theys et al. 2005)

◮ Uniform Asymptotic Stability : UFS

Any trajectory (xk) of the discrete linear inclusion converges to the

  • rigin

lim

k→∞ xk = 0,

∀ (σk) As this is supposed to hold for any x0, it is equivalent to saying that all matrix products converge to 0 lim

k→∞ AσkAσk−1 . . . Aσ1 = 0

◮ Theorem

For a bounded set A of matrices ˆ ρ(A) < 1 ⇐ ⇒ discrete linear inclusion is UFS ρ(A) < 1 ⇐ ⇒ discrete linear inclusion is UFS

slide-8
SLIDE 8

Stability of discrete switched systems

  • V. D. Blondel and J. N. Tsitsiklis. The boundedness of all products of a pair of

matrices is undecidable. Systems and Control Letters, 2000.

Theorem

Generalized/Joint spectral radius of a pair of matrices is not polynomial-time approximable. This is true even for a pair of matrices with {0, 1} entries. It is NP-hard to decide whether all products of two given real matrices A0 and A1 are bounded.

◮ GSR/JSR complex to compute ◮ not suitable for design purpose

slide-9
SLIDE 9

Stability of discrete switched systems

◮ Lyapunov functions : In general, a sufficient stability condition.

A scalar function V such that V (xk) > 0, ∀xk = 0 and the derivative of V along the system trajectories must be decreasing as time evolves. Linear systems : xk+1 = Axk, x0 ∈ Rn Quadratic Lyapunov function V (xk) = xT

k Pxk,

P = PT > 0

slide-10
SLIDE 10

Stability of discrete switched systems

V (xk+1) < V (xk), ∀xk = 0 xT

k+1Pxk+1 < xT k Pxk,

∀xk = 0 ATPA − P < 0 ⇐ ⇒ λ(A) < 1 Generalizing this to discrete time switched systems leads to the common quadratic Lyapunov function (CQLF) stability condition AT

i PAi − P < 0,

∀i which should hold simultaneously for all matrices Ai of the set A Existence of a CQLF is not a necessary condition.

slide-11
SLIDE 11

Stability of discrete switched systems

◮ Example : (J. Theys et al. 2005)

xk+1 = Aσkxk, Aσk ∈ {A1, A2} A1 = −0.2 −0.4 0.4 −0.2

  • ,

A2 = −0.2 −2.4 1/15 −0.2

  • No CQLF but

0.9275 ≤ ˆ ρ ≤ 0.9510

slide-12
SLIDE 12

Classical results

For more complex systems it is not clear :

◮ What form should the Lyapunov function have ? ◮ What form is necessary and sufficient for the stability ? ◮ How can we find it ? (analytical / numerical tool)

Solution :

◮ Use simple forms for which we can get LMI conditions

⇒ only sufficient stability conditions

◮ Conservatism :

V (x) does not exist but the system is stable

slide-13
SLIDE 13

Stability Analysis of discrete time switched systems

Goal : Analyse global stability of a switched system xk+1 = Aσk xk where Aσk belongs to {Ai : i = 1, . . . , M} σk is the switching rule meaning that at each instant of time k Aσk = Ai, for some i ∈ {1, . . . , M} There is no complete solution for the stability problem even in the bidimensional case xk+1 = Aσk xk Aσk ∈ {A1, A2}, xk ∈ R2

slide-14
SLIDE 14

Stability of Switched systems / Polytopic systems

Stability of a linear discrete time switched system xk+1 = Aσk xk, Aσk ∈ {Ai : i = 1, . . . , M} is equivalent to the stability of the linear discrete-time polytopic system xk+1 = Aξkxk, Aξk ∈ conv{A1, . . . , AM} that is Aξk = M

i=1 ξi(k)Ai

and M

i=1 ξi = 1, ξi ≥ 0

One has to prove that ρ(conv{A1, . . . , AM}) = ρ({A1 . . . AM})

(P. Mason, M. Sigalotti and J. Daafouz, CDC 2007)

slide-15
SLIDE 15

Stability of linear switched discrete time systems

Different choices of parameter dependent quadratic Lyapunov functions for global stability analysis of a linear discrete-time polytopic system xk+1 = Aξkxk (k ∈ N) Aξ = M

i=1 ξiAi and M i=1 ξi = 1, ξi ≥ 0 (convex combination of Ai).

(1) Parameter dependent quadratic stability V (x, ξ) = xTP(ξ)x α1x2 ≤ V (x, ξ) ≤ α2x2 (2) Parameter and time dependent quadratic stability V (k, x, ξ) = xTP(k, ξ)x α1x2 ≤ V (k, x, ξ) ≤ α2x2 (3) Poly-quadratic stability V (x, ξ) = xTP(ξ)x with P(ξ) =

M

  • i=1

ξiPi

slide-16
SLIDE 16

Using parameter dependent Lyapunov functions

Proposition

The previous three types of quadratic stability are equivalent. Proof : (P. Mason, M. Sigalotti and J. Daafouz, CDC 2007) Clearly: (3) Polyquadratic stability (V (x, ξ) with P(ξ) = M

i=1 ξiPi)

⇓ (1) Parameter dependent quadratic stability (V (x, ξ) = xTP(ξ)x) ⇓ (2) Parameter and time dependent quadratic stability (V (k, x, ξ) = xTP(k, ξ)x) It remains to show that (2) ⇒ (3).

slide-17
SLIDE 17

Scheme of the proof

(2) ⇒ (3) (i.e. ∃ a L.F. of the form xTP(k, ξ)x ⇒ ∃ a L.F. xT(M

i=1 ξiPi)x )

First step: Recall that xk+1 = Aξkxk where Aξ = M

i=1 ξiAi.

Define Pk,i = quadratic form associated with the vertex Ai at time k Then one proves that Πk,ξ(x) = xT(

M

  • i=1

ξiPk,i)x is a (time and parameter dependent) quadratic LF. The key tool is the convexity of the function f (A) = ATPA for any positive definite matrix P.

slide-18
SLIDE 18

Parameter dependent quadratic stability

Second step: By a compactness argument one can choose suitable k and h with h < k such that Π⋆

ξ(x) = k

  • i=h

Πk,ξ(x) is a LF and has the desired form.

Remark

more general than the classical "static” notion of quadratic stability P(ξ) ≡ P Asymptotic stability does not imply parameter dependent quadratic stability

slide-19
SLIDE 19

LMI stability condition (J. Daafouz et al 2001 and 2002)

◮ There exist a polyquadratic Lyapunov function

V (x, ξ) = xTP(ξ)x with P(ξ) =

M

  • i=1

ξiPi for xk+1 = Aξkxk, Aξk ∈ conv{A1, . . . , AM}

◮ There exist a switched Lyapunov function

V (xk, σk) = xT

k Pσxk

for xk+1 = Aσk xk, Aσk ∈ {Ai : i = 1, . . . , M}

◮ There exist Pi, i = 1, . . . , M satisfying

AT

i PjAi − Pi < 0

∀i = 1, . . . , M, ∀j = 1, . . . , M (2)

slide-20
SLIDE 20

Stability of Polytopic discrete time systems

Necessary and sufficient LMI condition for the existence of V = x⊤

k M

  • i=1

ξiPixk

  • r equivalently for the existence of

V = x⊤

k Pσxk

  • Pi

A⊤

i Pj

PjAi Pj

  • > 0

∀i = 1, . . . , M, ∀j = 1, . . . , M (3)

  • Gi + Gi ⊤ − Si

Gi ⊤A⊤

i

AiGi Sj

  • > 0,

∀i = 1, . . . , M, ∀j = 1, . . . , M (4) where Si = P−1

i

, ∀i = 1, . . . , M

slide-21
SLIDE 21

Dwell Time (J.C Geromel et al 2006)

Consider σk = i ∈ {1, . . . , M}, k ∈ [lq, lq+1) where lq and lq+1 are succesive switching times satisfying lq+1 − lq ≥ ∆ ≥ 1, ∀q ∈ N

Theorem

Assume that, for some ∆ ≥ 1, these exists a collection of positive definite matrices {P1, . . . , M} such that AT

i PiAi − Pi < 0,

∀i = 1, . . . , M (5) (A∆

i )TPjA∆ i − Pi < 0,

∀i = j = 1, . . . , M (6) The switched system is globally asymptotically stable with a dwell time ∆.

slide-22
SLIDE 22

Dwell Time

An upper bound for the minimum dwell time ∆∗ can be computed by taking the minimum value of ∆ satisfying the Theorem conditions. One has to solve the optimization problem min∆≥1,P1>0,...,PM>0

  • ∆ : (5) − (6)

which, for ∆ ≥ 1 fixed, reduces to a convex programming feasibility problem with LMI constraints. ∆ = 1 : we recover the switched Lyapunov functions conditions AT

i PjAi − Pi < 0

∀i = 1, . . . , M, ∀j = 1, . . . , M

slide-23
SLIDE 23

Dwell Time

◮ Example :

A1 = eB1T, A2 = eB2T with B1 =

  • 1

−10 −1

  • ,

B2 =

  • 1

−0.1 −0.5

  • ,

T = 0.5 Upper bound of the minimum dwell time ∆∗ ≤ 6 Necessary condition from linear periodic systems ∆per = 6 = ⇒ minimum dwell time ∆∗ = 6

slide-24
SLIDE 24

Control design

Design a switched state feedback uk = Kσxk to stabilize xk+1 = Aσxk + Bσuk Find matrices Si = S⊤

i , matrices Gi and Ri, ∀i = 1, . . . , M such that

Gi + Gi ′ − Si (AiGi + BiRi)′ AiGi + BiRi Sj

  • > 0

(7) The state feedback matrix gains are given by Ki = RiGi −1 ∀i = 1, . . . , M

slide-25
SLIDE 25

Control design

Design a switched output feedback uk = Kσyk to stabilize xk+1 = Aσxk + Bσuk yk = Cσxk (8) Ci full rank ∀i = 1, . . . , M Find matrices Si = S⊤

i , matrices Gi, Ui and Vi, ∀i = 1, . . . , M such that

Gi + Gi ′ − Si (AiGi + BiUiCi)′ AiGi + BiUiCi Sj

  • > 0

(9) ViCi = CiGi ∀i = 1, . . . , M The output feedback matrix gains are given by Ki = UiVi

−1

∀i ∈ E

slide-26
SLIDE 26

Numerical Evaluation

Single input m = 1. System Success N = 2 N = 3 N = 4 N = 5 N = 6 n = 3, p = 1 SQ Without Gi With Gi 67 93 96 43 85 96 25 79 89 14 68 82 12 52 79 n = 3, p = 2 SQ Without Gi With Gi 78 98 100 46 87 95 42 93 98 16 80 94 17 70 88 n = 4, p = 2 SQ Without Gi With Gi 27 79 97 10 50 83 28 64 26 48 8 34 n = 5, p = 2 SQ Without Gi With Gi 6 48 81 1 11 49 4 25 1 7 1 4

slide-27
SLIDE 27

Control design with pole placement

Design a switched state feedback such that :

◮ Each closed loop linear subsystem has its poles in desired location ◮ The closed loop switched system is stable under arbitrary switching

sequences Some motivations to study this problem :

◮ the dynamic of each subsystem is fixed so as to get a correct

behavior when a model keeps constant for any long time.

◮ When the switching is activated because of variation in the

parameters, or in the operating point, or by a supervisor which selects the best control strategy, the stability is ensured whatever the switching control can be.

slide-28
SLIDE 28

Control design with pole placement

Consider the switched system defined by: xk+1 = Aσxk + Bσuk (10) Problem : Find a switched state feedback uk = Kσxk, (11) such that

◮ the closed loop switched system is globally asymptotically stable. ◮ the closed loop dynamic spectra satisfies

spec(Aσ + BσKσ) = {λσ1, . . . , λσn} (12) where the λσq , q = 1, ..., n, denote desired eigenvalues

slide-29
SLIDE 29

Control design with pole placement

The problem of computing for a linear system a state feedback matrix gain K which ensures that (A + BK) has {λ1, . . . , λn} as its eigenvalues has been considered by Moore in 1976. The procedure leads to the computation of the matrix gains K in two steps :

  • 1. For q = 1, . . . , n compute bases

» Mq Nq –

  • f the null-space of

ˆ A − λqI B ˜ (13)

  • 2. The matrix gain is then given by

K = “ ˆ N1 ... Nn ˜ diagn

q=1vq

| {z }

R

”“ ˆ M1 ... Mn ˜ diagn

q=1vq

| {z }

G

”−1 (14)

where vq are arbitrary vectors chosen so that invertibility is ensured.

slide-30
SLIDE 30

Control design with pole placement

To consider complex eigenvalues, this procedure has to be modified. As complex eigenvalues occur in conjugate pairs (λr, λ(r+1)) with λ(r+1) = λ∗

r , the null-space computation must be replaced with

2 6 6 4 Mr Nr M(r+1) N(r+1) 3 7 7 5 null-space of » A − Re(λr)I B Im(λr)I −Im(λr)I A − Re(λr)I B – (15)

The matrix gain K is given by K = (NΨ)(MΨ)−1 (16) where M

  • . . . , Miq, . . . , Mr, M(r+1), . . .
  • N
  • . . . , Nq, . . . , Nr, N(r+1), . . .
  • Ψ
  • diag
  • . . . , vq, . . . , vr, v(r+1), . . .
  • ,

vq ∈ Rp×1, vr = v(r+1) ∈ R2p×1 with the subscripts q for real eigenvalues and r, r + 1 for complex eigenvalues.

slide-31
SLIDE 31

Control design with pole placement

Notice that in the framework of switched linear discrete systems, the stabilizing switched control structure Ki = RiG −1

i

is similar to the pole placement gain structure K = (NΨ

  • R

)(MΨ

  • G

)−1 (17) We can then select among the stabilizing switched controls the one ensuring that the closed loop matrices (Ai + BiKi), i ∈ E have {λi1, . . . , λin} as eigenvalues. Replace in the LMIs of switched control design Theorem the unknowns Ri and Gi by (NiΨi) and (MiΨi) respectively. The matrices Ψi, which gathers all degrees of freedom, are used to satisfy the Lyapunov constraints of the previous Theorem.

slide-32
SLIDE 32

Control design with pole placement

This is summarized in the following Theorem.

Theorem

Assume that Mi and Ni have been computed as indicated previously. If there exist symmetric matrices Si and matrices Ψi solutions of:

» MiΨi + ΨT

i MT i

− Si ΨT

i MT i AT i + ΨT i NT i BT i

AiMiΨi + BiNiΨi Sj – > 0, (18)

∀(i, j) ∈ E × E, then a stabilizing switched state feedback exists and the resulting gains Ki are given by Ki = (NiΨi)(MiΨi)−1 Moreover, such gains ensure that the closed loop dynamic is characterized by spec(Ai + BiKi) = {λi1, . . . , λin}.

slide-33
SLIDE 33

Control design with pole placement

The success of the proposed procedure is related to the availability of degrees of freedom in excess with respect to a pure pole placement. Hence, this approach is only valid for multi-input systems. Single input systems → Partial pole placement.

  • 1. Compute for q = 1, . . . , l with l < n bases

Miq Niq

  • f the null-space of [Ai − λiqI

Bi]

  • 2. The matrix gains are given by

Ki RiG −1

i

, Ri NiΨNi , Gi MiΨMi with Mi

  • Mi1, . . . , Mil, I, I, . . . , I
  • n−l

times

  • ,

Ni

  • Ni1, . . . , Nil, I, I, . . . , I
  • n−l

times

  • ΨMi diag(vi1, . . . , vil, si1, . . . , si(n−l)),

ΨNi diag(vi1, . . . , vil, ti1, . . . , ti(n−l)) (19)

slide-34
SLIDE 34

Control design with pole placement

Theorem

Let ΨMi , ΨNi matrices given by (19). If there exist symmetric matrices Si, matrices ΨMi , ΨNi solutions of:

  • MiΨMi + (MiΨMi )T − Si

(•)T AiMiΨMi + BiNiΨNi Sj

  • > 0,

(20) ∀(i, j) ∈ E × E, then a stabilizing switched state feedback exists and the resulting gains Ki are given by Ki = (NiΨNi )(MiΨMi )−1 Moreover, such gains ensure that the closed loop dynamic is characterized by {λi1, . . . , λil} ⊂ spec(Ai + BiKi).

slide-35
SLIDE 35

Example

Consider a switched system given by xk+1 = Aσxk + Bσuk (21) where {Ai : i ∈ E} and {Bi : i ∈ E} are a family of matrices parameterized by an index set E = {1, 2} and A1 =

  • 0.0094

0.3010 −3.0098 0.0094

  • ,

A2 =

  • 0.0094

3.0098 −0.3010 0.0094

  • ,

B1 = B2 = 1

  • Case (uk = 0) : The discrete time invariant subsystems characterized by

A1 and A2 are stable and the matrices A1 and A2 have the same eigenvalues: 0.0094 ± 0.9518i.

slide-36
SLIDE 36

Example

If the switching signal is characterized by σ = 1 if x1

k x2 k ≥ 0,

with xk = [x1

k

x2

k ]′

2

  • therwise

(22) then the switched system is unstable.

−0.5 0.5 1 1.5 2 2.5 3 x 10

48

−2 2 4 6 8 10 x 10

47

x1 x2 x1(0), x2(0)

slide-37
SLIDE 37

Example

Design a stabilizing switched state feedback control with the property that each closed loop subsystem has λ = 0 as one of its eigenvalues. This example is single input and only a partial pole assignment may be achieved.

slide-38
SLIDE 38

Example

Let i = 1, the first subsystem, compute for q = 1, ..., l with l < n the null-space of [Ai − λiqI Bi]. Here n = 2 and l = 1 since only one eigenvalue may be fixed for each subsystem. The result is :   0.0030 0.9576 −0.2883   = ⇒ M11 = 0.0030 0.9576

  • ,

N11 = −0.2883 Build the matrices Mi

  • Mi1, . . . , Mil, I, I, . . . , I
  • n−l

times

  • ,

Ni

  • Ni1, . . . , Nil, I, I, . . . , I
  • n−l

times

  • that is

M1 =

  • M11 I
  • =
  • 0.0030

1 0.9576 1

  • ,

N1 =

  • N11 I
  • =
  • − 0.2883 1
slide-39
SLIDE 39

Example

One has to do similar computations for i = 2 the second subsystem and

  • btain

M2 = 0.0098 1 0.3153 1

  • ,

N2 =

  • − 0.9490 1
  • The next step is to check the feasibility of the Linear Matrix Inequalities
  • f Theorem 4 where the unknowns are the Lyapunov matrices Si and the

matrices ΨMi =

  • vi1

si1

  • ,

ΨNi =

  • vi1

ti1

  • with

vi1 ∈ R, si1 ∈ R2 and ti1 ∈ R for i = 1 and i = 2;

slide-40
SLIDE 40

Example

Such LMIs are found feasible and

S1 = 10−03 » 0.0100 0.0005 0.0005 0.1912 – , S2 = » 0.0026 0.0462 0.0462 1.4822 – ΨM1 = 2 4 0.0066 −0.0001 2.0158 3 5 , ΨN1 = » 0.0066 −0.6067 – ΨM2 = 2 4 0.2459 0.0230 2.1505 3 5 , ΨN1 = » 0.2459 −6.4726 –

This leads to the following control gains K1 = (N1ΨN1)(M1ΨM1)−1 = −0.01786 −0.30097 K2 = (N2ΨN2)(M2ΨM2)−1 =

  • −0.0102

−3.0098

  • Using the switched control characterized by K1 and K2
slide-41
SLIDE 41

Example

◮ Each closed loop subsystem is characterized by

spec(A1 + B1K1) = {1.7 10−13, 0.00093} and spec(A2 + B2K2) = {−7 10−14, 0.0085}

◮ The closed loop switched system is globally asymptotically stable

2 4 6 8 10 12 14 16 18 20 −2 2 4 6 8 10 12 samples k x1(k) 2 4 6 8 10 12 14 16 18 20 −12 −10 −8 −6 −4 −2 samples k x2(k)