A flexible simulator for control- dominated distributed real-time systems Johannes Petersson IDA/SaS/ESLAB Johannes Petersson IDA/SaS/ESLAB Master’s Thesis.

Slides:



Advertisements
Similar presentations
Simulation of Feedback Scheduling Dan Henriksson, Anton Cervin and Karl-Erik Årzén Department of Automatic Control.
Advertisements

Hardware/ Software Partitioning 2011 年 12 月 09 日 Peter Marwedel TU Dortmund, Informatik 12 Germany Graphics: © Alexandra Nolte, Gesine Marwedel, 2003 These.
ECE-777 System Level Design and Automation Hardware/Software Co-design
ECOE 560 Design Methodologies and Tools for Software/Hardware Systems Spring 2004 Serdar Taşıran.
Automated Refinement Checking of Concurrent Systems Sudipta Kundu, Sorin Lerner, Rajesh Gupta Department of Computer Science and Engineering, University.
1 SECURE-PARTIAL RECONFIGURATION OF FPGAs MSc.Fisnik KRAJA Computer Engineering Department, Faculty Of Information Technology, Polytechnic University of.
1 of 14 1 /23 Flexibility Driven Scheduling and Mapping for Distributed Real-Time Systems Paul Pop, Petru Eles, Zebo Peng Department of Computer and Information.
A system Performance Model Instructor: Dr. Yanqing Zhang Presented by: Rajapaksage Jayampthi S.
1 of 14 1/14 Design Optimization of Time- and Cost-Constrained Fault-Tolerant Distributed Embedded Systems Viaceslav Izosimov, Paul Pop, Petru Eles, Zebo.
Synthesis of Embedded Software Using Free-Choice Petri Nets.
Communication Scheduling for Time-Triggered SystemsSlide 1 Communication Scheduling for Time-Triggered Systems Paul Pop, Petru Eles and Zebo Peng Dept.
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,
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.
CS244-Introduction to Embedded Systems and Ubiquitous Computing Instructor: Eli Bozorgzadeh Computer Science Department UC Irvine Winter 2010.
1 of 30 June 14, 2000 Scheduling and Communication Synthesis for Distributed Real-Time Systems Paul Pop Department of Computer and Information Science.
1 of 10 April 25, 2001 Minimizing System Modification in an Incremental Design Approach Paul Pop, Petru Eles, Traian Pop, Zebo Peng Department of Computer.
Process Scheduling for Performance Estimation and Synthesis of Hardware/Software Systems Slide 1 Process Scheduling for Performance Estimation and Synthesis.
1 of 14 1/15 Schedulability Analysis and Optimization for the Synthesis of Multi-Cluster Distributed Embedded Systems Paul Pop, Petru Eles, Zebo Peng Embedded.
Define Embedded Systems Small (?) Application Specific Computer Systems.
Scheduling with Optimized Communication for Time-Triggered Embedded Systems Slide 1 Scheduling with Optimized Communication for Time-Triggered Embedded.
1 of 16 March 30, 2000 Bus Access Optimization for Distributed Embedded Systems Based on Schedulability Analysis Paul Pop, Petru Eles, Zebo Peng Department.
1 of 12 May 3, 2000 Performance Estimation for Embedded Systems with Data and Control Dependencies Paul Pop, Petru Eles, Zebo Peng Department of Computer.
1 Oct 2, 2003 Design Optimization of Mixed Time/Event-Triggered Distributed Embedded Systems Traian Pop, Petru Eles, Zebo Peng Embedded Systems Laboratory.
1 of 14 1 Analysis and Synthesis of Communication-Intensive Heterogeneous Real-Time Systems Paul Pop Computer and Information Science Dept. Linköpings.
1 of 14 1/15 Design Optimization of Multi-Cluster Embedded Systems for Real-Time Applications Paul Pop, Petru Eles, Zebo Peng, Viaceslav Izosimov Embedded.
Courseware Basics of Real-Time Scheduling Jan Madsen Informatics and Mathematical Modelling Technical University of Denmark Richard Petersens Plads, Building.
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.
February 12, 2009 Center for Hybrid and Embedded Software Systems Model Transformation Using ERG Controller Thomas H. Feng.
MoBIES Working group meeting, September 2001, Dearborn Ptolemy II The automotive challenge problems version 4.1 Johan Eker Edward Lee with thanks.
1 of 16 June 21, 2000 Schedulability Analysis for Systems with Data and Control Dependencies Paul Pop, Petru Eles, Zebo Peng Department of Computer and.
System Synthesis for Multiprocessor Embedded Applications Flávio R. Wagner Marcio Oyamada Luigi Carro Marcio Kreutz Universidade Federal do Rio Grande.
MOBIES Project Progress Report Engine Throttle Controller Design Using Multiple Models of Computation Edward Lee Haiyang Zheng with thanks to Ptolemy Group.
Mahapatra-Texas A&M-Fall'001 Codesign Framework Parts of this lecture are borrowed from lectures of Johan Lilius of TUCS and ASV/LL of UC Berkeley available.
1 of 14 1 / 18 An Approach to Incremental Design of Distributed Embedded Systems Paul Pop, Petru Eles, Traian Pop, Zebo Peng Department of Computer and.
Cross Strait Quad-Regional Radio Science and Wireless Technology Conference, Vol. 2, p.p. 980 – 984, July 2011 Cross Strait Quad-Regional Radio Science.
1 Embedded Computer System Laboratory RTOS Modeling in Electronic System Level Design.
Tradeoff Analysis for Dependable Real-Time Embedded Systems during the Early Design Phases Junhe Gan.
- 1 - EE898-HW/SW co-design Hardware/Software Codesign “Finding right combination of HW/SW resulting in the most efficient product meeting the specification”
Introduction to Parallel Programming MapReduce Except where otherwise noted all portions of this work are Copyright (c) 2007 Google and are licensed under.
Course Outline DayContents Day 1 Introduction Motivation, definitions, properties of embedded systems, outline of the current course How to specify embedded.
SystemC: Introduction. SystemC  A C++ based class library and design environment for system-level design.  Suitable for functional description that.
EECE **** Embedded System Design
PLC introduction1 Discrete Event Control Concept Representation DEC controller design DEC controller implementation.
Leslie Luyt Supervisor: Dr. Karen Bradshaw 2 November 2009.
An efficient active replication scheme that tolerate failures in distributed embedded real-time systems Alain Girault, Hamoudi Kalla and Yves Sorel Pop.
1 中華大學資訊工程學系 Ching-Hsien Hsu ( 許慶賢 ) Localization and Scheduling Techniques for Optimizing Communications on Heterogeneous.
MRPGA : An Extension of MapReduce for Parallelizing Genetic Algorithm Reporter :古乃卉.
1 of 14 1/15 Synthesis-driven Derivation of Process Graphs from Functional Blocks for Time-Triggered Embedded Systems Master thesis Student: Ghennadii.
Hardware-Software Co-partitioning for Distributed Embedded Systems.
Jon Perez, Mikel Azkarate-askasua, Antonio Perez
Fast Simulation Techniques for Design Space Exploration Daniel Knorreck, Ludovic Apvrille, Renaud Pacalet
- 1 - EE898_HW/SW Partitioning Hardware/software partitioning  Functionality to be implemented in software or in hardware? No need to consider special.
CS244-Introduction to Embedded Systems and Ubiquitous Computing Instructor: Eli Bozorgzadeh Computer Science Department UC Irvine Winter 2010.
What is Object-Oriented?  Organization of software as a collection of discreet objects that incorporate both data structure and behavior.
6. A PPLICATION MAPPING 6.3 HW/SW partitioning 6.4 Mapping to heterogeneous multi-processors 1 6. Application mapping (part 2)
> Power Supervison Desired Output level Source Diesel Valve Sink Diesel Valve > Valve Regulator Sink T = 40 ms Air Valve CBSE Course The SaveComp Component.
Requirements Engineering-Based Conceptual Modelling From: Requirements Engineering E. Insfran, O. Pastor and R. Wieringa Presented by Chin-Yi Tsai.
Adaptive Cruise Control
1 Copyright  2001 Pao-Ann Hsiung SW HW Module Outline l Introduction l Unified HW/SW Representations l HW/SW Partitioning Techniques l Integrated HW/SW.
1 of 14 1/15 Schedulability-Driven Frame Packing for Multi-Cluster Distributed Embedded Systems Paul Pop, Petru Eles, Zebo Peng Embedded Systems Lab (ESLAB)
21/1/ Analysis - Model of real-world situation - What ? System Design - Overall architecture (sub-systems) Object Design - Refinement of Design.
A Fast SystemC Engine D. Gracia Pérez LRI, Paris South Univ. O. Temam LRI, Paris South Univ. G. Mouchard LRI, Paris South Univ. CEA.
SystemC Semantics by Actors and Reduction Techniques in Model Checking Marjan Sirjani Formal Methods Lab, ECE Dept. University of Tehran, Iran MoCC 2008.
POLITECNICO DI MILANO A SystemC-based methodology for the simulation of dynamically reconfigurable embedded systems Dynamic Reconfigurability in Embedded.
FZI RESEARCH CENTER FOR INFORMATION TECHNOLOGY Achieving Interoperability between SystemC and System# 5 th December 2012 Student: Mário Lopes Ferreira.
Optimization of Time-Partitions for Mixed-Criticality Real-Time Distributed Embedded Systems Domițian Tămaș-Selicean and Paul Pop Technical University.
CHaRy Software Synthesis for Hard Real-Time Systems
2. Specification and Modeling
Paul Pop, Petru Eles, Zebo Peng
Department of Electrical Engineering Joint work with Jiong Luo
Presentation transcript:

A flexible simulator for control- dominated distributed real-time systems Johannes Petersson IDA/SaS/ESLAB Johannes Petersson IDA/SaS/ESLAB Master’s Thesis presentation Examiner Petru Eles Examiner Petru Eles Supervisor Paul Pop Supervisor Paul Pop

2 2 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation Outline  Introduction  Control-dominated systems  Modelling  Embedded system design  Simulation  A simulator for control-dominated systems  Experimental results  Conclusion and future work  Introduction  Control-dominated systems  Modelling  Embedded system design  Simulation  A simulator for control-dominated systems  Experimental results  Conclusion and future work

3 3 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation Introduction  Embedded systems  Motivation  Test for correctness  Validate timing behaviour  Cost, size and power reduction  Embedded systems  Motivation  Test for correctness  Validate timing behaviour  Cost, size and power reduction

4 4 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation Control-dominated systems Embedded systems Real-time systems Homogeneous or heterogeneous Real-time systems Homogeneous or heterogeneous Distributed R-T Systems Control-dominated systems

5 5 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation Control-dominated systems  System overview  Control function Desired output Actual output Leads to the need of iterative design steps

6 6 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation Modelling  System model  Distributed  Heterogeneous  Mapped  WCET  Scheduled  Distributed  Heterogeneous  Mapped  WCET  Scheduled

7 7 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation Modelling  Application model  Conditional Process Graph Processes Conditions Mapping Resources Sensors Actuators Functionality  Conditional Process Graph Processes Conditions Mapping Resources Sensors Actuators Functionality

8 8 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation P4P4 P4P4 P5P5 P5P5 P7P7 P7P7 P 13 P 15 First processor Second processor ASIC C C DD P0P0 P 18 P1P1 P1P1 P2P2 P2P2 P3P3 P3P3 P6P6 P6P6 P8P8 P8P8 P9P9 P9P9 P 10 P 11 P 12 P 14 P 16 P 17 C K K P0P0 P 18 P1P1 P2P2 P3P3 P6P6 P8P8 P9P9 P 10 P 11 P 12 P 14 P 16 P 17 Subgraph corresponding to DCK Conditional Process Graph

9 9 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation Embedded system design  Design flow  Design transformations  Functional partitioning  Allocation and mapping  Scheduling  Design flow  Design transformations  Functional partitioning  Allocation and mapping  Scheduling

10 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation Design flow  Design steps Simulation

11 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation Design transformations  Functional partitioning  Split processes  Merge processes

12 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation Design transformations  Allocation and mapping  Allocating resources  Mapping processes  Allocating resources  Mapping processes

13 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation Design tasks  Scheduling  Decide on a scheduling algorithm and perform the scheduling  Pre-emptive / non pre-emptive  Dynamic / static  Decide on a scheduling algorithm and perform the scheduling  Pre-emptive / non pre-emptive  Dynamic / static

14 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation Simulation introduction  Discrete- and continuous-time  Evaluate-update  Discrete events  Evaluate phase  Update phase  Evaluate-update  Discrete events  Evaluate phase  Update phase ActuatorP1P1 P2P2 Senso r P1P1 P2P2 ActuatorSensor

15 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation Related work  Simulators reviewed  True Time  The Network Simulator  SystemC’s simulator engine  Etc.  Extended Task Graphs (eTG)  Process graph with conditional constructs  eTG to SystemC translator Stephan Klaus, Automatic generation of scheduled SystemC models Doesn’t consider the conditional constructs Inspirational source  Simulators reviewed  True Time  The Network Simulator  SystemC’s simulator engine  Etc.  Extended Task Graphs (eTG)  Process graph with conditional constructs  eTG to SystemC translator Stephan Klaus, Automatic generation of scheduled SystemC models Doesn’t consider the conditional constructs Inspirational source

16 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation SystemC  Basics  Provides an evaluate-update simulation engine  Possible to implement any scheduling policy  Models both hardware and software  Work at different abstraction levels  Provides an evaluate-update simulation engine  Possible to implement any scheduling policy  Models both hardware and software  Work at different abstraction levels  A C/C++ library  A de facto open source standard  A modelling platform and language for system-level co-design  Spans from concept to implementation  A de facto open source standard  A modelling platform and language for system-level co-design  Spans from concept to implementation

17 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation Module 1Module 2 SystemC Concepts  Hierarchical modules  May contain processes and other modules SC_MODULE  May contain processes and other modules SC_MODULE  Communication  The modules and processes communicate through signals passed through ports  Three types of processes  Asynchronous-function (SC_METHOD)  Asynchronous-thread (SC_THREAD)  Synchronous-thread (SC_CTHREAD)  Asynchronous-function (SC_METHOD)  Asynchronous-thread (SC_THREAD)  Synchronous-thread (SC_CTHREAD)

18 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation A simulator for control-dominated systems  Overview

19 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation A simulator for control-dominated systems  Representation Tasks.xml Task_01 5 Cond_A Sensor_01 null Tasks.xml Task_01 5 Cond_A Sensor_01 null Graph.xml Task_01 5 Arc_01 1 Task_01 Task_02 Graph.xml Task_01 5 Arc_01 1 Task_01 Task_02 Allocation.xml PR2 Task_01 B1 Arc_01 Allocation.xml PR2 Task_01 B1 Arc_01

20 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation A simulator for control-dominated systems  Scheduling Schedule.xml 10 !Cond_A Cond_B Task_03 Schedule.xml 10 !Cond_A Cond_B Task_03 processTrueCC & DC & -D P10 P25 P414 P545 P65150 P73

21 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation A simulator for control-dominated systems  cpg2sc  Tasks  Stored in one SC_Module Consist of several SC_Thread  Controller  Stored in one SC_Module Consist of one SC_Thread  Main program  One SC_Main function Binds all ports to signals Starts the simulation  Tasks  Stored in one SC_Module Consist of several SC_Thread  Controller  Stored in one SC_Module Consist of one SC_Thread  Main program  One SC_Main function Binds all ports to signals Starts the simulation

22 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation Implementation A day at work.

23 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation Simulation results  Basic setup: Part of a Cruise Controller

24 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation Simulation results  Functional partitioning Throttle angle Fuel injection

25 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation Simulation results  Conditions and resource allocation Fuel injection

26 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation Simulation results  Mapping Fuel injection

27 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation Simulation results  Waveform diagram

28 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation Conclusion and future work  Conclusion  Implemented a simulator for control dominated distributed real-time systems  SystemC used as the simulator’s engine  Successfully used in evaluating several design transformations  Future work  Add more scheduling policies Fixed-priority pre-emptive scheduling  Refine communication TTP, CAN, etc.  Conclusion  Implemented a simulator for control dominated distributed real-time systems  SystemC used as the simulator’s engine  Successfully used in evaluating several design transformations  Future work  Add more scheduling policies Fixed-priority pre-emptive scheduling  Refine communication TTP, CAN, etc.

29 Johannes Petersson, IDA/SaS/ESLAB Master’s Thesis presentation Thank you  Thanks to everybody for listening  Thanks to Petru Eles and Paul Pop  Thanks to everybody for listening  Thanks to Petru Eles and Paul Pop