Professional Documents
Culture Documents
Synchronism With Software-Based IEEE 1588-2008 For Smart Grid
Synchronism With Software-Based IEEE 1588-2008 For Smart Grid
1238
The OMICRON IEDScout software, which is available at 1588 Clock so the user can distribute Coordinated Universal
[13], was used to detect and subscribe GOOSE messages on Time (UTC) or user-entered time over PTP.
the network. GOOSE messages that were transmitted on the This Master oversees and manages the synchronism of a
network were detected by the IEDScout software. set of PTP slaves connected to a standard Ethernet network.
PTP Master sends multicast synchronism packets “sync and
III. EXPERIMENTAL PTP-BASED SYSTEM FOR EVENT IN SMART
Delay_req” to every slave unit in order to synchronize their
GRID.
local clocks with the master unit one. PTP master local clock
The experimental system is a complete system ready to gets stabilized in turn from the GPS. PTP transceivers provide
measure and Test: The system is composed of a XLI PPS signal for synchronism of remote units, which use it as a
GrandMaster wtih (GPS) and two NI CompactRIO system. basis for phasor estimation and data transfer [15] [16].
For calibration of each of the experimental Slaves this system
A.2.- Issues with design and implementation of CompactRIO-
is based in the XLi’s Time Interval/Event Time (TIET)
Slave.
feature can be used to measure PTP synchronization across
timing networks. The level of precision achievable using the PTP protocol
depends heavily on the jitter (the variation in latency) present
in the underlying network topology. Point-to-point
connections provide the highest precision. Hubs impose
relatively little network jitter. Under very low or no network
load, Layer 2 switches have a very low processing time,
typically 2 to 10 μs plus packet reception time, and have low
latency jitter of about 0.4 μs. But with network switches, a
single queued maximum length packet imposes a delay for
the following packet of about 122 μs, and under high load
conditions, more than one packet can be in the queue.
Prioritization of packets, eg: IEEE 802.1p, does not fully
solve the problem, as at least one long packet can be in front
of a synchronization packet and so will impose up to 122 μs
to the jitter of transmission.
An effective way to reduce the effect of jitter in Ethernet
based IEEE 1588 v2 networks is the use of IEEE 1588
boundary clocks or transparent switches . A switch acting as a
boundary clock runs the PTP protocol, and is synchronized to
an attached master clock. The boundary clock in turn acts as a
master clock to all attached slaves. With this approach, all
internal latencies and jitter in the switch can be compensated
Fig.4- Phasor meters synchronization method.
and do not affect synchronization accuracy.
It has been designed to provide highest stability level to A.3.- Synchronism method.
the A/D conversion process. System has been over- LabVIEW 2010 introduces a new clock available to NI-
dimensioned to provide enough room for future analysis, grid TimeSync. The IEEE Standard 1588 plug-in available with
management and protection features: NI-TimeSync 1.1 provides a clock reference that is
• NI Single-Board RIO 9631: Simultaneous 6-channel, synchronized with 1 ms resolution. We can configure
16-bit ADC, operating up to 51.2k Samples/s and FPGA multiple devices on a network to use the same IEEE 1588
synchronism. reference clock, allowing multiple platforms to synchronize
• Two NI cRIO-9074: features hardware-assisted support over a standard Ethernet network. You also can configure
for synchronized industrial networks utilizing the IEEE your device to use the Software 1588 Precision Time
1588 v2 [14]. Submillisecond synchronism error (when Protocol.
directly connected to PTP master). NI-sbRIO-9631 provides direct hardware access to the
• GrandMaster IEEE1588-V2 for Test; Xli input/output circuitry of each I/O module using LabVIEW
GrandMaster of Simmetricom and a receptor GPS. FPGA elemental I/O functions. FPGA technology controls all
task timing.
A.1.- Issues with implementation of PCI1588- Master.
The NI-sbRIO-9631 CLK module provides a real-time
Fig.4 shows how the meter units are synchronized with a clock. This clock can be used to measure the passage of time
Xli 1588 GrandMaster who acts as the central system. The [17], as well as to add timestamp messages to event logs.
IEEE 1588 card typically synchronizes PTP slaves on the Both the high resolution times are stored as 64-bit values. The
network to International Atomic Time (TAI). The XLi IEEE 64-bit counter (FPGA I/O functions) is implemented using a
1588 Clock derives TAI from the Global Positioning System Single-Cycle Timed Loop (SCTL) which guarantees that all
(GPS). In addition, Symmetricom designed the XLi IEEE operation will execute in one clock pulse at 266MHz internal
time-base.
1239
We can also emphasize that with this system we appraise Ethernet port, and we use one of then to connect to the IED
the deviation in nanoseconds between the pulse per second and the other to the network.
and the most nearby sample with a timer of high resolution. The test focuses on the signals to be described and
This displacement adds to the received TimeStamp. exchanged with IEC 61850. IEC 61850 provides signal
designations for application information produced, exchanged
A.4.- Data sampling and processing issues
and consumed by devices.
“Level-0” complaint requirements force us to use high The communication services provide the exchange of
data sampling rates. First estimations lead us to consider a values in real-time (GOOSE and Sampled Values, based on
data sampling range among 256 and 1024 samples per cycle Layer 2 Multicast) and in a client-server relation based on
(12.8KSamples/s to 51.2KSamples/s). TCP/IP and higher layer protocols. These basic features of
Data sampling rate must be kept as low as possible, since IEC 61850 are depicted in Fig.6.
it considerably increases the already high computational load
required for correlation DFT and FFT phasor estimation
methods [18]. When nominal frequency remains constant,
phasor estimations for N samples per cycle can be obtained
[19] on a continuous basis from a correlation DFT. Between
sampling and sampling are calculated each of the terms of the
DFT to guarantee the processing in real-time.
1240
- Methods with Slave1.Test A: Device-B (PMU-B) REFERENCES
provides information (Status, 3-phase electrical [1] Timing and Synchronization Systems. Planning for Synchronization.
Measurements, sensor information, Engineering and http://zone.ni.com.
Configuration information), that can be retrieved (Get) by [2] Andrea Carta, Nicola Locci, Carlo Muscas, Member, IEEE, and Sara
Device A. Device-A (PMU-A) may operate something in Sulis, Member, IEEE, “A Flexible GPS-Based System for
Synchronized Phasor Measurement in Electric Distribution Networks”,
Device B (open a breaker, start a program, etc.). A change of IEEE transactions on instrumentation and measurement, VOL. 57, NO.
a breaker position may cause a report of the new value to a 11, NOVEMBER 2008
specific Device; or the change may be logged and queried for [3] Hong Li, Weiguo Li, ”A new method of power system state
retrieval later on. These services use a client-server estimation based on wide-area measurement system” Industrial
Electronics and Applications, 2009. ICIEA 2009. 4th IEEE Conference
communication based on TCP/IP. on Digital Object Identifier: 10.1109/ICIEA.2009.5138565 Publication
In IEC 61850 there are several categories of Data Objects Year: 2009 , Page(s): 2065 – 2069.
that provides various aspects of the monitoring process, like [4] Du, X.W., Liu, D.C.; Li, Y., “Mixed Digital/Analog Testing System
status information. IEC 61850-7-3 provides several attributes for Relay Protection of Power System”, Industrial Electronics and
of the status, like Timestamp. It is possible to send GOOSE Applications, 2007. ICIEA 2007. 2nd IEEE, Publication Year: 2007,
Page(s): 407 – 410
messages containing this information. GOOSE messages are
[5] IEEE 37.118-2005. IEEE Standard for Synchrophasors for Power
sent to by multicast to any IEDs connected to the same System.
subnetwork. [6] Marco Lixia, Carlo Muscas, Sara Sulis: “Application of IEEE 1588
For evaluation purpose we use the IEC 61850/61400-25 to the Measurement of Synchrophasors in Electric Power Systems”,
free DLL (Dynamic Link Library) from Systemcorp (Perth, ISPCS 2009 International IEEE Symposium on Precision Clock
Synchronization for Measurement, Control and Communication
Australia) to communicate from a computer. SystemCorp Brescia, Italy, October 12-16, 2009
and Netted Automation offer three Application examples [7] Begovic, M., Novosel, D., & Djokic, B. (2008). Issues related to the
using the DLL: C Server Application (simple Console), C implementation of synchrophasor measurements. 41st Annual Hawaii
Client Application (simple Console) and “C#/.Net” Client International Conference on System Sciences, 164-164.
Application (runs under XP, Vista, Windows 7). [8] Chakrabarti, S.; Kyriakides, E.; Tianshu Bi; Deyu Cai; Terzija, V.;
(2009) Measurements get together. IEEE Power and Energy Magazine,
7(1), 41-49.
V. CONCLUSIONS [9] Jiang, Z. (2009). Computational intelligence techniques for a smart
electric grid of the future. Lecture Notes in Computer Science. 5551,
With experimental PTP-based V1 system [21], substation 1191-1201.
events could be synchronized within 12 microseconds. TVE [10] Martin, K. E., Hamai, D., Adamiak, M. G., Anderson, S., Begovic, M.,
requirements limit time error to be lower than 31μs.. Benmouyal, G., et al. (2008). Exploring the IEEE standard C37.118-
We also study the possibility of adding functionality to 2005 synchrophasors for power systems. IEEE Transactions on Power
Delivery, 23(4), 1805-1811.
transmitting GOOSE messages on an Ethernet network with [11] Yang Liu, Zivanovic, R., Al-Sarawi, S., Marinescu, C., Cochran, R.,
IEEE 1588-2008 synchronization. “A synchronized event logger for substation topology processing”,
With experimental PTP-based V2 system proposed in this Power Engineering Conference, 2009. AUPEC 2009. Australasian
paper we hope to achieve accuracy within some 100 Universities Publication Year: 2009 , Page(s): 1 - 6
[12] Erich W. Gunther, “Cybectec Substation Gateways”,
nanoseconds. Some important enhancements [22], among SmartGridnew.com, Publication Year: Nov 5, 2008.
others, are: enablers for increased accuracy higher timestamp [13] IEDScout – Software tool for engineers work with IEC 61850, Version.
resolution, shorter sync intervals, correction field, rapid 2.0, OMICRON electronics GmbH, 2009. Available at:
reconfiguration after network topology changes, fault http://www.omicron.at/en/products/pro/communication-protocols/iec-
61850/iedscout/, last accessed on 1st June, 2009.
tolerance, unicast operation and new mappings (for example, [14] IEEE Std 1588-2002, IEEE Standard for a Precision Clock
PTP directly on Ethernet MAC layer, without IP/UDP). Synchronization Protocol for Networked Measurement and Control
Synchronism with this error allows us to get the maximum Systems. (2002) The Institute for Electrical and Electronics Engineers,
transfer speed of IEC61850 to a computer in the same subnet. Inc., New York.
[15] P. Ferrari, A. Flammini, D. Marioli, S. Rinaldi, A. Taroni:
The data could reach the client in about 2.5 ms. “Synchronization of the Probes of a Distributed Instrument for
RealTime Ethernet Networks”, IEEE ISPCS 2007, 1-3 Oct. 2007, pp.
ACKNOWLEDGEMENTS 33-40.
[16] C. Na, D. Obradovic, R. L. Scheiterer, G. Steindl, and F. J. Goetz:
This research was supported partially by the Company
“Synchronization performance of the precision time protocol in
Telvent Energy, Spain, through the project Malaga SmartCity Industrial Automation Networks”, IEEE Transactions on
under contract number 12009028. SmartCity’s budget is Instrumentation and Measurement, Vol. 58, No. 6, June 2009.
partly financed by the European regional development fund [17] Moreno-Munoz, A., Pallares, V., Flores, J.M., de la Rosa, J.J.G.,
(ERDF) with backing from the Junta de Andalucía and the “DSP algorithm for the real time detection of power quality surge
transients”, Industrial Electronics and Applications, 2009. ICIEA 2009.
Ministry of Science and Innovation’s Centre for the 4th IEEE Conference, Publication Year: 2009 , Page(s): 2690 – 2694.
Development of Industrial Technology. The authors would [18] Lee Barford, Member, IEEE, and Jeff Burch. “Fourier Analysis
like to thank the Spanish Ministry of Industry, Tourism and From Networked Measurements Using Time Synchronization”. IEEE
Trade for funding the Project TSI-020100-2010-484 which Transactions on Instrumentation and Measurement. vol. 56, no. 5,
october 2007
partially supports this work. Our unforgettable thanks to the
[19] Synchronized Phasor Measurements and Their Applications. A.G.
Spanish Ministry of Science and Innovation for funding the Phadke • J.S. Thorp. EDIT. Springer, 2008. ISBN: 978-0-387-76535-8.
research project TEC2010-19242-C03-02(03).
1241
[20] DSP Applications Using C and the TMS320C6x DSK. Rulph
Chassaing. EDIT. JOHN WILEY & SONS, INC., 2002. ISBN 0-471-
22112-0.
[21] Pallarés-López, V., Moreno-Muñoz, A., De La Rosa, J.J.G., Real-
Calvo, R. (2010). “An IEEE1588-BASED system for synchronized
PMUs and protective relaying functions”. SPEEDAM 2010 -
International Symposium on Power Electronics, Electrical Drives,
Automation and Motion , art. no. 5542201, pp. 593-598.
[22] Jiho Han, Student Member, IEEE, and Deog-Kyoon Jeong, Senior
Member, IEEE:” A Practical Implementation of IEEE 1588-2008
Transparent Clock for Distributed Measurement and Control Systems”.
IEEE transactions on instrumentation and measurement, vol. 59, no. 2,
february 2010.
1242