SlideShare ist ein Scribd-Unternehmen logo
1 von 26
Downloaden Sie, um offline zu lesen
.
.
.
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!

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

The Basics of Automotive Ethernet Webinar Slidedeck
The Basics of Automotive Ethernet Webinar SlidedeckThe Basics of Automotive Ethernet Webinar Slidedeck
The Basics of Automotive Ethernet Webinar Slidedeck
 
Can bus
Can busCan bus
Can bus
 
What is AUTOSAR Communiation Stack
What is AUTOSAR Communiation StackWhat is AUTOSAR Communiation Stack
What is AUTOSAR Communiation Stack
 
Controller area network (CAN bus) ppt
Controller area network (CAN bus) pptController area network (CAN bus) ppt
Controller area network (CAN bus) ppt
 
Lin protocol
Lin protocolLin protocol
Lin protocol
 
Communication protocols - Embedded Systems
Communication protocols - Embedded SystemsCommunication protocols - Embedded Systems
Communication protocols - Embedded Systems
 
Overview of automotive network protocol
Overview of automotive network protocolOverview of automotive network protocol
Overview of automotive network protocol
 
CAN Bus
CAN BusCAN Bus
CAN Bus
 
Controller Area Network(CAN)
Controller Area Network(CAN)Controller Area Network(CAN)
Controller Area Network(CAN)
 
Vehicle To Vehicle Communication System
Vehicle To Vehicle Communication SystemVehicle To Vehicle Communication System
Vehicle To Vehicle Communication System
 
Control Area Network
Control Area NetworkControl Area Network
Control Area Network
 
Controller Area Network (CAN) Protocol || Automotive Electronics || Hariharan K
Controller Area Network (CAN) Protocol || Automotive Electronics || Hariharan KController Area Network (CAN) Protocol || Automotive Electronics || Hariharan K
Controller Area Network (CAN) Protocol || Automotive Electronics || Hariharan K
 
Ethernet protocol
Ethernet protocolEthernet protocol
Ethernet protocol
 
The Inevitable - Ethernet in Automotive
The Inevitable - Ethernet in AutomotiveThe Inevitable - Ethernet in Automotive
The Inevitable - Ethernet in Automotive
 
Can Protocol For Automobiles
Can Protocol For AutomobilesCan Protocol For Automobiles
Can Protocol For Automobiles
 
Most Media Oriented System Transport
Most Media Oriented System TransportMost Media Oriented System Transport
Most Media Oriented System Transport
 
Can overview
Can overviewCan overview
Can overview
 
Controller area network protocol
Controller area network protocolController area network protocol
Controller area network protocol
 
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
 
Vehicle to vehicle communication
Vehicle to vehicle communicationVehicle to vehicle communication
Vehicle to vehicle communication
 

Andere mochten auch

Andere mochten auch (10)

Configuring the communication on FlexRay: the case of the static segment
Configuring the communication on FlexRay: the case of the static segmentConfiguring the communication on FlexRay: the case of the static segment
Configuring the communication on FlexRay: the case of the static segment
 
Building ADAS system from scratch
Building ADAS system from scratchBuilding ADAS system from scratch
Building ADAS system from scratch
 
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
 
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
 
FPGA Design with Python and MyHDL
FPGA Design with Python and MyHDLFPGA Design with Python and MyHDL
FPGA Design with Python and MyHDL
 
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 The flex ray protocol

Voltaire ufm en_nov10
Voltaire ufm en_nov10Voltaire ufm en_nov10
Voltaire ufm en_nov10
sciecomp
 

Ähnlich wie The flex ray protocol (20)

Voltaire ufm en_nov10
Voltaire ufm en_nov10Voltaire ufm en_nov10
Voltaire ufm en_nov10
 
Tổng quan công nghệ Net backup - Phần 2
Tổng quan công nghệ Net backup - Phần 2Tổng quan công nghệ Net backup - Phần 2
Tổng quan công nghệ Net backup - Phần 2
 
VANETS Vehicular Adhoc NETworkS
VANETS Vehicular Adhoc NETworkSVANETS Vehicular Adhoc NETworkS
VANETS Vehicular Adhoc NETworkS
 
Sesar swim master class best in class 2014 overview of the submissions
Sesar swim master class best in class 2014 overview of the submissionsSesar swim master class best in class 2014 overview of the submissions
Sesar swim master class best in class 2014 overview of the submissions
 
IoT Harbour solutions & smart ports by Vertical M2M with CommonSense IoT Plat...
IoT Harbour solutions & smart ports by Vertical M2M with CommonSense IoT Plat...IoT Harbour solutions & smart ports by Vertical M2M with CommonSense IoT Plat...
IoT Harbour solutions & smart ports by Vertical M2M with CommonSense IoT Plat...
 
5G Enabled Vehicular Networks
5G Enabled Vehicular Networks5G Enabled Vehicular Networks
5G Enabled Vehicular Networks
 
Comtech advanced backhaul_solutions-rio_nov_2012
Comtech advanced backhaul_solutions-rio_nov_2012Comtech advanced backhaul_solutions-rio_nov_2012
Comtech advanced backhaul_solutions-rio_nov_2012
 
OpenPOWER Webinar
OpenPOWER Webinar OpenPOWER Webinar
OpenPOWER Webinar
 
z/VM Performance Analysis
z/VM Performance Analysisz/VM Performance Analysis
z/VM Performance Analysis
 
Network time protocol
Network time protocolNetwork time protocol
Network time protocol
 
The new imperative in the data center with workload centric networking
The new imperative in the data center with workload centric networkingThe new imperative in the data center with workload centric networking
The new imperative in the data center with workload centric networking
 
Understand LPWA tetchnologies (Sigfox and LoRa)
Understand LPWA tetchnologies (Sigfox and LoRa)Understand LPWA tetchnologies (Sigfox and LoRa)
Understand LPWA tetchnologies (Sigfox and LoRa)
 
Urban traffic management system assignment 2
Urban traffic management system assignment 2Urban traffic management system assignment 2
Urban traffic management system assignment 2
 
Do We Really Need TSN in Next-Generation Helicopters? Insights From a Case-Study
Do We Really Need TSN in Next-Generation Helicopters? Insights From a Case-StudyDo We Really Need TSN in Next-Generation Helicopters? Insights From a Case-Study
Do We Really Need TSN in Next-Generation Helicopters? Insights From a Case-Study
 
New industrial networks in cars
New industrial networks in cars New industrial networks in cars
New industrial networks in cars
 
111ei0254ppt8thsem
111ei0254ppt8thsem111ei0254ppt8thsem
111ei0254ppt8thsem
 
Data center network reference architecture with hpe flex fabric
Data center network reference architecture with hpe flex fabricData center network reference architecture with hpe flex fabric
Data center network reference architecture with hpe flex fabric
 
DB2 Data Sharing Performance
DB2 Data Sharing PerformanceDB2 Data Sharing Performance
DB2 Data Sharing Performance
 
Vision one-customer
Vision one-customerVision one-customer
Vision one-customer
 
BGP FlowSpec experience and future developments
BGP FlowSpec experience and future developmentsBGP FlowSpec experience and future developments
BGP FlowSpec experience and future developments
 

Kürzlich hochgeladen

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN ABUDHABI,DUBAI MA...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN ABUDHABI,DUBAI MA...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN ABUDHABI,DUBAI MA...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN ABUDHABI,DUBAI MA...
Health
 
Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...
nirzagarg
 
+97470301568>>buy vape oil,thc oil weed,hash and cannabis oil in qatar doha}}
+97470301568>>buy vape oil,thc oil weed,hash and cannabis oil in qatar doha}}+97470301568>>buy vape oil,thc oil weed,hash and cannabis oil in qatar doha}}
+97470301568>>buy vape oil,thc oil weed,hash and cannabis oil in qatar doha}}
Health
 
一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理
一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理
一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理
ezgenuh
 
如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一
如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一
如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一
opyff
 
如何办理(NCL毕业证书)纽卡斯尔大学毕业证毕业证成绩单原版一比一
如何办理(NCL毕业证书)纽卡斯尔大学毕业证毕业证成绩单原版一比一如何办理(NCL毕业证书)纽卡斯尔大学毕业证毕业证成绩单原版一比一
如何办理(NCL毕业证书)纽卡斯尔大学毕业证毕业证成绩单原版一比一
avy6anjnd
 
如何办理(Waterloo毕业证书)滑铁卢大学毕业证毕业证成绩单原版一比一
如何办理(Waterloo毕业证书)滑铁卢大学毕业证毕业证成绩单原版一比一如何办理(Waterloo毕业证书)滑铁卢大学毕业证毕业证成绩单原版一比一
如何办理(Waterloo毕业证书)滑铁卢大学毕业证毕业证成绩单原版一比一
avy6anjnd
 
Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...
gajnagarg
 
Illustrative History and Influence of Board Games - Thesis.pptx
Illustrative History and Influence of Board Games - Thesis.pptxIllustrative History and Influence of Board Games - Thesis.pptx
Illustrative History and Influence of Board Games - Thesis.pptx
HenriSandoval
 
Abortion pills Dubai (+918133066128) Cytotec 200mg pills UAE Abudhabi
Abortion pills Dubai (+918133066128) Cytotec 200mg pills UAE AbudhabiAbortion pills Dubai (+918133066128) Cytotec 200mg pills UAE Abudhabi
Abortion pills Dubai (+918133066128) Cytotec 200mg pills UAE Abudhabi
Abortion pills in Kuwait Cytotec pills in Kuwait
 
如何办理莱斯大学毕业证(Rice毕业证)毕业证成绩单原版一比一
如何办理莱斯大学毕业证(Rice毕业证)毕业证成绩单原版一比一如何办理莱斯大学毕业证(Rice毕业证)毕业证成绩单原版一比一
如何办理莱斯大学毕业证(Rice毕业证)毕业证成绩单原版一比一
avy6anjnd
 

Kürzlich hochgeladen (20)

JOHN DEERE 7200R 7215R 7230R 7260R 7280R TECHNICAL SERVICE PDF MANUAL 2680PGS...
JOHN DEERE 7200R 7215R 7230R 7260R 7280R TECHNICAL SERVICE PDF MANUAL 2680PGS...JOHN DEERE 7200R 7215R 7230R 7260R 7280R TECHNICAL SERVICE PDF MANUAL 2680PGS...
JOHN DEERE 7200R 7215R 7230R 7260R 7280R TECHNICAL SERVICE PDF MANUAL 2680PGS...
 
Why Does My Porsche Cayenne's Exhaust Sound So Loud
Why Does My Porsche Cayenne's Exhaust Sound So LoudWhy Does My Porsche Cayenne's Exhaust Sound So Loud
Why Does My Porsche Cayenne's Exhaust Sound So Loud
 
Is Your BMW PDC Malfunctioning Discover How to Easily Reset It
Is Your BMW PDC Malfunctioning Discover How to Easily Reset ItIs Your BMW PDC Malfunctioning Discover How to Easily Reset It
Is Your BMW PDC Malfunctioning Discover How to Easily Reset It
 
What Does It Mean When Mercedes Says 'ESP Inoperative See Owner's Manual'
What Does It Mean When Mercedes Says 'ESP Inoperative See Owner's Manual'What Does It Mean When Mercedes Says 'ESP Inoperative See Owner's Manual'
What Does It Mean When Mercedes Says 'ESP Inoperative See Owner's Manual'
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN ABUDHABI,DUBAI MA...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN ABUDHABI,DUBAI MA...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN ABUDHABI,DUBAI MA...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN ABUDHABI,DUBAI MA...
 
Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...
 
Housewife Call Girl in Faridabad ₹7.5k Pick Up & Drop With Cash Payment #8168...
Housewife Call Girl in Faridabad ₹7.5k Pick Up & Drop With Cash Payment #8168...Housewife Call Girl in Faridabad ₹7.5k Pick Up & Drop With Cash Payment #8168...
Housewife Call Girl in Faridabad ₹7.5k Pick Up & Drop With Cash Payment #8168...
 
Effortless Driving Experience Premier Mercedes Sprinter Suspension Service
Effortless Driving Experience Premier Mercedes Sprinter Suspension ServiceEffortless Driving Experience Premier Mercedes Sprinter Suspension Service
Effortless Driving Experience Premier Mercedes Sprinter Suspension Service
 
+97470301568>>buy vape oil,thc oil weed,hash and cannabis oil in qatar doha}}
+97470301568>>buy vape oil,thc oil weed,hash and cannabis oil in qatar doha}}+97470301568>>buy vape oil,thc oil weed,hash and cannabis oil in qatar doha}}
+97470301568>>buy vape oil,thc oil weed,hash and cannabis oil in qatar doha}}
 
一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理
一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理
一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理
 
West Bengal Factories Rules, 1958.bfpptx
West Bengal Factories Rules, 1958.bfpptxWest Bengal Factories Rules, 1958.bfpptx
West Bengal Factories Rules, 1958.bfpptx
 
如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一
如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一
如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一
 
如何办理(NCL毕业证书)纽卡斯尔大学毕业证毕业证成绩单原版一比一
如何办理(NCL毕业证书)纽卡斯尔大学毕业证毕业证成绩单原版一比一如何办理(NCL毕业证书)纽卡斯尔大学毕业证毕业证成绩单原版一比一
如何办理(NCL毕业证书)纽卡斯尔大学毕业证毕业证成绩单原版一比一
 
如何办理(Waterloo毕业证书)滑铁卢大学毕业证毕业证成绩单原版一比一
如何办理(Waterloo毕业证书)滑铁卢大学毕业证毕业证成绩单原版一比一如何办理(Waterloo毕业证书)滑铁卢大学毕业证毕业证成绩单原版一比一
如何办理(Waterloo毕业证书)滑铁卢大学毕业证毕业证成绩单原版一比一
 
Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...
 
Illustrative History and Influence of Board Games - Thesis.pptx
Illustrative History and Influence of Board Games - Thesis.pptxIllustrative History and Influence of Board Games - Thesis.pptx
Illustrative History and Influence of Board Games - Thesis.pptx
 
Abortion pills Dubai (+918133066128) Cytotec 200mg pills UAE Abudhabi
Abortion pills Dubai (+918133066128) Cytotec 200mg pills UAE AbudhabiAbortion pills Dubai (+918133066128) Cytotec 200mg pills UAE Abudhabi
Abortion pills Dubai (+918133066128) Cytotec 200mg pills UAE Abudhabi
 
如何办理莱斯大学毕业证(Rice毕业证)毕业证成绩单原版一比一
如何办理莱斯大学毕业证(Rice毕业证)毕业证成绩单原版一比一如何办理莱斯大学毕业证(Rice毕业证)毕业证成绩单原版一比一
如何办理莱斯大学毕业证(Rice毕业证)毕业证成绩单原版一比一
 
T.L.E 5S's (Seiri, Seiton, Seiso, Seiketsu, Shitsuke).pptx
T.L.E 5S's (Seiri, Seiton, Seiso, Seiketsu, Shitsuke).pptxT.L.E 5S's (Seiri, Seiton, Seiso, Seiketsu, Shitsuke).pptx
T.L.E 5S's (Seiri, Seiton, Seiso, Seiketsu, Shitsuke).pptx
 
Seamless Driving Experience Premier Mini Cooper Clutch Solutions
Seamless Driving Experience Premier Mini Cooper Clutch SolutionsSeamless Driving Experience Premier Mini Cooper Clutch Solutions
Seamless Driving Experience Premier Mini Cooper Clutch Solutions
 

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