FlexRay

On this page 7

FlexRay is a deterministic, time-triggered serial bus for in-vehicle communication that transfers data at up to 10 Mbit/s per channel over two redundant channels. In vehicle software, it connects electronic control units that must exchange data at exactly predictable times, such as active suspension, stability control and steering systems.

FlexRay was developed in the 2000s by an industry consortium of automakers and semiconductor suppliers and is standardized as ISO 17458. In electric vehicles and modern combustion cars, it sits between the low-cost CAN bus and high-bandwidth Automotive Ethernet, and it is gradually being replaced by Ethernet-based zonal architectures.

How FlexRay schedules communication

FlexRay divides time into repeating communication cycles, typically lasting 1 to 5 ms. Each cycle has a static segment, a dynamic segment, an optional symbol window and a period of network idle time used for clock correction. All nodes share a global time base, so every frame is sent in a slot that was assigned during network design.

In the static segment, FlexRay uses time division multiple access (TDMA): each slot belongs to one node, and no arbitration is needed. In the dynamic segment, it uses flexible TDMA with minislots, where nodes with event-driven messages transmit in priority order only when they have data. The following table summarizes the cycle structure.

SegmentAccess methodTypical use
Static segmentFixed TDMA slotsPeriodic control signals
Dynamic segmentMinislot-based priority accessEvent-driven or diagnostic data
Symbol windowSpecial symbolsWake-up and media testing
Network idle timeNo transmissionClock offset and rate correction
Structure of a FlexRay communication cycle

Because slot timing is fixed, the latency and jitter of a static message are known at design time. This property, called determinism, is the main reason engineers choose FlexRay over event-triggered buses.

Key FlexRay parameters and frame format

A FlexRay frame consists of a 5-byte header, a payload of up to 254 bytes and a 24-bit CRC trailer. The header carries the slot identifier, payload length, a header CRC and a cycle counter that runs from 0 to 63, which allows a signal to be sent only in selected cycles to save bandwidth.

The table below lists the parameters that most often appear in network design and diagnostics.

ParameterTypical value or rangeWhat it affects
Bit rateUp to 10 Mbit/s per channelBandwidth per channel
ChannelsOne or two (A and B)Redundancy or added capacity
Payload0 to 254 bytesSignals per frame
Cycle lengthAbout 1 to 5 ms, maximum 16 msControl loop update rate
Cycle counter0 to 63Slot multiplexing
Static slotsUp to about 1,000Number of periodic messages
Main FlexRay parameters

Timing is expressed in macroticks, the network-wide time unit, and microticks, derived from each node’s local oscillator. Designated sync frames from several nodes let every controller compute fault-tolerant clock corrections, so no single master clock is required.

Topologies and fault tolerance

FlexRay supports passive bus, active star and hybrid topologies on twisted-pair wiring. An active star coupler isolates faulty branches, which improves signal integrity at 10 Mbit/s and prevents one shorted cable from disabling the whole network.

With two independent channels, the same frame can be transmitted on both, so a single wiring fault does not interrupt a safety function. Alternatively, the channels can carry different data to double the usable bandwidth. An optional bus guardian blocks a node that tries to transmit outside its slot, a failure mode called uncontrolled babbling that would otherwise corrupt other nodes’ traffic.

FlexRay compared with other in-vehicle networks

FlexRay occupies a niche between low-cost and high-bandwidth networks. The following comparison shows why architects pick each technology.

NetworkTypical bit rateAccess methodTypical role
LIN busUp to 20 kbit/sSingle master pollingSeats, mirrors, sensors
CAN busUp to 1 Mbit/sPriority arbitrationPowertrain and body control
CAN FDAbout 2 to 8 Mbit/s data phasePriority arbitrationHigher-volume control data
FlexRay10 Mbit/s per channelTime-triggered TDMAChassis and safety control
Automotive Ethernet100 Mbit/s to multi-gigabitSwitched, with time-sensitive extensionsBackbone, cameras, zonal links
FlexRay and related vehicle networks

The decisive difference from CAN is that CAN latency depends on bus load, whereas FlexRay static latency does not. Automotive Ethernet with time-sensitive networking now offers comparable determinism at much higher bandwidth, which explains the shift away from FlexRay.

Practical use, limitations and outlook

FlexRay entered series production in the mid-2000s in adaptive damping systems and later spread to chassis domain controllers, driver assistance sensor fusion and some x-by-wire prototypes. In the AUTOSAR software architecture, FlexRay communication is handled by dedicated interface and transport modules configured from the network schedule.

  • Design complexity is high: the schedule must be fixed in advance, and adding a new message often requires a network-wide update.
  • Cost per node exceeds CAN because of dedicated controllers and transceivers.
  • Bandwidth of 10 Mbit/s is insufficient for camera and radar raw data.
  • Supplier support has narrowed since the consortium ended its work and handed the specification to ISO.

Many existing platforms still use FlexRay, so diagnostics and over-the-air updates must continue to support it for the life of those vehicles. New electric vehicle platforms, however, generally favor CAN FD for local control and Automotive Ethernet backbones.

A non-technical view

A car contains dozens of small computers that constantly talk to each other. FlexRay is one way of connecting them, designed for the conversations that must never be late.

It works like a strict meeting schedule in which each participant has a reserved moment to speak, so nobody interrupts anyone else. Because every message arrives exactly on time, systems such as suspension and stability control can react smoothly. Two separate wires carry the same messages, so one broken cable does not stop the conversation.

A concrete example

An engineering team designs the chassis network of a premium electric SUV with adaptive air suspension. The suspension controller, four wheel-level damper units, the stability control unit and a central chassis computer must exchange body motion and wheel data every 2.5 ms.

The team builds a FlexRay network with an active star and assigns each controller fixed static slots on both channels for redundancy. Wheel acceleration data travel in every cycle, while slower values such as calibration status are sent only every fourth cycle using the cycle counter. Diagnostic requests go into the dynamic segment.

In validation, the measured latency of every damper command stays within its planned slot timing even when diagnostic traffic peaks. During a test with one channel deliberately disconnected, the suspension continues to operate normally, confirming the dual-channel fault tolerance.