element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Tech Connection
  • Learn
  • Learning Center
  • Tech Connection
  • More
  • Cancel
Tech Connection
Documents What is Time Sensitive Networking?
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Tech Connection to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: rscasny
  • Date Created: 27 Aug 2019 10:11 PM Date Created
  • Last Updated Last Updated: 13 Oct 2021 5:12 PM
  • Views 2387 views
  • Likes 7 likes
  • Comments 6 comments
Related
Recommended

What is Time Sensitive Networking?

Have You Ever Wondered About the Networking Requirements of Industry 4.0 or the Industrial Internet of Things (IIOT)?image

The world is becoming increasingly networked, and the rise of both industry 4.0 and the Industrial Internet of Things (IIoT) means networking is even more critical in an industrial setting.

 

Industrial applications present significant challenges for network solutions. On the actual production line, actuators and sensors require real time, low latency, deterministic communications to enable the manufacturing process. Higher level resource planning systems (e.g., Enterprise Resource Planning/ERP) do not require real time, deterministic communication, but they do require access to the external internet to interact with suppliers’ systems, etc.

 

These different requirements lead to deployments of different networks and networking technologies for the Information Technology (IT) network which supports the ERP system and for the Operational Technology (OT) network which supports the manufacturing actuators and sensors.

 

Typically, the IT network will be based on Ethernet while the OT network will use several different technologies (e.g., OPC UA, DDS, and EtherCat). In this legacy architecture, connection between the IT and OT networks is via gateways, access points, and protocol converters.

 

To achieve the integration and expansion required by Industry 4.0 and IIoT, separate networks present several issues which must be addressed:

 

• Strong network hierarchies are expensive and complicated to implement.

• Inflexible OT Network – Implementation requires pre-planning and complex cabling solutions, resulting in a solution which does not scale as needed with demand.

• Multiple communication protocol standards for OT networks, (e.g. EtherCAT, Profinet).

• OT network has limited bandwidth to support communication between network elements.

• Industry 4.0 will require increased communication to provide analytics which legacy protocols cannot provide, as they don't allow access to machine data freely for analytics and cloud computing.

 

To address these issues, there is a move towards deployment of a converged network which merges the IT and OT networks into a single network. This converged network still needs to be able to achieve the time critical, low latency, deterministic messaging required by the actuators and sensors. Enter Time Sensitive Networking (TSN).

 

Explaining Time Sensitive Networkingimage

TSN enables different classes of network traffic to share the same transmission medium, providing both network management and a reserved path for scheduled traffic. This enables Time Sensitive Networking with deterministic communications and, therefore, enables one common network, which supports multiple communication standards.

 

When TSN operates over an Ethernet link, there are several modifications to standard Ethernet required. Standard Ethernet communications are not time aware; they distribute the data over the entire bandwidth of the link with packets queued for transmission. TSN implements a time awareness across the network with scheduled traffic in time-defined slots, and it supports cyclic data transmission while also providing pre-emption for higher priority packets.

 

TSN is defined by several IEEE 802.1 standards which specify the implementation. As of May 2019, seven of these standards have been adopted, while the remainder are still in the approval process.

 


These standards are implemented over Ethernet (IEEE 802.3 Physical layer) and support star, chain, ring, and mixed topologies, along with 100Mbit and 1Gbit data rates.image

 

One of the key challenges of a TSN solution is the implementation of the scheduling, pre-emption, and queuing. TSN implementations can prioritize and pre-empt packets to ensure deadlines are achieved. This is achieved by pausing the transmission of lower priority packets. The time available for a TSN implementation to evaluate, pre-empt, queue, and schedule depends upon the network speed. When running at 100 Mbps, the controller has 82 microseconds to make and update queuing solutions. However, as the network speed increases to 1 Gbps, the time reduces to 8 microseconds. Achieving these timescale demands can be challenging.

 

Correctly implementing TSN requires a solution which can provide a low latency and deterministic response at both endpoints and switches. Many applications solve this challenge by the combination of a processor and a FPGA connected over a high-speed link such as PCIe. This two-chip solution not only increases board area, 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.

 

Implementing TSN with heterogeneous System on Chips (SoC)

To address these challenges, heterogeneous System on Chips (SoC) are often used. These devices provide a combination of Processing System (PS) and Programmable Logic (PL), enabling the implementation of acquisition, control, and processing applications which require the use of TSN by optimal use of the PS and PL due to the following capabilities:

 

1. Ability to interface and control a wide range of sensors, actuators, motors, and other application-specific interfaces due to the flexibility of programmable logic.

2. Ability to implement complex processing at the edge, for example, machine learning, sensor fusion, image processing, and real-time analytics.

3. Communication support for a range of wired and wireless technologies.

4. Security and the ability for the device and system to be secure in terms of Information Assurance, Anti-Tamper, and Trust.

 


TSN within a heterogeneous SoC device utilizes both the Processing System (PS) and the Programmable Logic (PL) to implement the solution.image

 

One example of a TSN Solution is Xilinx's TSN Endpoint Ethernet MAC LogiCORE IP. It consists of FPGA Logic for MAC, TSN Bridge and TSN Endpoint and software components for Network Synchronization, Initialization and for Interfacing with network configuration controllers for Stream Reservation as defined in P802.1Qcc. The software is designed to run in embedded Linux (e.g. Petalinux).

 

The LogiCORE IP provides deterministic behavior because it is built with dedicated resources from the device's PL. Synchronization (IEEE 802.1AS), Scheduled Traffic (IEEE 802.1Qbv), and Seamless Redundancy (P802.1CB) benefit from that and help offload the Processing Unit.

 

The LogiCORE IP also comes with an optional integrated time-aware L2 switch, which enables chain or tree topology required in many industrial applications without allocating another port at an external TSN switch.

 

Once instantiated internally, the TSN IP core provides individual interfaces for each traffic class which are used in conjunction with the PS: Processors, DDR Memory and interconnect. These interfaces support scheduled, reserved and best effort / legacy traffic over the network.

 

The majority of TSN networking is implemented within Programmable Logic because it provides not only the determinism and low latency that TSN requires, but also, due to its flexibility, the ability to update the IP core as the TSN standards progress and revisions are introduced.

 

Summary

To enable deployment of the IIoT and Industry 4.0, 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 a heterogeneous SoC enables the acceleration capabilities of programmable logic to be used to achieve the demanding performance requires of TSN.

 

Glossary

  • Enterprise Resource Planning: an integrated set of software applications used to manage the business processes of an entity. The applications typically include planning, purchasing, inventory, sales, marketing, finance, human resources, and more.
  • EtherCat: a real-time, Industrial Ethernet technology developed by Beckhoff Automation. It is suitable for hard and soft real-time requirements in automation technology, in test and measurement, and  other applications.
  • Data Distribution Service (DDS): a middleware protocol and API standard for data-centric connectivity from the Object Management GroupRegistered (OMGRegistered). It integrates system components to provide low-latency data connectivity, reliability, and a scalable architecture for IoT applications.
  • Determinism: a condition of a computing device where for every state, there is at most one state that can follow.
  • Heterogeneous System on Chip: a device that provides a combination of Processing System (PS) and Programmable Logic (PL) to enable the implementation of acquisition, control, and processing applications.
  • Industry 4.0: a term that describes smart factories which contain intelligent machines using wireless connectivity, sensors, automation controllers, and AI to manufacture products with independent decision making.
  • Industrial Internet of Things (IIoT): synonymous to Industry 4.0.
  • Latency: the amount of time it takes data to travel across a network.
  • Operational Technology:  the hardware and software technology used to control or monitor physical devices, processes and events typically in a factory or manufacturing facility.
  • Profinet: a standard used for industrial networking in automation and manufacturing.
  • Protocol Converters: a device used to convert standard or proprietary protocol of one device to the protocol suitable for the other device or tools to achieve the interoperability.
  • industry 4.0
  • iiot
  • enterprise resource planning
  • tsn
  • ieee 802.1
  • tech spotlight
  • dds
  • xilinx
  • profinet
  • protocol converter
  • determinism
  • ieee 802.3
  • industrial internet of things
  • low-latency
  • data distribution service
  • operational technology
  • erp
  • ethercat
  • time sensitive networking
  • heterogeneous system on chip
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • clem57
    clem57 over 6 years ago in reply to kmikemoo +1
    There is a network with problems if someone decides to "hog" the bandwidth! Then I think there is no hope...
  • adamtaylorcengfiet
    adamtaylorcengfiet over 6 years ago in reply to weiwei2 +1
    Hi, I am the author of this article. There is a difference between PTP and Time Sensitive. PTP enables synchronisation across the network to a standard time reference. This is useful in the test and measurement…
  • weiwei2
    weiwei2 over 6 years ago in reply to adamtaylorcengfiet +1
    Thanks a lot, now i understand the difference and TSN will also be of interest to me
  • weiwei2
    weiwei2 over 4 years ago in reply to weiwei2

    for retail video analytics (such as synchronizing the time capture of a video with a scanning of bar code), do we need to use TSN? it doesn't need that precision till ms level

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • weiwei2
    weiwei2 over 6 years ago in reply to adamtaylorcengfiet

    Thanks a lot, now i understand the difference and TSN will also be of interest to me

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • adamtaylorcengfiet
    adamtaylorcengfiet over 6 years ago in reply to weiwei2

    Hi,

     

    I am the author of this article. There is a difference between PTP and Time Sensitive. PTP enables synchronisation across the network to a standard time reference. This is useful in the test and measurement world where a standard time reference is required, it is also useful in areas such as banking etc.

     

    However, what PTP does not do is guarantee that Ethernet packets are can be sent and received with deterministic timing such would be needed for real time control such as moving a robotic ARM. In this case if the Ethernet control packets were not received when required the ARM might move out of position and malfunction. The ability to send commands with deterministic timing over Ethernet thanks to TSN enables a single interface to be used opposed to having a different interface say RS485 or CAN to control the ARM. TSN of course also requires deterministic hardware which is why a SoC based implementation is so powerful.

     

    Indeed time synchronisation is a key element of TSN as can be seen on the diagrams, but on its own it is not enough to provide determinism. TSN is also well on its way to being a IEEE standard most of the element are approved or going through the approval loop.

     

    Best

     

    Adam

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • weiwei2
    weiwei2 over 6 years ago

    In the test and measurement world, we have the IEEE1588 https://en.wikipedia.org/wiki/Precision_Time_Protocol

    as it is an IEEE standard, is it better to use it for TSN?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • clem57
    clem57 over 6 years ago in reply to kmikemoo

    There is a network with problems if someone decides to "hog" the bandwidth! Then I think there is no hope...

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • kmikemoo
    kmikemoo over 6 years ago

    Timely.  I have a friend with a process control issue that we think may be related to network latency.  His company only has one network that they use for everything.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube