Title: Observability and temporal properties of hybrid systems: analysis and verification
1Observability and temporal propertiesof hybrid
systems analysis and verification
Department of Electrical Engineering and Computer
Science Center of Excellence DEWS - University of
LAquila
Doctoral Dissertation
Co-Advisor Prof. S. Di Gennaro
Advisor Prof. M.D. Di Benedetto
Doctoral studies coordinator Prof. A. Germani
- PhD candidate
- A. DInnocenzo
2Outline
- Introduction
- Hybrid systems
- Discrete state observability
- Verification techniques by abstraction
- Conclusions
3Leit motif
- We discuss verification of observability and
temporal properties of hybrid systems - that are systems with discrete and continuous
aspects in their dynamics - Pro have huge expressive power...
- Con but are complex to deal with
4Problems addressed
5Challenges in hybrid systems verification
- Because of generality of the model, these
problems rarely have a closed solution. - Some of them are even undecidable!
- Huge state space complexity analysis is a
fundamental issue. - A comprehensive theory for observability
verification and model checking is still missing
6Outline
- Introduction
- Hybrid systems
- Definition
- Executions as formal languages
- Discrete state observability
- Verification techniques by abstraction
- Conclusions
7Hybrid system example
Gear 1
Gear 2
Gear 3
Gear 4
Gear 5
each gear is associated to different continuous
dynamics
8Hybrid system definition
Discrete Layer
Invariant Sets Guard Sets Reset Maps
q3
q1
q2
Continuous Layer
9Hybrid execution
10Hybrid time basis Lygeros et al. - IEEE TAC 03
- Finite or infinite collection of intervals
Q
X
q4
q3
q2
q1
q0
t
t0
t0 t1
t1 t2
t3 t4
t2 t3
11Language of executions
q2
q4
q3
q1
4 s
2 s
1 s
3 s
12Regular language of executions
- Consider observations without time
delaysthen L, P, LQb, PQb are regular
languages - Regular languages are closed w.r.t. union,
intersection, concatenation.
13Outline
- Introduction
- Hybrid systems
- Discrete state observability
- Motivation
- Non deterministic case
- Stochastic case
- Verification techniques by abstraction
- Conclusions
14Discrete state observability motivation
MED05
Qb unauth. crossing
Engines Running
Taxiing
Ask for crossing grant
Taxi on airport way
Taxiing
Unobs.
Waiting at stop-bar
Unauthorized crossing
Unobs.
Emergency Braking
Crossing
Unobs.
Unobs.
Authorized crossing
Taxi to hangar
Crossing completed
15Non deterministic caseobservability definition
- Definition Set Qb ? Q is observable for hybrid
system H if observer of Qb exists.
LNCIS05, CDC06
Hybrid system
Observer of Qb
16Classical observability definition
- Proposition Classical discrete state
observability is a special case of observability
of Qb
Observer of q1
Observer of H
Observer of qN
17Observability condition
- Proposition Set Qb is observable for hybrid
system H if and only if
Q0
Qb
18Observability verification
- Algorithm
- Compute regular languages PQb and PQ\Qb
- Compute intersection PQb ? PQ\Qb
- Check if PQb ? PQ\Qb is empty.
Algorithm terminates in polynomial time w.r.t.
dimension of discrete state space
19When the discrete output is not enough
H
H
- H embeds continuous information by means of extra
discrete outputs and their generation time - Observability definition with bounded delay.
- Proposition If H is observable,then H is
observable with delay ?.
20Extra output design
Extra output set is neither unique nor free
minimize set of extra signals
- Algorithm to find minimal set of extra output
information to satisfy observability (exponential
time). - Algorithm to find sub-optimal solution
(polynomial time).
21Stochastic casehidden Markov hybrid system
Gear 1
Gear 2
Gear 3
Gear 4
Gear 5
22Discrete state estimator
Viterbi algorithm generates for each observation
the probability distribution of discrete state
Viterbi algorithm
H
Observer of Qb
Want to define observability such that, for any
observation, we are almost sure that the observer
estimate is true
23Observability with bounded reliability
Definition Set Qb is observable with
reliability ( ?1, ?2 ) if
ADHS06
- Proposition Observability with reliability (1,1)
is equivalent to observability in the non
deterministic setting.
24Observability verification decidability
Run Viterbi algorithm for any p?PThis might
require infinite iterations.
- Theorem Observability with reliability
- ( ?1, ?2 ) is decidable if the regular
- language P has a special structure
25Asymptotic observability
Definition Set Qb is observable in K steps if
observer generates correct estimate after K
discrete transitions.
- Previous results hold, with slight differences in
definitions, conditions and verification
algorithms
26Outline
- Introduction
- Hybrid systems
- Discrete state observability
- Verification techniques by abstraction
- Translating hybrid to timed automata
- Diagnosability (observability) analysis
- Verification of temporal properties
- Conclusions
27Verification by abstraction
Hybrid system H
Abstraction T
Propertytrue on T
Propertytrue on H
- Construct abstraction T to preserve properties of
interest - Verification procedure on T
Find conditions to construct an abstraction T
such thatproperty true for Hif and only if
true for T
28Abstraction methods
Hybrid system H
Discrete event system D
safety
Untimed
temporal properties
Hybrid system H
Timedautomaton T
Durationalgraph G
Timed
Timed abstraction Pro preserve time
information! Con more complex algorithms
29Abstraction algorithm
- Algorithm to construct G from H
- Split discrete states of H depending on incoming
edges - Define invariants and guards of G using
continuous dynamics of H - Define function ? that associates to any discrete
state of H a set of discrete states of G. These
sets partition the state space of G.
HSCC06
30Diagnosability definition
HSCC07
- Definition Set Qb is ?-diagnosable for H if it
is possible to detect after a delay ? that Qb has
been visited.
Proposition Qb is ?-diagnosable iff
Proposition Set Qb is observable if and only if
it is??-diagnosable with ?0.
31Diagnosability is preserved by G
- Proposition Set Qb is ?-diagnosable for H if
?(Qb) is ?-diagnosable for G.
Proposition With the assumption of memoryless
reset, Qb is ?-diagnosable for H if and only if
?(Qb) is?-diagnosable for G.
32Diagnosability verification complexity
Complexity
Timed automata
PSPACE
?
Durational graphs
PTIME
?
Discrete event systems
PTIME
33Diagnoser
Proposition A diagnoser for a hybrid automaton
H is a durational graph syncronized with the
output of H.
faulty
Diagnoser
Hybrid automaton H
nonfaulty
34Diagnosability verification of a camless valve
system
- Hybrid model
- Abstraction
- Diagnosabilityverification
35Model checking on hybrid automata hybrid Kripke
structure
Gear 1
Gear 2
Gear 3
Gear 4
Gear 5
36Temporal logic
- A temporal logic is a formalism for defining
sequences of transitions
Computation Tree Logic (CTL), Linear Time Logic
(LTL) along every path, the atomicproposition
A?? will eventually hold
Temporal property on executions
Yes
Hybrid Kripke structure K
Model checking
Timed abstraction of K
No counterexample
37Transition systems
- Q set of states
- Q0 initials states
- ? labels
- E Q x ? x Q transition relation
- ? observations
- ? Q ? ? observation map
38Simulation relation
- Definition Given T1, T2, a relation? ? Q1 x Q2
is a simulation relationof T1 by T2 if for all
(q1, q2) ? ? - ?(q1) ?(q2)
- for all (q1, ?, q1 ) ? E1, there exists (q2, ?,
q2 ) ? E2 such that (q1, q2) ? ?
Definition T2 simulates T1 if simulation
relation ? exists, and any initial state of T1
related to initial state of T2
39Temporal properties are preserved by G
- Theorem The abstraction G is a simulation of
the hybrid automaton H.
Proposition The universal fragment of temporal
logics is preserved by G.
Remark Diagnosability cannot be expressed by a
temporal logic formula.
40Landing scheduling problem
A/C 2
A/C 1
R
W
Y
41Landing scheduling verification
Aircraft 2 will start landing after aircraft 1,
with a time delay in tm,tM
Hybrid model H of the aircraft
Timed Abstraction T
Verifyformula on T
Formulatrue on H
42Conclusion
- Discrete state observability definition
- Polynomial time verification, extra output design
- Observability with reliability, verification
decidability - Timed abstraction procedure
- Diagnosability verification complexity
- Model checking by timed simulation relations
43Future work
- Use all continuous output information
- Extend stochastic model
- Approximate time abstractions given H and
maximum error ?, construct T such that d(H,T) ? ?.