CN113364551A - Clock synchronization method and device for domain type protection device of power distribution network - Google Patents

Clock synchronization method and device for domain type protection device of power distribution network Download PDF

Info

Publication number
CN113364551A
CN113364551A CN202110681165.XA CN202110681165A CN113364551A CN 113364551 A CN113364551 A CN 113364551A CN 202110681165 A CN202110681165 A CN 202110681165A CN 113364551 A CN113364551 A CN 113364551A
Authority
CN
China
Prior art keywords
clock
target
arbitration
information
time information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110681165.XA
Other languages
Chinese (zh)
Other versions
CN113364551B (en
Inventor
区伟潮
吴海江
倪伟东
廖峰
陈锦荣
黄明辉
黎永豪
钟少恒
郭泽豪
王跃强
邓旭阳
卢颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Power Grid Co Ltd
Foshan Power Supply Bureau of Guangdong Power Grid Corp
Original Assignee
Guangdong Power Grid Co Ltd
Foshan Power Supply Bureau of Guangdong Power Grid Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Power Grid Co Ltd, Foshan Power Supply Bureau of Guangdong Power Grid Corp filed Critical Guangdong Power Grid Co Ltd
Priority to CN202110681165.XA priority Critical patent/CN113364551B/en
Publication of CN113364551A publication Critical patent/CN113364551A/en
Application granted granted Critical
Publication of CN113364551B publication Critical patent/CN113364551B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/20Systems supporting electrical power generation, transmission or distribution using protection elements, arrangements or systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Electric Clocks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention discloses a clock synchronization method and a device of a power distribution network domain type protection device, which realize the time synchronization between a clock source and a connected clock source arbitration switch and between the clock source arbitration switches by additionally arranging the clock source arbitration switch in a power distribution network domain type protection system, namely, the redundancy relation existing among multiple clock sources is increased, thereby improving the operation reliability of the power distribution network domain type protection system.

Description

Clock synchronization method and device for domain type protection device of power distribution network
Technical Field
The present invention relates to the technical field of circuit protection, and in particular, to a clock synchronization method and apparatus for a power distribution network domain protection apparatus.
Background
In the future, with the vigorous development of new energy power generation technology, the access of a large number of new energy power generation equipment can change the current in the power distribution network from original unidirectional transmission to multidirectional transmission, and if a traditional short-circuit current detection method is used, serious problems such as misoperation, maloperation, failure operation and the like of a power system can be caused.
Although a more accurate detection method such as a differential protection algorithm can be adopted at the present stage to ensure that the power distribution network protection works normally in a scene with multiple power accesses, the precondition used by the differential protection algorithm is that all protection devices in the protection system can realize high-precision clock synchronization. At present, an IRIG-B clock synchronization method is generally adopted in a protection system, and a plurality of clock sources are not communicated and redundant with each other, so that when one clock source fails, a protection device connected with the clock source immediately causes clock desynchronization and control locking.
Disclosure of Invention
The invention provides a clock synchronization method and a clock synchronization device of a domain type protection device of a power distribution network, which are used for enabling a redundancy relation to exist among multiple clock sources through an arbitration switch and improving the running reliability of a domain type protection system.
In a first aspect, a clock synchronization method for a power distribution network domain type protection device provided in an embodiment of the present invention is applied to a power distribution network domain type protection system, where the system includes: the system comprises a clock source, a clock source arbitration switch and a station domain type protection device; the clock source arbitration switch is respectively connected with the domain type protection device and the clock source; the number of the clock sources is more than 1; the number of the clock sources, the number of the clock source arbitration switches and the number of the station domain type protection devices are equal; the method comprises the following steps:
s1, the target clock source periodically acquires the time information of the satellite clock and sends the time information to the connected target clock source arbitration switch;
s2, the target clock source arbitration switch judges whether the time information is received; if yes, go to step S3; if not, go to step S4;
s3, responding to the time information, the target clock source arbitration switch and the adjacent clock source arbitration switch carry out arbitration information interaction, and the synchronization information is determined based on all the arbitration information; step S5 is executed; the arbitration information comprises time information obtained by a corresponding clock source;
s4, when the arbitration information sent by the adjacent clock source arbitration switch is received, based on all the arbitration information, determining synchronous information;
and S5, the target station domain type protection device outputs the synchronization information.
Optionally, the clock source arbitrating switch comprises: the system comprises a decision-making piece and a clock piece connected with the decision-making piece; the decision-making part is connected with the clock source through the clock source access port; the clock piece is connected with the station-domain protection device through the clock output port; step S3 includes:
s31, the target decision-making part determines whether to send the time information to the target clock part based on the time information sent by the connected target clock source and the arbitration information sent by the adjacent clock source arbitration switch; if yes, go to step S32; if not, go to step S33;
s32, the target clock obtains the synchronization information according to the time information and sends the synchronization information to the target station domain type protection device; step S4 is executed;
s33, the target decision-making part determines target time information based on the MAC in the arbitration information, then the target clock part obtains the synchronization information according to the target time information, and sends the synchronization information to the target station domain type protection device; step S4 is executed.
Optionally, the decision-making part comprises: a clock source receiving component and an arbitration decision component; the clock source receiving component is connected with the clock source through the clock source access port; the arbitration decision component is respectively connected with the clock source receiving component and the clock component; step S31 includes:
the target clock source receiving component receives the time information and sends the time information to a target arbitration decision-making component;
the target arbitration decision-making component receives the time information and arbitration information sent by the adjacent clock source arbitration switch, and determines whether to send the time information to the target clock piece or not based on the arbitration information and the time information; if yes, go to step S32; if not, step S33 is executed.
Optionally, the clock piece comprises: a clock component and a clock output component; the clock component is respectively connected with the arbitration decision component and the clock output component; step S32 includes:
the target clock component adjusts the clock in the clock component according to the time information to obtain a clock value; the clock value is the synchronization information;
and the target clock output component encapsulates the synchronous information into corresponding data format according to the interface type connected with the clock output port in the target station domain type protection device, and sends the synchronous information to the target station domain type protection device.
Optionally, step S33 includes:
the target decision-making part determines the minimum MAC from all the arbitration information and defines the time information corresponding to the minimum MAC as target time information;
and the target clock part obtains the synchronous information according to the target time information and sends the synchronous information to the target station domain type protection device.
In a second aspect, a clock synchronization apparatus of a power distribution network domain type protection apparatus provided in an embodiment of the present invention is applied to a power distribution network domain type protection system, and the system includes: the system comprises a clock source, a clock source arbitration switch and a station domain type protection device; the clock source arbitration switch is respectively connected with the domain type protection device and the clock source; the number of the clock sources is more than 1; the number of the clock sources, the number of the clock source arbitration switches and the number of the station domain type protection devices are equal; the device comprises:
the acquisition module is used for periodically acquiring the time information of the satellite clock through the target clock source and sending the time information to the connected target clock source arbitration switch;
the judging module is used for judging whether the time information is received or not through the target clock source arbitration switch; if yes, executing a response module; if not, executing a receiving module;
the response module is used for responding to the time information, the target clock source arbitration switch and an adjacent clock source arbitration switch carry out arbitration information interaction, and synchronous information is determined based on all the arbitration information; an execution output module; the arbitration information comprises time information obtained by a corresponding clock source;
the receiving module is used for determining synchronous information based on all arbitration information when receiving the arbitration information sent by the adjacent clock source arbitration switch;
and the output module is used for outputting the synchronous information through the target station domain type protection device.
Optionally, the clock source arbitrating switch comprises: the system comprises a decision-making piece and a clock piece connected with the decision-making piece; the decision-making part is connected with the clock source through the clock source access port; the clock piece is connected with the station-domain protection device through the clock output port; the response module includes:
the judgment submodule is used for determining whether to send the time information to the target clock element or not through the time information sent by the target decision element based on the connected target clock source and the arbitration information sent by the adjacent clock source arbitration switch; if yes, executing a synchronous information sending submodule; if not, executing a target time information determination submodule;
the synchronous information sending submodule is used for obtaining the synchronous information according to the time information through the target clock piece and sending the synchronous information to the target station domain type protection device; executing a receiving module;
the target time information determining submodule is used for determining target time information based on the MAC in the arbitration information through the target decision-making part, then the target clock part obtains the synchronous information according to the target time information, and the synchronous information is sent to the target station domain type protection device; the receiving module is executed.
Optionally, the decision-making part comprises: a clock source receiving component and an arbitration decision component; the clock source receiving component is connected with the clock source through the clock source access port; the arbitration decision component is respectively connected with the clock source receiving component and the clock component; the judgment sub-module includes:
the time information sending unit is used for receiving the time information through the target clock source receiving component and sending the time information to the target arbitration decision-making component;
the judging unit is used for receiving the time information and arbitration information sent by the adjacent clock source arbitration switch through the target arbitration decision-making component, and determining whether to send the time information to the target clock piece or not based on the arbitration information and the time information; if yes, executing the synchronous information sending submodule; and if not, executing the target time information determination submodule.
Optionally, the clock piece comprises: a clock component and a clock output component; the clock component is respectively connected with the arbitration decision component and the clock output component; the synchronization information sending submodule includes:
the clock value determining unit is used for adjusting a clock in the clock component by the target clock component according to the time information to obtain a clock value; the clock value is the synchronization information;
and the encapsulation unit is used for encapsulating the synchronous information into corresponding synchronous information in a data format according to the interface type connected with the clock output port in the target station domain type protection device through the target clock output component and sending the synchronous information to the target station domain type protection device.
Optionally, the target time information determining sub-module includes:
a target time information determining unit, configured to determine a minimum MAC from all the arbitration information through the target decision-making component, and define time information corresponding to the minimum MAC as target time information;
and the sending unit is used for obtaining the synchronous information according to the target time information through the target clock piece and sending the synchronous information to the target station domain type protection device.
In a third aspect, the present invention provides an electronic device, comprising a processor and a memory, wherein the memory stores computer readable instructions, and the computer readable instructions, when executed by the processor, perform the steps of the method as provided in the first aspect.
In a fourth aspect, the present invention provides a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method as provided in the first aspect above.
According to the technical scheme, the invention has the following advantages:
according to the invention, through S1, a target clock source periodically acquires time information of a satellite clock and sends the time information to a connected target clock source arbitration switch; s2, the target clock source arbitration switch judges whether the time information is received; if yes, go to step S3; if not, go to step S4; s3, responding to the time information, the target clock source arbitration switch and the adjacent clock source arbitration switch carry out arbitration information interaction, and the synchronization information is determined based on all the arbitration information; step S5 is executed; the arbitration information comprises time information obtained by a corresponding clock source; s4, when the arbitration information sent by the adjacent clock source arbitration switch is received, based on all the arbitration information, determining synchronous information; and S5, the target station domain type protection device outputs the synchronization information. The clock source arbitration switch is additionally arranged in the power distribution network domain type protection system, so that time synchronization between the clock source and the connected clock source arbitration switch and time synchronization between the clock source arbitration switches are realized, namely, the redundant relation existing among multiple clock sources is increased, and the running reliability of the domain type protection system is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts;
fig. 1 is a flowchart illustrating a first embodiment of a clock synchronization method for a domain protection device of a power distribution network according to the present invention;
fig. 2 is a flowchart illustrating a second embodiment of a clock synchronization method for a domain protection device of a power distribution network according to the present invention;
FIG. 3 is a domain protection system for a power distribution network according to the present invention;
FIG. 4 is a schematic diagram of a clock source arbitration switch according to the present invention;
FIG. 5 is a time synchronization frame for carrying a clock source with B code according to the present invention;
fig. 6 is a block diagram of a clock synchronization apparatus of a power distribution network domain protection apparatus according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a clock synchronization method and a clock synchronization device for a domain type protection device of a power distribution network, which are used for enabling redundancy relation to exist among multiple clock sources through an arbitration switch and improving the running reliability of a domain type protection system.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a first embodiment of a clock synchronization method of a power distribution network domain protection device, applied to a power distribution network domain protection system, the system including: the system comprises a clock source, a clock source arbitration switch and a station domain type protection device; the clock source arbitration switch is respectively connected with the domain type protection device and the clock source; the number of the clock sources is more than 1; the number of the clock sources, the number of the clock source arbitration switches and the number of the station domain type protection devices are equal; the method comprises the following steps:
s1, the target clock source periodically acquires the time information of the satellite clock and sends the time information to the connected target clock source arbitration switch;
s2, the target clock source arbitration switch judges whether the time information is received; if yes, go to step S3; if not, go to step S4;
s3, responding to the time information, the target clock source arbitration switch and the adjacent clock source arbitration switch carry out arbitration information interaction, and the synchronization information is determined based on all the arbitration information; step S5 is executed; the arbitration information comprises time information obtained by a corresponding clock source;
s4, when the arbitration information sent by the adjacent clock source arbitration switch is received, based on all the arbitration information, determining synchronous information;
and S5, the target station domain type protection device outputs the synchronization information.
In the embodiment of the invention, through S1, the target clock source periodically acquires the time information of the satellite clock and sends the time information to the connected target clock source arbitration switch; s2, the target clock source arbitration switch judges whether the time information is received; if yes, go to step S3; if not, go to step S4; s3, responding to the time information, the target clock source arbitration switch and the adjacent clock source arbitration switch carry out arbitration information interaction, and the synchronization information is determined based on all the arbitration information; step S5 is executed; the arbitration information comprises time information obtained by a corresponding clock source; s4, when the arbitration information sent by the adjacent clock source arbitration switch is received, based on all the arbitration information, determining synchronous information; and S5, the target station domain type protection device outputs the synchronization information. The clock source arbitration switch is additionally arranged in the power distribution network domain type protection system, so that time synchronization between the clock source and the connected clock source arbitration switch and time synchronization between the clock source arbitration switches are realized, namely, the redundant relation existing among multiple clock sources is increased, and the running reliability of the domain type protection system is further improved.
Referring to fig. 2, a flowchart of a second embodiment of a clock synchronization method for a domain-type protection device of a power distribution network according to the present invention is shown in fig. 3.
The system comprises: the system comprises a clock source 1, a clock source arbitration switch 2 and a station domain type protection device 3; the clock source arbitration switch 2 is respectively connected with the domain type protection device 3 and the clock source 1; the number of the clock sources 1 is greater than 1; the number of the clock sources 1, the number of the clock source arbitration switches 2 and the number of the station domain type protection devices 3 are equal; referring to fig. 4, fig. 4 is a schematic structural diagram of a clock source arbitration switch of the present invention, wherein 21 is a clock source receiving component connected to a clock source 1 through a clock source access port, 22 is an arbitration decision component connected to an adjacent clock source arbitration switch 2 through two network side link interfaces, 23 is a clock component, and 24 is a clock output component connected to a domain protection device 3 through a clock output port.
Specifically, compared to a commonly used time synchronization frame for carrying a B-code clock source at the present stage, that is, the time synchronization frame for carrying a B-code clock source of the present invention shown in fig. 5, where a is a satellite, B is a B-code master clock, and C is a station-domain protection device, the working principle of the time synchronization frame is that when the satellite a and the B-code master clock B are synchronized, and after the time synchronization operation is completed, the B-code master clock B transmits a B-code pulse to the station-domain protection device C. Obviously, in fig. 5, there is no time-pairing operation between the B-code master clocks B, and there is no mutual communication and redundancy, and in actual operation, when one B-code master clock B fails, the station-based protection device C connected to it immediately steps out, controls blocking, which seriously affects the reliability of clock synchronization.
The method specifically comprises the following steps:
step S201, a target clock source 1 periodically acquires time information of a satellite clock and sends the time information to a connected target clock source arbitration switch 2;
it should be noted that "target" in the target clock source 1, the target clock source arbitration switch 2, the target station domain protection device 3, and the like in the embodiment of the present invention refers to a research clock source selected from a plurality of clock sources in the embodiment of the present invention, and a corresponding clock source arbitration switch and a target station domain protection device having a connection relationship.
Step S202, the target clock source arbitration switch 2 judges whether the time information is received; if yes, go to step S203; if not, go to step S206;
step S203, the target arbitration decision component 22 determines whether to send the time information to the target clock component 23 based on the time information sent by the connected target clock source 1 and the arbitration information sent by the adjacent clock source arbitration switch 2; if yes, go to step S204; if not, go to step S205;
specifically, the step S203 includes:
the target clock source receiving component 21 receives the time information and sends the time information to the target arbitration decision-making component 22;
the target arbitration decision component 22 receives the time information and the arbitration information sent by the adjacent clock source arbitration switch 2, and determines whether to send the time information to the target clock component 23 based on the arbitration information and the time information; if yes, go to step S204; if not, go to step S205;
in the embodiment of the present invention, the target clock source receiving component 21 receives the time information, performs time format analysis on the time information, and then sends the time information to the target arbitration decision component 22.
Step S204, the target clock output component 24 obtains the synchronization information according to the time information, and sends the synchronization information to the target station domain type protection device 3; and executing step S207;
the method specifically comprises the following steps: the target clock component 23 adjusts the clock according to the time information to obtain a clock value; the clock value is the synchronization information;
the target clock output component 24 encapsulates the synchronous information in the corresponding data format according to the interface type connected to the clock output port in the target station domain type protection device 3, and sends the synchronous information to the target station domain type protection device 3.
In the embodiment of the present invention, after receiving the time information, the target arbitration decision component 22 broadcasts the arbitration information through two network side connection interfaces, receives the arbitration information sent by the adjacent arbitration decision component, and then determines whether to send the time information to the target start clock component 23 according to the size relationship between the MAC address of the target arbitration decision component 22 itself and the MAC address carried by the arbitration information sent by the adjacent arbitration decision component.
Step S205, the target arbitration decision component 22 determines target time information based on the MAC in the arbitration information, and then the target clock component 23 obtains the synchronization information according to the target time information under the cooperation of the target clock output component 24, and sends the synchronization information to the target station domain protection device; step S207 is executed;
the method specifically comprises the following steps: the target arbitration decision component 22 determines a minimum MAC from all the arbitration information, and defines time information corresponding to the minimum MAC as target time information;
the target clock component 23 obtains the synchronization information according to the target time information, and sends the synchronization information to the target station domain type protection device 3 through the target clock output component 24.
In a specific implementation, if the MAC address of the target arbitration decision component 22 is greater than the MAC address in the received arbitration message, the target arbitration decision component 22 stops sending the own arbitration message to the network-side interface. If the own MAC address is less than the MAC address in the received arbitration message, the target arbitration decision component 22 continues to broadcast the own arbitration message, at a frequency of 1 second and 1 time. Finally, only the corresponding time information of the minimum MAC address is accessed in the target clock source arbitration switch 2 as the time information sent to the clock component 23 by the target arbitration decision component 22 in the target clock source arbitration switch 2. And the other clock source arbitration exchangers 2 in the whole power distribution network domain type protection system complete the clock synchronization with the internal clock source 1 according to the time information.
In addition, although all the arbitration decision components 22 broadcast their own arbitration information or receive external arbitration information 1 time per second, if the arbitration information is not received 3 times continuously at the time of reception, it is determined that the clock source is lost, and at this time, the switch arbitration decision component 22 accessed by clock source 1 broadcasts the arbitration information again and determines the minimum MAC address and the corresponding time information again.
Step S206, when receiving the arbitration information sent by the adjacent clock source arbitration switch 2, determining synchronization information based on all the arbitration information;
in the embodiment of the present invention, when other clock sources 1 in the system receive the time information, the connected clock source arbitration switch 2 also broadcasts the arbitration information to the adjacent clock source arbitration switch 2, and then performs the same operations as steps S202 to S206, thereby determining the synchronization information.
In step S207, the destination domain protection device 3 outputs the synchronization information.
In the embodiment of the invention, through S1, the target clock source periodically acquires the time information of the satellite clock and sends the time information to the connected target clock source arbitration switch; s2, the target clock source arbitration switch judges whether the time information is received; if yes, go to step S3; if not, go to step S4; s3, responding to the time information, the target clock source arbitration switch and the adjacent clock source arbitration switch carry out arbitration information interaction, and the synchronization information is determined based on all the arbitration information; step S5 is executed; the arbitration information comprises time information obtained by a corresponding clock source; s4, when the arbitration information sent by the adjacent clock source arbitration switch is received, based on all the arbitration information, determining synchronous information; and S5, the target station domain type protection device outputs the synchronization information. The clock source arbitration switch is additionally arranged in the power distribution network domain type protection system, so that time synchronization between the clock source and the connected clock source arbitration switch and time synchronization between the clock source arbitration switches are realized, namely, the redundant relation existing among multiple clock sources is increased, and the running reliability of the domain type protection system is further improved.
Referring to fig. 6, a block diagram of an embodiment of a power supply management and control apparatus is shown, which is applied to a power distribution network domain protection system, and the system includes: the system comprises a clock source, a clock source arbitration switch and a station domain type protection device; the clock source arbitration switch is respectively connected with the domain type protection device and the clock source; the number of the clock sources is more than 1; the number of the clock sources, the number of the clock source arbitration switches and the number of the station domain type protection devices are equal; the device comprises:
the acquisition module 101 is configured to periodically acquire time information of a satellite clock by using a target clock source, and send the time information to a connected target clock source arbitration switch;
the judging module 102 is configured to judge whether the time information is received through the target clock source arbitration switch; if yes, executing a response module; if not, executing a receiving module;
a response module 103, configured to respond to the time information, perform arbitration information interaction between the target clock source arbitration switch and an adjacent clock source arbitration switch, and determine synchronization information based on all the arbitration information; an execution output module; the arbitration information comprises time information obtained by a corresponding clock source;
a receiving module 104, configured to determine synchronization information based on all the arbitration information when receiving the arbitration information sent by the adjacent clock source arbitration switch;
and an output module 105, configured to output the synchronization information through the destination-domain protection device.
In an optional embodiment, the clock source arbitrating switch comprises: the system comprises a decision-making piece and a clock piece connected with the decision-making piece; the decision-making part is connected with the clock source through the clock source access port; the clock piece is connected with the station-domain protection device through the clock output port; the response module 103 includes:
the judgment submodule is used for determining whether to send the time information to the target clock element or not through the time information sent by the target decision element based on the connected target clock source and the arbitration information sent by the adjacent clock source arbitration switch; if yes, executing a synchronous information sending submodule; if not, executing a target time information determination submodule;
the synchronous information sending submodule is used for obtaining the synchronous information according to the time information through the target clock piece and sending the synchronous information to the target station domain type protection device; executing a receiving module;
the target time information determining submodule is used for determining target time information based on the MAC in the arbitration information through the target decision-making part, then the target clock part obtains the synchronous information according to the target time information, and the synchronous information is sent to the target station domain type protection device; the receiving module is executed.
In an optional embodiment, the decision-making part comprises: a clock source receiving component and an arbitration decision component; the clock source receiving component is connected with the clock source through the clock source access port; the arbitration decision component is respectively connected with the clock source receiving component and the clock component; the judgment sub-module includes:
the time information sending unit is used for receiving the time information through the target clock source receiving component and sending the time information to the target arbitration decision-making component;
the judging unit is used for receiving the time information and arbitration information sent by the adjacent clock source arbitration switch through the target arbitration decision-making component, and determining whether to send the time information to the target clock piece or not based on the arbitration information and the time information; if yes, executing the synchronous information sending submodule; and if not, executing the target time information determination submodule.
In an alternative embodiment, the clock member comprises: a clock component and a clock output component; the clock component is respectively connected with the arbitration decision component and the clock output component; the synchronization information sending submodule includes:
the clock value determining unit is used for adjusting a clock in the clock component by the target clock component according to the time information to obtain a clock value; the clock value is the synchronization information;
and the encapsulation unit is used for encapsulating the synchronous information into corresponding synchronous information in a data format according to the interface type connected with the clock output port in the target station domain type protection device through the target clock output component and sending the synchronous information to the target station domain type protection device.
In an optional embodiment, the target time information determination submodule includes:
a target time information determining unit, configured to determine a minimum MAC from all the arbitration information through the target decision-making component, and define time information corresponding to the minimum MAC as target time information;
and the sending unit is used for obtaining the synchronous information according to the target time information through the target clock piece and sending the synchronous information to the target station domain type protection device.
An embodiment of the present invention further provides an electronic device, including a memory and a processor, where the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the clock synchronization method for a power distribution network domain type protection device according to any of the above embodiments.
The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by the processor, implements the clock synchronization method of the power distribution network domain protection device according to any of the above embodiments.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A clock synchronization method of a power distribution network domain type protection device is applied to a power distribution network domain type protection system, and the system comprises the following steps: the system comprises a clock source, a clock source arbitration switch and a station domain type protection device; the clock source arbitration switch is respectively connected with the domain type protection device and the clock source; the number of the clock sources is more than 1; the number of the clock sources, the number of the clock source arbitration switches and the number of the station domain type protection devices are equal; the method comprises the following steps:
s1, the target clock source periodically acquires the time information of the satellite clock and sends the time information to the connected target clock source arbitration switch;
s2, the target clock source arbitration switch judges whether the time information is received; if yes, go to step S3; if not, go to step S4;
s3, responding to the time information, the target clock source arbitration switch and the adjacent clock source arbitration switch carry out arbitration information interaction, and the synchronization information is determined based on all the arbitration information; step S5 is executed; the arbitration information comprises time information obtained by a corresponding clock source;
s4, when the arbitration information sent by the adjacent clock source arbitration switch is received, based on all the arbitration information, determining synchronous information;
and S5, the target station domain type protection device outputs the synchronization information.
2. The clock synchronization method for domain protection devices of power distribution network according to claim 1, wherein the clock source arbitration switch comprises: the system comprises a decision-making piece and a clock piece connected with the decision-making piece; the decision-making part is connected with the clock source through the clock source access port; the clock piece is connected with the station-domain protection device through the clock output port; step S3 includes:
s31, the target decision-making part determines whether to send the time information to the target clock part based on the time information sent by the connected target clock source and the arbitration information sent by the adjacent clock source arbitration switch; if yes, go to step S32; if not, go to step S33;
s32, the target clock obtains the synchronization information according to the time information and sends the synchronization information to the target station domain type protection device; step S4 is executed;
s33, the target decision-making part determines target time information based on the MAC in the arbitration information, then the target clock part obtains the synchronization information according to the target time information, and sends the synchronization information to the target station domain type protection device; step S4 is executed.
3. The clock synchronization method for a power distribution network site domain type protection device according to claim 1, wherein the decision-making means comprises: a clock source receiving component and an arbitration decision component; the clock source receiving component is connected with the clock source through the clock source access port; the arbitration decision component is respectively connected with the clock source receiving component and the clock component; step S31 includes:
the target clock source receiving component receives the time information and sends the time information to a target arbitration decision-making component;
the target arbitration decision-making component receives the time information and arbitration information sent by the adjacent clock source arbitration switch, and determines whether to send the time information to the target clock piece or not based on the arbitration information and the time information; if yes, go to step S32; if not, step S33 is executed.
4. The method for synchronizing clocks of a domain protection device of a power distribution network according to claim 3, wherein the clock unit comprises: a clock component and a clock output component; the clock component is respectively connected with the arbitration decision component and the clock output component; step S32 includes:
the target clock component adjusts the clock in the clock component according to the time information to obtain a clock value; the clock value is the synchronization information;
and the target clock output component encapsulates the synchronous information into corresponding data format according to the interface type connected with the clock output port in the target station domain type protection device, and sends the synchronous information to the target station domain type protection device.
5. The clock synchronization method for power distribution network site domain type protection device as claimed in claim 3, wherein the step S33 comprises:
the target decision-making part determines the minimum MAC from all the arbitration information and defines the time information corresponding to the minimum MAC as target time information;
and the target clock part obtains the synchronous information according to the target time information and sends the synchronous information to the target station domain type protection device.
6. A clock synchronization device of a power distribution network domain type protection device is applied to a power distribution network domain type protection system, and the system comprises: the system comprises a clock source, a clock source arbitration switch and a station domain type protection device; the clock source arbitration switch is respectively connected with the domain type protection device and the clock source; the number of the clock sources is more than 1; the number of the clock sources, the number of the clock source arbitration switches and the number of the station domain type protection devices are equal; the device comprises:
the acquisition module is used for periodically acquiring the time information of the satellite clock through the target clock source and sending the time information to the connected target clock source arbitration switch;
the judging module is used for judging whether the time information is received or not through the target clock source arbitration switch; if yes, executing a response module; if not, executing a receiving module;
the response module is used for responding to the time information, the target clock source arbitration switch and an adjacent clock source arbitration switch carry out arbitration information interaction, and synchronous information is determined based on all the arbitration information; an execution output module; the arbitration information comprises time information obtained by a corresponding clock source;
the receiving module is used for determining synchronous information based on all arbitration information when receiving the arbitration information sent by the adjacent clock source arbitration switch;
and the output module is used for outputting the synchronous information through the target station domain type protection device.
7. The clock synchronization apparatus of power distribution network site domain protection apparatus according to claim 6, wherein the clock source arbitration switch comprises: the system comprises a decision-making piece and a clock piece connected with the decision-making piece; the decision-making part is connected with the clock source through the clock source access port; the clock piece is connected with the station-domain protection device through the clock output port; the response module includes:
the judgment submodule is used for determining whether to send the time information to the target clock element or not through the time information sent by the target decision element based on the connected target clock source and the arbitration information sent by the adjacent clock source arbitration switch; if yes, executing a synchronous information sending submodule; if not, executing a target time information determination submodule;
the synchronous information sending submodule is used for obtaining the synchronous information according to the time information through the target clock piece and sending the synchronous information to the target station domain type protection device; executing a receiving module;
the target time information determining submodule is used for determining target time information based on the MAC in the arbitration information through the target decision-making part, then the target clock part obtains the synchronous information according to the target time information, and the synchronous information is sent to the target station domain type protection device; the receiving module is executed.
8. The clock synchronization device of the power distribution network site domain type protection device according to claim 6, wherein the decision-making means comprises: a clock source receiving component and an arbitration decision component; the clock source receiving component is connected with the clock source through the clock source access port; the arbitration decision component is respectively connected with the clock source receiving component and the clock component; the judgment sub-module includes:
the time information sending unit is used for receiving the time information through the target clock source receiving component and sending the time information to the target arbitration decision-making component;
the judging unit is used for receiving the time information and arbitration information sent by the adjacent clock source arbitration switch through the target arbitration decision-making component, and determining whether to send the time information to the target clock piece or not based on the arbitration information and the time information; if yes, executing the synchronous information sending submodule; and if not, executing the target time information determination submodule.
9. The clock synchronization apparatus of a power distribution network site domain type protection apparatus according to claim 8, wherein the clock unit comprises: a clock component and a clock output component; the clock component is respectively connected with the arbitration decision component and the clock output component; the synchronization information sending submodule includes:
the clock value determining unit is used for adjusting a clock in the clock component by the target clock component according to the time information to obtain a clock value; the clock value is the synchronization information;
and the encapsulation unit is used for encapsulating the synchronous information into corresponding synchronous information in a data format according to the interface type connected with the clock output port in the target station domain type protection device through the target clock output component and sending the synchronous information to the target station domain type protection device.
10. The clock synchronization apparatus of a power distribution network site domain type protection apparatus according to claim 8, wherein the target time information determination submodule includes:
a target time information determining unit, configured to determine a minimum MAC from all the arbitration information through the target decision-making component, and define time information corresponding to the minimum MAC as target time information;
and the sending unit is used for obtaining the synchronous information according to the target time information through the target clock piece and sending the synchronous information to the target station domain type protection device.
CN202110681165.XA 2021-06-18 2021-06-18 Clock synchronization method and device for domain type protection device of power distribution network Active CN113364551B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110681165.XA CN113364551B (en) 2021-06-18 2021-06-18 Clock synchronization method and device for domain type protection device of power distribution network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110681165.XA CN113364551B (en) 2021-06-18 2021-06-18 Clock synchronization method and device for domain type protection device of power distribution network

Publications (2)

Publication Number Publication Date
CN113364551A true CN113364551A (en) 2021-09-07
CN113364551B CN113364551B (en) 2022-08-09

Family

ID=77535201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110681165.XA Active CN113364551B (en) 2021-06-18 2021-06-18 Clock synchronization method and device for domain type protection device of power distribution network

Country Status (1)

Country Link
CN (1) CN113364551B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202978439U (en) * 2012-12-21 2013-06-05 湖北省电力公司电力科学研究院 Process level networking structure applicable to centralized station domain protection communication of intelligent substations
EP2750310A1 (en) * 2012-12-28 2014-07-02 Siemens Aktiengesellschaft Method for synchronizing local clocks in a communication network of an industrial automation system and network infrastructure device
CN110798276A (en) * 2018-08-02 2020-02-14 全球能源互联网研究院有限公司 Time synchronization method and system for SDN (software defined network) of intelligent substation
CN112492046A (en) * 2020-12-11 2021-03-12 交控科技股份有限公司 Train distributed TCMS (train communication control system) master-slave redundancy management method and system
EP3812875A1 (en) * 2019-10-25 2021-04-28 Rockwell Collins, Inc. Time synchronization over redundant and deterministic switch-based avionics networks

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202978439U (en) * 2012-12-21 2013-06-05 湖北省电力公司电力科学研究院 Process level networking structure applicable to centralized station domain protection communication of intelligent substations
EP2750310A1 (en) * 2012-12-28 2014-07-02 Siemens Aktiengesellschaft Method for synchronizing local clocks in a communication network of an industrial automation system and network infrastructure device
CN110798276A (en) * 2018-08-02 2020-02-14 全球能源互联网研究院有限公司 Time synchronization method and system for SDN (software defined network) of intelligent substation
EP3812875A1 (en) * 2019-10-25 2021-04-28 Rockwell Collins, Inc. Time synchronization over redundant and deterministic switch-based avionics networks
CN112492046A (en) * 2020-12-11 2021-03-12 交控科技股份有限公司 Train distributed TCMS (train communication control system) master-slave redundancy management method and system

Also Published As

Publication number Publication date
CN113364551B (en) 2022-08-09

Similar Documents

Publication Publication Date Title
CN104375789B (en) The synchronous display method and system of mosaic screen
CN106451763B (en) A kind of intelligent substation station level bus network system without global synchronization system
US20110035511A1 (en) Remote Hardware Timestamp-Based Clock Synchronization
CN110830324B (en) Method and device for detecting network connectivity of data center and electronic equipment
US9209919B2 (en) Synchronization control system
CN102986106A (en) A method for transfer of control between devices in a substation system and a device thereof
US20170195076A1 (en) Clock Synchronization Method and Apparatus
CN109996325B (en) Clock synchronization system and method of wireless sensor network
CN101511042A (en) Data synchronization method and device
CN112436601B (en) Information flow processing method of intelligent substation, computer equipment and storage medium
CN102546147A (en) Method for realizing accurate network timing of wide-area protection system on basis of SDH (Synchronous Digital Hierarchy) network
CN110868458B (en) Communication method and device for stable control system
JP2018091828A (en) System and method for synchronization of time source in protective zone of digital electric power substation
JPH03102939A (en) Cell synchronizing system
CN107483084B (en) Broadband carrier networking method, site and system
CN113364551B (en) Clock synchronization method and device for domain type protection device of power distribution network
EP2897312B1 (en) Clock synchronization method, system and device
CN103259639B (en) A kind of clock synchronizing method of stack equipment and equipment
CN107342924B (en) Non-polar communication method and device of CAN and electronic equipment
CN103970705A (en) Multi-path server architecture design with redundant and symmetrical hot-plugging IO boxes
CN111274182B (en) Bus address expansion method and device
CN101894091A (en) Method and system for single board I2C expansion and ID check
CN112328518A (en) Multi-channel serial communication device, system and method
CN112242695A (en) Relay protection data synchronization method and device based on wireless communication
CN113411155B (en) Power distribution network clock synchronization system and method based on Ethernet transmission

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant