Method and Apparatus for Detecting Communication Channel Delay Asymmetry
Technical Field
The invention relates to the communication in a transmission line protection system. In particular, the invention relates to a method and apparatus for detecting communication channel delay asymmetry and ensure accurate synchronization of line differential IEDs (Intelligent Electrical Devices).
Background Art
Numerical line current differential protection has been established as one of the most popular transmission line protection scheme. This is mainly because of its simple and clear nature. The differential line protection has natural phase segregated operation capability; immunes to power swing; weak in-feed; and is applicable to multi-terminals solution, etc. The developments of communication technology have even promoted more popular applications of line d fferential protection.
In a numerical line differential protection, the signals of sampled current are obtained from protection devices (e.g., IEDs) located geographically apart from each other. The current signals sampled from different IEDs (normally locate at different line ends) have to be synchronized (also referred to as time coordinated) before comparing with each other in order to avoid introducing errors.
The synchronization of sampled signals from different IEDs (also referred to as the synchronization of different IEDs in this invention) has to be very accurate, or otherwise the synchronization error might cause serious incorrect operation of line current differential protection. An inaccuracy of 0.1 ms in a 50 Hz AC system brings a maximum amplitude error of operation current around 3%, whilst an inaccuracy of 1ms brings a maximum amplitude error of around 31%. The corresponding errors for a 60 Hz system are respectively around 4% and 38%. (See, ABB Technical reference manual line difference protection IED RED670, and Phil Beaumont, Gareth Baber, et al. Line Current Differential Relays Operating over SDH/SONET Networks. PAC, summer 2008).
Presently, most of line differential relays adopt the so called "Echo method" (also referred to as "Ping-Pong method") to ensure the synchronization. The theory of echo method is briefly introduced by one echo process below:
As shown in Fig, 1, A and B indicates two protection devices, such as EED. And the IEDs communicate with each other by sending and receiving messages. The IED B sends a message to IED A at IED B's internal time Tl . IED A receives the message at its internal clock time T2. Similarly, IED A sends a message to IED B at IED A's internal time T3, and IED B receives the message at its internal time T4. Therefore, time instances T2 and T3 are taken with reference to the internal clock of IED A, and the time instances Tl and T4 are taken with reference to the internal clock of IED B. The communication time consumed between the IEDs is thereby measured.
The time instances T2 and T3 are transferred from IED A to IED B (or vice versa). It is assumed that the sending and receiving delays between the IEDs are equal to each other (also referred to as symmetrical channel delay). IED B then calculates the communication delay time Td (from IED A to
IED B or from IED B to IED A) and the clock disparity At between the reference clocks of IED A and lED B.
The clock disparity At and communication delay are then used for synchronizing the sampled signals through interpolating the sampled signals from the remote end before the current differential algorithm is executed, or executing sampling timing control to achieve that the sampling instants of both IEDs are synchronized. The synchronization can be implemented by many conventional approaches, such as the method disclosed in Houlei Gao, Shifang Jiang , et al. Sampling Synchronization methods in digital current differential protection. Automation of electric power systems, Vol 20, Sep 1996. The calculated clock disparity At and communication delay must be very accurate to ensure the accuracy of synchronization.
However, the assumption of symmetrical channel delay in the traditional echo method above is not always valid. This is particularly true with the popular applications of SDH SONET (Synchronous Digital Hierarchy/Synchronous Optical Network). The SDH/SONET is able to survive failures of the network by reconfiguring and mamtaining services through the use of self-healing ring architectures. The self-healing or self-switching structures in a communication ring can be either "unidirectional" or "bi-directional". In a unidirectional switching, only the faulted path is switched to the opposite direction whilst the non-faulted path keeps its original route. In a bi-directional switching, when there is a fault occurred in the ring, both the sending and receiving routes are switched to follow the same opposite direction along the ring. The difference is that the bi-directional switching will maintain an equal signal communication delays for the same switched sending and receiving paths, whilst unidirectional switching may introduce permanently asymmetrical communication delays through different sending and receiving routes. However, it has to be noted that the bi-directional switching does not introduce permanently asymmetrical communication delays, but the introduced transient asymmetrical delays could be 50 ms or even longer.
When the channel delays are asymmetrical (i.e. sending and receiving delays are different) and such an asymmetry is not detected by the IEDs, the traditional echo method, which is based on the assumption of symmetrical communication delay, is no longer valid, and the differential IEDs are under high risk of incorrect operation. Therefore, a reliable method to ensure the synchronization no matter the channel delays are symmetrical or not is of high importance and desirable.
Several approaches have been proposed to solve the problem of asymmetrical communication delay. A GPS (or other external clocks such as Compass / BeiDou Navigation Satellite System, Galileo, etc) based method was proposed. As an example of such external clock based methods, a GPS receiver module is embedded in each IED for synchronizing its local clock with the external clock. However, in practice, the GPS signals are not always perfectly or precisely received by the IEDs. The GPS antenna has to be installed with care. Otherwise the reception of GPS signal may be interrupted. Mal-operation (e.g. field engineers iinintentionally disconnect the cable or antenna) or unfavorable environment (e.g. antenna close to coast is corroded by water, military GPS jarmning) also result an unreliable signal receiving. In the situations described above, the IED will probably lose the capability of tolerating communication delay asymmetry.
As shown in above paragraphs, the existing methods are not reliable under many situations. Therefore, it is highly desirable to propose a method which can reliably detect channel delay asymmetry and ensure accurate synchronization no matter the channel delays are symmetrical or asymmetrical.
Brief Summary of the Invention
The invention proposes a method to detect the communication delay asymmetry and ensure accurate synchronization of line differential IEDs.
According to one preferred embodiment of the invention, it provides a method for detecting communication channel delay asymmetry between transmission line protection devices. The method
comprises: calculating, repeatedly, a clock disparity between clocks of the protection devices and communication delays at different paths of the communication channel; comparing the latest calculated clock disparity and communication delays with previously calculated clock disparities and communication delays, respectively; determining a channel switching has happened if a change of the calculated clock disparity exceeds a first threshold, or a change of the calculated communication delays for any path exceeds a second threshold; and determining the channel delays as asymmetrical if a difference between the calculated communication delays of the different paths after the channel switching exceeds a third threshold.
According to another preferred embodiment of the invention, wherein, the clock disparity and communication delays are calculated based on a difference between the communication delays of data sending and receiving paths; and synchronizing signals sampled by protection devices based on the calculated clock disparities and communication delays.
According to another preferred embodiment of the invention, wherein, the method further comprises: calculating the communication delays of sending and receiving path after the channel switching, based on the clock disparities calculated before the channel is switched; and calculating the difference between the communication delays of sending and receiving path after the channel switching.
According to another preferred embodiment of the invention, the method further comprises: comparing the calculated communication delays after the channel switching with the calculated communication delays before the channel switching; identifying a communication path which is un- switched if the change of the calculated communication delays of the path is less than a fourth threshold; adjusting the clock disparities by the communication delay of the un-switched communication channel, and adjusting the communication delays of the data sending and receiving path by the adjusted clock disparities.
According to another preferred embodiment of the invention, the method further comprises: calculating a mean value of the calculated clock disparities, a mean value of the calculated communication delays of data sending path, a mean value of the calculated communication delays of data receiving path; comparing the latest calculated clock disparity with the mean value of calculated clock disparities; and comparing the latest calculated communication delays with the mean values of calculated communication delays .
According to another preferred embodiment of the invention, the method further comprises: calculating a mean value of the calculated communication delays of sending path, a mean value of calculated communication delays of receiving path; calculating the difference between the mean values of the communication delays of sending path and receiving path.
According to another preferred embodiment of the invention, the method further comprises: calculating a mean value of the calculated communication delays before the channel switching; calculating a mean value of the calculated communication delays after the channel switching; comparing the calculated mean value after the channel switching with the calculated mean value before the channel switching.
According to another preferred embodiment of the invention, wherein: the first and fourth thresholds depend on the accuracy of oscillators of the protection devices, length of communication interruption period caused by the channel switching, and the jitter characteristic of communication channels; and the second and third thresholds depend on the jitter characteristic of the communication channel.
According to another preferred embodiment of the invention, it provides a method for detecting communication channel delay asymmetry between transmission line protection devices. The method
comprises: sending and receiving data through a first channel and a second channel; calculating a first delay for sending and receiving data through the first channel and second channel sequentially; calculating a second delay for sending and receiving data through the second channel and first channel sequentially; and detenrdning the communication channels as asymmetrical if the difference between the first delay and second delay exceeds a fifth threshold.
According to another preferred embodiment of the invention, wherein, it further comprises:
calculating, at least twice, a third delay for sending and receiving data through the first channel; calculating, at least twice, a fourth delay for sending and receiving data through the second channel; obtaining a difference between the at least two third delays and a difference between the at least two fourth delays; and determining the first channel as switched channel if the difference between third delays is more than a sixth threshold, and deterrnining the second channel as switched channel if the difference between fourth delays is more than the sixth threshold; and calculating the communication delays of sending and receiving paths of the switched channel.
According to another preferred embodiment of the invention, wherein, the fifth and sixth thresholds depend on the jitter characteristic of the communication channels.
According to another preferred embodiment of the invention, it provides an apparatus for detecting communication channel delay asymmetry between transmission line protection devices. The apparatus comprises: a calculating unit, which is configured to repeatedly calculate a clock disparity between clocks of the protection devices and communication delays at different paths of the communication channel, a comparing unit, which is configured to compare the latest calculated clock disparity and communication delays with previously calculated clock disparities and communication delays, respectively; a first deterrnining unit, which is configured to detennine a channel switching has happened if a change of the calculated clock disparity exceeds a first threshold, or a change of the calculated communication delays for any path exceeds a second threshold; and a second determining unit, which is configured to determine the channel delays as asymmetrical if a difference between the calculated communication delays of the different paths after the channel switching exceeds a third threshold.
According to another preferred embodiment of the invention, it provides an apparatus for detecting communication channel delay asymmetry between transmission line protection devices. The apparatus comprises: a sending and receiving unit, which is configured to send and receive data through a first channel and a second channel; a first calculating unit, which is configured to calculate a first delay for sending and receiving data through the first channel and second channel sequentially; a second calculating unit, which is configured to calculate a second delay for sending and receiving data through the second channel and first channel sequentially; and a determining unit, which is configured to determine the communication channels as asymmetrical if the difference between the first delay and second delay exceeds a fifth threshold.
According to another preferred embodiment of the invention, it provides a computer program for synchronizing communication channels between transmission line protection devices, which computer program is loadable into an internal memory of a digital computer and comprises computer program code means to make, when said program is loaded in said internal memory, the computer execute the steps according to any one of above methods.
Brief Description of the Drawings
Figure 1A and IB shows a schematic view of communication channels and echo process between two lEDs;
Figure 2 shows a schematic view of line protection system with two IEDs;
Figure 3 shows a schematic view of echo process between two IEDs; and
Figure 4 shows a schematic view of line protection system with four IEDs.
Preferred Embodiments of the Invention
Embodiment One
As shown in Fig. lA, there are two IEDs, i.e. IED A and IED B for protecting a transmission line. And the IEDs communicate with each other via two sets of communication channel, i.e. primary channel (P) and secondary channel (S). Each channel has 2 paths, i.e. sending path and receiving path. For IED A, the sending delay via primary channel (P) is referred to as Tpi, and the sending delay via secondary channel (S) is referred to as Tsi. The receiving delay via primary channel (P) is referred to as Tp2, and the receiving delay via secondary channel (S) is referred to as Ts2.
Both primary channel and secondary channel are symmetrical, however, because of the jitter characteristics of communication channel including many communication devices (for example, multiplexer, digital switch, etc), the sending delays and receiving delays of the same channel may have slight variation with each other and from time to time (also referred as to jitter). It should be noted that such jitters are acceptable as they will not cause incorrect operation of line differential protections. A set of explanatory communication delays is shown as in Table.1 below.
At any time, each IED can send message to the other IED via one path (either in primary channel or secondary channel), and receiving message from the other IED via one path (either in primary channel or secondary channel). If the sending and receiving paths are both in primary channel or both in secondary channel, the communication delays are symmetrical, or in other words, such conditions are refereed to as channel delay symmetry. However, under unfavorable conditions, the sending path is in primary channel while the receiving path is in secondary channel, or the sending path is in secondary channel while the receiving path is in primary channel, then communication delays are asymmetrical, or in other words, such conditions are refereed to as channel delay asymmetry.
Table.1 communication delays of communication channels
Tp2(ms) 1.618 1.626 1.619 1.637 1.526 1.613 1.579 1.554
Tpi(ms) 1.636 1.587 1.613 1.548 1.601 1.598 1.635 1.617
Ts2(nis) 13.139 13.212 13.198 13.203 13.282 13.197 13.168 13.196
Tsi(ms) 13.153 13.098 13.147 13.163 13.204 13.173 13.104 13.177
As shown in Table.1, the communication delays for each channel are not stable. The values of delays vary from each other at different sampling cycles (e.g. around 0.1ms) when messages are sent and received through the same route (i.e., all through primary channel or all through secondary channel). Consequently, the calculated clock disparity At between internal clocks of different IEDs may vary from time to time.
As shown in Fig. IB, the calculated one way communication delay, Tdca can be obtained by equation (1) as below, and the calculated clock disparity between IEDs A and B, At^, can be obtained by the equation (2):
Tdcal = ((T2-Tl)+(T4-T3))/2 (1)
At^ = ((T2+T3)-(Tl+T4))/2 (2)
Table.2 shows the time instance T] to T measured at each IED and the calculated Tdca[ and t^. Ίάί and T(i2 are the sending and receiving delays for IED B. It can be seen that IED B sends a message to IED A to initiate each echo process at every 5 ms. The clock of IED A is ahead of IED B by about 18.3 ms, i.e. the actual clock disparity Atact=l 8.3ms.
Table.2 Calculation of Td and At
Tdi(ms) 1.618 1.626 1.619 1.637 1.526 1.613 1.579 1.554 ^ms) 1.636 1.587 1.613 1.548 1.601 1.598 1.635 1.617
T,(ms) 0 5 10 15 20 25 30 35
T2(ms) 19.918 24.926 29.919 34.937 39.826 44.913 49.879 54.854
T3(ms) 20.038 25.046 30.039 35.057 39.946 45.033 49.999 54.974
T4(ms) 3.374 8.333 13.352 18.305 23.247 28.331 33.334 38.291
Tdcai(ms) 1.627 1.6065 1.616 1.5925 1.5635 1.6055 1.607 1.5855
At^ms) 18.291 18.32 18.303 18.345 18.263 18.308 18.272 18.269
As shown in Table 2, the calculated communication delay dCai a d clock disparity At^ vary at each echo process because Td] and Ύ& are not stable. However, the mean value of the calculated At over a given period Tmeai (e.g. 5 power frequency cycle, 20 echo processes, etc.,) is theoretically approximate to the actual Atact.
For example, the mean value of Atcai in Table.2 is: Atmean=l 8.296 ms, which is very close to 18.3ms. In the mean value calculation, it is assumed that actual At is stable. Actually the actual At is changing because of frequency difference between internal oscillators of different IEDs, and during normal operation, the actual At changes smoothly instead of suddenly in a given period. For example, if both IEDs' oscillators are of 50ppm accuracy, the biggest frequency difference is lOOppm, which means a maximum 0.1ms clock disparity for every 1 second period. If both oscillators are of lppm accuracy, the max clock disparity will be 0.1ms in a period over 50 seconds. As a result, if the error of Atmean is less than 5μ$ with a 50ppm accuracy oscillator, and the error of Atmean is less than 0.1 μ5 with a lppm accuracy oscillator. Conclusively, the mean value of the calculated At over a given period T„,eaD is theoretically approximate to the actual Atac(.
Similarly, the theoretical communication delay
ώΜ3Ι1 may be obtained based on the calculation of mean value of T
dcai. The mean value of all T
dCai in Table.2 is T^^l .600ms. According to equation (1), the calculation of T
d is not affected by the clock disparity At, therefore, the longer T
mcan is, the higher accuracy of Tdmean will be. To make the calculation simpler, the same
is used for the calculation of both Tdmean and At
It has to be noted that the period for calculating each value is not necessary a constant one. For example, the IED may perform the calculation at different frequencies with respect to different operating stages.
Above introduction is focused only on the condition that the communication channel delays are symmetrical, which is the base of traditional echo method. However, when the channel delays are asymmetrical, the echo process (a first IED sends a message to a second IED, and the said second IED sends back a message to the said first IED) can still be performed, and the echo calculation (calculating the communication delays Tdi and Td2 and the clock disparity At) can be calculated with the equations below, taking the difference between the communication delays into consideration:
Tdl = ((T2-Tl)+(T4-T3))/2+Tdifl 2 (3)
d2 = ((T2-Tl)+(T4-T3))/2-T 2 (4)
At* = ((T2+T3)-(Tl+T4))/2- Tdiff 2 (5)
Where the Tdiff is the difference between the communication delays:
Tdiff- di-Td2 (6) Tdiff can be given by operator, or calculated by IED during operation. It should be noted that when the channel delays are symmetrical, Tdiff=0, equations (3), (4) and (5) are the same with equations (1) and (2).
Normally before both IEDs start up, the field engineers of IEDs are required to ensure the channel delay symmetry. So, normally for the first echo process after both IEDs start up, T^O. If the channel delay symmetry is not ensured for the first echo process after both IEDs start up, Tdiff can be given by operator, or calculated by IED, for example, based on the external clock.
As long as Tdiff is accurate, the communication delays Tdi and and the clock disparity At are accurate, no matter the channel delays are symmetrical or asymmetrical. The clock disparity At and communication delay are then used for synchronizing the sampled signals through interpolating the sampled signals f om the remote end before the current differential algorithm is executed, or executing sampling timing control to achieve that the sampling instants of both IEDs are synchronized.
In this invention, the equations (3), (4) and (5) are used for echo calculation under both symmetrical channel delay and asymmetrical channel delay conditions. With the results of echo calculation, the IEDs can maintain synchronization, no matter the channel delays are symmetrical or asymmetrical.
When there is no channel switching, the calculated communication delay and clock disparity have small jitter at each echo process, and their mean values are even more stable. After the channel switching (normally after a short period of communication interruption, e.g. 100ms), the calculated communication delay and clock disparity will have big difference compared with the results prior to the switching. Thus the IED can detect the communication channel switching by comparing the calculated clock disparity At, communication delays di and ¾ with their prior values or preferably the mean values of their prior values. If a sudden change bigger than given threshold is observed in any one of above values, it is assumed that a channel switching was detected.
The threshold for detecting sudden change in clock disparity can be calculated and set by IED, based on the sum of the max possible change in actual clock disparity during the period of communication interruption, and the max possible jitter in calculated clock disparity caused by the communication delays' slight jitter when there is no channel switching. The max possible change in actual clock disparity during the period of communication interruption can be calculated by IED according to the accuracy of IEDs' oscillators and the length of the communication interruption period. For example, if botli IEDs' oscillators are of 50ppm accuracy, and the length of communication interruption is 100ms, then the max possible change in actual clock disparity is 0.01ms during communication interruption. The max possible jitter in calculated clock disparity caused by the communication delays' slight jitter when there is no channel switching can be set by IED operator according to the jitter characteristic of the communication channel. For example, according to the communication delays given in Table.2, the max possible jitter in calculated clock disparity caused by the communication delay jitter is 0.06ms. Considering a reasonable margin, the max possible jitter in calculated clock disparity caused by the communication delay jitter can be set as 0.1ms. Thus the threshold for detecting sudden change in clock disparity can be calculated and set by IED as 0.11ms.
The thresholds for detecting sudden change in communication delays can be set by IED operators, based on the max possible jitter in communication delays when there is no channel switching, which is according to the jitter characteristic of the communication channel. From the viewpoint of simplicity, the thresholds for detecting sudden change in communication delays of both sending path and receiving path can be set as the same value. For example, according to the communication delays given in Table.2, the max possible jitter in communication delays is 0.11ms. Considering a reasonable margin, the threshold for detecting sudden change in communication delays can be set by IED operators as 0.15ms.
After the channel switching is detected, the IED needs to calculate the new communication delays. As the actual At is caused by the frequency difference between internal oscillators of different IEDs, and changes slowly, the IED can calculate the communication delays by using the clock disparity At or preferably its mean value stored in memory before channel switching according to equations (7) and (8) below, where Atm represents the stored clock disparity before channel switching or preferably its mean value before channel switching.
Tdl = T2-T Atra (7)
Td2 = T4-T3+Atm (8)
Then the IED can calculate the new
with equation (6). To achieve better accuracy, it is preferable to calculate the mean value of the new T
diff over a given period after the channel switching.
Once the new Tdiff (or preferably its mean value) is calculated, the IED can use it to perform echo process and echo calculation with equations (3), (4) and (5), and synchronize the sampled signals with the calculated communication delays and clock disparities, until the next channel switching is detected.
If the calculated Τ^π- (or preferably its mean value) is bigger than a given threshold Tdiff*te, the IED issues an alarm signal to indicate the channel delay asymmetry.
The threshold T^ff*^ can be set by IED operators, based on the max possible difference between the communication delays of sending and receiving paths for a symmetrical channel, which is according to the jitter characteristic of the communication channel. For example, according to the communication delays given in Table, 1, the max possible difference between the communication delays for a symmetrical channel is 0.18ms. Considering a reasonable margin, the threshold for detecting sudden change in communication delays can be set by BED operators as 0.25ms. If the mean value of calculated Tatr is used, then the threshold Tdiff tiire can be set by EED operators based on the max possible difference between the mean values of communication delays of sending and receiving paths for a symmetrical channel, which is according to the jitter characteristic of the communication system. For example, according to the communication delays given in Table.1, the max possible difference between the mean values of communication delays for a symmetrical channel is 0.05ms. Considering a reasonable margin, the threshold Tdifp,]ffe can be set by IED operators as 0.1ms.
Since the channel switching normally introduces a communication interrupt, e.g., 100ms, the stored clock disparity Atm before channel switching may be inaccurate after the switching, thus the calculated communication delays by equations (7) and (8) will have errors. To further improve the accuracy, the actual At after the channel switching can be calculated by IED, To do so, the IED can find out which path (i.e., sending path or receiving path) maintains un-switched (i.e. still use its original route), then use the stored communication delay (or its mean value) of the un-switched route to calculate the actual clock disparity At after the switching.
The IED finds out which path maintains un-switched by calculating the differences between post- switching communication delays with their pre-switching delays, according to (9) and (10) below:
TdldilT
_|Tdl-T(il*m| (9)
If T
d|
iiff is smaller than a given threshold
the IED decides that the Tdi path maintains un- switched, and calculate the actual clock disparity At after the switching based on equation (11) below. If Td2diff is smaller than a given threshold Td2*ti_
¾ the IED decides that the Td2 path maintains un-switched, and calculate the actual clock disparity At after the switching based on equation (12) below.
It should be noted that in equations (9), (10), (1 1) and (12), Tdi and Τ,Ε are the calculated post- switching communication delays, or preferably their mean values over a given period after the channel switching. Tdl*in and Td2*m are the calculated pre-switching communication delays, or preferably their mean values over a given period before the channel switching.
The thresholds Tdi*thre and ^*^ can be calculated and set by IED, based on the sum of the max possible change in actual clock disparity during the period of communication interruption, and the max possible jitter in the commumcation delays when the path is not switched. From the viewpoint of simplicity, these two thresholds can be set as the same value. The max possible change in actual clock disparity during the period of communication interruption can be calculated by IED according to the accuracy of IEDs' oscillators and the length of the communication interruption period. For example, if both IEDs' oscillators are of 50ppm accuracy, and the length of communication interruption is 100ms, then the max possible change in actual clock disparity is 0.01ms during communication interruption. The max possible jitter in the communication delays when the path is not switched can be set by IED operator according to the jitter characteristic of the communication system. For example, according to the communication delays given in Table.1 , the max possible jitter in the communication delays when the path is not switched is 0.14ms. Considering a reasonable margin, the max possible jitter in calculated clock disparity caused by the communication delay jitter can be set as 0.2ms. Thus the thresholds Tdi«uii¾ and T^*^ can be calculated and set by IED as 0.21ms. If the mean values are used in equations (9), (10), as the max possible jitter in the mean values of communication delays when the path is not switched is theoretically around 0, the thresholds Tdi*thre and can be set considering only the max possible change in actual clock disparity during the period of communication interruption. In the above example, considering a reasonable margin, the thresholds can be set as 0.1ms.
Then the IED re-cauculates the communication delays Tdl and ¾ according to equations (7) and (8), with the adjusted At replacing Atm. Then the IED can calculate the new Tdjff with equation (6). Once the new Td;ff (or preferably its mean value) is calculated, the IED can perform echo process and echo calculation with equations (3), (4) and (5), until the next channel switching is detected.
With above mentioned method, the IEDs can precisely calculate the communication delays and the clock disparity, so that they can maintain synchronization, no matter the channel delays are symmetrical or asymmetrical. When asymmetry was introduced into the communication channels, the IED can detect the asymmetry and issues an alarm signal to indicate the channel delay asymmetry. In comparison, with respect to the traditional echo method, the communication delays and clock disparity are either un-available or un-reliable when the channel becomes asymmetrical.
Embodiment Two
In another embodiment, at any time, each IED can send message to the other IED via two paths, and receiving message from the other IED via two paths. There are at least two possible configurations:
In the first configuration, the protected line has one set of differential protection (one IED at each tenninai), the IEDs communicate with each other via two channels, i.e. a primary channel and a secondary redundant channel. At any time, each IED can send message to the other IED via two paths (one path in primary channel, and another path in secondary channel), and receiving message from the other IED via two paths (one path in primary channel, and another path in secondary channel).
In the second configuration, the protected line has two sets of differential protections (dual-main protection devices, i.e. primary protection set and secondary protection set), and each set of protection devices has its own communication channel respectively. Another similar situation is that a set of parallel lines are protected by two sets of differential protections, wherein, each protection set protects one line and has its own communication channel respectively. At any time, each IED can send message to the other IED in the same protection set via two paths (one path in the communication channel of the protection set itself, and another path via the communication channel of the other protection set), and receiving message from the other LED via two paths (one path in the communication channel of the protection set itself, and another path via the communication channel of the other protection set).
Configuration 1: The protected line has one set of differential protection with two communication channels.
As shown in Fig.2, there are two IEDs, i.e. IED A and IED B for protecting the line. The IEDs communicate with each other via two communication channels, i.e. primary channel and secondary channel. For IED A, the sending delay via primary channel is referred to as Tpi, and the sending delay via secondary channel is referred to as Ts]. the receiving delay via primary channel is referred to as TP2, and the receiving delay via secondary channel is referred to as In an ideal operation condition, both channels have symmetrical delays, i.e. Tpi equals to TP2 and Tsj equals to T^. The following proposed solution can detect the condition when channel delays becomes asymmetrical, as described below:
Step 1: IED A sends a message to IED B via primary channel. Then IED B sends echo information back to IED A via both primary channel and secondary channel, as shown in Fig.3. Thus IED A can calculate the overall communication delay through the following equations (13) and (14):
Tplp2=Tpl+Tp2 = (T5 -T - (T4-T2) (13)
Tpls2=Tpl+Ts2 = (T5 -Τ,) - (T3-T2) (14)
As explained above, both T6, Tl, T5 are obtained from IED A, and both T3, T2, T4 are obtained from IED B. Therefore, the values of Tpjg and Tpip2 are reliable.
Step 2: IED A send out message to IED B via secondary channel, then IED B send echo information back to IED A via secondary channel and primary channel. The corresponding communication delays can be calculated through equations (15) and (16) similarly.
slp2— Tsi+Tp2 (16)
Step 3: IED compare Tpls2 with Tsip2. If the difference between Tpls2 and Tsip2 (or preferably their mean values) is bigger than given threshold Tps*tfire, then it determines that at least one of the channels has asymmetrical delays. If this asymmetry is detected at the beginning period when the BED is put into service, the IED should issue an alarm to indicate the channel delay asymmetry. If this asymmetry is detected during normal operation period, it indicates a channel switching, and the procedure goes to the next step.
The threshold
can be set by IED operators, based on the sum of the max possible difference between the commumcation delays of sending and receiving paths for two symmetrical channels, which is according to the jitter characteristic of the communication channel. For example, according to the communication delays given in Table.l, the max possible differences between the communication delays for primary channel and secondary channel are 0.11ms and 0.18ms. Considering a reasonable margin, the threshold
can be set by IED operator as 0.4ms. If the mean values are used in the comparison, then the threshold T
ps¾ire can be set based on the sum of the max possible difference between the mean values of communication delays of sending and receiving paths for two symmetrical channels, which is according to the jitter characteristic of the communication system. For example, according to the communication delays given in Table.l, the max possible differences between the mean values of communication delays for primary channel and secondary channel are 0,01ms and 0.05ms. Considering a reasonable margin, the threshold T
ps*t re can be set by IED operator as 0.1ms.
Step 4: IED compares the T
pi
p2, T
sis2 with their previous values. If both T
pi
P and T
si
s2 (or preferably their mean values) change from their previous values (or preferably mean values) more than given more than its channel delays and (16), as the before the T
djff with Taurus,
i d i l l i f synchronization.
The thresholds Tp*^ and Ts*ti,re can be set by IED operator based on the sum of the max possible jitter in the communication delays of sending and receiving paths when the paths are not switched according to the jitter characteristic of the communication channel. From the viewpoint of simplicity, these two thresholds can be set as the same value. For example, according to the communication delays given in Table. l, the sum of the max possible jitter in the communication delays for primary and secondary channels are 0.2ms and 0.25 respectively. Considering a reasonable margin, the thresholds Tp«thre and Ts«ihre can be both set as 0.4ms. If the mean values are used in the comparison, as the max possible jitter in the mean values of communication delays when the path is not switched is theoretically around 0, the thresholds Ίρ*^ and Ts*,hre can be set considering only a reasonable margin, for example, 0.1ms.
Configuration 2: The protected line (or parallel lines) has two sets of differential protection devices with respective communication channels.
As shown in Fig.4, there are four IEDs, i.e., IED PA, IED PB for primary protection and IED SA, IED SB for secondary protection. The primary and secondary protections normally use separate communication channels, i.e. primary channel for primary protection, and secondary channel for secondary protection.
The sending / receiving delays of primary channel (P) and secondary channel (S) are Tpi_ Τρ2, Tsi and Ts2 respectively. As shovm in the figure, for IED PA, Tpi is sending delay via primary channel; Tp2 is receiving delay via primary channel; for IED SA, Ts] is sending delay via secondary channel; and Ts2 is receiving delay via primary channel. Tpip2 is the delay of sending and receiving message on primary channel only. Ts]s2 is the delay of sending and receiving message on secondary channel only. Similarly, Tpls2 and TsiP2 are the delays of sending and receiving message via both primary and secondary channels. In an ideal operation condition, both channels have symmetrical delays, i.e. Tpl equals to Tp2 and Ts] equals to TS2- The following proposed solution can detect the condition when channel delays become asymmetrical, as described below:
Step 1: IED PA sends a message to IED PB via primary channel. Then IED PB sends echo information back to IED PA via primary channel and secondary channel. Thus, IED PA calculates two communication delays: Tpip2 and Tpis2,
So that IED PB can send echo information back to IED PA via secondary channel, it need to firstly send the echo information to IED SB, then IED SB send the information via secondary channel to IED SA, and at last IED SA send the information to IED PA. It should be noted that the communication delays introduced by the communication between IED PB and IED SB (and between IED SA and IED PA) must be calculated and subtracted from the total measured communication delay to get Tph2. The communication between IED PB and IED SB (or IED PA and IED SA) can be via GOOSE or other peer-to-peer communication, and the communication delay can be calculated through each or both of the following methods:
1) By measuring the voltage phase difference (as both IED measure the voltage of same point). For example, if IED PB sends GOOSE message to IED SB at the 0° of phase A voltage, and IED SB receives the message at 18 0 of phase A voltage, then the delay is 1ms (for 50Hz system).
2) Or as both IEDs locate in the same substation, they can easily be synchronized by external clock (e.g. GPS) or other ways. Once both IEDs are synchronized, then it's easy for them to calculate the communication delay.
Step 2: Similar to Step 1, IED SA can calculate communication delays TsiS2 and Tsip2. Then IED SA sends the calculated Tsis2 and TsiP2 to IED PA (or vise versa).
Step 3: IED PA T
si
p2 is bigger than a given threshold
of the channels has asymmetrical delays. If this condition is detected at the beginning period when the IED is put into service, the IED issues an alarm to indicate the channel delay asymmetry. If this condition is detected during the normal operation period, it indicates a channel switching, and the procedure goes to the next step.
Step 4: IED compares the Tplp2, Tsis2 with their previous values. If both Tpip2 and Tsls2 change from their previous values (or mean values) more than given thresholds Tp*^,, and Ts*^e respectively, then the IED issues an alarm to indicate that both channels are switched. If only one of the communication delays (either Tpip2 or Tsi52) changes more than its corresponding threshold, the IED issues an alarm to indicate that the primary or secondary channel corresponding to the changed delay is switched. Under this condition, the new communication delays of the switched channel can be calculated with above equations (1 ), (14), (15) and (16), as the communication delays of the un- switched channel are know from the echo calculation before the channel switching. Then the IEDs can detect the channel delay asymmetry of the switched channel by calculating the difference between the communication delays (Tdjff) and comparing Tditr with Td;ff*thre, as introduced in Embodiment one. And the IEDs can perform echo calculation utilizing Tdiff as introduced in Embodiment one, and the calculation results can be used to perform the synchronization.
It should be noted that the channel delay asymmetry for line differential protection is an abnormal condition and happens seldom. Therefore, it is highly impossible that both primary and secondary channels are switched at the same time, or have the same level of asymmetry. So the judgment in step 3 and 4 is very reliable.
The proposed method is mainly for detecting the channel delay asymmetry during the operation of IEDs and synchronizing the IEDs. During the start up period of IEDs, normally the utility field engineers will be required to ensure the channel delay symmetry, thus the risk of channel delay asymmetry is small. It also has to be noted that the methods in Embodiment two can be used to detect the channel delay asymmetry during the start up period of IEDs. It also has to be noted that although only two communication channels, primary channel and secondary channel, were described above, the method is also applicable to a system with more channels. For example, any two channels from a plurality of channels may be selected and regarded as the primary channel and secondary channel. And the asymmetry detecting and synchronizing method can be applied to the selected channels and other channels in sequence.
The embodiments described above can be implemented in a combined approach. For example, the detecting method in second embodiment can be used to detecting channel delay asymmetry and the method in first embodiment can be used to synchronize the IEDs.
All methods described above can be implemented by a hardware controller with corresponding units. For example, a controller for synchronizing communication channels between transmission line protection devices may comprise the following units. A calculating unit repeatedly calculates a clock disparity between clocks of the protection devices and communication delays at different paths of the communication channel. A comparing unit compares the latest calculated clock disparity and communication delays with previously calculated clock disparities and communication delays, respectively. A first determining unit determines a channel switching has happened if a change of the calculated clock disparity exceeds a first threshold, or a change of the calculated communication delays for any path exceeds a second threshold. A second determining unit, which is configured to determine the channel delays as asymmetrical if a difference between the calculated communication delays of the different paths after the channel switching exceeds a third threshold.
Similarly, a controller for detecting communication channel delay asymmetry between transmission line protection devices may comprise the following units. A sending and receiving unit sends and receives data through a first channel and a second channel. A first calculating unit calculates a first delay for sending and receiving data through the first channel and second channel sequentially. A second calculating unit calculates a second delay for sending and receiving data through the second channel and first channel sequentially. A determining unit determines the communication channels as asymmetrical if the difference between the first delay and second delay exceeds a fifth threshold.
The methods and apparatus of present invention may be implemented as a piece of software run on a digital computer, or as a hard-wired implementation using techniques such as EPROM etc. In the case of implementing the proposed method as hardware, it is clear to those skilled in the art that each step for identifying asymmetry may correspond to a separate hardware component.
Alternatively, all the steps or functions may be implemented by an integrated processor. In which, all above separate units and component are combined together to perform the proposed method. All available semiconductor techniques may be used to produce such hardware.
For those skilled in the art, various modifications can be conceived without departing from the scope of present invention. The invention intends to include all possible modifications within the proposed concept, and the scope of the invention should be defined by the accompanied claims mstead of above detailed embodiments.