ArticleslgStudy

computer science

Precision Time Protocol Industry Profile

Precision Time Protocol Industry Profile is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Precision Time Protocol Industry Profile rather than just read about it. In short: Industrial automation systems consisting of several distributed controllers need a precise synchronization for commands, events and process data. For instance, motors for newspaper printing are synchronized within some 5 microseconds to ensure that the color pixels in the different cylinders come within 0.1 mm at a paper speed of some 20 m/s.

Precision Time Protocol Industry Profile — main illustration
Precision Time Protocol Industry Profile — illustration

Key takeaways

  • Precision Time Protocol Industry Profile belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Precision Time Protocol Industry Profile to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Precision Time Protocol Industry Profile from memory before moving on to harder problems.

Reference excerpt

Industrial automation systems consisting of several distributed controllers need a precise synchronization for commands, events and process data. For instance, motors for newspaper printing are synchronized within some 5 microseconds to ensure that the color pixels in the different cylinders come within 0.1 mm at a paper speed of some 20 m/s. Similar requirements exist in high-power semiconductors (e.g. for converting between AC and DC grids) and in drive-by-wire vehicles (e.g. cars with no mechanical steering wheel). This synchronisation is provided by the communication network, in most cases Industrial Ethernet. Many ad-hoc synchronization schemes exist, so IEEE published a standard Precision Time Protocol IEEE 1588 or "PTP", which allows sub-microsecond synchronization of clocks. PTP is formulated generally, so concrete applications need a stricter profile. In particular, PTP does not specify how the clocks should operate when the network is duplicated for better resilience to failures. The PTP Industrial Profile (PIP) is a standard of the IEC 62439-3 that specifies in its Annex C two Precision Time Protocol IEEE 1588 / IEC 61588 profiles, L3E2E and L2P2P, to synchronize network clocks with an accuracy of 1 μs and provide fault-tolerance against clock failures. The IEC 62439-3 PTP profiles are applicable to most Industrial Ethernet networks, for synchronized drives, robotics, vehicular technology and other applications that require precise time distribution, not necessarily using redundant networks. The IEC 62439-3 profile L2P2P has been adopted as IEC/IEEE 61850-9-3 by the power utility industry to support precise time stamping of voltage and current measurement for differential protection, wide area monitoring and protection, busbar protection and event recording.

The IEC 62439-3 PTP profiles can be used to ensure deterministic operation of critical functions in the automation system itself, for instance precise starting of tasks, resource reservation and deadline supervision. The IEC 62439-3 Annexes belongs to the Parallel Redundancy Protocol and High-availability Seamless Redundancy standard suite for high availability automation networks. However, this specification also applies to networks that have no redundancy and do not use PRP or HSR.

Topology

The PIP relies on the IEEE 1588 topology, consisting of grandmaster clocks (GC), ordinary clocks (OC), boundary clocks (BC), transparent clocks (TC) and hybrid clocks (HC = TC&OC). For redundancy, a PIP network contains several clocks that are master-capable. Normally, the best master clock ensures that only one grandmaster broadcasts the time. In redundant networks, and especially in PRP, several masters can be active at the same time, the slave then chooses its master.

PIP Profiles and Annexes IEC 62439-3 Annex A specifies how to attach clocks to duplicated networks paths and how to support simultaneously active redundant master clocks for all profiles. IEC 62439-3 Annex B specifies the L2PTP profile for substation automation IEC/IEEE 61850-9-3. In contrast to IEC/IEEE 61850, double attachment by PRP or HSR is mandatory. IEC 62439-3 Annex C specifies two profiles, L3E2E and L2P2P, that are subsets of IEEE Std 1588 Precision Time Protocol (PTP) when clocks are singly attached. IEC 62439-3 Annex D is a tutorial for IEEE 1588 that concentrates only on PIP. IEC 62439-3 Annex E contains the SNMP objects for managing the doubly-attached clocks.

Main features IEC 62439-3 Annex C uses the following IEEE Std 1588 options:

uses the PTP timescale based on TAI International Atomic Time, also delivers UTC Coordinated Universal Time transmits the clock correction indifferently with 1-step (preferred) or 2-step (can be mixed) operates with the default best master clock algorithm, performed by master and by slave clocks supports both options to measure the link delay: L3E2E: End-to-end measurement (Delay_Req/Delay_Resp) over Layer 3 (Internet Protocol) to fulfill the requirements of ODVA; L2P2P: Peer-to-peer measurement (Pdelay_Req/Pdelay_Resp) over Layer 2 Ethernet (IEEE 802.3) links.

Performance IEC 62439-3 Annex C aims at an accuracy of better than 1 μs after crossing 15 bridges with transparent clocks. It assumes that all network elements (bridges, routers, media converters, links) support PTP with a given performance:

Grandmaster (GC): 250 ns maximum inaccuracy Transparent Clocks (TC): 50 ns maximum inaccuracy Boundary Clocks (BC): 200 ns maximum inaccuracy Media Converters: 50 ns maximum jitter and 25 ns maximum asymmetry Link asymmetry: 25 ns maximum asymmetry By relying on these guaranteed values, the network engineer can calculate the time inaccuracy at different nodes of the network and place the clocks, especially the grandmaster clocks suitably. IEC TR 61850-90-4 (Network engineering guidelines) gives advice on the use of IEC/IEEE 61850-9-3 in substation automation networks.

IEEE 1588 settings IEC 62439-3 Annex C restricts the parameters of IEEE Std 1588 to the following values:

domainNumber: 0 (default range) Announce interval: (default range) 1 s (L2P2P) or 2 s (L3E2E) Sync interval: 1 s (fixed) Pdelay interval: 1 s (fixed) Announce receipt time-out (number of Announce interval that has to pass without receipt of an Announce message before Announce timeout is issued): 3 (fixed) priority1: 255 for slave-only priority2: 255 for slave-only transparent clock primary syntonization domain: 0 (default)

Additions to IEEE Std 1588 IEC 62439-3 Annex C specifies requirements in addition to IEEE 1588:

A clock shall accept both 1-step and 2-step corrections (improves plug-and-play) All clocks can be doubly attached using the IEC 62439-3 protocol (PRP "Parallel Redundancy Protocol" or HSR "High-availability Seamless Redundancy") Several master clocks can be active at the same time; the slave selects the best master. Time-outs ensure that the clocks can detect the loss of PTP messages also on the unused path. Identification of the peer node to check the topology of the network and ensure that all elements support the protocol. In network using store-and-forward media converters and for L2P2P only, the master appends a padding to Sync messages to ensure that Sync and Pdelay_Req/Pdelay_Resp messages have the same size (this will specified in IEEE 1588:2017) Network management by SNMP according to IEC 62439-3 Annex E

… excerpt ends here. Continue reading the full article.

Illustrations

Precision Time Protocol Industry Profile illustration
Precision Time Protocol Industry Profile illustration
Precision Time Protocol Industry Profile illustration

Worked examples

Example 1 — a first encounter with Precision Time Protocol Industry Profile

Start with the simplest possible case. Write down what Precision Time Protocol Industry Profile claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Precision Time Protocol Industry Profile before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Precision Time Protocol Industry Profile ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Precision Time Protocol Industry Profile

In research
Precision Time Protocol Industry Profile appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Precision Time Protocol Industry Profile in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Precision Time Protocol Industry Profile is common in secondary-school and first-year university syllabi. It links to neighbouring topics Network protocols, Networking standards, so understanding it makes those chapters shorter.
In everyday life
Look for Precision Time Protocol Industry Profile outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Precision Time Protocol Industry Profile in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Precision Time Protocol Industry Profile means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Precision Time Protocol Industry Profile out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Precision Time Protocol Industry Profile in simple terms?

Industrial automation systems consisting of several distributed controllers need a precise synchronization for commands, events and process data. For instance, motors for newspaper printing are synchronized within some 5 microseconds to ensure that the color pixels in the different cylinders come w…

Why does Precision Time Protocol Industry Profile matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Precision Time Protocol Industry Profile?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Precision Time Protocol Industry Profile.

Tags

  • Network protocols
  • Networking standards

Keep exploring