Predictable Design for Real-time Embedded Control A Case Study Jinfeng Huang & Jeroen Voeten Eindhoven University of Technology PROGRESS.

Slides:



Advertisements
Similar presentations
TECHNOLOGICAL INSTITUTE Center for Robot Technology.
Advertisements

Component Oriented Programming 1 Chapter 2 Theory of Components.
Marc Geilen, Eindhoven University of Technology, Information and Communication Systems 1 Object-Oriented Modelling and Specification.
Towards predictability in real-time embedded system design Lorentz-ARTIST Workshop Embedded Systems November 22, 2005 Jeroen Voeten, Jinfeng Huang, Oana.
Sensor Network Platforms and Tools
Verification/Simulati on –GUI for simulation and formal verification –Simulator: Exploration of dynamic behavior Checking.
Automatic Verification of Component-Based Real-Time CORBA Applications Gabor Madl Sherif Abdelwahed
EX-1 Intersections & Interchanges Improved Traffic Signal Control Ramp metering Intersection Collision Avoidance Systems Automated Enforcement.
2/11/2010 BEARS 2010 On PTIDES Programming Model John Eidson Jeff C. Jensen Edward A. Lee Slobodan Matic Jia Zou PtidyOS.
Page 1 Building Reliable Component-based Systems Chapter 16 - Component based embedded systems Chapter 16 Component based embedded systems.
Introductory Comments Regarding Hardware Description Languages.
PTIDES: Programming Temporally Integrated Distributed Embedded Systems Yang Zhao, EECS, UC Berkeley Edward A. Lee, EECS, UC Berkeley Jie Liu, Microsoft.
Integrated Design and Analysis Tools for Software-Based Control Systems Shankar Sastry (PI) Tom Henzinger Edward Lee University of California, Berkeley.
Methodologies for Wireless Sensor Networks Design Alvise Bonivento Alessandro Pinto Prof. Sangiovanni-Vincentelli U.C. Berkeley.
National Instruments LabVIEW and Data Acquisition: Applications for FIRST Danny Diaz, National Instruments.
VERTAF: An Application Framework for Design and Verification of Embedded Real-Time Software Pao-Ann Hsiung, Shang-Wei Lin, Chih-Hao Tseng, Trong-Yen Lee,
Model Checking. Used in studying behaviors of reactive systems Typically involves three steps: Create a finite state model (FSM) of the system design.
Presenter : Shih-Tung Huang Tsung-Cheng Lin Kuan-Fu Kuo 2015/6/15 EICE team Model-Level Debugging of Embedded Real-Time Systems Wolfgang Haberl, Markus.
Chess Review May 11, 2005 Berkeley, CA Composable Code Generation for Distributed Giotto Tom Henzinger Christoph Kirsch Slobodan Matic.
Review of “Embedded Software” by E.A. Lee Katherine Barrow Vladimir Jakobac.
University of Kansas Construction & Integration of Distributed Systems Jerry James Oct. 30, 2000.
Define Embedded Systems Small (?) Application Specific Computer Systems.
3/12/ Modeling and controlling the Caltech Ducted Fan Vehicle Steve Neuendorffer, Ptolemy Group, UC Berkeley.
1 Pupil Detection and Tracking System Lior Zimet Sean Kao EE 249 Project Mentors: Dr. Arnon Amir Yoshi Watanabe.
Chapter 13 Embedded Systems
© Andy Wellings, 2003 Roadmap  Introduction  Concurrent Programming  Communication and Synchronization  Completing the Java Model  Overview of the.
February 21, 2008 Center for Hybrid and Embedded Software Systems Mapping A Timed Functional Specification to a Precision.
WSN Simulation Template for OMNeT++
Penn ESE535 Spring DeHon 1 ESE535: Electronic Design Automation Day 8: February 11, 2009 Dataflow.
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.
Model-based Analysis of Distributed Real-time Embedded System Composition Gabor Madl Sherif Abdelwahed
November 18, 2004 Embedded System Design Flow Arkadeb Ghosal Alessandro Pinto Daniele Gasperini Alberto Sangiovanni-Vincentelli
Interface-based Design Donald Chai EE249. Outline Orthogonalization of concerns Formalisms Interface-based Design Example Cheetah Simulator Future Inroads.
CprE 458/558: Real-Time Systems
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.
1 System-Level Description Languages Andrew Mihal EE249 Fall 1999 Project Presentation 4 December 1999.
Methods for checking simulation correctness How do you know if your testcase passed or failed?
Cheng/Dillon-Software Engineering: Formal Methods Model Checking.
Timed UML State Machines Ognyana Hristova Tutor: Priv.-Doz. Dr. Thomas Noll June, 2007.
ECE 720T5 Winter 2014 Cyber-Physical Systems Rodolfo Pellizzoni.
Reliable Design of Safety Critical Systems Dr. Abhik Roychoudhury School of Computing
Programming Models & Runtime Systems Breakout Report MICS PI Meeting, June 27, 2002.
1 H ardware D escription L anguages Modeling Digital Systems.
Tufts University School Of Engineering Tufts Wireless Laboratory TWL Direction Almir Davis 09/28/20091.
1 LiSyC ENSIETA/DTN 02/04/2008 AADL execution semantics transformation for formal verification Joel Champeau, Thomas Abdoul, Pierre Yves Pillain, Philippe.
Model-Based Embedded Real- Time Software Development Dionisio de Niz and Raj Rajkumar Real-Time and Multimedia Sys Lab Carnegie Mellon University.
The basics of the programming process The development of programming languages to improve software development Programming languages that the average user.
PROJECT - ZYNQ Yakir Peretz Idan Homri Semester - winter 2014 Duration - one semester.
System-level power analysis and estimation September 20, 2006 Chong-Min Kyung.
Generators 1 Object Oriented Generators in Java Michael Chu & Nicholas Weaver.
> Power Supervison Desired Output level Source Diesel Valve Sink Diesel Valve > Valve Regulator Sink T = 40 ms Air Valve CBSE Course The SaveComp Component.
Gedae, Inc. Gedae: Auto Coding to a Virtual Machine Authors: William I. Lundgren, Kerry B. Barnes, James W. Steed HPEC 2004.
Slide 1 Service-centric Software Engineering. Slide 2 Objectives To explain the notion of a reusable service, based on web service standards, that provides.
Design-Directed Programming Martin Rinard Daniel Jackson MIT Laboratory for Computer Science.
1 Model Driven Engineering Jeroen Voeten Eindhoven University of Technology Embedded Systems Institute Artist Meeting Linköping May 14, 2007.
T imed Languages for Embedded Software Ethan Jackson Advisor: Dr. Janos Szitpanovits Institute for Software Integrated Systems Vanderbilt University.
On Concurrency Idioms and their Effect on Program Analysis Weizmann Institute of Science Guy Katz and David Harel.
© 2009 Artisan Software Tools. All rights reserved. Testing Solutions with UML/SysML Andrew Stuart, Matthew Hause.
Copyright 1999 G.v. Bochmann ELG 7186C ch.1 1 Course Notes ELG 7186C Formal Methods for the Development of Real-Time System Applications Gregor v. Bochmann.
CHESS Methodology and Tool Federico Ciccozzi MBEES Meeting Sälen, January 2011 January 2011.
CPE555A: Real-Time Embedded Systems
Shanna-Shaye Forbes Ben Lickly Man-Kit Leung
A GUI Based Aid for Generation of Code-Frameworks of TMOs
Mark McKelvin EE249 Embedded System Design December 03, 2002
Ns-3 Training Simulator core ns-3 training, June 2016.
Presentation transcript:

Predictable Design for Real-time Embedded Control A Case Study Jinfeng Huang & Jeroen Voeten Eindhoven University of Technology PROGRESS

2 Contents A running example: railroad crossing A running example: railroad crossing Problems in current design practice Problems in current design practice Compositional design approach Compositional design approach Demo Demo

3 Railroad Crossing Trains run independently at different velocities Velocities are constant Avoid collisions As efficient as possible

4 Current Practice Train ACrossing Train B D T T+D+  Start Motor Crossing Area Critical Zone Sensor A Delay (D) Check Crossing Stop Motor

5 Timing Property (Timed) execution trace of “Train A”:  1 +  2   ? SensorA signaled T Delay D T+D Check Crossing T+D+  1 Stop motor T+D+  1 +  2 Between D and D+  seconds after Train A has passed Sensor A, “Train A” checks the Crossing and stops the train if the Crossing is occupied

6 Timing Property - Add other Components e.g. to control other trains or crossings. (Timed) execution trace of “Train A” (disturbed by other components):  1 +  2 +  3 +  1 +  2   BOOM !!! SensorA signaled T Delay D T+  1 +D Check Crossing T+  1 +D +  2 +  1 Stop motor T+  1 +D +  2 +  1 +  3 +  2 Other components running T+  1 T+  1 +D+  2 T+  1 +D +  2 +  1 +  3

7 Problems in current practice Behaviors of components are not compositional Debug and analysis codes “pollute” the timing behavior of the system Lack reusability, maintainability, portability etc. Lack facilities to guarantee property preservation: Implementation exhibits unexpected behaviors not present in the model Lack facilities to guarantee property preservation: Implementation exhibits unexpected behaviors not present in the model

8 Compositional Approach (Modeling) Based on a two-phase execution frame: actions are instantaneous and time progress is represented in a virtual way (instead of based directly on a physical clock) POOSL: Based on a two-phase execution frame: actions are instantaneous and time progress is represented in a virtual way (instead of based directly on a physical clock) Compositional semantics Compositional semantics Executable Executable Expressive (concurrency, time, Expressive (concurrency, time, communication…)

9 Compositional Approach (Modeling) Abstract Model Refinement Verification Extended Model Simulation Refinement Estimation of  Synthesis Synthesis Model Train A Image Train B Image Crossing LEGO DACTA Interface

10 Compositional Approach (Synthesis) Automatic code generation ( RT-Rotalumis,C++) Real-time property-preserving mapping guaranteed by the  -hypothesis The execution tree: ordering of actions is kept from model to implementation Synchronization between virtual time and physical time: if an action happens at virtual time t in model it happens in physical time interval (t-  /2,t+  /2) in implementation

11 Demo: The Railroad Crossing Velocity TrainA: 40 cm/s Velocity TrainB: 90 cm/s Extended Model Synthesis Model Realization Rapid analysis Abstract Model Models and video are not included in the presentation. For those who are interested, please mailto:

12 Future Work and Open Issues Mapping efficiency Prediction  / platform requirements Multi-processor platforms Streaming data Continuous-time environmental models Tools