Lecture 8 - FlexRay - Event-Driven and Time-Driven Communication
Lecture 8 - FlexRay - Event-Driven and Time-Driven Communication
2
History
• The FlexRay Consortium was founded in 2000 by Daimler Crysler and BMW which
joined with Motorola and Philips to develop a new deterministic and fault tolerant
communication standard
• Version 3.0.1 of the FlexRay specification was published in 2010 and work on the ISO
standardization began
• ISO 17458 (published in 2013) currently provides the FlexRay specification
3
Communication characteristics
4
Passive network topologies
Node 2 Node 3
• Line topology
Node 1 Node 4
5
Active network topologies
Node 1 Node 2 Node 3 Node 4
6
FlexRay OSI layers
• The FlexRay specification covers the Data link and physical layers of the OSI model
• A FlexRay node is consists of an ECU that is connected to the communication line
through a FlexRay controller and two FlexRay transceivers (channel redundancy)
• The controller handles the Data link layer of the FlexRay protocol
• The transceivers is responsible with the physical signalling on the bus
7
FlexRay bus
8
Bus access principle
9
Communication cycle
• A communication cycle must consist of at least two time segments:
static segment and network idle time (NIT)
• Optional segments: dynamic segment and symbol window
13
(FlexRay specification 3.0.1)
Dynamic segment
14
(FlexRay specification 3.0.1)
Dynamic slot
17
(FlexRay specification 3.0.1)
FlexRay frame - Header
18
FlexRay frame – Payload and Trailer
• All messages in the static segment have the same payload size
• A message sent in the static segment can use the first 12 bytes in the
payload to send the Network Management Vector
• The trailer CRC sequence is computed over the header and payload
20
(FlexRay specification 3.0.1)
FlexRay synchronization
• Synchronization required to assure reliable FlexRay communication
• Communication cycles and slots must begin at the designated time
and should always have the same length
• FlexRay nodes regularly correct their local clocks :
• Phase or offset correction
• Frequency or rate correction
21
(FlexRay specification 3.0.1)