| Literature DB >> 35746369 |
Feng Luo1, Bowen Wang1, Zhenyu Yang1, Ping Zhang1, Yifei Ma1, Zihao Fang1, Mingzhi Wu2, Zhipeng Sun2.
Abstract
Advances in automotive technology require networks to support a variety of communication requirements, such as reliability, real-time performance, low jitter, and strict delay limits. Time-Sensitive Network (TSN) is a keyframe transmission delay-guaranteed solution based on the IEEE 802 architecture of the automotive Ethernet. However, most of the existing studies on automotive TSN performance are based on a single mechanism, lacking a complete and systematic research tool. At the same time, the design method should be considered from a global perspective when designing an automotive TSN system, rather than only considering a single mechanism that TSN applies to. This paper discusses the correspondence between traffic types and automotive scenarios and proposes a methodology to target the delay constraint of traffic types as the design goal of automotive TSN networks. To study the performance of automotive TSN under different mechanisms such as time-aware shaper (TAS), credit-based shaper (CBS), cyclic queuing and forwarding (CQF), etc., this paper also develops a systematic automotive TSN simulation system based on OMNeT++. The simulation system plays a crucial role in the whole methodology, including all applicable TSN standards for the automotive field. Lastly, a complex automotive scenario based on zonal architecture provided by a major motor company in Shanghai is analyzed in the simulated system; verifying TSN can guarantee real-time performance and reliability of the in-vehicle network.Entities:
Keywords: OMNeT++; automotive Ethernet; communications simulation; time-sensitive network; traffic scheduling
Year: 2022 PMID: 35746369 PMCID: PMC9229697 DOI: 10.3390/s22124580
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.847
Development status of TSN standards.
| Standard | Name | Status | Application Field | |||
|---|---|---|---|---|---|---|
| AV 1 | AI 2 | IA 3 | MF 4 | |||
| IEEE 802.1Qav-2009 [ | Forwarding and Queuing Enhancements for Time-Sensitive Streams | Published | √ | √ | √ | |
| IEEE 802.1Qca-2015 [ | Path Control and Reservation | Published | √ | |||
| IEEE 802.1Qbv-2015 [ | Enhancements for Scheduled Traffic | Published | √ | √ | ||
| IEEE 802.1Qbu-2016 [ | Frame Preemption | Published | √ | √ | √ | √ |
| IEEE 802.1Qch-2017 [ | Cyclic Queuing and Forwarding | Published | √ | √ | √ | |
| IEEE 802.1Qci-2017 [ | Per-Stream Filtering and Policing | Published | √ | √ | √ | |
| IEEE 802.1CB-2017 [ | Frame Replication and Elimination for Reliability | Published | √ | √ | √ | |
| IEEE 802.1Q-2018 [ | Bridges and Bridged Networks | Published | √ | √ | √ | |
| IEEE 802.1CM-2018 [ | Time-Sensitive Networking for Fronthaul | Published | √ | |||
| IEEE 802.1Qcc-2018 [ | Stream Reservation Protocol (SRP) Enhancements and Performance Improvements | Published | √ | √ | ||
| IEEE 802.1Qcp-2018 [ | YANG Data Model | Published | √ | √ | ||
| IEEE 802.1AS-2020 [ | Timing and Synchronization for Time-Sensitive Applications | Published | √ | √ | √ | |
| IEEE 802.1Qcr-2020 [ | Asynchronous Traffic Shaping | Published | √ | √ | ||
| IEEE 802.1CS-2020 [ | Link-local Registration Protocol | Published | √ | √ | ||
| IEEE 802.1DG [ | Time-Sensitive Networking Profile for Automotive In-Vehicle Ethernet Communications | Drafted | √ | |||
1 AV: audio video. 2 AI: automotive industry. 3 IA: industry automation. 4 MF: mobile fronthaul.
TSN features implemented by each simulation environment.
| TSN Features | OMNeT++ | OPNET | |||
|---|---|---|---|---|---|
| NeSTiNg [ | CoRE4INET [ | TSimNet | H. Baniabdelghany et al. [ | M. Pahlevan et al. [ | |
| Credit-based Shaper | √ | ||||
| Stream Reservation Protocol | √ | √ | |||
| Time-aware Shaper | √ | √ | √ | ||
| Frame Preemption | √ | √ | |||
| Per-Stream Filtering and Policing | √ | √ | |||
| Cyclic Queuing and Forwarding | |||||
| Asynchronous Traffic Shaping | |||||
| Frame Replication and Elimination for Reliability | √ | √ | |||
| Source Code Availability | Available | Available | Not Available | Not Available | Not Available |
Traffic characteristics of the in-vehicle network.
| Characteristics | Description |
|---|---|
| Transmission Pattern | In-vehicle traffic can be sent according to events or cycles |
| Transmission Period | The transmission period represents the data transmission interval planned by the application layer |
| End-to-end Delay | Indicates the time taken by the traffic from the sender to the receiver, and the maximum end-to-end delay is the maximum value of all end-to-end delays of the traffic |
| Tolerance to Loss | Tolerance to loss indicates the application’s tolerance for continuous packet loss in the network transmission of the traffic |
| Criticality | The criticality is expressed as the degree of impact that may be caused by not guaranteeing the real-time performance of the traffic, which can be divided into three categories: high, medium, and low. |
Correspondence between traffic types and automotive scenarios.
| Traffic Class | PCP | Priority | Automotive Scenarios |
|---|---|---|---|
| TC8 | 7 | Highest | Safety-related control signals, such as engine signals, brake signals, turn signals, Advanced Driving Assistance System (ADAS) control signals, etc. |
| TC7 | 6 | Safety-related media signals, such as environmental perception sensor signals: millimeter-wave radar, lidar, ultrasonic radar, cameras, ADAS fusion data, real-time map download, positioning signals, etc. | |
| TC6 | 5 | Reserved | |
| TC5 | 4 | Network management signals, such as Precision Time Protocol (PTP) synchronization messages, network redundancy signals, network diagnostic signals, etc. | |
| TC4 | 3 | Vehicle to Everything (V2X) related events, warnings, alarm signals, dynamic network configuration signals, etc. | |
| TC3 | 2 | Non-safety-related control signals, such as lighting control, air conditioning control, door and window control, infotainment system control, etc., and vehicle status sensor signals: fuel battery consumption, water temperature, tire pressure signal, etc. | |
| TC2 | 1 | Non-safety-related media signals, such as audio and video signals of audio-visual entertainment systems, low-speed camera signals: reversing cameras, 360-degree surround-view cameras, head-up display signals (HUD), etc. | |
| TC1 | 0 | Lowest | Firmware Over the air technology (OTA) and software OTA, including offline map download, etc., cloud logging, uploading, diagnostic and configuration signals, and other Internet data access |
Figure 1The methodology for the design of automotive TSN networks.
Figure 2Framework of the software-based emulation platform.
Figure 3TSN topology in the simulation platform.
Design table of traffic priority and redundancy.
| Domain | Traffic type | Traffic Class | Zone | Transmission Path |
|---|---|---|---|---|
| ADAS | Safety-related media signals | 6 | Front left | Lidar/camera -> Zonal Controller1 -> Central Controller1 -> Remote Controller1 |
| Front right | Radar/camera -> Zonal Controller2 -> Central Controller2 * -> Central Controller1 -> Remote Controller1 | |||
| Rear | Radar/camera -> Zonal Controller3 -> Central Controller3 * -> Central Controller1 -> Remote Controller1 | |||
| Chassis | Safety-related control signals: brake signals | 7 | Front left | Central Controller1 -> Zonal Controller1 -> Brake Motor1 |
| Front right | Central Controller1 * -> Central Controller2 -> Zonal Controller2 -> Brake Motor2 | |||
| Rear | Central Controller1 * -> Central Controller3 -> Zonal Controller3 -> Brake Motor3 | |||
| Infotainment | video | 1 | Front right | Video->Zonal Controller2 -> Central Controller2 -> Central Controller3 -> Remote Controller3 |
| 3D stereo surround music | 1 | Front left | Remote Controller3 -> Central Controller3 -> Central Controller1 -> Zonal Controller1 -> Audio1 | |
| Front right | Remote Controller3 -> Central Controller3 -> Central Controller2 -> Zonal Controller2 -> Audio2 | |||
| Rear | Remote Controller3->Central Controller3->Zonal Controller3->Audio3 | |||
| Body | Non-safety-related control signals: door and window signals | 2 | Front left | Central Controller2 -> Central Controller1 -> Zonal Controller1 -> Window1 |
| Front right | Central Controller2 -> Zonal Controller2 -> Window2 | |||
| Rear | Central Controller2 -> Central Controller3 -> Zonal Controller3 -> Window3 |
* Applying redundant operation.
Whole traffic characteristics in this TSN network.
| Traffic Type | Source | Destination | Priority | VLANID | Size (Bytes) | Start Time | Transmission Interval (μs) | Redundancy | Bandwidth (Mbps) |
|---|---|---|---|---|---|---|---|---|---|
| Lidar | Lidar | VCC1 | 6 | 1 | 1500 | 0 µs | 100 | No | 121.8 |
| Camera | Camera1 | VCC1 | 6 | 2 | 490 | 15 µs | 100 | No | 41 |
| Millimeter-wave radar | Radar1 | VCC1 | 6 | 6 | 42 | 20 µs | 1000 | Yes | 0.5 |
| Camera | Camera2 | VCC1 | 6 | 7 | 490 | 22 µs | 100 | Yes | 41 |
| Millimeter-wave radar | Radar2 | VCC1 | 6 | 12 | 42 | 25 µs | 1000 | Yes | 0.5 |
| Camera | Camera3 | VCC1 | 6 | 13 | 490 | 27 µs | 100 | Yes | 41 |
| Camera | Camera4 | VCC1 | 6 | 14 | 490 | 31 µs | 100 | Yes | 41 |
| Brake | VCC1 | Brake_Act1 | 7 | 3 | 42 | 0 µs | 100 | No | 5.1 |
| Brake | VCC1 | Brake_Act2 | 7 | 8 | 42 | 2 µs | 100 | Yes | 5.1 |
| Brake | VCC1 | Brake_Act3 | 7 | 15 | 42 | 4 µs | 100 | Yes | 5.1 |
| Audio | VCC3 | Audio1 | 4 | 4 | 234 | 0 µs | 100–200 | No | 10.2 |
| Audio | VCC3 | Audio2 | 4 | 9 | 234 | 5 µs | 100–200 | No | 10.2 |
| Audio | VCC3 | Audio3 | 4 | 16 | 234 | 10 µs | 100–200 | No | 10.2 |
| Video | Video | VCC3 | 4 | 10 | 1500 | 0 µs | 100–200 | No | 60.9 |
| Window | VCC2 | Win_Act1 | 3 | 5 | 42 | 50 µs | 100–200 | No | 2.6–5.1 |
| Window | VCC2 | Win_Act2 | 3 | 11 | 42 | 55 µs | 100–200 | No | 2.6–5.1 |
| Window | VCC2 | Win_Act3 | 3 | 17 | 42 | 60 µs | 100–200 | No | 2.6–5.1 |
End-to-end delay of each traffic.
| Traffic | Priority | Mean 1 (μs) | Min 1 (μs) | Max 1 (μs) | Jitter 1 (μs) | Max 2 (μs) | Jitter 2 (μs) | Max 3 (μs) | Jitter 3 (μs) | Differ 4 (μs) |
|---|---|---|---|---|---|---|---|---|---|---|
| Audio1 | 4 | 16.78 | 16.75 | 18.62 | 1.87 | 84.93 | 68.18 | 86.01 | 69.26 | 67.39 |
| Audio2 | 4 | 16.95 | 16.75 | 21.33 | 4.58 | 85.86 | 69.11 | 85.86 | 69.11 | 64.53 |
| Audio3 | 4 | 11.92 | 11.89 | 13.96 | 2.07 | 79.87 | 67.99 | 79.87 | 67.99 | 65.91 |
| Brake_Act1 | 7 | 7.30 | 7.28 | 9.45 | 2.17 | 7.28 | 0.00 | 7.28 | 0.00 | −2.17 |
| Brake_Act2 | 7 | 10.62 | 10.60 | 12.78 | 2.17 | 10.60 | 0.00 | 10.60 | 0.00 | −2.18 |
| Brake_Act3 | 7 | 14.37 | 13.93 | 26.25 | 12.32 | 13.93 | 0.00 | 10.60 | 0.00 | −15.65 |
| Lidar | 6 | 59.19 | 57.26 | 61.49 | 4.23 | 59.95 | 0.67 | 59.28 | 0.00 | −2.21 |
| Camera1 | 6 | 48.60 | 46.52 | 50.77 | 4.26 | 49.20 | 0.67 | 48.53 | 0.00 | −2.24 |
| Radar1 | 6 | 11.03 | 10.60 | 22.93 | 12.32 | 10.60 | 0.00 | 10.60 | 0.00 | −12.33 |
| Camera2 | 6 | 26.31 | 24.94 | 43.77 | 18.83 | 24.94 | 0.00 | 24.94 | 0.00 | −18.83 |
| Radar2 | 6 | 22.12 | 17.26 | 22.69 | 5.43 | 22.61 | 0.00 | 13.93 | 0.00 | −8.76 |
| Camera3 | 6 | 41.05 | 40.79 | 43.03 | 2.24 | 41.46 | 0.67 | 40.79 | 0.00 | −2.24 |
| Camera4 | 6 | 41.31 | 41.04 | 43.28 | 2.24 | 41.72 | 0.67 | 41.04 | 0.00 | −2.24 |
| Video | 4 | 57.36 | 57.26 | 61.47 | 4.21 | 125.34 | 68.08 | 125.34 | 68.08 | 63.87 |
| Win_Act1 | 3 | 10.97 | 10.60 | 16.23 | 5.62 | 82.35 | 71.74 | 83.37 | 72.76 | 67.14 |
| Win_Act2 | 3 | 7.31 | 7.28 | 9.39 | 2.12 | 76.15 | 68.87 | 76.15 | 68.87 | 66.76 |
| Win_Act3 | 3 | 11.24 | 10.60 | 23.56 | 12.96 | 89.12 | 78.52 | 89.12 | 78.52 | 65.56 |
1 End-to-end delay without scheduling and without redundancy. 2 End-to-end delay with scheduling and without redundancy. 3 End-to-end delay with scheduling and with redundancy. 4 Difference between Max 3 and Max 1.
Time delay requirements of each traffic class.
| Traffic Class | Priority | Periodicity | Transmission Period | End-to-End Delay | Tolerance to Loss | Criticality |
|---|---|---|---|---|---|---|
| TC8 | Highest | Periodic/Sporadic | ≤20 ms | ≤100 μs/5 hops | No | High |
| TC7 | Periodic | ≤10 ms | ≤100 μs/5 hops | No | High | |
| TC6 | reserved | / | / | / | / | / |
| TC5 | Periodic | 50 ms–1 s | / | Yes | High | |
| TC4 | Sporadic | / | ≤10 ms | Yes | Medium | |
| TC3 | Periodic/Sporadic | ≤200 ms | ≤50 ms | Yes | Medium | |
| TC2 | Periodic | Depends on sensors | ≤300 ms | Yes | Medium | |
| TC1 | Lowest | Sporadic | / | / | Yes | Low |
Figure 4Maximum end-to-end delay of each traffic with different situations.
Figure 5Jitter of each traffic with different situations.
Figure 6End-to-end delay of brake control traffic (a) without scheduling and without redundancy; (b) with scheduling and without redundancy; (c) with scheduling and with redundancy.