当前位置:网站首页>Overview of FlexRay communication protocol
Overview of FlexRay communication protocol
2022-07-07 06:25:00 【AUTOSAR technical support and training】
List of articles
Portal ==>> AutoSAR Practical series 300 speak 「 candy Autosar」 General catalogue
In order to meet the endless communication needs of improving vehicle performance , Various agreements already exist .FlexRay It is such a next-generation general high-speed protocol that provides security critical features . Combined multiple sensors 、 The actuator and electronic control unit need to be synchronized to provide high-end performance . Controller area network ( CAN ) Unable to meet the growing demand for bandwidth in today's advanced vehicles . In order to meet these next generation challenges of these advanced vehicles ,FlexRay The agreement has proved to be of great significance in the world of rapid development of Automotive Technology .
FlexRay The communication protocol is a registered trademark of DaimlerChrysler Corporation .FlexRay The full use of is made by FlexRay Alliance in 2008 , launched in , The alliance will promote FlexRay It is standardized as the next generation vehicle communication protocol .FlexRay Designed to meet drive by wire ( Start by wire 、 Brake by wire ) And advanced equipment auxiliary system ( The engine 、 transmission ) Designed for the needs and challenges of .
1 FlexRay Network structure
FlexRay Use unshielded twisted pair to connect nodes . Their cable impedance is about 80-110 ohm , It needs to be terminated at the end node . It's like CAN equally , A resistor is connected between the pair of signal lines to achieve this .

The differential signal on each pair of cables can reduce the impact of external noise on the network , Without expensive shielding . It supports single channel and dual channel configurations , It consists of one or two pairs of lines . Dual channel configuration provides enhanced fault tolerance and increased bandwidth .
2 FlexRay Characteristics
reliable .
Hurry up .
Redundant .
the height is 10 Mbps High data rate .
Flexible configuration .
Multiple topology options .
Fault tolerance .
Event and time trigger .
Dual channel system .
Can be “n” The nodes make up .
Deal with various frameworks .
They tolerate mistakes .
Collision free access .
Ensure message delay .
Fixed communication delay .
all ECU Global synchronization time .
Static and dynamic segments .
Bandwidth ratio CAN high 20 times .
Time division multiple access (TDMA) Manage multiple nodes .
application :
- Electric power steering .( Steer by wire ).
- Advanced driving assistance system .
- powertrain .
- Body control module .
- Battery management system .
- Anti lock braking system .
- Vehicle stability control (VSC).
- Vehicle stability assist (VSA).
3 FlexRay Network topology
FlexRay One of its significant advantages is that it can be arranged inside the vehicle according to the layout of the vehicle . It provides a topology similar to Ethernet , For example, the bus ( Multipoint passive )、 Stars ( Active power ) Connection or connection of these two topologies , be called FlexRay Hybrid topology of the network . This helps designers improve the performance of a given vehicle system design 、 Reliability and optimized cost .
3.1 Multipoint bus FlexRay The Internet

- Commonly used .
- One network cable connects multiple ECU.
- There can only be one at a time ECU transmitted .
- End to end to eliminate signal reflection .
3.2 star FlexRay The Internet

- Each link is connected to the central active node .
- They are used for more extended networks .
- If a node fails , It will not affect other nodes .
- Reducing the number of bare wires helps to improve the anti noise ability .
3.3 blend FlexRay The Internet

- It is composed of bus and star topology .
- Provide the best of the two topologies .
- Cost effective 、 Reliable and easy to use .
**FlexRay Protocol communication cycle :** Fixed in network design ( Usually keep at 1-5ms about ). It consists of four main parts , be called :

- Static segment : Time slot reserved for deterministic data , Arrive in a fixed period .
- Dynamic segment : Adapt to various signals , It will not slow down because of too many static slots FlexRay cycle . It allows the occasional transfer of data .
- Symbol window : Involve network maintenance and identify unique cycles , Such as cold start cycle .
- Network idle time : It is used to maintain synchronization between node clocks by adjusting any drift that may occur in the previous cycle . It always consists of ECU Predefined as a known length .
4 FlexRay Message frame format
For any static or dynamic segment , Each slot consists of a FlexRay The frame of , The frame is divided into three basic parts , As shown below :

4.1 HEADER


4.2 Payload

It contains the actual data that needs to be transmitted by the message frame . Its length is 0 To 254 Bytes .( yes CAN Of 30 times ).
Message-ID( Optional ): this ID Define using the first two bytes of the payload segment . It can be used as filterable data at the receiving end .
NW vector ( Optional ): The length of the network management vector must be 0 To 12 Bytes , And it is common to all nodes .
4.3 Trailer

It contains three hardware specified 8 position CRC value , Used to detect errors by changing the seed value on the connection channel to prevent incorrect connections .
4.4 Data security and error handling
FlexRay The network provides scalable fault tolerance . The option of allowing single channel and dual channel communication makes it more secure . Using these two channels to connect devices on the bus can improve security . Bandwidth can be increased by using two channels to transmit non redundant data .
FlexRay The protocol uses bus protection mechanism to promote rapid error detection in the physical layer 、 Signaling and error control , This mechanism protects the channel from interference caused by communication inconsistent with the cluster communication scheduling .
5 CAN and FlexRay The difference between

For each embodiment ,FlexRay The design of the network may be different . Before joining the bus , Each node must be programmed with the correct network parameters , To achieve normal operation .FlexRay The Committee standardized the storage and transmission format of these parameters in the process of Engineering , To maintain the network configuration between nodes . Fieldbus exchange format or FIBEX File is ASAM The standard of definition , Allow network designers 、 Prototype designer 、 Verifiers and testers can easily share network parameters , And quickly configure ECU、 Test tools, hardware in the loop simulation system, etc .
边栏推荐
- 微信小程序隐藏video标签的进度条组件
- tkinter窗口选择pcd文件并显示点云(open3d)
- 进程间通信之共享内存
- Audio distortion analysis of DSP and DAC based on adau1452
- Redisl garbled code and expiration time configuration
- 屏幕程序用串口无法调试情况
- ICML 2022 | explore the best architecture and training method of language model
- 基本Dos命令
- 牛客小白月赛52 E.分组求对数和(二分&容斥)
- Peripheral driver library development notes 43: GPIO simulation SPI driver
猜你喜欢

安装VMmare时候提示hyper-v / device defender 侧通道安全性

JMeter function assistant - random value, random string, fixed value random extraction

How to set up in touch designer 2022 to solve the problem that leap motion is not recognized?

Haqi projection Black Horse posture, avec seulement six mois de forte pénétration du marché des projecteurs de 1000 yuans!

Bypass open_ basedir

Ant manor safety helmet 7.8 ant manor answer

Open the blue screen after VMware installation

VMware安装后打开就蓝屏

How to keep accounts of expenses in life

jmeter 函数助手 — — 随机值、随机字符串、 固定值随机提取
随机推荐
jvm命令之 jcmd:多功能命令行
外设驱动库开发笔记43:GPIO模拟SPI驱动
JVM命令之 jstat:查看JVM統計信息
面试中有哪些经典的数据库问题?
Laravel uses Tencent cloud cos5 full tutorial
From "running distractor" to data platform, Master Lu started the road of evolution
拼多多败诉:“砍价免费拿”侵犯知情权但不构成欺诈,被判赔400元
[Shell]常用shell命令及测试判断语句总结
Common problems of caching in high concurrency scenarios
Software testing knowledge reserve: how much do you know about the basic knowledge of "login security"?
laravel 使用腾讯云 COS5全教程
string(讲解)
Solve pod install error: FFI is an incompatible architecture
ST表预处理时的数组证明
How to solve sqlstate[hy000]: General error: 1364 field 'xxxxx' doesn't have a default value error
Haqi projection Black Horse posture, avec seulement six mois de forte pénétration du marché des projecteurs de 1000 yuans!
CloudCompare-点对选取
哈趣投影黑馬之姿,僅用半年强勢突圍千元投影儀市場!
Redis(一)——初识Redis
3531. Huffman tree