SLIDE 6 3.1 Automata (continued) Deterministic automaton qidle qbusy qdown α β γ δ φ(qbusy,β) = {qidle} φ(qidle,α) = {qbusy} φ(qbusy,γ) = {qdown} φ(qdown,δ) = {qidle}
hs models.18
3.1 Automata (continued) Non-deterministic automaton q1 q2 α α β φ(q1,α) = {q1,q2} φ(q2,β) = {q1}
hs models.19
4.1 Definition 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
hs models.20
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 enabled
- Reset map R: specifies how new continuous states are related to
previous continuous states
hs models.21
(q0,x0) ∈ Init q0 ˙ x = f(q0,x) x ∈ Inv(q0) q1 ˙ x = f(q1,x) x ∈ Inv(q1) q2 ˙ x = f(q2,x) x ∈ Inv(q2) G(q0,q1) G(q1,q0) G(q1,q2) G(q2,q1) G(q0,q2) G(q2,q0) R(q0,q1) R(q1,q0) R(q1,q2) R(q2,q1) R(q0,q2) R(q2,q0)
hs models.22
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 re-
peated
hs models.23