Solution Concepts www.unisi.it and W ell-posedness of Hybrid - - PDF document

solution concepts
SMART_READER_LITE
LIVE PREVIEW

Solution Concepts www.unisi.it and W ell-posedness of Hybrid - - PDF document

st 1 HYCON PhD School on Hybrid Systems www.ist-hycon.org Solution Concepts www.unisi.it and W ell-posedness of Hybrid Systems Maurice Heemels Embedded Systems Institute (NL) maurice.heemels@embeddedsystems.nl scimanyd suounitnoc enibmoc


slide-1
SLIDE 1

5

HYSCOM

IEEE CSS Technical Committee on Hybrid Systems

scimanyd suounitnoc enibmoc smetsys dirbyH lacipyt (snoitauqe ecnereffid ro laitnereffid) scimanyd etercsid dna stnalp lacisyhp fo fo lacipyt (snoitidnoc lacigol dna atamotua) fo senilpicsid gninibmoc yB .cigol lortnoc ,yroeht lortnoc dna smetsys dna ecneics retupmoc dilos a edivorp smetsys dirbyh no hcraeser ,sisylana eht rof sloot lanoitatupmoc dna yroeht fo ngised lortnoc dna ,noitacifirev ,noitalumis egral a ni desu era dna ,''smetsys deddebme`` ria ,smetsys evitomotua) snoitacilppa fo yteirav ssecorp ,smetsys lacigoloib ,tnemeganam ciffart .(srehto ynam dna ,seirtsudni

www.ist-hycon.org www.unisi.it

1 HYCON PhD School on Hybrid Systems

st

Siena, July 1 9-22, 2005 - Rectorate of the University of Siena

Solution Concepts and W ell-posedness

  • f Hybrid Systems

Maurice Heemels

Embedded Systems Institute (NL)

maurice.heemels@embeddedsystems.nl

slide-2
SLIDE 2

◭ ◭ ◭ ◮ ◮ ◮

1/62

◭ ◭ ◭ ◮ ◮ ◮

1/62

Solution Concepts and Well-posedness

  • f Hybrid Systems

Maurice Heemels Embedded Systems Institute Eindhoven, The Netherlands maurice.heemels@esi.nl HYCON Summer School on Hybrid Systems

slide-3
SLIDE 3

◭ ◭ ◭ ◮ ◮ ◮

2/62

◭ ◭ ◭ ◮ ◮ ◮

2/62

Key issues:

  • Solution concepts
  • Well-posedness: existence & uniqueness of solutions given an initial

condition

Outline lecture

  • Smooth systems: differential equations
  • Switched systems: Discontinuous differential equations: “classics”
  • Hybrid automata
  • Zenoness: importance of choice of solution concept
  • Some piecewise linear, linear relay and complementarity systems
  • Summary
slide-4
SLIDE 4

◭ ◭ ◭ ◮ ◮ ◮

3/62

◭ ◭ ◭ ◮ ◮ ◮

3/62

Solution concept

Description format / syntax / model

solutions / trajectories / executions/ semantics/ behavior

Well-posedness: given initial condition does there exists a solution and is it unique? Let’s start simple ...

slide-5
SLIDE 5

◭ ◭ ◭ ◮ ◮ ◮

4/62

◭ ◭ ◭ ◮ ◮ ◮

4/62

Smooth differential equations

Example ˙

x = f(t, x) x(t0) = x0.

A solution trajectory is a function x : [t0, t1] → Rn that is continuous, differentiable and satisfies x(t0) = x0 and

˙ x(t) = f(t, x(t)) for all t ∈ (t0, t1)

Well-posedness: given initial condition does there exists a solution and is it unique?

slide-6
SLIDE 6

◭ ◭ ◭ ◮ ◮ ◮

5/62

◭ ◭ ◭ ◮ ◮ ◮

5/62

Well-posedness

Example ˙

x = 2√x, x(0) = 0. Solutions: x(t) = 0 and x(t) = t2.

Local existence and uniqueness of solutions given an initial condition: Theorem 1 Let f(t, x) be piecewise continuous in t and satisfy the following Lipschitz condition: there exist an L > 0 and r > 0 such that

f(t, x) − f(t, y) ≤ Lx − y

and all x and y in a neighborhood B := {x ∈ Rn | x − x0 < r} of x0 and for all t ∈ [t0, t1].

There is a δ > 0 s.t. a unique solution exists on [t0, t0 + δ] starting in x0 at

t0.

slide-7
SLIDE 7

◭ ◭ ◭ ◮ ◮ ◮

6/62

◭ ◭ ◭ ◮ ◮ ◮

6/62

Global well-posedness

Example ˙

x = x2 + 1, x(0) = 0. Solution: x(t) = tan t. Local on [0, π/2).

  • Note that we have limt↑π/2 x(t) = ∞. Finite escape time!

Theorem 2 (Global Lipschitz condition) Suppose f(t, x) is piecewise con- tinuous in t and satisfies

f(t, x) − f(t, y) ≤ Lx − y

for all x, y in Rn and for all t ∈ [t0, t1]. Then, a unique solution exists on

[t0, t1] for any initial state x0 at t0.

  • Not necessary: ˙

x = −x3 not glob. Lipsch., but unique global solutions.

  • Also in hybrid systems, but even more awkward stuff (Zeno)
slide-8
SLIDE 8

◭ ◭ ◭ ◮ ◮ ◮

7/62

◭ ◭ ◭ ◮ ◮ ◮

7/62

Discontinuous differential equations: a class of switched systems

C+ C- x' = f (x)

+

x' = f (x)

  • φ(x)=0

˙ x =

  • f+(x)

, if x ∈ C+ := {x ∈ Rn | φ(x) > 0} f−(x) , if x ∈ C− := {x ∈ Rn | φ(x) < 0}

  • x in interior of C− or C+: just follow!
  • f−(x) and f+(x) point in same direction: just follow!

n(x) = ∇φ(x) ∇φ(x) then (n(x)Tf−(x)) · (n(x)Tf+(x)) > 0

  • n(x)Tf+(x) > 0 (f+(x) points towards C+) and n(x)Tf−(x) < 0 (f−(x) points towards C−):

At least two trajectories

slide-9
SLIDE 9

◭ ◭ ◭ ◮ ◮ ◮

8/62

◭ ◭ ◭ ◮ ◮ ◮

8/62

Sliding modes

C+

C-

f (x )

+

x0 f (x )

  • φ(x)=0

n(x)Tf+(x) < 0 (f+(x) points towards C−) and n(x)Tf−(x) > 0 (f−(x) points towards C+).

No classical solution

  • Relaxation: spatial (hysteresis) ∆, time delay τ, smoothing ε
  • Chattering / infinitely fast switching (limit case ∆ ↓ 0, ε ↓ 0, and τ ↓ 0)

Filippov’s convex definition: convex combination of both dynamics

˙ x = λf+(x) + (1 − λ)f−(x) with 0 ≤ λ ≤ 1

such that x moves (“slides”) along φ(x) = 0. “Third mode ... ”

slide-10
SLIDE 10

◭ ◭ ◭ ◮ ◮ ◮

9/62

◭ ◭ ◭ ◮ ◮ ◮

9/62

Differential inclusions ˙ x =      f+(x),

if φ(x) > 0

λf+(x) + (1 − λ)f−(x),

if φ(x) = 0, 0 ≤ λ ≤ 1

f−(x),

if φ(x) < 0, Differential inclusion ˙

x ∈ F(x) with set-valued F(x) =      {f+(x)}, φ(x) > 0 {λf+(x) + (1 − λ)f−(x) | λ ∈ [0, 1]}, φ(x) = 0 {f−(x)}, φ(x) < 0

Definition 3 A function x : [a, b] → Rn is a solution of ˙

x ∈ F(x), if x is

absolutely continuous and satisfies ˙

x(t) ∈ F(x(t)) for almost all t ∈ [a, b].

slide-11
SLIDE 11

◭ ◭ ◭ ◮ ◮ ◮

10/62

◭ ◭ ◭ ◮ ◮ ◮

10/62

A well-posedness result

C+ C- x' = f (x)

+

x' = f (x)

  • φ(x)=0
  • f− and f+ are continuously differentiable (C1)
  • φ is C2
  • the discontinuity vector h(x) := f+(x) − f−(x) is C1

If for each point x with φ(x) = 0 at least one of the two inequalities

n(x)Tf+(x) < 0 or n(x)Tf−(x) > 0 (for different points a different in-

equality may hold), then the Filippov solutions exist and are unique.

slide-12
SLIDE 12

◭ ◭ ◭ ◮ ◮ ◮

11/62

◭ ◭ ◭ ◮ ◮ ◮

11/62

Alternative: Utkin’s equivalent control definition ˙ x = f(x, u) with u =

  • g+(x),

ξ(x) > 0 g−(x), ξ(x) < 0

  • Sliding mode: f+(x) := f(x, g+(x)) and f−(x) := f(x, g−(x)) point
  • utside C+ and C−, resp.

uequiv ∈ U(x) :=      {g+(x)},

if ξ(x) > 0

{λg+(x) + (1 − λ)g−(x) | λ ∈ [0, 1]},

if ξ(x) = 0

{g−(x)},

if ξ(x) < 0 Differential inclusion

˙ x ∈ F(x) := f(x, U(x)) = {f(x, u) | u ∈ U(x)}

“Idealization” determines Filippov/ Utkin / different solution concept!

slide-13
SLIDE 13

◭ ◭ ◭ ◮ ◮ ◮

12/62

◭ ◭ ◭ ◮ ◮ ◮

12/62

Example ˙ x1 = −x1 + x2 − u ˙ x2 = 2x2(u2 − u − 1) u =

  • 1,

if x1 > 0

−1,

if x1 < 0. Two “original” dynamics:

  • C+: x1 > 0:

˙ x = f+(x) ˙ x1 = −x1 + x2 − 1 ˙ x2 = −2x2

  • C−: x1 < 0:

˙ x = f−(x) ˙ x1 = −x1 + x2 + 1 ˙ x2 = 2x2

slide-14
SLIDE 14

◭ ◭ ◭ ◮ ◮ ◮

13/62

◭ ◭ ◭ ◮ ◮ ◮

13/62

Vector fields

slide-15
SLIDE 15

◭ ◭ ◭ ◮ ◮ ◮

14/62

◭ ◭ ◭ ◮ ◮ ◮

14/62

Vector fields: zoom

slide-16
SLIDE 16

◭ ◭ ◭ ◮ ◮ ◮

15/62

◭ ◭ ◭ ◮ ◮ ◮

15/62

Sliding modes?

Two “original” dynamics:

  • C+: x1 > 0:

˙ x = f+(x) ˙ x1 = −x1 + x2 − 1 ˙ x2 = −2x2

  • C−: x1 < 0:

˙ x = f−(x) ˙ x1 = −x1 + x2 + 1 ˙ x2 = 2x2

  • n(x)Tf+(x) = x2 − 1 < 0

− → x2 < 1

  • n(x)Tf−(x) = x2 + 1 > 0

− → x2 > −1

  • Sliding possible in x1 = 0 and x2 ∈ [−1, 1].
slide-17
SLIDE 17

◭ ◭ ◭ ◮ ◮ ◮

16/62

◭ ◭ ◭ ◮ ◮ ◮

16/62

Filippov’s solution concept

Two “original” dynamics:

  • C+: x1 > 0:

˙ x = f+(x) ˙ x1 = −x1 + x2 − 1 ˙ x2 = −2x2

  • C−: x1 < 0:

˙ x = f−(x) ˙ x1 = −x1 + x2 + 1 ˙ x2 = 2x2

  • Filippov: Take convex combination of dynamics such that state slides on

x1 = 0: Hence, x1 = ˙ x1 = 0.

  • λ(x2 − 1) + (1 − λ)(x2 + 1) = 0 implies λ = 1

2(x2 + 1)

  • Hence, ˙

x2 = λ(−2x2) + (1 − λ)(2x2) = −2x2

2

  • 0 is unstable equilibrium.
slide-18
SLIDE 18

◭ ◭ ◭ ◮ ◮ ◮

17/62

◭ ◭ ◭ ◮ ◮ ◮

17/62

Vector fields: Filippov’s case

slide-19
SLIDE 19

◭ ◭ ◭ ◮ ◮ ◮

18/62

◭ ◭ ◭ ◮ ◮ ◮

18/62

Utkin’s solution concept ˙ x1 = −x1 + x2 − u ˙ x2 = 2x2(u2 − u − 1) u =

  • 1,

if x1 > 0

−1,

if x1 < 0.

  • The equivalent control uequiv is such that state slides along x1 = 0. Hence,

x1 = ˙ x1 = 0 and thus uequiv = x2 and ˙ x2 = 2x2(x2

2 − x2 − 1)

  • Equilibria: -0.618 (unstable) and 0 (stable)
slide-20
SLIDE 20

◭ ◭ ◭ ◮ ◮ ◮

19/62

◭ ◭ ◭ ◮ ◮ ◮

19/62

Vector fields

slide-21
SLIDE 21

◭ ◭ ◭ ◮ ◮ ◮

20/62

◭ ◭ ◭ ◮ ◮ ◮

20/62

Solution trajectories

slide-22
SLIDE 22

◭ ◭ ◭ ◮ ◮ ◮

21/62

◭ ◭ ◭ ◮ ◮ ◮

21/62

Two relaxations

  • Smoothing u(t) = tanh(x1/ε)
  • hysteresis type of switching parameter ∆
slide-23
SLIDE 23

◭ ◭ ◭ ◮ ◮ ◮

22/62

◭ ◭ ◭ ◮ ◮ ◮

22/62

Solution trajectories: Filippov’s case + hysteresis

slide-24
SLIDE 24

◭ ◭ ◭ ◮ ◮ ◮

23/62

◭ ◭ ◭ ◮ ◮ ◮

23/62

Solution trajectories: Utkin’s case + smoothing

slide-25
SLIDE 25

◭ ◭ ◭ ◮ ◮ ◮

24/62

◭ ◭ ◭ ◮ ◮ ◮

24/62

Conclusions on discontinuous dynamical systems

  • Two mathematical solutions concepts: Filippov + Utkin
  • Both limit cases (“idealizations”) of very fast switching
  • Which one you use depends on non-ideal cases (regularizations)
  • Sliding mode might be seen as third mode in hybrid automaton. Some

subtleties in HA solution concept!

slide-26
SLIDE 26

◭ ◭ ◭ ◮ ◮ ◮

25/62

◭ ◭ ◭ ◮ ◮ ◮

25/62

From classical to modern solution concepts

slide-27
SLIDE 27

◭ ◭ ◭ ◮ ◮ ◮

26/62

◭ ◭ ◭ ◮ ◮ ◮

26/62

Hybrid Systems

  • Smooth phases (governed by differential equations)
  • Discrete events and actions

Smooth phases separated by event times ...

slide-28
SLIDE 28

◭ ◭ ◭ ◮ ◮ ◮

27/62

◭ ◭ ◭ ◮ ◮ ◮

27/62

Event times

x1 x2 ˙ x1(t) = x3(t) ˙ x2(t) = x4(t) ˙ x3(t) = −2x1(t) + x2(t) + z(t) ˙ x4(t) = x1(t) − x2(t) w(t) = x1(t) w(t) ≥ 0, z(t) ≥ 0, {w(t) = 0 or z(t) = 0}

unconstrained constrained

˙ x1(t) = x3(t) ˙ x1(t) = x3(t) ˙ x2(t) = x4(t) ˙ x2(t) = x4(t) ˙ x3(t) = −2x1(t) + x2(t) ˙ x3(t) = −2x1(t) + x2(t) + z(t) ˙ x4(t) = x1(t) + x2(t) ˙ x4(t) = x1(t) + x2(t) z(t) = 0 w(t) = x1(t) = 0.

unconstrained constrained

w(t) ≥ 0 z(t) ≥ 0

slide-29
SLIDE 29

◭ ◭ ◭ ◮ ◮ ◮

28/62

◭ ◭ ◭ ◮ ◮ ◮

28/62

x1 x2

  • Event times set E is {0, 1, 1 + π

2}

slide-30
SLIDE 30

◭ ◭ ◭ ◮ ◮ ◮

29/62

◭ ◭ ◭ ◮ ◮ ◮

29/62

Example: Bouncing ball

  • Reset x2(τ+) := −cx2(τ−) when x1(τ−) = 0 and x2(τ−) ≤ 0
  • The event times: τi+1 = τi + 2cix2(0)

g

when x1(0) = 0 and x2(0) > 0.

  • limi→∞ τi = τ ∗ = 2x2(0)

g−gc < ∞

slide-31
SLIDE 31

◭ ◭ ◭ ◮ ◮ ◮

30/62

◭ ◭ ◭ ◮ ◮ ◮

30/62

Zeno of Elea and one of his paradoxes

Distance Travelled (m) by Achilles 1 0.5 0.25 0.125 0.0625 0.03125 0.015625 0.0078125 0.00390625 0.001953125 Event times of A reaching previous T posi- tion 1 1.5 1.75 1.875 1.9375 1.96875 1.984375 1.9921875 1.99609375 1.998046875

slide-32
SLIDE 32

◭ ◭ ◭ ◮ ◮ ◮

31/62

◭ ◭ ◭ ◮ ◮ ◮

31/62

Definition 4 A set E ⊂ R+ is called an admissible event times set, if it is closed and countable, and 0 ∈ E. E.g. E = {τ0, τ1, τ2, . . .}.

  • An element t of a set E is said to be a left accumulation point of E, if for

all t′ > t (t, t′) ∩ E is not empty.

  • It is called a right accumulation point, if for all t′ < t (t′, t) ∩ E is not

empty Definition 5 An admissible event times set E (or the corresponding solu- tion) is said to be left (right) Zeno free, if it does not contain any left (right) accumulation points.

  • Bouncing ball → right accumulation point ...
  • Time-reversed bouncing ball:
slide-33
SLIDE 33

◭ ◭ ◭ ◮ ◮ ◮

32/62

◭ ◭ ◭ ◮ ◮ ◮

32/62

Two-tank system and Zeno behavior

slide-34
SLIDE 34

◭ ◭ ◭ ◮ ◮ ◮

33/62

◭ ◭ ◭ ◮ ◮ ◮

33/62

A simulation h1 = h2 = 1, q1 = 2, q2 = 3, qin = 4, x1(0) = x2(0) = 2, q(0) = v1

slide-35
SLIDE 35

◭ ◭ ◭ ◮ ◮ ◮

34/62

◭ ◭ ◭ ◮ ◮ ◮

34/62

Two-tank system and Zeno behavior

  • Assume total outflow q1 + q2 > qin
  • Control objective cannot be met and tanks will be empty in finite time
  • Infinitely many switchings in finite time (right accumulation point) →

right Zeno behavior Using a non-Zeno solution concept: analysis will show that tanks do not get empty! Analysis depends crucially on solution concept!

slide-36
SLIDE 36

◭ ◭ ◭ ◮ ◮ ◮

35/62

◭ ◭ ◭ ◮ ◮ ◮

35/62

Hybrid automaton

Hybrid automaton H is collection H = (Q, X, f, Init, Inv, E, G, R) with

  • Q = {q1, . . . , qN} is finite set of discrete states or modes
  • X = Rn is set of continuous states
  • f : Q × X → X is vector field
  • Init ⊆ Q × X is set of initial states
  • Inv : Q → P(X) describes the invariants
  • E ⊆ Q × Q is set of edges or transitions
  • G : E → P(X) is guard condition
  • R : E → P(X × X) is reset map
slide-37
SLIDE 37

◭ ◭ ◭ ◮ ◮ ◮

36/62

◭ ◭ ◭ ◮ ◮ ◮

36/62

What is what?

Hybrid automaton H = (Q, X, f, Init, Inv, E, G, R)

  • Hybrid state: (q, x)
  • Evolution of continuous state in mode q: ˙

x = f(q, x)

  • Invariant Inv: describes conditions that continuous state has to satisfy

at given mode

  • Guard G: specifies subset of state space where certain transition is en-

abled

  • Reset map R: specifies how new continuous states are related to previ-
  • us continuous states
slide-38
SLIDE 38

◭ ◭ ◭ ◮ ◮ ◮

37/62

◭ ◭ ◭ ◮ ◮ ◮

37/62

slide-39
SLIDE 39

◭ ◭ ◭ ◮ ◮ ◮

38/62

◭ ◭ ◭ ◮ ◮ ◮

38/62

Evolution of hybrid automaton

  • Initial hybrid state (q0, x0) ∈ Init
  • Continuous state x evolves according to

˙ x = f(q0, x)

with x(0) = x0 discrete state q remains constant: q(t) = q0

  • Continuous evolution can go on as long as x ∈ Inv(q0)
  • If at some point state x reaches guard G(q0, q1), then

– transition q0 → q1 is enabled – discrete state may change to q1, continuous state then jumps from current value x− to new value x+ with (x−, x+) ∈ R(q0, q1)

  • Next, continuous evolution resumes and whole process is repeated
slide-40
SLIDE 40

◭ ◭ ◭ ◮ ◮ ◮

39/62

◭ ◭ ◭ ◮ ◮ ◮

39/62

Hybrid time trajectory

Definition 6 A hybrid time trajectory τ = {Ii}N

i=0 is a finite (N < ∞) or

infinite (N = ∞) sequence of intervals of the real line, such that

  • Ii = [τi, τ ′

i] with τi ≤ τ ′ i = τi+1 for 0 ≤ i < N;

  • if N < ∞, either IN = [τN, τ ′

N] or IN = [τN, τ ′ N) with τN ≤ τ ′ N ≤ ∞.

  • For instance,

τ = {[0, 2], [2, 3], {3}, {3}, [3, 4.5], {4.5}, [4.5, 6]} τ = {[0, 2], [2, 3], [3, 4.5], {4.5}, [4.5, 6], [6, ∞)} Ii = [1 − 2i, 1 − 2i+1]

  • E = {τ0, τ1, τ2, . . .}
  • No left-accumulations of event times ...
slide-41
SLIDE 41

◭ ◭ ◭ ◮ ◮ ◮

40/62

◭ ◭ ◭ ◮ ◮ ◮

40/62

Execution of hybrid automaton

Definition 7 An execution χ of a HA consists of χ = (τ, q, x)

  • τ a hybrid time trajectory;
  • q = {qi}N

i=0 with qi : Ii → Q; and

  • x = {xi}N

i=0 with xi : Ii → X

Initial condition (q(τ0), x(τ0)) ∈ Init; Continuous evolution for all i

  • qi is constant, i.e. qi(t) = qi(τi) for all t ∈ Ii;
  • xi is solution to ˙

x(t) = f(qi(t), x(t)) on Ii with initial condition xi(τi) at τi;

  • for all t ∈ [τi, τ′

i) it holds that xi(t) ∈ Inv(qi(t)).

Discrete evolution for all i,

  • e = (qi(τ′

i), qi+1(τi+1)) ∈ E,

  • x(τ′

i) ∈ G(e);

  • (xi(τ′

i), xi+1(τi+1)) ∈ R(e).

slide-42
SLIDE 42

◭ ◭ ◭ ◮ ◮ ◮

41/62

◭ ◭ ◭ ◮ ◮ ◮

41/62

Well-posedness for hybrid automata

  • H∞

(q0,x0): infinite executions: τ is an infinite sequence or if i(τ ′ i −τi) =

  • HM

(q0,x0): maximal executions: τ is not a strict prefix of another one!

  • A hybrid automaton is called non-blocking, if H∞

(q0,x0) is non-empty for all

(q0, x0) ∈ Init.

  • It is called deterministic, if HM

(q0,x0) contains at most one element for all

(q0, x0) ∈ Init.

slide-43
SLIDE 43

◭ ◭ ◭ ◮ ◮ ◮

42/62

◭ ◭ ◭ ◮ ◮ ◮

42/62

Well-posedness for hybrid automata - continued

Assumption

  • The vector field f(q, ·) is globally Lipschitz continuous for all q ∈ Q.
  • The edge e = (q, q′) is contained in E if and only if G(e) = ∅ and

x ∈ G(e) if and only if there is an x′ ∈ X such that (x, x′) ∈ R(e).

A state (ˆ

q, ˆ x) ∈ Reach, if there exists a finite execution (τ, q, x) with τ = {[τi, τ ′

i]}N i=0 and (q(τ ′ N), x(τ ′ N)) = (ˆ

q, ˆ x).

The set of states from which continuous evolution is impossible :

Out = {(q0, x0) ∈ Q × X | ∀ε > 0∃t ∈ [0, ε) xq0,x0(t) ∈ Inv(q0)}

in which xq0,x0(·) denotes the unique solution to ˙

x = f(q0, x) with x(0) = x0.

slide-44
SLIDE 44

◭ ◭ ◭ ◮ ◮ ◮

43/62

◭ ◭ ◭ ◮ ◮ ◮

43/62

Well-posedness theorems

Theorem A hybrid automaton is non-blocking, if for all (q, x) ∈ Reach ∩

Out, there exists e = (q, q′) ∈ E with x ∈ G(e). In case the automaton is

deterministic, this condition is also necessary. Theorem A hybrid automaton is deterministic, if and only if for all (q, x) ∈

Reach

  • if x ∈ G((q, q′)) for some (q, q′) ∈ E, then (q, x) ∈ Out;
  • if (q, q′) ∈ E and (q, q′′) ∈ E with q′ = q′′, then x ∈ G((q, q′)) ∩

G((q, q′′)); and

  • if (q, q′) ∈ E and x ∈ G((q, q′)), then there is at most one x′ ∈ X with

(x, x′) ∈ R((q, q′)). − → no explicit / algebraic conditions and not easily verifiable → can we do

more (like for DDE)?

slide-45
SLIDE 45

◭ ◭ ◭ ◮ ◮ ◮

44/62

◭ ◭ ◭ ◮ ◮ ◮

44/62

Well-posedness issues

  • Initial well-posedness: non-blocking + deterministic, i.e. absence of
  • dead-lock: no smooth continuation and no jump
  • splitting of trajectories

However, no statements by HA theory on existence beyond

  • live-lock: an infinite number of jumps at one time instant, no solution
  • n [0, ε) for some ε > 0.
  • right-accumulations of event times to prevent global existence.
  • r absence of
  • left-accumulations of event times preventing uniqueness:
slide-46
SLIDE 46

◭ ◭ ◭ ◮ ◮ ◮

45/62

◭ ◭ ◭ ◮ ◮ ◮

45/62

Obstruction local existence → Live-lock: Infinitely many jumps at one time instant

V (0)=1

1

V (0)=0

2

V (0)=0

3

Ball 1 Ball 2 Ball 3

v1 : 1

1 2 1 2 3 8 3 8 11 32 . . . 1 3

v2 : 0

1 2 1 4 3 8 5 16 11 32 . . . 1 3

v3 : 0 0

1 4 1 4 5 16 5 16 . . . 1 3

  • smooth continuation possible with constant velocity after an infinite num-

ber of events

− → Exclude live-lock or show convergence of state x for local existence

  • Discrete mode is a function of continuous state! not for general HA!!!
slide-47
SLIDE 47

◭ ◭ ◭ ◮ ◮ ◮

46/62

◭ ◭ ◭ ◮ ◮ ◮

46/62

Obstruction global existence: Zenoness → A right-accumulation of event times ˙ x1 = − sgn(x1) + 2 sgn(x2) ˙ x2 = −2 sgn(x1) − sgn(x2)

−1 1 2 3 4 5 6 7 −3 −2 −1 1 2 3 4 5 x_1 x_2

  • Exclude right-accumulations or show the existence of the left-limit

limt↑τ ∗ x(t) for global existence.

  • Discrete mode is a function of continuous state! not for general HA!!!
slide-48
SLIDE 48

◭ ◭ ◭ ◮ ◮ ◮

47/62

◭ ◭ ◭ ◮ ◮ ◮

47/62

Obstructions local uniqueness: Filippov’s example ˙ x1 = sgn(x1) − 2sgn(x2) ˙ x2 = 2sgn(x1) + sgn(x2),

−1 1 2 3 4 5 6 7 −3 −2 −1 1 2 3 4 5 x_1 x_2

Left accumulation point ... E is not left Zeno free! Well-posedness:

  • Due to left-accumulations non-uniqueness in origin
  • Using HA framework: non-blocking and deterministic
  • Using Filippov’s solution: non-uniqueness!
slide-49
SLIDE 49

◭ ◭ ◭ ◮ ◮ ◮

48/62

◭ ◭ ◭ ◮ ◮ ◮

48/62

Well-posedness

  • Initially solvable from each initial state there exists a state jump or a con-

tinuous hybrid solution on [0, ε) (non-blocking)

  • Initially unique from each initial state the jump/hybrid solution is unique

(deterministic)

  • Local well-posedness from each initial state there exists an ε > 0 and a

hybrid solution on [0, ε).

  • Global well-posedness ... on [0, ∞).
slide-50
SLIDE 50

◭ ◭ ◭ ◮ ◮ ◮

49/62

◭ ◭ ◭ ◮ ◮ ◮

49/62

Piecewise linear systems SAT(A, B, C, D) ˙ x(t) = Ax(t) + Bu(t) ei

2 − ei 1 > 0 and f i 1 ≥ f i 2

y(t) = Cx(t) + Du(t) (u(t), y(t)) ∈ saturationi

✲ ✻ ❙ ❙ ❙ ❙ ❙ ❙ ❙ ❙

ui yi ei

2

ei

1

f i

2

f i

1

Note that if f i

2 = f i 1, then relay-type of nonlinearity.

slide-51
SLIDE 51

◭ ◭ ◭ ◮ ◮ ◮

50/62

◭ ◭ ◭ ◮ ◮ ◮

50/62

Example of linear relay system: non-uniqueness ˙ x = x − u y = x u ∈ −sgn(y) x(0) = 0:

  • x(t) = et − 1, (y(t) = x(t) ≥ 0)
  • x(t) = −et + 1, (y(t) = x(t) ≤ 0)
  • x(t) = 0, (y(t) = x(t) = 0)
slide-52
SLIDE 52

◭ ◭ ◭ ◮ ◮ ◮

51/62

◭ ◭ ◭ ◮ ◮ ◮

51/62

Example of linear relay system: uniqueness ˙ x = x + u y = x u ∈ −sgn(y) x(0) = 0:

  • x(t) = 0, (y(t) = x(t) = 0)
slide-53
SLIDE 53

◭ ◭ ◭ ◮ ◮ ◮

52/62

◭ ◭ ◭ ◮ ◮ ◮

52/62

Piecewise linear systems

✲ ✻ ❙ ❙ ❙ ❙ ❙ ❙

ui yi ei

2

ei

1

f i

2

f i

1

Consider SAT(A, B, C, D).

  • Let R and S be the diagonal matrices with ei

2 − ei 1 and f i 2 − f i 1, resp.

  • G(s) = C(sI − A)−1B + D

Suppose that G(σ)R − S is a P-matrix for all sufficiently large σ. Then, there exists a unique (left Zeno free) hybrid execution of SAT(A, B, C, D) for all initial states.

  • M ∈ Rm×m is a P-matrix, if detMII > 0 for all I ⊆ {1, . . . , m}.
slide-54
SLIDE 54

◭ ◭ ◭ ◮ ◮ ◮

53/62

◭ ◭ ◭ ◮ ◮ ◮

53/62

Linear relay systems and Filippov’s solution concept: left accumula- tions ˙ x(t) = Ax(t) + Bu(t); y(t) = Cx(t); u(t) ∈ −sgn(y(t))

Previous result: If G(σ) = CBσ−1 + CABσ−2 + . . . > 0 for sufficiently large σ, then existence and uniqueness of (left-Zeno free) executions.

slide-55
SLIDE 55

◭ ◭ ◭ ◮ ◮ ◮

54/62

◭ ◭ ◭ ◮ ◮ ◮

54/62

Other solution concept ...?

Filippov’s solutions include left-accumulations and satisfy ˙

x ∈ F(x) almost

everywhere, with

  • F(x) = {Ax + B} for Cx < 0
  • F(x) = {Ax − B} for Cx > 0
  • F(x) = {Ax + B¯

u | ¯ u ∈ [−1, 1]} when Cx = 0

In case of relative degree 1 (CB > 0) and relative degree 2 (and order 2) sufficient for Filippov uniqueness. However, triple integrator d3x

dt3 = u counterexample due to:

So, (other) example of HA uniqueness (deterministic), but non-uniqueness in “Filippov”

slide-56
SLIDE 56

◭ ◭ ◭ ◮ ◮ ◮

55/62

◭ ◭ ◭ ◮ ◮ ◮

55/62

Linear complementarity systems

x1 x2

˙ x(t) = Ax(t) + Bz(t) w(t) = Cx(t) + Dz(t) 0 ≤ w(t) ⊥ z(t) ≥ 0 {zi(t) = 0 and wi(t) ≥ 0} or {wi(t) = 0 and zi(t) ≥ 0}

  • modes parameterized by I ⊆ {1, . . . , k} such that

˙ x(t) = Ax(t) + Bz(t w(t) = Cx(t) + Dz(t) wi = 0, i ∈ I and zi = 0, i ∈ I

slide-57
SLIDE 57

◭ ◭ ◭ ◮ ◮ ◮

56/62

◭ ◭ ◭ ◮ ◮ ◮

56/62

Example 1 ˙ x = x + z w = x − z 0 ≤ w ⊥ z ≥ 0

  • z = 0: ˙

x = x, w = x ≥ 0

  • w = 0: ˙

x = 2x, z = x ≥ 0

Hence, x(0) = 1 two solutions and x(0) = −1 no solution trajectory!

slide-58
SLIDE 58

◭ ◭ ◭ ◮ ◮ ◮

57/62

◭ ◭ ◭ ◮ ◮ ◮

57/62

Example 2 ˙ x = x + z w = x + z 0 ≤ w ⊥ z ≥ 0

  • z = 0: ˙

x = x, w = x ≥ 0

  • w = 0: ˙

x = 0, z = −x ≥ 0

Existence and uniqueness! Model test ...

slide-59
SLIDE 59

◭ ◭ ◭ ◮ ◮ ◮

58/62

◭ ◭ ◭ ◮ ◮ ◮

58/62

Well-posedness including jumps

  • Initially solvable from each initial state there exists a state jump or a con-

tinuous hybrid solution on [0, ε) (non-blocking)

  • Initially unique from each initial state the jump/hybrid solution is unique

(deterministic)

  • Local well-posedness from each initial state there exists an ε > 0 and a

hybrid solution on [0, ε).

  • Global well-posedness ... on [0, ∞).
slide-60
SLIDE 60

◭ ◭ ◭ ◮ ◮ ◮

59/62

◭ ◭ ◭ ◮ ◮ ◮

59/62

Local well-posedness (including jumps) ˙ x(t) = Ax(t) + Bz(t), w(t) = Cx(t) + Dz(t), 0 ≤ z(t) ⊥ w(t) ≥ 0

Markov parameters: H0 = D and Hi = CAi−1B, i = 1, 2, . . .

ηj = inf{i | Hi

  • j = 0}, ρj = inf{i | Hi

j• = 0},

The leading row and column coefficient matrices M and N

M :=   Hρ1

1•

. . .

Hρk

k•

  and N := (Hη1

  • 1 . . . Hηk
  • k)
  • M ∈ Rm×m is a P-matrix, if detMII > 0 for all I ⊆ {1, . . . , m}.

If N and M are defined and P-matrices, then LCS(A, B, C, D) has for all

x0 a unique left Zeno free execution on an interval of the form [0, ε) for

some ε > 0.

  • Moreover, live-lock does not occur: at most one jump
  • Necessary and sufficient for global well-posedness for bimodal LCS
slide-61
SLIDE 61

◭ ◭ ◭ ◮ ◮ ◮

60/62

◭ ◭ ◭ ◮ ◮ ◮

60/62

Summary

  • Smooth differential equations

– Solution concept straightforward – Lipschitz continuity sufficient for well-posedness – absence Lipschitz: possibly non-uniqueness – absence global Lipschitz finite escape times and no global existence

  • Switched systems (discontinuous differential equations)

– Sliding modes (Filippov’s convex or Utkin’s equivalent control defi- nition) – Solution concept from differential inclusions – Well-posedness: directions of vector field at switching plane “No events”

slide-62
SLIDE 62

◭ ◭ ◭ ◮ ◮ ◮

61/62

◭ ◭ ◭ ◮ ◮ ◮

61/62

Summary - continued

  • Hybrid systems:

– Complications due to Zeno – Relation between solution concept and well-posedness and analysis ∗ Tanks stay full along non-Zeno solutions!!! ∗ Filippov’s example has unique non-Zeno solutions, but non- unique Zeno solutions – Well-posedness ∗ Initial well-posedness (non-blocking and deterministic) ∗ Local well-posedness: [0, ε) (live-lock) ∗ Global well-posedness: [0, ∞) (right-accumulations) – Conditions for hybrid automata: implicit! – Algebraic conditions for certain classes with more structure!

slide-63
SLIDE 63

◭ ◭ ◭ ◮ ◮ ◮

62/62

◭ ◭ ◭ ◮ ◮ ◮

62/62

Selected Literature

  • A.F. Filippov, Differential Equations with Discontinuous Righthand Sides,

1988, Kluwer, Dordrecht, The Netherlands, Mathematics and Its Appli- cations

  • A.J. van der Schaft and J.M. Schumacher, An Introduction to Hybrid Dy-

namical Systems, Springer-Verlag, London, 2000.

  • K.J. Johansson, J. Lygeros, S.N. Simi´

c, J. Zhang and S. Sastry, Dynami- cal properties of hybrid automata, 2003, IEEE Transactions on Automatic Control.

  • W.P.M.H. Heemels, M.K. Çamlıbel, A.J. van der Schaft and J.M. Schu-

macher, On the Existence and Uniqueness of Solution Trajectories to Hybrid Dynamical Systems, 2002, Chapter 18 in “Nonlinear and Hybrid Control in Automotive Applications,” Springer London (Editor: R. Johannson and A. Rantzer).