Overview This project applies the tagged-signal model to explain the semantics of piecewise continuous signals. Then it illustrates an operational way.

Slides:



Advertisements
Similar presentations
Impossibility of Distributed Consensus with One Faulty Process
Advertisements

François Fages MPRI Bio-info 2007 Formal Biology of the Cell Modeling, Computing and Reasoning with Constraints François Fages, Constraint Programming.
The cardiac pacemaker – SystemJ versus Safety Critical Java Heejong Park, Avinash Malik, Muhammad Nadeem, and Zoran Salcic. University of Auckland, NZ.
Partially Observable Markov Decision Process (POMDP)
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.
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.
Decision Theoretic Planning
The Operational Semantics of Hybrid Systems Edward A. Lee Professor, Chair of EE, and Associate Chair of EECS, UC Berkeley With contributions from: Adam.
Discrete Event Models: Getting the Semantics Right Edward A. Lee Robert S. Pepper Distinguished Professor Chair of EECS UC Berkeley With thanks to Xioajun.
PTIDES: Programming Temporally Integrated Distributed Embedded Systems Yang Zhao, EECS, UC Berkeley Edward A. Lee, EECS, UC Berkeley Jie Liu, Microsoft.
7th Biennial Ptolemy Miniconference Berkeley, CA February 13, 2007 Causality Interfaces for Actor Networks Ye Zhou and Edward A. Lee University of California,
Type System, March 12, Data Types and Behavioral Types Yuhong Xiong Edward A. Lee Department of Electrical Engineering and Computer Sciences University.
7th Biennial Ptolemy Miniconference Berkeley, CA February 13, 2007 Leveraging Synchronous Language Principles for Hybrid System Models Haiyang Zheng and.
A denotational framework for comparing models of computation Daniele Gasperini.
Chess Review November 21, 2005 Berkeley, CA Edited and presented by Hybrid Geometric Mechanics: Reduction and Going Beyond Zeno Aaron D. Ames UC Berkeley.
Causality Interface  Declares the dependency that output events have on input events.  D is an ordered set associated with the min ( ) and plus ( ) operators.
1 Ivan Lanese Computer Science Department University of Bologna Roberto Bruni Computer Science Department University of Pisa A mobile calculus with parametric.
Chess Review November 21, 2005 Berkeley, CA Edited and presented by Advanced Tool Architectures Edward A. Lee UC Berkeley.
Reinforcement Learning Rafy Michaeli Assaf Naor Supervisor: Yaakov Engel Visit project’s home page at: FOR.
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.
Hybrid System Modeling: Operational Semantics Issues Edward A. Lee Professor UC Berkeley Center for Hybrid and embedded software systems OMG Technical.
Mixing Models of Computation Jie Liu Palo Alto Research Center (PARC) 3333 Coyote Hill Rd., Palo Alto, CA joint work with Prof. Edward.
1 Hybrid Agent-Based Modeling: Architectures,Analyses and Applications (Stage One) Li, Hailin.
Discrete Event Models: Getting the Semantics Right Edward A. Lee Robert S. Pepper Distinguished Professor Chair of EECS UC Berkeley With special thanks.
Chess Review November 21, 2005 Berkeley, CA Edited and presented by Causality Interfaces and Compositional Causality Analysis Rachel Zhou UC Berkeley.
Benefits of Early Cache Miss Determination Memik G., Reinman G., Mangione-Smith, W.H. Proceedings of High Performance Computer Architecture Pages: 307.
1 Ivan Lanese Computer Science Department University of Bologna Italy Concurrent and located synchronizations in π-calculus.
Department of Electrical Engineering and Computer Sciences University of California at Berkeley System-Level Types for Component-Based Design Edward A.
Chess Review May 11, 2005 Berkeley, CA Discrete-Event Systems: Generalizing Metric Spaces and Fixed-Point Semantics Adam Cataldo Edward Lee Xiaojun Liu.
MoBIES Working group meeting, September 2001, Dearborn Ptolemy II The automotive challenge problems version 4.1 Johan Eker Edward Lee with thanks.
7th Biennial Ptolemy Miniconference Berkeley, CA February 13, 2007 PTIDES: A Programming Model for Time- Synchronized Distributed Real-time Systems Yang.
Mahapatra-A&M-Sprong'021 Co-design Finite State Machines Many slides of this lecture are borrowed from Margarida Jacome.
Retard influence on torque production. c T is a constant which is roughly the same for engines with the same compression ratio. Fuel Dynamics Fueling delays.
MOBIES Project Progress Report Engine Throttle Controller Design Using Multiple Models of Computation Edward Lee Haiyang Zheng with thanks to Ptolemy Group.
Models of Computation Reading Assignment: L. Lavagno, A.S. Vincentelli and E. Sentovich, “Models of computation for Embedded System Design”
Department of Electrical Engineering and Computer Sciences University of California at Berkeley The Ptolemy II Framework for Visual Languages Xiaojun Liu.
Operational Semantics of Hybrid Systems Edward A. Lee and Haiyang Zheng With contributions from: Adam Cataldo, Jie Liu, Xiaojun Liu, Eleftherios Matsikoudis.
Abstract Verification is traditionally done by determining the truth of a temporal formula (the specification) with respect to a timed transition system.
November 18, 2004 Conservative Approximations for Heterogeneous Design Roberto Passerone Alessandro Pinto Jerry R. Burch Alberto Sangiovanni Vincentelli.
© 2003 Xilinx, Inc. All Rights Reserved Multi-rate Systems.
CS Reinforcement Learning1 Reinforcement Learning Variation on Supervised Learning Exact target outputs are not given Some variation of reward is.
Chapter Polynomials of Higher Degree. SAT Problem of the day.
MAKING COMPLEX DEClSlONS
Modeling Process CSCE 668Set 14: Simulations 2 May be several algorithms (processes) runs on each processor to simulate the desired communication system.
Modeling and Simulation Random Number Generators
Dina Workshop Analysing Properties of Hybrid Systems Rafael Wisniewski Aalborg University.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Illustrations and Answers for TDT4252 exam, June
Mahapatra-A&M-Fall'001 Co-design Finite State Machines Many slides of this lecture are borrowed from Margarida Jacome.
ECE 466/658: Performance Evaluation and Simulation Introduction Instructor: Christos Panayiotou.
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.
Design Realization lecture 22
SIMULINK-Tutorial 1 Class ECES-304 Presented by : Shubham Bhat.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
R ANDOM N UMBER G ENERATORS Modeling and Simulation CS
Topics 1 Specific topics to be covered are: Discrete-time signals Z-transforms Sampling and reconstruction Aliasing and anti-aliasing filters Sampled-data.
1 State machine by nature are ideally suited to track state and detect specific sequence of events For example, we may design specific machines to track.
DEPENDABILITY ANALYSIS (towards Networked Information Systems) Ester Ciancamerla, Michele Minichino ENEA {ciancamerlae, In.
Introduction to distributed systems description relation to practice variables and communication primitives instructions states, actions and programs synchrony.
Dynamic structure modelling for Causal Block Diagrams
Random Number Generators
"Playing Atari with deep reinforcement learning."
Autonomous Cyber-Physical Systems: Dynamical Systems
Concurrent Models of Computation for Embedded Software
Embedded Systems: A Focus on Time
Concurrent Models of Computation for Embedded Software
Berlin Chen Department of Computer Science & Information Engineering
Presentation transcript:

Overview This project applies the tagged-signal model to explain the semantics of piecewise continuous signals. Then it illustrates an operational way to realize that semantics via a few case studies. In the end, a simulation strategy for hybrid systems is proposed. November 18, 2004 Piecewise Continuous Signals in Hybrid Systems Haiyang Zheng Edward A. Lee Signals in hybrid systems are piecewise continuous. With the tagged-signal model, a piecewise continuous signal is a partial function f : T → R, where T is the tag set and T = R × N. R is the set of real values representing time and N is the set of natural numbers representing indexes. A discontinuity is the effect of a set of simultaneous discrete events. These events are totally ordered in that they have the same time values but different indexes. Therefore piecewise continuous signals are functional. Case 3: Sampling a piecewise continuous signal. Sampling Discontinuities When a sampler samples a discontinuity, the sampled result must be deterministic. We choose to sample the value of the signal just before the discontinuity happens. Therefore, the output signal from a sampler is discrete and the indexes of its tags are always 1. Operations on Piecewise Continuous Signals A desired piecewise continuous signal. An incorrect signal can't capture discontinuities. The signal generated from the left model. Case 1: Generating a piecewise continuous signal. If an event happens in the continuous phase of execution, the detector needs to refine step size and locate the exact time point where this event happens. During a discrete phase of execution, the detector does not try to refine the step size because it is 0.0 already. Instead, the detector just compares the values of two consecutive discrete events to detect level crossings. Generating Discontinuities Case 4: Handling transient states in hybrid systems. Simulink models introduce a nonzero delay in transient states. Transient states in Stateflow. Handling Simultaneous Events ― Transient States A transient state can be easily found in a network of interacting hybrid automata. Semantically, zero time is spent in transient states. An execution must be faithful to this semantics. Piecewise Continuous Signals Current and Future Work Simulating Hybrid Systems We propose an operational semantics which only evaluates signals at a discrete subset D of the tag set, where D is carefully chosen such that it contains tags of all discontinuities. Signals between any two consecutive tags in D can be evaluated with a numerical ODE solver. An execution of a hybrid system is an interleaving of discrete phases and continuous phases of execution at the tags in D, where discrete phases of execution only happen at discontinuities. A discrete phase of execution evaluates all the events with the same tag from unknown to be either having a value or absent. This process is formally a fixed-point iteration. A sequence of discrete phases of execution that happen at the same time is also a fixed-point iteration. The order of the phases of execution is defined by the tags of events they evaluate. The fixed point is a discrete phase of execution that evaluates the events of all signals to be absent. A continuous phase of execution evaluates the signals at a tag t from the signals at the immediately preceding tag t’ with an ODE solver, given that the system satisfies the Lipschitz condition in ( t’, t ). There are two ongoing efforts. 1. We are applying Banach fixed-point theorem using a new metric space that provides a theoretical foundation for the above operational semantics. 2. We are unifying the operational semantics of the Synchronous Reactive model of computation with that of discrete- event systems and hybrid systems to achieve heterogeneous models. Case 2: Detecting level crossings at discontinuities. Intuitively, a piecewise continuous signal is a composition of discrete signals and continuous signals shown in the above figure. One way to generate discontinuities is to use Modal Models, where transitions represent discrete events. See case 1. Note that a transition must take zero ( model ) time. Detecting Events at Discontinuities An event detector must be able to detect level crossings that happen at both continuous and discrete phases of execution. See case 2.