Invariants for LTI systems with uncertain input Paul Hnsch - - PowerPoint PPT Presentation

β–Ά
invariants for lti systems with uncertain input
SMART_READER_LITE
LIVE PREVIEW

Invariants for LTI systems with uncertain input Paul Hnsch - - PowerPoint PPT Presentation

Invariants for LTI systems with uncertain input Paul Hnsch Embedded Software Lab RWTH Aachen University, Germany Roadmap Basic definitions and assumptions Finding invariant ellipsoids via LMIs Finding invariants via canonical


slide-1
SLIDE 1

Invariants for LTI systems with uncertain input

Paul HΓ€nsch Embedded Software Lab RWTH Aachen University, Germany

slide-2
SLIDE 2

Roadmap

  • Basic definitions and assumptions
  • Finding invariant ellipsoids via LMIs
  • Finding invariants via canonical decomposition
  • Examples
  • Mixed decomposition
  • Conclusion
  • Related Work
  • Literature

Paul HΓ€nsch, RWTH Aachen 2

slide-3
SLIDE 3

LTI system with uncertain input

  • Linear time-invariant, or simply LTI system 𝐡, 𝐢, 𝑉

– System state 𝑦 𝑒 ∈ β„π‘œ, input 𝑣 𝑒 ∈ 𝑉 βŠ† ℝ𝑛 – Evolution according to differential equation 𝑦 𝑒 = 𝐡 β‹… 𝑦 𝑒 + 𝐢 β‹… 𝑣(𝑒) – Bounded set 𝑉 βŠ† ℝ𝑛, constant matrices 𝐡 ∈ β„π‘œΓ—π‘œ, 𝐢 ∈ β„π‘œΓ—π‘›

  • State 𝑨 is reachable from 𝑧 if

βˆƒ input function 𝑣: ℝ β†’ 𝑉 and duration πœ€ β‰₯ 0 such that solution 𝑦 𝑒 to above diff. eq. satisfies 𝑦 0 = 𝑧 and 𝑦 πœ€ = 𝑨

  • A set π‘Œ βŠ† β„π‘œ is invariant, if no state in β„π‘œ\X is reachable from a state in π‘Œ
  • Let π‘Œ be invariant and 𝑍 βŠ† π‘Œ and, then π‘Œ is an overapproximation of the

states reachable from 𝑍

  • We assume the LTI system to be stable, i.e. for each initial state 𝑦(0), the

solution 𝑦(𝑒) converges to 0 for 𝑣 ≑ 0

Paul HΓ€nsch, RWTH Aachen 3

slide-4
SLIDE 4

Toy example

𝑦 = βˆ’2 1 1 βˆ’3 𝑦 + 𝑣

  • Phase portrait and sample trajectory

for 𝑣 ≑ 0

  • Trajectory for a specific input

function with 𝑣 𝑒 ∈ βˆ’1,1 2

  • Which states are reachable from 0?
  • Invariants: ellipsoid, rectangle
  • Intersection of invariants is again an

invariant!

Paul HΓ€nsch, RWTH Aachen 4

slide-5
SLIDE 5

Roadmap

  • Basic definitions and assumptions
  • Finding invariant ellipsoids via LMIs
  • Finding invariants via canonical decomposition
  • Examples
  • Mixed decomposition
  • Conclusion
  • Related Work
  • Literature

Paul HΓ€nsch, RWTH Aachen 5

slide-6
SLIDE 6

LMIs

  • A linear matrix inequality (LMI) has the form

𝐺 𝑑 ≔ 𝐺0 + 𝑑𝑗𝐺𝑗

𝑛 𝑗=1

≀ 0

  • 𝐺(𝑑) ≀ 0 denotes negative semidefiniteness: βˆ€ 𝑀 ∈ β„π‘œ: π‘€π‘ˆ β‹… 𝐺 𝑑 β‹… 𝑀 ≀ 0
  • 𝑑 = (𝑑1, … , 𝑑𝑛) ∈ ℝ𝑛 is a variable
  • 𝐺0, … , 𝐺

𝑛 ∈ β„π‘œΓ—π‘œ are given matrices

  • {𝑑 ∈ ℝ𝑛 ∣ 𝐺 𝑑 ≀ 0} is a convex set

Paul HΓ€nsch, RWTH Aachen 6

slide-7
SLIDE 7

Finding invariant ellipsoids via LMIs

  • An ellipsoid is given by {𝑦 ∈ β„π‘œ ∣ π‘¦π‘ˆπ‘„π‘¦ ≀ 1}, 𝑄 > 0
  • Each stable LTI system has invariant ellipsoids follows from [Hirsch, Smale] Thm 1, p.145
  • For each LTI system 𝑇 one can construct an LMI 𝐷 𝑄 ≀ 0 which implies

β€œ{𝑦 ∣ π‘¦π‘ˆπ‘„π‘¦ ≀ 1} is invariant for 𝑇”

[Boyd et al, 94, Β§6.1.3], [HΓ€nsch, Kowalewski]

  • Volume of {𝑦 ∣ π‘¦π‘ˆπ‘„π‘¦ ≀ 1} antiproportional to det 𝑄
  • Maximize det 𝑄 subject to 𝐷 𝑄 ≀ 0

– Gives invariant ellipsoid 𝐹𝑄 with minimum volume among those which satisfy 𝐷 𝑄 ≀ 0 – Solvers available, e.g. CVX (SeDuMi) for Matlab

Paul HΓ€nsch, RWTH Aachen 7

slide-8
SLIDE 8

Roadmap

  • Basic definitions and assumptions
  • Finding invariant ellipsoids via LMIs
  • Finding invariants via canonical decomposition
  • Examples
  • Mixed decomposition
  • Conclusion
  • Related Work
  • Literature

Paul HΓ€nsch, RWTH Aachen 8

slide-9
SLIDE 9

LTI system in real canonical form

𝑦 𝑒 = 𝐡 β‹… 𝑦 𝑒 + 𝐢 β‹… 𝑣(𝑒)

  • Change of bases 𝑧 𝑒 = 𝑅 β‹… 𝑦(𝑒) yields new system representation

𝑧 𝑒 = π‘…π΅π‘…βˆ’1 β‹… 𝑧 𝑒 + 𝑅𝐢 β‹… 𝑣(𝑒)

  • Real canonical representation looks like

𝑧 𝑒 = πœ‡ 𝑏 βˆ’π‘ 𝑐 𝑏 β‹± β‹… 𝑧 𝑒 + 𝑅𝐢 β‹… 𝑣 𝑒

  • Many independent variables, e.g. 𝑧1 depends on no other state variable
  • 𝑅 can be constructed [Hirsch, Smale] Β§6, [Perko] Β§1.8
  • Works for almost all LTI systems follows from [Hirsch, Smale] Thm 2, p.157
  • Consider canonical subsystems separately, e.g. those induced by {𝑧1} and

{𝑧2, 𝑧3}

Paul HΓ€nsch, RWTH Aachen 9

slide-10
SLIDE 10

One-dimensional subsystems

  • Let 𝑧 𝑒 = πœ‡ β‹… 𝑧 𝑒 + 𝑣 𝑒 , 𝑣 𝑒 ∈ 𝑉
  • Assume πœ‡ < 0 (equivalent to stability)
  • Then 𝐽 = [βˆ’

1 πœ‡ inf 𝑉, βˆ’ 1 πœ‡ sup 𝑉] is a tight invariant for 𝑧(𝑒), since

1. For 𝑧 𝑒 β‰₯ βˆ’

1 πœ‡ sup 𝑉, it follows 𝑧 𝑒 ≀ 0

2. For 𝑧 𝑒 ≀ βˆ’

1 πœ‡ inf 𝑉, it follows 𝑧 𝑒 β‰₯ 0

  • It also follows that each interval 𝐾 βŠ‡ 𝐽 is invariant
  • Deduce invariant for original system from 𝑧 𝑒 = 𝑅𝑦 𝑒 :

βˆ’ 1 πœ‡ inf 𝑉 ≀ 𝑅𝑗𝑦 𝑒 ≀ βˆ’ 1 πœ‡ sup 𝑉

  • Geometrical interpretation: 𝑦 𝑒 bounded by two parallel hyperplanes

Paul HΓ€nsch, RWTH Aachen 10

slide-11
SLIDE 11

Two-dimensional subsystems

𝑦 𝑒 = 𝑏 βˆ’π‘ 𝑐 𝑏 β‹… 𝑦 𝑒 + 𝑣(𝑒)

  • Find invariant ellipsoid via LMIs
  • Alternative method [HΓ€nsch, Kowalewski] based on

– Boundary trajectory – Real algebra (Redlog) – Smaller invariants for exotic 𝑉 – No numerical issues – Slower than LMI

Paul HΓ€nsch, RWTH Aachen 11

slide-12
SLIDE 12

Roadmap

  • Basic definitions and assumptions

οƒΌ Finding invariant ellipsoids via LMIs οƒΌ Finding invariants via canonical decomposition

  • Examples
  • Mixed decomposition
  • Conclusion
  • Related Work
  • Literature

Paul HΓ€nsch, RWTH Aachen 12

slide-13
SLIDE 13

Examples 1 and 2

𝑦 = βˆ’2 βˆ’4 3 βˆ’3 βˆ’4 𝑦 + 2 βˆ’1 βˆ’1 3 1 1 βˆ’2 3 𝑣

  • Invariants have the same volume

Paul HΓ€nsch, RWTH Aachen 13

  • From now on, 𝑣 ∈ βˆ’1,1 𝑛
  • Toy example from before
slide-14
SLIDE 14

Example 3

𝑦 = βˆ’4 βˆ’3 2 1 𝑦 + βˆ’1 3 1 βˆ’2 𝑣

  • Invariants

– Directly using LMI: blue ellipsoid – With decomposition: red parallelotope

  • Transform system to canonical form to see

why decomposition pays off 𝑦 = βˆ’1 βˆ’2 𝑦 + 1 1 𝑣

  • Subsystem inputs are mutually

independent!

Paul HΓ€nsch, RWTH Aachen 14

slide-15
SLIDE 15

Example 4

𝑦 = βˆ’1 βˆ’2 𝑦 + 1 1 𝑣

  • Contrary to previous example

– Input to 𝑦1 depends on input to 𝑦2

  • Invariants

– Directly using LMI: blue ellipsoid – Decomposition: red rectangle

  • Decomposition would produce the

same result for the system 𝑦 = βˆ’1 βˆ’2 𝑦 + 1 1 𝑣

  • Decomposition introduces substantial
  • verapproximation of input restraint set

Paul HΓ€nsch, RWTH Aachen 15

slide-16
SLIDE 16

Roadmap

  • Basic definitions and assumptions
  • Finding invariant ellipsoids via LMIs
  • Finding invariants via canonical decomposition
  • Examples
  • Mixed decomposition
  • Conclusion
  • Related Work
  • Literature

Paul HΓ€nsch, RWTH Aachen 16

slide-17
SLIDE 17

Mixed decomposition

𝑦 = βˆ’1 βˆ’2 βˆ’3 𝑦 + 1 1 1 𝑣

  • Idea: mixed decomposition, consider sets of canonical subsystems that

share common inputs

Paul HΓ€nsch, RWTH Aachen 17

Method Volume 1. Directly using LMI 139 2. Full decomposition 133 3. Intersection of 1. and 2. 72 4. Mixed decomposition {𝑦1, 𝑦2}, {𝑦3} 60 5. Intersection of 1., 2., and 4. 55

slide-18
SLIDE 18

Mixed decomposition heuristic

𝑦 = 𝑇1 β‹± 𝑇𝑙 𝑦 + 𝑣, 𝑣 ∈ 𝑉 = 𝑅𝐢 β‹… βˆ’1,1 𝑛

  • 𝑙 canonical subsystems and 2𝑙 sets of canonical subsystems
  • Which sets of subsystems give good invariants?

– Is it reasonable to consider subsystems 𝑇𝑗, 𝑇

π‘˜ separately?

– Depends on degree of mutual independence of subsystem inputs – Possible measure: Ratio of the volumes of

  • π‘„π‘ π‘π‘˜π‘—π‘˜ 𝑉 = {[𝑣𝑗, π‘£π‘˜] ∣ [… , 𝑣𝑗, … , π‘£π‘˜, … ] ∈ 𝑉}, and
  • π‘„π‘ π‘π‘˜π‘— 𝑉 Γ— π‘„π‘ π‘π‘˜π‘˜ 𝑉 =

𝑣𝑗 … 𝑣𝑗 … ∈ 𝑉 Γ— {π‘£π‘˜ ∣ [… π‘£π‘˜ … ] ∈ 𝑉} – Projection and volume computation can be expensive but both can be approximated efficiently with sufficient accuracy

Paul HΓ€nsch, RWTH Aachen 18

slide-19
SLIDE 19

Conclusion and outlook

  • Facing a stable LTI system and looking for good invariants?
  • Take a look at the systemβ€˜s canonical form
  • Is this in some way applicable to nonlinear systems?

Paul HΓ€nsch, RWTH Aachen 19

slide-20
SLIDE 20

Related work

  • Iterative overapproximation of reachable states [Girard, Le Guernic 2010]

– Bounded time horizon only – Reachable set represented by large number of shapes – Invariants are a useful complement

  • Overapproximation based on decomposition [Gayek 86]
  • Decidability results based on eigenstructure

– Reachability in systems with special system matrices and inputs

[Lafferriere et al 2001] [Anai, Weispfenning 2001]

– Point-to-point reachability, limit sets in systems without inputs [Hainry 2008]

  • Overapproximation of reachable states in systems without inputs [Tiwari 2003]

Paul HΓ€nsch, RWTH Aachen 20

slide-21
SLIDE 21

Literature

  • HΓ€nsch, Kowalewski: Invariants for LTI systems with uncertain inputs. RP 2012
  • Boyd, Vandenberghe: Convex optimization. 2009
  • Boyd, Ghaoui, Feron, Balakrishnan: LMI in system and control theory. 1994
  • Boyd, Vandenberghe: Semidefinite programming. 1996
  • Gayek: Approximating reachable sets for a class of linear control systems. Int. J. Control 1986
  • Le Guernic, Girard: Reachability analysis of linear systems using support functions. Nonlinear

Analysis: Hybrid Systems 2010

  • Lafferriere, Pappas, Yovine: Symbolic reachability computation for families of linear vector
  • fields. J. Symb. Comp. 2001
  • Anai, Weispfenning: Reach set computations using real quantifier elimination. HSCC 2001
  • Hainry: Computing omega-limit sets in linear dynamical systems. UC 2008
  • Hainry: Reachability in linear dynamical systems. CiE 2008
  • Tiwari: Approximate reachability for linear systems. HSCC 2003
  • Hirsch, Smale: Differential equations, dynamical systems, and linear algebra. 1974
  • Perko: Differential equations and dynamical systems. 1991

Paul HΓ€nsch, RWTH Aachen 21