Docsity

Modeling & Verification of Real-time & Hybrid Systems: Multi-rate & Rectangular Automata -, Study notes of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE 598: Modeling and Verification of Real-time and Hybrid Systems Fall 2008
Lecture 12— October 7th, 2008
Multi-rate and Rectangular Hybrid Automata
Prof. Sayan Mitra Scribe: YOUR NAME
In the last lecture we saw how an Integral Timed Automaton can be “abstracted” by a Region
Automaton, with a finite number of states, which preserves its CTL properties. This notion of
abstraction, as we shall see later, is called time-abstract bisimilarity. Does the same technique
work for more general classes of hybrid automata?
11.1 Rational Timed Automata
Recall, we inductively defined integral clock constraints as the set Φ(X)of clock valuations that can
be expressed as
g::= x≤c|x≥ |¬g|g1∧g2,
where c∈Zand x∈Xcis a clock variable. Then, we defined integral timed automata (ITA) as
a timed automaton where all the guards, invariants, and stopping conditions are integral clock
constraints. A rational timed automaton (RTA) is defined in the same way as an ITA except that
the intergral clock constraints are generalized to rational clock constraints. That is, the guards,
invariants, and stopping conditions of a RTA can compare its clock values with rational numbers.
There is a one-to-one correspondence between the executions of a given RTA to the executions of
a corresponding ITA. Suppose Ais an RT A, and let q1, q2, . . . , qnbe the set of rationals that appear
in the clock constraints of A. Let qbe a rational such that q.qiis integral for each i. Let A0be an
automaton obtained by multifplying each clock constrainst of Aby q. Clearly, A0is an ITA. It is
easy to check by induction that every execution of Acorresponds exactly to an execution of A0
and vice-versa.
11.2 Multi-Rate Automata
This is a simple generalization of RTA in which different clocks are allowed to evolve at different
but constant rates. That is, Xcis a set of real-valued continuous variables such that each y∈Xc
always (for all values of l∈Ł) satisfies the differential equation d(y) = k.
l=off
˙y=k1,˙z=k2
stop when
y≥c1+u
l=on
˙y=k1,˙z=k2
stop when
z≥c2+u
z≥c2;y:= 0 z:= 0
switch off
y≥c1;y:= 0 z:= 0
switch on
1
pf3
pf4

Partial preview of the text

Download Modeling & Verification of Real-time & Hybrid Systems: Multi-rate & Rectangular Automata - and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

ECE 598: Modeling and Verification of Real-time and Hybrid Systems Fall 2008

Lecture 12— October 7 th, 2008

Multi-rate and Rectangular Hybrid Automata

Prof. Sayan Mitra Scribe: YOUR NAME

In the last lecture we saw how an Integral Timed Automaton can be “abstracted” by a Region Automaton, with a finite number of states, which preserves its CTL properties. This notion of abstraction, as we shall see later, is called time-abstract bisimilarity. Does the same technique work for more general classes of hybrid automata?

11.1 Rational Timed Automata

Recall, we inductively defined integral clock constraints as the set Φ(X) of clock valuations that can be expressed as g ::= x ≤ c|x ≥ |¬g|g 1 ∧ g 2 ,

where c ∈ Z and x ∈ Xc is a clock variable. Then, we defined integral timed automata (ITA) as a timed automaton where all the guards, invariants, and stopping conditions are integral clock constraints. A rational timed automaton (RTA) is defined in the same way as an ITA except that the intergral clock constraints are generalized to rational clock constraints. That is, the guards, invariants, and stopping conditions of a RTA can compare its clock values with rational numbers.

There is a one-to-one correspondence between the executions of a given RTA to the executions of a corresponding ITA. Suppose A is an RT A, and let q 1 , q 2 ,... , qn be the set of rationals that appear in the clock constraints of A. Let q be a rational such that q.qi is integral for each i. Let A′^ be an automaton obtained by multifplying each clock constrainst of A by q. Clearly, A′^ is an ITA. It is easy to check by induction that every execution of A corresponds exactly to an execution of A′ and vice-versa.

11.2 Multi-Rate Automata

This is a simple generalization of RTA in which different clocks are allowed to evolve at different but constant rates. That is, Xc is a set of real-valued continuous variables such that each y ∈ Xc always (for all values of l ∈ Ł) satisfies the differential equation d(y) = k.

l = off y ˙ = k 1 , z˙ = k 2 stop when y ≥ c 1 + u

l = on y ˙ = k 1 , z˙ = k 2 stop when z ≥ c 2 + u z ≥ c 2 ; y := 0 z := 0

switch off

y ≥ c 1 ; y := 0 z := 0

switch on

l = off y ˙ = 1, z˙ = 1 stop when y ≥ c^1 k+ 1 u

l = on y ˙ = 1, z˙ = 1 stop when z ≥ c^2 k+ 2 u z ≥ (^) kc^22 ; y := 0 z := 0

switch off

y ≥ c k^11 ; y := 0 z := 0

switch on

MRA’s can be easily translated to RTA that gives a time-abstract bisimilar system by scaling. For each clock y ∈ Xc, if y evolves according to d(y) = k, then we divide all the clock constraints involving y by k.

11.3 Initialized Rectangular Hybrid Automaton

A rectangular hybrid automaton allows its continuous variables (skewed clocks) to evolve at differ- ent constant rates for different valuations of its discrete variables.

Definition 1. A rectangular hybrid automaton is a HIOA A = 〈V, Q, Q 0 , A, D, T 〉 where

  1. V = Xc ∪{l}, where Xc is a set of n real-valued continuous avriables, and l is a discrete state variable of finite type Ł.
  2. Q = R≥ 0 n^ × Ł,
  3. A is finite
  4. D ⊆ (Φ(Xc) × Ł) × A × (Xc × Ł). Φ(Xc) is the set of rational clock constraints on Xc.
  5. For each τ ∈ T and t ∈ τ.dom, (a) τ (t).l = τ (0).l, and (b) for each l ∈ Ł, y ∈ Xc, there exist constants al, bl ∈ Q such that τ (t).y ∈ [τ (0).y + aly.t, τ (0).y + bly.t].

Note that for a given variable y, the upper and lower bounds on the rates can be different for different valuations of the discrete variable. A rectangular hybrid automaton is said to be initialized if the following condition holds: for any 〈xc, l〉 → 〈a x′ c, l′〉 such that for some continuous variable y ∈ Xc, the upper and lower bounds on the rate of y changes, that is, aly 6 = al′y or bly 6 = bl′y, then x′.y must be reset to a constant. Otherwise, y may or may not be reset.

Example: Rectangular Initialized Hybrid Automaton Ł = { 1 , 2 , 3 , 4 }, Xc = {y, z}. Note that for any transition that changes the dynamics of a continuous variable, also resets that variable to a constant.

of the current (pre-transition) location, and (b) divide the constant appearing in the effects (in the resets) with the clock rates appearing in the next (post-transition) location.

References

[HKPV95] Thomas A. Henzinger, Peter W. Kopke, Anuj Puri, and Pravin Varaiya. What’s de- cidable about hybrid automata? In ACM Symposium on Theory of Computing, pages 373–382, 1995.