ECE/CS 584: Hybrid Automaton Modeling Framework Executions, Reach set, Invariance Lecture 03 Sayan Mitra.

Slides:



Advertisements
Similar presentations
Model Checking Lecture 2. Three important decisions when choosing system properties: 1automata vs. logic 2branching vs. linear time 3safety vs. liveness.
Advertisements

Hybrid automata - Abstraction Anders P. Ravn Department of Computer Science, Aalborg University, Denmark Hybrid Systems – PhD School Aalborg University.
CS 267: Automated Verification Lecture 8: Automata Theoretic Model Checking Instructor: Tevfik Bultan.
1 Fault Diagnosis for Timed Automata Stavros Tripakis VERIMAG.
Automatic Verification Book: Chapter 6. What is verification? Traditionally, verification means proof of correctness automatic: model checking deductive:
Rigorous Software Development CSCI-GA Instructor: Thomas Wies Spring 2012 Lecture 11.
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?
CS 367: Model-Based Reasoning Lecture 2 (01/15/2002)
Timed Automata.
Introduction to Uppaal ITV Multiprogramming & Real-Time Systems Anders P. Ravn Aalborg University May 2009.
UPPAAL Andreas Hadiyono Arrummaisha Adrifina Harya Iswara Aditya Wibowo Juwita Utami Putri.
/ PSWLAB P ROMELA Semantics from “THE SPIN MODEL CHECKER” by G. J. Holzmann Presented by Hong,Shin 5 th Oct :021PROMELA Semantics.
CSE 522 UPPAAL – A Model Checking Tool Computer Science & Engineering Department Arizona State University Tempe, AZ Dr. Yann-Hang Lee
1 Mechanical Verification of Timed Automata Myla Archer and Constance Heitmeyer Presented by Rasa Bonyadlou 24 October 2002.
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.
Multi-agent Planning Amin Atrash. Papers Dynamic Planning for Multiple Mobile Robots –Barry L. Brummit, Anthony Stentz OBDD-based Universal Planning:
EECE Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and.
1 Formal Methods in SE Qaisar Javaid Assistant Professor Lecture # 11.
Model Checking. Used in studying behaviors of reactive systems Typically involves three steps: Create a finite state model (FSM) of the system design.
Hybrid Systems a lecture over: Tom Henzinger’s The Theory of Hybrid Automata Anders P. Ravn Aalborg University PhD-reading course November 2005.
Probabilistic Verification of Discrete Event Systems Håkan L. S. Younes.
Operational Semantics Semantics with Applications Chapter 2 H. Nielson and F. Nielson
Tool Integration of Ptolemy II EE290N Class Project Haiyang Zheng May
Hybrid automata Rafael Wisniewski Automation and Control, Dept. of Electronic Systems Aalborg University, Denmark Hybrid Systems October 9th 2009.
Model Checking Lecture 5. Outline 1 Specifications: logic vs. automata, linear vs. branching, safety vs. liveness 2 Graph algorithms for model checking.
Chapter 8 Asynchronous System Model by Mikhail Nesterenko “Distributed Algorithms” by Nancy A. Lynch.
Cheng/Dillon-Software Engineering: Formal Methods Model Checking.
Timed UML State Machines Ognyana Hristova Tutor: Priv.-Doz. Dr. Thomas Noll June, 2007.
UPPAAL Ghaith Haddad. Introduction UPPAAL is a tool for modeling, validation and verification of real-time systems. Appropriate for systems that can be.
Introduction to ASMs Dumitru Roman Digital Enterprise Research Institute
Transformation of Timed Automata into Mixed Integer Linear Programs Sebastian Panek.
1 Unit 1: Automata Theory and Formal Languages Readings 1, 2.2, 2.3.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
1 IOA: Mathematical Models  Distributed Programs Nancy Lynch November 15, 2000 Collaborators: Steve Garland, Josh Tauber, Anna Chefter, Antonio Ramirez,
Chapter 14 Asynchronous Network Model by Mikhail Nesterenko “Distributed Algorithms” by Nancy A. Lynch.
Timed Test Cases Generation Based on MSC-2000 Test Purposes Abdeslam En-Nouaary and Gang Liu Department of Electrical and Computer Engineering Concordia.
Lecture #5 Properties of hybrid systems João P. Hespanha University of California at Santa Barbara Hybrid Control and Switched Systems.
Hybrid automata and temporal logics
ECE/CS 584: PVS Tutorial Part 1 Lecture 05 Sayan Mitra 1.
Lecture51 Timed Automata II CS 5270 Lecture 5.
PARTIALLY SYNCHRONOUS ALGORITHMS PRESENTED BY: BINAMRA DUTTA.
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.
Timed I/O Automata: A Mathematical Framework for Modeling and Analyzing Real-Time Systems Frits Vaandrager, University of Nijmegen joint work with Dilsun.
Lecture 81 Optimizing CTL Model checking + Model checking TCTL CS 5270 Lecture 9.
1 Modeling and Analyzing Distributed Systems Using I/O Automata Nancy Lynch, MIT Draper Laboratory, IR&D Mid-Year Meeting December 11, 2002.
Lecture #3 What can go wrong? Trajectories of hybrid systems João P. Hespanha University of California at Santa Barbara Hybrid Control and Switched Systems.
ECE/CS 584: Hybrid Automaton Modeling Framework Invariance, Abstractions, Simulation Lecture 04 Sayan Mitra.
Lecture 5 1 CSP tools for verification of Sec Prot Overview of the lecture The Casper interface Refinement checking and FDR Model checking Theorem proving.
August 23, 2005 CSCI 2670 Introduction to Theory of Computing August 23, 2005.
Chapter 8 Asynchronous System Model by Mikhail Nesterenko “Distributed Algorithms” by Nancy A. Lynch.
Symbolic Algorithms for Infinite-state Systems Rupak Majumdar (UC Berkeley) Joint work with Luca de Alfaro (UC Santa Cruz) Thomas A. Henzinger (UC Berkeley)
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.
ECE/CS 584: Verification of Embedded Computing Systems Timed to Hybrid Automata Sayan Mitra (edited by Yu Wang) Lecture 10.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
1 Modeling and Analyzing Distributed Systems Using I/O Automata Nancy Lynch, MIT Draper Laboratory, IR&D Kickoff Meeting Aug. 30, 2002.
UPPAAL Real-Time Systems Lab. Seolyoung, Jeong.
SS 2017 Software Verification Timed Automata
I/O Automaton Models: Basic, Timed, Hybrid, Probabilistic, Etc.
TIOA-to-UPPAAL Translator & Front-End Integration
Timed Automata II CS 5270 Lecture Lecture5.
Graph-Based Operational Semantics
Timed Automata Formal Systems Pallab Dasgupta Professor,
6.852: Distributed Algorithms Spring, 2008
ECE/CS 584: Hybrid Automaton Modeling Framework Simulations and Composition Lecture 05 Sayan Mitra.
ECE/CS 584: Verification of Embedded Computing Systems
CSCI1600: Embedded and Real Time Software
Modeling and Analysis of Complex Computational Systems
Presentation transcript:

ECE/CS 584: Hybrid Automaton Modeling Framework Executions, Reach set, Invariance Lecture 03 Sayan Mitra

Announcements Project proposals due in a week – 2 pages with goals, description & milestones Allerton Conference special session on Verification of CPS – October 4 th, 1:30 pm at Allerton House – Free!

Plan for Today Examples of hybrid models Executions, reach sets, invariants

Hybrid Automata (a.k.a Timed Automata Kaynar, et al. 2005)

Bouncing Ball TIOA Specification Language (close to PHAVer & UPPAAL’s language) Graphical Representation used in many articles bounce x = 0 /\ v < 0 v’ := -cv x:= h

Semantics: Executions and Traces

Special kinds of executions Infinite: Infinite sequence of transitions and trajectories Closed: Finite with final trajectory with closed domain Admissable: Infinite duration – May or may not be infinite Zeno: Infinite but not admissable – Infinite number of transitions in finite time

Periodically Sending Process Automaton PeriodicSend(u, M) variables: analog clock: Reals := 0 states: True actions: external send(m:M) transitions: send(m) pre clock = u eff clock := 0 trajectories: evolve d(clock) = 1 stop when clock=u TIOA Specification Language (close to PHAVer & UPPAAL’s language) Graphical Representation used in many articles send(m:M) clock = u clock := 0

Another Example: Periodically Sending Process Automaton PeriodicSend(u) variables: analog clock: Reals := 0, z:Reals, failed:Boolean := F actions: external send(m:Reals), fail transitions: send(m) pre clock = u /\ m = z /\ ~failed eff clock := 0 fail pre true eff failed := T trajectories: evolve d(clock) = 1, d(z) = f(z) stop when ~failed /\ clock=u send(m) clock = u /\ m = z /\ ~failed clock := 0 fail true failed := T

Modeling a Simple Failure Detector System Periodic send Channel Timeout

Time bounded channel & Simple Failure Detector Automaton Timeout(u,M) variables: suspected: Boolean := F, clock: Reals := 0 actions: external receive(m:M), timeout transitions: receive(m) pre true eff clock := 0; suspected := false; timeout pre ~suspected /\ clock = u eff suspected := true trajectories: evolve d(clock) = 1 stop when clock = u /\ ~suspected Automaton Channel(b,M) variables: queue: Queue[M,Reals] := {} clock: Reals := 0 actions: external send(m:M), receive(m:M) transitions: send(m) pre true eff queue := append(, queue) receive(m) pre head(queue)[1] = m eff queue := queue.tail trajectories: evolve d(clock) = 1 stop when ∃ m, d, ∈ queue /\ clock=d

Reachable States and Invariants

Example Inductive Invariance Proof

Summary & Roadmap Hybrid Automata Syntax Executions Reach sets, Invariance Abstractions, Simulations and Composition