The present disclosure generally relates to synchronizing time sources for a digital substation. More particularly, the present disclosure relates to synchronizing time sources when a global master time source has a degraded time quality or is otherwise unavailable.
A typical power distribution grid includes a power plant, a transmission substation, high voltage transmission lines, and a power substation. The power substation includes primary equipment (e.g., transformers, lines/feeders, circuit breakers, disconnect switches, distribution busses) that is located in a switchyard and secondary equipment (e.g. protection and control intelligent electronic devices (IEDs)) located in a control house, separate from the switchyard. In a conventional power substation, these protection and control IEDs are installed per primary equipment also known as protection zones (e.g. transformer protection zone IEDs, transmission line IEDs, bus IEDs, etc.).
In a digital substation, process units or merging units are installed in close proximity to the primary equipment to measure and digitize any communication interface with IEDs within a protection zone exchanging sampled value data streams as well as control or event messages.
A common mode to exchange digitized information within a digital substation is through synchronization of time clock signals of devices (e.g., IEDs and process units) within the substation. In conventional substations, a global master (e.g., grandmaster clock) is a time source to which all devices within the substation are synchronized using a protocol. However, synchronization to the global master may reduce reliability and/or availability of local protection systems (e.g., systems in the same physical location).
The global master and all devices with a time source within the substation include a time quality that should be of a predetermined threshold to prevent failure. Where time quality is lower than the predetermined threshold, failure within the substation can occur.
Accordingly, there is a need to determine the presence of time source failures and synchronize all devices within a substation to time source when the global master fails.
The embodiments featured herein help solve or mitigate the above-noted issues as well as other issues known in the art. Specifically, the present technology allows devices in a local protection zone of a digital substation to synchronize with a device within the local protection system when a global time source is unavailable. The present technology also recognizes when the global time source once again becomes available.
The embodiments include a system for synchronizing time sources within a protection zone of a digital power substation. The system includes a global time source having a first time signal and a first time quality, and a processing communication network having a plurality of switches where each switch is in communication with the global time source.
In some embodiments, the processing communication network is a first processing communication network having a first plurality of switches, the first processing communication network configured to be in communication with a second processing communication network comprising a second plurality of switches each synchronized to the global time source.
The system also includes an electronic device that receives time from the global time source and a process unit. The electronic device has a protection zone master clock that communicates a second time signal and a second time quality to the processing communication network. The process unit includes a time source configured to receive and process data packets, which include (i) the first time signal and first time quality and (ii) the second time signal and second time quality. The time source of the process unit synchronizes with the protection zone master clock where the first time signal is unavailable or the first time quality of the global time source is degraded below a predetermined threshold. In some embodiments, the predetermined threshold is the second time quality of the protection zone master clock.
In some embodiments, the electronic device also includes at least one digital protection relay port to receive the data packets from the global time source and communicate data packets the process unit. In some embodiments, the electronic device is one of a plurality of electronic devices, each electronic device having a protection zone master clock producing a time signal and a quality and each electronic device having a ranking on a predetermined clock priority table.
In some embodiments, the clock priority table ranks the plurality of the electronic devices by the time signal and time quality of each protection zone master clock. In some embodiments, the time source of the process unit synchronizes with the protection zone master clock from one electronic device of the plurality of electronic devices that has a higher ranking on the clock priority table when compared to another electronic device of the plurality of electronic devices on the clock priority table.
The embodiments also include a method for synchronizing time sources within a protection zone of a digital power substation. In the method, a process unit, having a time source, receives a first data set from a global time source in communication with a processing communication network comprising a plurality of switches. The first data set includes a first time signal and a first time quality.
The process unit also receives a second data set comprising a second time signal and a second time quality from an electronic device. The electronic device includes a protection zone master clock that in communication with the processing communication network. When the process unit determines that the first time quality does not meet a predetermined threshold, the process unit updates the time source to the second time signal.
The embodiments also include a second method for synchronizing time sources within a protection zone of a digital power substation. In the second method, an electronic device receives a first data set comprising a first time signal and a first time quality from a global time source in communication with a processing communication network comprising a plurality of switches. The electronic device includes a protection zone master clock in communication with the processing communication network.
The electronic device also compares a second data set from the protection zone master clock comprising a second time signal and a second time quality to the first data set from the global time source. When the electronic device determines that the first time quality does not meet a predetermined threshold, the electronic device transmits the second time signal and time quality to the processing communication network for synchronization with a time source of a process unit.
Additional features, modes of operations, advantages, and other aspects of various embodiments are described below with reference to the accompanying drawings. It is noted that the present disclosure is not limited to the specific embodiments described herein. These embodiments are presented for illustrative purposes only. Additional embodiments, or modifications of the embodiments disclosed, will be readily apparent to persons skilled in the relevant art(s) based on the teachings provided.
Illustrative embodiments may take form in various components and arrangements of components. Illustrative embodiments are shown in the accompanying drawings, throughout which like reference numerals may indicate corresponding or similar parts in the various drawings. The drawings are only for purposes of illustrating the embodiments and are not to be construed as limiting the disclosure. Given the following enabling description of the drawings, the novel aspects of the present disclosure should become evident to a person of ordinary skill in the relevant art(s).
While the illustrative embodiments are described herein for particular applications, it should be understood that the present disclosure is not limited thereto. Those skilled in the art and with access to the teachings provided herein will recognize additional applications, modifications, and embodiments within the scope thereof and additional fields in which the present disclosure would be of significant utility.
The grandmaster clock 110 is a precision clock that supports Precision Time Protocol (PTP) and delivers time and frequency synchronization to the process communication network 120. The grandmaster clock 110 provides a source of synchronization for PTP clients (e.g., PTP slaves) and communicates a precision time (e.g., current time of day) to the process communication networks 120.
Data packets including the precision time and time quality are communicated to the IED 160 and the process unit(s) 130 to allow time synchronization of the clocks within these devices. The data packets are communicated at a predetermined frequency (e.g., nanosecond). Additionally, each precision time communicated includes a time quality. For example the precision time can be 12:00:00±0.5 nanoseconds. The precision time and frequency can be regulated according to a recognized standard such as but not limited to IEEE 1588 and Inter-Range Instrumentation Group (TRIG) time code standards (e.g., IRIG-B).
The process communication network 120 is suited to connect devices within a specific area (e.g., within a digital substation), thus allowing for synchronization of clocks within the devices. For example, each of the process communication network 120 can be a local area network (LAN), a metropolitan area network (MAN), or a wide area network (WAN). The network 120 communicates data from the grandmaster clock 110 to the process unit 130 and the IED 160 across the designated protection zone and other protection zones in the digital sub station.
The networks 120 access one or more controllers 200, positioned within or remote from the network 120. The controllers 200 are cable of executing instructions associated with selecting a device (e.g., the grandmaster clock 110) with which to synchronize other devices in physical proximity of one another (e.g., process unit(s) 130 and IEDs 160). Further details of the controller 200 is described in association with
The process unit 130, is an input/output device that receives analog and binary signals from primary equipment (e.g., transformers). The process unit 130 is in connection with the network 120 by way of a patch panel 140. The process unit 130 is also connected to the IEDs 160 via connection 134.
The process unit 130 includes a plurality of process unit communications (bCom) ports 132 through which inputs (e.g., analog and binary signals from the primary equipment), are received and through which outputs (e.g., binary commands (e.g., trip command and reclose command) are communicated to the primary equipment. In operation, the process unit 130 converts data from binary and/or analog signals into a digital signal and transmits the digital signal to the IED 160 using clock signals provided by each IED 160 to the connected process unit 130.
In some embodiments, the process unit 130 is a generic device 135 with basic input and output functions to receive and process data. The generic device 135 may replace the process unit 130 where minimum functionality (e.g., simile input/output ports or data processing) are needed.
The IEDs 160 are a controllers and/or processors used in the designated protection zone of particular equipment such as, a power transformer zone for example. The IEDs 160 may function a programmable logic controller, substation local area network node, and/or an IED gateway. In some embodiments, the IEDs 160 communicate using the Supervisory Control and Data Acquisition (SCADA) protocol.
The IEDs 160 receives data from the grandmaster clock 110 by way of the network 120 and issue control commands to the process unit 130. The IED 160 also includes settings to identify parameters with which to choose a master, as discussed in association with
Each IED 160 (i.e., IED-1 through IED-N includes a central processing unit (CPU) 162 for receipt of the precision time, by way of a connection 156 (represented as a dotted line). The precision time is communicated using a station bus configured according to the Precision Time Protocol (e.g., IEEE 1588 PTP ver. 2).
Each IED 160 also includes a processor 164 and one or more process card communications ports (pCom ports) 166 for connection of a process card of the IED 160 the network 120. At least one pCom port 166 configured to receive a signal via a first connection 152 (represented as a solid line) from the network, and at least one pCom port 166 is configured to send a signal via a second connection 154 (represented as a dashed line). The pCom ports 166 are digital protection relay ports that can serve as a temporary protection zone (local) master clock to the process unit(s) 130, the generic device(s) 135, and any remaining (non-designated) IEDs 160 within the same physical location or protection zone until the grandmaster clock 110 becomes available and/or has a regained a predetermined time quality.
The first connection 152 enables the IED 160 to receive data from the grandmaster clock 110 via the network 120. In normal operation, the IED 160, process unit 130, and generic device 135 receive pulses from the grandmaster clock 110. However, when the grandmaster clock 110 has a degraded time quality or is otherwise unavailable (e.g., loss of power), data may not be received by the devices. The first connection 152 allows a designated IED 160 to serve as a protection zone master clock to the process unit(s) 130, the generic device(s) 135, and the non-designated IEDs 160 within the designated protection zone. It is contemplated that each protection zone in a digital substation includes at least one IED to serve as a protection zone master in where the grandmaster clock has degraded time quality or is otherwise unavailable.
The second connection 154 allows the designated IED 160 to serve as the protection zone master clock by sending pulses to the process unit 130, generic device 135, and/or non-designated IEDs 160 that synchronize clocks within these devices with the precision time provided by the designated IED 160. For example, where the IED-1 is designated to serve as the protection zone master clock, IED-2 through IED-N will receive precision time from the IED-1. Additionally, the process unit 130 and the generic device 135 will also receive the precision time from the IED-1.
Designation of an IED 160 to serve as protection zone master clock may be determined by a Clock Priority Table. The clock priority table can be configured by a user to prioritize an order in which the IEDs 160 would be designated to serve as the protection zone master clock. Specifically, the clock priority table provides ordering among otherwise equivalent clocks from which the protection zone master clock is selected. The IEDs 160 can be ranked on the clock priority table by criteria such as, but not limited to, signal availability of the IED 160, time quality produced IED 160, and physical location of the IED 160.
Using an IED 160 as a temporary protection zone master clock is beneficial because Precision Time Protocol requirements for a clock serving as a temporary master clock when the grandmaster clock is unavailable is greatly reduced. Since the IEDs 160 are in physical proximity (i.e., same zone) with the process unit 130 and/or the device 135, it is convenient to use these devices to serve temporarily as the protection zone master clock while the grandmaster clock 110 is unavailable.
The controller 200 includes a memory 210. The memory 210 may include several categories of software and data used in the controller 200, including, applications 220, a database 230, an operating system (OS) 240, and I/O device drivers 250.
As will be appreciated by those skilled in the art, the OS 240 may be any operating system for use with a data processing system. The I/O device drivers 250 may include various routines accessed through the OS 240 by the applications 220 to communicate with devices and certain memory components.
The applications 220 can be stored in the memory 210 and/or in a firmware (not shown in detail) as executable instructions and can be executed by a processor 260.
The processor 260 could be multiple processors, which could include distributed processors or parallel processors in a single machine or multiple machines. The processor 260 can be used in supporting a virtual processing environment. The processor 260 may be a microcontroller, microprocessor, application specific integrated circuit (ASIC), programmable logic controller (PLC), complex programmable logic device (CPLD), programmable gate array (PGA) including a Field PGA, or the like. References herein to processor executing code or instructions to perform operations, acts, tasks, functions, steps, or the like, could include the processor 260 performing the operations directly and/or facilitating, directing, or cooperating with another device or component to perform the operations.
The applications 220 include various programs, such as sequences 300, 400, 500 (shown in
The applications 220 may be applied to data stored in the database 230, along with data, e.g., received via the I/O data ports 270. The database 230 represents the static and dynamic data used by the applications 220, the OS 240, the I/O device drivers 250 and other software programs that may reside in the memory 210.
While the memory 210 is illustrated as residing proximate the processor 260, it should be understood that at least a portion of the memory 210 can be a remotely accessed storage system, for example, a server on a communication network, a remote hard disk drive, a removable storage medium, combinations thereof, and the like. Thus, any of the data, applications, and/or software described above can be stored within the memory 210 and/or accessed via network connections to other data processing systems (not shown) that may include a local area network (LAN), a metropolitan area network (MAN), or a wide area network (WAN), for example.
It should be understood that
The term “application,” or variants thereof, is used expansively herein to include routines, program modules, programs, components, data structures, algorithms, and the like. Applications can be implemented on various system configurations including single-processor or multiprocessor systems, minicomputers, mainframe computers, personal computers, hand-held computing devices, microprocessor-based, programmable consumer electronics, combinations thereof, and the like.
In certain embodiments, some or all steps of this process, and/or substantially equivalent steps are performed by a processor (e.g., computer processor, executing computer-executable instructions), corresponding to one or more corresponding algorithms, and associated supporting data stored or included on a computer-readable medium, such as any of the computer-readable memories described above, including the remote server and vehicles.
At 310, the system 100 detect an issue with the grandmaster clock 110. Specifically, one of the networks 120 detect that the grandmaster clock 110 has a time quality degraded from the predetermined threshold or the signal of the grandmaster clock 110 has a failure or is otherwise unavailable.
At 320, when the grandmaster clock 110 has degraded time quality or is otherwise unavailable, the network 120 selects the IED 160 as the protection zone master clock. Where the grandmaster clock 110 is unavailable, one of the IEDs 160 is selected as the protection zone master. Where the grandmaster clock 110 has a time quality that does not meet the predetermined threshold, one of the IED 160 serves as the protection zone master clock where the time quality of the IED 160 meets the predetermined threshold. The IED 160 selected to serve as the protection zone master clock is selected from the clock priority table.
At 330, the process unit 130 and the generic device 135 are synchronized with the protection zone master clock, specifically the IED 160.
In some embodiments, the grandmaster clock 110 is notified that the IED 160 has taken responsibility for communicating the precision time to the process units 130 and other IEDs 160. In such embodiments, the grandmaster clock 110 may continue to send signals to the process units 130 and the IED 160. However, the process units 130 and IED 160 are configured to bypass the data sent by the grandmaster clock 110 when its time quality is degraded.
In some embodiments, the event signal failure is logged/stored to an internal memory within the network 120, the process unit 130, and/or the IED 160. In some embodiments, the process unit 130 and/or the IED 160 are configured to alert (e.g., light or sound) a user of the signal failure.
At 340, the networks 120 monitor the availability of other clocks (i.e., IEDs 160). At 230, the networks 120 to determine if an IED 160 having a higher priority than the current protection zone master clock is available to serve as the protection zone master clock. Specifically, if the protection zone master clock needs to change from a first IED 160 to a second IED 160 having a more desirable position on the clock priority table. Further details about monitoring availability of other clocks is described in association with
At 360, where the second IED 160 has a higher priority than a first IED 160 (e.g., path 352), the second IED 160 will serve as the protection zone master clock. Specifically, the network 120 stops the signals from the connections 152, 154 from the first IED 160 from serving as the as the protection zone master clock and allows the signals from the connections 152, 154 from the second IED 160 to serve as the protection zone master clock. As a result, the first IED 160 becomes a PTP slave and the second IED 160 become a PTP master.
Where the second IED 160 does not have a higher priority than the first IED 160 (e.g., path 354), the first IED 160 will remain the protection zone master clock, and the networks 120 will continue monitoring availability of the protection zone (local) master clocks.
At 370, the network 120 monitors the availability of the grandmaster clock 110. The IED 160 monitors to determine if the signal from the grandmaster clock 110 has been restored or if the time quality received by the grandmaster clock 110 has reached the predetermined threshold.
Where the grandmaster clock 110 is still unavailable or has a time quality that does not meet the predetermined threshold (e.g., path 382), the network 120 continues monitoring for availability of the grandmaster clock 110.
At 390, where the grandmaster clock 110 become available (e.g., path 384), the network 120 synchronizes the process units(s) 130 and IEDs 160 with the grandmaster clock 110. In some embodiments, the grandmaster clock 110 resumes responsibility as the PTP master, when the time quality of the grandmaster clock 110 has improved to meet the predetermined threshold. In some embodiments, the grandmaster clock 110 becomes the PTP master at the expiration of a switch-back delay. The switch-back delay sets a predetermined time period in which the system 100 will automatically being sending the signal provided the grandmaster clock 110.
At 410, the system 100 monitors time signal and time quality messages received from each device, especially the IEDs 160. The system 100 also monitors the clock with which each device is synchronized. Specifically, determining that all devices are synchronized to the same clock (i.e., the grandmaster clock 110 or the IED 160 serving as the protection zone master clock).
At 420, the system 100 determines if the process unit 130, the generic device 135, and the non-designated IEDs 160 are receiving time from the same time source, specifically, are all devices being synchronized to the grandmaster clock 110 or the designated IED 160 serving as the protection zone master clock.
Where all devices are not receiving time from the same time source (i.e., path 422), a pulse signal is sent to all devices for synchronization at step 430. In some embodiments, a pulse signal is sent only to the specific device(s) which need to be synchronized. The pulse signal synchronizes the device(s) to the highest clock within the device that has the highest priority in the clock priority table.
Where all devices are receiving time from the same time source (i.e., path 424), an individual device sequence 440 begins. The sequence 440 is a series of steps that determines if each device (i.e., process unit 130, generic device 135, and IED 160) is properly synchronized with other devices in the same physical location. The sequence 440 monitors specifics of each device such as time quality, which allows the system 100 to synchronize all devices within the same physical location to the best time source available.
At step 450, the system 100 determines if a time signal is received for a particular device at step 450. Monitoring the time signal allows the system 100 to determine which devices (i.e., IEDs 160) are available to serve as the protection zone master clock in the event that the grandmaster clock 110 has a degraded time quality or is unavailable. Where no time signal is received for the particular device (i.e., path 452), the particular device is synchronized with the highest priority clock in the clock priority table at step 430.
Where a time signal has been received for the particular device (i.e., path 454), the system 100 determines if a time quality is received for the particular device at step 460. Monitoring the time quality allows the system 100 to determine which devices (i.e., IEDs 160) have the best time quality when designating the protection zone master clock in the event that the grandmaster clock 110 has a degraded time quality or is unavailable. Where no time signal is received for the particular device (i.e., path 452), the particular device is synchronized with the highest priority clock in the clock priority table at step 430.
Where a time quality has been received for the particular device (i.e., path 464), the system 100 determines if the particular device is listed on the clock priority table at step 470. Presence of the particular device on the clock priority table means that the particular device is available to serve as the protection zone master clock where the grandmaster clock 110 is unavailable. For example, the process unit 130 and the generic device 135 are not listed on the clock priority table, so they are not available to serve as the protection zone master clock. Where the particular device is not listed on the clock priority table (i.e., path 472), that particular device is synchronized with the highest priority clock in the clock priority table at step 430.
Where the particular device is listed on the clock priority table (i.e., path 474), the system 100 determines if the particular device has the highest priority on the clock priority table at step 480. Where the particular device is not the highest priority clock on the clock priority table (i.e., path 482), the particular device is synchronized with the highest priority clock in the clock priority table at step 430. Where the particular device is the highest priority on the clock priority table (i.e., path 484), the particular device is the designated protection zone master clock and all devices (i.e., process unit 130, generic device 135, and non-designated IEDs 160) synchronize with the particular device.
At 510, the networks 120 monitor time signal and time quality messages received from the all clocks housed in the clock priority table, specifically the grandmaster clock 110 and IEDs 160. The time signal and time quality messages are compiled into a list of which IEDs 160 are available to serve as the protection zone master clock when the grandmaster clock 110 has a degraded time quality or otherwise unavailable.
At 520, the networks 120 determine if a time signal and time quality message has been received from all IEDs 160. At 530, where a time signal and time quality message is not received from a specific IED 160 (e.g., path 552), the priority of that IED 160 is reduced on the clock priority table.
At 540, the networks 120 may log or otherwise document (e.g., to a memory) which IEDs 160 did not send a message of availability. In some embodiments, a failure to send the message of availability is logged/stored to an internal memory within the IED 160. In some embodiments, the IED(s) 160 having a signal failure are configured to alert (e.g., light or sound) a user of the signal failure.
At 560, the networks 120 communicate the list of IEDs 160 available to serve as the protection zone master clock to the process unit(s) 130 and the IEDs 160. As such, all devices receive the list of available protection zone master clocks, even if the device is not on the clock priority table, or even if the device has a lower positon on the clock priority table. The list of available protection zone master clocks are distributed to devices in physical proximity (i.e., same zone) of one another. As such, during failure or degradation of the grandmaster clock 110 time, the process unit(s) 130 and the IEDs 160 in the same zone will be synchronized to the same precision time, which can prevent an interruption in power to equipment, such as a transformer bank being protected by the IEDs 160.
Those skilled in the relevant art(s) will appreciate that various adaptations and modifications of the embodiments described above can be configured without departing from the scope and spirit of the disclosure. Therefore, it is to be understood that, within the scope of the appended claims, the disclosure may be practiced other than as specifically described herein.