An Algorithmic Approach to Global Asymptotic Stability Verification - - PowerPoint PPT Presentation

an algorithmic approach to global asymptotic stability
SMART_READER_LITE
LIVE PREVIEW

An Algorithmic Approach to Global Asymptotic Stability Verification - - PowerPoint PPT Presentation

An Algorithmic Approach to Global Asymptotic Stability Verification of Hybrid Systems Miriam Garca Soto & Pavithra Prabhakar IMDEA Software Institute & Kansas State University EMSOFT16 Pittsburgh, PA, USA October, 2016 1 Hybrid


slide-1
SLIDE 1

October, 2016

An Algorithmic Approach to Global Asymptotic Stability Verification of Hybrid Systems

Miriam García Soto & Pavithra Prabhakar

IMDEA Software Institute & Kansas State University

1

EMSOFT’16 Pittsburgh, PA, USA

slide-2
SLIDE 2

Hybrid Systems

slide-3
SLIDE 3

Cyber-Physical Systems

Systems controlled by computer-based algorithms integrated in the physical world.

Automotive Robotics Process control

System exhibiting a mixed continuous and discrete behaviour. Hybrid System

Combine control, communication and computation. Design methodology for building high-confidence systems. Discrete and continuous behaviour.

Medical Devices

slide-4
SLIDE 4

Cruise control and automatic gearbox

Automatic gearbox

Drive the vehicle velocity to a desired velocity.

Kq Kq τ Z (vd − v)dv

q

T

+ +

+

vd v ωhigh ωlow

CRUISE CONTROLLER

GEARBOX

Continuous controller Discrete controller

Integral

Kq(vd − v)

Proportional

˙ v = pr

qT

M

slide-5
SLIDE 5

Automatic gearbox: a hybrid system

1 2 3 4

E = 1 p4 ωlow E = 1 p3 ωlow E = 1 p2 ωlow E = 1 p1 ωhigh E = 1 p2 ωhigh E = 1 p3 ωhigh x = ✓ E TI ◆ ˙ x = A1x ˙ x = A2x ˙ x = A3x ˙ x = A4x E = vd − v Difference between desired and current velocity TI Integral part of the torque ˙ E = − pq MrKqE − pq MrTI ˙ TI = −Kq τ E Dynamical equations

slide-6
SLIDE 6

Automatic gearbox: a hybrid system

1 2 3 4

E = 1 p4 ωlow E = 1 p3 ωlow E = 1 p2 ωlow E = 1 p1 ωhigh E = 1 p2 ωhigh E = 1 p3 ωhigh ˙ x = A1x ˙ x = A2x ˙ x = A3x ˙ x = A4x

TI E

Dynamics Executions

TI

4 to 3

  • 3

to 2

  • 2

to 1

  • E

1 to 2

  • 2

to 3

  • 3

to 4

  • x3

x0 x1 x2

slide-7
SLIDE 7

Stability Notions

slide-8
SLIDE 8

Lyapunov Stability (LS)

8

A system is Lyapunov stable with respect to 0 if for every ε > 0 there exists δ > 0 such that every execution σ starting from Bδ(0) implies σ ∈ Bε(0).

slide-9
SLIDE 9

9

δ ✏

A system is Lyapunov stable with respect to 0 if for every ε > 0 there exists δ > 0 such that every execution σ starting from Bδ(0) implies σ ∈ Bε(0).

Lyapunov Stability (LS)

slide-10
SLIDE 10

10

δ σ(0)

σ

A system is Lyapunov stable with respect to 0 if for every ε > 0 there exists δ > 0 such that every execution σ starting from Bδ(0) implies σ ∈ Bε(0).

Lyapunov Stability (LS)

slide-11
SLIDE 11

11

δ σ(0)

σ

A system is Lyapunov stable with respect to 0 if for every ε > 0 there exists δ > 0 such that every execution σ starting from Bδ(0) implies σ ∈ Bε(0).

Lyapunov Stability (LS)

slide-12
SLIDE 12

Asymptotic Stability (AS)

12

A system is AS with respect to 0 if it is Lyapunov stable and there exists a value δ > 0 such that every execution σ starting from Bδ(0) converges to 0.

δ σ(0)

σ

slide-13
SLIDE 13

Global Asymptotic Stability (GAS)

13

A system is GAS with respect to 0 if it is Lyapunov stable and every execution σ converges to 0. Global asymptotic stability Asymptotic stability

slide-14
SLIDE 14

Region Stability (RS)

14

A system is RS with respect to R if for every execution σ there exists a value T ≥ 0 such that σ at time T belongs to R.

R

slide-15
SLIDE 15

Global Asymptotic Stability Verification

slide-16
SLIDE 16

GAS verification

16

Step 1 : Asymptotic Stability (AS) verification Step 2 : Stability zone construction Step 3 : Region Stability (RS) verification

LHA

PSS PSS G

Z

True

False

True/False

H

,

GAS verification AS verification

RS verification

Hybridization

Stability zone construction

slide-17
SLIDE 17

Polyhedral Switched System (PSS)

17

q1 q2 q3 q4 q5 q6 q7 q8 q9 q10

Dynamics are modelled by polyhedral inclusions. Invariants and guards are polyhedral sets.

slide-18
SLIDE 18

Step 1: AS verification

18

q1 q2 q3 q4 q5 q6 q7 q8 q9 q10

Local analysis is reduced to the switching predicates passing through the equilibrium point.

Concrete system H

slide-19
SLIDE 19

19

q7 q8 q9 q10

Local analysis is reduced to the switching predicates passing through the equilibrium point.

Step 1: AS verification

Concrete system H0

slide-20
SLIDE 20

Predicate Abstraction

20

f1 f2 f3 f4 u1 u2 u3 u4

Facets F = {f1, f2, f3, f4} Concrete system H0

slide-21
SLIDE 21

21

Predicate Abstraction

f1 f2 f3 f4 u1 u2 u3 u4

Facets F = {f1, f2, f3, f4} Concrete system H0

slide-22
SLIDE 22

22

Predicate Abstraction

= ⇒

f1 f2 f3 f4 u1 u2 u3 u4

Facets F = {f1, f2, f3, f4} Concrete system H0 Abstract system A(H0, F)

f1 f2 f3 f4

slide-23
SLIDE 23

23

Predicate Abstraction

= ⇒

f1 f2 f3 f4 u1 u2 u3 u4

Facets F = {f1, f2, f3, f4} Concrete system H0 An edge between facets indicates the existence of an execution. Abstract system A(H0, F)

f1 f2 f3 f4

slide-24
SLIDE 24

24

= ⇒

f1 f2 f3 f4 f1 f2 f3 f4 u1 u2 u3 u4

Facets F = {f1, f2, f3, f4} Concrete system H0 An edge between facets indicates the existence of an execution.

Predicate Abstraction

Abstract system A(H0, F)

slide-25
SLIDE 25

25

= ⇒

f1 f2 f3 f4 f1 f2 f3 f4 u1 u2 u3 u4

Facets F = {f1, f2, f3, f4} Concrete system H0 An edge between facets indicates the existence of an execution.

Predicate Abstraction

Abstract system A(H0, F)

slide-26
SLIDE 26

26

= ⇒

f1 f2 f3 f4 f1 f2 f3 f4 u1 u2 u3 u4

Facets F = {f1, f2, f3, f4} Concrete system H0 An edge between facets indicates the existence of an execution.

Predicate Abstraction

Abstract system A(H0, F)

slide-27
SLIDE 27

27

Predicate Abstraction

= ⇒

f1 f2 f3 f4 f1 f2 f3 f4 u1 u2 u3 u4

Facets F = {f1, f2, f3, f4} Concrete system H0 An edge between facets indicates the existence of an execution. Abstract system A(H0, F)

slide-28
SLIDE 28

28

Quantitative Predicate Abstraction

= ⇒

f1 f2 f3 f4 u1 u2 u3 u4

Facets F = {f1, f2, f3, f4}

1

2

Concrete system H0 An edge between facets indicates the existence of an execution. The weight refers to the variation of distance from equilibrium.

f1 f2 f3 f4

Abstract system A(H0, F)

slide-29
SLIDE 29

29

Quantitative Predicate Abstraction

= ⇒

f1 f2 f3 f4 u1 u2 u3 u4

Facets F = {f1, f2, f3, f4}

1

2

Concrete system H0 An edge between facets indicates the existence of an execution. The weight refers to the variation of distance from equilibrium.

f1 f2 f3 f4

2

Abstract system A(H0, F)

slide-30
SLIDE 30

30

Quantitative Predicate Abstraction

= ⇒

f1 f2 f3 f4 u1 u2 u3 u4

Facets F = {f1, f2, f3, f4}

3 −1

Concrete system H0 An edge between facets indicates the existence of an execution. The weight refers to the variation of distance from equilibrium.

f1 f2 f3 f4

2

Abstract system A(H0, F)

slide-31
SLIDE 31

31

Quantitative Predicate Abstraction

= ⇒

f1 f2 f3 f4 u1 u2 u3 u4

Facets F = {f1, f2, f3, f4}

3 −1

Concrete system H0 An edge between facets indicates the existence of an execution. The weight refers to the variation of distance from equilibrium.

f1 f2 f3 f4

2 1 3

Abstract system A(H0, F)

slide-32
SLIDE 32

32

Quantitative Predicate Abstraction

= ⇒

f1 f2 f3 f4

2 1 3 1 3 1

f1 f2 f3 f4 u1 u2 u3 u4

Facets F = {f1, f2, f3, f4}

3 −1

Concrete system H0 An edge between facets indicates the existence of an execution. The weight refers to the variation of distance from equilibrium. Abstract system A(H0, F)

slide-33
SLIDE 33

33

Quantitative Predicate Abstraction

= ⇒

f1 f2 f3 f4

2 1 3 1 3 1

f1 f2 f3 f4 u1 u2 u3 u4

Facets F = {f1, f2, f3, f4}

3 −1

Concrete system H0 An edge between facets indicates the existence of an execution. The weight refers to the variation of distance from equilibrium. W(π) = 2 · 1 3 · 1 3 · 1 = 2 9 < 1

π

Abstract system A(H0, F)

slide-34
SLIDE 34

Model-checking

34

Theorem (Soundness)

Let be a quantitative abstraction. The hybrid system is asymptotically stable if: All executions which eventually remain in a region converge to the origin. Every simple cycle has product of weights on the edges less than 1.

A(H, F)

H

slide-35
SLIDE 35

AS verification for the gearbox

35

TI

4 to 3

  • 3

to 2

  • 2

to 1

  • E

1 to 2

  • 2

to 3

  • 3

to 4

slide-36
SLIDE 36

AS verification for the gearbox

36

W(π) = 0.0746 · 2.678 · 1 · 0.0746 · 2.678 · 1 = 0.03991 < 1 ⇒ AS TI l E

l+

l− T +

I

T −

I

0.0746 0.0746 2.678 2.678 1

1

E−

E+

slide-37
SLIDE 37

Step 2: Stability zone computation

37

is a stability zone with respect to if every execution starting at will remain forever inside .

q7 q8 q9 q10

R

Z

q7 q8 q9 q10

R

Z

Z Z ⊆ R R R Stability zone Not stability zone

slide-38
SLIDE 38

Stability zone computation

38

q7

q8

q9

q10

R

Center region of H

R

slide-39
SLIDE 39

Stability zone computation

39

q7 q8 q9 q10

R

d Md

f1

f2

f3

f4

2

1 3 1 3 1

Center region of M = max {1, W(%): % path in }

A(H, F)

H

R

M = 2

slide-40
SLIDE 40

Stability zone computation

40

Extract the center region of M = max {1, W(%): % path in }

A(H, F)

H

R

M = 2 Shrink the center region by a factor of M: Z

q7 q8 q9 q10

R

Md r Z r/2M

f1

f2

f3

f4

2

1 3 1 3 1

slide-41
SLIDE 41

Stability zone computation for the gearbox

41

TI

Center region Stability zone

E

1 to 2

  • 2

to 3

  • 3

to 4

  • 4

to 3

  • 3

to 2

  • 2

to 1

slide-42
SLIDE 42

Step 3: RS verification

42

Quantitative predicate abstraction. Graph transformation. Termination analysis.

slide-43
SLIDE 43

43

TI q4 q4, q3 q3 q3, q2 q2

q2, q1 q1

E

Quantitative Predicate Abstraction

RS verification for the gearbox

slide-44
SLIDE 44

44

RS verification for the gearbox

Graph Transformation

TI q4 q4, q3 q3 q3, q2 q2

q2, q1 q1

E

slide-45
SLIDE 45

45

Delete nodes in the interior of stability zone.

RS verification for the gearbox

Graph Transformation

TI q4 q4, q3 q3 q3, q2 q2

q2, q1 q1

E

slide-46
SLIDE 46

46

TI q4 q4, q3 q3 q3, q2 q2

q2, q1 q1

Delete nodes in the interior of stability zone. Delete non-reachable nodes from initial nodes.

E

RS verification for the gearbox

Graph Transformation

slide-47
SLIDE 47

47

TI q4 q4, q3 q3 q3, q2 q2

q2, q1 q1

E

RS verification for the gearbox

Termination Analysis

slide-48
SLIDE 48

48

Existence of an edge with weight ∞ ⇒ RS False.

RS verification for the gearbox

Termination Analysis

TI q4 q4, q3 q3 q3, q2 q2

q2, q1 q1

E

slide-49
SLIDE 49

49

Existence of an edge with weight ∞ ⇒ RS False. Existence of a cycle ⇒ RS inconclusive.

RS verification for the gearbox

Termination Analysis

TI q4 q4, q3 q3 q3, q2 q2

q2, q1 q1

E

slide-50
SLIDE 50

50

Existence of an edge with weight ∞ ⇒ RS False. Existence of a cycle ⇒ RS inconclusive. Existence of nodes with no outgoing edges different to the nodes

  • n the boundary of the stability zone ⇒ RS inconclusive.

TI q4 q4, q3 q3 q3, q2 q2

q2, q1 q1

E

RS verification for the gearbox

Termination Analysis

slide-51
SLIDE 51

51

Existence of an edge with weight ∞ ⇒ RS False. Existence of a cycle ⇒ RS inconclusive. Existence of nodes with no outgoing edges different to the nodes

  • n the boundary of the stability zone ⇒ RS inconclusive.

TI q4 q4, q3 q3 q3, q2 q2

q2, q1 q1

E

RS verification for the gearbox

Termination Analysis

Region stability established

slide-52
SLIDE 52

52

Summary

LHA

PSS PSS

G G0

Z True

False

True/False

H

,

GAS verification

AS verification

RS verification

Hybridization Abstraction & Model-checking Termination analysis

Abstraction

Stability zone construction

G00

Graph transformation

slide-53
SLIDE 53

53

Future research

Extension of the algorithmic stability verification to non-linear systems. Compositional analysis for input-output stability verification. Synthesis of state based switching control for a family of dynamical systems.

Pavithra Prabhakar and Miriam García Soto, Counterexample Guided Abstraction Refinement for Stability Analysis, CAV 2016 ———, Hybridization for Stability Analysis of Switched Linear Systems, HSCC 2016 ———, Foundations of Quantitative Predicate Abstraction for Stability Analysis of Hybrid Systems, VMCAI 2015 ———, An algorithmic approach to stability verification of polyhedral switched systems, ACC 2014 ———, Abstraction Based Model-Checking of Stability of Hybrid Systems, CAV 2013

slide-54
SLIDE 54

54

Thank you