Accurate time synchronization method for power distribution network fault indicator based on acquisition system
Technical Field
The invention belongs to the technical field of power distribution networks, and particularly relates to a power distribution network fault indicator accurate time synchronization method based on an acquisition system.
Background
The distribution network is a link directly facing users in the power system, and has direct influence on the reliability of power supply of the users. The distribution line is an important component part of the distribution network, has a plurality of topological branches, has a severe running environment, is difficult to quickly find and determine the fault position once the fault occurs, and seriously affects the improvement of the power supply reliability.
The distribution network fault indicator is an important component of a distribution automation system and can be conveniently mounted on a distribution line. Once a short-circuit fault or a single-phase ground fault occurs, the fault location of the distribution network can be realized.
The power distribution network fault indicator system consists of a background positioning system, a collecting unit and an acquisition unit. In order to realize accurate and reliable fault location, each collecting unit and 3 matched collecting units are required to meet accurate time synchronization so as to ensure the accuracy of synchronous sampling of each phase of current and zero sequence current synthesis.
In the fault indicator system of the power distribution network, each collecting unit directly adopts a high-power-consumption time synchronization technology, such as GPS/Beidou, so as to realize accurate time synchronization. And each collecting unit and 3 matched collecting units are used for regularly broadcasting synchronous time data frames in the conventional method, and after the 3 matched collecting units receive the broadcasted synchronous time frames, the collecting units perform respective time calibration to finish time synchronization. The field operation result shows that:
After the traditional time synchronization method is adopted, the time synchronization error between each collecting unit and the 3 matched collecting units is about 100 milliseconds;
The current of the distribution line terminal and the branch line can not meet the requirement of periodically realizing time synchronization of the acquisition unit and the collecting unit due to small line load current.
At this time, the power distribution network fault indicator system cannot realize high-precision fault section positioning based on transient current sampling values.
Disclosure of Invention
The invention aims to provide an accurate time synchronization method of a power distribution network fault indicator based on an acquisition system, which can be used for greatly improving the time synchronization precision between each collecting unit and 3 acquisition units matched with each collecting unit in the power distribution network fault indicator system so as to overcome the problems in the background technology.
In order to achieve the above purpose, the technical scheme of the invention is as follows:
the acquisition system comprises an acquisition unit and a collection unit;
the collecting unit is connected with the collecting unit in a wireless mode;
the accurate time synchronization method of the power distribution network fault indicator comprises the following steps:
the collecting unit is used for collecting the real-time current of the distribution line in real time and wirelessly transmitting the real-time current to the collecting unit, and the collecting unit calculates the real-time effective value of the current of the distribution line according to the real-time current of the distribution line;
Step 2, the collecting unit calculates the frequency offset change rate of the collecting unit, calculates the clock error of the frequency offset change rate of the collecting unit according to the frequency offset change rate of the collecting unit, calculates the maximum interval time of sending the synchronous time data frame of the collecting unit according to the frequency offset change rate of the collecting unit, and sets the period of the broadcasting time synchronous data frame of the collecting unit according to the real-time effective value of the current of the distribution line and the maximum interval time of sending the synchronous time data frame of the collecting unit;
Step 3, in the period of the broadcast time synchronous data frame, the collecting unit sends a synchronous time data frame request to the collecting unit, and after the collecting unit receives the synchronous time data frame request, the collecting unit further sends a synchronous time data frame response to the collecting unit;
preferably, the distribution line real-time current in step 1 is:
X(1),X(2),X(3),X(4),......,X(NTs)
Wherein X (k) represents the current at the moment of the distribution line k, N Ts represents the number of sampling moments, and k epsilon [1, N Ts ];
The real-time effective value of the distribution line current obtained by calculation in the step1 is as follows:
Wherein X (k) represents the current at the moment of the distribution line k, and X (eq) represents the real-time effective value of the distribution line current;
Preferably, in step 2, the frequency offset change rate of the calculation and acquisition unit is:
Clock synchronization is respectively carried out between the acquisition unit and the collecting unit at t i、ti+1、ti+2;
the time offset of the acquisition unit due to the frequency offset during the period Δt i+1=ti+1-ti is expressed as:
θ(ti+1)=[T'(ti+1)-T'(ti)]-(ti+1-ti)
In the above formula, T i+1 represents the time of the collecting unit in the process of the i+1th clock synchronization, T i represents the time of the collecting unit in the process of the i-th clock synchronization, T '(T i+1) represents the time of the collecting unit in the process of the i+1th clock synchronization, and T' (T i) respectively represents the time of the collecting unit in the process of the i-th clock synchronization;
the time offset of the acquisition unit due to the frequency offset in the period of Δt i+2=ti+2-ti+1 is expressed as:
θ(ti+2)=[T'(ti+2)-T'(ti+1)]-(ti+2-ti+1)
In the above formula, T i+2 represents the time of the collecting unit in the i+2th clock synchronization process, T i+1 represents the time of the collecting unit in the i+1th clock synchronization process, T '(T i+2) represents the time of the collecting unit in the i+2th clock synchronization process, and T' (T i+1) represents the time of the collecting unit in the i+1th clock synchronization process;
The frequency offset change rate of the acquisition unit in the step2 is as follows:
wherein, gamma represents the frequency offset change rate of the acquisition unit in the step 2;
And step2, calculating the clock error of the frequency offset change rate of the acquisition unit, wherein the clock error is as follows:
in the above formula, T op represents an operation time period, and e represents a clock error;
and step 2, calculating the maximum interval time of the synchronous time data frame transmission of the acquisition unit as follows:
in the above description, T int.max represents the maximum interval time of sending the synchronous time data frame of the acquisition unit, and E L.max represents the minimum requirement of accurate fault location on the time synchronization error between the power distribution network fault indicator collection unit and the acquisition unit;
And step 2, setting the period of the broadcasting time synchronous data frame of the aggregation unit as follows:
in the above formula, T int.per represents a period of a broadcast time synchronization data frame of the sink unit, X (eq) represents a real-time effective value of a distribution line current, I L.min represents a minimum current flowing through a distribution line corresponding to a normal operation of the fault indicator collection unit, I L.max represents a maximum current flowing through a distribution line corresponding to a normal operation of the fault indicator collection unit, T int.min represents a minimum period of a broadcast time synchronization data frame of the sink unit, and X (eq) represents a real-time effective value of a distribution line current;
preferably, in step 3, the time for transmitting the request and the response of the synchronous time data frame is calculated by using a maximum likelihood estimation algorithm, so as to obtain the estimation of the phase deviation and the frequency deviation of the acquisition unit in the broadcast time synchronous data frame period, which specifically includes:
According to the communication process between the collecting unit and the collecting unit, the calculation expressions of the moments T 1,i+1 and T 4,i+1 are obtained:
T1,i+1=T2,i+1-d-xi+1+θB,i+1(T2,i+1-T4,i-d-xi+1)+θA,i+1
=(1+θB,i+1)(T2,i+1-T4,i-d-xi+1)+θA,i+1+T4,i
T4,i+1=T3,i+1+d+yi+1+θB,i+1(T3,i+1-T4,i+d+yi+1)+θA,i+1
=(1+θB,i+1)(T3,i+1-T4,i+d+yi+1)+θA,i+1+T4,i
In the above formula, in the (i+1) clock synchronization process, the time from the response of the acquisition unit to the synchronization time data frame of the collection unit is T 1,i+1, the time from the response of the collection unit to the synchronization time data frame of the collection unit is T 2,i+1, the synchronization time data frame is sent to the collection unit, the time is T 3,i+1, and the time from the last collection unit to the synchronization time data frame sent back by the collection unit is T 4,i+1. Meanwhile, the estimation method also needs to use the time T 4,i when the acquisition unit receives the synchronous time data frame sent back by the aggregation unit in the ith clock synchronization process, d represents a determination part of path delay, x i+1 represents an uncertainty part of path delay when the acquisition unit sends the synchronous data frame to the aggregation unit in the ith clock synchronization process, the uncertainty part generally obeys random distribution, theta A,i+1 represents clock initial phase deviation existing between the aggregation unit and the acquisition unit in the ith clock synchronization process, theta B,i+1 represents frequency deviation between the aggregation unit and the acquisition unit in the ith clock synchronization process, theta B,i+1(T1,i+1-T4,i+d+xi+1) represents clock deviation caused by the frequency deviation, y i+1 represents an uncertainty part of path delay when the aggregation unit sends the synchronous data frame to the acquisition unit in the ith clock synchronization process, and the uncertainty part generally obeys random distribution.
Enabling S1=T1,i+1-T4,i;S2=T2,i+1-T4,i;S3=T3,i+1-T4,i;S4=T4,i+1-T4,i; to obtain an expression of initial clock phase deviation theta A,i+1 and frequency deviation theta B,i+1 existing between the collecting unit and the collecting unit in the (i+1) th clock synchronization process by using a maximum likelihood estimation method:
In the above formula, d represents a determination part of path delay, a calculation formula of d=l dis/vc,Ldis represents a distance between the collecting unit and the collecting unit, and vc represents a communication speed, which is generally taken as 3×10 8 m/s.
Step 3, the correction acquisition unit synchronizes the initial phase and the clock frequency in the data frame period at the broadcast time, specifically:
Adjusting the clock signal phase of the acquisition unit to be theta rev,i+1=θinit,i+1+θA,i+1 by utilizing the obtained initial phase deviation theta A,i+1 of the clocks between the aggregation unit and the acquisition unit in the i+1th clock synchronization process, so as to ensure synchronization time synchronization, wherein theta init,i+1 is the initial phase of the acquisition unit in the i+1th clock synchronization process, and theta rev,i+1 is the adjusted phase of the acquisition unit in the i+1th clock synchronization process; and adjusting the clock frequency of the acquisition unit to be f rev,i+1=finit,i+1+θB,i+1 by utilizing the obtained clock frequency deviation theta B,i+1 between the aggregation unit and the acquisition unit in the i+1th clock synchronization process, wherein f init,i+1 is the initial clock frequency of the acquisition unit in the i+1th clock synchronization process, and f rev,i+1 is the clock frequency of the acquisition unit after adjustment in the i+1th clock synchronization process. And finally, accurate time synchronization between the collecting unit and the collecting unit in the period of each broadcast time synchronization data frame is realized.
Therefore, the invention has the following advantages:
The accurate time synchronization method of the power distribution network fault indicator is based on the calculated frequency offset change rate between the collecting unit and the clock of the collecting unit and the load current flowing through the power distribution line, and can adaptively adjust the synchronization period of the broadcast time synchronization data frame between the collecting unit and the collecting unit, so that the time synchronization precision between the collecting unit and the collecting unit can be greatly improved on the premise of ensuring the normal energy supply of the collecting unit.
The accurate time synchronization method of the power distribution network fault indicator provided by the invention obtains the clock initial phase deviation and the frequency deviation existing between the collecting unit and the collecting unit at the starting moment of each synchronization period by utilizing the maximum likelihood estimation method in the time synchronization period of each collecting unit and the collecting unit, and accordingly, the clock of the collecting unit is corrected, and the accurate time synchronization precision between the collecting unit and the collecting unit in each self-adaptive synchronization period can be greatly improved.
Drawings
FIG. 1 is a flow chart of accurate time synchronization of fault indicators of a power distribution network according to the method of the invention
Fig. 2 is a schematic diagram of clock synchronization principle of a power distribution network fault indicator collecting unit and a collecting unit in a broadcast time synchronization data frame period.
FIG. 3 is a schematic diagram of a distribution network fault indicator collection unit and an acquisition unit according to the method of the present invention for broadcasting time synchronization data frames in the ith, the (i+1) and the (i+2) times.
Fig. 4 shows a principle of a synchronization process of a collection unit and an acquisition unit of the fault indicator of the power distribution network.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the present invention. In addition, the technical features described below in the various embodiments of the present invention may be combined with each other as long as they do not conflict with each other.
Embodiments of the present invention are described below with reference to fig. 1 to 4.
The system comprises an acquisition unit and a collection unit;
the collecting unit is connected with the collecting unit in a wireless mode;
The acquisition unit is an induction power-taking transient wave recording type fault indicator acquisition unit comprising a 433MHz wireless communication module;
The collecting unit comprises a 433MHz wireless communication module, a GPS module, a 2G/4G communication module and a fault indicator collecting unit of an optical storage power supply module;
a method for accurate time synchronization of fault indicators of a power distribution network is characterized by comprising the following steps,
The collecting unit is used for collecting the real-time current of the distribution line in real time and wirelessly transmitting the real-time current to the collecting unit, and the collecting unit calculates the real-time effective value of the current of the distribution line according to the real-time current of the distribution line;
The real-time current of the distribution line in the step 1 is as follows:
X(1),X(2),X(3),X(4),......,X(NTs)
Wherein X (k) represents the distribution line k moment current, N Ts = 1024 represents the number of sampling moments, k e [1, N Ts ];
The real-time effective value of the distribution line current obtained by calculation in the step1 is as follows:
Wherein, X (k) represents the current at the moment of the distribution line k, X (eq) represents the real-time effective value of the distribution line current, and X (eq) =30A is calculated at the moment;
Step 2, the collecting unit calculates the frequency offset change rate of the collecting unit, calculates the clock error of the frequency offset change rate of the collecting unit according to the frequency offset change rate of the collecting unit, calculates the maximum interval time of sending the synchronous time data frame of the collecting unit according to the frequency offset change rate of the collecting unit, and sets the period of the broadcasting time synchronous data frame of the collecting unit according to the real-time effective value of the current of the distribution line and the maximum interval time of sending the synchronous time data frame of the collecting unit;
in the step 2, the frequency offset change rate of the calculation acquisition unit is as follows:
Clock synchronization is respectively carried out between the acquisition unit and the collection unit at T i、ti+1、ti+2; the time of the pooling unit is respectively T i =12 30 minutes 53 seconds 867.5 microseconds, T i+1 =12 40 minutes 54 seconds 865.6 microseconds, T i+2 =12 50 minutes 54 seconds 880.5 microseconds, and the time of the collecting unit is respectively T ' (T i) =12 30 minutes 53 seconds 862.5 microseconds, T ' (T i+1) =12 40 minutes 54 seconds 861.6 microseconds, T ' (T i+2) =12 50 minutes 54 seconds 877.8 microseconds.
Then the acquisition unit shifts in time by the frequency offset by θ (t i+1)=T'(ti+1)-T'(ti)-Δti+1 =1 microsecond) for a period of Δt i+1=ti+1-ti =10 minutes 0 seconds 99998.1 microseconds and shifts in time by the frequency offset by θ (t i+2) =1.3 microseconds for a period of Δt i+2=ti+2-ti+1.
The frequency offset change rate of the acquisition unit in the step2 is as follows:
setting the requirement E L.max of accurate fault location on time synchronization accuracy of 3 acquisition units to obtain 20 microseconds, wherein the maximum interval time for calculating the synchronization time data frame transmission of the acquisition units in the step 2 is as follows:
The calculation process of setting the period of the broadcast time synchronization data frame of the collecting unit in step 2 includes that I L.min represents the minimum current flowing through the distribution line corresponding to the fault indicator collecting unit in normal operation, which is taken as 3A, I L.max represents the current flowing through the distribution line corresponding to the fault indicator collecting unit when the induction power-taking energy reaches the maximum value, which is taken as 600A, and T int.min represents the minimum period of the broadcast time synchronization data frame of the collecting unit, which is generally taken as 5 minutes, namely 300s. Then, between the collecting unit and the 3 collecting units, according to the current flowing through the distribution line, the period T int.per of the broadcasting time synchronization data frame of the collecting unit is adaptively adjusted to be:
In the above equation, X (eq) represents the real-time effective value of the distribution line current, and if the real-time effective value is equal to 30A, the period T int.per of the adaptive adjustment sink unit broadcast time synchronization data frame is 6597s.
Step 3, in the period of the broadcast time synchronous data frame, the collecting unit sends a synchronous time data frame request to the collecting unit, and after the collecting unit receives the synchronous time data frame request, the collecting unit further sends a synchronous time data frame response to the collecting unit;
Step 3, calculating the time of sending the request and the response of the synchronous time data frame by using a maximum likelihood estimation algorithm, and obtaining the estimation of the phase deviation and the frequency deviation of the acquisition unit in the broadcasting time synchronous data frame period specifically comprises the following steps:
According to the communication process between the collecting unit and the collecting unit, the calculation expressions of the moments T 1,i+1 and T 4,i+1 are obtained:
T1,i+1=T2,i+1-d-xi+1+θB,i+1(T2,i+1-T4,i-d-xi+1)+θA,i+1
=(1+θB,i+1)(T2,i+1-T4,i-d-xi+1)+θA,i+1+T4,i
T4,i+1=T3,i+1+d+yi+1+θB,i+1(T3,i+1-T4,i+d+yi+1)+θA,i+1
=(1+θB,i+1)(T3,i+1-T4,i+d+yi+1)+θA,i+1+T4,i
In the above formula, in the (i+1) clock synchronization process, the time from the response of the acquisition unit to the synchronization time data frame of the collection unit is T 1,i+1, the time from the response of the collection unit to the synchronization time data frame of the collection unit is T 2,i+1, the synchronization time data frame is sent to the collection unit, the time is T 3,i+1, and the time from the last collection unit to the synchronization time data frame sent back by the collection unit is T 4,i+1. Meanwhile, the estimation method also needs to use the time T 4,i when the acquisition unit receives the synchronous time data frame sent back by the aggregation unit in the ith clock synchronization process, d represents a determination part of path delay, x i+1 represents an uncertainty part of path delay when the acquisition unit sends the synchronous data frame to the aggregation unit in the ith clock synchronization process, the uncertainty part generally obeys random distribution, theta A,i+1 represents clock initial phase deviation existing between the aggregation unit and the acquisition unit in the ith clock synchronization process, theta B,i+1 represents frequency deviation between the aggregation unit and the acquisition unit in the ith clock synchronization process, theta B,i+1(T1,i+1-T4,i+d+xi+1) represents clock deviation caused by the frequency deviation, y i+1 represents an uncertainty part of path delay when the aggregation unit sends the synchronous data frame to the acquisition unit in the ith clock synchronization process, and the uncertainty part generally obeys random distribution. in actual process, it is measured that T 1,i+1 =12, 40 minutes, 54 seconds and 865.400 microseconds, T 2,i+1 =12, 40 minutes, 54 seconds and 865.402 microseconds, T 3,i+1 =12, 40 minutes, 54 seconds and 865.403 microseconds, T 4,i+1 =12, 40 minutes, 54 seconds and 865.404 microseconds, and T 4,i =12, 30 minutes, 53 seconds and 867.500 microseconds.
Let S1=T1,i+1-T4,i;S2=T2,i+1-T4,i;S3=T3,i+1-T4,i;S4=T4,i+1-T4,i; be S 1=T1,i+1-T4,i =10 minutes 999997.900 microseconds, S 2=T2,i+1-T4,i =10 minutes 999997.902 microseconds, S 3=T3,i+1-T4,i =10 minutes 999997.903 microseconds, S 4=T4,i+1-T4,i =10 minutes 999997.904 microseconds. The determination part d of the calculation path delay, d=l dis/vc=3.33×10-9s,Ldis, represents the distance 1m between the collecting unit and the acquisition unit, vc represents the communication speed, taken as 3×10 8 m/s.
Obtaining an initial phase deviation theta A,i+1 and a frequency deviation theta B,i+1 expression of a clock existing between a collecting unit and a collecting unit in the (i+1) th clock synchronization process by using a maximum likelihood estimation method:
step 3, the correction acquisition unit synchronizes the initial phase and the clock frequency in the data frame period at the broadcast time, specifically:
Adjusting the clock signal phase of the acquisition unit to be theta rev,i+1=θinit,i+1+θA,i+1 by utilizing the obtained initial phase deviation theta A,i+1 of the clocks between the aggregation unit and the acquisition unit in the i+1th clock synchronization process, so as to ensure synchronization time synchronization, wherein theta init,i+1 is the initial phase of the acquisition unit in the i+1th clock synchronization process, and theta rev,i+1 is the adjusted phase of the acquisition unit in the i+1th clock synchronization process; and adjusting the clock frequency of the acquisition unit to be f rev,i+1=finit,i+1+θB,i+1 by utilizing the obtained clock frequency deviation theta B,i+1 between the aggregation unit and the acquisition unit in the i+1th clock synchronization process, wherein f init,i+1 is the initial clock frequency of the acquisition unit in the i+1th clock synchronization process, and f rev,i+1 is the clock frequency of the acquisition unit after adjustment in the i+1th clock synchronization process. And finally, accurate time synchronization between the collecting unit and the collecting unit in the period of each broadcast time synchronization data frame is realized.
The foregoing description of the invention has been presented for purposes of illustration and description, and is not intended to be limiting. Several simple deductions, modifications or substitutions may also be made by a person skilled in the art to which the invention pertains, based on the idea of the invention. It will be readily understood by those skilled in the art that the foregoing description is merely illustrative of the presently preferred embodiments of the invention and is not intended to limit the invention to the particular forms disclosed, but to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.