1 Modeling continuous-time sub-systems in Metropolis Gabriel Eirea EE249 project 12/3/02 Mentors: Claudio Pinello Felice Balarin Yosinori Watanabe Howard.

Slides:



Advertisements
Similar presentations
MODELLING OF MOBILE AGENT SYSTEMS USING dynPLA APPROACH Agnė Paulauskaitė-Tarasevičienė Henrikas Pranevičius 1.
Advertisements

Supervisory Control of Hybrid Systems Written by X. D. Koutsoukos et al. Presented by Wu, Jian 04/16/2002.
Combining Symbolic Simulation and Interval Arithmetic for the Verification of AMS Designs Mohamed Zaki, Ghiath Al Sammane, Sofiene Tahar, Guy Bois FMCAD'07.
Automatic Verification of Component-Based Real-Time CORBA Applications Gabor Madl Sherif Abdelwahed
SWE Introduction to Software Engineering
Overview This project applies the tagged-signal model to explain the semantics of piecewise continuous signals. Then it illustrates an operational way.
Lecturer: Sebastian Coope Ashton Building, Room G.18 COMP 201 web-page: Lecture.
7th Biennial Ptolemy Miniconference Berkeley, CA February 13, 2007 Leveraging Synchronous Language Principles for Hybrid System Models Haiyang Zheng and.
Discrete Event System Modeling and Simulation in Metropolis Guang Yang 12/10/2004.
Lecture 13 Revision IMS Systems Analysis and Design.
Review of “Embedded Software” by E.A. Lee Katherine Barrow Vladimir Jakobac.
Implementing Quantity Managers in Ptolemy II EE 290N Project Haibo Zeng Dec 10 th, 2004.
Simulation.
Metro II : A Next-Generation Framework for Platform-based Design Abhijit Davare, Douglas Densmore, Trevor Meyerowitz, Alessandro Pinto, Alberto Sangiovanni-Vincentelli,
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Models of Computation for Embedded System Design Alvise Bonivento.
Study of Simulink™ Discrete System MOC with Metropolis Haiyang Zheng Mentors: Luciano Lavagno
Probabilistic Verification of Discrete Event Systems Håkan L. S. Younes.
SEC PI Meeting Annapolis, May 8-9, 2001 Component-Based Design of Embedded Control Systems Edward A. Lee & Jie Liu UC Berkeley with thanks to the entire.
1 CS/CPE 426 Senior Projects Chapter 21: State Machines Chapter 22:Advanced State Machines [Arlow and Neustadt 2005] March 24, 2009.
Verifying Distributed Real-time Properties of Embedded Systems via Graph Transformations and Model Checking Gabor Madl
SNAL Sensor Networks Application Language Alvise Bonivento Mentor: Prof. Sangiovanni-Vincentelli 290N project, Fall 04.
THE OBJECT-ORIENTED DESIGN WORKFLOW Statechart Diagrams.
November 18, 2004 Embedded System Design Flow Arkadeb Ghosal Alessandro Pinto Daniele Gasperini Alberto Sangiovanni-Vincentelli
Mahapatra-A&M-Sprong'021 Co-design Finite State Machines Many slides of this lecture are borrowed from Margarida Jacome.
Simulation Waiting Line. 2 Introduction Definition (informal) A model is a simplified description of an entity (an object, a system of objects) such that.
Department of Electrical Engineering and Computer Sciences University of California at Berkeley The Ptolemy II Framework for Visual Languages Xiaojun Liu.
Code Generation from CHARON Rajeev Alur, Yerang Hur, Franjo Ivancic, Jesung Kim, Insup Lee, and Oleg Sokolsky University of Pennsylvania.
Designing Context-Sensitive User Interfaces. Overview Introduction Context Architectures DynaMo-AID: designing context-aware user interfaces  Design.
An Intelligent Tutoring System (ITS) for Future Combat Systems (FCS) Robotic Vehicle Command I/ITSEC 2003 Presented by:Randy Jensen
Object-Oriented Analysis and Design
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 11 Slide 1 Architectural Design.
© 2005 The MathWorks, Inc. Advanced Technologies to Accelerate Mixed Signal Simulation Pieter J. Mosterman Senior Research Scientist The MathWorks, Inc.
02/06/05 “Investigating a Finite–State Machine Notation for Discrete–Event Systems” Nikolay Stoimenov.
Instructore: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Concurrent and.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
(C) 2009 J. M. Garrido1 Object Oriented Simulation with Java.
The University of Akron Dept of Business Technology Computer Information Systems DBMS Functions 2440: 180 Database Concepts Instructor: Enoch E. Damson.
The State of Hybrid Model-Based Testing Michiel van Osch
Assessing the Suitability of UML for Modeling Software Architectures Nenad Medvidovic Computer Science Department University of Southern California Los.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 10Slide 1 Architectural Design l Establishing the overall structure of a software system.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
CS4730 Real-Time Systems and Modeling Fall 2010 José M. Garrido Department of Computer Science & Information Systems Kennesaw State University.
Hybrid Systems Concurrent Models of Computation EEN 417 Fall 2013.
Architectural Design lecture 10. Topics covered Architectural design decisions System organisation Control styles Reference architectures.
CY2003 Computer Systems Lecture 7 Petri net. © LJMU, 2004CY2003- Week 72 Overview Petri net –concepts –Petri net representation –Firing a transition –Marks.
VHDL IE- CSE. What do you understand by VHDL??  VHDL stands for VHSIC (Very High Speed Integrated Circuits) Hardware Description Language.
Timed Use Case Maps Jameleddine Hassine Concordia University, Montreal, Canada URN Meeting, Ottawa, January 16-18, 2008.
Event-driven Coordination Rule of Web Services enabled Devices in Ubiquitous environments Kangchan Lee ETRI(Electronics and Telecommunications Research.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 10Slide 1 Architectural Design l Establishing the overall structure of a software system.
Software Engineering CSC 342/Dr. Ghazy Assassa Chapter 10, Architectural Design “Sommerville +.. “ Slide 1 CSC 342 Semester II: H ( G)
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Fall 2004EE 3563 Digital Systems Design EE 3563 VHSIC Hardware Description Language  Required Reading: –These Slides –VHDL Tutorial  Very High Speed.
Hardware Design and The Petri Net Abhijit K. Deb SAM, LECS, IMIT, KTH Kista, Stockholm.
Network Computing Laboratory A programming framework for Stream Synthesizing Service.
Chapter 9 Putting together a complete system. This chapter discusses n Designing a complete system. n Overview of the design and implementation process.
CSC480 Software Engineering Lecture 10 September 25, 2002.
INTERaction TEMPlates TO COMponents (InterTempToCom) CMPT 856 David Paquette.
CS4730 Real-Time Systems and Modeling Fall 2010 José M. Garrido Department of Computer Science & Information Systems Kennesaw State University.
Abstract A Structured Approach for Modular Design: A Plug and Play Middleware for Sensory Modules, Actuation Platforms, Task Descriptions and Implementations.
School of Computer Science, The University of Adelaide© The University of Adelaide, Control Data Flow Graphs An experiment using Design/CPN Sue Tyerman.
Constraints Assisted Modeling and Validation Presented in CS294-5 (Spring 2007) Thomas Huining Feng Based on: [1]Constraints Assisted Modeling and Validation.
Incremental Checkpointing with Application to Distributed Discrete Event Simulation Thomas Huining Feng and Edward A. Lee {tfeng,
Self-Adaptive Embedded Technologies for Pervasive Computing Architectures Self-Adaptive Networked Entities Concept, Implementations,
DEVS-based Modeling and Simulation References: 1.B. P. Zeigler, Hessam S. Sarjoughian, Introduction to DEVS Modeling and Simulation with JAVA: Developing.
 Simulation enables the study of complex system.  Simulation is a good approach when analytic study of a system is not possible or very complex.  Informational,
SystemC Semantics by Actors and Reduction Techniques in Model Checking Marjan Sirjani Formal Methods Lab, ECE Dept. University of Tehran, Iran MoCC 2008.
Graphical editor for the Metropolis meta-model Jiagen Ding and Hongjing Zou Fall 2001.
ASSEMBLY AND DISASSEMBLY: AN OVERVIEW AND FRAMEWORK FOR COOPERATION REQUIREMENT PLANNING WITH CONFLICT RESOLUTION in Journal of Intelligent and Robotic.
Mark McKelvin EE249 Embedded System Design December 03, 2002
Presentation transcript:

1 Modeling continuous-time sub-systems in Metropolis Gabriel Eirea EE249 project 12/3/02 Mentors: Claudio Pinello Felice Balarin Yosinori Watanabe Howard Wong-Ton

2 Outline Introduction Application scenarios – Sampled-data systems – Hybrid systems – Event-driven systems Formal analysis of the interface Implementation in Metropolis meta-model Examples – Tank level control – Bouncing ball Conclusions

3 Introduction Metropolis: design environment for heterogeneous embedded systems In many applications (e.g., embedded control) it is useful to model the interaction with a physical process Modeling continuous-time sub-system enables simulation and analysis at an early stage in the design process Main challenge: interaction between timed and untimed MoCs

4 Timed and untimed MoCs ???

5 Application scenarios Sampled-data systems – read and write values at discrete time – typically write values to a zero-order hold – usually periodic Hybrid systems – dynamics change abruptly when state reaches certain values or when an external command is applied – discrete transitions are inherent to the dynamics of the system – modeled as FSM with ODEs assigned to each state Event-driven systems – events generated when state reaches certain values – events don’t necessarily affect the dynamics of the system

6 Formal analysis of the interface (1) events on the interface – w: write (DT  CT) – r: read (CT  DT) each event e has two tags – execution index X(e) – time tag T(e) DT CT wr 1)Eliminating deadlocks X(w) > X(r)  T(w) > T(r) if CT has no instantaneous mapping: X(w)  X(r)  T(w)  T(r) X wr T=1 T=2 T=3

7 Formal analysis of the interface (2) events on the interface – w: write (DT  CT) – r: read (CT  DT) each event e has two tags – execution index X(e) – time tag T(e) DT CT wr 2)Eliminating the need of unbounded queues at the inputs X(w’)  X(w)  T(w’)  T(w) X(r)  X(w)  T(r)  T(w) X wr T=1 T=2 T=3

8 Formal analysis of the interface (3) events on the interface – w: write (DT  CT) – r: read (CT  DT) each event e has two tags – execution index X(e) – time tag T(e) DT CT wr 3)Eliminating the possibility of computing the same trajectory many times X(r’)  X(r)  T(r’)  T(r) X wr T=1 T=2 T=3

9 Implementation in Metropolis meta-model If all the events on the interface are annotated with the GlobalTime quantity  1) + 2) + 3) are satisfied Four interfaces: – DT2M – M2DT – M2CT – CT2M Time is resolved at the medium CT integrates the ODE when a write or a read event occurs If CT detects an event, it is communicated to the medium DT CT Medium DT2M M2CT CT2M M2DT

10 Implementation in Metropolis meta-model interface DT2M extends Port { update void writeInput(double value); } interface M2CT extends Port { update boolean haveWriteReq(); update double getWriteTime(); update double receiveInput(); } interface CT2M extends Port { update boolean haveReadReq(); update double getReadTime(); update void issueOutput(double value, boolean event_detected, double time_event); } interface M2DT extends Port { update double readOutput(); update boolean eventDetected(); } DT CT Medium DT2M M2CTCT2M M2DT

11 Examples: Tank level control Tank level Control Controller Tank ActuatorSensor

12 Examples: Bouncing ball Position Event detection Acquisition Sensor Ball Event observer

13 Conclusions The events on the interface between the DT and CT sub-systems have to be ordered somehow ODE integration should be a task for the simulator, not the meta-model – extend meta-model to support the description of a CT sub-system using some notation for ODEs Examples shown can be used as a template to model a wide range of CT sub-systems Ongoing work: a more complex event-driven system