Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
∗
UC Berkeley
Table of Contents
2. Reachable Sets
2.1 Pre and Reach Sets Definition
2.2 Pre and Reach Sets Computation
2.3 Controllable Sets
2.4 N -Step Reachable Sets
3. Invariant Sets
3.1 Invariant Sets
3.2 Control Invariant Sets
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) i
1 1. Polyhedra and Polytopes
Outline
2. Reachable Sets
3. Invariant Sets
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) ii
Table of Contents
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014)
1 1. Polyhedra and Polytopes 1.1 General Set Definitions and Operations
Z = {z | a1> z ≤ b1 , a2> z ≤ b2 , . . . , am
>
z ≤ bm }
= {z | Az ≤ b}
z1 z1
conv(K ) ,{λ1 x1 + . . . + λk xk | xi ∈ K , λi ≥ 0, i = 1, . . . , k,
k
X
λi = 1}.
i=1
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 1-4
1 1. Polyhedra and Polytopes 1.1 General Set Definitions and Operations
Polyhedra Representations
An H-polyhedron P in Rn denotes an intersection of a finite set of closed
halfspaces in Rn :
P = {x ∈ Rn : Ax ≤ b}
In Matlab: P = Polytope(A,b)
A two-dimensional H-polyhedron
a1x ·b1
a2x ·b2
a4x ·b4
a3x ·b3
a5x ·b5
Inequalities which can be removed without changing the polyhedron are called
redundant. The representation of an H-polyhedron is minimal if it does not
contain redundant inequalities.
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 1-5
Polyhedra Representations
A V-polytope P in Rn is defined as
P = conv(V )
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 1-6
1 1. Polyhedra and Polytopes 1.1 General Set Definitions and Operations
Polyhedra Representations
The faces of dimension 0 and 1 are called vertices and edges, respectively.
10 10
8 8
6 6
4 4
2 2
x2
x2
0 0
−2 −2
−4 −4
−6 −6
−8 −8
−10 −10
−10 −8 −6 −4 −2 0 2 4 6 8 10 −10 −8 −6 −4 −2 0 2 4 6 8 10
x1 x1
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 1-7
Polytopal Complexes
C = {Ci }N
i=1 ,
C
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 1-8
1 1. Polyhedra and Polytopes 1.1 General Set Definitions and Operations
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 1-9
Table of Contents
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014)
1 1. Polyhedra and Polytopes 1.2 Basic Operations on Polytopes
NV
X NV
X
n
conv(V ) = {x ∈ R :x= αi Vi , 0 ≤ αi ≤ 1, αi = 1}. (1)
i=1 i=1
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 1-10
2
x2
−2
−4
−6
−8
−10
−10 −8 −6 −4 −2 0 2 4 6 8 10
x1
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 1-11
1 1. Polyhedra and Polytopes 1.2 Basic Operations on Polytopes
In Matlab: Q = projection(P,dim)
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 1-12
f : z ∈ Rn 7→ Az + b, A ∈ Rn×n , b ∈ Rn
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 1-13
1 1. Polyhedra and Polytopes 1.2 Basic Operations on Polytopes
f : z ∈ Rn 7→ Az + b, A ∈ Rn×n , b ∈ Rn
f ◦ P , {y ∈ Rn | y = Ax + b ∀x ∈ Rn , Hx ≤ k}
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 1-14
2 2. Reachable Sets
Outline
2. Reachable Sets
2.1 Pre and Reach Sets Definition
2.2 Pre and Reach Sets Computation
2.3 Controllable Sets
2.4 N -Step Reachable Sets
3. Invariant Sets
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 2-15
2 2. Reachable Sets 2.1 Pre and Reach Sets Definition
Table of Contents
2. Reachable Sets
2.1 Pre and Reach Sets Definition
2.2 Pre and Reach Sets Computation
2.3 Controllable Sets
2.4 N -Step Reachable Sets
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014)
Set Definition
x(t) ∈ X , u(t) ∈ U, ∀ t ≥ 0.
The sets X and U are polyhedra and contain the origin in their interior.
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 2-16
2 2. Reachable Sets 2.1 Pre and Reach Sets Definition
For the autonomous system (2) we denote the one-step reachable set as
For the system (3) with inputs we denote the one-step reachable set as
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 2-17
“Pre” sets are the dual of one-step reachable sets. The set
Pre(S) , {x ∈ Rn : fa (x) ∈ S}
defines the set of states which evolve into the target set S in one time step for the
system (2).
Similarly, for the system (3) the set of states which can be driven into the target
set S in one time step is defined as
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 2-18
2 2. Reachable Sets 2.2 Pre and Reach Sets Computation
Table of Contents
2. Reachable Sets
2.1 Pre and Reach Sets Definition
2.2 Pre and Reach Sets Computation
2.3 Controllable Sets
2.4 N -Step Reachable Sets
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014)
x(t + 1) = Ax(t)
Let
S = {x : Hx ≤ h}, (4)
Then the set Pre(S) is
Pre(S) = {x : HAx ≤ h}
Note that by using polyhedral notation, the set Pre(S) is simply S ◦ A.
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 2-19
2 2. Reachable Sets 2.2 Pre and Reach Sets Computation
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 2-20
which is the projection onto the x-space (with dimension Rn ) of the polyhedron
HA HB x h
T := { ≤ }.
0 Hu u hu
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 2-21
2 2. Reachable Sets 2.3 Controllable Sets
Table of Contents
2. Reachable Sets
2.1 Pre and Reach Sets Definition
2.2 Pre and Reach Sets Computation
2.3 Controllable Sets
2.4 N -Step Reachable Sets
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014)
Contorllable Sets
Definition (N -Step Controllable Set KN (O))
For a given target set O ⊆ X , the N -step controllable set KN (O) is defined as:
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 2-22
2 2. Reachable Sets 2.4 N -Step Reachable Sets
Table of Contents
2. Reachable Sets
2.1 Pre and Reach Sets Definition
2.2 Pre and Reach Sets Computation
2.3 Controllable Sets
2.4 N -Step Reachable Sets
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014)
All states x0 ∈ X0 can will evolve to the N -step reachable set RN (X0 ) in N steps
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 2-23
3 3. Invariant Sets
Outline
2. Reachable Sets
3. Invariant Sets
3.1 Invariant Sets
3.2 Control Invariant Sets
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 3-24
Table of Contents
3. Invariant Sets
3.1 Invariant Sets
3.2 Control Invariant Sets
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014)
3 3. Invariant Sets 3.1 Invariant Sets
Invariant Sets
Invariant sets
are computed for autonomous systems
for a given feedback controller u = g(x), provide the set of initial states
whose trajectory will never violate the system constraints.
x(0) ∈ O ⇒ x(t) ∈ O, ∀t ∈ N+
Invariant Sets
Algorithm
Input: fa , X
Output: O∞
1 let Ω0 = X ,
2 let Ωk+1 = Pre(Ωk ) ∩ Ωk
3 if Ωk+1 = Ωk then O∞ ← Ωk+1
4 else go to 2
The algorithm generates the set sequence {Ωk } satisfying Ωk+1 ⊆ Ωk , ∀k ∈ N and
it terminates when Ωk+1 = Ωk so that Ωk is the maximal positive invariant set
O∞ for x(t + 1) = fa (x(t)).
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 3-26
3 3. Invariant Sets 3.2 Control Invariant Sets
Table of Contents
3. Invariant Sets
3.1 Invariant Sets
3.2 Control Invariant Sets
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014)
Algorithm
Input: f , X and U
Output: C∞
1 let Ω0 = X ,
2 let Ωk+1 = Pre(Ωk ) ∩ Ωk
3 if Ωk+1 = Ωk then C∞ ← Ωk+1
4 else go to 2
The algorithm generates the set sequence {Ωk } satisfying Ωk+1 ⊆ Ωk , ∀k ∈ N and
it terminates if Ωk+1 = Ωk so that Ωk is the maximal control invariant set C∞ for
the constrained system.
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 3-28
Reachability and Invariance F. Borrelli, M. Morari, C. Jones - Fall Semester 2014 (revised September 2014) 3-29