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

Slides:



Advertisements
Similar presentations
Signals and Systems March 25, Summary thus far: software engineering Focused on abstraction and modularity in software engineering. Topics: procedures,
Advertisements

TOPIC : Finite State Machine(FSM) and Flow Tables UNIT 1 : Modeling Module 1.4 : Modeling Sequential circuits.
Hybrid System Verification Synchronous Workshop 2003 A New Verification Algorithm for Planar Differential Inclusions Gordon Pace University of Malta December.
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)
Lecture #4 Simulation of hybrid systems João P. Hespanha University of California at Santa Barbara Hybrid Control and Switched Systems.
Timed Automata.
Supervisory Control of Hybrid Systems Written by X. D. Koutsoukos et al. Presented by Wu, Jian 04/16/2002.
Introduction to Uppaal ITV Multiprogramming & Real-Time Systems Anders P. Ravn Aalborg University May 2009.
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.
Combining Symbolic Simulation and Interval Arithmetic for the Verification of AMS Designs Mohamed Zaki, Ghiath Al Sammane, Sofiene Tahar, Guy Bois FMCAD'07.
Semantic Translation of Simulink/Stateflow Models to Hybrid Automata using Graph Transformations A. Agarwal, Gy. Simon, G. Karsai ISIS, Vanderbilt University.
Lecture #1 Hybrid systems are everywhere: Examples João P. Hespanha University of California at Santa Barbara Hybrid Control and Switched Systems.
Fault-Tolerant Real-Time Networks Tom Henzinger UC Berkeley MURI Kick-off Workshop Berkeley, May 2000.
EECE Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and.
Systems Engineering for Automating V&V of Dependable Systems John S. Baras Institute for Systems Research University of Maryland College Park
EECE Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and.
Berkeley, CA, March 12, 2002 Modal Models in Vehicle-Vehicle Coordination Control Xiaojun Liu The Ptolemy Group EECS Department, UC Berkeley.
EECE Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and.
Type System, March 12, Data Types and Behavioral Types Yuhong Xiong Edward A. Lee Department of Electrical Engineering and Computer Sciences University.
EECE Hybrid and Embedded Systems: Computation T. John Koo Institute for Software Integrated Systems Department of Electrical Engineering and Computer.
Model Checking for Hybrid Systems Bruce H. Krogh Carnegie Mellon University.
6th Biennial Ptolemy Miniconference Berkeley, CA May 12, 2005 Operational Semantics of Hybrid Systems Haiyang Zheng and Edward A. Lee With contributions.
Chess Review May 11, 2005 Berkeley, CA Operational Semantics of Hybrid Systems Haiyang Zheng and Edward A. Lee With contributions from the Ptolemy group.
EECE Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and.
EECE Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and.
EECE Hybrid and Embedded Systems: Computation
An Extensible Type System for Component-Based Design
Models of Computation for Embedded System Design Alvise Bonivento.
EECE Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and.
Chess Review November 21, 2005 Berkeley, CA Edited and presented by Advances in Hybrid System Theory: Overview Claire J. Tomlin UC Berkeley.
Motivations In a deterministic setting: Difficult to assess global properties (stability, reachability) Model glitches: Zenoness De-abstaction is the solution?
EECE Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and.
EECE Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and.
Designing Predictable and Robust Systems Tom Henzinger UC Berkeley and EPFL.
EECE Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and.
Tool Integration of Ptolemy II EE290N Class Project Haiyang Zheng May
MOBIES Project Progress Report Engine Throttle Controller Design Using Multiple Models of Computation Edward Lee Haiyang Zheng with thanks to Ptolemy Group.
System-Level Types for Component-Based Design Paper by: Edward A. Lee and Yuhong Xiong Presentation by: Dan Patterson.
NSF Foundations of Hybrid and Embedded Software Systems UC Berkeley: Chess Vanderbilt University: ISIS University of Memphis: MSI Program Review May 10,
Department of Electrical Engineering and Computer Sciences University of California at Berkeley The Ptolemy II Framework for Visual Languages Xiaojun Liu.
Model Checking LTL over (discrete time) Controllable Linear System is Decidable P. Tabuada and G. J. Pappas Michael, Roozbeh Ph.D. Course November 2005.
Ch.2 Part A: Requirements, State Charts EECE **** Embedded System Design.
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.
Formal-V Group, IIT KGP 1 Introduction to Hybrid Automata Introduction to Hybrid Automata Arijit Mondal Kapil Modi Arnab Sinha.
Benjamin Gamble. What is Time?  Can mean many different things to a computer Dynamic Equation Variable System State 2.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Department of Mechanical Engineering The University of Strathclyde, Glasgow Hybrid Systems: Modelling, Analysis and Control Yan Pang Department of Mechanical.
Hybrid Systems Concurrent Models of Computation EEN 417 Fall 2013.
1 Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 1 Adaptation to this.
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
Ch. 2. Specification and Modeling 2.1 Requirements Describe requirements and approaches for specifying and modeling embedded systems. Specification for.
Natallia Kokash (Accepted for PACO’2011) ACG, 31/05/ Input-output conformance testing for channel-based connectors 1.
Submodule construction in logics 1 Gregor v. Bochmann, University of Ottawa Using First-Order Logic to Reason about Submodule Construction Gregor v. Bochmann.
Modelling (II) Model-based design. Why Modelling? Why spend so much time talking about modelling? Model is a imagination/graphical/mathematical representation.
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.
Control Synthesis and Reconfiguration for Hybrid Systems October 2001 Sherif Abdelwahed ISIS Vanderbilt University.
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.
CSCI1600: Embedded and Real Time Software Lecture 28: Verification I Steven Reiss, Fall 2015.
ECE/CS 584: Verification of Embedded Computing Systems Model Checking Timed Automata Sayan Mitra Lecture 09.
CS5270 Lecture 41 Timed Automata I CS 5270 Lecture 4.
EE291E Hybrid Modeling of Microelectromechanical Systems Jason Clark BSAC UC Berkeley.
SS 2017 Software Verification Timed Automata
EE291E Hybrid Modeling of Microelectromechanical Systems
CSEP590 – Model Checking and Automated Verification
EECE Hybrid and Embedded Systems: Computation
Presentation transcript:

EECE 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 Hall April 20,

2 Summary

3 Hybrid System A system built from atomic discrete components and continuous components by parallel and serial composition, arbitrarily nested. The behaviors and interactions of components are governed by models of computation (MOCs). Discrete Components Finite State Machine (FSM) Discrete Event (DE) Synchronous Data Flow (SDF) Continuous Components Ordinary Differential Equation (ODE) Partial Differential Equation (PDE)

4 Why Hybrid Systems? Modeling abstraction of Continuous systems with phased operation (e.g. walking robots, mechanical systems with collisions, circuits with diodes) Continuous systems controlled by discrete inputs (e.g. switches, valves, digital computers) Coordinating processes (multi-agent systems) Important in applications Hardware verification/CAD, real time software Manufacturing, communication networks, multimedia Large scale, multi-agent systems Automated Highway Systems (AHS) Air Traffic Management Systems (ATM) Uninhabited Aerial Vehicles (UAV) Power Networks

5 Topics Modeling Finite State Machines Time Automata Ordinary Differential Equations Hybrid Automata Analysis Reachability - Discrete Reachability - Continuous Reachability - Hybrid Tool Ptolemy II HyTech Requiem d/dt Checkmate Verification Temporal Logic Model Checking Time Automata

6 Hybrid Automaton

7 Hybrid Automaton (Lygeros, 2003)

8 Hybrid Automaton Q X Execution

9 Examples: Thermostat

10 Examples: Bouncing Ball

11 Motivating Examples:Two Tanks

12 Hybrid Automaton t i

13 Hybrid Automaton i t

14 Hybrid Automaton i t

15 Hybrid Automaton

16 Examples: Bouncing Ball

17 Hybrid Automaton i t finite i t infinite

18 Hybrid Automaton i t finite i t Zeno

19 Hybrid Automaton Zeno of Elea, 490BC Ancient Greek philosopher The race of Achilles and the turtle Achilles, a renowned runner, was challenged by the turtle to a race. Being a fair sportsman, Achilles decided to give the turtle a 10 meter head-start. To overtake the turtle, Achilles will have to first cover half the distance separating them. To cover the remaining distance, he will have to cover half that distance, and so on. No matter how fast Achilles is, he can never overtake the turtle. Why??? Ans: Covering each one of the segments in this series requires a non zero amount of time. Since there is an infinite number of segments, Achilles will never overtake the turtle.

20 Hybrid Automaton Non-Determinism Multiple Executions for the same initial condition Sources of non-determinism Non-Lipschitz continuous vectorfields, f Multiple discrete transition destinations, E & G Choice between discrete transition and continuous evolution, D & G Non-unique continuous state assignment, R Definition: A hybrid automaton H is deterministic if for all initial conditions there exists a unique maximal sequence

21 Hybrid Automaton Blocking No Infinite executions for some initial states Source of blocking Cannot continue in domain due to reaching the boundary of the domain where no guard is defined Have no place to make discrete transition to Definition: A hybrid automaton H is non-blocking if for every initial condition there exists at least one infinite execution ?

22 Hybrid Automaton Zeno Executions Infinite execution defined over finite time Infinite number of transitions in finite time Transition times converge Definition: A hybrid automaton H is zeno if there exists an initial condition for which all infinite executions are Zeno

23 Exercise

24 Examples: Bouncing Ball Is this model: Deterministics? Non-Blocking? Zeno?

25 Examples: Bouncing Ball Is this model: Deterministics? Yes, the Guard and Domain contains only one element. Reset maps from one point to exactly another point. Also, the vector field is Lipschitz continuous. Non-Blocking? Zeno?

26 Examples: Bouncing Ball Is this model: Deterministics? Non-Blocking? Yes, the guard is always reachable from any initial condition within the domain and also the reset makes the state start within the domain. Zeno?

27 Examples: Bouncing Ball

28 Examples: Bouncing Ball

29 Examples: Bouncing Ball

30 Examples: Bouncing Ball Is this model: Deterministics? Non-Blocking? Zeno? Yes, it is Zeno since the time sequence converges.

31 Thermostat Is this model: Deterministics? Non-Blocking? Zeno?

32 Thermostat Is this model: Deterministics? No. Non-Blocking? Yes. Zeno? No.

33 Two Tanks Is this model: Deterministics? Yes. Non-Blocking? Yes. Zeno? Yes.

34 Zeno—infinitely many jumps in finite time If Water Tank Automaton

35 Timed Automata Is this model: Deterministics? Non-Blocking? Zeno?

36 Timed Automata Is this model: Deterministics? No. Non-Blocking? Yes. Zeno? No.

37 In Summary DeterministicNon-BlockingZeno Thermostat NOYESNO Bouncing Ball YES Two Tanks YES Time Automaton NOYESNO

38 In Summary DeterministicNon-BlockingZeno Thermostat NOYESNO Bouncing Ball YES Two Tanks YES Time Automaton NOYESNO Mapping Verification Special Attention in Simulation Verification

39 Computational Tools

40 Computational Tools Simulation Ptolemy II: ptolemy.eecs.berkeley.eduptolemy.eecs.berkeley.edu Modelica: SHIFT: Dymola: OmSim: ABACUSS: yoric.mit.edu/abacuss/abacuss.htmlyoric.mit.edu/abacuss/abacuss.html Stateflow: CHARON: Masaccio:

41 Computational Tools Simulation Models of Computation System Complexity Ptolemy II Dymola Modelica ABACUSS SHIFT OmSim Masaccio CHARON StateFlow/Simulink

42 Computational Tools Verification Finite Automata Timed Automata Linear Automata Linear Hybrid Systems Nonlinear Hybrid Systems d/dt CheckMate Timed COSPAN KRONOS Timed HSIS VERITI UPPAAL HYTECHCOSPAN SMV VIS … Requiem

43 End