Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of...

99
Lab Synthesis for Cyber-Physical Systems Paulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 1 / 30

Transcript of Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of...

Page 1: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Synthesis for Cyber-Physical Systems

Paulo Tabuada

Cyber-Physical Systems LaboratoryDepartment of Electrical Engineering

University of California at Los Angeles

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 1 / 30

Page 2: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Organization

Lecture 1: Introduction to Cyber-Physical Systems, models, and relationships

Lecture 2: Synthesis using exact finite-state abstractions

Lecture 3: Synthesis using approximate finite-state abstractions

Lecture 4: Playtime with Pessoa (Matthias Rungger)

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 2 / 30

Page 3: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Discrete-time linear control systemsReview

Let us recall the notion of discrete-time linear control system.

Definition (Discrete-time linear control system)

A discrete-time control system is a quadruple Σ = (Rn,Rm,A,B) consisting of:

the state space Rn;

the input space Rm;

the difference equation ξ(k + 1) = Aξ(k) + Bν(k) where A ∈ Rn×n, B ∈ Rn×m,and t ∈ N0.

Can we represent discrete-time control systems as systems?

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 3 / 30

Page 4: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Discrete-time linear control systemsReview

Let us recall the notion of discrete-time linear control system.

Definition (Discrete-time linear control system)

A discrete-time control system is a quadruple Σ = (Rn,Rm,A,B) consisting of:

the state space Rn;

the input space Rm;

the difference equation ξ(k + 1) = Aξ(k) + Bν(k) where A ∈ Rn×n, B ∈ Rn×m,and t ∈ N0.

Can we represent discrete-time control systems as systems?

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 3 / 30

Page 5: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlControl systems as systems

Recall that a partition P of Rn is a collection of sets P = {Pi}i∈I such that:

∪i∈IPi = Rn;Pi ∩ Pj = ∅ for i 6= j .

DefinitionLet Σ = (Rn,Rm,A,B) be a discrete-time linear control system and let P be a partitionof Rn. The system associated with Σ and P, denoted by SP(Σ), consists of:

X = Rn;

U = Rm;

xu- x ′ if x ′ = Ax + Bu;

Y = P;

H defined by H(x) = Pi if x ∈ Pi .

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 4 / 30

Page 6: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlControl systems as systems

Recall that a partition P of Rn is a collection of sets P = {Pi}i∈I such that:

∪i∈IPi = Rn;Pi ∩ Pj = ∅ for i 6= j .

DefinitionLet Σ = (Rn,Rm,A,B) be a discrete-time linear control system and let P be a partitionof Rn. The system associated with Σ and P, denoted by SP(Σ), consists of:

X = Rn;

U = Rm;

xu- x ′ if x ′ = Ax + Bu;

Y = P;

H defined by H(x) = Pi if x ∈ Pi .

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 4 / 30

Page 7: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlAdapted sets

We start with:

a discrete-time linear control system Σ;a finite partition P of the state space of Σ, e.g., P induced by thepredicates appearing in a LTL formula.

and ask, when is SP(Σ) bisimilar to a finite-state system?

Definition (Adapted sets)

Let Σ = (Rn,Rm,A,B) be a discrete-time linear system and consider a collection of mvectors c1, c2, . . . , cm ∈ Rn for which there exist numbers µ1, µ2, . . . , µm ∈ N satisfying:

1 cTr br = 0, cT

r Abr = 0, . . . , cTr Aµr−2br = 0, cT

r Aµr−1br 6= 0, r = 1, . . . ,m;

2 the vectors cT1 Aµ1−1B, cT

2 Aµ2−1B, . . . , cTmAµm−1B are linearly independent,

where b1, b2, . . . , bm are the columns of B. The class of subsets of Rn adapted to Σ isformed by finite unions of sets defined by conjunctions of conditions of the form f ∼ 0with f = ±cT

r Alx ± e, e ∈ R, l ∈ {0, 1, . . . , µr − 1}, and ∼∈ {=, >}.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 5 / 30

Page 8: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlAdapted sets

We start with:

a discrete-time linear control system Σ;a finite partition P of the state space of Σ, e.g., P induced by thepredicates appearing in a LTL formula.

and ask, when is SP(Σ) bisimilar to a finite-state system?

Definition (Adapted sets)

Let Σ = (Rn,Rm,A,B) be a discrete-time linear system and consider a collection of mvectors c1, c2, . . . , cm ∈ Rn for which there exist numbers µ1, µ2, . . . , µm ∈ N satisfying:

1 cTr br = 0, cT

r Abr = 0, . . . , cTr Aµr−2br = 0, cT

r Aµr−1br 6= 0, r = 1, . . . ,m;

2 the vectors cT1 Aµ1−1B, cT

2 Aµ2−1B, . . . , cTmAµm−1B are linearly independent,

where b1, b2, . . . , bm are the columns of B. The class of subsets of Rn adapted to Σ isformed by finite unions of sets defined by conjunctions of conditions of the form f ∼ 0with f = ±cT

r Alx ± e, e ∈ R, l ∈ {0, 1, . . . , µr − 1}, and ∼∈ {=, >}.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 5 / 30

Page 9: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlAdapted sets

We start with:

a discrete-time linear control system Σ;a finite partition P of the state space of Σ, e.g., P induced by thepredicates appearing in a LTL formula.

and ask, when is SP(Σ) bisimilar to a finite-state system?

Definition (Adapted sets)

Let Σ = (Rn,Rm,A,B) be a discrete-time linear system and consider a collection of mvectors c1, c2, . . . , cm ∈ Rn for which there exist numbers µ1, µ2, . . . , µm ∈ N satisfying:

1 cTr br = 0, cT

r Abr = 0, . . . , cTr Aµr−2br = 0, cT

r Aµr−1br 6= 0, r = 1, . . . ,m;

2 the vectors cT1 Aµ1−1B, cT

2 Aµ2−1B, . . . , cTmAµm−1B are linearly independent,

where b1, b2, . . . , bm are the columns of B. The class of subsets of Rn adapted to Σ isformed by finite unions of sets defined by conjunctions of conditions of the form f ∼ 0with f = ±cT

r Alx ± e, e ∈ R, l ∈ {0, 1, . . . , µr − 1}, and ∼∈ {=, >}.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 5 / 30

Page 10: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlAdapted sets

We start with:

a discrete-time linear control system Σ;a finite partition P of the state space of Σ, e.g., P induced by thepredicates appearing in a LTL formula.

and ask, when is SP(Σ) bisimilar to a finite-state system?

Definition (Adapted sets)

Let Σ = (Rn,Rm,A,B) be a discrete-time linear system and consider a collection of mvectors c1, c2, . . . , cm ∈ Rn for which there exist numbers µ1, µ2, . . . , µm ∈ N satisfying:

1 cTr br = 0, cT

r Abr = 0, . . . , cTr Aµr−2br = 0, cT

r Aµr−1br 6= 0, r = 1, . . . ,m;

2 the vectors cT1 Aµ1−1B, cT

2 Aµ2−1B, . . . , cTmAµm−1B are linearly independent,

where b1, b2, . . . , bm are the columns of B. The class of subsets of Rn adapted to Σ isformed by finite unions of sets defined by conjunctions of conditions of the form f ∼ 0with f = ±cT

r Alx ± e, e ∈ R, l ∈ {0, 1, . . . , µr − 1}, and ∼∈ {=, >}.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 6 / 30

Page 11: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlAdapted sets

Consider the controlled model for the national income inspired by Paul Samuelson’s1939 model:

c(k + 1) = α`c(k) + i(k) + g(k)

´i(k + 1) = βα

`c(k) + i(k) + g(k)

´− βc(k)

g(k + 1) = d(n).

where the national income is the sum c + i + g of three kinds of expenditures:consumption (c), investment (i), and government expenditures (g).

Taking α = 12 and β = 2, the corresponding A and B matrices are given by:

A =

24 12

12

12

−1 1 10 0 0

35 B =

24001

35 .For this system m = 1 and adapted sets are defined using a single vector c1. Thechoice c1 =

ˆ1 0 0

˜T satisfies cT1 B = 0, cT

1 AB 6= 0 and thus µ1 = 2.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 7 / 30

Page 12: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlAdapted sets

Consider the controlled model for the national income inspired by Paul Samuelson’s1939 model:

c(k + 1) = α`c(k) + i(k) + g(k)

´i(k + 1) = βα

`c(k) + i(k) + g(k)

´− βc(k)

g(k + 1) = d(n).

where the national income is the sum c + i + g of three kinds of expenditures:consumption (c), investment (i), and government expenditures (g).

Taking α = 12 and β = 2, the corresponding A and B matrices are given by:

A =

24 12

12

12

−1 1 10 0 0

35 B =

24001

35 .

For this system m = 1 and adapted sets are defined using a single vector c1. Thechoice c1 =

ˆ1 0 0

˜T satisfies cT1 B = 0, cT

1 AB 6= 0 and thus µ1 = 2.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 7 / 30

Page 13: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlAdapted sets

Consider the controlled model for the national income inspired by Paul Samuelson’s1939 model:

c(k + 1) = α`c(k) + i(k) + g(k)

´i(k + 1) = βα

`c(k) + i(k) + g(k)

´− βc(k)

g(k + 1) = d(n).

where the national income is the sum c + i + g of three kinds of expenditures:consumption (c), investment (i), and government expenditures (g).

Taking α = 12 and β = 2, the corresponding A and B matrices are given by:

A =

24 12

12

12

−1 1 10 0 0

35 B =

24001

35 .For this system m = 1 and adapted sets are defined using a single vector c1. Thechoice c1 =

ˆ1 0 0

˜T satisfies cT1 B = 0, cT

1 AB 6= 0 and thus µ1 = 2.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 7 / 30

Page 14: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlAdapted sets

A =

24 12

12

12

−1 1 10 0 0

35 B =

24001

35 c1 =ˆ1 0 0

˜T.

Noting that cT1 x = c and cT

1 Ax = 12 (c + i + g), the 8 possible functions f for a fixed

e ∈ R are given by:

f1(c, i, g) = c + e, f5(c, i, g) =12

(c + i + g) + e,

f2(c, i, g) = c − e, f6(c, i, g) =12

(c + i + g)− e,

f3(c, i, g) = −c + e, f7(c, i, g) = −12

(c + i + g) + e,

f4(c, i, g) = −c − e, f8(c, i, g) = −12

(c + i + g)− e.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 8 / 30

Page 15: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlExistence of finite-state bisimilar abstractions

What can we do with adapted sets?

Theorem

Let Σ = (Rn,Rm,A,B) be a discrete-time linear control system. For any finite partitionP of Rn adapted to Σ there exists a finite-state system bisimilar to SP(Σ).

Is this the kind of abstraction we need?

Since SP(Σ) is deterministic, bisimulation and alternating bisimulation coincide.

How do we compute these abstractions?

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 9 / 30

Page 16: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlExistence of finite-state bisimilar abstractions

What can we do with adapted sets?

Theorem

Let Σ = (Rn,Rm,A,B) be a discrete-time linear control system. For any finite partitionP of Rn adapted to Σ there exists a finite-state system bisimilar to SP(Σ).

Is this the kind of abstraction we need?

Since SP(Σ) is deterministic, bisimulation and alternating bisimulation coincide.

How do we compute these abstractions?

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 9 / 30

Page 17: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlExistence of finite-state bisimilar abstractions

What can we do with adapted sets?

Theorem

Let Σ = (Rn,Rm,A,B) be a discrete-time linear control system. For any finite partitionP of Rn adapted to Σ there exists a finite-state system bisimilar to SP(Σ).

Is this the kind of abstraction we need?

Since SP(Σ) is deterministic, bisimulation and alternating bisimulation coincide.

How do we compute these abstractions?

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 9 / 30

Page 18: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlExistence of finite-state bisimilar abstractions

What can we do with adapted sets?

Theorem

Let Σ = (Rn,Rm,A,B) be a discrete-time linear control system. For any finite partitionP of Rn adapted to Σ there exists a finite-state system bisimilar to SP(Σ).

Is this the kind of abstraction we need?

Since SP(Σ) is deterministic, bisimulation and alternating bisimulation coincide.

How do we compute these abstractions?

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 9 / 30

Page 19: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlExistence of finite-state bisimilar abstractions

What can we do with adapted sets?

Theorem

Let Σ = (Rn,Rm,A,B) be a discrete-time linear control system. For any finite partitionP of Rn adapted to Σ there exists a finite-state system bisimilar to SP(Σ).

Is this the kind of abstraction we need?

Since SP(Σ) is deterministic, bisimulation and alternating bisimulation coincide.

How do we compute these abstractions?

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 9 / 30

Page 20: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlQuotient systems

Given a system S and a partition P on X , we can always construct a new systemS/P that simulates S.

Definition (Quotient system)

Let S = (X ,X0,U, - ,Y ,H) be a system and let P = {Pi}i∈I be a partition of Xsuch that x , x ′ ∈ Pi for some i ∈ I implies H(x) = H(x ′). The quotient of S by P,denoted by S/P , is the system (X/P ,X/P0,U/P , /P

- ,Y/P ,H/P) consisting of:

X/P = P;

X/P0 = {Pi ∈ P | Pi ∩ X0 6= ∅};U/P = U;

Piu

/P- Pj if there exists x

u- x ′ in S with x ∈ Pi and x ′ ∈ Pj ;

Y/P = Y ;

H/P(Pi ) = H(x) for any x ∈ Pi .

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 10 / 30

Page 21: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlQuotient systems

Given a system S and a partition P on X , we can always construct a new systemS/P that simulates S.

Definition (Quotient system)

Let S = (X ,X0,U, - ,Y ,H) be a system and let P = {Pi}i∈I be a partition of Xsuch that x , x ′ ∈ Pi for some i ∈ I implies H(x) = H(x ′). The quotient of S by P,denoted by S/P , is the system (X/P ,X/P0,U/P , /P

- ,Y/P ,H/P) consisting of:

X/P = P;

X/P0 = {Pi ∈ P | Pi ∩ X0 6= ∅};U/P = U;

Piu

/P- Pj if there exists x

u- x ′ in S with x ∈ Pi and x ′ ∈ Pj ;

Y/P = Y ;

H/P(Pi ) = H(x) for any x ∈ Pi .

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 10 / 30

Page 22: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Similarity RelationshipsQuotient Systems

Consider the following system and the partition:

P = {{xa0}, {xa1, xa2, xa3}} = {P1,P2}.

xa0

y0

xa2

y1

xa1

y1

xa3

y1

P1

P2P2

S S/P

States X ;Transitions - ;Outputs Y ,H : X → Y .

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 11 / 30

Page 23: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Similarity RelationshipsQuotient Systems

Consider the following system and the partition:

P = {{xa0}, {xa1, xa2, xa3}} = {P1,P2}.

xa0

y0

xa2

y1

xa1

y1

xa3

y1

P1

P2

P2

S S/P

States X ;

Transitions - ;Outputs Y ,H : X → Y .

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 11 / 30

Page 24: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Similarity RelationshipsQuotient Systems

Consider the following system and the partition:

P = {{xa0}, {xa1, xa2, xa3}} = {P1,P2}.

xa0

y0

xa2

y1

xa1

y1

xa3

y1

P1

P2P2

S S/P

States X ; Initial states X0;

Transitions - ;Outputs Y ,H : X → Y .

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 11 / 30

Page 25: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Similarity RelationshipsQuotient Systems

Consider the following system and the partition:

P = {{xa0}, {xa1, xa2, xa3}} = {P1,P2}.

xa0

y0

xa2

y1

xa1

y1

xa3

y1

P1

P2P2

S S/P

States X ; Initial states X0;Transitions - ;

Outputs Y ,H : X → Y .

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 11 / 30

Page 26: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Similarity RelationshipsQuotient Systems

Consider the following system and the partition:

P = {{xa0}, {xa1, xa2, xa3}} = {P1,P2}.

xa0

y0

xa2

y1

xa1

y1

xa3

y1

P1

P2P2

S S/P

States X ; Initial states X0;Transitions - ;

Outputs Y ,H : X → Y .

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 11 / 30

Page 27: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Similarity RelationshipsQuotient Systems

Consider the following system and the partition:

P = {{xa0}, {xa1, xa2, xa3}} = {P1,P2}.

xa0

y0

xa2

y1

xa1

y1

xa3

y1

P1

P2P2

S S/P

States X ; Initial states X0;Transitions - ;

Outputs Y ,H : X → Y .

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 11 / 30

Page 28: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Similarity RelationshipsQuotient Systems

Consider the following system and the partition:

P = {{xa0}, {xa1, xa2, xa3}} = {P1,P2}.

xa0

y0

xa2

y1

xa1

y1

xa3

y1

P1

P2P2

S S/P

States X ; Initial states X0;Transitions - ;

Outputs Y ,H : X → Y .

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 11 / 30

Page 29: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Similarity RelationshipsQuotient Systems

Consider the following system and the partition:

P = {{xa0}, {xa1, xa2, xa3}} = {P1,P2}.

xa0

y0

xa2

y1

xa1

y1

xa3

y1

P1P1

y0

P2P2P2

y1

S S/P

States X ; Initial states X0;Transitions - ;Outputs Y ,H : X → Y .

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 11 / 30

Page 30: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Similarity RelationshipsQuotient Systems

By construction, S/P simulates S. The simulation relation is given by:˘(x ,Pi ) ∈ X × X/P | x ∈ Pi

¯.

When can we strengthen this simulation to a bisimulation?

Theorem

Let S = (X ,X0,U, - ,Y ,H) be a system and let P = {Pi}i∈I be a partition of Xsuch that x , x ′ ∈ Pi for some i ∈ I implies H(x) = H(x ′). The relation:

R =˘

(x ,Pi ) ∈ X × X/P | x ∈ Pi¯

is a simulation relation from S to S/P . Moreover, R is a bisimulation relation betweenS and S/P iff the following is a bisimulation relation between S and S:˘

(x , x ′) ∈ X × X | x , x ′ ∈ Pi for some Pi ∈ P¯.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 12 / 30

Page 31: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Similarity RelationshipsQuotient Systems

By construction, S/P simulates S. The simulation relation is given by:˘(x ,Pi ) ∈ X × X/P | x ∈ Pi

¯.

When can we strengthen this simulation to a bisimulation?

Theorem

Let S = (X ,X0,U, - ,Y ,H) be a system and let P = {Pi}i∈I be a partition of Xsuch that x , x ′ ∈ Pi for some i ∈ I implies H(x) = H(x ′). The relation:

R =˘

(x ,Pi ) ∈ X × X/P | x ∈ Pi¯

is a simulation relation from S to S/P . Moreover, R is a bisimulation relation betweenS and S/P iff the following is a bisimulation relation between S and S:˘

(x , x ′) ∈ X × X | x , x ′ ∈ Pi for some Pi ∈ P¯.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 12 / 30

Page 32: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Similarity RelationshipsQuotient Systems

By construction, S/P simulates S. The simulation relation is given by:˘(x ,Pi ) ∈ X × X/P | x ∈ Pi

¯.

When can we strengthen this simulation to a bisimulation?

Theorem

Let S = (X ,X0,U, - ,Y ,H) be a system and let P = {Pi}i∈I be a partition of Xsuch that x , x ′ ∈ Pi for some i ∈ I implies H(x) = H(x ′). The relation:

R =˘

(x ,Pi ) ∈ X × X/P | x ∈ Pi¯

is a simulation relation from S to S/P . Moreover, R is a bisimulation relation betweenS and S/P iff the following is a bisimulation relation between S and S:˘

(x , x ′) ∈ X × X | x , x ′ ∈ Pi for some Pi ∈ P¯.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 12 / 30

Page 33: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Similarity RelationshipsQuotient Systems

When: ˘(x , x ′) ∈ X × X | x , x ′ ∈ Pi for some Pi ∈ P

¯is not a bisimulation relation we can subdivide (refine) P until we reach abisimulation.

We first define Pre (the dual of Post) for a given system S and a subset P ⊆ X :

Pre(P) =n

x ∈ X | ∃u ∈ U xu- x ′ ∈ P

o.

and then use it in the following partition refinement algorithm:

While (∃Pi,Pj ∈ P | ∅ 6= Pj ∩ Pre(Pi) 6= Pj)

{Pa := Pj ∩ Pre(Pi);

Pb := Pj\Pre(Pi);

P := (P\{Pj}) ∪ {Pa,Pb}}

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 13 / 30

Page 34: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Similarity RelationshipsQuotient Systems

When: ˘(x , x ′) ∈ X × X | x , x ′ ∈ Pi for some Pi ∈ P

¯is not a bisimulation relation we can subdivide (refine) P until we reach abisimulation.

We first define Pre (the dual of Post) for a given system S and a subset P ⊆ X :

Pre(P) =n

x ∈ X | ∃u ∈ U xu- x ′ ∈ P

o.

and then use it in the following partition refinement algorithm:

While (∃Pi,Pj ∈ P | ∅ 6= Pj ∩ Pre(Pi) 6= Pj)

{Pa := Pj ∩ Pre(Pi);

Pb := Pj\Pre(Pi);

P := (P\{Pj}) ∪ {Pa,Pb}}

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 13 / 30

Page 35: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Similarity RelationshipsQuotient Systems

When: ˘(x , x ′) ∈ X × X | x , x ′ ∈ Pi for some Pi ∈ P

¯is not a bisimulation relation we can subdivide (refine) P until we reach abisimulation.

We first define Pre (the dual of Post) for a given system S and a subset P ⊆ X :

Pre(P) =n

x ∈ X | ∃u ∈ U xu- x ′ ∈ P

o.

and then use it in the following partition refinement algorithm:

While (∃Pi,Pj ∈ P | ∅ 6= Pj ∩ Pre(Pi) 6= Pj)

{Pa := Pj ∩ Pre(Pi);

Pb := Pj\Pre(Pi);

P := (P\{Pj}) ∪ {Pa,Pb}}

Pi

Pj

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 13 / 30

Page 36: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Similarity RelationshipsQuotient Systems

When: ˘(x , x ′) ∈ X × X | x , x ′ ∈ Pi for some Pi ∈ P

¯is not a bisimulation relation we can subdivide (refine) P until we reach abisimulation.

We first define Pre (the dual of Post) for a given system S and a subset P ⊆ X :

Pre(P) =n

x ∈ X | ∃u ∈ U xu- x ′ ∈ P

o.

and then use it in the following partition refinement algorithm:

While (∃Pi,Pj ∈ P | ∅ 6= Pj ∩ Pre(Pi) 6= Pj)

{Pa := Pj ∩ Pre(Pi);

Pb := Pj\Pre(Pi);

P := (P\{Pj}) ∪ {Pa,Pb}}

Pi

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 13 / 30

Page 37: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlRevisiting the economics example

Consider again the controlled model for the national income and suppose thatwe are interested in reducing the internal consumption from 10 units to 2 unitswhile keeping the national income above 20 units.

Which partition to use?

P1 = {(c, i, g) ∈ R3 | c + i + g < 20}P2 = {(c, i, g) ∈ R3 | c + i + g ≥ 20 ∧ c ≤ 2}P3 = {(c, i, g) ∈ R3 | c + i + g ≥ 20 ∧ 2 < c < 10}P4 = {(c, i, g) ∈ R3 | c + i + g ≥ 20 ∧ c ≥ 10}.

Is this an adapted partition? The equalities cT1 x = c and cT

1 Ax = 12 (c + i + g)

imply:

P1 = {(c, i, g) ∈ R3 | cT1 Ax < 10}

P2 = {(c, i, g) ∈ R3 | cT1 Ax ≥ 10 ∧ cT

1 x ≤ 2}P3 = {(c, i, g) ∈ R3 | cT

1 Ax ≥ 10 ∧ 2 < cT1 x < 10}

P4 = {(c, i, g) ∈ R3 | cT1 Ax ≥ 10 ∧ cT

1 x ≥ 10}.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 14 / 30

Page 38: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlRevisiting the economics example

Consider again the controlled model for the national income and suppose thatwe are interested in reducing the internal consumption from 10 units to 2 unitswhile keeping the national income above 20 units.Which partition to use?

P1 = {(c, i, g) ∈ R3 | c + i + g < 20}P2 = {(c, i, g) ∈ R3 | c + i + g ≥ 20 ∧ c ≤ 2}P3 = {(c, i, g) ∈ R3 | c + i + g ≥ 20 ∧ 2 < c < 10}P4 = {(c, i, g) ∈ R3 | c + i + g ≥ 20 ∧ c ≥ 10}.

Is this an adapted partition? The equalities cT1 x = c and cT

1 Ax = 12 (c + i + g)

imply:

P1 = {(c, i, g) ∈ R3 | cT1 Ax < 10}

P2 = {(c, i, g) ∈ R3 | cT1 Ax ≥ 10 ∧ cT

1 x ≤ 2}P3 = {(c, i, g) ∈ R3 | cT

1 Ax ≥ 10 ∧ 2 < cT1 x < 10}

P4 = {(c, i, g) ∈ R3 | cT1 Ax ≥ 10 ∧ cT

1 x ≥ 10}.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 14 / 30

Page 39: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlRevisiting the economics example

Consider again the controlled model for the national income and suppose thatwe are interested in reducing the internal consumption from 10 units to 2 unitswhile keeping the national income above 20 units.Which partition to use?

P1 = {(c, i, g) ∈ R3 | c + i + g < 20}P2 = {(c, i, g) ∈ R3 | c + i + g ≥ 20 ∧ c ≤ 2}P3 = {(c, i, g) ∈ R3 | c + i + g ≥ 20 ∧ 2 < c < 10}P4 = {(c, i, g) ∈ R3 | c + i + g ≥ 20 ∧ c ≥ 10}.

Is this an adapted partition? The equalities cT1 x = c and cT

1 Ax = 12 (c + i + g)

imply:

P1 = {(c, i, g) ∈ R3 | cT1 Ax < 10}

P2 = {(c, i, g) ∈ R3 | cT1 Ax ≥ 10 ∧ cT

1 x ≤ 2}P3 = {(c, i, g) ∈ R3 | cT

1 Ax ≥ 10 ∧ 2 < cT1 x < 10}

P4 = {(c, i, g) ∈ R3 | cT1 Ax ≥ 10 ∧ cT

1 x ≥ 10}.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 14 / 30

Page 40: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlRevisiting the economics example

Consider again the controlled model for the national income and suppose thatwe are interested in reducing the internal consumption from 10 units to 2 unitswhile keeping the national income above 20 units.Which partition to use?

P1 = {(c, i, g) ∈ R3 | c + i + g < 20}P2 = {(c, i, g) ∈ R3 | c + i + g ≥ 20 ∧ c ≤ 2}P3 = {(c, i, g) ∈ R3 | c + i + g ≥ 20 ∧ 2 < c < 10}P4 = {(c, i, g) ∈ R3 | c + i + g ≥ 20 ∧ c ≥ 10}.

Is this an adapted partition?

The equalities cT1 x = c and cT

1 Ax = 12 (c + i + g)

imply:

P1 = {(c, i, g) ∈ R3 | cT1 Ax < 10}

P2 = {(c, i, g) ∈ R3 | cT1 Ax ≥ 10 ∧ cT

1 x ≤ 2}P3 = {(c, i, g) ∈ R3 | cT

1 Ax ≥ 10 ∧ 2 < cT1 x < 10}

P4 = {(c, i, g) ∈ R3 | cT1 Ax ≥ 10 ∧ cT

1 x ≥ 10}.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 14 / 30

Page 41: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlRevisiting the economics example

Consider again the controlled model for the national income and suppose thatwe are interested in reducing the internal consumption from 10 units to 2 unitswhile keeping the national income above 20 units.Which partition to use?

P1 = {(c, i, g) ∈ R3 | c + i + g < 20}P2 = {(c, i, g) ∈ R3 | c + i + g ≥ 20 ∧ c ≤ 2}P3 = {(c, i, g) ∈ R3 | c + i + g ≥ 20 ∧ 2 < c < 10}P4 = {(c, i, g) ∈ R3 | c + i + g ≥ 20 ∧ c ≥ 10}.

Is this an adapted partition? The equalities cT1 x = c and cT

1 Ax = 12 (c + i + g)

imply:

P1 = {(c, i, g) ∈ R3 | cT1 Ax < 10}

P2 = {(c, i, g) ∈ R3 | cT1 Ax ≥ 10 ∧ cT

1 x ≤ 2}P3 = {(c, i, g) ∈ R3 | cT

1 Ax ≥ 10 ∧ 2 < cT1 x < 10}

P4 = {(c, i, g) ∈ R3 | cT1 Ax ≥ 10 ∧ cT

1 x ≥ 10}.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 14 / 30

Page 42: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlRevisiting the economics example

P1 = {(c, i, g) ∈ R3 | cT1 Ax < 10}

P2 = {(c, i, g) ∈ R3 | cT1 Ax ≥ 10 ∧ cT

1 x ≤ 2}P3 = {(c, i, g) ∈ R3 | cT

1 Ax ≥ 10 ∧ 2 < cT1 x < 10}

P4 = {(c, i, g) ∈ R3 | cT1 Ax ≥ 10 ∧ cT

1 x ≥ 10}.

In terms of these regions, our objective can be formulated as the existence of acontrol strategy driving all the points in region P4 to region P2 without enteringregion P1.

If we now compute the coarsest bisimulation relation between SP(Σ) and SP(Σ)we obtain:

P1a = {(c, i, g) ∈ R3 | cT1 Ax ≤ 2}

P1b = {(c, i, g) ∈ R3 | 2 < cT1 Ax < 10}

P2 = {(c, i, g) ∈ R3 | cT1 Ax ≥ 10 ∧ cT

1 x ≤ 2}P3 = {(c, i, g) ∈ R3 | cT

1 Ax ≥ 10 ∧ 2 < cT1 x < 10}

P4 = {(c, i, g) ∈ R3 | cT1 Ax ≥ 10 ∧ cT

1 x ≥ 10}

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 15 / 30

Page 43: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlRevisiting the economics example

P1 = {(c, i, g) ∈ R3 | cT1 Ax < 10}

P2 = {(c, i, g) ∈ R3 | cT1 Ax ≥ 10 ∧ cT

1 x ≤ 2}P3 = {(c, i, g) ∈ R3 | cT

1 Ax ≥ 10 ∧ 2 < cT1 x < 10}

P4 = {(c, i, g) ∈ R3 | cT1 Ax ≥ 10 ∧ cT

1 x ≥ 10}.

In terms of these regions, our objective can be formulated as the existence of acontrol strategy driving all the points in region P4 to region P2 without enteringregion P1.If we now compute the coarsest bisimulation relation between SP(Σ) and SP(Σ)we obtain:

P1a = {(c, i, g) ∈ R3 | cT1 Ax ≤ 2}

P1b = {(c, i, g) ∈ R3 | 2 < cT1 Ax < 10}

P2 = {(c, i, g) ∈ R3 | cT1 Ax ≥ 10 ∧ cT

1 x ≤ 2}P3 = {(c, i, g) ∈ R3 | cT

1 Ax ≥ 10 ∧ 2 < cT1 x < 10}

P4 = {(c, i, g) ∈ R3 | cT1 Ax ≥ 10 ∧ cT

1 x ≥ 10}

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 15 / 30

Page 44: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlRevisiting the economics example

Here is the resulting quotient system S/P .

x1a

P1

x1b

P1

x2

P2

x3

P3

x4

P4

Does there exist a controller taking the output P4 to the output P2 withoutgenerating the output P1?

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 16 / 30

Page 45: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlProving termination

Theorem

Let Σ = (Rn,Rm,A,B) be a discrete-time linear control system. For any finite partitionP of Rn adapted to Σ there exists a finite-state system bisimilar to SP(Σ).

Why does partition refinement terminate for adapted sets?

How different can two linear systems be?

If we start with:ξ(k + 1) = Aξ(k) + Bν(k) (1)

and apply an invertible change of coordinates ξ′ = Pξ we obtain:

ξ′(k + 1) = Pξ(k + 1) = PAξ(k) + PBν(k) = PAP−1ξ′(k) + PBν(k).

If we further apply an invertible linear feedback ν = Fξ′ + Gν′ we obtain:

ξ′(k + 1) = (PAP−1 + PBF )ξ′(k) + PBGν′(k). (2)

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 17 / 30

Page 46: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlProving termination

Theorem

Let Σ = (Rn,Rm,A,B) be a discrete-time linear control system. For any finite partitionP of Rn adapted to Σ there exists a finite-state system bisimilar to SP(Σ).

Why does partition refinement terminate for adapted sets?

How different can two linear systems be?

If we start with:ξ(k + 1) = Aξ(k) + Bν(k) (1)

and apply an invertible change of coordinates ξ′ = Pξ we obtain:

ξ′(k + 1) = Pξ(k + 1) = PAξ(k) + PBν(k) = PAP−1ξ′(k) + PBν(k).

If we further apply an invertible linear feedback ν = Fξ′ + Gν′ we obtain:

ξ′(k + 1) = (PAP−1 + PBF )ξ′(k) + PBGν′(k). (2)

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 17 / 30

Page 47: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlProving termination

Theorem

Let Σ = (Rn,Rm,A,B) be a discrete-time linear control system. For any finite partitionP of Rn adapted to Σ there exists a finite-state system bisimilar to SP(Σ).

Why does partition refinement terminate for adapted sets?

How different can two linear systems be?

If we start with:ξ(k + 1) = Aξ(k) + Bν(k) (1)

and apply an invertible change of coordinates ξ′ = Pξ we obtain:

ξ′(k + 1) = Pξ(k + 1)

= PAξ(k) + PBν(k) = PAP−1ξ′(k) + PBν(k).

If we further apply an invertible linear feedback ν = Fξ′ + Gν′ we obtain:

ξ′(k + 1) = (PAP−1 + PBF )ξ′(k) + PBGν′(k). (2)

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 17 / 30

Page 48: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlProving termination

Theorem

Let Σ = (Rn,Rm,A,B) be a discrete-time linear control system. For any finite partitionP of Rn adapted to Σ there exists a finite-state system bisimilar to SP(Σ).

Why does partition refinement terminate for adapted sets?

How different can two linear systems be?

If we start with:ξ(k + 1) = Aξ(k) + Bν(k) (1)

and apply an invertible change of coordinates ξ′ = Pξ we obtain:

ξ′(k + 1) = Pξ(k + 1) = PAξ(k) + PBν(k)

= PAP−1ξ′(k) + PBν(k).

If we further apply an invertible linear feedback ν = Fξ′ + Gν′ we obtain:

ξ′(k + 1) = (PAP−1 + PBF )ξ′(k) + PBGν′(k). (2)

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 17 / 30

Page 49: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlProving termination

Theorem

Let Σ = (Rn,Rm,A,B) be a discrete-time linear control system. For any finite partitionP of Rn adapted to Σ there exists a finite-state system bisimilar to SP(Σ).

Why does partition refinement terminate for adapted sets?

How different can two linear systems be?

If we start with:ξ(k + 1) = Aξ(k) + Bν(k) (1)

and apply an invertible change of coordinates ξ′ = Pξ we obtain:

ξ′(k + 1) = Pξ(k + 1) = PAξ(k) + PBν(k) = PAP−1ξ′(k) + PBν(k).

If we further apply an invertible linear feedback ν = Fξ′ + Gν′ we obtain:

ξ′(k + 1) = (PAP−1 + PBF )ξ′(k) + PBGν′(k). (2)

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 17 / 30

Page 50: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlProving termination

Theorem

Let Σ = (Rn,Rm,A,B) be a discrete-time linear control system. For any finite partitionP of Rn adapted to Σ there exists a finite-state system bisimilar to SP(Σ).

Why does partition refinement terminate for adapted sets?

How different can two linear systems be?

If we start with:ξ(k + 1) = Aξ(k) + Bν(k) (1)

and apply an invertible change of coordinates ξ′ = Pξ we obtain:

ξ′(k + 1) = Pξ(k + 1) = PAξ(k) + PBν(k) = PAP−1ξ′(k) + PBν(k).

If we further apply an invertible linear feedback ν = Fξ′ + Gν′ we obtain:

ξ′(k + 1) = (PAP−1 + PBF )ξ′(k) + PBGν′(k). (2)

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 17 / 30

Page 51: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlProving termination

Theorem

Let Σ = (Rn,Rm,A,B) be a discrete-time linear control system. For any finite partitionP of Rn adapted to Σ there exists a finite-state system bisimilar to SP(Σ).

ξ(k + 1) = Aξ(k) + Bν(k) (3)

ξ′(k + 1) = (PAP−1 + PBF )ξ′(k) + PBGν′(k). (4)

Systems (3) and (4) are equivalent.

Can we choose P, F , and G to make system (4) simple?

Yes, when system (3) is controllable.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 18 / 30

Page 52: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlProving termination

Theorem

Let Σ = (Rn,Rm,A,B) be a discrete-time linear control system. For any finite partitionP of Rn adapted to Σ there exists a finite-state system bisimilar to SP(Σ).

ξ(k + 1) = Aξ(k) + Bν(k) (3)

ξ′(k + 1) = (PAP−1 + PBF )ξ′(k) + PBGν′(k). (4)

Systems (3) and (4) are equivalent.

Can we choose P, F , and G to make system (4) simple?

Yes, when system (3) is controllable.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 18 / 30

Page 53: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlProving termination

Theorem

Let Σ = (Rn,Rm,A,B) be a discrete-time linear control system. For any finite partitionP of Rn adapted to Σ there exists a finite-state system bisimilar to SP(Σ).

ξ(k + 1) = Aξ(k) + Bν(k) (3)

ξ′(k + 1) = (PAP−1 + PBF )ξ′(k) + PBGν′(k). (4)

Systems (3) and (4) are equivalent.

Can we choose P, F , and G to make system (4) simple?

Yes, when system (3) is controllable.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 18 / 30

Page 54: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlProving termination

Definition (Controllability)

A discrete-time linear control system Σ = (Rn,Rm,A,B) is controllable if for any twostates x , x ′ ∈ Rn there exists k ∈ N and an input trajectory ν : {0, 1, . . . , k} → Rm

such that ξx,ν = x ′.

Controllability can be checked by testing the equality:

rankhB|AB|A2B| . . . |An−1B

i= n.

Any controllable linear system can be transformed into the special Brunovskycanonical form by suitably choosing P, F , and G, e.g. (n = 3 and m = 1):

ξ1(k + 1) = ξ2(k)

ξ2(k + 1) = ξ3(k)

ξ3(k + 1) = ν(k).

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 19 / 30

Page 55: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlProving termination

Definition (Controllability)

A discrete-time linear control system Σ = (Rn,Rm,A,B) is controllable if for any twostates x , x ′ ∈ Rn there exists k ∈ N and an input trajectory ν : {0, 1, . . . , k} → Rm

such that ξx,ν = x ′.

Controllability can be checked by testing the equality:

rankhB|AB|A2B| . . . |An−1B

i= n.

Any controllable linear system can be transformed into the special Brunovskycanonical form by suitably choosing P, F , and G, e.g. (n = 3 and m = 1):

ξ1(k + 1) = ξ2(k)

ξ2(k + 1) = ξ3(k)

ξ3(k + 1) = ν(k).

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 19 / 30

Page 56: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlProving termination

Any controllable linear system can be transformed into the special Brunovskycanonical form, e.g. (n = 3 and m = 1):

ξ1(k + 1) = ξ2(k)

ξ2(k + 1) = ξ3(k)

ξ3(k + 1) = ν(k).

Consider now predicates that are unions of sets of the form α ≤ x1 ≤ β(intervals).

Pre(α ≤ x1 ≤ β) = α ≤ x2 ≤ β,

Pre(α ≤ x2 ≤ β) = α ≤ x3 ≤ β,

Pre(α ≤ x3 ≤ β) = R3 since we can always choose an input u satisfyingα ≤ u ≤ β.

Termination of the partition refinement algorithm is guaranteed for adapted sets.The cardinality of the resulting partition is bounded by |P|maxr{µr} ≤ |P|n.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 20 / 30

Page 57: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlProving termination

Any controllable linear system can be transformed into the special Brunovskycanonical form, e.g. (n = 3 and m = 1):

ξ1(k + 1) = ξ2(k)

ξ2(k + 1) = ξ3(k)

ξ3(k + 1) = ν(k).

Consider now predicates that are unions of sets of the form α ≤ x1 ≤ β(intervals).

Pre(α ≤ x1 ≤ β) = α ≤ x2 ≤ β,

Pre(α ≤ x2 ≤ β) = α ≤ x3 ≤ β,

Pre(α ≤ x3 ≤ β) = R3 since we can always choose an input u satisfyingα ≤ u ≤ β.

Termination of the partition refinement algorithm is guaranteed for adapted sets.The cardinality of the resulting partition is bounded by |P|maxr{µr} ≤ |P|n.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 20 / 30

Page 58: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlProving termination

Any controllable linear system can be transformed into the special Brunovskycanonical form, e.g. (n = 3 and m = 1):

ξ1(k + 1) = ξ2(k)

ξ2(k + 1) = ξ3(k)

ξ3(k + 1) = ν(k).

Consider now predicates that are unions of sets of the form α ≤ x1 ≤ β(intervals).

Pre(α ≤ x1 ≤ β) = α ≤ x2 ≤ β,

Pre(α ≤ x2 ≤ β) = α ≤ x3 ≤ β,

Pre(α ≤ x3 ≤ β) = R3 since we can always choose an input u satisfyingα ≤ u ≤ β.

Termination of the partition refinement algorithm is guaranteed for adapted sets.The cardinality of the resulting partition is bounded by |P|maxr{µr} ≤ |P|n.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 20 / 30

Page 59: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlProving termination

Any controllable linear system can be transformed into the special Brunovskycanonical form, e.g. (n = 3 and m = 1):

ξ1(k + 1) = ξ2(k)

ξ2(k + 1) = ξ3(k)

ξ3(k + 1) = ν(k).

Consider now predicates that are unions of sets of the form α ≤ x1 ≤ β(intervals).

Pre(α ≤ x1 ≤ β) = α ≤ x2 ≤ β,

Pre(α ≤ x2 ≤ β) = α ≤ x3 ≤ β,

Pre(α ≤ x3 ≤ β) = R3 since we can always choose an input u satisfyingα ≤ u ≤ β.

Termination of the partition refinement algorithm is guaranteed for adapted sets.The cardinality of the resulting partition is bounded by |P|maxr{µr} ≤ |P|n.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 20 / 30

Page 60: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlProving termination

Any controllable linear system can be transformed into the special Brunovskycanonical form, e.g. (n = 3 and m = 1):

ξ1(k + 1) = ξ2(k)

ξ2(k + 1) = ξ3(k)

ξ3(k + 1) = ν(k).

Consider now predicates that are unions of sets of the form α ≤ x1 ≤ β(intervals).

Pre(α ≤ x1 ≤ β) = α ≤ x2 ≤ β,

Pre(α ≤ x2 ≤ β) = α ≤ x3 ≤ β,

Pre(α ≤ x3 ≤ β) = R3 since we can always choose an input u satisfyingα ≤ u ≤ β.

Termination of the partition refinement algorithm is guaranteed for adapted sets.The cardinality of the resulting partition is bounded by |P|maxr{µr} ≤ |P|n.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 20 / 30

Page 61: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlUsing adapted sets in practice

Can we always find an adapted partition for any given specification?

For any controllable discrete-time linear control system, the functionsf = ±cT

r Alx ± e defining the adapted sets can be chosen so that (cTr Al )T span

the state space.

In general, we have to approximate the relevant sets by adapted sets and thiscan be computationally demanding.

For safety specifications we can integrate the computation of finite-stateabstractions with the synthesis of a controller (recent work with M. Rungger andM. Mazo Jr.).

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 21 / 30

Page 62: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlUsing adapted sets in practice

Can we always find an adapted partition for any given specification?

For any controllable discrete-time linear control system, the functionsf = ±cT

r Alx ± e defining the adapted sets can be chosen so that (cTr Al )T span

the state space.

In general, we have to approximate the relevant sets by adapted sets and thiscan be computationally demanding.

For safety specifications we can integrate the computation of finite-stateabstractions with the synthesis of a controller (recent work with M. Rungger andM. Mazo Jr.).

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 21 / 30

Page 63: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlUsing adapted sets in practice

Can we always find an adapted partition for any given specification?

For any controllable discrete-time linear control system, the functionsf = ±cT

r Alx ± e defining the adapted sets can be chosen so that (cTr Al )T span

the state space.

In general, we have to approximate the relevant sets by adapted sets and thiscan be computationally demanding.

For safety specifications we can integrate the computation of finite-stateabstractions with the synthesis of a controller (recent work with M. Rungger andM. Mazo Jr.).

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 21 / 30

Page 64: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlUsing adapted sets in practice

Can we always find an adapted partition for any given specification?

For any controllable discrete-time linear control system, the functionsf = ±cT

r Alx ± e defining the adapted sets can be chosen so that (cTr Al )T span

the state space.

In general, we have to approximate the relevant sets by adapted sets and thiscan be computationally demanding.

For safety specifications we can integrate the computation of finite-stateabstractions with the synthesis of a controller (recent work with M. Rungger andM. Mazo Jr.).

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 21 / 30

Page 65: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlA cruise control example

Dynamics:

x =

24 0 −1 1ksm − kd

mkdm

0 0 0

35 x +

24001

35 u

with x = (d , v1, v2) ∈ R3 and u ∈ R.

d distance between the truck and thetrailerv1 velocity of the truckv2 velocity of the traileru acceleration

Specification:

compliance with speed limits va, vb afterat most T ∈ N time-stepsacceleration constraints u ∈ [u, u]distance constraints d ∈ [d , d ]

va1 va2d

c1

c2

d0

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 22 / 30

Page 66: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlA cruise control example

Dynamics:

x =

24 0 −1 1ksm − kd

mkdm

0 0 0

35 x +

24001

35 u

with x = (d , v1, v2) ∈ R3 and u ∈ R.

d distance between the truck and thetrailerv1 velocity of the truckv2 velocity of the traileru acceleration

Specification:

compliance with speed limits va, vb afterat most T ∈ N time-stepsacceleration constraints u ∈ [u, u]distance constraints d ∈ [d , d ]

va1 va2d

c1

c2

d0

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 22 / 30

Page 67: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlA cruise control example

Dynamics:

x =

24 0 −1 1ksm − kd

mkdm

0 0 0

35 x +

24001

35 u

with x = (d , v1, v2) ∈ R3 and u ∈ R.

d distance between the truck and thetrailerv1 velocity of the truckv2 velocity of the traileru acceleration

Specification:

compliance with speed limits va, vb afterat most T ∈ N time-stepsacceleration constraints u ∈ [u, u]distance constraints d ∈ [d , d ]

va1 va2d

c1

c2

d0

Safe LTL formula

2(U ∧ D ∧ ϕa ∧ ϕb)

with ϕa and ϕb given by

ma =⇒ 3≤T (ta W mb)

mb =⇒ 3≤T (tb W ma)

mi : vi is active i ∈ {a, b}ti : v1 ≤ vi

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 22 / 30

Page 68: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlReducing controller synthesis to safety games [Kupferman and Vardi, 2001]

Construct the bad-prefix automaton A¬ϕ from the safeLTL formula ϕ:

A¬ϕ = (Q,F , δ, g, 2P);

Compose A¬ϕ with the control system Σ:

S = A¬ϕ‖Σ;

Given the safe set K =S

q∈Q\F{q} × Hq , Hq ⊆ Rn,compute its largest controlled invariant subset:

K(K ) =˘

(q, x) ∈ K | ∃ u ∈ Rm, Postu(q, x) ⊆ K¯.

We know that:

(q, x) ∈ K(K )⇔ existence of a control strategy enforcing ϕ from x .

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 23 / 30

Page 69: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlReducing controller synthesis to safety games [Kupferman and Vardi, 2001]

Construct the bad-prefix automaton A¬ϕ from the safeLTL formula ϕ:

A¬ϕ = (Q,F , δ, g, 2P);

Compose A¬ϕ with the control system Σ:

S = A¬ϕ‖Σ;

Given the safe set K =S

q∈Q\F{q} × Hq , Hq ⊆ Rn,compute its largest controlled invariant subset:

K(K ) =˘

(q, x) ∈ K | ∃ u ∈ Rm, Postu(q, x) ⊆ K¯.

We know that:

(q, x) ∈ K(K )⇔ existence of a control strategy enforcing ϕ from x .

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 23 / 30

Page 70: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlReducing controller synthesis to safety games [Kupferman and Vardi, 2001]

Construct the bad-prefix automaton A¬ϕ from the safeLTL formula ϕ:

A¬ϕ = (Q,F , δ, g, 2P);

Compose A¬ϕ with the control system Σ:

S = A¬ϕ‖Σ;

Given the safe set K =S

q∈Q\F{q} × Hq , Hq ⊆ Rn,compute its largest controlled invariant subset:

K(K ) =˘

(q, x) ∈ K | ∃ u ∈ Rm, Postu(q, x) ⊆ K¯.

We know that:

(q, x) ∈ K(K )⇔ existence of a control strategy enforcing ϕ from x .

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 23 / 30

Page 71: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlReducing controller synthesis to safety games [Kupferman and Vardi, 2001]

Construct the bad-prefix automaton A¬ϕ from the safeLTL formula ϕ:

A¬ϕ = (Q,F , δ, g, 2P);

Compose A¬ϕ with the control system Σ:

S = A¬ϕ‖Σ;

Given the safe set K =S

q∈Q\F{q} × Hq , Hq ⊆ Rn,compute its largest controlled invariant subset:

K(K ) =˘

(q, x) ∈ K | ∃ u ∈ Rm, Postu(q, x) ⊆ K¯.

We know that:

(q, x) ∈ K(K )⇔ existence of a control strategy enforcing ϕ from x .

Kk

x

x

K

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 23 / 30

Page 72: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlReducing controller synthesis to safety games [Kupferman and Vardi, 2001]

Construct the bad-prefix automaton A¬ϕ from the safeLTL formula ϕ:

A¬ϕ = (Q,F , δ, g, 2P);

Compose A¬ϕ with the control system Σ:

S = A¬ϕ‖Σ;

Given the safe set K =S

q∈Q\F{q} × Hq , Hq ⊆ Rn,compute its largest controlled invariant subset:

K(K ) =˘

(q, x) ∈ K | ∃ u ∈ Rm, Postu(q, x) ⊆ K¯.

We know that:

(q, x) ∈ K(K )⇔ existence of a control strategy enforcing ϕ from x .

Kk

x

x

K

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 23 / 30

Page 73: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlComputation of controlled invariant subsets

Fixed point computation [Bertsekas, 1972]:

Kj+1 = pre(Kj ) ∩ Kj , K0 = K

Safe set K =S

q∈Q\F{q} × Hq , Hq ⊆ Rn, given by:

Hq =

p[i=1

Hqi , each Hqi is a polytope

⇒ each Kj is computable and the iteration is known to asymptotically converge:

K(K ) = limj→∞

Kj .

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 24 / 30

Page 74: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlComputation of controlled invariant subsets

Fixed point computation [Bertsekas, 1972]:

Kj+1 = pre(Kj ) ∩ Kj , K0 = K

Safe set K =S

q∈Q\F{q} × Hq , Hq ⊆ Rn, given by:

Hq =

p[i=1

Hqi , each Hqi is a polytope

⇒ each Kj is computable and the iteration is known to asymptotically converge:

K(K ) = limj→∞

Kj .

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 24 / 30

Page 75: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlComputation of controlled invariant subsets: Known problems

No termination guarantees;

Set iterates Kj are not controlled invariant;

Solutions for K =S

q∈Q\F{q} × Hq , Hq ⊆ Rn, if Hq is convex and |Q\F | = 1:

[De Santis et al., 2004]: iteration is initialized with a controlled invariant setK0 ⊂ K ;[Blanchini and Miani, 2008]: modified iteration using contractive sets;Several other methods based on approximations of K ;

For Hq given as union of polytopes, the iterative computation introducescombinatorial complexity!

We can approximate K by sets adapted to the dynamics!(Finite termination and symbolic implementation)

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 25 / 30

Page 76: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlComputation of controlled invariant subsets: Known problems

No termination guarantees;

Set iterates Kj are not controlled invariant;

Solutions for K =S

q∈Q\F{q} × Hq , Hq ⊆ Rn, if Hq is convex and |Q\F | = 1:

[De Santis et al., 2004]: iteration is initialized with a controlled invariant setK0 ⊂ K ;[Blanchini and Miani, 2008]: modified iteration using contractive sets;Several other methods based on approximations of K ;

For Hq given as union of polytopes, the iterative computation introducescombinatorial complexity!

We can approximate K by sets adapted to the dynamics!(Finite termination and symbolic implementation)

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 25 / 30

Page 77: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlComputation of controlled invariant subsets: Known problems

No termination guarantees;

Set iterates Kj are not controlled invariant;

Solutions for K =S

q∈Q\F{q} × Hq , Hq ⊆ Rn, if Hq is convex and |Q\F | = 1:

[De Santis et al., 2004]: iteration is initialized with a controlled invariant setK0 ⊂ K ;[Blanchini and Miani, 2008]: modified iteration using contractive sets;Several other methods based on approximations of K ;

For Hq given as union of polytopes, the iterative computation introducescombinatorial complexity!

We can approximate K by sets adapted to the dynamics!(Finite termination and symbolic implementation)

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 25 / 30

Page 78: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlComputation of controlled invariant subsets: Known problems

No termination guarantees;

Set iterates Kj are not controlled invariant;

Solutions for K =S

q∈Q\F{q} × Hq , Hq ⊆ Rn, if Hq is convex and |Q\F | = 1:

[De Santis et al., 2004]: iteration is initialized with a controlled invariant setK0 ⊂ K ;[Blanchini and Miani, 2008]: modified iteration using contractive sets;Several other methods based on approximations of K ;

For Hq given as union of polytopes, the iterative computation introducescombinatorial complexity!

We can approximate K by sets adapted to the dynamics!(Finite termination and symbolic implementation)

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 25 / 30

Page 79: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlComputation of controlled invariant subsets: Known problems

No termination guarantees;

Set iterates Kj are not controlled invariant;

Solutions for K =S

q∈Q\F{q} × Hq , Hq ⊆ Rn, if Hq is convex and |Q\F | = 1:

[De Santis et al., 2004]: iteration is initialized with a controlled invariant setK0 ⊂ K ;[Blanchini and Miani, 2008]: modified iteration using contractive sets;Several other methods based on approximations of K ;

For Hq given as union of polytopes, the iterative computation introducescombinatorial complexity!

We can approximate K by sets adapted to the dynamics!(Finite termination and symbolic implementation)

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 25 / 30

Page 80: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlCompleteness of approximation

We can under-approximate Hq by a finite union of adapted sets Hq .

We say that a set I ⊆ Rn is strictly inside a set J ⊆ Rn if there exists γ > 0 for which:

I + Bγ(0) ⊆ J.

I

Theorem (Completeness [Rungger et al., 2013])

If there exists a controlled invariant set I ⊆ K(K ) for which Iq is strictly inside Kq(K ),then there exists an under-approximation K =

Sq∈Q\F{q} × Hq of K , with Hq being

adapted sets, such that I ⊆ K(K ).

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 26 / 30

Page 81: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlCompleteness of approximation

We can under-approximate Hq by a finite union of adapted sets Hq .

We say that a set I ⊆ Rn is strictly inside a set J ⊆ Rn if there exists γ > 0 for which:

I + Bγ(0) ⊆ J.

I

Theorem (Completeness [Rungger et al., 2013])

If there exists a controlled invariant set I ⊆ K(K ) for which Iq is strictly inside Kq(K ),then there exists an under-approximation K =

Sq∈Q\F{q} × Hq of K , with Hq being

adapted sets, such that I ⊆ K(K ).

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 26 / 30

Page 82: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlCompleteness of approximation

We can under-approximate Hq by a finite union of adapted sets Hq .

We say that a set I ⊆ Rn is strictly inside a set J ⊆ Rn if there exists γ > 0 for which:

I + Bγ(0) ⊆ J.

I

Theorem (Completeness [Rungger et al., 2013])

If there exists a controlled invariant set I ⊆ K(K ) for which Iq is strictly inside Kq(K ),then there exists an under-approximation K =

Sq∈Q\F{q} × Hq of K , with Hq being

adapted sets, such that I ⊆ K(K ).

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 26 / 30

Page 83: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlSymbolic implementation

Use binary decision diagrams (BDDs) to implement the iteration:

Kj+1 = pre(Kj ) ∩ Kj .

Each set Kj is encoded by a BDD;The combination of the special Brunovsky normal form with adapted setsresults in a simple expression for pre(Bi ) with Bi = [ai

1, bi1]× . . .× [ai

n, bin]:

pre(Bi ) = R× [ai1, b

i1]× . . .× [ai

n−1, bin−1];

Symbolical computation of pre(Kj ) can be done by shifting and variablereordering.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 27 / 30

Page 84: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlSymbolic implementation

Use binary decision diagrams (BDDs) to implement the iteration:

Kj+1 = pre(Kj ) ∩ Kj .

Each set Kj is encoded by a BDD;

The combination of the special Brunovsky normal form with adapted setsresults in a simple expression for pre(Bi ) with Bi = [ai

1, bi1]× . . .× [ai

n, bin]:

pre(Bi ) = R× [ai1, b

i1]× . . .× [ai

n−1, bin−1];

Symbolical computation of pre(Kj ) can be done by shifting and variablereordering.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 27 / 30

Page 85: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlSymbolic implementation

Use binary decision diagrams (BDDs) to implement the iteration:

Kj+1 = pre(Kj ) ∩ Kj .

Each set Kj is encoded by a BDD;The combination of the special Brunovsky normal form with adapted setsresults in a simple expression for pre(Bi ) with Bi = [ai

1, bi1]× . . .× [ai

n, bin]:

pre(Bi ) = R× [ai1, b

i1]× . . .× [ai

n−1, bin−1];

Symbolical computation of pre(Kj ) can be done by shifting and variablereordering.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 27 / 30

Page 86: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlSymbolic implementation

Use binary decision diagrams (BDDs) to implement the iteration:

Kj+1 = pre(Kj ) ∩ Kj .

Each set Kj is encoded by a BDD;The combination of the special Brunovsky normal form with adapted setsresults in a simple expression for pre(Bi ) with Bi = [ai

1, bi1]× . . .× [ai

n, bin]:

pre(Bi ) = R× [ai1, b

i1]× . . .× [ai

n−1, bin−1];

Symbolical computation of pre(Kj ) can be done by shifting and variablereordering.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 27 / 30

Page 87: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlRevisiting the cruise control example

Problem description:

Σ : 3 states, 1 input;

Safe LTL formula:

2(D ∧ U ∧ ϕa ∧ ϕb ∧ ϕc)

Parameters:

T ∈ {2, 10} number of time stepsafter which speed limit is enforced;

N ∈ {10, . . . , 13} number of bits(2N boxes) used in each dimension.

Error bound:

e =volK(K )− volK(K )

volK(K )≥

volK(K )− volK(K )

volK(K )

va1 va2d

c1

c2

d0

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 28 / 30

Page 88: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlRevisiting the cruise control example

Problem description:

Σ : 3 states, 1 input;

Safe LTL formula:

2(D ∧ U ∧ ϕa ∧ ϕb ∧ ϕc)

Parameters:

T ∈ {2, 10} number of time stepsafter which speed limit is enforced;

N ∈ {10, . . . , 13} number of bits(2N boxes) used in each dimension.

Error bound:

e =volK(K )− volK(K )

volK(K )≥

volK(K )− volK(K )

volK(K )

va1 va2d

c1

c2

d0

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 28 / 30

Page 89: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlRevisiting the cruise control example

Problem description:

Σ : 3 states, 1 input;

Safe LTL formula:

2(D ∧ U ∧ ϕa ∧ ϕb ∧ ϕc)

Parameters:

T ∈ {2, 10} number of time stepsafter which speed limit is enforced;

N ∈ {10, . . . , 13} number of bits(2N boxes) used in each dimension.

Error bound:

e =volK(K )− volK(K )

volK(K )≥

volK(K )− volK(K )

volK(K )

va1 va2d

c1

c2

d0

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 28 / 30

Page 90: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlRevisiting the cruise control example

Problem description:

Σ : 3 states, 1 input;

Safe LTL formula:

2(D ∧ U ∧ ϕa ∧ ϕb ∧ ϕc)

Parameters:

T ∈ {2, 10} number of time stepsafter which speed limit is enforced;

N ∈ {10, . . . , 13} number of bits(2N boxes) used in each dimension.

Error bound:

e =volK(K )− volK(K )

volK(K )≥

volK(K )− volK(K )

volK(K )

va1 va2d

c1

c2

d0

N\T 2 10tr e tr e

10 1m39s 2.31 2m40s 2.3811 4m09s 1.01 4m31s 1.0412 6m48s 0.58 7m52s 0.6213 10m38s 0.43 16m01s 0.46

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 28 / 30

Page 91: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlRevisiting the cruise control example: Comparison with the polyhedral approach

Example 5.1 in [Pérez et al., 2011]:3 states + 2 inputs

Workspace:X = [0, 30]3 and U = [0, 2]2

Obstacles in the state space:

O1 = [−5, 15]3

O2 = [−5, 5]3

O3 = [−15, 10]3

Obstacles in the input space:

V1 = [−3/2, 1/2]2

V2 = [−1/4, 1/4]2

V3 = [2/5, 1/5]2

Specification with increasing complexity:

ϕ0 = �(X × U)

ϕ1 = �((X ∧ ¬O1)× U)

ϕ2 = �(X × (U ∧ ¬V1))

ϕ3 = �((X ∧ ¬O1)× (U ∧ ¬V1))

ϕ4 = �((X ∧2i=1 ¬Oi )× (U ∧2

i=1 ¬Vi ))

ϕ5 = �((X ∧3i=1 ¬Oi )× (U ∧2

i=1 ¬Vi ))

ϕ6 = �((X ∧3i=1 ¬Oi )× (U ∧3

i=1 ¬Vi ))

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 29 / 30

Page 92: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlRevisiting the cruise control example: Comparison with the polyhedral approach

Example 5.1 in [Pérez et al., 2011]:3 states + 2 inputs

Workspace:X = [0, 30]3 and U = [0, 2]2

Obstacles in the state space:

O1 = [−5, 15]3

O2 = [−5, 5]3

O3 = [−15, 10]3

Obstacles in the input space:

V1 = [−3/2, 1/2]2

V2 = [−1/4, 1/4]2

V3 = [2/5, 1/5]2

Specification with increasing complexity:

ϕ0 = �(X × U)

ϕ1 = �((X ∧ ¬O1)× U)

ϕ2 = �(X × (U ∧ ¬V1))

Computation times:

vv0 vv1 vv2

polyhedral

symbolic

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 29 / 30

Page 93: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Exact finite-state abstractions for controlRevisiting the cruise control example: Comparison with the polyhedral approach

Example 5.1 in [Pérez et al., 2011]:3 states + 2 inputs

Workspace:X = [0, 30]3 and U = [0, 2]2

Obstacles in the state space:

O1 = [−5, 15]3

O2 = [−5, 5]3

O3 = [−15, 10]3

Obstacles in the input space:

V1 = [−3/2, 1/2]2

V2 = [−1/4, 1/4]2

V3 = [2/5, 1/5]2

Specification with increasing complexity:

ϕ0 = �(X × U)

ϕ1 = �((X ∧ ¬O1)× U)

ϕ2 = �(X × (U ∧ ¬V1))

Computation times:

v0 v1 v2 v3 v4 v5 v60

50

100

150

200

250

300

350

400

t

polyhedralsymbolic

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 29 / 30

Page 94: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Observations

We can handle 5 or 6 continuous variables (state-of-the-art) but there is stillroom for improvement.

We recently discovered other classes of sets for which we can constructfinite-state bisimulations. Still work in progress;

Can we generalize these techniques to non-linear systems?

No! But the approximate finite-state abstractions to be discussed in the nextlecture do generalize to nonlinear systems.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 30 / 30

Page 95: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Observations

We can handle 5 or 6 continuous variables (state-of-the-art) but there is stillroom for improvement.

We recently discovered other classes of sets for which we can constructfinite-state bisimulations. Still work in progress;

Can we generalize these techniques to non-linear systems?

No! But the approximate finite-state abstractions to be discussed in the nextlecture do generalize to nonlinear systems.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 30 / 30

Page 96: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Observations

We can handle 5 or 6 continuous variables (state-of-the-art) but there is stillroom for improvement.

We recently discovered other classes of sets for which we can constructfinite-state bisimulations. Still work in progress;

Can we generalize these techniques to non-linear systems?

No! But the approximate finite-state abstractions to be discussed in the nextlecture do generalize to nonlinear systems.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 30 / 30

Page 97: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Observations

We can handle 5 or 6 continuous variables (state-of-the-art) but there is stillroom for improvement.

We recently discovered other classes of sets for which we can constructfinite-state bisimulations. Still work in progress;

Can we generalize these techniques to non-linear systems?

No!

But the approximate finite-state abstractions to be discussed in the nextlecture do generalize to nonlinear systems.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 30 / 30

Page 98: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

Observations

We can handle 5 or 6 continuous variables (state-of-the-art) but there is stillroom for improvement.

We recently discovered other classes of sets for which we can constructfinite-state bisimulations. Still work in progress;

Can we generalize these techniques to non-linear systems?

No! But the approximate finite-state abstractions to be discussed in the nextlecture do generalize to nonlinear systems.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 30 / 30

Page 99: Synthesis for Cyber-Physical SystemsPaulo Tabuada Cyber-Physical Systems Laboratory Department of Electrical Engineering University of California at Los Angeles Paulo Tabuada (CyPhyLab

Lab

References and more details

Bertsekas, D. (1972).Infinite time reachability of state-space regions by using feedback control.IEEE Transactions on Automatic Control, 17:604–613.

Blanchini, F. and Miani, S. (2008).Set-Theoretic Methods in Control.Systems & Control: Foundations & Applications. Birkhäuser.

De Santis, E., Di Benedetto, M. D., and Berardi, L. (2004).Computation of maximal safe sets for switching systems.IEEE Transactions on Automatic Control, 49:184–195.

Kupferman, O. and Vardi, M. Y. (2001).Model checking of safety properties.Formal Methods in System Design, 19:291–314.

Pérez, E., Ariño, C., Blasco, F. X., and Martínez, M. A. (2011).Maximal closed loop admissible set for linear systems with non-convex polyhedral constraints.Journal of Process Control, pages 529 – 537.

Rungger, M., Mazo Jr., M., and Tabuada, P. (2013).Specification-guided controller synthesis for linear systems and safe linear-time temporal logic.In Proc. of Hybrid Systems: Computation and Control.

Verification and Control of Hybrid Systems: A Symbolic ApproachSpringer, 2009.

Paulo Tabuada (CyPhyLab - UCLA) Synthesis for Cyber-Physical Systems ExCAPE Summer School’13 30 / 30