How To Guarantee That Devices Are Properly Time Synchronized
How To Guarantee That Devices Are Properly Time Synchronized
In the absence of time synchronization systems, the 2. Structure of the Time Synchronization
fault and disturbance analysis using oscillography Networks
records requires manual adjustment, increasing the
Time servers generally provide the time reference to
time and the effort for the analysis.
several devices in a system. These time servers are
typically installed in racks and are connected to IEDs
creating a time synchronization network. Considering and time can be obtained. The precision of the GPS
that different IEDs support different methods of time system follows a stochastic model and normally GPS
synchronization, it is important to evaluate which receivers provide a precision of ±100 ns for 1 sigma
method is more appropriate for the whole system. (~70%). Figure 2 shows the curve of precision
distribution.
The connection between IEDs and time servers
depends on the cable installation services and
requires design and implementation by skilled
professionals.
3. Methods to Provide Time Synchronization It is also important to note that although an IED is
capable to be synchronized by IRIG-B, NTP, or other
Technically there are several methods to provide time protocol, it does not mean that it will necessarily have
synchronization, each one related to a certain its internal clock very accurate. It is very common to
topology. Therefore, all of them are basically find implementations in IEDs, such as protective
associated with the use of GPS-based clocks. relays, that give high priority to protection functions
and do not achieve a good precision.
The GPS (Global Positioning System) is based on a
satellite constellation orbiting the Earth. These 3.1 Pulsed Electrical Signals
satellites transmit signals that are decoded by the
GPS receivers. With the information received by at The use of pulsed signals is the simplest method for
least four satellites, the longitude, latitude, altitude time synchronization. The time server generates
pulses synchronized to the second rollover (PPS) or group in charge of creating the standard for the
other pre-defined frequency. The equipment to be Range Commanders Council (RCC) of the U.S. army.
synchronized adjusts its internal clock with this The first edition was launched in 1960 and the most
signal. recent version, IRIG Standard 200, was published in
2004.
The precision obtained with the pulsed signals is
higher, especially when used for frequency control. IRIG-B signal is a 100-bit frame, containing
However, the main disadvantage is that the information related to the date, time and optionally,
timestamp information is not transmitted and clock control functions (CF) and straight binary seconds of
changes are not considered. day (SBS). This signal is typically transmitted in a
PWM format by a DC level shift signal (no carrier
Time synchronization networks demands cabling signal) or by an amplitude-modulated signal (sine
installation and maintenance, as well as skilled wave carrier). Figure 3 shows these signals.
people.
IRIG-B is the widely used time format developed by The NTP (Network Time Protocol), was developed
the Inter-Range Instrumentation Group (IRIG), the by professor David L. Mills of Delaware University
in 1980, and has been used to provide time When the network traffic level is low, especially
synchronization of devices connected in a Ethernet without GOOSE messages.
network. The NTP protocol has the following When the NTP/SNTP client that is running in the
characteristics: IED is able to adjust the internal clock with good
precision.
Since time information is transmitted by using
the Ethernet network, the protocol considers the Time synchronization by using the Ethernet network
measurement of time to send and receive the provides a stronger reduction in the costs because the
messages, allowing the delay compensation cost of design and implementation of a specific time
caused by cables, switches, signal adapters and network is not considered.
other devices.
Uses an algorithm that adjusts the time clock of 3.5 Precision Time Protocol (PTP)
the IED monotonically, i.e., without “jumps” in
When analyzing the characteristics of the NTP
time to avoid discontinuities. Thus, it does not
protocol and the IRIG-B time protocol, it is possible
simply copy the timestamp received in the NTP
to realize that the NTP has the advantage of using the
message to the internal clock, but it adjusts the
data communication network, however, the precision
frequency controller to decrease the timestamp
is lower. On the other hand, the IRIG-B signal
error. The disadvantage is the delay to converge.
provides good precision but needs a dedicated
Uses the time clock drift estimation to
network for time synchronization.
compensate time deviation and provide time
stability in the absence of the time source. The PTP protocol was developed to provide time
synchronization with the same precision as that of the
It is important to note that most of IEDs with the
IRIG-B signals by using the Ethernet network.
capability of time synchronization with Ethernet
protocols do not use the NTP protocol, but instead The use of the PTP protocol achieves higher
they use the SNTP, where the S means SIMPLE, i.e., precision over Ethernet communication because of
a simplified implementation of the method that does the support in hardware. The time information in the
not consider some algorithms and does not keep the frame is established only when the message is being
internal clock stable over long periods of time. The transmitted and being received in the Ethernet port.
SNTP protocol messages are equal to the NTP In this approach, the time processing delays
protocol. (especially the nondeterministic) in GPS clocks,
switches and IEDs are compensated.
The first edition of IEC 61850 considered the SNTP
for the IED time synchronization, however, with this Figure 4 shows the nondeterministic delays in a
protocol it is not possible to achieve the required communication between a time server and a client
precision when synchronizing Merging Units. without considering any kind of compensation (NTP
and PTP without hardware support).
The use of NTP/SNTP protocols for time
synchronization of IEDs can lead to a precision better The delays ∆t1, ∆t2, ∆t3, ∆t4 and ∆t5 vary because of
than 1 ms. Real world implementation in substations the protocol processing times, of queues in lower
with many switches usually achieve accuracy layers of the network communication process, and
between 2 and 10 ms. Laboratory tests show that because of the delays in the switches considering that
higher level of precision can be achieved under the the GOOSE messages are prioritized.
following conditions:
Considering the use of the PTP protocol with
When using a good quality GPS clock. There are hardware support in all devices of the network, the
GPS clocks that support NTP messages but the errors are minimized because the timestamp is
timestamp in the message does not have good assigned in the lowest layer of the communication
precision. process. Thus, all errors related to the processing time
are irrelevant. Additionally, it is mandatory to use synchronization network in conjunction with the data
switches capable to compensate the delays related to communication network.
prioritization of GOOSE messages. Figure 5 shows
the behavior of timestamps when using devices with 4. Evaluation of GPS clocks
hardware support to compensate the delays.
The choice of which GPS clock will be used depends
on the technology and the architecture of the time
synchronization network, the methods of
synchronization, the auxiliary equipment, and the
IEDs to be synchronized.
60
Monitoring makes it possible to check the behavior of
the equipment and the installation characteristics.
40
Monitoring the number of visible satellites by each
20 piece of equipment allows to evaluate the position of
0
the GPS antenna and, with the level of signals from
satellites gives an indication of the quality of the
Figure 9 – Difference (in nanoseconds) between the cable that connects the antenna to the GPS clock.
timestamp of the PPS provided by the PTP client and Furthermore, it is possible to generate statistical data
the timestamp reported by the event input related to the equipment such as the number of
operating hours, network communication access, etc.
The tendency for the future is that monitoring of GPS using a standard switch and, being a lower traffic
clocks will be accomplished using the approach of level environment.
IEC 61850. The second edition of the standard
provides the settings for the logical node related to 5.1 Test Results
time synchronization, leading to the use of
All IEDs were synchronized by the reference GPS
monitoring methods like any other IED compliant
clock. For all IEDs under test, the results with IRIG-
with IEC 61850.
B and SNTP were equivalent. Since the events were
For the optimal operation of a GPS clock, it is related to the PPS (one pulse per second) signal, the
necessary that at least four GPS satellites be visible. timestamp of the event reported by the IED was
Some equipment have special features such as compared to the second rollover and shown in
oscillators with low drift or drift compensation milliseconds.
algorithms that keep the internal clock stable for a
A total of 60 pulses were used for each IED. The
period of time even without the minimum number of
results in Figures 11, 12 and 13, show that IED A has
visible satellites.
poor accuracy and precision. IED B has expected
5. Methodology for Evaluation of the Quality of accuracy and precision and IED C has an accuracy
IEDs time synchronization error of 3 milliseconds but a good precision because
all pulses were with the same error.
In this section a methodology for performance
evaluation of IEDs when synchronized in different 20
methods is presented. To perform this test, different 15
events with known timestamps are produced and the 10
IED event log is analyzed. The comparison between 5
the timestamp reported in the event log and the real 0
timestamp of the event produces the estimate -3 -2 -1 0 1 2 3 4 5 6 7 8
synchronization error.
Figure 11 – Test results for the IED A
The best way to produce events with known
timestamps is by using a GPS clock. Usually these
devices have an open collector output that can be 100
configured to generate signals in frequency. In the
50
test, the PPS (Pulse Per Second) is generated by a
reference GPS clock. The open collector output 0
drives the digital input of the equipment under test. -3 -2 -1 0 1 2 3 4 5 6 7 8
The performance test considered three IEDs from
different manufacturers. Figure 10 shows the
connection diagram for the test. Figure 12 – Test results for the IED B
100
50
0
-3 -2 -1 0 1 2 3 4 5 6 7 8
Management of GPS clocks in a single substation, or Carlos Alberto Dutra received his degree in Control
in a whole utility, can be accomplished by using and Automation Engineering from the Federal
SNMP services. Thus, the status of GPS clocks can University of Santa Catarina, Brazil, in 1999. He has
be monitored by a central station, reporting any been working in Reason Tecnologia since 2003. In
malfunctioning of the equipment as well as problems the Reason Research and Development Department,
in the installation such as weak satellite coverage. he worked in the development of different devices
such as the traveling wave-based fault locator, digital
A methodology that makes is possible to evaluate the fault recorders, and GPS clocks. He is currently the
quality of time synchronization of IEDs was Development Manager, and is in charge of the
presented. This methodology was based on the management of the development and the lifecycle of
comparison of time differences between timestamps Reason products.
of events produced by a reference GPS clock and
timestamps of these events reported by the IED. Sergio Luiz Zimath majored in Control and
Different IEDs synchronized by IRIG-B signals and Automation Engineering in 1997 at the Federal
by SNTP protocol were analyzed by using this University of Santa Catarina. He has been working in
methodology. Reason Tecnologia since 1995. He was involved in
the development of several products, including
The performance tests showed that the timestamps RT1000 and RT2000 GPS clocks and the digital fault
reported by some IEDs may not be precise. The recorder RPIV. He is currently the Director of
methodology described in this paper enable the users Innovation and is responsible for the development of
to check the IEDs performance by themselves, new products and research projects.
leading them to know the limitations of each one.
Jurandir Paz de Oliveira received his Ms.C. (1997)
7. References and Electrical Engineering (1988) degrees from
Federal University of Santa Catarina (UFSC), Brazil.
[1] “An architecture for Describing Sinple Network He has been related with Reason Tecnologia since
Management Protocol (SNMP) Management 1995, as partner and Technical Director.
Frameworks”, RFC 3411, 2002