ESE601: Hybrid Systems Some tools for verification Spring 2006.

Slides:



Advertisements
Similar presentations
Incremental Linear Programming Linear programming involves finding a solution to the constraints, one that maximizes the given linear function of variables.
Advertisements

Solving LP Models Improving Search Special Form of Improving Search
Game-theoretic approach to the simulation checking problem Peter Bulychev Vladimir Zakharov Lomonosov Moscow State University.
UPPAAL Introduction Chien-Liang Chen.
Hybrid Systems Presented by: Arnab De Anand S. An Intuitive Introduction to Hybrid Systems Discrete program with an analog environment. What does it mean?
Timed Automata.
UPPAAL Andreas Hadiyono Arrummaisha Adrifina Harya Iswara Aditya Wibowo Juwita Utami Putri.
P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2014 – 35148: Continuous Solution for Boundary Value Problems.
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.
Compatibility between shared variable valuations in timed automaton network model- checking Zhao Jianhua, Zhou Xiuyi, Li Xuandong, Zheng Guoliang Presented.
Hybrid Approach to Model-Checking of Timed Automata DAT4 Project Proposal Supervisor: Alexandre David.
Automatic Control Laboratory, ETH Zürich Automatic dualization Johan Löfberg.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Convex Optimization Chapter 1 Introduction. What, Why and How  What is convex optimization  Why study convex optimization  How to study convex optimization.
Lecture 8 – Nonlinear Programming Models Topics General formulations Local vs. global solutions Solution characteristics Convexity and convex programming.
Graph Laplacian Regularization for Large-Scale Semidefinite Programming Kilian Weinberger et al. NIPS 2006 presented by Aggeliki Tsoli.
Basic Feasible Solutions: Recap MS&E 211. WILL FOLLOW A CELEBRATED INTELLECTUAL TEACHING TRADITION.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Symbolic dynamics of Markov chains P S Thiagarajan School of Computing National University of Singapore Joint work with: Manindra Agrawal, S Akshay, Blaise.
Maths for Computer Graphics
Support Vector Machines
Convertibility Verification and Converter Synthesis: Two Faces of the Same Coin Jie-Hong Jiang EE249 Discussion 11/21/2002 Passerone et al., ICCAD ’ 02.
Discrete Abstractions of Hybrid Systems Rajeev Alur, Thomas A. Henzinger, Gerardo Lafferriere and George J. Pappas.
Automatic Rectangular Refinement of Affine Hybrid Automata Tom Henzinger EPFL Laurent Doyen ULB Jean-François Raskin ULB FORMATS 2005 – Sep 27 th - Uppsala.
Pablo A. Parrilo ETH Zürich SOS Relaxations for System Analysis: Possibilities and Perspectives Pablo A. Parrilo ETH Zürich control.ee.ethz.ch/~parrilo.
Approximate Abstraction for Verification of Continuous and Hybrid Systems Antoine Girard Guest lecture ESE601: Hybrid Systems 03/22/2006
Penn ESE535 Spring DeHon 1 ESE535: Electronic Design Automation Day 5: February 2, 2009 Architecture Synthesis (Provisioning, Allocation)
Lecture outline Support vector machines. Support Vector Machines Find a linear hyperplane (decision boundary) that will separate the data.
ESE601: Hybrid Systems Introduction to verification Spring 2006.
Support Vector Machines
Ch. 9: Direction Generation Method Based on Linearization Generalized Reduced Gradient Method Mohammad Farhan Habib NetLab, CS, UC Davis July 30, 2010.
Pablo A. Parrilo ETH Zürich Semialgebraic Relaxations and Semidefinite Programs Pablo A. Parrilo ETH Zürich control.ee.ethz.ch/~parrilo.
Non-Linear Simultaneous Equations
Linear programming. Linear programming… …is a quantitative management tool to obtain optimal solutions to problems that involve restrictions and limitations.
1 Chapter 2 Matrices Matrices provide an orderly way of arranging values or functions to enhance the analysis of systems in a systematic manner. Their.
Today Wrap up of probability Vectors, Matrices. Calculus
An Introduction to Support Vector Machines Martin Law.
Approximation Metrics for Discrete and Continuous Systems Antoine Girard and George J. Pappas VERIMAG Workshop.
Machine Learning CUNY Graduate Center Lecture 3: Linear Regression.
UPPAAL Ghaith Haddad. Introduction UPPAAL is a tool for modeling, validation and verification of real-time systems. Appropriate for systems that can be.
SeDuMi Interface A tool for solving LMI problems with SeDuMi
Transformation of Timed Automata into Mixed Integer Linear Programs Sebastian Panek.
Fin500J: Mathematical Foundations in Finance
MATH – High School Common Core Vs Tested Kansas Standards Please note: For informational purposes, all Common Core standards are listed, and the tested.
Ken YoussefiMechanical Engineering Dept. 1 Design Optimization Optimization is a component of design process The design of systems can be formulated as.
Ali Molavi Iran University Of Science and Technology April 28
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Lecture51 Timed Automata II CS 5270 Lecture 5.
An Introduction to Support Vector Machines (M. Law)
Lecture 81 Regional Automaton CS 5270 Lecture 8. Lecture 82 What We Need to Do Problem: –We need to analyze the timed behavior of a TTS. –The timed behavior.
1 Outline:  Optimization of Timed Systems  TA-Modeling of Scheduling Tasks  Transformation of TA into Mixed-Integer Programs  Tree Search for TA using.
Proving Non-Termination Gupta, Henzinger, Majumdar, Rybalchenko, Ru-Gang Xu presentation by erkan.
Motivation For analytical design of control systems,
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Supplement 6 Linear Programming.
Part 3. Linear Programming 3.2 Algorithm. General Formulation Convex function Convex region.
ECE/CS 584: Verification of Embedded Computing Systems Model Checking Timed Automata Sayan Mitra Lecture 09.
Support-Vector Networks C Cortes and V Vapnik (Tue) Computational Models of Intelligence Joon Shik Kim.
Searching a Linear Subspace Lecture VI. Deriving Subspaces There are several ways to derive the nullspace matrix (or kernel matrix). ◦ The methodology.
Nonlinear Dimension Reduction: Semi-Definite Embedding vs. Local Linear Embedding Li Zhang and Lin Liao.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
UPPAAL Real-Time Systems Lab. Seolyoung, Jeong.
Computation of the solutions of nonlinear polynomial systems
Arithmetic Constraints and Automata
Support Vector Machines Introduction to Data Mining, 2nd Edition by
Local Gain Analysis of Nonlinear Systems
Timed Automata Formal Systems Pallab Dasgupta Professor,
Discrete Controller Synthesis
A particular discrete dynamical program used as a model for one specific situation in chess involving knights and rooks 22nd EUROPEAN CONFERENCE ON OPERATIONS.
Nonlinear Dimension Reduction:
Presentation transcript:

ESE601: Hybrid Systems Some tools for verification Spring 2006

Software tools for verification See the Hybrid Systems wiki at GRASP: Today we are going to discuss: MATISSE for reachability of constrained linear systems. SOSTOOLS for computation of barrier certificate for nonlinear systems UPPAAL for verification of timed automata

MATISSE MATISSE is a MATLAB toolbox. ‘Developed by Antoine Girard and George Pappas at UPenn. Main purpose is to compute abstraction/reduction of constrained linear systems, based on approximate bisimulation. [will be discussed later] Contains a functionality to compute the reachable set of a constrained linear system.

Constrained Linear Systems Constraints and reachable set are expressed as zonotopes. Constrained linear systems are systems of the form: The set I and U are zonotopes.

What is a zonotope? Zonotope: Minkowski sum of a finite number of segments. c is the center of the zonotope, {g 1,…,g p } are the generators. The ratio p/n is the order of the zonotope. Two dimensional zonotope with 3 generators

The encoding of a zonotope has a polynomial complexity with the dimension. The set of zonotopes is closed under linear transformation The set of zonotopes is closed under the Minkowski sum Exactly what we need for our reachability algorithm Some Properties of Zonotopes

Usage A constrained linear system (CLS) is defined as a 5- tuple, (A,B,C,U,I). Example:

Reachable set Reachable set is computed using the function reach_set. The function returns two arrays of zonotopes. S is a CLS, dt is the time step, N is the number of intervals. The end time of the reachability algorithm is thus N x dt. Then, a 2-dimensional cross-section of the reachability set can be plotted using:

Plotting the reachable set Plotting the reachability set in 2D: P is a 2xm matrix that defines the projection from output space to. The color of the plot is defined by the last option. In this case ‘b’ means blue, ‘r’ means red, etc

Example

SOSTOOLS for barrier certificate SOSTOOLS is a MATLAB toolbox for formulating and solving sums of squares (SOS) optimization programs. It is developed by a group from Caltech. Website: The problems are solved using Sedumi or SDPT3, both well-known semidefinite programming solver, with SOSTOOLS handling internally all the necessary reformulations and data conversion.

Sum of squares

Gram matrix representation

Sum of squares program (SOSP) The feasible set of solutions is convex.

Basic steps

Usage Polynomials can be declared symbolically: A SOSP is initialized using the function sosprogram. Declaring scalar decision variables

Usage Declaring polynomial variables. Declaring SOS polynomial variables is done in terms of the constructing vector of monomials.

Usage Adding equality constraints. will add the following equality constraint to the program Adding inequality constraints. will add the following inequality constraint to the program

Usage The solver is called using sossolve function. The output contains: The solution is then obtained by the function sosgetsol. SOSP variable

Safety verification

UPPAAL UPPAAL is a software tool for modeling and verification of timed automata. UPPAAL is developed by a group of researchers from Uppsala (Sweden) and Aalborg (Denmark). It has a graphical interface. A complex system can be modeled as a network of hybrid automata, sharing some global variables (including clocks), and synchronizing with a handshake.

Two automata can execute a transition labeled ‘lab’ if the guards are satisfied at both automata, and in one automaton the transition is label as ‘lab?’ and the other ‘lab!’. Verification is done by verifying temporal logic formulas. When a formula is invalid, a counterexample is provided. UPPAAL lab? lab! synchronize