FlexRay

FlexRay

FlexRay is a new automotive network communications protocol under development by the [http://www.flexray.com FlexRay Consortium] . It is positioned above CAN and MOST in terms of both performance and price.

Features

FlexRay's prominent features are:
* high data rates (10 megabits per second)
* time- and event triggered behavior
* redundancy and fault-tolerance

The protocol specifications are in review stage. The first production vehicle with FlexRay was the 2007 BMW X5, though it was only used for the pneumatic damping system. Full use of FlexRay is expected in 2008, with the introduction of the BMW X6, the world's first production vehicle to fully utilize the FlexRay system.

The FlexRay Consortium is made up of the following core members:
* BMW
* Volkswagen
* Daimler AG
* General Motors
* Robert Bosch GmbH
* NXP Semiconductors
* Freescale, formerly part of Motorola

There are also Premium Associate and Associate members of FlexRay consortium. As of November 2007, there were 24 premium associate members and more than 70 associate members. Current membership rolls are listed on the organization website.

Details

Clock

FlexRay system consists of a bus and processors (electronic control units, or ECUs).Each ECU has an independent clock. The clock drift must be no more than 0.15% from the reference clock,so the difference between the slowest and the fastest clock in the system is no greater than 0.3%.

This means that, if ECU-s is a sender and ECU-r is a receiver, then for every 300 cycles of the senderthere will be between 299 and 301 cycles of the receiver. The clocks are resynchronized frequently enoughto assure that this causes no problems.

Bits on the bus

000000111111110000
000000001111111100
Correct averaging in case of no errors. The signal is merely delayed by 2 cycles.

000000111101110000
000000001111111100
Errors near the middle of 8-cycle region are canceled.

00010111111110000
00000011111111100
Errors near the boundary of 8-cycle region may affect the boundary bit.

At each time, only one ECU writes to the bus. Each bit to be sent is held on the bus for 8 sample clock cycles.The receiver keeps a buffer of the last 5 samples, and uses the majority of the last 5 samples as the input signal.

Single-cycle transmission errors may affect results near the boundary of the bits, but will not affect cycles in the middle of the 8-cycle region.

Sampled bits

The value of the bit is sampled in the middle of the 8-bit region .The errors are moved to the extreme cycles, and the clock is synchronized frequently enough for the drift to be small. (Drift is smaller than 1 cycle per 300 cycles, and during transmission the clock is synchronized more than once every 300 cycles).

Frame

All the communication is sent in the form of frames. The message consists of bytes {x_0, x_1, dots, x_{m-1}}, packed in the following way:
* Transmission Start Signal (TSS) - bit 0
* Frame Start Signal (FSS) - bit 1
* m times:
** Byte Start Signal 0 (BSS0) - bit 1
** Byte Start Signal 1 (BSS1) - bit 0
** 0-th bit of i-th byte
** 1-st bit of i-th byte
** 2-nd bit of i-th byte
** ...
** 7-th bit of i-th byte
* Frame End Signal (FES) - bit 0
* Transmission End Signal (TES) - bit 1

If nothing is being communicated, the bus is held in state 1 (high voltage), so every receiver knows that the communication started when the voltage drops to 0.

The receiver knows when the message is complete by checking whether BSS0 (1) or FES (0) was received.

Note that 8-cycle per bit has nothing to do with bytes. Each byte takes 80 cycles to transfer. 16 for BSS0 and BSS1 and 64 for its bits.Also note that BSS0 has value 1, and BSS1 has value 0.

Clock synchronization

Clocks are resynchronized when the voted signal changes from 1 to 0, if the receiver was in either idle state or expecting BSS1.

So the clock is synchronized when the transmission starts and between BSS0 and BSS1.As synchronization is done on the voted signal, small transmission errors during synchronization that affect the boundary bits may skew the synchronization no more than 1 cycle. As there are at most 88 cycles between synchronization (BSS1, 8 bits of the last byte, FES and TES - 11 bits of 8 cycles each), and the clock drift is no larger than 1 per 300 cycles, the drift may skew the clock no more than 1 cycle. Small transmission errors during the receiving may affect only the boundary bits. So in the worst case the two middle bits are correct, and thus the sampled value is correct.

Here's an example of a particularly bad case - error during synchronization, a lost cycle due to clock drift and error in transmission.

Errors that happened in the example
* Because of a single-bit error during synchronization, the synchronization was delayed by 1 cycle
* Receiver clock was slower than sender clock, so receiver missed one cycle (marked X). This will not happen again before the next synchronization due to limits on maximum allowable clock drift.
* Because of a single-bit error during transmission, a bit was voted wrongly near the result.Despite so many errors, the communication was received correctly.

The green cells are sampling points. All except the first are synchronized by the 1->0 edge in the transmission fragment shown.

Signal to be sent10101
Signal sent1 1 1 1 1 1 1 10 0 0 0 0 0 0 01 1 1 1 1 1 1 10 0 0 0 0 0 0 011

On the bus1 1 1 1 1 1 1 10 1 0 0 0 0 0 01 1 1 1 1 1 1 10 0 0 0 0 0 1 011

Received1 1 1 1 1 1 1 10 1 0 0 0 0 0 01 1 1 1 1 1 X 10 0 0 0 0 0 1 011

5-maj voted1 1 1 1 1 1 1 1 10 0 0 0 0 0 0 11 1 1 X 1 1 1 0 00 0 0 0 0 1


See also

* Controller Area Network (CAN) - widely used for on-board diagnostics
* Local Interconnect Network (LIN) - lower cost and lower bandwidth than CAN

External links

* [http://www.flexray.com FlexRay] FlexRay Consortium
* [https://forums.tm.agilent.com/phpbb2/index.php?c=19&sid=06ec72f1d7598d3c169d521ccb3fc203 FlexRay Discussion Forum] Agilent Network Testing Discussion Forum


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • FlexRay — ist ein serielles, deterministisches und fehlertolerantes Feldbussystem für den Einsatz im Automobil, vergleichbar mit TTP. Das FlexRay Konsortium wurde 2000 von den Unternehmen BMW, Daimler AG, Motorola und Philips gegründet. Von 2001 bis 2004… …   Deutsch Wikipedia

  • Flexray — Logo FlexRay ist ein serielles, deterministisches und fehlertolerantes Feldbussystem für den Einsatz im Automobil, vergleichbar mit TTP oder EC Net. Das FlexRay Konsortium wurde 2000 von den Unternehmen BMW, Daimler AG, Motorola und …   Deutsch Wikipedia

  • Flexray — est un système de communication par bus. Standardisé par un consortium regroupant des constructeurs automobiles (BMW, Daimler, Volkswagen, General Motors), des équipementiers automobiles (Robert Bosch GmbH, Delphi, ...) et des fondeurs de… …   Wikipédia en Français

  • FlexRay — Saltar a navegación, búsqueda FlexRay es un nuevo protocolo de comunicaciones para buses de datos en el automóvil actualmente en desarrollo por el consorcio FlexRay. Se considera más avanzado que el CAN y el MOST en lo relativo al precio y a las… …   Wikipedia Español

  • FlexRay — est un système de communication par bus. Standardisé par un consortium regroupant des constructeurs automobiles (BMW, Daimler, Volkswagen, General Motors), des équipementiers automobiles (Robert Bosch GmbH, Delphi, ...) et des fondeurs de… …   Wikipédia en Français

  • FlexRay — В этой статье не хватает ссылок на источники информации. Информация должна быть проверяема, иначе она может быть поставлена под сомнение и удалена. Вы можете о …   Википедия

  • Vector Informatik — Vector Gruppe Rechtsform Muttergesellschaft:GmbH Gründung 1. April 1988 Sitz …   Deutsch Wikipedia

  • 3Soft — Elektrobit Group Oyj Unternehmensform Aktiengesellschaft Gründung 1985 Unternehmenssitz …   Deutsch Wikipedia

  • Decomsys — Elektrobit Group Oyj Unternehmensform Aktiengesellschaft Gründung 1985 Unternehmenssitz …   Deutsch Wikipedia

  • Elektrobit Group — Oyj Unternehmensform Aktiengesellschaft Gründung 1985 Unternehmenssitz …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”