Skip to content

10.4 Time-Sensitive Networking (TSN)

The previous chapter covered HSR and PRP for zero-recovery-time redundancy. These protocols solve the reliability requirement. A different challenge remains: running multiple industrial protocols with different timing requirements on the same Ethernet network. TSN addresses this challenge.

Today, PROFINET IRT requires dedicated switch hardware. EtherNet/IP uses standard switches but does not guarantee hard real-time latency. Each protocol needs a separate network segment. TSN (Time-Sensitive Networking) is a set of IEEE 802.1 standards. TSN adds deterministic, time-aware behavior to standard Ethernet. Hard real-time, soft real-time, and best-effort traffic share the same wire.

StandardFeature
IEEE 802.1AS-2020Time synchronization (gPTP)
IEEE 802.1QbvScheduled traffic (time-aware shaper)
IEEE 802.1QbuFrame preemption
IEEE 802.1CBFrame replication and elimination (FRER)
IEEE 802.1QccStream reservation and configuration

gPTP (generalized Precision Time Protocol) is a constrained PTP profile. gPTP delivers sub-microsecond time synchronization across TSN devices.

The time-aware shaper divides time into repeating cycles. Each cycle is divided into time slots assigned to specific traffic classes. During a Class A slot, only Class A frames transmit. Other traffic waits. This mechanism guarantees that best-effort traffic never delays real-time frames.

Time SlotTraffic ClassDuration
0 to 100 usClass A: Hard real-time (motion control)100 us
100 to 300 usClass B: Soft real-time (I/O)200 us
300 to 1000 usClass C: Best effort700 us

Frame preemption allows a high-priority frame to interrupt the transmission of a lower-priority frame. The switch splits the lower-priority frame, transmits the high-priority frame, and then resumes the lower-priority frame. Frame preemption reduces worst-case latency for high-priority frames.

The IEC/IEEE 60802 profile defines a common TSN configuration for industrial automation. PROFINET and EtherNet/IP devices coexist on the same TSN network using this shared profile.

FeaturePROFINET IRTTSN
Cycle time250 us31.25 us (theoretical)
StandardProprietary (PI)IEEE 802.1 (open)
Multi-vendorLimitedYes (with common profile)
MaturityProduction-readyEmerging (2020s)

TSN adds determinism to standard Ethernet

TSN adds determinism to standard Ethernet. PROFINET and EtherNet/IP are both adopting TSN.

Time synchronization is required

TSN requires time synchronization on devices and switches via gPTP (IEEE 802.1AS).

Chapters 9 and 10 covered the protocols and topologies of industrial networking. MRP ties ring topology to industrial Ethernet most tightly. The next chapter provides a deep dive into MRP: ring operation, detected-inoperability handling, and configuration and troubleshooting on Hirschmann switches.

  • IEEE 802.1AS-2020 — Timing and Synchronization for Time-Sensitive Applications
  • IEEE 802.1Qbv-2015 — Enhancements for Scheduled Traffic
  • IEC/IEEE 60802:2023 — TSN Profile for Industrial Automation
  • Belden. (2022). TSN: The Future of Industrial Networking. Belden White Paper.