1 of 14 1/15 Synthesis-driven Derivation of Process Graphs from Functional Blocks for Time-Triggered Embedded Systems Master thesis Student: Ghennadii.

Slides:



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

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.
Lab Meeting Performance Analysis of Distributed Embedded Systems Lothar Thiele and Ernesto Wandeler Presented by Alex Cameron 17 th August, 2012.
1 of 16 April 25, 2006 Minimizing System Modification in an Incremental Design Approach Paul Pop, Petru Eles, Traian Pop, Zebo Peng Department of Computer.
1 of 14 1/14 Design Optimization of Time- and Cost-Constrained Fault-Tolerant Distributed Embedded Systems Viaceslav Izosimov, Paul Pop, Petru Eles, Zebo.
Addressing the System-on-a-Chip Interconnect Woes Through Communication-Based Design N. Vinay Krishnan EE249 Class Presentation.
Communication Scheduling for Time-Triggered SystemsSlide 1 Communication Scheduling for Time-Triggered Systems Paul Pop, Petru Eles and Zebo Peng Dept.
Bogdan Tanasa, Unmesh D. Bordoloi, Petru Eles, Zebo Peng Department of Computer and Information Science, Linkoping University, Sweden December 3, 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.
Reliability-Aware Frame Packing for the Static Segment of FlexRay Bogdan Tanasa, Unmesh Bordoloi, Petru Eles, Zebo Peng Linkoping University, Sweden 1.
1 of 14 1 Fault-Tolerant Embedded Systems: Scheduling and Optimization Viacheslav Izosimov, Petru Eles, Zebo Peng Embedded Systems Lab (ESLAB) Linköping.
Scheduling with Optimized Communication for Time-Triggered Embedded Systems Slide 1 Scheduling with Optimized Communication for Time-Triggered Embedded.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
1 of 16 March 30, 2000 Bus Access Optimization for Distributed Embedded Systems Based on Schedulability Analysis Paul Pop, Petru Eles, Zebo Peng Department.
EE 4272Spring, 2003 Chapter 9: Circuit Switching Switching Networks Circuit-Switching Networks Circuit-Switching Concept  Space-Division Switching  Time-Division.
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.
TTP ® - As Predictable as Time 1 Copyright © 2002, TTTech Computertechnik AG. All rights reserved. TTTech Powernode As a Linux Prototyping Platform for.
1 Fast Communication for Multi – Core SOPC Technion – Israel Institute of Technology Department of Electrical Engineering High Speed Digital Systems Lab.
SOFTWARE ENGINEERING for REAL-TIME SYSTEMS (© J.E.Cooling 2003) Introduction to real-time systems - slide 1 Software engineering for real-time systems.
Holistic Scheduling and Analysis of Mixed Time/Event-Triggered Distributed Embedded System Traian Pop, Petru Eles, Zebo Peng EE249 Discussion Paper Review.
1 of 14 1 Scheduling and Optimization of Fault- Tolerant Embedded Systems Viacheslav Izosimov Embedded Systems Lab (ESLAB) Linköping University, Sweden.
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.
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.
A Tool for Describing and Evaluating Hierarchical Real-Time Bus Scheduling Policies Author: Trevor Meyerowitz, Claudio Pinello, Alberto DAC2003, June 24,2003.
EMBEDDED SOFTWARE Team victorious Team Victorious.
Module I Overview of Computer Architecture and Organization.
RaPTEX: Rapid Prototyping of Embedded Communication Systems Dr. Alex Dean & Dr. Mihai Sichitiu (ECE) Dr. Tom Wolcott (MEAS) Motivation  Existing work.
Tradeoff Analysis for Dependable Real-Time Embedded Systems during the Early Design Phases Junhe Gan.
ECE 447: Lecture 1 Microcontroller Concepts. ECE 447: Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
RTS Meeting January 2008 In-Vehicle Domains Powertrain: –Control of engine and transmission –Several complex control, high computing complexity –Multitasking.
An efficient active replication scheme that tolerate failures in distributed embedded real-time systems Alain Girault, Hamoudi Kalla and Yves Sorel Pop.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
© Oxford University Press 2011 DISTRIBUTED COMPUTING Sunita Mahajan Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai.
Dependable communication synthesis for distributed embedded systems Nagarajan Kandasamy, John P. Hayes, Brian T. Murray Presented by John David Eriksen.
Real-Time Operating Systems for Embedded Computing 李姿宜 R ,06,10.
ECE Lecture 1 Microcontroller Concepts. Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device Data.
In-Vehicle Communication SAN Group RTS Regular Meeting Presentation December 2008.
Hardware-software Interface Xiaofeng Fan
TTP and FlexRay. Time Triggered Protocols Global time by fault tolerant clock synchronisation Exact time point of a certain message is known (determinism)
Analysis and Optimization of Mixed-Criticality Applications on Partitioned Distributed Architectures Domițian Tămaș-Selicean, Sorin Ovidiu Marinescu and.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
A Utility-based Approach to Scheduling Multimedia Streams in P2P Systems Fang Chen Computer Science Dept. University of California, Riverside
A Systematic Approach to the Design of Distributed Wearable Systems Urs Anliker, Jan Beutel, Matthias Dyer, Rolf Enzler, Paul Lukowicz Computer Engineering.
Computer Architecture Lecture 32 Fasih ur Rehman.
System-level power analysis and estimation September 20, 2006 Chong-Min Kyung.
A flexible simulator for control- dominated distributed real-time systems Johannes Petersson IDA/SaS/ESLAB Johannes Petersson IDA/SaS/ESLAB Master’s Thesis.
CSCI1600: Embedded and Real Time Software Lecture 33: Worst Case Execution Time Steven Reiss, Fall 2015.
1 of 14 1 Integrating Embedded System Design Tools in the Generic Modeling Environment Peter Tureby, Fredrik Wester Final Project at the Embedded Systems.
1 of 14 1/34 Embedded Systems Design: Optimization Challenges Paul Pop Embedded Systems Lab (ESLAB) Linköping University, Sweden.
Synthesis of Communication Schedules for TTEthernet-based Mixed-Criticality Systems Domițian Tămaș-Selicean 1, Paul Pop 1 and Wilfried Steiner 2 1 Technical.
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)
Timing Analysis of Rate Constrained Traffic for the TTEthernet Communication Protocol Domițian Tămaș-Selicean 1, Paul Pop 1 and Wilfried Steiner 2 1 Technical.
1 May-2014 Automotive Protocols & Standards. 2 CAN (Controller Area Network)  Overview Controller Area Network is a fast serial bus designed to provide.
Task Mapping and Partition Allocation for Mixed-Criticality Real-Time Systems Domițian Tămaș-Selicean and Paul Pop Technical University of Denmark.
Networked Embedded Control System - Integration of control and computing Moonju Park Dept. of Computer Science & Engineering University of Incheon 1.
Networked Embedded Control System - Integration of control and computing Moonju Park Dept. of Computer Science & Engineering University of Incheon 1.
Optimization of Time-Partitions for Mixed-Criticality Real-Time Distributed Embedded Systems Domițian Tămaș-Selicean and Paul Pop Technical University.
Paul Pop, Petru Eles, Zebo Peng
CSCI1600: Embedded and Real Time Software
Design Optimization of Multi-Cluster Embedded Systems for Real-Time Applications Paul Pop, Petru Eles, Zebo Peng, Viaceslav Izosimov Embedded Systems.
Schedulability-Driven Partitioning and Mapping for Multi-Cluster Real-Time Systems Paul Pop, Petru Eles, Zebo Peng, Viaceslav Izosimov Embedded Systems.
CSCI1600: Embedded and Real Time Software
Presentation transcript:

1 of 14 1/15 Synthesis-driven Derivation of Process Graphs from Functional Blocks for Time-Triggered Embedded Systems Master thesis Student: Ghennadii Sivatki Supervisor and examiner: Paul Pop

2 of 14 2/15 Outline  Embedded systems  Automotive electronics  Embedded systems design flow  Functional analysis: EAST-ADL  Platform selection, Mapping, Scheduling  Case study in Generic modeling environment (GME)  Preliminaries  System architecture  Time-triggered embedded systems  Software architecture  Application model  Functional blocks  Process graphs

3 of 14 3/15 Outline, cont.  Functional blocks to process graphs  Problem formulation  Motivation  Cost function: schedulable? Schedule length.  Related Work  Translation strategies  Straightforward translations  Tabu-search based optimization  Translation heuristic  Integration with EAST-ADL/GME  Experimental results  Comparison of translation strategies  Case study

4 of 14 4/15 Embedded Systems General purpose systemsEmbedded systems Microprocessor market shares in 1999

5 of 14 5/15 Embedded Systems Characteristics  Dedicated functionality (not general purpose computers)  Embedded into a host system  Complex architectures  Embedded systems design constraints  Correct functionality  Performance, timing constraints: real-time systems  Development cost, unit cost, size, power, flexibility, time-to- prototype, time-to-market, maintainability, correctness, safety, etc.  Difficult to design, analyze and implement  System-level design  Reuse and flexibility

6 of 14 6/15 Automotive Electronics  What is “automotive electronics”?  Vehicle functions implemented with electronics  Body electronics  System electronics (chassis, engine)  Information/entertainment

7 of 14 7/15 Distributed Architecture

8 of 14 8/15 Wiring: Point-to-Point vs. Network Weight5 Kg Kg Length of insulated wire50 m1500 m Number of connectors35300 Number of terminals Number of individual wires  1994: Wiring same price as the engine!  Solution  Replace point-to-point wiring with a multiplexing network  Protocols  LIN: Local Interconnect Network (body electronics)  CAN: Controller Area Network (system electronics)  TTP: Time Triggered Protocol (system electronics)  MOST: Media Oriented Systems Transport (infotainment)

9 of 14 9/15... I/O Interface Comm. controller CPU RAM ROM ASIC System Architecture: Network of Clusters  Hardware archtiecture  Software architecture

10 of 14 10/15 Typical Application: Controller

11 of 14 11/15 Body Electronics: Dashboard Controller  Constraints  Wheel signal: 0-1,000 Hz  Engine speed: Hz  Architectures  Motorola 68HC05  Needs external drivers  Motorola 68HC11  On-chip drivers Microcontrollers

12 of 14 12/15 Body Electronics  Constrains  Very low cost  ms (reaction of the human operator)  Characteristics  Node  Single-chip 8 bit micro-controller  > 100 bytes of RAM  > 1K of ROM  I/O points to connect sensors and actuators  Simple network interface  Network  Low bandwidth, ten to twenty nodes (LIN)

13 of 14 13/15 System Electronics: Engine Controller  Function  Improve engine performance  Reduce fuel consumption  =air/fuel ratio  Constraints  Engine speed: 6000 RPM  recomputed every 20 ms; control algorithm: 5 ms!  Architecture  Motorola 68332

14 of 14 14/15 System Electronics  Constraints  Low cost  Typical control loop periods range from 1 ms to 20 ms  Characteristics  Node  Architecture influenced by its real-time constraints:  8, 16, 32 bit microprocessors, up to 16K of RAM and 256K of ROM  Memory grows more than 25% / year  Complex network interface  I/O points to connect sensors and actuators  Network  High bandwidth, CAN or TTP

15 of 14 15/15 Embedded Systems Design  TODO:  Insert here slides about  Embedded systems design flow  Functional analysis: EAST-ADL  Platform selection, Mapping, Scheduling  Case study in Generic modeling environment (GME)

16 of 14 16/15 Event-Driven vs. Time-Driven Systems  Event-driven systems  Activation of processes is done at the occurrence of significant events  Scheduling event-triggered activities  Fixed-priority preemptive scheduling  Response time analysis: calculate worst-case response times for each process  Schedulability test: response times smaller than the deadlines  Time-driven systems  Activation of processes is done at predefined points in time  Scheduling time-triggered activities  Static cyclic non-preemptive scheduling  Building a schedule table: static cyclic scheduling (e.g., list scheduling)

17 of 14 17/15 I/O Interface TTP Controller CPU RAM ROM ASIC Node Time-Triggered Embedded Systems  Hard real-time distributed systems.  Nodes interconnected by a broadcast communication channel.  Nodes consisting of: TTP controller, CPU, RAM, ROM, I/O interface.  Communication between nodes is based on the time-triggered protocol.

18 of 14 18/15 Time Triggered Protocol H. Kopetz, Technical University of Vienna. Intended for distributed real-time control applications that require high degree of dependability and predictability. Recommended by the X-by-Wire Consortium for use in safety critical applications in vehicles. Integrates all the services required in the design of fault-tolerant distributed real-time systems. S0S0 S1S1 S2S2 S3S3 S0S0 S1S1 S2S2 S3S3 TDMA Round Cycle of two rounds Slot Bus access scheme: time-division multiple-access (TDMA). Schedule table located in each TTP controller: message descriptor list (MEDL). I/O Interface TTP Controller CPU RAM ROM ASIC Node

19 of 14 19/15 Software Architecture

20 of 14 20/15 Application Modeling: Functional Blocks  Assumptions (the functional blocks are pre-processed)  One single period  Loops are removed  Links represent synchronous communication  Worst-case execution time (WCET) is given for each elementary function f1 f3 f2f4 f5

21 of 14 21/15 P4P4 P4P4 P5P5 P5P5 P7P7 P7P7 P 13 P 15 First processor Second processor ASIC 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 Application Modeling: Process Graphs

22 of 14 22/15 Problem Formulation  Input  System architecture  Application modeled as functional blocks  A synthesis algorithm (mapping and scheduling) S1S1 S0S0 P1P1 P4P4 P2P2 m1m1 m2m2 m3m3 m4m4 P3P3 N1N1 N2N2 Bus P1P1 P4P4 P2P2 P3P3 N1N1 N2N2 Mapping Where to place a process? Scheduling How to execute processes?

23 of 14 23/15 Problem Formulation, cont.  Output  A process graph such that the implementation (obtained using the given synthesis algorithm) is schedulable  The synthesis algorithm produces  Mapping  Schedule tables

24 of 14 24/15 Motivational Example #1 f1 f1/2 f1/1

25 of 14 25/15 Motivational Example #1, cont. N2N2 a) P1P1 N1N1 N2N2 b) P 1/1 N1N1 P 1/2

26 of 14 26/15 Motivational Example #2 f1 f2 f4 f3f5 f6 f4/1f4/2

27 of 14 27/15 Motivational Example #2 Deadline for P 6 : D 6 P4P4 P5P5 P3P3 N2N2 N3N3 P6P6 Met a) P2P2 P1P1 P2P2 P3P3 P4P4 N1N1 N2N2 XX X X X P5P5 X Deadline for P 5 : D 5 P3P3 P6P6 P5P5 P4P4 P2P2 P1P1 P1P1 N1N1 P 4/2 P5P5 P3P3 N2N2 N3N3 P6P6 Met b) P2P2 P1P1 N1N1 P 4/1 N2N2 N3N3 N1N1 TTP N3N3 P6P6 70 X X X X X40X Missed Met

28 of 14 28/15 Optimization Strategy

29 of 14 29/15 Experimental Results

30 of 14 30/15 Experimental Results, Cont.  Case study in GME  Vehicle cruise controller