FlexRay: High-speed communications in the automotive industry

In recent years, modern vehicle requirements have increased significantly as automotive technologies have evolved. Advanced driver assistance systems (ADAS), active suspension, autonomous driving and complex safety systems require high-speed, secure and robust communication networks. FlexRay, a network protocol developed specifically for these needs, offers higher speeds and reduced latency compared to traditional networks such as CAN and LIN.

This detailed article will explore in depth what is FlexRay, how it works, its advantages and disadvantages, and its practical applications in modern vehicles. We will also discuss technical data and present real-world case studies to provide a comprehensive understanding of this technology.


1. What is FlexRay?

FlexRay is a vehicle communications protocol developed to meet modern requirements for reliability, speed and resistance to electromagnetic interference. Developed in collaboration by BMW, Daimler, Bosch, NXP and other major automotive companies, FlexRay provides a deterministic communication platform ideal for critical systems in high-performance vehicles.

Key features of FlexRay:

  • High transfer speedFlexRay supports transfer speeds of up to 10 Mbps, much faster than the 1 Mbps offered by CAN.
  • Deterministic communication: FlexRay ensures that messages are delivered at pre-determined intervals, which is crucial for mission-critical applications that require precise synchronisation.
  • Flexible topologyFlexRay supports multiple topologies, including bus, ring and star, providing increased flexibility in designing vehicle networks.
  • Redundant channelFlexRay uses two redundant communication channels to ensure high reliability. If one channel fails, communication can continue on the other.

2. How does FlexRay work?

FlexRay architecture:

FlexRay works based on an architecture time-triggered (time-triggered) and event-triggered (event-triggered). This combination allows some messages to be transmitted at regular intervals, while others are transmitted when triggered by a particular event. This makes FlexRay ideal for systems where precise timing and low latency are essential.

Key components of FlexRay:

  1. FlexRay node: Each ECU connected to the FlexRay network is equipped with a FlexRay node, which contains a transceiver to receive and transmit data.
  2. Static segment: This segment of the network is used for time-triggered messages, which need to be transmitted at regular intervals.
  3. The dynamic segment: This segment is intended for event-triggered messages, which are sent as needed, but without strict deterministic priority.

Dual-channel communication:

FlexRay uses two communication channels (A and B), which can operate in parallel or separately. This allows either redundant transmission for increased reliability or simultaneous use of both channels to double the data transfer capacity.

Practical exampleIn an electronic power steering system, critical steering wheel angle information is transmitted through both FlexRay channels to ensure that the vehicle always receives this vital data, even if one channel is compromised.

Questions for further questions:

  1. Why is deterministic communication important in FlexRay?
    • Deterministic communication ensures critical data is transmitted at precise intervals, which is essential for real-time applications such as traction and stability control systems.
  2. What is the difference between static and dynamic segments in FlexRay?
    • The static segment is used for time-triggered messages that need to be transmitted at regular intervals, while the dynamic segment is used for messages that are transmitted event-driven.

3. FlexRay Technical Data

Key technical features:

  • Transfer speed10 Mbps per channel.
  • Number of channels2 redundant channels (A and B), which can operate in parallel for double capacity or separately for redundancy.
  • Supported topologies: bus, ring and star.
  • Maximum number of nodesUp to 64 nodes (ECUs) can be connected in a single FlexRay network.
  • Maximum cable lengthApproximately 24 metres per channel, depending on vehicle configuration.

4. Advantages and Disadvantages of FlexRay

Advantage:

  1. High speed: With a transfer rate of 10 Mbps, FlexRay is 10 times faster than CAN, making it ideal for mission-critical applications that require fast and efficient communication.
  2. Determinism: FlexRay guarantees predictable transmission times, which is essential for systems where latency is not allowed, such as engine control and active suspension.
  3. Redundancy: Dual channels ensure that in the event of an error on one channel, the other can take over communication, ensuring continuity of operations.
  4. ScalabilityFlexRay can accommodate a large number of ECUs, making it suitable for complex vehicles and advanced vehicle architectures.

Disadvantages:

  1. Higher costs: Deploying a FlexRay network is more expensive than CAN or LIN networks due to its greater complexity and the need for additional hardware.
  2. Increased complexityFlexRay requires a more complex setup and more careful maintenance, which can make it more difficult to integrate into less advanced vehicles.
  3. The need for redundancy: While redundancy is an advantage in terms of reliability, it significantly increases cabling and design requirements.

5. Practical applications of FlexRay

Case study 1: Active suspension system

In luxury vehicles, such as those from BMW and Mercedes-Benz, FlexRay is used to control the car's active suspension. Suspension ECUs communicate with each other and with the central ECU via FlexRay, exchanging data about road conditions and vehicle manoeuvres in real time. This allows the dampers and suspension to be quickly adjusted to provide optimum comfort and stability, whatever the road conditions.

Advantages in this case:

  • Quick reactionFlexRay: FlexRay allows immediate adjustments, ensuring the suspension responds quickly to changing road surfaces.
  • Precise synchronisation: The suspension on each wheel can be adjusted simultaneously thanks to the synchronised communication provided by FlexRay.

Case study 2: Autonomous driving

FlexRay plays a crucial role in autonomous vehicles. In these vehicles, the ECUs that control the sensors (LiDAR, radar, cameras) need to communicate quickly and error-free with the ECUs that manage steering, braking and acceleration. FlexRay enables these critical systems to operate without delay, providing minimal latency and maximum reliability.

Advantages in this case:

  • High reliability: Redundant channels ensure constant communication between ECUs even in the event of an error.
en_GBEN