assume guarantee verification of hybrid systems in
play

Assume-Guarantee verification of Hybrid Systems in A RIADNE Davide - PowerPoint PPT Presentation

Assume-Guarantee verification of Hybrid Systems in A RIADNE Davide Bresolin and Tiziano Villa University of Verona Games 2009 Udine, Italy Davide Bresolin and Tiziano Villa (University of Verona) Assume-Guarantee verification of Hybrid Systems


  1. Assume-Guarantee verification of Hybrid Systems in A RIADNE Davide Bresolin and Tiziano Villa University of Verona Games 2009 Udine, Italy Davide Bresolin and Tiziano Villa (University of Verona) Assume-Guarantee verification of Hybrid Systems in A RIADNE Games09 1 / 25

  2. Outline Introduction to Hybrid Systems 1 The software package A RIADNE 2 Assume-guarantee reasoning in A RIADNE 3 Conclusions 4 Davide Bresolin and Tiziano Villa (University of Verona) Assume-Guarantee verification of Hybrid Systems in A RIADNE Games09 2 / 25

  3. Outline Introduction to Hybrid Systems 1 The software package A RIADNE 2 Assume-guarantee reasoning in A RIADNE 3 Conclusions 4 Davide Bresolin and Tiziano Villa (University of Verona) Assume-Guarantee verification of Hybrid Systems in A RIADNE Games09 3 / 25

  4. Hybrid Systems Many real systems have a double nature: they evolve in a contiuous way; they are controlled by a discrete system. How to model them? Hybrid Systems/Automata Davide Bresolin and Tiziano Villa (University of Verona) Assume-Guarantee verification of Hybrid Systems in A RIADNE Games09 4 / 25

  5. Hybrid Automata: Definition Definition (Hybrid Automaton, Alur et al. 1992) A hybrid automaton is a tuple H = �V , E , R k , Inv , Dyn , Act , Reset � : �V , E� is a finite directed graph; the vertexes, V , are called 1 locations or control modes , and the directed edges, E , are called control switches ; Each location v ∈ V is labeled by the predicate Inv ( v ) on the set 2 R k and the transitive relation Dyn ( v ) on R k × R k × R ≥ 0 ; Each edge e ∈ E is labeled by the predicate Act ( e ) on R k and the 3 relation Reset ( e ) on R k × R k . Davide Bresolin and Tiziano Villa (University of Verona) Assume-Guarantee verification of Hybrid Systems in A RIADNE Games09 5 / 25

  6. Hybrid Automata: Intuition A state of an hybrid automaton is a pair ( v , r ) where v is a discrete location and r is a point in R k . Hybrid Automaton = Finite Automaton + Continuous Evolution Time flows when the automaton stays in a location: H evolves from r to s in time t when Dyn ( v )[ r , s , t ] ; in location v , r must satisfy Inv ( v )[ r ] ; H can cross a transition e only if Act ( e )[ r ] ; when H crosses e , Reset ( e )[ r , s ] . Davide Bresolin and Tiziano Villa (University of Verona) Assume-Guarantee verification of Hybrid Systems in A RIADNE Games09 6 / 25

  7. An example: the watertank Outlet flow F out depends on the water level. Inlet flow F in is controlled by the valve position. The controller senses the water level and sends the appropriate commands to the valve. Control Problem Keep the water level between two given thresholds. Davide Bresolin and Tiziano Villa (University of Verona) Assume-Guarantee verification of Hybrid Systems in A RIADNE Games09 7 / 25

  8. The watertank automaton x ( t ) = − λx ( t ) + α ( t ) f ( p ( t )) ˙ x ( t ) = − λx ( t ) + f ( p ( t )) ˙ α ( t ) = 1 /T ˙ α ( t ) = 0 ˙ α = 1 0 < x ( t ) < h + δ 0 < x ( t ) < h + δ 0 ≤ α ( t ) ≤ 1 α ( t ) = 1 x = H ∧ u > λH l 6 l 10 x ≤ l + δ x ≥ h − δ x ≤ l + δ x ≥ h − δ x ( t ) = 0 ˙ x = H ∧ x ( t ) = − λx ( t ) ˙ x ( t ) = − λx ( t ) + α ( t ) f ( p ( t )) ˙ α ( t ) = − 1 /T ˙ u > λH α ( t ) = 0 ˙ α ( t ) = − 1 /T ˙ α = 0 x ( t ) = H l − δ < x ( t ) < H l − δ < x ( t ) < H x = H ∧ u > λ H α ( t ) = 0 0 ≤ α ( t ) ≤ 1 u ≤ λH 0 ≤ α ( t ) ≤ 1 l 15 l 16 l 3 Davide Bresolin and Tiziano Villa (University of Verona) Assume-Guarantee verification of Hybrid Systems in A RIADNE Games09 8 / 25

  9. Evolution of the watertank Davide Bresolin and Tiziano Villa (University of Verona) Assume-Guarantee verification of Hybrid Systems in A RIADNE Games09 9 / 25

  10. Reachability Problem Reachability Given an hybrid automaton H and two sets S and T , is there any s ∈ S and t ∈ T such that there exists a trajectory of H from s to t ? The reachability problem for Hybrid Automata is undecidable (Alur et al. 1995). Can I solve the problem, at least in some cases? Restrict to special classes of Hybrid Automata (Timed Automata, Rectangular Automata, . . . ) Use approximation techniques to obtain an approximation of the reachable set. Davide Bresolin and Tiziano Villa (University of Verona) Assume-Guarantee verification of Hybrid Systems in A RIADNE Games09 10 / 25

  11. Reachability Problem Reachability Given an hybrid automaton H and two sets S and T , is there any s ∈ S and t ∈ T such that there exists a trajectory of H from s to t ? The reachability problem for Hybrid Automata is undecidable (Alur et al. 1995). Can I solve the problem, at least in some cases? Restrict to special classes of Hybrid Automata (Timed Automata, Rectangular Automata, . . . ) Use approximation techniques to obtain an approximation of the reachable set. Davide Bresolin and Tiziano Villa (University of Verona) Assume-Guarantee verification of Hybrid Systems in A RIADNE Games09 10 / 25

  12. Reachability Problem Reachability Given an hybrid automaton H and two sets S and T , is there any s ∈ S and t ∈ T such that there exists a trajectory of H from s to t ? The reachability problem for Hybrid Automata is undecidable (Alur et al. 1995). Can I solve the problem, at least in some cases? Restrict to special classes of Hybrid Automata (Timed Automata, Rectangular Automata, . . . ) Use approximation techniques to obtain an approximation of the reachable set. Davide Bresolin and Tiziano Villa (University of Verona) Assume-Guarantee verification of Hybrid Systems in A RIADNE Games09 10 / 25

  13. Outline Introduction to Hybrid Systems 1 The software package A RIADNE 2 Assume-guarantee reasoning in A RIADNE 3 Conclusions 4 Davide Bresolin and Tiziano Villa (University of Verona) Assume-Guarantee verification of Hybrid Systems in A RIADNE Games09 11 / 25

  14. Introduction to A RIADNE Developed by a joint team including CWI, the University of Verona, the University of Udine and the company PARADES (Rome). Based on a rigorous mathematical semantics for the numerical analysis of continuous and hybrid systems. The computational kernel is written using a mix of generic and polymorphic programming strategies resulting in a highly efficient, modular and extensible framework. Released as an open source distribution. Davide Bresolin and Tiziano Villa (University of Verona) Assume-Guarantee verification of Hybrid Systems in A RIADNE Games09 12 / 25

  15. Representing regions of space Subsets of R n are approximated by finite unions of basic sets: ◮ intervals, simplices, cuboids, parallelotopes, zonotopes, polytopes, spheres and ellipsoids Finite unions of basic sets of a given type are called denotable sets . Davide Bresolin and Tiziano Villa (University of Verona) Assume-Guarantee verification of Hybrid Systems in A RIADNE Games09 13 / 25

  16. Approximating regions Approximating S with A Inner approximation: S strictly contains A . 1 Outer approximation: S is strictly contained in A . 2 ε -lower approximation: every point of A is at distance less than ε 3 from a point of S . Inner approximation is used for specification of systems properties. Outer and ε -lower approximation are used for computing evolution. Davide Bresolin and Tiziano Villa (University of Verona) Assume-Guarantee verification of Hybrid Systems in A RIADNE Games09 14 / 25

  17. Approximate Reachability Analysis Given an hybrid automaton H , an initial set I and a time t , A RIADNE can compute: an outer approximation of the states reached by H starting from I up to time t . for a given ε > 0, an ε -lower approximation of the states reached by H starting from I up to time t . Davide Bresolin and Tiziano Villa (University of Verona) Assume-Guarantee verification of Hybrid Systems in A RIADNE Games09 15 / 25

  18. Outline Introduction to Hybrid Systems 1 The software package A RIADNE 2 Assume-guarantee reasoning in A RIADNE 3 Conclusions 4 Davide Bresolin and Tiziano Villa (University of Verona) Assume-Guarantee verification of Hybrid Systems in A RIADNE Games09 16 / 25

  19. Assume-guarantee system specification The system is specified as a set of components Every component is annotated with a pair ( A , G ) of assumptions and guarantees. The requirements of the whole system are decomposed into a set of simpler requirements that, if satisfied, guarantees that the overall requirements are satisfied. Davide Bresolin and Tiziano Villa (University of Verona) Assume-Guarantee verification of Hybrid Systems in A RIADNE Games09 17 / 25

  20. Safety checking Let C be a component of the system, annotated with assumptions A and guarantees G . With A RIADNE we can verify whether the component C respects the guarantees or not (with some limitations). Represent the component by an hybrid automata H with inputs and outputs; Assumptions A are represented by hybrid automata H A that specify the possible inputs for H ; Guarantees G specify the possible outputs Y of the automata; This is a reachability analysis problem: Reach ( H � A ) ⊆ Sat ( G ) Davide Bresolin and Tiziano Villa (University of Verona) Assume-Guarantee verification of Hybrid Systems in A RIADNE Games09 18 / 25

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend