TSN in automation

20 October 2019

Volker E. Goller discusses time-sensitive networking – He looks at why it is being developed and what advantages it will offer for industrial communications.

For industrial communication applications guaranteed latency is vital, making classic Ethernet unsuitable. This, along with its other shortcomings in the industrial environment, ha resulting in automation experts over the years developing their own Ethernet extensions. However, the paths taken have differed greatly. 

Protocols using Ethernet as a transport medium for a fieldbus claim complete control over the Ethernet medium for themselves. Classic TCP/IP communications are only possible in piggyback style via the fieldbus (EtherCAT  and POWERLINK) or through a channel assigned by the fieldbus (Sercos). Bandwidth control is firmly in the hands of the fieldbus.

There are also protocols which guarantee bandwidth reservation through a time slicing procedure on the Ethernet. PROFINET IRT should be mentioned here. IRT enables hard deterministic real-time data transmission on the same cable on which soft real-time or background traffic is operated. A precise timing model for the transmission paths is necessary for planning of the time slices.

Finally, there are protocols based on sharing of the Ethernet cable. These protocols use quality-of-service (QoS) and are at home in factory and process automation applications. PROFINET RT and EtherNet/IP, for example. These protocols are limited to the range of soft real time (cycle time = 1 ms).

For these standards, special hardware support and, thus, special ASICs are needed. Because PROFINET RT and EtherNet/IP are also based on the embedded 2-port switch with cut-through, they are also not exempt here. Flexible hardware-based multiprotocol solutions, such as Analog Devices’ fido5000, help solve the problem in an elegant manner.

Enter TSN
With TSN, extensions for standard Ethernet in accordance with IEEE 802.1 that break free of past limitations have successfully been developed. There is now a standardised layer 2 in the ISO 7-layer model with upward compatibility to the previous Ethernet and hard real-time capability. With 802.1AS-rev, TSN also defines an interoperable, uniform method for synchronising distributed clocks in the network. Because best effort communication always takes place with TSN, the common use of a cable is possible for hard real-time applications, as well as all other applications (web server, SSH, etc.). TSN is not dissimilar to PROFINET IRT in that regard, and it also offers comparable performance.

What is new with TSN is the need for more extensive network configuration. Centralised or decentralised configuration is possible. Both types of configuration are currently being discussed and implemented. Interoperability between the two configuration mechanisms is a future development goal.

But, what are the practical advantages of TSN? The most common answer is that with a larger market, less expensive network interfaces also appear on the market. After all, TSN will also be found in building automation and the automotive industry in the future. As a matter of fact, the market for embedded TSN solutions is expected to be significantly bigger than the current market for all industrial Ethernet solutions put together.

The greatest technical advantage of TSN over previous industrial Ethernet methods is its scalability. Unlike current industrial networks, TSN was not defined for a specific transmission rate. TSN can be used for 100 Mbps just as for 1 Gbps, 10 Mbps, or 5 Gbps.

It also enables topologies to be better optimised because now adapted data rates can be selected for various segments. Whether it’s Gbps, 100 Mbps, or 10 Mbps, a unified layer 2 – IEEE802.1/TS –- is used.

A uniform network infrastructure also helps personnel tasked with setting up and maintaining the network because, thanks to TSN, solutions can now be used in sectors other than automation: building, process, and factory automation and energy distribution alike.

This brings us to the next advantage, the training factor. TSN is already a topic at many universities, mostly in the research stage. However, technical and vocational colleges are already showing interest in this topic. We can safely say that TSN will become basic knowledge for engineers, technicians, and skilled workers. Retraining for different fieldbuses will no longer be necessary.

In nearly all TSN-related working groups there is a recurring theme - how to safeguard the transition to TSN and the supply to existing installations, such as Brownfield applications?

On all sides, emphasis is being placed on making it possible for customers to smoothly transition to TSN. It can already be said today that the existing industrial Ethernet protocols are not just going to vanish overnight. On the contrary, anyone using PROFINET, EtherNet/IP, EtherCAT, or a similarly widespread industrial Ethernet protocol today can safely assume that he or she will also be able to operate networks with these protocols - and receive support and replacement parts - in 10 years’ time.

All industrial Ethernet organisations provide models that describe how existing plants can cooperate with new TSN-based devices. The interface to the existing industrial network is made by a gateway (Sercos), with a coupler (EtherCAT), or without any special hardware (PROFINET RT). Especially PROFINET and EtherNet/IP plan to make their complete protocols available right on TSN as layer 2. This makes stepwise transition to TSN possible.

In summary, TSN will be found everywhere in new installations as well as in the form of islands or segments introduced incrementally into existing installations. However, with TSN, there will be new players in the industrial Ethernet field. OPC UA, which, with the new transport protocol PUB/SUB, in conjunction with TSN, is already viewed as a competitor to the classic protocols. This means that in the future both the classic industrial Ethernet solutions, as well as TSN and the new players, will need to be supported.

TSN as an opportunity
TSN makes it possible to create a uniform basis for all industrial communications. Once TSN is introduced, layers 1, 2, and 3 of the ISO 7-layer model will be unified in industry. This will make completely new levels of scalability and performance possible. Will communication on the upper layers also be standardisd based on this? Will there be a unified OPC UA PUB/SUB? Possibly. With the fido5000 series, users are prepared for all scenarios.

Volker E. Goller is a systems applications engineer with Analog Devices.


Contact Details and Archive...

Print this page | E-mail this page