Analysis of automotive Ethernet protocol testing of TSN network

Mondo Technology Updated on 2024-02-29

TSN is a technology that extends from the field of audio data to the industrial field and the automotive field. TSN was originally used in the field of audio, when the technology was called B, because of the need for high bandwidth and maximum real-time for the audio network, with the help of B, it can better transmit high-quality sound.

In 2012, the Task Force expanded the application requirements and scope of time-deterministic Ethernet in its charter, and at the same time changed the name of the task force to the current TSN Task Force. TSN is a next-generation network standard based on Ethernet that ensures real-time performance such as time synchronization and latency assurance.

Relative to other deterministic network technologies, such as working in 1Layer 5 flexible Ethernet (Flexe) and Layer 3 deterministic network (DETNET), TSN mainly solves the problem of deterministic assurance of Layer 2 network, realizes zero congestion and packet loss transmission through a series of protocol standards, provides low latency and jitter with upper bound guarantee, and provides deterministic transmission guarantee for delay-sensitive traffic.

TSN is IEEE802 compliant1Q standard VLAN, inserts a 4-byte VLAN tag into a standard Ethernet frame. TSN defines different priority protocol levels for flows based on PCP (Priority Code Point) and VID (VLAN ID) in the VLAN Tag.

tag protocol identifier: 16 bits in length, the tag protocol identifies the TSN network, and the value is 0x8100

Priority code point: 3-bit length, priority**, identity traffic priority, 3-bit PCP defines 8 priorities.

Drop Eligible Indicator: 1-bit in length, discards ID bits, can be set for data with low QoS requirements, and can be discarded when the network is congested to ensure QoS for high-priority data.

VLAN Identifier (VID): 12-bit length and the identification number of the VLAN network. vid=0 is used to identify the frame priority, vid=fff is used as a reservation, and the remaining values are used to identify the VLAN.

In order to achieve deterministic transmission in the LAN, Time-Sensitive Network (TSN) implements a precise network time synchronization mechanism, a flow scheduling mechanism for process shaping, classification, and different priority traffic, as well as an end-to-end, in-network switch configuration mechanism to provide services such as reserved bandwidth for time-sensitive data.

Compared with standard Ethernet, the biggest feature of TSN is that it can ensure the determinism of data exchange, after determining the period of time-sensitive data flow (called scheduled traffic) transmission in advance, and the size of the data transmitted in each cycle, as long as the data sender sends the data according to the agreement, TSN can guarantee that the data will be exchanged to the receiver at a certain time.

Bigtao chassis

V2-1G-8M-TSN test board

The test module independently developed by Xinertai meets the TSN test standard, supporting 10 100 1000M RJ45 self-negotiation (electrical interface) and 100 1000M SFP (optical interface); Based on FPGA's 100% line-rate traffic generation, statistics and capture functions, and with the BigTao6200 220 chassis, it can stress test the performance of TSN switches such as RFC2544, RFC2889, and RFC3918, and also supports TSN protocol family 8021AS, Q**, QBV, QBU, CB and other protocol test suites. The TSN tester board can provide TSN protocol test solutions for automotive Ethernet and industrial Ethernet.

Faith and TaitSN Network Test Solution:

The network tester provides a comprehensive TSN protocol set test suite, which can complete the configuration of each protocol in one stop through an efficient and convenient configuration wizard, and at the same time, with professional and detailed statistical attempts, you can intuitively observe the operation status of each TSN protocol and the message interaction process. It supports the testing of TSN switches and TSN chips from major manufacturers such as Dongtu, Wuxin, Hongke, Hebei Far East, etc., as well as on-board terminal module testing of Dalian Neusoft, CRRC and other manufacturers.

Below with 8021QBV test as an example:

Test the topology

Tester configuration

Set up filters.

Set up filters to receive statistics.

Configure a gated list.

Click "Add" to add the corresponding number of gating entries, and set the gating rules and support period for each gating entries. (The gating rules are the same as the DUT).

Add a filter index.

It is recommended that you add all filters to each entry to observe whether there are any data drop point errors.

Start the AS clock.

Set the base time.

Start the QBV stream.

See the results.

Related Pages