SlideShare ist ein Scribd-Unternehmen logo
1 von 22
Downloaden Sie, um offline zu lesen
Configuration the Communication
           on FlexRay
 the case of the static segment
 Nicolas NAVET
 INRIA / RealTime-at-Work

 http://www.loria.fr/~nnavet
 http://www.realtime-at-work.com
 Nicolas.Navet@loria.fr
 ERTS – 30/01/2008

  Joint work with Mathieu GRENIER and Lionel HAVET
FlexRay configuration
Extremely complex problem:
     Mixed of TT and ET scheduling
     Tightly linked with task scheduling
     Large number of parameters (>70)
     AUTOSAR constraints (OS, COM, etc)
     …
Design objectives should be first clearly identified:
     Minimum bandwidth to use cheap components (2.5
     Mbit/s, 5MBit/s ?)
     Enable incremental design ?
     Carry-over of ECUs ?
No chance to solve the pb optimally – too many free
variables, sub-problems alone are NP-hard
                                                      2
Requirements on FlexRay

Performance requirements: both run-time
(response times, jitters, etc.) and End-of-Line/Garage
flash update

Incrementality requirements: additional functions
or ECUs

Dependability requirements: fail-silence, babbling
idiot, deadline failure probability under EMI, …

Platform requirements: platform wide frames (e.g.,
NM), carry-over of ECUs, able to deal with com.
controller + CPU + Autosar stack performances, …

                                                     3
Tasks run either
synchronously or asynchronously
  wrt the communication cycle
Case 1 : synchronous case (1/2)

Best possible results with regard to signal latency
and dependability




                  Picture from [1]


                                                  5
Case 1 : synchronous case (2/2)

But strong constraints:
  require Static Cyclic Scheduling
  impose to re-design existing functions / design
  according to the bus configuration
  task periods constrained by FlexRay/Autosar rules
  (cycle repetition, e.g. 10, 20, 40, 80ms with a
  cycle=5ms)
     might require to artificially increase the
     frequency of some tasks → CPU load
  length of the communication cycle is crucial



                                                      6
Case 2 : asynchronous case
 Signals produced at variable time points in the
 round – depends on the scheduling of tasks

      Signal Release
         interval



         Static segment     Dynamic segment



  Signal freshness constraint imposes a range
of slots for transmission and a min. frequency
(every x cycles)
                   Scope of the study

                                                   7
Assumptions on FlexRay (1/2)

1. Signals with up to 2.5 ms constraints are
   transmitted in the ST segment:
    DYN segment < 2.5ms
    Here : ST = 3ms, DYN (+NIT+SW) = 2ms


2. Frames data payload = 16 bytes

          Bit Rate (Mbit/s)      2.5    5   10
        gN umberOf StaticSlots   27    51   93


                                                 8
Assumptions on FlexRay (2/2)

3. Only one communication channel is used
4. A signal is produced with given period and offset
5. Deadlines ≤ Periods: no buffer overwrite
6. One signal per frame: no signal multiplexing
7. FlexRay is used in the context of AUTOSAR

   an AUTOSAR frame is defined by:
     FRIF_SLOT_ID: static segment slot
     FRIF_BASE_CYCLE: first transmission cycle
     FRIF_CYCLE_REPETITION: must be a power of two


                                                     9
Communication schedule
                      Static Segment
        ECUa   ECUb    ECUa   ECUc     …      ECUc
Cycle
   0                           FRIF_SLOT_ID: 1
               Frame           FRIF_BASE_CYCLE: 1
   1
                               FRIF_CYCLE_REPETITION: 2
   2
   3                  Static segment configuration :
   4              1) allocation of the slots to the
   .                 ECUs
   .
   .              2) Defining frame characteristics
                     + signals they carry
   63
                                                       10
Timing Constraints: asynchronous
              case
          offset   100ms

 signal

                   80ms
 frame


Signal age (or signal response time): time between
 production of a signal and end of transmission of
        the first frame containing the signal

          Max signal age = 80ms here

                                                 11
Problems addressed in the paper

1. Check timing constraints :
     Non-schedulability tests for a set of signals -
     if non-schedulable is returned then no
     feasible configuration exists
     An exact schedulability analysis of a given
     configuration

2. Algorithm to construct the configuration
   starting from the set of signals –
  Objective: minimize the # of slots used while
  meeting timing constraints


                                                       12
Sketch of the algorithm:
      “Best Slot First” (BSF)

For each slot and each ECU, compute the
“maximum” number of signals the slot can
transmit:
  A heuristic is used to build the set of frames for each
  slot / ECU
Keep the slot/ECU choice that maximizes
the number of signals transmitted
Repeat until there is no signal or no slot
left

                                                            13
Performance evaluation

Performance metrics:
   1. Percentage of feasible signal sets
   2. # of slots used in the static segment


Benchmark against a naïve strategy called
   Randomized Slot Selection (RSS)
Experimental setup
8 bytes signals in 16 bytes frames (no PDU multiplex.)
Static segment = 3ms – communication cycle = 5ms
10Mbit/s FlexRay – 93 slots
Signals generated with NETCARBENCH
Freshness constraints :
  Case 1: Equal to periods
   Case 2 : Equal to min( period, 30ms)
Available bandwidth (ST seg. alone – “power of two”
constraints not considered) ≈ 1.2Mbit/s (out of 6Mbit/s)
In our experiments (case 1), 1Mbit/s of data leads to 88
slots on average

                                                     15
Deadlines equal to periods

         # of feasible signal sets out of 100
signal rate (kbit/s)   250    400     550     700   850   1000
        BSF            100    100     100     100   100   100
        RSS            96     61      12       0     0     0



   # of slots used in the static segment (out of 93)
signal rate (kbit/s)   250     400     550      700    850   1000
        BSF            25.1    37.3    49.9     65.9   77     88
        RSS            89.2     93      93      NA     NA    NA




                                                                    16
Deadlines smaller than periods

           # of feasible signal sets out of 100
    signal rate (kbit/s)   250   400   550   700   850   1000
           Test1           100   100   100   100   100    85
           Test2           100   100   100   100    35     0
            BSF            100   100   100   52      2     0
            RSS             96    68    8     0      0     0


   850 kbit/s : Test2 says that 35 might be feasible
 while BSF only find 2 feasible configurations - is test
 2 optimistic or BSF inefficient ?




                                                                17
Conclusions / Perspectives
Solutions to configure the static segment of
FlexRay considering automotive constraints →
implemented in a prototype generating FIBEX file
Tests help to identify signals that would be best
transmitted in the dynamic segment
Asynchronous tasks : response times can be larger
than on CAN
Frame packing is needed – 2 levels:
  Packing signals into 8-bytes PDU at the AUTOSAR
  communication level
  Packing PDUs into frames at the AUTOSAR FlexRay
  Interface level



                                                    18
Questions, feedback?
please contact me at
Nicolas.Navet@loria.fr




                         19
References
References (1/2)
FLEXRAY – protocol and use by carmarkers
[1] B. Schätz, C. Kühnel, M. Gonschorek, “The FlexRay Protocol”, to appear in the
       Automotive embedded Handbook, N. Navet, F. Simonot-Lion editors, CRC
       Press/Taylor and Francis, 2008.
[2] Vector Informatik GmbH, interview of Mr. Peteratzinger (BMW), Mr. Steiner (BMW),
      “Use of XCP on FlexRay at BMW”, published in “Collection of professional articles”,
      09/2006. Available at www.vector-worldwide.com/articles
[3] A. Schedl, “Goals and Architecture of FlexRay at BMW”, slides presented at the
       Vector FlexRay Symposium, March 6 2007.
[4] J. Broy (Porsche A.G.), K.D. Müller-Glaser, “The impact of time-triggered
       communication in automotive embedded systems”, IEEE SIES’2007, July 2007.
FRAME PACKING
[5] R. Saket, N. Navet, "Frame Packing Algorithms for Automotive Applications", Journal
       of Embedded Computing, vol. 2, n° 1, pp93-102, 2006.
DEPENDABILITY
[6] B. Gaujal, N. Navet, "Maximizing the Robustness of TDMA Networks with
      Applications to TTP/C", Real-Time Systems, Kluwer Academic Publishers, vol 31,
      n°1-3, pp5-31, December 2005.




                                                                                        21
References (2/2)
CONFIGURATION OF THE STATIC SEGMENT
[6] S. Ding, N. Murakami, H. Tomiyama, H. Takada, “A GA-based scheduling method for
       FlexRay systems”, EMSOFT, 2005.
[7] A. Hamann, R. Ernst, “TDMA Time Slot and Turn Optimization with Evolutionary
       Search Techniques”, Proceedings of the Design, Automation and Test in Europe
       Conference, Volume 1, p312–317, 2005.
[8] E. Wandeler, L. Thiele, “Optimal TDMA time slot and cycle length allocation for hard
       real-time systems”, Proceedings of the 2006 conference on Asia South Pacific
       design automation.
[9] M. Grenier, L. Havet, N. Navet, “Configuring the communication on FlexRay: the case
      of the static segment”, Proceedings of ERTS’2008.
CONFIGURATION OF THE DYNAMIC SEGMENT
[10] T. Pop, P. Pop, P. Eles, Z. Peng, A. Andrei, “Timing Analysis of the FlexRay
      Communication Protocol”, ECRTS 2006.
[11] T. Pop, P. Pop, P. Eles, Z. Peng, “Bus Access Optimisation for FlexRay-based
      Distributed Embedded Systems”, DATE 2007.
INTERFERENCE OF SCS TASKS ON FPS TASKS
[12] T. Pop, P. Pop, P. Eles, Z. Peng, “Optimization of Hierarchically Scheduled
      Heterogeneous Embedded Systems”, RTCSA’2005.


                                                                                           22

Weitere ähnliche Inhalte

Was ist angesagt?

Insights into the performance and configuration of TCP in Automotive Ethernet...
Insights into the performance and configuration of TCP in Automotive Ethernet...Insights into the performance and configuration of TCP in Automotive Ethernet...
Insights into the performance and configuration of TCP in Automotive Ethernet...RealTime-at-Work (RTaW)
 
PEGASE – a robust and efficient tool for worst-case network traversal time ev...
PEGASE – a robust and efficient tool for worst-case network traversal time ev...PEGASE – a robust and efficient tool for worst-case network traversal time ev...
PEGASE – a robust and efficient tool for worst-case network traversal time ev...RealTime-at-Work (RTaW)
 
Early-stage Bottleneck Identification and Removal in TSN Networks
Early-stage Bottleneck Identification and Removal in TSN NetworksEarly-stage Bottleneck Identification and Removal in TSN Networks
Early-stage Bottleneck Identification and Removal in TSN NetworksRealTime-at-Work (RTaW)
 
Unit iv atm networks
Unit iv atm networksUnit iv atm networks
Unit iv atm networkssangusajjan
 
Understanding ATM Networks
Understanding ATM NetworksUnderstanding ATM Networks
Understanding ATM NetworksAnirban Roy
 
Mac protocols sensor_20071105_slideshare
Mac protocols sensor_20071105_slideshareMac protocols sensor_20071105_slideshare
Mac protocols sensor_20071105_slideshareChih-Yu Lin
 
Local Interconnect Network
Local Interconnect NetworkLocal Interconnect Network
Local Interconnect NetworkJabez Winston
 
ERTMS Presentation
ERTMS PresentationERTMS Presentation
ERTMS PresentationMartyn Tobin
 
Asynchronous transfer mode (atm)
Asynchronous transfer mode (atm)Asynchronous transfer mode (atm)
Asynchronous transfer mode (atm)Sajan Sahu
 
VEHICLE SPEED CONTROL AND ACCIDENT AVOIDANCE SYSTEM BASED ON ARM M4 MICROPROC...
VEHICLE SPEED CONTROL AND ACCIDENT AVOIDANCE SYSTEM BASED ON ARM M4 MICROPROC...VEHICLE SPEED CONTROL AND ACCIDENT AVOIDANCE SYSTEM BASED ON ARM M4 MICROPROC...
VEHICLE SPEED CONTROL AND ACCIDENT AVOIDANCE SYSTEM BASED ON ARM M4 MICROPROC...Md. Raseduzzaman Ruman
 
Timing verification of real-time automotive Ethernet networks: what can we ex...
Timing verification of real-time automotive Ethernet networks: what can we ex...Timing verification of real-time automotive Ethernet networks: what can we ex...
Timing verification of real-time automotive Ethernet networks: what can we ex...RealTime-at-Work (RTaW)
 
5G Network Slicing Using Mininet
5G Network Slicing Using Mininet5G Network Slicing Using Mininet
5G Network Slicing Using MininetMohammed Abuibaid
 
A comparative study of full adder using static cmos logic style
A comparative study of full adder using static cmos logic styleA comparative study of full adder using static cmos logic style
A comparative study of full adder using static cmos logic styleeSAT Publishing House
 
An energy efficient mac protocol for wireless
An energy efficient mac protocol for wirelessAn energy efficient mac protocol for wireless
An energy efficient mac protocol for wirelessnabil_alsharafi
 
Wireless Sensors Networks - MAC protocols - TDMA
Wireless Sensors Networks - MAC protocols - TDMAWireless Sensors Networks - MAC protocols - TDMA
Wireless Sensors Networks - MAC protocols - TDMAShehla Shoaib
 

Was ist angesagt? (20)

Csmaca
CsmacaCsmaca
Csmaca
 
Insights into the performance and configuration of TCP in Automotive Ethernet...
Insights into the performance and configuration of TCP in Automotive Ethernet...Insights into the performance and configuration of TCP in Automotive Ethernet...
Insights into the performance and configuration of TCP in Automotive Ethernet...
 
PEGASE – a robust and efficient tool for worst-case network traversal time ev...
PEGASE – a robust and efficient tool for worst-case network traversal time ev...PEGASE – a robust and efficient tool for worst-case network traversal time ev...
PEGASE – a robust and efficient tool for worst-case network traversal time ev...
 
Early-stage Bottleneck Identification and Removal in TSN Networks
Early-stage Bottleneck Identification and Removal in TSN NetworksEarly-stage Bottleneck Identification and Removal in TSN Networks
Early-stage Bottleneck Identification and Removal in TSN Networks
 
Unit iv atm networks
Unit iv atm networksUnit iv atm networks
Unit iv atm networks
 
Understanding ATM Networks
Understanding ATM NetworksUnderstanding ATM Networks
Understanding ATM Networks
 
R,aouami wccs
R,aouami wccsR,aouami wccs
R,aouami wccs
 
Mac protocols sensor_20071105_slideshare
Mac protocols sensor_20071105_slideshareMac protocols sensor_20071105_slideshare
Mac protocols sensor_20071105_slideshare
 
Local Interconnect Network
Local Interconnect NetworkLocal Interconnect Network
Local Interconnect Network
 
ERTMS Presentation
ERTMS PresentationERTMS Presentation
ERTMS Presentation
 
Cbtc brochure
Cbtc brochureCbtc brochure
Cbtc brochure
 
Asynchronous transfer mode (atm)
Asynchronous transfer mode (atm)Asynchronous transfer mode (atm)
Asynchronous transfer mode (atm)
 
VEHICLE SPEED CONTROL AND ACCIDENT AVOIDANCE SYSTEM BASED ON ARM M4 MICROPROC...
VEHICLE SPEED CONTROL AND ACCIDENT AVOIDANCE SYSTEM BASED ON ARM M4 MICROPROC...VEHICLE SPEED CONTROL AND ACCIDENT AVOIDANCE SYSTEM BASED ON ARM M4 MICROPROC...
VEHICLE SPEED CONTROL AND ACCIDENT AVOIDANCE SYSTEM BASED ON ARM M4 MICROPROC...
 
Mac
MacMac
Mac
 
Multicore scheduling in automotive ECUs
Multicore scheduling in automotive ECUsMulticore scheduling in automotive ECUs
Multicore scheduling in automotive ECUs
 
Timing verification of real-time automotive Ethernet networks: what can we ex...
Timing verification of real-time automotive Ethernet networks: what can we ex...Timing verification of real-time automotive Ethernet networks: what can we ex...
Timing verification of real-time automotive Ethernet networks: what can we ex...
 
5G Network Slicing Using Mininet
5G Network Slicing Using Mininet5G Network Slicing Using Mininet
5G Network Slicing Using Mininet
 
A comparative study of full adder using static cmos logic style
A comparative study of full adder using static cmos logic styleA comparative study of full adder using static cmos logic style
A comparative study of full adder using static cmos logic style
 
An energy efficient mac protocol for wireless
An energy efficient mac protocol for wirelessAn energy efficient mac protocol for wireless
An energy efficient mac protocol for wireless
 
Wireless Sensors Networks - MAC protocols - TDMA
Wireless Sensors Networks - MAC protocols - TDMAWireless Sensors Networks - MAC protocols - TDMA
Wireless Sensors Networks - MAC protocols - TDMA
 

Andere mochten auch

Altera Cyclone IV FPGA Customer Presentation
Altera Cyclone IV FPGA Customer PresentationAltera Cyclone IV FPGA Customer Presentation
Altera Cyclone IV FPGA Customer PresentationAltera Corporation
 
FPGA Design with Python and MyHDL
FPGA Design with Python and MyHDLFPGA Design with Python and MyHDL
FPGA Design with Python and MyHDLGuy Eschemann
 
Building ADAS system from scratch
Building ADAS system from scratchBuilding ADAS system from scratch
Building ADAS system from scratchYury Gorbachev
 
20 Inspiring Quotes From William Zinsser's "On Writing Well"
20 Inspiring Quotes From William Zinsser's "On Writing Well"20 Inspiring Quotes From William Zinsser's "On Writing Well"
20 Inspiring Quotes From William Zinsser's "On Writing Well"Glenn Leibowitz
 
Crevativty & innovation ppt mba
Crevativty & innovation ppt  mbaCrevativty & innovation ppt  mba
Crevativty & innovation ppt mbaBabasab Patil
 
The Best Startup Investor Pitch Deck & How to Present to Angels & Venture Cap...
The Best Startup Investor Pitch Deck & How to Present to Angels & Venture Cap...The Best Startup Investor Pitch Deck & How to Present to Angels & Venture Cap...
The Best Startup Investor Pitch Deck & How to Present to Angels & Venture Cap...J. Skyler Fernandes
 

Andere mochten auch (9)

Altera Cyclone IV FPGA Customer Presentation
Altera Cyclone IV FPGA Customer PresentationAltera Cyclone IV FPGA Customer Presentation
Altera Cyclone IV FPGA Customer Presentation
 
Advanced Driver Assistance System using FPGA
Advanced Driver Assistance System using FPGAAdvanced Driver Assistance System using FPGA
Advanced Driver Assistance System using FPGA
 
RTL Presentation by Pr. John Connor
RTL Presentation by Pr. John ConnorRTL Presentation by Pr. John Connor
RTL Presentation by Pr. John Connor
 
Flexray
FlexrayFlexray
Flexray
 
FPGA Design with Python and MyHDL
FPGA Design with Python and MyHDLFPGA Design with Python and MyHDL
FPGA Design with Python and MyHDL
 
Building ADAS system from scratch
Building ADAS system from scratchBuilding ADAS system from scratch
Building ADAS system from scratch
 
20 Inspiring Quotes From William Zinsser's "On Writing Well"
20 Inspiring Quotes From William Zinsser's "On Writing Well"20 Inspiring Quotes From William Zinsser's "On Writing Well"
20 Inspiring Quotes From William Zinsser's "On Writing Well"
 
Crevativty & innovation ppt mba
Crevativty & innovation ppt  mbaCrevativty & innovation ppt  mba
Crevativty & innovation ppt mba
 
The Best Startup Investor Pitch Deck & How to Present to Angels & Venture Cap...
The Best Startup Investor Pitch Deck & How to Present to Angels & Venture Cap...The Best Startup Investor Pitch Deck & How to Present to Angels & Venture Cap...
The Best Startup Investor Pitch Deck & How to Present to Angels & Venture Cap...
 

Ähnlich wie Configuring the communication on FlexRay: the case of the static segment

Pushing the limits of Controller Area Network (CAN)
Pushing the limits of Controller Area Network (CAN)Pushing the limits of Controller Area Network (CAN)
Pushing the limits of Controller Area Network (CAN)RealTime-at-Work (RTaW)
 
Pushing the limits of CAN - Scheduling frames with offsets provides a major p...
Pushing the limits of CAN - Scheduling frames with offsets provides a major p...Pushing the limits of CAN - Scheduling frames with offsets provides a major p...
Pushing the limits of CAN - Scheduling frames with offsets provides a major p...Nicolas Navet
 
Automating the Configuration of the FlexRay Communication Cycle
Automating the Configuration of the FlexRay Communication CycleAutomating the Configuration of the FlexRay Communication Cycle
Automating the Configuration of the FlexRay Communication CycleNicolas Navet
 
Synchronization and timing loop presentation -mapyourtech
Synchronization and timing loop presentation -mapyourtechSynchronization and timing loop presentation -mapyourtech
Synchronization and timing loop presentation -mapyourtechMapYourTech
 
Unit 2 data link control
Unit 2 data link controlUnit 2 data link control
Unit 2 data link controlVishal kakade
 
MEDIUM ACCESS CONTROL Sublayer IN CN.ppt
MEDIUM ACCESS CONTROL Sublayer IN CN.pptMEDIUM ACCESS CONTROL Sublayer IN CN.ppt
MEDIUM ACCESS CONTROL Sublayer IN CN.pptssuser35e92d
 
3-MACSublayer.ppt
3-MACSublayer.ppt3-MACSublayer.ppt
3-MACSublayer.pptDigiPlexus
 
Types Of Window Being Used For The Selected Granule
Types Of Window Being Used For The Selected GranuleTypes Of Window Being Used For The Selected Granule
Types Of Window Being Used For The Selected GranuleLeslie Lee
 
Training Course_5G RAN3.0 mmWave Beam Management.pptx
Training Course_5G RAN3.0 mmWave Beam Management.pptxTraining Course_5G RAN3.0 mmWave Beam Management.pptx
Training Course_5G RAN3.0 mmWave Beam Management.pptxgame__over
 
GSM FRAME STRUCTURE.pptx
GSM FRAME STRUCTURE.pptxGSM FRAME STRUCTURE.pptx
GSM FRAME STRUCTURE.pptxRasufsd
 
Iaetsd stbc-ofdm downlink baseband receiver for mobile wman
Iaetsd stbc-ofdm downlink baseband receiver for mobile wmanIaetsd stbc-ofdm downlink baseband receiver for mobile wman
Iaetsd stbc-ofdm downlink baseband receiver for mobile wmanIaetsd Iaetsd
 
Wire Lan Testing
Wire Lan TestingWire Lan Testing
Wire Lan Testingwjosephson
 
Atc On An Simd Cots System Wmpp05
Atc On An Simd Cots System   Wmpp05Atc On An Simd Cots System   Wmpp05
Atc On An Simd Cots System Wmpp05Ülger Ahmet
 

Ähnlich wie Configuring the communication on FlexRay: the case of the static segment (20)

Pushing the limits of Controller Area Network (CAN)
Pushing the limits of Controller Area Network (CAN)Pushing the limits of Controller Area Network (CAN)
Pushing the limits of Controller Area Network (CAN)
 
Pushing the limits of CAN - Scheduling frames with offsets provides a major p...
Pushing the limits of CAN - Scheduling frames with offsets provides a major p...Pushing the limits of CAN - Scheduling frames with offsets provides a major p...
Pushing the limits of CAN - Scheduling frames with offsets provides a major p...
 
Thesis
ThesisThesis
Thesis
 
Thesis
ThesisThesis
Thesis
 
Automating the Configuration of the FlexRay Communication Cycle
Automating the Configuration of the FlexRay Communication CycleAutomating the Configuration of the FlexRay Communication Cycle
Automating the Configuration of the FlexRay Communication Cycle
 
Synchronization and timing loop presentation -mapyourtech
Synchronization and timing loop presentation -mapyourtechSynchronization and timing loop presentation -mapyourtech
Synchronization and timing loop presentation -mapyourtech
 
can bus theory solution
can bus theory solutioncan bus theory solution
can bus theory solution
 
Unit 2 data link control
Unit 2 data link controlUnit 2 data link control
Unit 2 data link control
 
Cdma Anjan V1
Cdma  Anjan V1Cdma  Anjan V1
Cdma Anjan V1
 
MEDIUM ACCESS CONTROL Sublayer IN CN.ppt
MEDIUM ACCESS CONTROL Sublayer IN CN.pptMEDIUM ACCESS CONTROL Sublayer IN CN.ppt
MEDIUM ACCESS CONTROL Sublayer IN CN.ppt
 
3-MACSublayer.ppt
3-MACSublayer.ppt3-MACSublayer.ppt
3-MACSublayer.ppt
 
Zigbee 802-15-4
Zigbee 802-15-4Zigbee 802-15-4
Zigbee 802-15-4
 
Types Of Window Being Used For The Selected Granule
Types Of Window Being Used For The Selected GranuleTypes Of Window Being Used For The Selected Granule
Types Of Window Being Used For The Selected Granule
 
7 eti pres
7 eti pres7 eti pres
7 eti pres
 
Training Course_5G RAN3.0 mmWave Beam Management.pptx
Training Course_5G RAN3.0 mmWave Beam Management.pptxTraining Course_5G RAN3.0 mmWave Beam Management.pptx
Training Course_5G RAN3.0 mmWave Beam Management.pptx
 
Wlan 802.11n
Wlan 802.11nWlan 802.11n
Wlan 802.11n
 
GSM FRAME STRUCTURE.pptx
GSM FRAME STRUCTURE.pptxGSM FRAME STRUCTURE.pptx
GSM FRAME STRUCTURE.pptx
 
Iaetsd stbc-ofdm downlink baseband receiver for mobile wman
Iaetsd stbc-ofdm downlink baseband receiver for mobile wmanIaetsd stbc-ofdm downlink baseband receiver for mobile wman
Iaetsd stbc-ofdm downlink baseband receiver for mobile wman
 
Wire Lan Testing
Wire Lan TestingWire Lan Testing
Wire Lan Testing
 
Atc On An Simd Cots System Wmpp05
Atc On An Simd Cots System   Wmpp05Atc On An Simd Cots System   Wmpp05
Atc On An Simd Cots System Wmpp05
 

Mehr von Nicolas Navet

Battery Aware Dynamic Scheduling for Periodic Task Graphs
Battery Aware Dynamic Scheduling for Periodic Task GraphsBattery Aware Dynamic Scheduling for Periodic Task Graphs
Battery Aware Dynamic Scheduling for Periodic Task GraphsNicolas Navet
 
In-Vehicle Networking : a Survey and Look Forward
In-Vehicle Networking : a Survey and Look ForwardIn-Vehicle Networking : a Survey and Look Forward
In-Vehicle Networking : a Survey and Look ForwardNicolas Navet
 
Automotive communication systems: from dependability to security
Automotive communication systems: from dependability to securityAutomotive communication systems: from dependability to security
Automotive communication systems: from dependability to securityNicolas Navet
 
Mécanismes de protection dans AUTOSAR OS
Mécanismes de protection dans AUTOSAR OSMécanismes de protection dans AUTOSAR OS
Mécanismes de protection dans AUTOSAR OSNicolas Navet
 
Aperiodic Traffic in Response Time Analyses with Adjustable Safety Level
Aperiodic Traffic in Response Time Analyses with Adjustable Safety LevelAperiodic Traffic in Response Time Analyses with Adjustable Safety Level
Aperiodic Traffic in Response Time Analyses with Adjustable Safety LevelNicolas Navet
 
Ertss2010 multicore scheduling
Ertss2010 multicore schedulingErtss2010 multicore scheduling
Ertss2010 multicore schedulingNicolas Navet
 
Optimizing the Robustness of X-by-Wire using Word Combinatorics
Optimizing the Robustness of X-by-Wire using Word CombinatoricsOptimizing the Robustness of X-by-Wire using Word Combinatorics
Optimizing the Robustness of X-by-Wire using Word CombinatoricsNicolas Navet
 
Cief2007 nn shc_slides
Cief2007 nn shc_slidesCief2007 nn shc_slides
Cief2007 nn shc_slidesNicolas Navet
 
Virtualization in Automotive Embedded Systems : an Outlook
Virtualization in Automotive Embedded Systems : an OutlookVirtualization in Automotive Embedded Systems : an Outlook
Virtualization in Automotive Embedded Systems : an OutlookNicolas Navet
 

Mehr von Nicolas Navet (11)

Battery Aware Dynamic Scheduling for Periodic Task Graphs
Battery Aware Dynamic Scheduling for Periodic Task GraphsBattery Aware Dynamic Scheduling for Periodic Task Graphs
Battery Aware Dynamic Scheduling for Periodic Task Graphs
 
In-Vehicle Networking : a Survey and Look Forward
In-Vehicle Networking : a Survey and Look ForwardIn-Vehicle Networking : a Survey and Look Forward
In-Vehicle Networking : a Survey and Look Forward
 
Automotive communication systems: from dependability to security
Automotive communication systems: from dependability to securityAutomotive communication systems: from dependability to security
Automotive communication systems: from dependability to security
 
Mécanismes de protection dans AUTOSAR OS
Mécanismes de protection dans AUTOSAR OSMécanismes de protection dans AUTOSAR OS
Mécanismes de protection dans AUTOSAR OS
 
New policies
New policiesNew policies
New policies
 
Isi2007 nn shc_2007
Isi2007 nn shc_2007Isi2007 nn shc_2007
Isi2007 nn shc_2007
 
Aperiodic Traffic in Response Time Analyses with Adjustable Safety Level
Aperiodic Traffic in Response Time Analyses with Adjustable Safety LevelAperiodic Traffic in Response Time Analyses with Adjustable Safety Level
Aperiodic Traffic in Response Time Analyses with Adjustable Safety Level
 
Ertss2010 multicore scheduling
Ertss2010 multicore schedulingErtss2010 multicore scheduling
Ertss2010 multicore scheduling
 
Optimizing the Robustness of X-by-Wire using Word Combinatorics
Optimizing the Robustness of X-by-Wire using Word CombinatoricsOptimizing the Robustness of X-by-Wire using Word Combinatorics
Optimizing the Robustness of X-by-Wire using Word Combinatorics
 
Cief2007 nn shc_slides
Cief2007 nn shc_slidesCief2007 nn shc_slides
Cief2007 nn shc_slides
 
Virtualization in Automotive Embedded Systems : an Outlook
Virtualization in Automotive Embedded Systems : an OutlookVirtualization in Automotive Embedded Systems : an Outlook
Virtualization in Automotive Embedded Systems : an Outlook
 

Kürzlich hochgeladen

Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 

Kürzlich hochgeladen (20)

Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 

Configuring the communication on FlexRay: the case of the static segment

  • 1. Configuration the Communication on FlexRay the case of the static segment Nicolas NAVET INRIA / RealTime-at-Work http://www.loria.fr/~nnavet http://www.realtime-at-work.com Nicolas.Navet@loria.fr ERTS – 30/01/2008 Joint work with Mathieu GRENIER and Lionel HAVET
  • 2. FlexRay configuration Extremely complex problem: Mixed of TT and ET scheduling Tightly linked with task scheduling Large number of parameters (>70) AUTOSAR constraints (OS, COM, etc) … Design objectives should be first clearly identified: Minimum bandwidth to use cheap components (2.5 Mbit/s, 5MBit/s ?) Enable incremental design ? Carry-over of ECUs ? No chance to solve the pb optimally – too many free variables, sub-problems alone are NP-hard 2
  • 3. Requirements on FlexRay Performance requirements: both run-time (response times, jitters, etc.) and End-of-Line/Garage flash update Incrementality requirements: additional functions or ECUs Dependability requirements: fail-silence, babbling idiot, deadline failure probability under EMI, … Platform requirements: platform wide frames (e.g., NM), carry-over of ECUs, able to deal with com. controller + CPU + Autosar stack performances, … 3
  • 4. Tasks run either synchronously or asynchronously wrt the communication cycle
  • 5. Case 1 : synchronous case (1/2) Best possible results with regard to signal latency and dependability Picture from [1] 5
  • 6. Case 1 : synchronous case (2/2) But strong constraints: require Static Cyclic Scheduling impose to re-design existing functions / design according to the bus configuration task periods constrained by FlexRay/Autosar rules (cycle repetition, e.g. 10, 20, 40, 80ms with a cycle=5ms) might require to artificially increase the frequency of some tasks → CPU load length of the communication cycle is crucial 6
  • 7. Case 2 : asynchronous case Signals produced at variable time points in the round – depends on the scheduling of tasks Signal Release interval Static segment Dynamic segment Signal freshness constraint imposes a range of slots for transmission and a min. frequency (every x cycles) Scope of the study 7
  • 8. Assumptions on FlexRay (1/2) 1. Signals with up to 2.5 ms constraints are transmitted in the ST segment: DYN segment < 2.5ms Here : ST = 3ms, DYN (+NIT+SW) = 2ms 2. Frames data payload = 16 bytes Bit Rate (Mbit/s) 2.5 5 10 gN umberOf StaticSlots 27 51 93 8
  • 9. Assumptions on FlexRay (2/2) 3. Only one communication channel is used 4. A signal is produced with given period and offset 5. Deadlines ≤ Periods: no buffer overwrite 6. One signal per frame: no signal multiplexing 7. FlexRay is used in the context of AUTOSAR an AUTOSAR frame is defined by: FRIF_SLOT_ID: static segment slot FRIF_BASE_CYCLE: first transmission cycle FRIF_CYCLE_REPETITION: must be a power of two 9
  • 10. Communication schedule Static Segment ECUa ECUb ECUa ECUc … ECUc Cycle 0 FRIF_SLOT_ID: 1 Frame FRIF_BASE_CYCLE: 1 1 FRIF_CYCLE_REPETITION: 2 2 3 Static segment configuration : 4 1) allocation of the slots to the . ECUs . . 2) Defining frame characteristics + signals they carry 63 10
  • 11. Timing Constraints: asynchronous case offset 100ms signal 80ms frame Signal age (or signal response time): time between production of a signal and end of transmission of the first frame containing the signal Max signal age = 80ms here 11
  • 12. Problems addressed in the paper 1. Check timing constraints : Non-schedulability tests for a set of signals - if non-schedulable is returned then no feasible configuration exists An exact schedulability analysis of a given configuration 2. Algorithm to construct the configuration starting from the set of signals – Objective: minimize the # of slots used while meeting timing constraints 12
  • 13. Sketch of the algorithm: “Best Slot First” (BSF) For each slot and each ECU, compute the “maximum” number of signals the slot can transmit: A heuristic is used to build the set of frames for each slot / ECU Keep the slot/ECU choice that maximizes the number of signals transmitted Repeat until there is no signal or no slot left 13
  • 14. Performance evaluation Performance metrics: 1. Percentage of feasible signal sets 2. # of slots used in the static segment Benchmark against a naïve strategy called Randomized Slot Selection (RSS)
  • 15. Experimental setup 8 bytes signals in 16 bytes frames (no PDU multiplex.) Static segment = 3ms – communication cycle = 5ms 10Mbit/s FlexRay – 93 slots Signals generated with NETCARBENCH Freshness constraints : Case 1: Equal to periods Case 2 : Equal to min( period, 30ms) Available bandwidth (ST seg. alone – “power of two” constraints not considered) ≈ 1.2Mbit/s (out of 6Mbit/s) In our experiments (case 1), 1Mbit/s of data leads to 88 slots on average 15
  • 16. Deadlines equal to periods # of feasible signal sets out of 100 signal rate (kbit/s) 250 400 550 700 850 1000 BSF 100 100 100 100 100 100 RSS 96 61 12 0 0 0 # of slots used in the static segment (out of 93) signal rate (kbit/s) 250 400 550 700 850 1000 BSF 25.1 37.3 49.9 65.9 77 88 RSS 89.2 93 93 NA NA NA 16
  • 17. Deadlines smaller than periods # of feasible signal sets out of 100 signal rate (kbit/s) 250 400 550 700 850 1000 Test1 100 100 100 100 100 85 Test2 100 100 100 100 35 0 BSF 100 100 100 52 2 0 RSS 96 68 8 0 0 0 850 kbit/s : Test2 says that 35 might be feasible while BSF only find 2 feasible configurations - is test 2 optimistic or BSF inefficient ? 17
  • 18. Conclusions / Perspectives Solutions to configure the static segment of FlexRay considering automotive constraints → implemented in a prototype generating FIBEX file Tests help to identify signals that would be best transmitted in the dynamic segment Asynchronous tasks : response times can be larger than on CAN Frame packing is needed – 2 levels: Packing signals into 8-bytes PDU at the AUTOSAR communication level Packing PDUs into frames at the AUTOSAR FlexRay Interface level 18
  • 19. Questions, feedback? please contact me at Nicolas.Navet@loria.fr 19
  • 21. References (1/2) FLEXRAY – protocol and use by carmarkers [1] B. Schätz, C. Kühnel, M. Gonschorek, “The FlexRay Protocol”, to appear in the Automotive embedded Handbook, N. Navet, F. Simonot-Lion editors, CRC Press/Taylor and Francis, 2008. [2] Vector Informatik GmbH, interview of Mr. Peteratzinger (BMW), Mr. Steiner (BMW), “Use of XCP on FlexRay at BMW”, published in “Collection of professional articles”, 09/2006. Available at www.vector-worldwide.com/articles [3] A. Schedl, “Goals and Architecture of FlexRay at BMW”, slides presented at the Vector FlexRay Symposium, March 6 2007. [4] J. Broy (Porsche A.G.), K.D. Müller-Glaser, “The impact of time-triggered communication in automotive embedded systems”, IEEE SIES’2007, July 2007. FRAME PACKING [5] R. Saket, N. Navet, "Frame Packing Algorithms for Automotive Applications", Journal of Embedded Computing, vol. 2, n° 1, pp93-102, 2006. DEPENDABILITY [6] B. Gaujal, N. Navet, "Maximizing the Robustness of TDMA Networks with Applications to TTP/C", Real-Time Systems, Kluwer Academic Publishers, vol 31, n°1-3, pp5-31, December 2005. 21
  • 22. References (2/2) CONFIGURATION OF THE STATIC SEGMENT [6] S. Ding, N. Murakami, H. Tomiyama, H. Takada, “A GA-based scheduling method for FlexRay systems”, EMSOFT, 2005. [7] A. Hamann, R. Ernst, “TDMA Time Slot and Turn Optimization with Evolutionary Search Techniques”, Proceedings of the Design, Automation and Test in Europe Conference, Volume 1, p312–317, 2005. [8] E. Wandeler, L. Thiele, “Optimal TDMA time slot and cycle length allocation for hard real-time systems”, Proceedings of the 2006 conference on Asia South Pacific design automation. [9] M. Grenier, L. Havet, N. Navet, “Configuring the communication on FlexRay: the case of the static segment”, Proceedings of ERTS’2008. CONFIGURATION OF THE DYNAMIC SEGMENT [10] T. Pop, P. Pop, P. Eles, Z. Peng, A. Andrei, “Timing Analysis of the FlexRay Communication Protocol”, ECRTS 2006. [11] T. Pop, P. Pop, P. Eles, Z. Peng, “Bus Access Optimisation for FlexRay-based Distributed Embedded Systems”, DATE 2007. INTERFERENCE OF SCS TASKS ON FPS TASKS [12] T. Pop, P. Pop, P. Eles, Z. Peng, “Optimization of Hierarchically Scheduled Heterogeneous Embedded Systems”, RTCSA’2005. 22