Hybrid System Verification Synchronous Workshop 2003 A New Verification Algorithm for Planar Differential Inclusions Gordon Pace University of Malta December.

Slides:



Advertisements
Similar presentations
Signal Processing in the Discrete Time Domain Microprocessor Applications (MEE4033) Sogang University Department of Mechanical Engineering.
Advertisements

Lecture 24 MAS 714 Hartmut Klauck
CS 450: COMPUTER GRAPHICS FILLING POLYGONS SPRING 2015 DR. MICHAEL J. REALE.
50.530: Software Engineering Sun Jun SUTD. Week 10: Invariant Generation.
1 1 Regression Verification for Multi-Threaded Programs Sagar Chaki, SEI-Pittsburgh Arie Gurfinkel, SEI-Pittsburgh Ofer Strichman, Technion-Haifa Originally.
UPPAAL Introduction Chien-Liang Chen.
Bebop: A Symbolic Model Checker for Boolean Programs Thomas Ball Sriram K. Rajamani
Hybrid Systems Presented by: Arnab De Anand S. An Intuitive Introduction to Hybrid Systems Discrete program with an analog environment. What does it mean?
Lecture #4 Simulation of hybrid systems João P. Hespanha University of California at Santa Barbara Hybrid Control and Switched Systems.
Timed Automata.
Models for Control and Verification Ian Mitchell Department of Computer Science The University of British Columbia research supported by National Science.
Model Checking Genetic Regulatory Networks with Parameter Uncertainty Grégory Batt, Calin Belta, Ron Weiss HSCC 2007 Presented by Spring Berman ESE :
Zonotopes Techniques for Reachability Analysis Antoine Girard Workshop “Topics in Computation and Control” March 27 th 2006, Santa Barbara, CA, USA
Verification of Hybrid Systems An Assessment of Current Techniques Holly Bowen.
ECE 720T5 Fall 2012 Cyber-Physical Systems Rodolfo Pellizzoni.
S. J. Shyu Chap. 1 Introduction 1 The Design and Analysis of Algorithms Chapter 1 Introduction S. J. Shyu.
Succinct Approximations of Distributed Hybrid Behaviors P.S. Thiagarajan School of Computing, National University of Singapore Joint Work with: Yang Shaofa.
Lecture #1 Hybrid systems are everywhere: Examples João P. Hespanha University of California at Santa Barbara Hybrid Control and Switched Systems.
Spatial Information Systems (SIS)
1 Verification and Synthesis of Hybrid Systems Thao Dang October 10, 2000.
Robust Hybrid and Embedded Systems Design Jerry Ding, Jeremy Gillula, Haomiao Huang, Michael Vitus, and Claire Tomlin MURI Review Meeting Frameworks and.
EECE Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and.
LaValle Chapter 2 (Sections ) [2.1] Discrete feasible planning formulation [2.2] Basic search techniques – To find discrete feasible plans – But.
Discrete Abstractions of Hybrid Systems Rajeev Alur, Thomas A. Henzinger, Gerardo Lafferriere and George J. Pappas.
EECE Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and.
Model Checking. Used in studying behaviors of reactive systems Typically involves three steps: Create a finite state model (FSM) of the system design.
Automatic Rectangular Refinement of Affine Hybrid Automata Tom Henzinger EPFL Laurent Doyen ULB Jean-François Raskin ULB FORMATS 2005 – Sep 27 th - Uppsala.
EECE Hybrid and Embedded Systems: Computation
The Symbolic Approach to Hybrid Systems Tom Henzinger University of California, Berkeley.
Computing Over­Approximations with Bounded Model Checking Daniel Kroening ETH Zürich.
Beyond HyTech Presented by: Ben Horowitz and Rupak Majumdar Joint work with Tom Henzinger and Howard Wong-Toi.
Abstract Verification is traditionally done by determining the truth of a temporal formula (the specification) with respect to a timed transition system.
272: Software Engineering Fall 2012 Instructor: Tevfik Bultan Lecture 4: SMT-based Bounded Model Checking of Concurrent Software.
Approximation Metrics for Discrete and Continuous Systems Antoine Girard and George J. Pappas VERIMAG Workshop.
Cheng/Dillon-Software Engineering: Formal Methods Model Checking.
1 DISTRIBUTION A. Approved for public release; Distribution unlimited. (Approval AFRL PA # 88ABW , 09 April 2014) Reducing the Wrapping Effect.
ECE 720T5 Winter 2014 Cyber-Physical Systems Rodolfo Pellizzoni.
Benjamin Gamble. What is Time?  Can mean many different things to a computer Dynamic Equation Variable System State 2.
Department of Mechanical Engineering The University of Strathclyde, Glasgow Hybrid Systems: Modelling, Analysis and Control Yan Pang Department of Mechanical.
1 Hybrid-Formal Coverage Convergence Dan Benua Synopsys Verification Group January 18, 2010.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
1 Outline:  Optimization of Timed Systems  TA-Modeling of Scheduling Tasks  Transformation of TA into Mixed-Integer Programs  Tree Search for TA using.
Convergence of Model Checking & Program Analysis Philippe Giabbanelli CMPT 894 – Spring 2008.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
ECE/CS 584: Hybrid Automaton Modeling Framework Invariance, Abstractions, Simulation Lecture 04 Sayan Mitra.
Control Synthesis and Reconfiguration for Hybrid Systems October 2001 Sherif Abdelwahed ISIS Vanderbilt University.
10/19/04© University of Wisconsin, CS559 Fall 2004 Last Time Clipping –Why we care –Sutherland-Hodgman –Cohen-Sutherland –Intuition for Liang-Barsky Homework.
Lecture #2 How to describe a hybrid system? Formal models for hybrid system João P. Hespanha University of California at Santa Barbara Hybrid Control and.
Symbolic Algorithms for Infinite-state Systems Rupak Majumdar (UC Berkeley) Joint work with Luca de Alfaro (UC Santa Cruz) Thomas A. Henzinger (UC Berkeley)
Reachability for Linear Hybrid Automata Using Iterative Relaxation Abstraction Sumit K. Jha, Bruce H. Krogh, James E. Weimer, Edmund M. Clarke Carnegie.
ECE/CS 584: Verification of Embedded Computing Systems Model Checking Timed Automata Sayan Mitra Lecture 09.
1 Proving program termination Lecture 5 · February 4 th, 2008 TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A.
Introduction to Hardware Verification ECE 598 SV Prof. Shobha Vasudevan.
ECE/CS 584: Verification of Embedded Computing Systems Timed to Hybrid Automata Sayan Mitra (edited by Yu Wang) Lecture 10.
CS5270 Lecture 41 Timed Automata I CS 5270 Lecture 4.
Optimal Acceleration and Braking Sequences for Vehicles in the Presence of Moving Obstacles Jeff Johnson, Kris Hauser School of Informatics and Computing.
SS 2017 Software Verification Timed Automata
Abstraction and Refinement for Large Scale Model Checking
Presentation at NI Day April 2010 Lillestrøm, Norway
Graph Coverage for Specifications CS 4501 / 6501 Software Testing
Instructor: Rajeev Alur
Timed Automata Formal Systems Pallab Dasgupta Professor,
Hidden Markov Models Part 2: Algorithms
Axiomatic semantics Points to discuss: The assignment statement
CSEP590 – Model Checking and Automated Verification
Graph Coverage for Specifications CS 4501 / 6501 Software Testing
Lecture #10 Switched systems
Discrete Controller Synthesis
Abstraction, Verification & Refinement
Course: CS60030 FORMAL SYSTEMS
Presentation transcript:

Hybrid System Verification Synchronous Workshop 2003 A New Verification Algorithm for Planar Differential Inclusions Gordon Pace University of Malta December 2003

Hybrid System Verification Synchronous Workshop 2003 Scientific Models Discrete systems –CSs’ favourite domain –What I should be talking about here … Continuous systems –Engineers’ domain –Differential equations Hybrid Systems

Hybrid System Verification Synchronous Workshop 2003 A Hybrid System Typical example: A heated room with a a thermostat. Room temperature T continuous variable, State of heater (on or off) is a discrete variable, Different (continuous/differential) equations regulate room temperature depending whether heater is on or off.

Hybrid System Verification Synchronous Workshop 2003 The Heated Room: Required Parameters Dynamics in different (discrete) states; When to switch from one state to another; Whether any continuous variables are reset discontinuously when switching from one state to another.

Hybrid System Verification Synchronous Workshop 2003 The Heated Room: Typical questions Reachability questions: Can the room temperature rise over 5% above the thermostat setting? ‘Qualitative’ system behaviour: Given a loop (a sequence of discrete states) what continuous behaviour is possible within that loop?

Hybrid System Verification Synchronous Workshop 2003 Hybrid Automata OnOff

Hybrid System Verification Synchronous Workshop 2003 OnOff Label Dynamics Invariant Guard Reset Hybrid Automata

Hybrid System Verification Synchronous Workshop 2003 Verification of Hybrid Automata Undecidable in general. Even (good) testing is difficult! Most complete approaches look at sub- problems eg limiting differential equations, limiting number of continuous variables.

Hybrid System Verification Synchronous Workshop 2003 Swimmer in a whirlpool

Hybrid System Verification Synchronous Workshop 2003 Swimmer in a whirlpool

Hybrid System Verification Synchronous Workshop 2003 Swimmer in a whirlpool

Hybrid System Verification Synchronous Workshop 2003 Swimmer in a whirlpool

Hybrid System Verification Synchronous Workshop 2003 Swimmer in a whirlpool

Hybrid System Verification Synchronous Workshop 2003 Swimmer in a whirlpool

Hybrid System Verification Synchronous Workshop 2003 Swimmer in a whirlpool

Hybrid System Verification Synchronous Workshop 2003 Swimmer in a whirlpool

Hybrid System Verification Synchronous Workshop 2003 Swimmer in a whirlpool

Hybrid System Verification Synchronous Workshop 2003 Swimmer in a whirlpool

Hybrid System Verification Synchronous Workshop 2003 Swimmer in a whirlpool

Hybrid System Verification Synchronous Workshop 2003 Polygonal Differential Inclusion Systems (SPDIs) A partition of the plane into convex polygons Constant differential inclusion for each region describing allowable dynamics

Hybrid System Verification Synchronous Workshop 2003 Swimmer SPDI

Hybrid System Verification Synchronous Workshop 2003 Swimmer SPDI Arrows: System dynamics Polygons: Discrete states (Transformed) coordinates: two continuous states

Hybrid System Verification Synchronous Workshop 2003 Swimmer SPDI Arrows: System dynamics Polygons: Discrete states Position on line: one continuous state

Hybrid System Verification Synchronous Workshop 2003 Swimmer SPDI

Hybrid System Verification Synchronous Workshop 2003 Swimmer SPDI

Hybrid System Verification Synchronous Workshop 2003 Some undecidable extensions Three or more dimensions Variant differential inclusions SPDIs with arbitrary resets

Hybrid System Verification Synchronous Workshop 2003 Some observations (1) Position on edges can be described as a single real number. Starting from a position s on an edge and ending at t on another edge, the linear inclusion limits guarantees: t 2 [  1 s +  2,  1 s +  2 ] Similarly if we went through a number of edges in between.

Hybrid System Verification Synchronous Workshop 2003 Result: Given a loop of region edges, we can compute the reachable polygon without iterating. We can compute the effect of following an abstract trace: e 1 …e i (e i+1 …e j ) * e j+1 …e k (e k+1 …e l ) * … e n

Hybrid System Verification Synchronous Workshop 2003 Some observations (2) For any self-crossing path through an SPDI, there exists a non-self-crossing one with the same start and end points. A path which follows a loop (a number of times), leaves it and goes through the loop again, can be replaced by one which enters the loop only once.

Hybrid System Verification Synchronous Workshop 2003 Result: Any path through an abstract trace which is ‘too long’ also belongs to a shorter abstract path: e 1 …e i (e i+1 …e j ) * e j+1 …e k (e k+1 …e l ) * … e n Only a finite number of paths need be explored to check reachability.

Hybrid System Verification Synchronous Workshop 2003 Summary We can (non-iteratively) calculate the effect of following an abstract path. A finite number of abstract paths cover all possible concrete paths from one edge to another. These abstract paths can be calculated.

Hybrid System Verification Synchronous Workshop 2003 Summary We can (non-iteratively) calculate the effect of following an abstract path. A finite number of abstract paths cover all possible concrete paths from one edge to another. These abstract paths can be calculated. We have an algorithm to decide SPDI reachability

Hybrid System Verification Synchronous Workshop 2003 Summary We can (non-iteratively) calculate the effect of following an abstract path. A finite number of abstract paths cover all possible concrete paths from one edge to another. These abstract paths can be calculated. But it does not guarantee shortest counter-example unless exhaustive search is performed

Hybrid System Verification Synchronous Workshop 2003 Forward model checking       [   Termination Condition:   

Hybrid System Verification Synchronous Workshop 2003 SPDI model checking       [   [   Termination Condition:   [    [ 

Hybrid System Verification Synchronous Workshop 2003 SPDI model checking       [   [   Termination Condition:   [    [  This follows loops (non-iteratively) in one step

Hybrid System Verification Synchronous Workshop 2003 SPDI model checking       [   [   Termination Condition:   [    [  This is the invariance kernel of the SPDI

Hybrid System Verification Synchronous Workshop 2003 Invariance kernel of a loop The greatest set of points such that every trajectory starting in such points must remain in the set forever. Can be calculated using a non-iterative algorithm. The set  is the union of all invariance kernels.

Hybrid System Verification Synchronous Workshop 2003 Invariance kernel of a loop The greatest set of points such that every trajectory starting in such points must remain in the set forever. Can be calculated using a non-iterative algorithm. The set  is the union of all invariance kernels. BFS algorithm which guarantees shortest abstract counter-example

Hybrid System Verification Synchronous Workshop 2003 Invariance kernel of a loop The greatest set of points such that every trajectory starting in such points must remain in the set forever. Can be calculated using a non-iterative algorithm. The set  is the union of all invariance kernels. Allows us to apply standard model-checking verification optimisations to SPDI verification

Hybrid System Verification Synchronous Workshop 2003 Future work Implementation of the new algorithm and standard optimisations Case studies and safe approximation generators How can this be applied to discrete systems with one continuous variable and differential inclusion transitions?

Hybrid System Verification Synchronous Workshop 2003 x 2 [min{c 1,  1 x +  2 }, max{c 1,  1 s +  2 }]