Approximate Abstraction for Verification of Continuous and Hybrid Systems Antoine Girard Guest lecture ESE601: Hybrid Systems 03/22/2006

Slides:



Advertisements
Similar presentations
Finite Difference Discretization of Hyperbolic Equations: Linear Problems Lectures 8, 9 and 10.
Advertisements

1 of 13 STABILIZING a SWITCHED LINEAR SYSTEM by SAMPLED - DATA QUANTIZED FEEDBACK 50 th CDC-ECC, Orlando, FL, Dec 2011, last talk in the program! Daniel.
1 of 14 LIMITED - INFORMATION CONTROL of SWITCHED and HYBRID SYSTEMS via PROPAGATION of REACHABLE SETS HSCC, Philadelphia, April 2013 Daniel Liberzon Coordinated.
CONTROL of SWITCHED SYSTEMS with LIMITED INFORMATION
Hybrid System Verification Synchronous Workshop 2003 A New Verification Algorithm for Planar Differential Inclusions Gordon Pace University of Malta December.
INTRODUCTION to SWITCHED SYSTEMS ; STABILITY under ARBITRARY SWITCHING
Timed Automata.
Supervisory Control of Hybrid Systems Written by X. D. Koutsoukos et al. Presented by Wu, Jian 04/16/2002.
Model Checker In-The-Loop Flavio Lerda, Edmund M. Clarke Computer Science Department Jim Kapinski, Bruce H. Krogh Electrical & Computer Engineering MURI.
Uniqueness of Optimal Mod 3 Circuits for Parity Frederic Green Amitabha Roy Frederic Green Amitabha Roy Clark University Akamai Clark University Akamai.
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 :
ESE601: Hybrid Systems Some tools for verification Spring 2006.
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.
Aditya Zutshi Sriram Sankaranarayanan Ashish Tiwari TIMED RELATIONAL ABSTRACTIONS FOR SAMPLED DATA CONTROL SYSTEMS.
Combining Symbolic Simulation and Interval Arithmetic for the Verification of AMS Designs Mohamed Zaki, Ghiath Al Sammane, Sofiene Tahar, Guy Bois FMCAD'07.
Properties of State Variables
Multiple Shooting, CEGAR-based Falsification for Hybrid Systems
1 Nonlinear Control Design for LDIs via Convex Hull Quadratic Lyapunov Functions Tingshu Hu University of Massachusetts, Lowell.
Succinct Approximations of Distributed Hybrid Behaviors P.S. Thiagarajan School of Computing, National University of Singapore Joint Work with: Yang Shaofa.
IAAC International Symposium in Systems & Control, 7-8 October 2013, Technion, Haifa, Israel P-O Gutman: Constrained control of uncertain linear time-invariant.
1 Formal Models for Stability Analysis : Verifying Average Dwell Time * Sayan Mitra MIT,CSAIL Research Qualifying Exam 20 th December.
1 Stability of Hybrid Automata with Average Dwell Time: An Invariant Approach Daniel Liberzon Coordinated Science Laboratory University of Illinois at.
1 Verification and Synthesis of Hybrid Systems Thao Dang October 10, 2000.
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.
Feasibility, uncertainty and interpolation J. A. Rossiter (Sheffield, UK)
Model Checking for Hybrid Systems Bruce H. Krogh Carnegie Mellon University.
Spring semester 2006 ESE 601: Hybrid Systems Review material on continuous systems I.
Automatic Rectangular Refinement of Affine Hybrid Automata Tom Henzinger EPFL Laurent Doyen ULB Jean-François Raskin ULB FORMATS 2005 – Sep 27 th - Uppsala.
Some Fundamentals of Stability Theory
1 Compositional Verification of Hybrid Systems Using Simulation Relations Doctorate Defense Goran Frehse Radboud Universiteit, Nijmegen, Oct. 10, 2005.
Chess Review October 4, 2006 Alexandria, VA Edited and presented by Hybrid Systems: Theoretical Contributions Part I Shankar Sastry UC Berkeley.
Chess Review November 21, 2005 Berkeley, CA Edited and presented by Advances in Hybrid System Theory: Overview Claire J. Tomlin UC Berkeley.
November 21, 2005 Center for Hybrid and Embedded Software Systems Engine Hybrid Model A mean value model of the engine.
ESE601: Hybrid Systems Introduction to verification Spring 2006.
Beyond HyTech Presented by: Ben Horowitz and Rupak Majumdar Joint work with Tom Henzinger and Howard Wong-Toi.
NSF Foundations of Hybrid and Embedded Software Systems UC Berkeley: Chess Vanderbilt University: ISIS University of Memphis: MSI Program Review May 10,
Hybrid Controller Reachability Reachability analysis can be useful to determine how the continuous state of a system evolves. Ideally, this process can.
Antoine Girard VAL-AMS Project Meeting April 2007 Behavioral Metrics for Simulation-based Circuit Validation.
Approximation Metrics for Discrete and Continuous Systems Antoine Girard and George J. Pappas VERIMAG Workshop.
A Projection Framework for Near- Potential Polynomial Games Nikolai Matni Control and Dynamical Systems, California.
Regular Model Checking Ahmed Bouajjani,Benget Jonsson, Marcus Nillson and Tayssir Touili Moran Ben Tulila
Asymptotic Techniques
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.
Department of Mechanical Engineering The University of Strathclyde, Glasgow Hybrid Systems: Modelling, Analysis and Control Yan Pang Department of Mechanical.
November 21, 2005 Center for Hybrid and Embedded Software Systems Example To illustrate how changes in DB can be used to efficiently update a block diagram,
Emergent complexity Chaos and fractals. Uncertain Dynamical Systems c-plane.
Low Level Control. Control System Components The main components of a control system are The plant, or the process that is being controlled The controller,
CCN COMPLEX COMPUTING NETWORKS1 This research has been supported in part by European Commission FP6 IYTE-Wireless Project (Contract No: )
Control Synthesis and Reconfiguration for Hybrid Systems October 2001 Sherif Abdelwahed ISIS Vanderbilt University.
CC Kick-Off Meeting Grenoble 24-25/1/2002. CC: Partners VERIMAG (Oded Maler) ETH Zurich (Manfred Morari) Lund (Anders Rantzer) PARADES (Alberto SV) CWI.
Verification & Validation By: Amir Masoud Gharehbaghi
1 Verification in the Model-Based Design Flow Bruce H. Krogh CMACS Review March 4, 2010 TexPoint fonts use in EMF. Read the TexPoint manual before you.
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 Formal Models for Stability Analysis of Hybrid Systems: Verifying Average Dwell Time * Sayan Mitra MIT,CSAIL Research Qualifying.
Optimization of Nonlinear Singularly Perturbed Systems with Hypersphere Control Restriction A.I. Kalinin and J.O. Grudo Belarusian State University, Minsk,
Relational String Verification Using Multi-track Automata.
Controller Synthesis For Timed Automata Authors : Eugene Asarin, Oded Maler, Amir Pnueli and Joseph Sifakis Yean-Ru Chen Embedded System Laboratory of.
Nonlinear balanced model residualization via neural networks Juergen Hahn.
Abstractions Eric Feron. Outline Principles of abstraction Motivating example Abstracting variables Abstracting functions Abstracting operators Recommended.
Autonomous Cyber-Physical Systems: Dynamical Systems
CSE 245: Computer Aided Circuit Simulation and Verification
Discrete Controller Synthesis
Lecture 4 - Monte Carlo improvements via variance reduction techniques: antithetic sampling Antithetic variates: for any one path obtained by a gaussian.
Introduction to verification
Presentation transcript:

Approximate Abstraction for Verification of Continuous and Hybrid Systems Antoine Girard Guest lecture ESE601: Hybrid Systems 03/22/2006 VERIMAG

Hybrid Systems General modeling framework for complex systems : - continuous dynamics (ode, pde, sde) - discrete dynamics (automata, Markov processes) Several applications including embedded systems : - design : computer = automata, continuous environment - implementation : integrated circuits, analogical et numerical components These systems are generally : - structured (hierarchical modeling/architecture) - large scale systems (numerous continuous variables) - safety critical (plane, subway, nuclear power plant)

Algorithmic Verification Algorithmic proof of the safety of a system: No trajectory of the system can reach a set of unsafe states. Initially on the software part [ …] : - verification of discrete systems, Model Checking - for some properties, one cannot ignore the continuous dynamics Verification of continuous and hybrid systems [ …] : - exhaustive simulation of systems using set valued computations techniques. - central notion reachable set : subset of the state space, reachable by the trajectories of the system from a subset of initial states.

Reachability Analysis Computation of the reachable set : - exactly for some very simple classes of systems Piecewise constant differential inclusions, some linear systems - approximately for other classes (over-approximation algorithms) Over-approximation algorithms Set-based simulation + numerical errors: - Polytopes [Asarin, Dang, Maler; Krogh et.al.; Girard] - Ellipsoids [Kurzhanski, Varayia] Reach Init Unsafe

Complexity Barrier Computational cost of the reachable set is a major issue ! Linear systemsPiecewise affine systems Nonlinear systemsHybrid systems Model Complexity Dimension of the continuous state space Complex system

Abstraction Notion of system approximation : S 2 is an abstraction of S 1 iff every trajectory of S 1 is also a trajectory of S 2. Hybridization : Approximation of complex continuous dynamics by simpler hybrid dynamics. [Asarin, Dang, Girard; Lefebvre, Gueguen; Frehse] Dimension reduction [Pappas et.al.; van der Schaft] If S 2 is safe then S 1 is safe :

Analysis of complex systems Abstraction methods for complexity reduction of systems Linear systemsPiecewise affine systems Nonlinear systemsHybrid system Model complexity Dimension of the continuous state space Complex system Abstraction Dimension reduction Hybridization

Outline 1.Abstraction and Approximation : - Simulation relation - Approximate simulation relation 2.Approximate simulation relations for continuous systems. 3. Approximate simulation relations for hybrid systems.

Simulation Relations Local characterization of trajectories inclusion. Simulation relation R  X 1 x X 2 : If for all initial state x 1 of S 1 there exists an initial state x 2 of S 2 such that (x 1,x 2 )  R then S 2 is an abstraction of S 1.

From Abstraction to Approximation Trajectories inclusion is well suited to discrete systems. For continuous and hybrid systems, it is restrictive : Natural topology on the state space  Distance between the trajectories seems more appropriate Thus, S 2 is an approximate abstraction or approximation of S 1 if For every trajectory of S 1, there exists a trajectory of S 2 such that the distance between the trajectories remains bonded by   is the precision of the approximation (  = 0, abstraction).

A Useful Notion for Verification If S 2 is an approximation of S 1 of precision  : Therefore, The safety of S 1 can be proved using an approximation S 2.

Approximate Simulation Relation Local characterization of the notion of approximation. Approximate simulation relation of precision , R  X 1 x X 2 : If for every initial state x 1 of S 1 there exists an initial state x 2 of S 2 such that (x 1,x 2 )  R, then S 2 is an approximation of S 1 of precision . - A. Girard, G.J. Pappas, Approximation metrics for discrete and continuous systems, IEEE TAC, accepted 2006.

Outline 1.Abstraction and Approximation : - Simulation relation - Approximate simulation relation 2.Approximate simulation relations for continuous systems. 3. Approximate simulation relations for hybrid systems.

Simulation Functions is a simulation function if A. Girard, G.J. Pappas, Approximate bisimulations for constrained linear systems, CDC A. Girard, G.J. Pappas, Approximate bisimulations for nonlinear dynamical systems, CDC 2005.

Simulation Functions Simulation functions define approximate simulation relations: Particularly, Let then S 2 is an approximation of S 1 of precision . - A. Girard, G.J. Pappas, Approximation metrics for discrete and continuous systems, IEEE TAC, accepted 2006.

Simulation function: Example

Indeed, and Then, Since Reach(S 2 ) = (-1,8.5], Example

Linear Systems is a simulation function if

We look for simulation functions of the form Decomposition of the approximation error: transient /asymptotic Characterization For a λ > 0. Truncated Quadratic Functions A. Girard, G.J. Pappas, Approximate bisimulations for constrained linear systems, CDC 2005.

Truncated Quadratic Functions Universal for stable linear systems : Two stable linear systems are approximations of each other. (though the precision may be very bad) Characterisation allows algorithmic computation of simulation functions. Generalizable to non-stable systems : Two linear systems with identical unstable subsystems are approximations of each other.

MATISSE MATLAB toolbox Functionalities: - Computation of a simulation function between a system and its projection. - Evaluates the precision of the approximation of a system by its projection. - Finds a good projection of a system (for a given dimension). - Reachability computations based on zonotopes. Available from Metrics for Approximate TransItion Systems Simulation and Equivalence

MATISSE Example of application: safety verification of a 10 dimensional system Metrics for Approximate TransItion Systems Simulation and Equivalence 10 dimensional original system 5 dimensional approximation 7 dimensional approximation

Outline 1.Abstraction and Approximation : - Simulation relation - Approximate simulation relation 2.Approximate simulation relations for continuous systems. 3. Approximate simulation relations for hybrid systems.

Hybrid Systems Hybrid automaton H 1 of the type:

Approximation of Hybrid Systems Approximation H 2 of the hybrid automaton H 1 : Metrics on the set of observations H 1 et H 2 have the same discrete structure - same underlying automaton - approximation of the continuous dynamics

Approximation of Hybrid Systems H 2 approximation of H 1 of the form:

Approximation of the Continuous Dynamics For each mode l  L, the continuous dynamics of H 1 is approximated. We compute a simulation function We define a notion of neighborhood

Simulation relation of the form : of precision δ=max(δ 1, …, δ |L| ). Sufficient conditions : If then H 2 is an approximation of H 1 of precision δ=max(δ 1, …, δ |L| ). Approximate Simulation Relations for Hybrid Systems A. Girard, A.A. Julius, G.J. Pappas, Approximate simulation relations for hybrid systems, ADHS 2006, submitted.

Example

The first dynamics (dimension 4) is approximated by a 2 dimensional dynamics. Original systemApproximation

Extensions Methods for the computation simulation functions for continuous nonlinear systems (SOS programs) Theoretical framework and aglorithms for approximation of stochastic hybrid systems A. Girard, G.J. Pappas, Approximate bisimulations for nonlinear dynamical systems, CDC A.A. Julius, A. Girard, G.J. Pappas, Approximate bisimulation for a class of stochastic hybrid systems, ACC A.A. Julius, Approximate abstraction of stochastic hybrid automata, HSCC 2006.

Unified (discrete/continuous/hybrid) framework for system approximation. Approximation as a relaxation of the notion of abstraction: - distance between trajectories rather than an inclusion relation. - allows additional simplifications. Approach based on simulation functions - Lyapunov-like characterization - Algorithms (LMIs, SOS, Optimization) Framework suitable for safety verification of complex systems. Conclusion