1.
2.
3.
4.
5.
6.
7.
FlexRay Automotive Communication Bus Overview
Publish Date: Aug 21, 2009 | 102 Ratings | out of 53.43
Overview
The FlexRay communications bus is a deterministic, fault-tolerant and high-speed bus system developed in conjunction with automobile manufacturers and leading suppliers. FlexRay delivers the
error tolerance and time-determinism performance requirements for x-by-wire applications (i.e. drive-by-wire, steer-by-wire, brake-by-wire, etc.). This article covers the basics FlexRay.
Table of Contents
Increasing Communications Demands
FlexRay Basics
FlexRay Topology and Layout
The FlexRay Protocol
FIBEX - The FlexRay network database
PCI and PXI FlexRay interfaces
Conclusion
1. Increasing Communications Demands
For automobiles to continue to improve safety, increase performance, reduce environmental impact, and enhance comfort, the speed, quantity and reliability of data
communicated between a car's electronic control units (ECU) must increase. Advanced control and safety systems--combining multiple sensors, actuators and electronic
control units--are beginning to require synchronization and performance past what the existing standard, Controller Area Network (CAN), can provide. Coupled with
growing bandwidth requirements with today's advanced vehicles utilize over five separate CAN busses, automotive engineers are demanding a next-generation,
embedded network. After years of partnership with OEMs, tool suppliers, and end users, the FlexRay standard has emerged as the in-vehicle communications bus to
meet these new challenges in the next generation of vehicles.
Adoption of a new networking standard in complex embedded designs like automobiles takes time. While FlexRay will be solving current high-end and future mainstream
in-vehicle network challenges, it will not displace the other two dominant in-vehicle standards, CAN, and LIN. In order to optimize cost and reduce transition challenges, the next generation of
automobiles will contain FlexRay for high-end applications, CAN for mainstream powertrain communications and LIN for low-cost body electronics.
Bus LIN CAN FlexRay
Speed 40 kbit/s 1 Mbit/s 10 Mbit/s
Cost $ $$ $$$
Wires 1 2 2 or 4
Typical Applications Body Electronics (Mirrors, Power Seats,
Accesories)
Powertrain (Engine, Transmission, ABS) High-Performance Powertrain, Safety
(Drive-by-wire, active suspension, adaptive
cruise control)
Understanding how FlexRay works is important to engineers across all aspects of the vehicle design and production process. This article will explain the core concepts of FlexRay.
2. FlexRay Basics
Many aspects of FlexRay are designed to keep costs down while delivering top performance in a rugged environment. FlexRay uses
cabling to connect nodes together. FlexRay supports single- and dual-channel configurations which consist of oneunshielded twisted pair
or two pairs of wires respectively. Differential signaling on each pair of wires reduces the effects of external noise on the network without
expensive shielding. Most FlexRay nodes typically also have power and ground wires available to power transceivers and microprocessors.
Dual-channel configurations offer enhanced fault-tolerance and/or increased bandwidth. Most first-generation FlexRay networks only utilize
one channel to keep wiring costs down, but as applications increase in complexity and safety requirements, future networks will use both
channels.
FlexRay buses require at the ends, in the form of a resistor connected between the pair of signal wires. Only the end nodes on a multi-drop bus need termination. Too much or too littletermination
termination can break a FlexRay network. While specific network implementations vary, typical FlexRay networks have a cabling impedance between 80 and 110 ohms, and the end nodes are
terminated to match this impedance. Termination is one of the most frequent causes of frustration when connecting a FlexRay node to a test setup. Modern PC-based FlexRay interfaces may contain
on-board termination resistors to simplify wiring.
3. FlexRay Topology and Layout
One of the things that distinguishes FlexRay, CAN and LIN from more traditional networks such as ethernet is its topology, or network layout. FlexRay supports simple multi-drop passive connections
as well as active star connections for more complex networks. Depending a vehicle's layout and level of FlexRay usage, selecting the right topology helps designers optimize cost, performance, and
reliability for a given design.
Multi-drop Bus
FlexRay is commonly used in a simple topology that features a single network cable run that connects multiple ECUsmulti-drop bus
together. This is the same topology used by CAN and LIN and is familiar to OEMs, making it a popular topology in first-generation FlexRay
vehicles. Each ECU can "branch" up to a small distance from the core "trunk" of the bus. The ends of the network have termination resistors
installed that eliminate problems with signal reflections. Because FlexRay operates at high frequencies, up to 10 Mbit/s compared to CAN's 1
Mbit, FlexRay designers much take care to correctly terminate and lay out networks to avoid signal integrity problems. The multi-drop format
also fits nicely with vehicle harnesses that commonly share a similar type of layout, simplifying installation and reducing wiring throughout the vehicle.
Star Network
The FlexRay standard supports "Star" configurations which consist of individual links that connect to a central active node. This node is functionally similar to a hub
found in PC ethernet networks. The active star configuration makes it possible to run FlexRay networks over longer distances or to segment the network in such a
way that makes it more reliable should a portion of the network fail. If one of the branches of the star is cut or shorted, the other legs continuing functioning. Since
long runs of wires tend to conduct more environmental noise such as electromagnetic emissions from large electric motors, using multiple legs reduces the amount
of exposed wire for a segment and can help increase noise immunity.
Hybrid Network
The bus and star topologies can be combined to form a topology. Future FlexRay networks will likely consist of hybrid networks tohybrid
take advantage of the ease-of-use and cost advantages of the bus topology while applying the performance and reliability of star networks
where needed in a vehicle.