TSN: Converged Network for Industrial IoT

Michael Zapke & Adam Taylor

One of the major challenges to the implementation of the Industrial Internet of Things (IIoT) is the convergence of Information Technology (IT) and Operational Technology (OT) networks. Currently, these networks exist in separate domains. Limited communication in each direction is possible via dedicated gateways. Converging these networks is a key enabler for Cyber Physical Systems in which nodes interact with each other using the Industrial IoT.

The current architecture for controlling Factory Automation is hierarchical. Enterprise Resource Planning (ERP) applications at the highest level provide an integrated management and automation of business core processes, progressing down to Manufacturing Execution Systems (MES) that control the manufacturing process. Programmable Logic Controller (PLC) systems execute the automation tasks using connected industrial devices like electric drives, sensors or I/Os which reside at the lowest level of the hierarchy. This is often called the “Automation Pyramid” (Figure 1), illustrating the broad amount of devices at the bottom and high performance computers at the top. Layers of the pyramid illustrate the hierarchies.

Automation Pyramid with typical assignment of networks to hierarchies

Figure 1 - Automation Pyramid with typical assignment of networks to hierarchies. - Image via Xilinx

Different layers in the Pyramid have different network requirements. While higher layers need high bandwidth and flexible network topologies, lower layers need deterministic behavior and the capability to transport samples in constant intervals with low packet delay variation. This leads to multiple networks that work side-by-side.

A converged network will address several challenges that currently exist in today’s disparate network architecture:

  • More transparency: All data from all hierarchies can be made accessible to every element in the factory without translation in between.
  • Less network planning: More flexible topologies enable easier changes.
  • Less CapEx: Reduction of cabling, reduction of gateways between networks with different protocols.
  • Less OpEx: Reduction of network administration effort.
  • More bandwidth: Avoid limitation to one network speed.
  • Optimized for M2M: Ready for interworking between machines with common data model like OPC UA across the entire factory.

This convergence is provided by Time Sensitive Networking (TSN). TSN is a set of IEEE 802 sub-standards which, when implemented, enable deterministic communication over Ethernet networks while keeping the benefits of communication in best effort manner, on that same network.

TSN introduces different traffic classes that share the same link. TSN network configuration reserves resources for streams with deterministic time characteristics. TSN, therefore, enables one common network to be implemented which supports multiple communication standards.

This introduces several improvements over standard Ethernet. Standard Ethernet communication is not time aware; it distributes the data over the entire bandwidth of the link with packets queued in order for transmission. TSN implements time awareness with scheduled traffic at configured offsets in cyclic intervals. That follows a schedule that is distributed by a network configuration controller. Further TSN features introduce Filtering and Policing for TSN streams, seamless redundancy and supports cyclic data transmission while also providing pre-emption for higher priority packets.

TSN is defined by a set of IEEE 802.1 standards which specify the implementation Figure 2). As of September 2017, four of these standards are adopted, while the remainder is still within the Task and Working Group stages.

IEEE TSN Standards

Figure 2 - IEEE TSN Standards. - Image via Xilinx

These standards are implemented over Ethernet (IEEE 802.3 Physical layer) and support star, chain, ring and mixed topologies and they are not limited to a specific data rate. Industrial applications will use 100Mbit and 1Gbit data rates mainly. Therefore, TSN provides the convergence between the IT and OT networks. This convergence reduces the cost of implementing the network, significantly lowering the cost of ownership and operation.

TSN Implementation

Correctly implementing TSN requires a solution which can provide a low latency and deterministic response at TSN end points and TSN bridges. Many applications solve this challenge by the combination of a processor and a FPGA connected together over a high-speed link such as PCIe. This two-chip solution not only increases occupied board space, power consumption, development time and cost but also prevents a holistic integrated solution from being developed. As the design is segmented between two devices, this also increases the complexity of verification.

Increasingly, IIoT solutions providers are using All Programmable Zynq®-7000 and Zynq® UltraScale™+ MPSoC devices to implement their solutions. These devices provide a combination of Processing System (PS) and Programmable Logic (PL) enabling the implementation of acquisition, control and processing applications by optimal use of the PS and PL thanks to:

  1. Ability to interface and control a wide range of sensors, actuators, motors and other application-specific interfaces.
  2. Ability to implement complex processing at the edge, for example machine learning, sensor fusion, image processing and real-time analytics.
  3. Scalability concerning the number of network interfaces.
  4. Security and the ability for the device and system to be secure in terms of Information Assurance, Anti-Tamper, and Trust.

The support of any-to-any interfacing and the ability to couple coupled Processing System and Programmable Logic makes the Zynq-7000 and Zynq UltraScale+ MPSoC devices ideal to implement TSN next to a user application.

Xilinx's 1G/100M TSN Subsystem LogiCORE IP consists of FPGA Logic for MAC, TSN Bridge and TSN Endpoint. The TSN design with dedicated logic resources guarantees that the timing behavior is strictly deterministic. Software which runs in the SoC’s Processing System is for network synchronization, initialization, and for the interfacing with network configuration controllers for stream reservation. The software is designed for running on Petalinux and will be published for Yocto builds.

The LogiCORE IP also comes with an optional integrated time-aware L2 switch that creates the chain or tree topology that is required in many industrial applications without allocating another port at an external TSN switch. Seamless Redundancy (P802.1CB) also requires the additional port. The complete IP is illustrated in Figure 2. The user can freely configure before synthesis whether or not the switch shall be integrated.

TSN IP in Xilinx Zynq-7000

Figure 3 - TSN IP in Xilinx Zynq-7000 or Zynq UltraScale+ MPSoC. - Image via Xilinx

Once instantiated, the TSN IP core provides individual AXI Streaming ports for each traffic class. Scheduled traffic, reserved traffic and best effort traffic are supported. The AXI Streaming ports connect to infrastructure that is introduced by Xilinx’s Vivado® Design Suite. AXI Lite is used for the configuration of the TSN blocks.

Xilinx provides a ready-to-use implementation for evaluation purposes that includes Direct Memory Access separately for each of the traffic classes. This evaluation system can be used as is to test the behavior between Xilinx components as well as in combination with 3rd party equipment or with protocol analyzers. Figure 4 shows a block diagram of the evaluation system.

TSN implementation for evaluation purposes

Figure 4 - TSN implementation for evaluation purposes (for Zynq UltraSale+ MPSoC). - Image via Xilinx

As Programmable Logic is flexible, it also provides the ability to update the IP Core as the TSN standards and market segment specific conformance tests progress, while devices with fixed hardware implementations (like custom ASICS and Application Specific Standard Products – ASSPs) lack the option to introduce functional changes along the TSN evolution.

To demonstrate the TSN IP core in action, Xilinx developed a demonstration application for both the ZCU102 and ZC702 development boards, featuring devices from the Zynq UltraScale+ MPSoC and Zynq-7000 families, respectively. When two of these boards are connected (Figure 5) it enables network traffic to be transmitted and received, enabling validation of TSN networking capabilities.

TSN Evaluation System

Figure 5 - TSN Evaluation System (for Zynq UltraScale+ MPSoC). - Image via Xilinx

To further support TSN deployment and applications, Xilinx is a member of the Time Sensitive Networking testbed at the Industrial Internet Consortium (IIC). Participation within this testbed provides the ability to perform vendor interoperability testing, along with testing of high performance and latency critical applications. This testing can occur both formally on one of the two permanent testbeds located in either the USA or Europe.

Wrapping it up

To enable deployment of the cyber physical systems for Industrie 4.0 and IIoT, there needs to be convergence between IT and OT networks. TSN provides the ability to converge these networks, offering significant advantages in network connectivity, scalability and cost of deployment and ownership. Implementing TSN within an All Programmable Zynq-7000 SoC or Zynq UltraScale+ MPSoC device provides the user with a single chip solution, which can also provide the processing capability in the PS and PL to perform the IIoT application at the edge.

Xilinx’s TSN has been released with the name 1G/100M TSN Subsystem LogiCORE IP in May 2017 for early access customers and will continue the rollout in Q4/2017.

TSN: Converged Network for Industrial IoT. Date published: 1st November 2017 by Farnell element14