Railway and Aerospace Protocols — Ch.10: TT Ethernet [EN]
本文为原文前 6,000 字符的节选翻译,完整内容请查看原文。
STATERA Library · Series 07 · Volume 08 · Chapter 10 · EN Source: https://github.com/Statera-Library/07_Vol_08_Railway_and_Aerospace_Protocols/blob/main/Chapter_10_TT_Ethernet/Chapter_10_TT_Ethernet_EN.md Volume 08. Railway and Aerospace Protocols Chapter 10. TT-Ethernet 10.01. IEEE 802.1Qbv (TAS)
STATERA 库 · 系列 07 · 卷 08 · 第 10 章 · EN 来源:https://github.com/Statera-Library/07_Vol_08_Railway_and_Aerospace_Protocols/blob/main/Chapter_10_TT_Ethernet/Chapter_10_TT_Ethernet_EN.md 第 08 卷。铁路与航空航天协议 第 10 章。TT-Ethernet 10.01. IEEE 802.1Qbv (TAS)
IEEE 802.1Qbv Time-Aware Shaper (TAS) is a Time-Sensitive Networking (TSN) mechanism designed to provide deterministic Ethernet communication by controlling when Ethernet frames are allowed to transmit. Instead of allowing traffic to compete continuously for access to an Ethernet link, TAS divides communication time into precisely defined transmission windows. Each traffic class is associated with a gate that opens or closes according to a repeating time schedule. This transforms a conventional Ethernet switch from a best-effort forwarding device into a network element capable of enforcing predictable transmission timing.
IEEE 802.1Qbv 时间感知整形器 (TAS) 是一种时间敏感网络 (TSN) 机制,旨在通过控制以太网帧的允许传输时间来提供确定性的以太网通信。TAS 不再允许流量持续竞争以太网链路的访问权,而是将通信时间划分为精确定义的传输窗口。每个流量类别都关联一个根据重复时间表开启或关闭的门。这使得传统的以太网交换机从一种尽力而为的转发设备,转变为能够强制执行可预测传输时序的网络元件。
The fundamental concept of TAS is the Time-Aware Gate Control List (GCL). A GCL specifies the sequence of gate states and the duration for which each state remains active. During a particular time interval, the gate for a high-priority traffic class may be opened while other gates remain closed. During another interval, a different class may be permitted to transmit. Because every participating network device follows a synchronized schedule, traffic can be assigned deterministic transmission opportunities. This approach is particularly important when communication timing itself is part of the system requirement rather than merely the delivery of data.
TAS 的基本概念是时间感知门控列表 (GCL)。GCL 指定了门状态的序列以及每个状态保持激活的持续时间。在特定的时间间隔内,高优先级流量类别的门可能会打开,而其他门则保持关闭。在另一个间隔内,可能会允许不同的类别进行传输。由于每个参与的网络设备都遵循同步的时间表,因此可以为流量分配确定性的传输机会。当通信时序本身就是系统要求的一部分,而不仅仅是数据传输时,这种方法尤为重要。
TAS depends strongly on network-wide time synchronization. The transmission schedule is meaningful only when switches and end stations share a sufficiently accurate common time reference. In a TSN system, IEEE 802.1AS provides the synchronization foundation typically used to establish a common time base. The synchronized clocks allow each bridge and end system to execute its local GCL according to the same global notion of time. Consequently, a scheduled frame can progress through a sequence of transmission windows without relying solely on instantaneous queue priority or contention resolution.
TAS 强烈依赖于全网的时间同步。只有当交换机和终端站共享足够精确的公共时间参考时,传输时间表才有意义。在 TSN 系统中,IEEE 802.1AS 提供了通常用于建立公共时间基准的同步基础。同步时钟允许每个网桥和终端系统根据相同的全局时间概念执行其本地 GCL。因此,预定的帧可以通过一系列传输窗口进行传输,而无需仅仅依赖瞬时队列优先级或竞争解决机制。
A TAS transmission cycle is normally constructed from repeated time intervals that correspond to different traffic requirements. A safety-critical control message may receive a dedicated transmission window, while less time-sensitive telemetry or diagnostic traffic uses other intervals. The cycle then repeats continuously. The exact duration of each interval depends on application timing, frame size, link speed, propagation delay, switching delay, processing time, and required guard margins. Proper schedule construction therefore requires communication timing to be considered together with the physical and logical architecture of the network.
TAS 传输周期通常由对应于不同流量需求的重复时间间隔构成。安全关键型控制消息可能会获得专用的传输窗口,而不太敏感的遥测或诊断流量则使用其他间隔。该周期随后持续重复。每个间隔的确切持续时间取决于应用时序、帧大小、链路速度、传播延迟、交换延迟、处理时间和所需的保护余量。因此,正确的调度构建需要将通信时序与网络的物理和逻辑架构一并考虑。
The gate mechanism separates traffic according to transmission eligibility rather than simply assigning static priority. A frame belonging to an enabled traffic class can be transmitted when its corresponding gate is open, whereas a frame associated with a closed gate must remain queued. This provides a stronger timing model than conventional priority-based Ethernet, because a high-priority frame does not automatically transmit whenever the link becomes available. Instead, transmission is constrained by the predefined temporal schedule. The resulting behavior makes network timing more analyzable and repeatable.
门机制根据传输资格而非仅仅分配静态优先级来分离流量。属于已启用流量类别的帧可以在其对应的门打开时进行传输,而与关闭的门相关联的帧则必须保持在队列中。这提供了比传统基于优先级的以太网更强大的时序模型,因为高优先级帧不会在链路可用时自动传输。相反,传输受到预定义时间表的约束。由此产生的行为使网络时序更具可分析性和可重复性。
One important design issue is the interaction between scheduled traffic and unscheduled traffic. A TSN network rarely carries only deterministic control messages. It may simultaneously transport perception data, diagnostics, maintenance information, configuration traffic, and other background communication. TAS allows these traffic categories to coexist by assigning different transmission opportunities to them. Critical traffic can be protected within reserved windows, while non-critical traffic uses remaining capacity. This enables a common Ethernet infrastructure to support multiple levels of communication criticality without requiring completely separate physical networks.
一个重要的设计问题是预定流量与非预定流量之间的交互。TSN 网络很少只承载确定性的控制消息。它可能同时传输感知数据、诊断信息、维护信息、配置流量和其他后台通信。TAS 通过为这些流量类别分配不同的传输机会,使它们能够共存。关键流量可以在预留窗口内得到保护,而非关键流量则使用剩余容量。这使得通用的以太网基础设施能够支持多个级别的通信关键性,而无需完全独立的物理网络。
Guard bands are an important part of practical TAS operation. When a scheduled high-priority transmission window is about to begin, a lower-priority frame already occupying the link must not extend into that window. The network therefore needs sufficient protection time before the next scheduled transmission opportunity. Depending on the TSN implementation, mechanisms such as frame preemption may reduce the bandwidth consumed by these restrictions. Without appropriate guard-band or preemption considerations, a theoretically correct schedule can still experience timing interference caused by frames that began transmission during an earlier interval.
保护带是实际 TAS 操作的重要组成部分。当预定的高优先级传输窗口即将开始时,已经占用链路的低优先级帧不得延伸到该窗口中。因此,网络在下一次预定传输机会之前需要足够的保护时间。根据 TSN 的实现方式,帧抢占等机制可以减少这些限制所消耗的带宽。如果没有适当的保护带或抢占考虑,理论上正确的调度仍可能因在较早间隔开始传输的帧而产生时序干扰。
The deterministic behavior of TAS becomes increasingly important as a system integrates multiple communication domains. In railway systems, for example, communication may involve control functions, vehicle status, diagnostics, passenger information, and higher-level coordination. In aerospace or UAV systems, similar separation can exist between flight-control information, actuator coordination, navigation, health monitoring, mission data, and maintenance communication. TAS provides a conceptual mechanism for assigning different temporal guarantees to these traffic classes while retaining a common Ethernet-based communication infrastructure.
随着系统集成多个通信域,TAS 的确定性行为变得越来越重要。例如,在铁路系统中,通信可能涉及控制功能、车辆状态、诊断、乘客信息和更高级别的协调。在航空航天或无人机系统中,飞行控制信息、执行器协调、导航、健康监测、任务数据和维护通信之间也可能存在类似的隔离。TAS 提供了一种概念性机制,可以在保留通用以太网通信基础设施的同时,为这些流量类别分配不同的时间保证。
For UAV avionics, TAS can be considered as a means of establishing deterministic Ethernet communication between computing and control subsystems. A flight-control computer may require periodic communication with actuator controllers and sensor-processing units. A perception computer may generate larger but less strictly periodic data streams, while mission-management software may exchange command and status information at a lower rate. TAS can allocate transmission windows according to these requirements so that critical control traffic recei
对于无人机航空电子设备,TAS 可被视为在计算和控制子系统之间建立确定性以太网通信的一种手段。飞行控制计算机可能需要与执行器控制器和传感器处理单元进行周期性通信。感知计算机可能会生成更大但周期性要求不那么严格的数据流,而任务管理软件可能会以较低的速率交换命令和状态信息。TAS 可以根据这些要求分配传输窗口,以便关键控制流量能够接收到……