Efficient Computation of Reachable Sets of Linear Time-Invariant - - PowerPoint PPT Presentation

efficient computation of reachable sets of linear time
SMART_READER_LITE
LIVE PREVIEW

Efficient Computation of Reachable Sets of Linear Time-Invariant - - PowerPoint PPT Presentation

Efficient Computation of Reachable Sets of Linear Time-Invariant Systems with Inputs Colas Le Guernic Ecole Normale Sup erieure joint work with Antoine Girard Oded Maler University of Pennsylvania VERIMAG March 29, 2006


slide-1
SLIDE 1

Colas Le Guernic HSCC 2006 – 1 / 20

Efficient Computation of Reachable Sets of Linear Time-Invariant Systems with Inputs

Colas Le Guernic∗ ´ Ecole Normale Sup´ erieure joint work with Antoine Girard∗ University of Pennsylvania Oded Maler VERIMAG

March 29, 2006

∗currently at VERIMAG

slide-2
SLIDE 2

Motivations

Introduction Motivations DLTI The wrapping effect A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 2 / 20

Discrete Linear Time Invariant System: xk+1 = Φxk + uk x0 ∈ Ω0, ∀i ui ∈ U

slide-3
SLIDE 3

Motivations

Introduction Motivations DLTI The wrapping effect A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 2 / 20

Discrete Linear Time Invariant System: xk+1 = Φxk + uk x0 ∈ Ω0, ∀i ui ∈ U

Obtained by discretisation of a continuous system

Input can take into account errors due to linearisation and discretisation

slide-4
SLIDE 4

Motivations

Introduction Motivations DLTI The wrapping effect A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 2 / 20

Discrete Linear Time Invariant System: xk+1 = Φxk + uk x0 ∈ Ω0, ∀i ui ∈ U

Obtained by discretisation of a continuous system

Input can take into account errors due to linearisation and discretisation

Reachable sets:

Set of points reachable from a specified initial set with the considered dynamic under any possible input

Computation required for safety verification, controller synthesis,. . .

slide-5
SLIDE 5

Motivations

Introduction Motivations DLTI The wrapping effect A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 2 / 20

Discrete Linear Time Invariant System: xk+1 = Φxk + uk x0 ∈ Ω0, ∀i ui ∈ U

Obtained by discretisation of a continuous system

Input can take into account errors due to linearisation and discretisation

Reachable sets:

Set of points reachable from a specified initial set with the considered dynamic under any possible input

Computation required for safety verification, controller synthesis,. . . We will not detail here how Ω0, Φ and U can be obtained from a continuous time system.

slide-6
SLIDE 6

DLTI

Introduction Motivations DLTI The wrapping effect A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 3 / 20

We want to compute the N first sets of the sequence defined by: Ωn+1 = ΦΩn ⊕ U

Ω0 is the set of initial points

U is the set of inputs

Φ is a d × d matrix

⊕ is the Minkowski sum A ⊕ B = {a + b|a ∈ A and b ∈ B} ⊕ =

slide-7
SLIDE 7

A naive algorithm

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 4 / 20

Direct use of the recurence relation: Ωn+1 = ΦΩn ⊕ U For that, we need a class of sets closed under linear transformation and Minkowski sum, for example: convex polytopes represented by their vertices.

slide-8
SLIDE 8

A naive algorithm

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 4 / 20

Direct use of the recurence relation: Ωn+1 = ΦΩn ⊕ U For that, we need a class of sets closed under linear transformation and Minkowski sum, for example: convex polytopes represented by their vertices. But:

slide-9
SLIDE 9

A naive algorithm

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 4 / 20

Direct use of the recurence relation: Ωn+1 = ΦΩn ⊕ U For that, we need a class of sets closed under linear transformation and Minkowski sum, for example: convex polytopes represented by their vertices. But:

Φ

slide-10
SLIDE 10

A naive algorithm

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 4 / 20

Direct use of the recurence relation: Ωn+1 = ΦΩn ⊕ U For that, we need a class of sets closed under linear transformation and Minkowski sum, for example: convex polytopes represented by their vertices. But:

slide-11
SLIDE 11

A naive algorithm

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 4 / 20

Direct use of the recurence relation: Ωn+1 = ΦΩn ⊕ U For that, we need a class of sets closed under linear transformation and Minkowski sum, for example: convex polytopes represented by their vertices. But:

slide-12
SLIDE 12

A naive algorithm

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 4 / 20

Direct use of the recurence relation: Ωn+1 = ΦΩn ⊕ U For that, we need a class of sets closed under linear transformation and Minkowski sum, for example: convex polytopes represented by their vertices. But:

slide-13
SLIDE 13

A naive algorithm

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 4 / 20

Direct use of the recurence relation: Ωn+1 = ΦΩn ⊕ U For that, we need a class of sets closed under linear transformation and Minkowski sum, for example: convex polytopes represented by their vertices. But:

Φ ⊕

slide-14
SLIDE 14

A naive algorithm

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 4 / 20

Direct use of the recurence relation: Ωn+1 = ΦΩn ⊕ U For that, we need a class of sets closed under linear transformation and Minkowski sum, for example: convex polytopes represented by their vertices. But:

slide-15
SLIDE 15

A naive algorithm

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 4 / 20

Direct use of the recurence relation: Ωn+1 = ΦΩn ⊕ U For that, we need a class of sets closed under linear transformation and Minkowski sum, for example: convex polytopes represented by their vertices. But:

Φ ⊕

slide-16
SLIDE 16

A naive algorithm

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 4 / 20

Direct use of the recurence relation: Ωn+1 = ΦΩn ⊕ U For that, we need a class of sets closed under linear transformation and Minkowski sum, for example: convex polytopes represented by their vertices. But:

slide-17
SLIDE 17

A naive algorithm

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 4 / 20

Direct use of the recurence relation: Ωn+1 = ΦΩn ⊕ U For that, we need a class of sets closed under linear transformation and Minkowski sum, for example: convex polytopes represented by their vertices. But:

Φ ⊕

slide-18
SLIDE 18

A naive algorithm

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 4 / 20

Direct use of the recurence relation: Ωn+1 = ΦΩn ⊕ U For that, we need a class of sets closed under linear transformation and Minkowski sum, for example: convex polytopes represented by their vertices. But:

slide-19
SLIDE 19

A naive algorithm

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 4 / 20

Direct use of the recurence relation: Ωn+1 = ΦΩn ⊕ U For that, we need a class of sets closed under linear transformation and Minkowski sum, for example: convex polytopes represented by their vertices. But:

Φ ⊕

slide-20
SLIDE 20

A naive algorithm

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 4 / 20

Direct use of the recurence relation: Ωn+1 = ΦΩn ⊕ U For that, we need a class of sets closed under linear transformation and Minkowski sum, for example: convex polytopes represented by their vertices. But:

slide-21
SLIDE 21

A naive algorithm

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 4 / 20

Direct use of the recurence relation: Ωn+1 = ΦΩn ⊕ U For that, we need a class of sets closed under linear transformation and Minkowski sum, for example: convex polytopes represented by their vertices. But:

Φ ⊕

slide-22
SLIDE 22

A naive algorithm

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 4 / 20

Direct use of the recurence relation: Ωn+1 = ΦΩn ⊕ U For that, we need a class of sets closed under linear transformation and Minkowski sum, for example: convex polytopes represented by their vertices. But:

. . .

slide-23
SLIDE 23

A naive algorithm

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 4 / 20

Direct use of the recurence relation: Ωn+1 = ΦΩn ⊕ U For that, we need a class of sets closed under linear transformation and Minkowski sum, for example: convex polytopes represented by their vertices. But: Ωn−1 may have more than (2n)d−1

√ d

vertices.

slide-24
SLIDE 24

A naive algorithm

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 4 / 20

Direct use of the recurence relation: Ωn+1 = ΦΩn ⊕ U For that, we need a class of sets closed under linear transformation and Minkowski sum, for example: convex polytopes represented by their vertices. But: Ωn−1 may have more than (2n)d−1

√ d

vertices. ΦΩn−1 needs more than (2n)d−1d √ d multiplications.

slide-25
SLIDE 25

A naive algorithm

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 4 / 20

Direct use of the recurence relation: Ωn+1 = ΦΩn ⊕ U For that, we need a class of sets closed under linear transformation and Minkowski sum, for example: convex polytopes represented by their vertices. This naive algorithm has complexity about N d−1. where:

N is the number of steps considered. (N ∈ [100; 1000])

d is the dimension of the system. (d ∈ [2; 100])

slide-26
SLIDE 26

Usual Solution: Approximation

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 5 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U) APPROX takes a set and computes an over-approximation with bounded representation size. For example: APPROX can be the Interval Hull. Then, the algorithm is linear in the number of steps considered.

slide-27
SLIDE 27

Usual Solution: Approximation

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 5 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U) APPROX takes a set and computes an over-approximation with bounded representation size. For example: APPROX can be the Interval Hull. Then, the algorithm is linear in the number of steps considered. But:

slide-28
SLIDE 28

Usual Solution: Approximation

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 5 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U) APPROX takes a set and computes an over-approximation with bounded representation size. For example: APPROX can be the Interval Hull. Then, the algorithm is linear in the number of steps considered. But:

Φ ⊕

slide-29
SLIDE 29

Usual Solution: Approximation

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 5 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U) APPROX takes a set and computes an over-approximation with bounded representation size. For example: APPROX can be the Interval Hull. Then, the algorithm is linear in the number of steps considered. But:

slide-30
SLIDE 30

Usual Solution: Approximation

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 5 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U) APPROX takes a set and computes an over-approximation with bounded representation size. For example: APPROX can be the Interval Hull. Then, the algorithm is linear in the number of steps considered. But:

APPROX( )

slide-31
SLIDE 31

Usual Solution: Approximation

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 5 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U) APPROX takes a set and computes an over-approximation with bounded representation size. For example: APPROX can be the Interval Hull. Then, the algorithm is linear in the number of steps considered. But:

slide-32
SLIDE 32

Usual Solution: Approximation

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 5 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U) APPROX takes a set and computes an over-approximation with bounded representation size. For example: APPROX can be the Interval Hull. Then, the algorithm is linear in the number of steps considered. But:

APPROX(Φ ⊕ )

slide-33
SLIDE 33

Usual Solution: Approximation

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 5 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U) APPROX takes a set and computes an over-approximation with bounded representation size. For example: APPROX can be the Interval Hull. Then, the algorithm is linear in the number of steps considered. But:

slide-34
SLIDE 34

Usual Solution: Approximation

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 5 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U) APPROX takes a set and computes an over-approximation with bounded representation size. For example: APPROX can be the Interval Hull. Then, the algorithm is linear in the number of steps considered. But:

APPROX(Φ ⊕ )

slide-35
SLIDE 35

Usual Solution: Approximation

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 5 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U) APPROX takes a set and computes an over-approximation with bounded representation size. For example: APPROX can be the Interval Hull. Then, the algorithm is linear in the number of steps considered. But:

slide-36
SLIDE 36

Usual Solution: Approximation

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 5 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U) APPROX takes a set and computes an over-approximation with bounded representation size. For example: APPROX can be the Interval Hull. Then, the algorithm is linear in the number of steps considered. But:

slide-37
SLIDE 37

Usual Solution: Approximation

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 5 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U) APPROX takes a set and computes an over-approximation with bounded representation size. For example: APPROX can be the Interval Hull. Then, the algorithm is linear in the number of steps considered. But:

slide-38
SLIDE 38

Usual Solution: Approximation

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 5 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U) APPROX takes a set and computes an over-approximation with bounded representation size. For example: APPROX can be the Interval Hull. Then, the algorithm is linear in the number of steps considered. But:

. . .

slide-39
SLIDE 39

Usual Solution: Approximation

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 5 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U) APPROX takes a set and computes an over-approximation with bounded representation size. For example: APPROX can be the Interval Hull. Then, the algorithm is linear in the number of steps considered. But: The approximation error can be exponential in the number of steps!

slide-40
SLIDE 40

Usual Solution: Approximation

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 5 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U) APPROX takes a set and computes an over-approximation with bounded representation size. For example: APPROX can be the Interval Hull. Then, the algorithm is linear in the number of steps considered. But: The approximation error can be exponential in the number of steps! Most of the effort has been made on looking for a suitable APPROX function.

slide-41
SLIDE 41

Tight approximation

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 6 / 20

How to evaluate if an APPROX function is suitable? One that minimizes the volume? the Hausdorff distance?. . .

slide-42
SLIDE 42

Tight approximation

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 6 / 20

How to evaluate if an APPROX function is suitable? One that minimizes the volume? the Hausdorff distance?. . . These criteria are often hard to evaluate, because they are not conserved by linear transformation.

slide-43
SLIDE 43

Tight approximation

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 6 / 20

How to evaluate if an APPROX function is suitable? An easy to check criterion: Tightness [Kurzhanskiy,Varaiya]. Does the exact set Ωn “touch” the boundaries of its

  • ver-approximation Ωn?
slide-44
SLIDE 44

Tight approximation

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 6 / 20

How to evaluate if an APPROX function is suitable? An easy to check criterion: Tightness [Kurzhanskiy,Varaiya]. Does the exact set Ωn “touch” the boundaries of its

  • ver-approximation Ωn?

If yes, this contact occurs in a specific direction ℓn and (if we deal with convex sets): max{x • ℓn|x ∈ Ωn} = max{x • ℓn|x ∈ Ωn}

slide-45
SLIDE 45

Tight approximation

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 6 / 20

How to evaluate if an APPROX function is suitable? An easy to check criterion: Tightness [Kurzhanskiy,Varaiya]. Does the exact set Ωn “touch” the boundaries of its

  • ver-approximation Ωn?

If yes, this contact occurs in a specific direction ℓn and (if we deal with convex sets): max{x • ℓn|x ∈ Ωn} = max{x • ℓn|x ∈ Ωn} max{Φ−1x • ℓn|x ∈ ΦΩn} = max{Φ−1x • ℓn|x ∈ ΦΩn} max{x • (Φ−1)T ℓn|x ∈ ΦΩn} = max{x • (Φ−1)T ℓn|x ∈ ΦΩn}

slide-46
SLIDE 46

Tight approximation

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 6 / 20

How to evaluate if an APPROX function is suitable? An easy to check criterion: Tightness [Kurzhanskiy,Varaiya]. Does the exact set Ωn “touch” the boundaries of its

  • ver-approximation Ωn?

If yes, this contact occurs in a specific direction ℓn and (if we deal with convex sets): max{x • ℓn|x ∈ Ωn} = max{x • ℓn|x ∈ Ωn} max{Φ−1x • ℓn|x ∈ ΦΩn} = max{Φ−1x • ℓn|x ∈ ΦΩn} max{x • (Φ−1)T ℓn|x ∈ ΦΩn} = max{x • (Φ−1)T ℓn|x ∈ ΦΩn} Thus ℓn+1 = (Φ−1)T ℓn, and APPROX only needs to be tight in the direction given by (Φ−n)T ℓ0.

slide-47
SLIDE 47

Example

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 7 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U)

slide-48
SLIDE 48

Example

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 7 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U)

slide-49
SLIDE 49

Example

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 7 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U)

Φ ⊕

slide-50
SLIDE 50

Example

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 7 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U)

slide-51
SLIDE 51

Example

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 7 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U)

APPROX( )

slide-52
SLIDE 52

Example

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 7 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U)

slide-53
SLIDE 53

Example

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 7 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U)

APPROX(Φ ⊕ )

slide-54
SLIDE 54

Example

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 7 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U)

slide-55
SLIDE 55

Example

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 7 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U)

APPROX(Φ ⊕ )

slide-56
SLIDE 56

Example

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 7 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U)

slide-57
SLIDE 57

Example

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 7 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U)

slide-58
SLIDE 58

Example

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 7 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U)

slide-59
SLIDE 59

Example

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 7 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U)

. . .

slide-60
SLIDE 60

Example

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 7 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U) This is much better.

slide-61
SLIDE 61

Example

Introduction The wrapping effect A naive algorithm Usual Solution: Approximation Tight approximation Example A new algorithm Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 7 / 20

Ωn+1 = APPROX(ΦΩn ⊕ U) This is much better. But:

no reported algorithm has bound on the error in terms of diameter, volume, distance,. . .

in some case, all approximation directions may converge toward the same vector.

slide-62
SLIDE 62

A new algorithm

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 8 / 20

slide-63
SLIDE 63

A simple idea

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 9 / 20

Ωn+1 = ΦΩn ⊕ U The problem comes from the mixing of the Minkowski sum (increases the complexity of the considered sets) and linear transformation (propagates the errors). We should separate these two operations.

slide-64
SLIDE 64

A simple idea

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 9 / 20

Ωn+1 = ΦΩn ⊕ U The problem comes from the mixing of the Minkowski sum (increases the complexity of the considered sets) and linear transformation (propagates the errors). We should separate these two operations. Ω0

slide-65
SLIDE 65

A simple idea

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 9 / 20

Ωn+1 = ΦΩn ⊕ U The problem comes from the mixing of the Minkowski sum (increases the complexity of the considered sets) and linear transformation (propagates the errors). We should separate these two operations. Ω1 = ΦΩ0 ⊕ U

slide-66
SLIDE 66

A simple idea

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 9 / 20

Ωn+1 = ΦΩn ⊕ U The problem comes from the mixing of the Minkowski sum (increases the complexity of the considered sets) and linear transformation (propagates the errors). We should separate these two operations. Ω2 = Φ(ΦΩ0 ⊕ U) ⊕ U

slide-67
SLIDE 67

A simple idea

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 9 / 20

Ωn+1 = ΦΩn ⊕ U The problem comes from the mixing of the Minkowski sum (increases the complexity of the considered sets) and linear transformation (propagates the errors). We should separate these two operations. Ω2 = Φ2Ω0 ⊕ ΦU ⊕ U

slide-68
SLIDE 68

A simple idea

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 9 / 20

Ωn+1 = ΦΩn ⊕ U The problem comes from the mixing of the Minkowski sum (increases the complexity of the considered sets) and linear transformation (propagates the errors). We should separate these two operations. Ω3 = Φ(Φ2Ω0 ⊕ ΦU ⊕ U) ⊕ U

slide-69
SLIDE 69

A simple idea

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 9 / 20

Ωn+1 = ΦΩn ⊕ U The problem comes from the mixing of the Minkowski sum (increases the complexity of the considered sets) and linear transformation (propagates the errors). We should separate these two operations. Ω3 = Φ3Ω0 ⊕ Φ2U ⊕ ΦU ⊕ U

slide-70
SLIDE 70

A simple idea

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 9 / 20

Ωn+1 = ΦΩn ⊕ U The problem comes from the mixing of the Minkowski sum (increases the complexity of the considered sets) and linear transformation (propagates the errors). We should separate these two operations. . . .

slide-71
SLIDE 71

A simple idea

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 9 / 20

Ωn+1 = ΦΩn ⊕ U The problem comes from the mixing of the Minkowski sum (increases the complexity of the considered sets) and linear transformation (propagates the errors). We should separate these two operations. Ωn = ΦnΩ0 ⊕

n−1

  • i=0

ΦiU

slide-72
SLIDE 72

A simple idea

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 9 / 20

Ωn+1 = ΦΩn ⊕ U The problem comes from the mixing of the Minkowski sum (increases the complexity of the considered sets) and linear transformation (propagates the errors). We should separate these two operations. Ωn = ΦnΩ0 ⊕

n−1

  • i=0

ΦiU To compute Ωn you need two linear transformations (on Φn−1Ω0 and Φn−2U) and two Minkowski sums.

slide-73
SLIDE 73

Exact Algorithm

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 10 / 20

It is enough to compute the three following sequences:

X0 = Ω0, Xn = ΦXn−1 (Xn = ΦnΩ0)

V0 = U, Vn = ΦVn−1 (Vn = ΦnU)

S0 = {0}, Sn = Sn−1 ⊕ Vn−1 (Sn = n−1

i=0 ΦiU)

then Ωn = Xn ⊕ Sn.

slide-74
SLIDE 74

Exact Algorithm

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 10 / 20

It is enough to compute the three following sequences:

X0 = Ω0, Xn = ΦXn−1 (Xn = ΦnΩ0)

V0 = U, Vn = ΦVn−1 (Vn = ΦnU)

S0 = {0}, Sn = Sn−1 ⊕ Vn−1 (Sn = n−1

i=0 ΦiU)

then Ωn = Xn ⊕ Sn. We can now forget about linear transformations (they are performed on constant complexity sets) We should focus on Minkowski sum:

we can use Zonotopes [Girard] time complexity is O(Nd3), space complexity is O(Nd2)

recall that the naive algorithm with vertices representation has time complexity O(N d−1)

  • r approximate
slide-75
SLIDE 75

Interval Hull Approximation

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 11 / 20

X0 = Ω0, Xn = ΦXn−1 (Xn = ΦnΩ0)

V0 = U, Vn = ΦVn−1 (Vn = ΦnU)

S0 = {0}, Sn = Sn−1 ⊕ BOX(Vn−1) (n−1

i=0 BOX(ΦiU) )

and Ωn = BOX(Xn) ⊕ Sn.

slide-76
SLIDE 76

Interval Hull Approximation

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 11 / 20

X0 = Ω0, Xn = ΦXn−1 (Xn = ΦnΩ0)

V0 = U, Vn = ΦVn−1 (Vn = ΦnU)

S0 = {0}, Sn = Sn−1 ⊕ BOX(Vn−1) (n−1

i=0 BOX(ΦiU) )

and Ωn = BOX(Xn) ⊕ Sn. but for any sets A and B: BOX(A) ⊕ BOX(B) = BOX(A ⊕ B)

slide-77
SLIDE 77

Interval Hull Approximation

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 11 / 20

X0 = Ω0, Xn = ΦXn−1 (Xn = ΦnΩ0)

V0 = U, Vn = ΦVn−1 (Vn = ΦnU)

S0 = {0}, Sn = Sn−1 ⊕ BOX(Vn−1) ( BOX(n−1

i=0 ΦiU))

and Ωn = BOX(Xn) ⊕ Sn. but for any sets A and B: BOX(A) ⊕ BOX(B) = BOX(A ⊕ B) thus Ωn = BOX(Ωn) No wrapping effect!

slide-78
SLIDE 78

Interval Hull Approximation

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 11 / 20

X0 = Ω0, Xn = ΦXn−1 (Xn = ΦnΩ0)

V0 = U, Vn = ΦVn−1 (Vn = ΦnU)

S0 = {0}, Sn = Sn−1 ⊕ BOX(Vn−1) ( BOX(n−1

i=0 ΦiU))

and Ωn = BOX(Xn) ⊕ Sn. but for any sets A and B: BOX(A) ⊕ BOX(B) = BOX(A ⊕ B) thus Ωn = BOX(Ωn) No wrapping effect!

time complexity: O(Nd3) (as the exact algorithm)

space complexity: O(d2 + Nd) (d times smaller)

slide-79
SLIDE 79

Example

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 12 / 20

X0: V0: Ω0: S0:

slide-80
SLIDE 80

Example

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 12 / 20

X1: V1: Φ Φ Ω1: S1: BOX(X1) ⊕ S1 ⊕

slide-81
SLIDE 81

Example

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 12 / 20

X1: V1: Ω1: S1: ⊕

slide-82
SLIDE 82

Example

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 12 / 20

X2: V2: Φ Φ Ω1: S2: ⊕

slide-83
SLIDE 83

Example

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 12 / 20

X2: V2: Ω2: S2: ⊕

slide-84
SLIDE 84

Example

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 12 / 20

X3: V3: Φ Φ Ω2: S3: ⊕

slide-85
SLIDE 85

Example

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 12 / 20

X3: V3: Ω3: S3: ⊕

slide-86
SLIDE 86

Example

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 12 / 20

X4: V4: Φ Φ Ω3: S4: ⊕

slide-87
SLIDE 87

Example

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 12 / 20

X4: V4: Ω4: S4:

slide-88
SLIDE 88

Example

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 12 / 20

X5: V5: Ω5: S5:

slide-89
SLIDE 89

Hybrid Systems

Introduction The wrapping effect A new algorithm A simple idea Exact Algorithm Interval Hull Approximation Example Hybrid Systems Experimental Results Conclusion

Colas Le Guernic HSCC 2006 – 13 / 20

If we are tight in the direction given by the normal to the guards: Ωi intersects Ge ⇐ ⇒ Ωi intersects Ge.

slide-90
SLIDE 90

Experimental Results

Introduction The wrapping effect A new algorithm Experimental Results Dim 5 ET Benchmarks Conclusion

Colas Le Guernic HSCC 2006 – 14 / 20

slide-91
SLIDE 91

Dim 5

Introduction The wrapping effect A new algorithm Experimental Results Dim 5 ET Benchmarks Conclusion

Colas Le Guernic HSCC 2006 – 15 / 20

Result can be exported to the Multi-Parametric Toolbox (MPT).

slide-92
SLIDE 92

Comparaison with the Ellipsoidal Toolbox

Introduction The wrapping effect A new algorithm Experimental Results Dim 5 ET Benchmarks Conclusion

Colas Le Guernic HSCC 2006 – 16 / 20

Interval Hull vs ET (tight in one random direction) [Kurzhanskiy,Varaiya] dimension 5, 1000 time steps in 0.01s.

slide-93
SLIDE 93

Benchmarks

Colas Le Guernic HSCC 2006 – 17 / 20

d = 5 10 20 50 100 150 200 Exact 0.0s 0.02s 0.11s 1.11s 8.43s 35.9s 136s BOX 0.0s 0.01s 0.07s 0.91s 8.08s 28.8s 131s d = 5 10 20 50 100 150 200 Exact 246KB 492KB 1.72MB 8.85MB 33.7MB 75.2MB 133MB BOX 246KB 246KB 246KB 492KB 983KB 2.21MB 3.69MB Table 1: Time and memory consumption for N = 100 for several linear time- invariant systems of different dimensions

slide-94
SLIDE 94

Conclusion

Introduction The wrapping effect A new algorithm Experimental Results Conclusion Summary Future work

Colas Le Guernic HSCC 2006 – 18 / 20

slide-95
SLIDE 95

Summary

Introduction The wrapping effect A new algorithm Experimental Results Conclusion Summary Future work

Colas Le Guernic HSCC 2006 – 19 / 20

as fast as Kurzhanskiy and Varaiya’s algorithm (tight in two directions)

needs very little memory

can deal with any kind of input

can produce nearly any kind of output (polytopes, ellipsoids,. . .)

tight over- and under-approximation in user specified directions

better approximation

guard optimal

slide-96
SLIDE 96

Future work

Introduction The wrapping effect A new algorithm Experimental Results Conclusion Summary Future work

Colas Le Guernic HSCC 2006 – 20 / 20

implementation of S-band intersections

intersection with the guards

use of the support function

drop complexity

parallelization