Model Checking for Hybrid Systems

Size: px
Start display at page:

Download "Model Checking for Hybrid Systems"

Transcription

1 Model Checking for Hybrid Systems Bruce H. Krogh Carnegie Mellon University Hybrid Dynamic Systems Models Dynamic systems with both continuous & discrete state variables Continuous-State Systems differential equations, transfer functions, etc. Discrete-State Systems automata, Petri nets, statecharts, etc. Analytical Tools Software Tools Lyapunov functions, eigenvalue analysis, etc. MATLAB, Matrix X, VisSim, etc., Boolean algebra, formal logics, recursion, etc. Statemate, Design CPN, Slam II, SMV, etc. Carnegie Mellon: The Rare Glitch Project 2 Bruce H. Krogh Three Main Thrusts of Our Project l Verifying system integrity Synchronization constraints Resource constraints Real-time constraints l Modeling the environment Hybrid dynamics Stochastic models l Usability Extracting models Explaining tool feedback system environment Carnegie Mellon: The Rare Glitch Project 3 Bruce H. Krogh Embedded systems with significant hybrid dynamics Communications/ Telecommunications/ Networking Industrial Control Automotive/Transportation Systems & Equipment Computers/Peripherals Consumer Electronics/ Office Automation Entertainment/Multimedia Medical Electronic Equipment Government/Military Aerospace/ Electronics Space Electronics Electronic Instruments/ Other ATE/Design & Test Equipment Source: ESP, Dec, 1998 Carnegie Mellon: The Rare Glitch Project 4 Bruce H. Krogh Opportunity to Apply Formal Verification Techniques Example: Variable CAM Timing &RPSXWHU$LGHGÃ&RQWUROÃ6\VWHPÃ'HVLJQ feature specification code test on engine/ vehicle executable spec. simulation code generation model checking Objective: Verify feature behavior for the entire range of operating conditions. operating state look-up table cam angle 2-mode PID/ saturation controller production hardware in the loop actuator command Carnegie Mellon: The Rare Glitch Project 5 Bruce H. Krogh Carnegie Mellon: The Rare Glitch Project 6 Bruce H. Krogh

2 Example: Variable CAM Timing Controller Continuous-Time Model Verification Problem: Determine whether the controller will switch only once from saturation to PID mode. Carnegie Mellon: The Rare Glitch Project 7 Bruce H. Krogh Carnegie Mellon: The Rare Glitch Project 8 Bruce H. Krogh Switching Rule Finite-State Analysis Discrete-time rule Switch on magnitude of the error and the sign of this filter H 1 0.7(1 z ) ( z) = z Continuous-time rule Switch on magnitude of the error and the sign of this filter H ( s) 150.5s = s state of the filter l Assign discrete states to each switch boundary and the initial condition set l Determine reachability from each discrete state to the other discrete states l Analyze the resulting finite state system error Carnegie Mellon: The Rare Glitch Project 9 Bruce H. Krogh Carnegie Mellon: The Rare Glitch Project 10 Bruce H. Krogh Reachability Analysis Finite-State Model Switching back to the saturation controller is certain from some initial states (i.e., specification is not satisfied) Carnegie Mellon: The Rare Glitch Project 11 Bruce H. Krogh Carnegie Mellon: The Rare Glitch Project 12 Bruce H. Krogh

3 Applying Model Checking to Hybrid Systems: l interpret a hybrid system as a transition system (with an infinite state space) l find an equivalent finite-state transition systems (bisimulation) l perform verification using the bisimulation Can this approach be generalized to higher-order systems? Carnegie Mellon: The Rare Glitch Project 13 Bruce H. Krogh Carnegie Mellon: The Rare Glitch Project 14 Bruce H. Krogh CheckMate Block Diagram SWITCHED CONTINUOUS DYNAMICS dx/dt = f u (x) T STATEFLOW FSMs Switched Continuous Dynamics 2 x1 Switched Continuous System 1 x2 Switched C*x <= d Continuous System 2 Polyhedral Threshold 2 x3 C*x <= d C*x <= d Polyhedral Threshold 1 th2 th3 th1 OR Logical Operator Switching Hyperplanes Switched Continuous System 3 Polyhedral Threshold 3 1 T/P POLYHEDRAL REGIONS Discrete-State Dynamics q2 q1 c1 q c2 Finite State Machine 2 c1 q c2 Finite State Machine 1 Carnegie Mellon: The Rare Glitch Project 15 Bruce H. Krogh Carnegie Mellon: The Rare Glitch Project 16 Bruce H. Krogh Elements of CheckMate flow constraints F1 x(t) F2 F3 Hybrid Automaton m(t) (PIHA) mode select xdot(t) e(t) X 0 initial condition integrator T 1 x(t) cont. S state discrete event threshold-driven T/P x(t) discrete state discrete dynamics m(t) e(t) J e jump e(t) mapping Carnegie Mellon: The Rare Glitch Project 17 Bruce H. Krogh Carnegie Mellon: The Rare Glitch Project 18 Bruce H. Krogh

4 Elements of CheckMate u u x INV u e i : g i (x) 0 x INV u dx/dt = F u (x) x u J i (x u ) x X dx/dt = F u (x) o Carnegie Mellon: The Rare Glitch Project 19 Bruce H. Krogh Carnegie Mellon: The Rare Glitch Project 20 Bruce H. Krogh T T/P Carnegie Mellon: The Rare Glitch Project 21 Bruce H. Krogh Carnegie Mellon: The Rare Glitch Project 22 Bruce H. Krogh Computing Transitions p p π (π,p,q) q q (π 1,p,q ) Carnegie Mellon: The Rare Glitch Project 23 Bruce H. Krogh π 1 π 2 (π 2,p,q ) Approximating reachable sets E.K. Kornoushenko. Finite-automaton approximation to the behavior of continuous plants, Automation and Remote Control, 1975 J. Reisch and S. O Young, A DES approach to control of hybrid dynamical systems, Hybrid Systems III, LNCS 1066, Springer, 1996 A. Puri, V. Borkar and P. Varaiya, ε-approximation of differential inclusions, Hybrid Systems III, LNCS 1066, Springer, 1996 M.R. Greenstreet, Verifying safety properties of differential equations, CAV 96 M.R. Greenstreet and I. Mitchell, Integrating projections, HSCC98 T. Dang and O. Maler, Reachability analysis via face lifting, HSCC98 A. Chutinan and B. H. Krogh, Verification of polyhedral-invariant hybrid systems using polygonal flow pipe approximations, HSCC99 Carnegie Mellon: The Rare Glitch Project 24 Bruce H. Krogh

5 Polyhedral flow pipe approximation Segment Approximation X 0 t 1 t 2 t 3 t 4 t 5 t 6 t 7 divide R [0,T] (X 0 ) into [t k,t k+1 ] segments enclose each segment with a convex polytope R M [0,T] (X 0 ) = union of polytopes A. Chutinan and B. H. Krogh, Computing polyhedral approximations to dynamic flow pipes, IEEE CDC, 1998 t 8 t 9 Step 1. a. Simulate trajectories from each vertex of X 0. b. Take the convex hull and identify outward normal vectors. Vertices(X 0 ) at t k Vertices(X 0 ) at t k+1 Step 2. Solve optimization for d i flow pipe segment approximated by { x c it x d i, i } Carnegie Mellon: The Rare Glitch Project 25 Bruce H. Krogh Carnegie Mellon: The Rare Glitch Project 26 Bruce H. Krogh Approximation for a Linear System A = Vertices for X , 1, 2, and Approximation l Applies to nonlinear dynamics l Applies in arbitrary dimensions l Approximation error doesn t grow with time l Estimation error (Hausdorff distance) can be made arbitrarily small with t < δ and size of X 0 < δ l Integrated into CheckMate Uniform time step t k = 0.1 Carnegie Mellon: The Rare Glitch Project 27 Bruce H. Krogh Carnegie Mellon: The Rare Glitch Project 28 Bruce H. Krogh Carnegie Mellon: The Rare Glitch Project 29 Bruce H. Krogh Carnegie Mellon: The Rare Glitch Project 30 Bruce H. Krogh

6 Application Case Studies l F 16 auto-land system (Lockheed-DARPA) l Batch process shut down controller (ESPRIT VHS Project) l Automotive powertrain Engine shut-off mode (PARADES) Idle speed control (CADENCE) Transmission shift controller (Ford-DARPA) CheckMate - Current Work l Sampled-data systems clocked + unclocked events l Resets (jumps in the continuous state) l Efficient hybrid automata generation Carnegie Mellon: The Rare Glitch Project 31 Bruce H. Krogh Carnegie Mellon: The Rare Glitch Project 32 Bruce H. Krogh The Rare Glitch Project l Hybrid system abstractions composable with independent embedded software models l Generation of requirements from hybrid system models (timing and resource constraints) l Improved technology order-reduction focused refinement automatic model abstraction usability Carnegie Mellon: The Rare Glitch Project 33 Bruce H. Krogh

Lecture 9: Reachability

Lecture 9: Reachability Lecture 9: Reachability Outline of Lecture Reachability General Transition Systems Algorithms for Reachability Safety through Reachability Backward Reachability Algorithm Given hybrid automaton H : set

More information

Computational Techniques for Hybrid System Verification

Computational Techniques for Hybrid System Verification 64 IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL 48, NO 1, JANUARY 2003 Computational Techniques for Hybrid System Verification Alongkrit Chutinan Bruce H Krogh, Fellow, IEEE Abstract This paper concerns

More information

Verification of Infinite-State Dynamic Systems Using Approximate Quotient Transition Systems

Verification of Infinite-State Dynamic Systems Using Approximate Quotient Transition Systems IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL 46, NO 9, SEPTEMBER 2001 1401 Verification of Infinite-State Dynamic Systems Using Approximate Quotient Transition Systems Alongkrit Chutinan and Bruce H Krogh,

More information

Formal Verification of Hybrid Systems Using CheckMate: A Case Study

Formal Verification of Hybrid Systems Using CheckMate: A Case Study Formal Verification of Hybrid Systems Using CheckMate: A Case Study B. Izaias Silva and Bruce H. Krogh Dept. of Electrical and Computer Engineering Carnegie Mellon University Pittsburgh, PA 15213-3890

More information

Efficient Representation and Computation of Reachable Sets for Hybrid Systems

Efficient Representation and Computation of Reachable Sets for Hybrid Systems Efficient Representation and Computation of Reachable Sets for Hybrid Systems Olaf Stursberg 1 and Bruce H. Krogh 2 1 University of Dortmund Germany olaf.stursberg@uni-dortmund.de 2 Dept. of Electrical

More information

Heterogeneous Modeling: Hybrid Systems

Heterogeneous Modeling: Hybrid Systems Heterogeneous Modeling: Hybrid Systems Hybrid Models Automotive Powertrain Languages and Verification Problems Simulink and StateFlow CheckMate Charon Masaccio Motivation Hybrid Systems are becoming a

More information

Reachability of Hybrid Systems using Support Functions over Continuous Time

Reachability of Hybrid Systems using Support Functions over Continuous Time Reachability of Hybrid Systems using Support Functions over Continuous Time Goran Frehse, Alexandre Donzé, Scott Cotton, Rajarshi Ray, Olivier Lebeltel, Rajat Kateja, Manish Goyal, Rodolfo Ripado, Thao

More information

Model Checking Revision: Model Checking for Infinite Systems Revision: Traffic Light Controller (TLC) Revision: 1.12

Model Checking Revision: Model Checking for Infinite Systems Revision: Traffic Light Controller (TLC) Revision: 1.12 Model Checking mc Revision:.2 Model Checking for Infinite Systems mc 2 Revision:.2 check algorithmically temporal / sequential properties fixpoint algorithms with symbolic representations: systems are

More information

Efficient Bounded Reachability Computation for Rectangular Automata

Efficient Bounded Reachability Computation for Rectangular Automata Efficient Bounded Reachability Computation for Rectangular Automata Xin Chen, Erika Ábrahám, and Goran Frehse RWTH Aachen University, Germany Université Grenoble Joseph Fourier - Verimag, France Abstract.

More information

Computing Reachable Sets : An Introduction

Computing Reachable Sets : An Introduction 1 Computing Reachable Sets : An Introduction Oded Maler Abstract This paper provides a tutorial introduction to reachability computation, a new class of computational techniques developed in order to export

More information

Reach Sets and the Hamilton-Jacobi Equation

Reach Sets and the Hamilton-Jacobi Equation Reach Sets and the Hamilton-Jacobi Equation Ian Mitchell Department of Computer Science The University of British Columbia Joint work with Alex Bayen, Meeko Oishi & Claire Tomlin (Stanford) research supported

More information

This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No

This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No 643921. TOOLS INTEGRATION UnCoVerCPS toolchain Goran Frehse, UGA Xavier

More information

Lecture 2. Decidability and Verification

Lecture 2. Decidability and Verification Lecture 2. Decidability and Verification model temporal property Model Checker yes error-trace Advantages Automated formal verification, Effective debugging tool Moderate industrial success In-house groups:

More information

lations, of the innite-state transition system. Previous papers have presented algorithms for computing nite-state transition systems for hybrid syste

lations, of the innite-state transition system. Previous papers have presented algorithms for computing nite-state transition systems for hybrid syste Verication of Polyhedral-Invariant Hybrid Automata Using Polygonal Flow Pipe Approximations Alongkrit Chutinan and Bruce H. Krogh Department of Electrical and Computer Engineering Carnegie Mellon University

More information

Automatic synthesis of switching controllers for linear hybrid systems: Reachability control

Automatic synthesis of switching controllers for linear hybrid systems: Reachability control Automatic synthesis of switching controllers for linear hybrid systems: Reachability control Massimo Benerecetti and Marco Faella Università di Napoli Federico II, Italy Abstract. We consider the problem

More information

Extensions of the algorithm to deal with hybrid systems, controller synthesis and continuous disturbances are described in section 4 along with severa

Extensions of the algorithm to deal with hybrid systems, controller synthesis and continuous disturbances are described in section 4 along with severa Approximate Reachability Analysis of Piecewise-Linear Dynamical Systems? Eugene Asarin 1, Olivier Bournez 2, Thao Dang 1, and Oded Maler 1 1 Verimag, Centre Equation, 2, av. de Vignate, 38610 Gieres, France

More information

Automated Formal Methods for Embedded Systems

Automated Formal Methods for Embedded Systems Automated Formal Methods for Embedded Systems Bernd Finkbeiner Universität des Saarlandes Reactive Systems Group 2011/02/03 Bernd Finkbeiner (UdS) Embedded Systems 2011/02/03 1 / 48 Automated Formal Methods

More information

AVERIST: An Algorithmic Verifier for Stability

AVERIST: An Algorithmic Verifier for Stability Available online at www.sciencedirect.com Electronic Notes in Theoretical Computer Science 317 (2015) 133 139 www.elsevier.com/locate/entcs AVERIST: An Algorithmic Verifier for Stability Pavithra Prabhakar

More information

Zonotope/Hyperplane Intersection for Hybrid Systems Reachability Analysis

Zonotope/Hyperplane Intersection for Hybrid Systems Reachability Analysis Zonotope/Hyperplane Intersection for Hybrid Systems Reachability Analysis Antoine Girard 1 and Colas Le Guernic 2 1 Laboratoire Jean Kuntzmann, Université Joseph Fourier Antoine.Girard@imag.fr, 2 VERIMAG,

More information

Using Heterogeneous Formal Methods in Model-Based Development LCCC Workshop on Formal Verification of Embedded Control Systems

Using Heterogeneous Formal Methods in Model-Based Development LCCC Workshop on Formal Verification of Embedded Control Systems Using Heterogeneous Formal Methods in Model-Based Development LCCC Workshop on Formal Verification of Embedded Control Systems Bruce H. Krogh Carnegie Mellon University in Rwanda Kigali, Rwanda 1 Model-Based

More information

Verification of Uncertain Embedded Systems by Computing Reachable Sets based on Zonotopes

Verification of Uncertain Embedded Systems by Computing Reachable Sets based on Zonotopes Proceedings of the 7th World Congress The International Federation of Automatic Control Verification of Uncertain Embedded Systems by Computing Reachable Sets based on Zonotopes Matthias Althoff Olaf Stursberg

More information

Using Hybrid-System Verification Tools in the Design of Simplex-Based Systems. Scott D. Stoller

Using Hybrid-System Verification Tools in the Design of Simplex-Based Systems. Scott D. Stoller Using Hybrid-System Verification Tools in the Design of Simplex-Based Systems Scott D. Stoller 2014 Annual Safe and Secure Systems and Software Symposium (S5) 1 Simplex Architecture Simplex Architecture

More information

Simulation and Verification of Timed and Hybrid Systems

Simulation and Verification of Timed and Hybrid Systems Simulation and Verification of Timed and Hybrid Systems Bert van Beek and Koos Rooda Systems Engineering Group Eindhoven University of Technology ISC 2007 Delft 11 June 2007 Bert van Beek and Koos Rooda

More information

Language Overview for PHAVer version 0.35

Language Overview for PHAVer version 0.35 Language Overview for PHAVer version 0.35 Goran Frehse June 22, 2006 We have tried to construct a textual input language that is as user friendly as possible, while keeping the parser simple. In the syntax,

More information

Hierarchical Hybrid Modeling of Embedded Systems. Rajeev Alur. Systems Design Research Lab University of Pennsylvania

Hierarchical Hybrid Modeling of Embedded Systems. Rajeev Alur. Systems Design Research Lab University of Pennsylvania Hierarchical Hybrid Modeling of Embedded Systems Rajeev Alur Systems Design Research Lab University of Pennsylvania www.cis.upenn.edu/~alur/ EMSOFT, Tahoe City, October 2001 Programming Interacting Autonomous

More information

Efficient Synthesis of Production Schedules by Optimization of Timed Automata

Efficient Synthesis of Production Schedules by Optimization of Timed Automata Efficient Synthesis of Production Schedules by Optimization of Timed Automata Inga Krause Institute of Automatic Control Engineering Technische Universität München inga.krause@mytum.de Joint Advanced Student

More information

A Toolbox of Level Set Methods

A Toolbox of Level Set Methods A Toolbox of Level Set Methods Ian Mitchell Department of Computer Science University of British Columbia http://www.cs.ubc.ca/~mitchell mitchell@cs.ubc.ca research supported by the Natural Science and

More information

1 Real-Time Reachability for Verified Simplex Design

1 Real-Time Reachability for Verified Simplex Design 1 Real-Time Reachability for Verified Simplex Design TAYLOR T. JOHNSON, University of Texas at Arlington STANLEY BAK, Air Force Research Laboratory MARCO CACCAMO, University of Illinois at Urbana-Champaign

More information

State Identification In The Hybrid Automata Description Of Dynamical Systems

State Identification In The Hybrid Automata Description Of Dynamical Systems State Identification In The Hybrid Automata Description Of Dynamical Systems ISABELLA KOTINI, GEORGE HASSAPIS Dept. of Electrical and Computer Engineering Aristotle University of Thessaloniki 54006, Thessaloniki

More information

FORMAL VERIFICATION OF AUTOPILOTS IN UNMANNED AIRCRAFT SYSTEMS

FORMAL VERIFICATION OF AUTOPILOTS IN UNMANNED AIRCRAFT SYSTEMS FORMAL VERIFICATION OF AUTOPILOTS IN UNMANNED AIRCRAFT SYSTEMS Bong-Jun Yang*, Parikshit Dutta*, Insoek Hwang** *Optimal Synthesis Inc., **School of Aeronautics and Astronautics, Purdue University Keywords:

More information

Hybrid Systems Analysis of Periodic Control Systems using Continuization

Hybrid Systems Analysis of Periodic Control Systems using Continuization Hybrid Systems Analysis of Periodic Control Systems using Continuization Stanley Bak Air Force Research Lab Information Directorate June 2015 DISTRIBUTION A. Approved for public release; Distribution unlimited.

More information

AN ABSTRACTION TECHNIQUE FOR REAL-TIME VERIFICATION

AN ABSTRACTION TECHNIQUE FOR REAL-TIME VERIFICATION AN ABSTRACTION TECHNIQUE FOR REAL-TIME VERIFICATION Edmund M. Clarke, Flavio Lerda, Muralidhar Talupur Computer Science Department Carnegie Mellon University Pittsburgh, PA 15213 {flerda,tmurali,emc}@cs.cmu.edu

More information

Reach Sets and the Hamilton-Jacobi Equation

Reach Sets and the Hamilton-Jacobi Equation Reach Sets and the Hamilton-Jacobi Equation Ian Mitchell Department of Computer Science The University of British Columbia Joint work with Alex Bayen, Meeko Oishi & Claire Tomlin (Stanford) research supported

More information

Applications of Program analysis in Model-Based Design

Applications of Program analysis in Model-Based Design Applications of Program analysis in Model-Based Design Prahlad Sampath (Prahlad.Sampath@mathworks.com) 2018 by The MathWorks, Inc., MATLAB, Simulink, Stateflow, are registered trademarks of The MathWorks,

More information

Polytopic Approximations of Reachable Sets applied to Linear Dynamic Games and to a Class of Nonlinear Systems

Polytopic Approximations of Reachable Sets applied to Linear Dynamic Games and to a Class of Nonlinear Systems 1 Polytopic Approximations of Reachable Sets applied to Linear Dynamic Games and to a Class of Nonlinear Systems Inseok Hwang 1, Dušan M. Stipanović 2, and Claire J. Tomlin 3 1 Assistant Professor, School

More information

EECE Hybrid and Embedded Systems: Computation

EECE Hybrid and Embedded Systems: Computation EECE 396-1 Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and Computer Science Vanderbilt University 300 Featheringill

More information

Hybrid System Modeling: Operational Semantics Issues

Hybrid System Modeling: Operational Semantics Issues Hybrid System Modeling: Operational Semantics Issues Edward A. Lee Professor UC Berkeley OMG Technical Meeting Feb. 4, 2004 Anaheim, CA, USA Special thanks to Jie Liu, Xiaojun Liu, Steve Neuendorffer,

More information

HyLAA: A Tool for Computing Simulation-Equivalent Reachability for Linear Systems

HyLAA: A Tool for Computing Simulation-Equivalent Reachability for Linear Systems HyLAA: A Tool for Computing Simulation-Equivalent Reachability for Linear Systems Stanley Bak and Parasara Sridhar Duggirala DISTRIBUTION A: Approved for public release; distribution unlimited (#88ABW-2016-2897).

More information

Techniques and Tools for Hybrid Systems Reachability Analysis

Techniques and Tools for Hybrid Systems Reachability Analysis which is funded by the German Research Council (DFG). Techniques and Tools for Hybrid Systems Reachability Analysis Stefan Schupp Johanna Nellen Erika Ábrahám RiSE4CPS, Heidelberg, Germany April 23, 2017

More information

Symbolic Model Checking of Hybrid Systems using Template Polyhedra

Symbolic Model Checking of Hybrid Systems using Template Polyhedra Symbolic Model Checking of Hybrid Systems using Template Polyhedra Sriram Sankaranarayanan 1, Thao Dang 2 and Franjo Ivančić 1 1. NEC Laboratories America, Princeton, NJ, USA. 2. Verimag, Grenoble, France.

More information

A set-based approach to robust control and verification of piecewise affine systems subject to safety specifications

A set-based approach to robust control and verification of piecewise affine systems subject to safety specifications Dipartimento di Elettronica, Informazione e Bioingegneria A set-based approach to robust control and verification of piecewise affine systems subject to safety specifications Maria Prandini maria.prandini@polimi.it

More information

GSPeeDI a Verification Tool for Generalized Polygonal Hybrid Systems

GSPeeDI a Verification Tool for Generalized Polygonal Hybrid Systems GSPeeDI a Verification Tool for Generalized Polygonal Hybrid Systems Hallstein A. Hansen 1 and Gerardo Schneider 2 1 Buskerud University College, Kongsberg, Norway Hallstein.Asheim.Hansen@hibu.no 2 Dept.

More information

Applications of Polytopic Approximations of Reachable Sets to Linear Dynamic Games and a Class of Nonlinear Systems 1

Applications of Polytopic Approximations of Reachable Sets to Linear Dynamic Games and a Class of Nonlinear Systems 1 Applications of Polytopic Approximations of Reachable Sets to Linear Dynamic Games and a Class of Nonlinear Systems 1 Inseok Hwang 2,Dušan M. Stipanović 3, and Claire J. Tomlin 4 Hybrid Systems Laboratory

More information

Timed Automata: Semantics, Algorithms and Tools

Timed Automata: Semantics, Algorithms and Tools Timed Automata: Semantics, Algorithms and Tools Johan Bengtsson and Wang Yi Uppsala University Email: {johanb,yi}@it.uu.se Abstract. This chapter is to provide a tutorial and pointers to results and related

More information

Multi-Clock Timed Networks

Multi-Clock Timed Networks Multi-Clock Timed Networks arosh Aziz Abdulla, Johann Deneux, and ritha Mahata Dept of Information Technology Uppsala University Sweden parosh,johannd,pritha @ituuse Abstract We consider verification of

More information

A Linear Programming Approach to Time Optimal Control of Integrator Switched Systems with State Constraints

A Linear Programming Approach to Time Optimal Control of Integrator Switched Systems with State Constraints A Linear rogramming Approach to Time Optimal Control of Integrator Switched Systems with State Constraints Xuping Xu Department of Electrical and Computer Engineering enn State Erie Erie, A 16563, USA

More information

TIMED APPROXIMATIONS OF HYBRID PROCESSES FOR CONTROLLER VERIFICATION. Olaf Stursberg, Sebastian Engell, and Stefan Kowalewski

TIMED APPROXIMATIONS OF HYBRID PROCESSES FOR CONTROLLER VERIFICATION. Olaf Stursberg, Sebastian Engell, and Stefan Kowalewski 14 th IFAC World Congress, Beiing (China), July 1999 TIME APPROXIMATIONS OF HYBRI PROCESSES FOR CONTROLLER VERIFICATION Olaf Stursberg, Sebastian Engell, and Stefan Kowalewsi Process Control Laboratory,

More information

PARAMETRIC VERIFICATION AND TEST COVERAGE FOR HYBRID AUTOMATA USING THE INVERSE METHOD

PARAMETRIC VERIFICATION AND TEST COVERAGE FOR HYBRID AUTOMATA USING THE INVERSE METHOD International Journal of Foundations of Computer Science c World Scientific Publishing Company PARAMETRIC VERIFICATION AND TEST COVERAGE FOR HYBRID AUTOMATA USING THE INVERSE METHOD LAURENT FRIBOURG Laboratoire

More information

Temporal Logic Control of Discrete-Time Piecewise Affine Systems

Temporal Logic Control of Discrete-Time Piecewise Affine Systems IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL. 57, NO. 6, JUNE 2012 1491 Temporal Logic Control of Discrete-Time Piecewise Affine Systems Boyan Yordanov, Member, IEEE, Jana Tůmová, Ivana Černá, Jiří Barnat,

More information

Robustness and Control Design Issues for a Verification Method for Piecewise Affine Systems

Robustness and Control Design Issues for a Verification Method for Piecewise Affine Systems Robustness and Control Design Issues for a Verification Method for Piecewise Affine Systems Jacob Roll Department of Electrical Engineering Linköping University, S-581 83 Linköping, Sweden WWW: http://www.control.isy.liu.se

More information

Hamilton-Jacobi Equations for Optimal Control and Reachability

Hamilton-Jacobi Equations for Optimal Control and Reachability Hamilton-Jacobi Equations for Optimal Control and Reachability Ian Mitchell Department of Computer Science The University of British Columbia Outline Dynamic programming for discrete time optimal Hamilton-Jacobi

More information

Utilizing Static Analysis for Programmable Logic Controllers

Utilizing Static Analysis for Programmable Logic Controllers Sébastien Bornot Ralf Huuck Ben Lukoschus Lehrstuhl für Softwaretechnologie Universität Kiel Preußerstraße 1 9, D-24105 Kiel, Germany seb rhu bls @informatik.uni-kiel.de Yassine Lakhnech Verimag Centre

More information

Automation Systems Discrete Event Control Systems and Networked Automation Systems

Automation Systems Discrete Event Control Systems and Networked Automation Systems Automation Systems Discrete Event Control Systems and Networked Automation Systems 2 nd Lecture Control Design Process System theory or Software-Engineering? System Theory Starting point: mathematical

More information

Discrete, Continuous, and Hybrid Petri Nets

Discrete, Continuous, and Hybrid Petri Nets Discrete, Continuous, and Hybrid Petri Nets Bearbeitet von René David, Hassane Alla 1. Auflage 2004. Buch. XXII, 570 S. Hardcover ISBN 978 3 540 22480 8 Format (B x L): 15,5 x 23,5 cm Gewicht: 2080 g Weitere

More information

Model-Based Design Challenges for Cyber-Physical Systems

Model-Based Design Challenges for Cyber-Physical Systems Model-Based Design Challenges for Cyber-Physical Systems Akshay Rajhans, PhD Senior Research Scientist Advanced Research and Technology Office MathWorks https://arajhans.github.io ExCAPE PI Meeting, University

More information

High-Level Hybrid Systems Analysis with Hypy

High-Level Hybrid Systems Analysis with Hypy High-Level Hybrid Systems Analysis with Hypy Stanley Bak, Sergiy Bogomolov, Christian Schilling Air Force Research Lab (AFRL), IST Austria, University of Freiburg ARCH 2016 DISTRIBUTION A. Approved for

More information

Model checking pushdown systems

Model checking pushdown systems Model checking pushdown systems R. Ramanujam Institute of Mathematical Sciences, Chennai jam@imsc.res.in Update Meeting, IIT-Guwahati, 4 July 2006 p. 1 Sources of unboundedness Data manipulation: integers,

More information

Symbolic Model Checking of Hybrid Systems Using Template Polyhedra

Symbolic Model Checking of Hybrid Systems Using Template Polyhedra Symbolic Model Checking of Hybrid Systems Using Template Polyhedra Sriram Sankaranarayanan 1,ThaoDang 2, and Franjo Ivančić 1 1 NEC Laboratories America, Princeton, NJ, USA 2 Verimag, Grenoble, France

More information

Research Article Modeling and Simulation Based on the Hybrid System of Leasing Equipment Optimal Allocation

Research Article Modeling and Simulation Based on the Hybrid System of Leasing Equipment Optimal Allocation Discrete Dynamics in Nature and Society Volume 215, Article ID 459381, 5 pages http://dxdoiorg/11155/215/459381 Research Article Modeling and Simulation Based on the Hybrid System of Leasing Equipment

More information

EE249 Discussion Petri Nets: Properties, Analysis and Applications - T. Murata. Chang-Ching Wu 10/9/2007

EE249 Discussion Petri Nets: Properties, Analysis and Applications - T. Murata. Chang-Ching Wu 10/9/2007 EE249 Discussion Petri Nets: Properties, Analysis and Applications - T. Murata Chang-Ching Wu 10/9/2007 What are Petri Nets A graphical & modeling tool. Describe systems that are concurrent, asynchronous,

More information

Controlling Hybrid Systems

Controlling Hybrid Systems Controlling Hybrid Systems From Theory to Application Manfred Morari M. Baotic, F. Christophersen, T. Geyer, P. Grieder, M. Kvasnica, G. Papafotiou Lessons learned from a decade of Hybrid System Research

More information

Action Language Verifier, Extended

Action Language Verifier, Extended Action Language Verifier, Extended Tuba Yavuz-Kahveci 1, Constantinos Bartzis 2, and Tevfik Bultan 3 1 University of Florida 2 Carnegie Mellon University 3 UC, Santa Barbara 1 Introduction Action Language

More information

Reasoning about Timed Systems Using Boolean Methods

Reasoning about Timed Systems Using Boolean Methods Reasoning about Timed Systems Using Boolean Methods Sanjit A. Seshia EECS, UC Berkeley Joint work with Randal E. Bryant (CMU) Kenneth S. Stevens (Intel, now U. Utah) Timed System A system whose correctness

More information

Retiming. Adapted from: Synthesis and Optimization of Digital Circuits, G. De Micheli Stanford. Outline. Structural optimization methods. Retiming.

Retiming. Adapted from: Synthesis and Optimization of Digital Circuits, G. De Micheli Stanford. Outline. Structural optimization methods. Retiming. Retiming Adapted from: Synthesis and Optimization of Digital Circuits, G. De Micheli Stanford Outline Structural optimization methods. Retiming. Modeling. Retiming for minimum delay. Retiming for minimum

More information

On the Language Inclusion Problem for Timed Automata: Closing a Decidability Gap

On the Language Inclusion Problem for Timed Automata: Closing a Decidability Gap SVC On the Language Inclusion Problem for Timed Automata 1 On the Language Inclusion Problem for Timed Automata: Closing a Decidability Gap Joël Ouaknine Computer Science Department, Carnegie Mellon University

More information

Geometric Modeling Mortenson Chapter 11. Complex Model Construction

Geometric Modeling Mortenson Chapter 11. Complex Model Construction Geometric Modeling 91.580.201 Mortenson Chapter 11 Complex Model Construction Topics Topology of Models Connectivity and other intrinsic properties Graph-Based Models Emphasize topological structure Boolean

More information

Simulink/Stateflow. June 2008

Simulink/Stateflow. June 2008 Simulink/Stateflow Paul Caspi http://www-verimag.imag.fr/ Pieter Mosterman http://www.mathworks.com/ June 2008 1 Introduction Probably, the early designers of Simulink in the late eighties would have been

More information

Efficiency. Narrowbanding / Local Level Set Projections

Efficiency. Narrowbanding / Local Level Set Projections Efficiency Narrowbanding / Local Level Set Projections Reducing the Cost of Level Set Methods Solve Hamilton-Jacobi equation only in a band near interface Computational detail: handling stencils near edge

More information

Timo Latvala. January 28, 2004

Timo Latvala. January 28, 2004 Reactive Systems: Kripke Structures and Automata Timo Latvala January 28, 2004 Reactive Systems: Kripke Structures and Automata 3-1 Properties of systems invariants: the system never reaches a bad state

More information

COMP 763. Eugene Syriani. Ph.D. Student in the Modelling, Simulation and Design Lab School of Computer Science. McGill University

COMP 763. Eugene Syriani. Ph.D. Student in the Modelling, Simulation and Design Lab School of Computer Science. McGill University Eugene Syriani Ph.D. Student in the Modelling, Simulation and Design Lab School of Computer Science McGill University 1 OVERVIEW In the context In Theory: Timed Automata The language: Definitions and Semantics

More information

Model-Based Design of Connected and Autonomous Vehicles

Model-Based Design of Connected and Autonomous Vehicles Model-Based Design of Connected and Autonomous Vehicles Akshay Rajhans, PhD Senior Research Scientist Advanced Research and Technology Office MathWorks https://arajhans.github.io 2 nd IEEE Summer School

More information

UPPAAL. Verification Engine, Options & Patterns. Alexandre David

UPPAAL. Verification Engine, Options & Patterns. Alexandre David UPPAAL Verification Engine, Options & Patterns Alexandre David 1.2.05 Outline UPPAAL Modelling Language Specification Language UPPAAL Verification Engine Symbolic exploration algorithm Zones & DBMs Verification

More information

Temporal logic-based decision making and control. Jana Tumova Robotics, Perception, and Learning Department (RPL)

Temporal logic-based decision making and control. Jana Tumova Robotics, Perception, and Learning Department (RPL) Temporal logic-based decision making and control Jana Tumova Robotics, Perception, and Learning Department (RPL) DARPA Urban Challenge 2007 2 Formal verification Does a system meet requirements? System

More information

Petri Nets. Petri Nets. Petri Net Example. Systems are specified as a directed bipartite graph. The two kinds of nodes in the graph:

Petri Nets. Petri Nets. Petri Net Example. Systems are specified as a directed bipartite graph. The two kinds of nodes in the graph: System Design&Methodologies Fö - 1 System Design&Methodologies Fö - 2 Petri Nets 1. Basic Petri Net Model 2. Properties and Analysis of Petri Nets 3. Extended Petri Net Models Petri Nets Systems are specified

More information

CONTEXT-DEPENDENT REACHABILITY ANALYSIS

CONTEXT-DEPENDENT REACHABILITY ANALYSIS The present work was submitted to the LuFG Theory of Hybrid Systems MASTER OF SCIENCE THESIS CONTEXT-DEPENDENT REACHABILITY ANALYSIS FOR HYBRID AUTOMATA Justin Winkens Examiners: Prof. Dr. Erika Ábrahám

More information

StateClock: a Tool for Timed Reactive Modules

StateClock: a Tool for Timed Reactive Modules StateClock: a Tool for Timed Reactive Modules Jonathan S. Ostroff Department Of Computer Science, York University, Toronto, Canada, M3J 1P3. Email: jonathan@yorku.ca Abstract: We provide an overview of

More information

Petri Nets ee249 Fall 2000

Petri Nets ee249 Fall 2000 Petri Nets ee249 Fall 2000 Marco Sgroi Most slides borrowed from Luciano Lavagno s lecture ee249 (1998) 1 Models Of Computation for reactive systems Main MOCs: Communicating Finite State Machines Dataflow

More information

Formal Specification and Verification. Formal methods for rigorous specification and verification of correctness requirements have witnessed increased

Formal Specification and Verification. Formal methods for rigorous specification and verification of correctness requirements have witnessed increased Model-Based Design of Embedded Software Λ Rajeev Alur Department of Computer and Information Science University of Pennsylvania Philadelphia, PA 19103 Email: alur@cis.upenn.edu URL: www.cis.upenn.edu/~alur/

More information

The Montana Toolset: OSATE Plugins for Analysis and Code Generation

The Montana Toolset: OSATE Plugins for Analysis and Code Generation Fremont Associates Process Project QA The Montana Toolset: OSATE Plugins for Analysis and Code Generation Oleg Sokolsky University of Pennsylvania AADL Workshop 005 Paris, France October 17-18, 18, 005

More information

A Study on Run Time Assurance for Complex Cyber Physical Systems

A Study on Run Time Assurance for Complex Cyber Physical Systems A Study on Run Time Assurance for Complex Cyber Physical Systems Matthew Clark, Xenofon Koutsoukos, Ratnesh Kumar, Insup Lee, George Pappas, Lee Pike, Joseph Porter, Oleg Sokolsky April 18, 2013 1 Contents

More information

Euclidean Shortest Paths in Simple Cube Curves at a Glance

Euclidean Shortest Paths in Simple Cube Curves at a Glance Euclidean Shortest Paths in Simple Cube Curves at a Glance Fajie Li and Reinhard Klette Computer Science Department The University of Auckland, New Zealand Abstract. This paper reports about the development

More information

Acceleration of Affine Hybrid Transformations

Acceleration of Affine Hybrid Transformations Acceleration of Affine Hybrid Transformations Bernard Boigelot 1, Frédéric Herbreteau 2, and Isabelle Mainz 1 1 Institut Montefiore, B28, Univ. Liège, Belgium {boigelot,mainz}@montefiore.ulg.ac.be 2 Univ.

More information

LOGIC SYNTHESIS AND VERIFICATION ALGORITHMS. Gary D. Hachtel University of Colorado. Fabio Somenzi University of Colorado.

LOGIC SYNTHESIS AND VERIFICATION ALGORITHMS. Gary D. Hachtel University of Colorado. Fabio Somenzi University of Colorado. LOGIC SYNTHESIS AND VERIFICATION ALGORITHMS by Gary D. Hachtel University of Colorado Fabio Somenzi University of Colorado Springer Contents I Introduction 1 1 Introduction 5 1.1 VLSI: Opportunity and

More information

COMP331/557. Chapter 2: The Geometry of Linear Programming. (Bertsimas & Tsitsiklis, Chapter 2)

COMP331/557. Chapter 2: The Geometry of Linear Programming. (Bertsimas & Tsitsiklis, Chapter 2) COMP331/557 Chapter 2: The Geometry of Linear Programming (Bertsimas & Tsitsiklis, Chapter 2) 49 Polyhedra and Polytopes Definition 2.1. Let A 2 R m n and b 2 R m. a set {x 2 R n A x b} is called polyhedron

More information

Automated Software Synthesis for Complex Robotic Systems

Automated Software Synthesis for Complex Robotic Systems Automated Software Synthesis for Complex Robotic Systems Indranil Saha Department of Computer Science and Engineering Indian Institute of Technology Kanpur Indranil Saha Automated Software Synthesis for

More information

Integration of CAE Tools for Complete System Prototyping EASY5 User Conference May, 2000 Presented by: Joel Tollefson

Integration of CAE Tools for Complete System Prototyping EASY5 User Conference May, 2000 Presented by: Joel Tollefson Integration of CAE Tools for Complete System Prototyping 2000 User Conference May, 2000 Presented by: Joel Tollefson Presentation Focus Provide a framework to support other presentations define concepts

More information

An MTBDD-based Implementation of Forward Reachability for Probabilistic Timed Automata

An MTBDD-based Implementation of Forward Reachability for Probabilistic Timed Automata An MTBDD-based Implementation of Forward Reachability for Probabilistic Timed Automata Fuzhi Wang and Marta Kwiatkowska School of Computer Science, University of Birmingham, Birmingham B15 2TT, United

More information

Program verification. Generalities about software Verification Model Checking. September 20, 2016

Program verification. Generalities about software Verification Model Checking. September 20, 2016 Program verification Generalities about software Verification Model Checking Laure Gonnord David Monniaux September 20, 2016 1 / 43 The teaching staff Laure Gonnord, associate professor, LIP laboratory,

More information

Mobile Robotics. Mathematics, Models, and Methods. HI Cambridge. Alonzo Kelly. Carnegie Mellon University UNIVERSITY PRESS

Mobile Robotics. Mathematics, Models, and Methods. HI Cambridge. Alonzo Kelly. Carnegie Mellon University UNIVERSITY PRESS Mobile Robotics Mathematics, Models, and Methods Alonzo Kelly Carnegie Mellon University HI Cambridge UNIVERSITY PRESS Contents Preface page xiii 1 Introduction 1 1.1 Applications of Mobile Robots 2 1.2

More information

By: Chaitanya Settaluri Devendra Kalia

By: Chaitanya Settaluri Devendra Kalia By: Chaitanya Settaluri Devendra Kalia What is an embedded system? An embedded system Uses a controller to perform some function Is not perceived as a computer Software is used for features and flexibility

More information

Zonotope Bundles for the Efficient Computation of Reachable Sets

Zonotope Bundles for the Efficient Computation of Reachable Sets Zonotope Bundles for the Efficient Computation of Reachable Sets Matthias Althoff and Bruce H. Krogh Abstract We introduce zonotope bundles for computing the set of states reachable by a dynamical system,

More information

System Design and Methodology/ Embedded Systems Design (Modeling and Design of Embedded Systems)

System Design and Methodology/ Embedded Systems Design (Modeling and Design of Embedded Systems) Design&Methodologies Fö 1&2-1 Design&Methodologies Fö 1&2-2 Course Information Design and Methodology/ Embedded s Design (Modeling and Design of Embedded s) TDTS07/TDDI08 Web page: http://www.ida.liu.se/~tdts07

More information

Kronos: A Model-Checking Tool for Real-Time Systems*

Kronos: A Model-Checking Tool for Real-Time Systems* Kronos: A Model-Checking Tool for Real-Time Systems* Marius Bozga ], Conrado Daws 1, Oded Maler 1, Alfredo Olivero 2, Stavros Tripakis 1 and Sergio Yovine 3 ~ 1 VERIMAG, Centre ]~quation, 2 avenue de Vignate,

More information

Application of an Exact Transversal Hypergraph in Selection of SM-Components

Application of an Exact Transversal Hypergraph in Selection of SM-Components Application of an Exact Transversal Hypergraph in Selection of SM-Components Łukasz Stefanowicz, Marian Adamski, and Remigiusz Wisniewski University of Zielona Góra, Institute of Computer Engineering and

More information

Hardware/Software Co-design

Hardware/Software Co-design Hardware/Software Co-design Zebo Peng, Department of Computer and Information Science (IDA) Linköping University Course page: http://www.ida.liu.se/~petel/codesign/ 1 of 52 Lecture 1/2: Outline : an Introduction

More information

Thomas H. Cormen Charles E. Leiserson Ronald L. Rivest. Introduction to Algorithms

Thomas H. Cormen Charles E. Leiserson Ronald L. Rivest. Introduction to Algorithms Thomas H. Cormen Charles E. Leiserson Ronald L. Rivest Introduction to Algorithms Preface xiii 1 Introduction 1 1.1 Algorithms 1 1.2 Analyzing algorithms 6 1.3 Designing algorithms 1 1 1.4 Summary 1 6

More information

Distributed Systems Programming (F21DS1) Formal Verification

Distributed Systems Programming (F21DS1) Formal Verification Distributed Systems Programming (F21DS1) Formal Verification Andrew Ireland Department of Computer Science School of Mathematical and Computer Sciences Heriot-Watt University Edinburgh Overview Focus on

More information

Digital Image Processing Chapter 11: Image Description and Representation

Digital Image Processing Chapter 11: Image Description and Representation Digital Image Processing Chapter 11: Image Description and Representation Image Representation and Description? Objective: To represent and describe information embedded in an image in other forms that

More information

Formal Verification of Autonomous Systems NASA Intelligent Systems Program

Formal Verification of Autonomous Systems NASA Intelligent Systems Program Formal Verification of Autonomous Systems NASA Intelligent Systems Program Edmund Clarke, David Garlan, Bruce Krogh, Reid Simmons, and Jeannette Wing Computer Science Department Institute for Software

More information

Course Introduction to Matlab and Simulink - Stateflow

Course Introduction to Matlab and Simulink - Stateflow Course Introduction to Matlab and Simulink - Stateflow Emanuele Ruffaldi June 08, 2017 http://www.eruffaldi.com/wp/introduction-to-matlab-and-simulink/ Scuola Superiore Sant Anna, Pisa Event-driven Systems

More information