SlideShare a Scribd company logo
.
.
.
The FlexRay protocol
Master Of Control Systems
Wissam Kafa
June 17, 2014
Outline
1 Introduction
2 Why FlexRay?
3 Network Topology
4 Structure of a FlexRay Node
5 FlexRay configuration: Cycle Segments
6 Clock Synchronization
7 Summary-Conclusion
.
.
.Wissam Kafa | HIAST 2/26
1 Introduction
• FlexRay: A Communication Protocol in distributed systems within
automotive context.
• developed by the FlexRay consortium (BMW, DaimlerChrysler, Mo-
torola, Philips) founded in 1999.
• since 1999 many well-known companies joined (e.g. Bosch, GM,
VW, Mazda, etc.)
• aim: fast, flexible, fault-tolerant communication protocol.
• FlexRay was used for the first time in BMW X5 model in 2007.
.
.
.Wissam Kafa | HIAST 3/26
2 Why FlexRay?
• X-by-wire Technique
steer-by-wire, brake-by-wire,. . .
• Hydraulic steering and braking is replaced by an electronic system
of sensors and actuators.
• Over years these new tasks have increased the requirements of the
communication between control units.
• CAN is not sufficient any more.
Real-time capabilities are not supported because of bit arbitra-
tion
.
.
.Wissam Kafa | HIAST 4/26
3 Network Topology
Figure 1: some possible FlexRay Network topologies (a) Passive bus. (b)
Active star. (c) Hybrid topology
.
.
.Wissam Kafa | HIAST 5/26
Passive Bus Topology
Figure 2: Passive Bus Topology
A node can be connected to one or both channels A and B.
.
.
.Wissam Kafa | HIAST 6/26
Active Star Topology
Figure 3: Active Star Topology
- free of closed rings.
- Received Signal is driven to all connected nodes.
- A node could be connected to a maximum of two star couplers.
.
.
.Wissam Kafa | HIAST 7/26
Hybrid Topology
Figure 4: Hybrid Topology
.
.
.Wissam Kafa | HIAST 8/26
4 Structure of a FlexRay Node
Figure 5: Structure of a FlexRay Node
.
.
.Wissam Kafa | HIAST 9/26
FlexRay Node: Host Controller
- Processor to execute the main application.
- It processes the received data.
- Decides what to do, and what to be
sent to the communication controller
.
.
.Wissam Kafa | HIAST 10/26
FlexRay Node: Communication Controller
- Realizes all functions of the FlexRay pro-
tocol.
- Receives data that should be sent from the
host controller.
- Decides what to do, and what to be sent
to the communication controller.
- Handles the data according to the FlexRay
protocol, and sends them to the bus driver
.
.
.Wissam Kafa | HIAST 11/26
FlexRay Node: Bus Guardian
- Changes in the supply of a node could oc-
cur.
This could cause defects on the bus.
- Important for the fault-tolerance of the
FlexRay.
- Bus guardian could prevent these defects.
- It organizes sending the data on the bus.
- It prevents the node from sending and re-
ceiving outside its time slots.
- It can Recognize synchronization and com-
munication errors
.
.
.Wissam Kafa | HIAST 12/26
FlexRay Node: Bus Driver
- Responsible for the connection between
the FlexRay nodes and the bus.
- Sends Data to the Bus.
- Receives Data from the Bus.
.
.
.Wissam Kafa | HIAST 13/26
5 FlexRay configuration: Cycle Segments
Figure 6: FlexRay Cycle Segment
.
.
.Wissam Kafa | HIAST 14/26
FlexRay configuration: Cycle Segments
- The communication on the bus passes in
cycles.
- Each cycle can be divided into three seg-
ments:
- Static segment.
- Dynamic segmentand.
- Symbol segment.
- A cycle is terminated by a network idle
time, the NIT.
- A typical FlexRay cycle takes about 2.5ms.
.
.
.Wissam Kafa | HIAST 15/26
Cycle Segments: Static Segment
- The static segment is time triggered.
- It is divided into time slots, Each slot has:
- A fixed length.
- ID assigned to a specific control unit.
- Hard real-time requirements possible by
guaranteed latency.
- No delays or collisions could occur.
- A node can be allocated to more than one
slot by clever distribution of slot IDs.
- A Hard real-time application which should
be realized in the static segment:
- Explosion of the airbag.
.
.
.Wissam Kafa | HIAST 16/26
Cycle Segments: Dynamic Segment
- For reacting flexibly on specific events.
- Event triggered segment.
- It is also divided into slots with IDs.
-If the ID of the actual slot corresponds with
the ID of the control unit, then the control
unit is allowed to send data.
- If a longer message has to be sent, the
time slot of the next node shifts backwards.
- An application for the dynamic segment:
The control of the wipers depending
on the rain sensor.
.
.
.Wissam Kafa | HIAST 17/26
Cycle Segments: The symbol segment
- In the symbol segment:
FlexRay sends internal control infor-
mation (starting the network).
.
.
.Wissam Kafa | HIAST 18/26
Cycle Segments: NIT and Frames
Figure 7: FlexRay-Frame
- The Network Idle Time is used for the synchronization of the clocks.
- Each slot corresponds to one frame.
- A frame can contain up to 254 bytes of data.
.
.
.Wissam Kafa | HIAST 19/26
6 Clock Synchronization
- Large temperature differences, voltage changes and production
tolerances have a negative influence on the accuracy of the clocks.
- A regular synchronization, especially for real-time and time-critical
applications is essential.
- For correct Operation, each node has to know the start time, the end
time and the number of the actual slots.
- Therefore, all nodes need a common time base.
- The Data rate also depends on the synchronization.
- The synchronization of FlexRay is an internal synchronization algorithm
and is most likely the midpoint algorithm.
.
.
.Wissam Kafa | HIAST 20/26
Clock Synchronization
- The problem is divided into two aspects:
- Nodes have to compound on a common time (offset correction).
- Nodes have to adjust the time deviation between them (rate
correction).
- Each nodes communication controller has a local clock.
counts in micro-ticks.
- For example a FlexRay network with 10MBit/s scans the bus with
80MHz. One tick of the oscillator correspond 0.0124 us. A micro-tick is
typical twice this time.
- The synchronization of the offset, as well as the rate correction uses
micro-ticks as smallest time unit.
.
.
.Wissam Kafa | HIAST 21/26
7 Summary-Conclusion
• FlexRay focuses on a set of core needs for todays automotive indus-
try.
• Higher data rates than previous standards.
• very flexible network topology.
• fault-tolerant operation.
• FlexRay thus delivers the speed and reliability required for next-
generation in-car control systems.
.
.
.Wissam Kafa | HIAST 22/26
Summary-Conclusion
• The CAN network has reached its highest performance levels with
a maximum speed of 1 Mbps.
• With a maximum data rate of 10 Mbps available on two channels,
A gross data rate of up to 20Mbit/sec.
• Time and Event Triggered Protocol.
.
.
.Wissam Kafa | HIAST 23/26
Summary-Conclusion
Figure 8: Vehicle-Network-Standards
.
.
.Wissam Kafa | HIAST 24/26
Summary-Conclusion
Figure 9: Comparision (LIN, CAN, FlexRay)
.
.
.Wissam Kafa | HIAST 25/26
.
.
.
Thanks!

More Related Content

PPTX
FlexRay
RojaRamaniPradhan
 
PPT
LIN protocol description
sonu kumar suman
 
PDF
Lin protocol
Mario Alberto Rodriguez
 
PPTX
Overview of automotive network protocol
poojashinde212
 
PDF
Automotive bus technologies
Radwa Tarek
 
PPTX
UDS PPT
Raghu Nandhan
 
PPT
Role of CAN BUS in automotives
Yuga Aravind Kumar
 
LIN protocol description
sonu kumar suman
 
Overview of automotive network protocol
poojashinde212
 
Automotive bus technologies
Radwa Tarek
 
UDS PPT
Raghu Nandhan
 
Role of CAN BUS in automotives
Yuga Aravind Kumar
 

What's hot (20)

PDF
FlexRay
Greeshma S
 
PDF
The Basics of Automotive Ethernet Webinar Slidedeck
teledynelecroy
 
PPTX
What is AUTOSAR Communiation Stack
Embitel Technologies - A VOLKSWAGEN GROUP COMPANY
 
PDF
The Inevitable - Ethernet in Automotive
Simon Edelhaus
 
PPTX
Local Interconnect Network
Jabez Winston
 
PPTX
Controller Area Network(CAN)
Ashutosh Bhardwaj
 
ODP
Control Area Network
venkat thangella
 
PPT
CAN (Controller Area Network) Bus Protocol
Abhinaw Tiwari
 
PDF
Can Bus communication Protocol
Pedro Campana Cueto
 
PPTX
Controller Area Network (Basic Level Presentation)
Vikas Kumar
 
PDF
What is AUTOSAR Communication Stack (ComStack)?Get introduced to CAN ComStack
Embitel Technologies - A VOLKSWAGEN GROUP COMPANY
 
PPTX
AUTOSAR Memory Stcak (MemStack).
Embitel Technologies - A VOLKSWAGEN GROUP COMPANY
 
PDF
Can Protocol For Automobiles
Sofcon India Pvt Ltd.
 
PDF
Canbus presentation
Kurt von Ahnen
 
PDF
Embedded Systems in Automotive
محمدعبد الحى
 
PPTX
Can bus
Rucha Pupala
 
PDF
In‐Vehicle Networking: a Survey and Look Forward
RealTime-at-Work (RTaW)
 
PPTX
AUToSAR introduction
ELAbbasSalahHatata
 
PPTX
Comparison Between CAN and CAN FD
Embitel Technologies - A VOLKSWAGEN GROUP COMPANY
 
FlexRay
Greeshma S
 
The Basics of Automotive Ethernet Webinar Slidedeck
teledynelecroy
 
What is AUTOSAR Communiation Stack
Embitel Technologies - A VOLKSWAGEN GROUP COMPANY
 
The Inevitable - Ethernet in Automotive
Simon Edelhaus
 
Local Interconnect Network
Jabez Winston
 
Controller Area Network(CAN)
Ashutosh Bhardwaj
 
Control Area Network
venkat thangella
 
CAN (Controller Area Network) Bus Protocol
Abhinaw Tiwari
 
Can Bus communication Protocol
Pedro Campana Cueto
 
Controller Area Network (Basic Level Presentation)
Vikas Kumar
 
What is AUTOSAR Communication Stack (ComStack)?Get introduced to CAN ComStack
Embitel Technologies - A VOLKSWAGEN GROUP COMPANY
 
AUTOSAR Memory Stcak (MemStack).
Embitel Technologies - A VOLKSWAGEN GROUP COMPANY
 
Can Protocol For Automobiles
Sofcon India Pvt Ltd.
 
Canbus presentation
Kurt von Ahnen
 
Embedded Systems in Automotive
محمدعبد الحى
 
Can bus
Rucha Pupala
 
In‐Vehicle Networking: a Survey and Look Forward
RealTime-at-Work (RTaW)
 
AUToSAR introduction
ELAbbasSalahHatata
 
Comparison Between CAN and CAN FD
Embitel Technologies - A VOLKSWAGEN GROUP COMPANY
 
Ad

Viewers also liked (10)

PDF
Configuring the communication on FlexRay: the case of the static segment
Nicolas Navet
 
PPTX
Building ADAS system from scratch
Yury Gorbachev
 
PDF
RTL Presentation by Pr. John Connor
WinAkademy Soutien Scolaire
 
PDF
Flexray
Yinglai Yang
 
PPTX
flexray technology in modern cars
Amit Yerva
 
PPT
Altera Cyclone IV FPGA Customer Presentation
Altera Corporation
 
PDF
Advanced Driver Assistance System using FPGA
QuEST Global (erstwhile NeST Software)
 
PDF
FPGA Design with Python and MyHDL
Guy Eschemann
 
PDF
20 Inspiring Quotes From William Zinsser's "On Writing Well"
Glenn Leibowitz
 
PPTX
The Best Startup Investor Pitch Deck & How to Present to Angels & Venture Cap...
J. Skyler Fernandes
 
Configuring the communication on FlexRay: the case of the static segment
Nicolas Navet
 
Building ADAS system from scratch
Yury Gorbachev
 
RTL Presentation by Pr. John Connor
WinAkademy Soutien Scolaire
 
Flexray
Yinglai Yang
 
flexray technology in modern cars
Amit Yerva
 
Altera Cyclone IV FPGA Customer Presentation
Altera Corporation
 
Advanced Driver Assistance System using FPGA
QuEST Global (erstwhile NeST Software)
 
FPGA Design with Python and MyHDL
Guy Eschemann
 
20 Inspiring Quotes From William Zinsser's "On Writing Well"
Glenn Leibowitz
 
The Best Startup Investor Pitch Deck & How to Present to Angels & Venture Cap...
J. Skyler Fernandes
 
Ad

Similar to The flex ray protocol (20)

PDF
FlexRay.pdf
ssuser9756be1
 
PDF
CAN and TTP are the two wired network protocols used for distributed .pdf
ssuserc77a341
 
PPT
Topic2-Network_FlexRayCommBus_20111013.ppt
jacu123
 
PDF
venpo045-thesis-report
Rama Krishna Reddy
 
PDF
FlexRay Fault Tolerance article
Omar Jaradat
 
PPTX
An automotive survey
RavindraManuSrivatsa
 
PDF
New industrial networks in cars
Wissam Kafa
 
PDF
Vehicle Automation Using Controller Area Network
IRJET Journal
 
PDF
Automating the Configuration of the FlexRay Communication Cycle
Nicolas Navet
 
PDF
FlexRay Product Days RTaW
RealTime-at-Work (RTaW)
 
PPT
automtoive embedded flexray in embedded systems
dpitsystems22
 
PPT
Controller area network (CAN bus) ppt
Raziuddin Khazi
 
PDF
can bus theory solution
Md. Mashiur Rahman
 
PPTX
Controller Area Network (CAN) Different Types
FebinShaji9
 
PPT
CAN.ppt
DhiebYoussef
 
PPT
CONTROL AREA NETWORK FOR AUTOMOBILES.ppt
NAVEENSBASANDI
 
PPT
CANCANCANCANCANCANCANCANCANCANCANCANCANCAN
manirnaidu1
 
PPT
CAN bus basic_engineering_pptMulti-Master Architecture.ppt
ubalearchana6
 
PPT
Controlled Area Networks in embedded systems
GRAJESH27
 
PPT
CAN(controlled area network) presentation
1210YASHJADHAV
 
FlexRay.pdf
ssuser9756be1
 
CAN and TTP are the two wired network protocols used for distributed .pdf
ssuserc77a341
 
Topic2-Network_FlexRayCommBus_20111013.ppt
jacu123
 
venpo045-thesis-report
Rama Krishna Reddy
 
FlexRay Fault Tolerance article
Omar Jaradat
 
An automotive survey
RavindraManuSrivatsa
 
New industrial networks in cars
Wissam Kafa
 
Vehicle Automation Using Controller Area Network
IRJET Journal
 
Automating the Configuration of the FlexRay Communication Cycle
Nicolas Navet
 
FlexRay Product Days RTaW
RealTime-at-Work (RTaW)
 
automtoive embedded flexray in embedded systems
dpitsystems22
 
Controller area network (CAN bus) ppt
Raziuddin Khazi
 
can bus theory solution
Md. Mashiur Rahman
 
Controller Area Network (CAN) Different Types
FebinShaji9
 
CAN.ppt
DhiebYoussef
 
CONTROL AREA NETWORK FOR AUTOMOBILES.ppt
NAVEENSBASANDI
 
CANCANCANCANCANCANCANCANCANCANCANCANCANCAN
manirnaidu1
 
CAN bus basic_engineering_pptMulti-Master Architecture.ppt
ubalearchana6
 
Controlled Area Networks in embedded systems
GRAJESH27
 
CAN(controlled area network) presentation
1210YASHJADHAV
 

Recently uploaded (20)

PPTX
Have 10 Thousand Dollars Lying Around? You Can Buy Any One Of These Project Cars
jennifermiller8137
 
PPTX
RTM_Module1_Summary_tyiuwyPresentation.pptx
DeepakKumar311204
 
PPTX
PROPOSAL RESEARCH METHODOLOGY-1lssskkskes
IsaacAntwi15
 
PDF
NCHRP Report 672 Roundabouts: An Informational Guide
Forklift Trucks in Minnesota
 
PDF
TD-9H KOMATSU BULLDOZER PARTS MANUAL P045501-P046274
Heavy Equipment Manual
 
PPTX
LIGHT-HUMAN EYE AND THE COLOURFUL WORLD.ppt.pptx
atharvawafgaonkar
 
PPTX
Detroit Business Travel Made Easy with Detroit DTW Cars
Detroit DTW Car
 
PPTX
INTRODUCTION TO HUMAN RESOURCE MANAGEMEN
FahadBinImtiaz
 
PPTX
AIMS OBJECTIVES ajjsjsjsjejejejejejejejejj
IsaacAntwi15
 
PDF
Transform Your Lexus for the Trails with Expert Off-Road Customization Services
MW4 Outfitters
 
PPT
MTR VISIT By Indian Railway - Very Important.ppt
abheeplay
 
PPTX
What Makes A Car Brand Reliable? Check Out These Slides To Know More!
jennifermiller8137
 
PDF
SAA4D95LE-7A KOMATSU ENGINE PARTS MANUAL SN 800001-UP (For PC138US-11PC138USL...
Heavy Equipment Manual
 
PDF
PC170LC-11 Komatsu Hydraulic Excvator Parts Manual SN 35001-UP (For KAL)
Heavy Equipment Manual
 
PPTX
"Data Structures Essentials for Efficient Organization and Retrieval"
dhruvpatel5224
 
PPTX
Soffit_Panel_India_Presentation.pptx____
interviewquestion6
 
PDF
PC228USLC-3E0 Komatsu Hydraulic Excavator Parts Manual SN 40001-UP
Heavy Equipment Manual
 
PDF
PC170LC-11 Komatsu Hydraulic Excvator Parts Manual SN 35001-UP (For KAL)
Heavy Equipment Manual
 
PPTX
1.02 Ramesh Pinjani - Important Track Design Parameters.pptx
abheeplay
 
PPTX
Presentation1.pptxiiiiiiiiiiiiiiiiiiiiiiii
gillprabhjot1212
 
Have 10 Thousand Dollars Lying Around? You Can Buy Any One Of These Project Cars
jennifermiller8137
 
RTM_Module1_Summary_tyiuwyPresentation.pptx
DeepakKumar311204
 
PROPOSAL RESEARCH METHODOLOGY-1lssskkskes
IsaacAntwi15
 
NCHRP Report 672 Roundabouts: An Informational Guide
Forklift Trucks in Minnesota
 
TD-9H KOMATSU BULLDOZER PARTS MANUAL P045501-P046274
Heavy Equipment Manual
 
LIGHT-HUMAN EYE AND THE COLOURFUL WORLD.ppt.pptx
atharvawafgaonkar
 
Detroit Business Travel Made Easy with Detroit DTW Cars
Detroit DTW Car
 
INTRODUCTION TO HUMAN RESOURCE MANAGEMEN
FahadBinImtiaz
 
AIMS OBJECTIVES ajjsjsjsjejejejejejejejejj
IsaacAntwi15
 
Transform Your Lexus for the Trails with Expert Off-Road Customization Services
MW4 Outfitters
 
MTR VISIT By Indian Railway - Very Important.ppt
abheeplay
 
What Makes A Car Brand Reliable? Check Out These Slides To Know More!
jennifermiller8137
 
SAA4D95LE-7A KOMATSU ENGINE PARTS MANUAL SN 800001-UP (For PC138US-11PC138USL...
Heavy Equipment Manual
 
PC170LC-11 Komatsu Hydraulic Excvator Parts Manual SN 35001-UP (For KAL)
Heavy Equipment Manual
 
"Data Structures Essentials for Efficient Organization and Retrieval"
dhruvpatel5224
 
Soffit_Panel_India_Presentation.pptx____
interviewquestion6
 
PC228USLC-3E0 Komatsu Hydraulic Excavator Parts Manual SN 40001-UP
Heavy Equipment Manual
 
PC170LC-11 Komatsu Hydraulic Excvator Parts Manual SN 35001-UP (For KAL)
Heavy Equipment Manual
 
1.02 Ramesh Pinjani - Important Track Design Parameters.pptx
abheeplay
 
Presentation1.pptxiiiiiiiiiiiiiiiiiiiiiiii
gillprabhjot1212
 

The flex ray protocol

  • 1. . . . The FlexRay protocol Master Of Control Systems Wissam Kafa June 17, 2014
  • 2. Outline 1 Introduction 2 Why FlexRay? 3 Network Topology 4 Structure of a FlexRay Node 5 FlexRay configuration: Cycle Segments 6 Clock Synchronization 7 Summary-Conclusion . . .Wissam Kafa | HIAST 2/26
  • 3. 1 Introduction • FlexRay: A Communication Protocol in distributed systems within automotive context. • developed by the FlexRay consortium (BMW, DaimlerChrysler, Mo- torola, Philips) founded in 1999. • since 1999 many well-known companies joined (e.g. Bosch, GM, VW, Mazda, etc.) • aim: fast, flexible, fault-tolerant communication protocol. • FlexRay was used for the first time in BMW X5 model in 2007. . . .Wissam Kafa | HIAST 3/26
  • 4. 2 Why FlexRay? • X-by-wire Technique steer-by-wire, brake-by-wire,. . . • Hydraulic steering and braking is replaced by an electronic system of sensors and actuators. • Over years these new tasks have increased the requirements of the communication between control units. • CAN is not sufficient any more. Real-time capabilities are not supported because of bit arbitra- tion . . .Wissam Kafa | HIAST 4/26
  • 5. 3 Network Topology Figure 1: some possible FlexRay Network topologies (a) Passive bus. (b) Active star. (c) Hybrid topology . . .Wissam Kafa | HIAST 5/26
  • 6. Passive Bus Topology Figure 2: Passive Bus Topology A node can be connected to one or both channels A and B. . . .Wissam Kafa | HIAST 6/26
  • 7. Active Star Topology Figure 3: Active Star Topology - free of closed rings. - Received Signal is driven to all connected nodes. - A node could be connected to a maximum of two star couplers. . . .Wissam Kafa | HIAST 7/26
  • 8. Hybrid Topology Figure 4: Hybrid Topology . . .Wissam Kafa | HIAST 8/26
  • 9. 4 Structure of a FlexRay Node Figure 5: Structure of a FlexRay Node . . .Wissam Kafa | HIAST 9/26
  • 10. FlexRay Node: Host Controller - Processor to execute the main application. - It processes the received data. - Decides what to do, and what to be sent to the communication controller . . .Wissam Kafa | HIAST 10/26
  • 11. FlexRay Node: Communication Controller - Realizes all functions of the FlexRay pro- tocol. - Receives data that should be sent from the host controller. - Decides what to do, and what to be sent to the communication controller. - Handles the data according to the FlexRay protocol, and sends them to the bus driver . . .Wissam Kafa | HIAST 11/26
  • 12. FlexRay Node: Bus Guardian - Changes in the supply of a node could oc- cur. This could cause defects on the bus. - Important for the fault-tolerance of the FlexRay. - Bus guardian could prevent these defects. - It organizes sending the data on the bus. - It prevents the node from sending and re- ceiving outside its time slots. - It can Recognize synchronization and com- munication errors . . .Wissam Kafa | HIAST 12/26
  • 13. FlexRay Node: Bus Driver - Responsible for the connection between the FlexRay nodes and the bus. - Sends Data to the Bus. - Receives Data from the Bus. . . .Wissam Kafa | HIAST 13/26
  • 14. 5 FlexRay configuration: Cycle Segments Figure 6: FlexRay Cycle Segment . . .Wissam Kafa | HIAST 14/26
  • 15. FlexRay configuration: Cycle Segments - The communication on the bus passes in cycles. - Each cycle can be divided into three seg- ments: - Static segment. - Dynamic segmentand. - Symbol segment. - A cycle is terminated by a network idle time, the NIT. - A typical FlexRay cycle takes about 2.5ms. . . .Wissam Kafa | HIAST 15/26
  • 16. Cycle Segments: Static Segment - The static segment is time triggered. - It is divided into time slots, Each slot has: - A fixed length. - ID assigned to a specific control unit. - Hard real-time requirements possible by guaranteed latency. - No delays or collisions could occur. - A node can be allocated to more than one slot by clever distribution of slot IDs. - A Hard real-time application which should be realized in the static segment: - Explosion of the airbag. . . .Wissam Kafa | HIAST 16/26
  • 17. Cycle Segments: Dynamic Segment - For reacting flexibly on specific events. - Event triggered segment. - It is also divided into slots with IDs. -If the ID of the actual slot corresponds with the ID of the control unit, then the control unit is allowed to send data. - If a longer message has to be sent, the time slot of the next node shifts backwards. - An application for the dynamic segment: The control of the wipers depending on the rain sensor. . . .Wissam Kafa | HIAST 17/26
  • 18. Cycle Segments: The symbol segment - In the symbol segment: FlexRay sends internal control infor- mation (starting the network). . . .Wissam Kafa | HIAST 18/26
  • 19. Cycle Segments: NIT and Frames Figure 7: FlexRay-Frame - The Network Idle Time is used for the synchronization of the clocks. - Each slot corresponds to one frame. - A frame can contain up to 254 bytes of data. . . .Wissam Kafa | HIAST 19/26
  • 20. 6 Clock Synchronization - Large temperature differences, voltage changes and production tolerances have a negative influence on the accuracy of the clocks. - A regular synchronization, especially for real-time and time-critical applications is essential. - For correct Operation, each node has to know the start time, the end time and the number of the actual slots. - Therefore, all nodes need a common time base. - The Data rate also depends on the synchronization. - The synchronization of FlexRay is an internal synchronization algorithm and is most likely the midpoint algorithm. . . .Wissam Kafa | HIAST 20/26
  • 21. Clock Synchronization - The problem is divided into two aspects: - Nodes have to compound on a common time (offset correction). - Nodes have to adjust the time deviation between them (rate correction). - Each nodes communication controller has a local clock. counts in micro-ticks. - For example a FlexRay network with 10MBit/s scans the bus with 80MHz. One tick of the oscillator correspond 0.0124 us. A micro-tick is typical twice this time. - The synchronization of the offset, as well as the rate correction uses micro-ticks as smallest time unit. . . .Wissam Kafa | HIAST 21/26
  • 22. 7 Summary-Conclusion • FlexRay focuses on a set of core needs for todays automotive indus- try. • Higher data rates than previous standards. • very flexible network topology. • fault-tolerant operation. • FlexRay thus delivers the speed and reliability required for next- generation in-car control systems. . . .Wissam Kafa | HIAST 22/26
  • 23. Summary-Conclusion • The CAN network has reached its highest performance levels with a maximum speed of 1 Mbps. • With a maximum data rate of 10 Mbps available on two channels, A gross data rate of up to 20Mbit/sec. • Time and Event Triggered Protocol. . . .Wissam Kafa | HIAST 23/26
  • 25. Summary-Conclusion Figure 9: Comparision (LIN, CAN, FlexRay) . . .Wissam Kafa | HIAST 25/26