SLIDE 1
An Algorithmic Approach to Stability Verification of Hybrid Systems: - - PowerPoint PPT Presentation
An Algorithmic Approach to Stability Verification of Hybrid Systems: - - PowerPoint PPT Presentation
An Algorithmic Approach to Stability Verification of Hybrid Systems: A Summary Miriam Garca Soto Joint work with Pavithra Prabhakar Hybrid system A dynamical system exhibiting a mixed discrete and continuous behavior. Hybrid system A
SLIDE 2
SLIDE 3
Hybrid system
A dynamical system exhibiting a mixed discrete and continuous behavior.
SLIDE 4
Hybrid system
- Q finite set of control modes (discrete state space),
- X = Rn continuous state space,
- Σ ⊆ Trans(Q, X) set of transitions and
- ∆ ⊆ Traj(Q, X) set of trajectories.
time
(q4,x7) (q4,x6) (q3,x5) (q2,x4) (q2,x3) (q1,x2) (q1,x1)
execution
τ1 τ3 ι2 ι4 τ5 σ H = (Q, X, Σ, ∆)
SLIDE 5
Stability
- Stability is a fundamental property in control system design and captures
robustness of the system with respect to initial states or inputs.
- A system is stable when small perturbations in the input just result in
small perturbations of the eventual behaviours.
- Classical notions of stability:
– Lyapunov stability – Asymptotic stability
SLIDE 6
Lyapunov stability
δ σ(0) σ ✏
The equilibrium point 0 is Lyapunov stable if ∀✏ > 0 ∃ = (✏) > 0 : ||(0)|| < ⇒ ||(t)|| < ✏ ∀t > 0
SLIDE 7
Asymptotic stability
δ σ(0) σ ✏
The equilibrium point 0 is asymptotic stable if it is Lyapunov stable and every execution converges to 0.
SLIDE 8
State of the art
- Existence of Lyapunov function assures stability.
- Lyapunov function computation:
– Choose a template: L(x) = ax2 + bx + c. – Look for coefficients a, b, c, such that L(x) holds some conditions. – If a, b, c do not exist, choose a new template.
- Template choice requires user ingenuity.
- Coefficient failure does not provide insights on the next template choice.
SLIDE 9
Motivation
- Automatization of stability analysis.
- Development of an abstraction refinement framework.
SLIDE 10
Algorithmic approach
Abstract Model-Check
Yes
Validate Refine
H
Stable
No Yes
Unstable
No
G
SLIDE 11
Abstraction
Abstract Model-Check
Yes
Validate Refine
H
Stable
No Yes
Unstable
No
G
SLIDE 12
Theoretical foundation
continuous simulation Quantitative Predicate Abstraction One dimensional hybrid system
H G HG
SLIDE 13
Continuous simulation
Let R be a continuous simulation from a hybrid system H to a hybrid system
- HG. Then:
- HG Lyapunov stable ⇒ H Lyapunov stable
- HG asymptotically stable ⇒ H asymptotically stable
SLIDE 14
Quantitative predicate abstraction
- Abstraction based on predicates.
- In addition, weight computation.
SLIDE 15
Partition
P = {P1, · · · , Pk} Polyhedral partition of X such that:
- X =
k
S
i=1
Pi
- Int(Pi) \ Int(Pj) = ; 8i 6= j
H = (Q, X, Σ, ∆) Hybrid system
P1
P2 P3 P4 P5
P6
P7 P8 P9 P10 P11 P12 P13 P14 P15 P16 Regions = P
SLIDE 16
Quantitative predicate abstraction
- Modified predicate abstraction resulting in a finite weighted graph, G.
- Nodes correspond to the regions of the partition, P.
- Edges represent existence of an execution from one region to other and
evolving through a common adjacent region.
- Weight on every edge corresponds to the maximum scaling of possible ex-
ecutions.
SLIDE 17
Predicate abstraction: constant derivative
H
u1 u2 u3 u4
P1 P2 P3 P4
SLIDE 18
Predicate abstraction: constant derivative
H
u1 u2 u3 u4
P1 P2 P3 P4
SLIDE 19
Predicate abstraction: constant derivative
H
= ⇒
u1 u2 u3 u4
P1 P2 P3 P4 P1 P2 P3 P4
SLIDE 20
Predicate abstraction: constant derivative
H
= ⇒
u1 u2 u3 u4
1 1 P1 P2 P3 P4 P1 P2 P3 P4
SLIDE 21
Predicate abstraction: constant derivative
H
= ⇒
u1 u2 u3 u4
P1 P2 P3 P4
1
P1 P2 P3 P4
SLIDE 22
Predicate abstraction: constant derivative
H
= ⇒
u1 u2 u3 u4
−1 2 P1 P2 P3 P4
1
P1 P2 P3 P4
SLIDE 23
Predicate abstraction: constant derivative
H
= ⇒
u1 u2 u3 u4
P1 P2 P3 P4
1 1 2
P1 P2 P3 P4
SLIDE 24
Predicate abstraction: constant derivative
H
= ⇒
u1 u2 u3 u4
P1 P2 P3 P4
1 1 2 1 2 1
P1 P2 P3 P4 G
SLIDE 25
Reachability relation
(s1, s2) ∈ ReachRelP1,P2 if there exists an execution σ:
- σ(0) = s1 ∈ P1,
- ∃ T > 0 with σ(T) = s2 ∈ P2 and
- ∃ P ∈ P such that ∀t ∈ (0, T), σ(t) ∈ P.
SLIDE 26
Reachability relation - polyhedral dynamics
ReachRelP1,P2 = {(s1, s2) : s1 ∈ P1, s2 ∈ P2, ∃t, ∃u ∈ dyn(P) for some P such that s2 = s1 + ut}
- Polyhedral hybrid system:
P1 P2 dyn(P) P ReachP1,P2(s1) s1
SLIDE 27
Weight computation
W(P1, P2) = sup
(s1,s2)∈ReachRelP1,P2
||s2|| ||s1||
SLIDE 28
Model-checking
Abstract Model-Check
Yes
Validate Refine
H
Stable
No Yes
Unstable
No
G
SLIDE 29
Model-checking
Let G be a quantitative abstraction of a hybrid system H. G1 There is no edge e in G with infinite weight. G2 The product of the weights on every simple cycle π of G is less than or equal to 1. G3 Every node in G is labelled by “conv”. G4 The product of the weights on every simple cycle π of G is strictly less than 1. Then:
- H is Lyapunov stable if conditions G1 and G2 hold; and
- H is asymptotically stable if conditions G3 and G4 hold.
SLIDE 30
Model-checking
1 1 1 2 2 3 1 1 2 Every cycle has weight smaller than 1 ⇓ H is stable ⇓ STOP 1 1 1 2 2 1 2 1 There is a cycle, π, with weight greater than 1 ⇓ π is a counterexample G G
SLIDE 31
AVERIST
Software tool
- Quantitative predicate abstraction for polyhedral switched systems.
- Stability analysis based on the weighted graph.
- Implemented in Python.
- Parma Polyhedra Library (PPL) to manipulate polyhedral sets.
- GLPK solver to compute the weights.
- NetworkX Python package to define and analyse graphs.
http://software.imdea.org/projects/averist/index.html
SLIDE 32
Conclusions
- Summary of an algorithmic approach for stability verification.
- Future directions:
– Extension to linear and nonlinear dynamics. – Compositional techniques for stability analysis.
SLIDE 33