Reliability-Aware Frame Packing for the Static Segment of FlexRay Bogdan Tanasa, Unmesh Bordoloi, Petru Eles, Zebo Peng Linkoping University, Sweden 1.

Slides:



Advertisements
Similar presentations
Hadi Goudarzi and Massoud Pedram
Advertisements

Shi Bai, Weiyi Zhang, Guoliang Xue, Jian Tang, and Chonggang Wang University of Minnesota, AT&T Lab, Arizona State University, Syracuse University, NEC.
VSMC MIMO: A Spectral Efficient Scheme for Cooperative Relay in Cognitive Radio Networks 1.
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.
5/5/20151 Mobile Ad hoc Networks COE 549 Transmission Scheduling II Tarek Sheltami KFUPM CCSE COE
Topology Control for Effective Interference Cancellation in Multi-User MIMO Networks E. Gelal, K. Pelechrinis, T.S. Kim, I. Broustis Srikanth V. Krishnamurthy,
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.
Abhijit Davare 1, Qi Zhu 1, Marco Di Natale 2, Claudio Pinello 3, Sri Kanajan 2, Alberto Sangiovanni-Vincentelli 1 1 University of California, Berkeley.
Communication Scheduling for Time-Triggered SystemsSlide 1 Communication Scheduling for Time-Triggered Systems Paul Pop, Petru Eles and Zebo Peng Dept.
Ashish Gupta Under Guidance of Prof. B.N. Jain Department of Computer Science and Engineering Advanced Networking Laboratory.
Dynamic Tuning of the IEEE Protocol to Achieve a Theoretical Throughput Limit Frederico Calì, Marco Conti, and Enrico Gregori IEEE/ACM TRANSACTIONS.
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.
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.
HHMSM: A Hierarchical Hybrid Multicast Stream Merging Scheme For Large-Scale Video-On-Demand Systems Hai Jin and Dafu Deng Huazhong University of Science.
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.
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.
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.
By Group: Ghassan Abdo Rayyashi Anas to’meh Supervised by Dr. Lo’ai Tawalbeh.
Thermal-Aware SoC Test Scheduling with Test Set Partitioning and Interleaving Zhiyuan He 1, Zebo Peng 1, Petru Eles 1 Paul Rosinger 2, Bashir M. Al-Hashimi.
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.
7/3/2015© 2007 Raymond P. Jefferis III1 Queuing Systems.
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.
Wireless Video Sensor Networks Vijaya S Malla Harish Reddy Kottam Kirankumar Srilanka.
Embedded System Design Framework for Minimizing Code Size and Guaranteeing Real-Time Requirements Insik Shin, Insup Lee, & Sang Lyul Min CIS, Penn, USACSE,
A Tool for Describing and Evaluating Hierarchical Real-Time Bus Scheduling Policies Author: Trevor Meyerowitz, Claudio Pinello, Alberto DAC2003, June 24,2003.
Problem Background Motivation Design a task and bus scheduling tool that works with the automotive design process and captures the constraints that the.
DATE Optimizations of an Application- Level Protocol for Enhanced Dependability in FlexRay Wenchao Li 1, Marco Di Natale 2, Wei Zheng 1, Paolo Giusto.
Time-Triggered Architectures, Protocols and Applications. P.S. Thiagarajan.
Flow Models and Optimal Routing. How can we evaluate the performance of a routing algorithm –quantify how well they do –use arrival rates at nodes and.
Computer Measurement Group, India Reliable and Scalable Data Streaming in Multi-Hop Architecture Sudhir Sangra, BMC Software Lalit.
Chien-Chih(Paul) Chao Chih-Chiang(Michael) Chang Instructor: Dr. Ann Gordon-Ross Introduction of FlexRay 1 of 41.
Towards a Contract-based Fault-tolerant Scheduling Framework for Distributed Real-time Systems Abhilash Thekkilakattil, Huseyin Aysan and Sasikumar Punnekkat.
Embedded System Design Framework for Minimizing Code Size and Guaranteeing Real-Time Requirements Insik Shin, Insup Lee, & Sang Lyul Min CIS, Penn, USACSE,
QoS-Aware In-Network Processing for Mission-Critical Wireless Cyber-Physical Systems Qiao Xiang Advisor: Hongwei Zhang Department of Computer Science Wayne.
Low Contention Mapping of RT Tasks onto a TilePro 64 Core Processor 1 Background Introduction = why 2 Goal 3 What 4 How 5 Experimental Result 6 Advantage.
When In-Network Processing Meets Time: Complexity and Effects of Joint Optimization in Wireless Sensor Networks Department of Computer Science, Wayne State.
Rensselaer Polytechnic Institute Rajagopal Iyengar Combinatorial Approaches to QoS Scheduling in Multichannel Wireless Systems Rajagopal Iyengar Rensselaer.
RELATIONAL FAULT TOLERANT INTERFACE TO HETEROGENEOUS DISTRIBUTED DATABASES Prof. Osama Abulnaja Afraa Khalifah
1 of 14 1/15 Synthesis-driven Derivation of Process Graphs from Functional Blocks for Time-Triggered Embedded Systems Master thesis Student: Ghennadii.
Dependable communication synthesis for distributed embedded systems Nagarajan Kandasamy, John P. Hayes, Brian T. Murray Presented by John David Eriksen.
Scheduling policies for real- time embedded systems.
Integrated Scheduling and Synthesis of Control Applications on Distributed Embedded Systems Soheil Samii 1, Anton Cervin 2, Petru Eles 1, Zebo Peng 1 1.
Immune Genetic Algorithms for Optimization of Task Priorities and FlexRay Frame Identifiers Soheil Samii 1, Yanfei Yin 1,2, Zebo Peng 1, Petru Eles 1,
Resource Mapping and Scheduling for Heterogeneous Network Processor Systems Liang Yang, Tushar Gohad, Pavel Ghosh, Devesh Sinha, Arunabha Sen and Andrea.
2007/03/26OPLAB, NTUIM1 A Proactive Tree Recovery Mechanism for Resilient Overlay Network Networking, IEEE/ACM Transactions on Volume 15, Issue 1, Feb.
5 May CmpE 516 Fault Tolerant Scheduling in Multiprocessor Systems Betül Demiröz.
1 Iterative Integer Programming Formulation for Robust Resource Allocation in Dynamic Real-Time Systems Sethavidh Gertphol and Viktor K. Prasanna University.
Arithmetic Test Pattern Generation: A Bit Level Formulation of the Optimization Problem S. Manich, L. García and J. Figueras.
Tolerating Communication and Processor Failures in Distributed Real-Time Systems Hamoudi Kalla, Alain Girault and Yves Sorel Grenoble, November 13, 2003.
1 of 14 1/34 Embedded Systems Design: Optimization Challenges Paul Pop Embedded Systems Lab (ESLAB) Linköping University, Sweden.
Technische Universität München On the Quantification of Sustainability and Extensibility of FlexRay Schedules Reinhard Schneider, Dip Goswami, Samarjit.
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)
An Algorithm for Automatically Obtaining Distributed and Fault Tolerant Static Schedules Alain Girault - Hamoudi Kalla - Yves Sorel - Mihaela Sighireanu.
Optimization of Time-Partitions for Mixed-Criticality Real-Time Distributed Embedded Systems Domițian Tămaș-Selicean and Paul Pop Technical University.
Reliable energy management System reliability is affected by use of energy management The use of DVS increases the probability of faults, thus damaging.
Prabhat Kumar Saraswat Paul Pop Jan Madsen
Paul Pop, Petru Eles, Zebo Peng
Period Optimization for Hard Real-time Distributed Automotive Systems
Fault and Energy Aware Communication Mapping with Guaranteed Latency for Applications Implemented on NoC Sorin Manolache, Petru Eles, Zebo Peng {sorma,
Yiannis Andreopoulos et al. IEEE JSAC’06 November 2006
Optimization of Real-Time Systems with Deadline Miss Ratio Constraints
Presentation transcript:

Reliability-Aware Frame Packing for the Static Segment of FlexRay Bogdan Tanasa, Unmesh Bordoloi, Petru Eles, Zebo Peng Linkoping University, Sweden 1

Today’s cars are a complex distributed embedded system with multiple electronic components 2 Introduction Automotive electronics are also affected by faults

Some automotive applications are safety-critical – Guaranteeing reliability is mandatory – In-vehicle communication Fault Tolerance techniques for reliable communication – Hard real-time constraints End to end deadlines must be satisfied 3 Introduction

Signal packing – Elementary pieces of information – Signals will be packed into frames Reliable frame scheduling over FlexRay based automotive networks – Via temporal fault-tolerance Retransmissions – At a minimum bandwidth utilization cost 4 Our contribution

Supported by a large consortium – Car manufacturers – Automotive suppliers Hybrid protocol – FlexRay combines features of time-triggered and event-triggered protocols We focus on the Static Segment 5 Why FlexRay ?

System Model Signal Packing Reliability Analysis CLP-based Formulation Heuristic Solution Experimental Results 6 Rest of the talk …

System Model Distributed Automotive Architecture – set of ECUs E 1, E 2, … E N – set of Signals per ECU S = {s 1, s 2, …, s L } Offset Period Deadline Length 7

System Model FlexRay Protocol Parameters – Length of the Communication Cycle – Length of the Static Segment – Number of slots within the Static Segment … FlexRay Communication Cycle FlexRay Static Segment Static Slot 8

System Model FlexRay Frame Format: Packing more signals into frames help reducing the overhead 9 HeaderSignalsFooter Overhead

System Model Fault Model - The case of transient faults – Time unit - τ Used to define the reliability goal Ex: one hour of functionality – Reliability Goal - ρ Imposed by the designer: Ex. ρ = Maximum number of tolerated faults over a time unit – Bit Error Rate - BER Represents the “quality” of the environment Used to compute the probabilities of failures 10

Signal Packing Definition: Having a set of signals S = {s 1, s 2, …, s N } build a set of frames F = {f 1, f 2, …, f M } such that: - each signal belongs to only one frame - signals will not violate their deadlines - frames do not exceed the slot capacity - the bandwidth used by the set F is minimum 11

Signal Packing SignalOffsetPeriodDeadlineLength S1S S2S S3S … SNSN The signal with the minimum period imposes the period of the resulting frame The deadline of the resulting frame must be computed such that the deadlines of the initial signals will not be violated 12 F02?112

Signal Packing Example SignalOffsetPeriodDeadlineLength S1S S2S F02.00? – 1.00 = Waiting time S2 S1 F S1S2S2S1S2 Remaining time Slack

Signal Packing General Case: gcd – Greatest Common Divisor 14

How packing signals affects the schedulability? 15 PeriodDeadline Frame: Period: T = 6 Deadline: D = 2 Frame: Period: T = 6 Deadline: D = 2 Frame: Period: T = 6 Deadline: D = 6 Frame: Period: T = 6 Deadline: D = 6 FC = 5 msST = 2 msNS = 2 slots 12DYN Deadline violation!

How packing signals affects the schedulability? 16 PeriodDeadline Frame: Period: T = 6 Deadline: D = 6 Frame: Period: T = 6 Deadline: D = 6 FC = 5 msST = 2 msNS = 2 slots 12DYN DYN 1518 Schedulable using the second slot!

Reliability Analysis For a given packing of signals into frames the required number of retransmissions has to be computed Based on: – period of frames – probabilities of failure of each frame in part – time unit – reliability goal 17

18 Reliability Analysis The particular case of one frame Probability to have the initial transmission faulty: Probability to have k consecutive retransmissions faulty : Probability to have at least one successful transmission in the case of k consecutive retransmissions for one instance: Probability to have at least one successful transmission in the case of k consecutive retransmissions for all instances over a time unit:

19 Reliability Analysis The general case of more then one frame Assumptions : 1.Different messages can be retransmitted for different number of times 2.Faults in messages are independent events The probability to have at least one successful transmission for all instances of all messages: Assumptions : 1.Different messages can be retransmitted for different number of times 2.Faults in messages are independent events The probability to have at least one successful transmission for all instances of all messages:

Reliability Analysis Solve: – p i = probability of failure of frame F i Based on Bit Error Rate - BER and length - W i – T i = period of frame F i – k i = the required number of retransmissions of frame F i Directly impacts the bandwidth – τ = time unit – ρ = reliability goal The reliability goal must be satisfied with a minimum cost in terms of bandwidth utilization: 20

Why it is important to consider fault tolerance requirments while packing? SignalsOffsetPeriodDeadlineLength S S S S S S Method 1: Pack signals first and after that apply fault tolerance technique Method 1: Pack signals first and after that apply fault tolerance technique Output: Only one frame which requires 10 slots Output: Only one frame which requires 10 slots (S1... S6)144114

Why it is important to consider fault tolerance requirments while packing? SignalsOffsetPeriodDeadlineLength S S S S S S Method 2: Consider fault tolerance requirments while packing Method 2: Consider fault tolerance requirments while packing Output: Two frames which requires 9 slots in total Output: Two frames which requires 9 slots in total (S1 S2 S3)24455 (S4 S5 S6)112 59

Problem Formulation Each ECU generates a set of signals For all sets of signals find a set of frames such that: – The reliability goal is satisfied – Slots can be assigned to frames such that the deadlines are satisfied Signals don’t miss their deadlines – Bandwidth utilization is minimum 23

24 CLP-based Formulation Signal params Packing rules FlexRay params Reliability goal Signal params Packing rules FlexRay params Reliability goal Input A set of packed frames that are fault tolerant and schedulable Output Solver (CLP based) Solver (CLP based) Optimization objective Minimize the total number of used slots Reliability constraints Scheduling constraints

A schedule represents an assignment of final frames to slots Scheduling constraints – All instances of a given frame have to accommodate k retransmissions before the deadline 25 CLP-based Formulation

Heuristic Solution ECU 1 ECU i...ECU N... Compute the required number of retransmissions Reliability Analysis 26 Initial: Each signal is a frame Solve: Relax the integrality constraint Impose ∇ F = 0 (first order optimality condition) Obtain in general non-integer values of k i

Heuristic Solution ECU 1 ECU i...ECU N... Compute the required number of retransmissions Reliability Analysis 27 Initial: Each signal is a frame For each ECU Input:Set of frames Goal: Find the best pair of frames based on the packing metric Output:A new set of frames

Heuristic Solution Step 2: Packing Metric – Input:F = {f 1, f 2, …, f L } – set of frames – Find: f u ● f v, u ≠ v – the best pair of frames which minimize the bandwidth T uv = min{T i } D uv = min{D i – T uv + gcd(T uv, T i )} W uv = W i +W j K uv ≥ max{K i, K j } 28 Packing of signals into frame The required number of retransmissions Approximate K uv Try to fill the frames which have large periods Try to keep large deadlines while increasing the value of K by very little

Heuristic Solution Step 3: Build a fault tolerant static schedule – Called with the ceiling values of k i – Find an assignment of slots to the final frames Step 4: Remove signals from frames to increase the deadlines – Detect the signal which provides two frames with the highest possible deadlines – Recall step 1 and step 3 29

Experimental Results Two set of experiments – Small test cases Compare the heuristic with results provided by the optimal CLP implementation – Large test cases Compare the heuristic against the traditional method when fault tolerant requirements are applied after packing the signal into frames 30

Experimental Results Small test cases 31 Our heuristic was in average only 15 % far from the optimal solution

Experimental Results Large test cases – Our method vs. traditional method First pack the signal into frames Second apply fault-tolerance techniques – In average the improvement is around 30% in terms of bandwidth utilization 32

Experimental Results 33

Conclusions A method for packing signals into frames with fault tolerance requirements was presented – The required number of retransmissions is computed – An fault tolerant schedule for the Static Segment is constructed 34 Message: The fault tolerance requirments need to be considered while packing to achive good bandwidth utilization Message: The fault tolerance requirments need to be considered while packing to achive good bandwidth utilization

Thank you! 35

Heuristic Solution Input:F = {f 1, f 2, …, f L } – set of frames Find: f u ● f v, u ≠ v – the best pair of frames based on packing metric Explore L x (L – 1) / 2 pairs Output:F’ = F – {f u, f v } U {f uv } ECU 1 ECU i...ECU N... Compute the required number of retransmissions Build a fault tolerant schedule for the resulted frames Pack frames for ECU i Relax deadlines if needed 4 Reliability Analysis Evaluate the bandwidth consumption Go to Step 1 Extract signals from frames to increase the deadlines 36 Initial: Each signal is a frame