Invariants for LTI systems with uncertain input Paul Hnsch - - PowerPoint PPT Presentation
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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