CN115051781A - Clock synchronization method and device in power distribution station area, electronic equipment and storage medium - Google Patents
Clock synchronization method and device in power distribution station area, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115051781A CN115051781A CN202210803327.7A CN202210803327A CN115051781A CN 115051781 A CN115051781 A CN 115051781A CN 202210803327 A CN202210803327 A CN 202210803327A CN 115051781 A CN115051781 A CN 115051781A
- Authority
- CN
- China
- Prior art keywords
- waveform
- time
- capacitor
- intelligent capacitor
- clock
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 239000003990 capacitor Substances 0.000 claims abstract description 113
- 238000005070 sampling Methods 0.000 claims abstract description 11
- 230000015654 memory Effects 0.000 claims description 13
- 230000001360 synchronised effect Effects 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 10
- 230000008859 change Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 5
- 239000000969 carrier Substances 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0016—Arrangements for synchronising receiver with transmitter correction of synchronization errors
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J13/00—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
- H02J13/00006—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
- H02J13/00007—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment using the power network as support for the transmission
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J13/00—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
- H02J13/00006—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
- H02J13/00022—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment using wireless data transmission
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for ac mains or ac distribution networks
- H02J3/18—Arrangements for adjusting, eliminating or compensating reactive power in networks
- H02J3/1821—Arrangements for adjusting, eliminating or compensating reactive power in networks using shunt compensators
- H02J3/1835—Arrangements for adjusting, eliminating or compensating reactive power in networks using shunt compensators with stepless control
- H02J3/1864—Arrangements for adjusting, eliminating or compensating reactive power in networks using shunt compensators with stepless control wherein the stepless control of reactive power is obtained by at least one reactive element connected in series with a semiconductor switch
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0054—Detection of the synchronisation error by features other than the received signal transition
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Remote Monitoring And Control Of Power-Distribution Networks (AREA)
Abstract
The application provides a clock synchronization method, a clock synchronization device, electronic equipment and a storage medium in a power distribution area, wherein the power distribution area comprises a transformer, an intelligent capacitor connected with the transformer and target equipment, the method is applied to the target equipment, and the method comprises the following steps: receiving a time synchronization request instruction initiated by an intelligent capacitor in a distribution station area, and sampling a first voltage transmitted by a transformer in real time according to the time synchronization request instruction to obtain a first waveform; comparing the first waveform with a second waveform sent by the intelligent capacitor to obtain a comparison result; according to the comparison result, clock synchronization with the smart capacitor is maintained. The technical scheme that this application provided can promote success rate and the rate of accuracy of equipment to time in the distribution station district.
Description
Technical Field
The present application relates to the field of power distribution systems, and in particular, to a method and an apparatus for clock synchronization in a power distribution area, an electronic device, and a storage medium.
Background
A distribution substation is an area or region in which a transformer supplies power, and a plurality of electric energy meters and distributed reactive power compensation devices are usually arranged in the distribution substation. In order to guarantee safe and stable operation of the power distribution station, all equipment time in the power system needs to be kept uniform, and time sources for analyzing action behaviors of various equipment can provide important basis for accidents of the power system.
In order to keep clocks of devices in the power system synchronous, time scale signals in a Beidou satellite navigation system and a GPS are generally adopted as standard time sources to calibrate clock signals of the devices, and the clock signals are directly sent to the devices in the power system in a power line carrier or micropower wireless mode and the like to calibrate the clocks. Therefore, when the clock signal reaches the target device due to the existence of the multi-stage relay, the signal carried by the communication message is deviated, so that the time synchronization accuracy is low.
Disclosure of Invention
The application aims to provide a clock synchronization method and device in a power distribution area, electronic equipment and a storage medium, and the success rate and accuracy rate of equipment time synchronization in the power distribution area can be improved.
A first aspect of an embodiment of the present application provides a clock synchronization method in a distribution substation, where the distribution substation includes a transformer, an intelligent capacitor connected to the transformer, and a target device, and the method is applied to the target device, and the method includes:
receiving a time synchronization request instruction initiated by the intelligent capacitor in the distribution station area, and sampling a first voltage transmitted by the transformer in real time according to the time synchronization request instruction to obtain a first waveform;
comparing the first waveform with a second waveform sent by the intelligent capacitor to obtain a comparison result;
and keeping clock synchronization with the intelligent capacitor according to the comparison result.
In one embodiment, the smart capacitor switches the capacitance on and off at predetermined time intervals, causing the first voltage to rise and fall at the same time intervals.
In one embodiment, before comparing the first waveform with the second waveform emitted by the smart capacitor, the method further comprises: and receiving a second waveform sent by the intelligent capacitor within a preset waiting time after the time-setting request instruction is received.
In an embodiment, the receiving a time setting request command initiated by the smart capacitor in the distribution substation area includes: and receiving the time setting request instruction wirelessly transmitted by the intelligent capacitor through a power line carrier or micropower.
In an embodiment, the comparing the first waveform with the second waveform sent by the smart capacitor to obtain a comparison result includes: and comparing whether the first waveform is the same as a second waveform sent by the intelligent capacitor to obtain the comparison result.
In one embodiment, the maintaining clock synchronization with the smart capacitor according to the comparison result includes: and if the first waveform is the same as the second waveform, determining that the first waveform is synchronous with the clock of the intelligent capacitor, and setting the clock of the intelligent capacitor to be set time.
In one embodiment, the keeping clock synchronization with the smart capacitor according to the comparison result includes: and if the first waveform is different from the second waveform, adjusting the clock of the intelligent capacitor and keeping the clock synchronization with the intelligent capacitor according to the time difference between the first waveform and the second waveform.
A second aspect of the embodiments of the present application provides a clock synchronization apparatus in a power distribution area, where the apparatus includes:
the first receiving module is used for receiving a time synchronization request instruction initiated by the intelligent capacitor in the distribution station area, and sampling a first voltage transmitted by the transformer in real time according to the time synchronization request instruction to obtain a first waveform;
the comparison module is used for comparing the first waveform with a second waveform sent by the intelligent capacitor to obtain a comparison result;
and the time synchronization module is used for keeping clock synchronization with the intelligent capacitor according to the comparison result.
In one embodiment, the smart capacitor switches capacitance on and off at predetermined time intervals, causing the first voltage to rise and fall at the same time intervals.
In one embodiment, the apparatus further comprises:
and the second receiving module is used for receiving a second waveform sent by the intelligent capacitor within a preset waiting time after the time setting request instruction is received.
In an embodiment, the first receiving module is further configured to receive the time-setting request instruction wirelessly transmitted by the smart capacitor through a power line carrier or a micro-power.
In an embodiment, the comparison module is further configured to compare whether the first waveform is the same as the second waveform sent by the smart capacitor, so as to obtain the comparison result.
In an embodiment, the time synchronization module is further configured to determine that the first waveform is the same as the second waveform, and set a clock of the time synchronization module to be a set time.
In an embodiment, the time synchronization module is further configured to adjust a clock of the time synchronization module to keep clock synchronization with the smart capacitor according to a time difference between the first waveform and the second waveform if the first waveform is different from the second waveform.
A third aspect of embodiments of the present application provides an electronic device, including:
a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the method of the first aspect of the application.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium storing a computer program executable by a processor to perform the method of the first aspect of the present application.
According to the clock synchronization method, the clock synchronization device, the electronic equipment and the storage medium in the power distribution transformer area, the intelligent capacitor sends a time synchronization request notification to target equipment in the transformer area through power line carrier waves or micro-power wireless, the target equipment collects a first waveform of voltage of a power system in real time and compares the first waveform with a second waveform sent by the intelligent capacitor after the time synchronization request instruction is sent, and according to a comparison result, clock synchronization of the target equipment and the intelligent capacitor is achieved. The clock synchronization of the equipment in the power distribution area is realized by using the voltage change caused by the switching-in and switching-off of the intelligent capacitor as a characteristic signal, and the success rate and the accuracy rate of the clock synchronization are improved by the method.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required to be used in the embodiments will be briefly described below.
Fig. 1 is an application scenario diagram of a clock synchronization method in a power distribution substation area according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a clock synchronization method in a power distribution area according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a clock synchronization method in a power distribution area according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a clock synchronization apparatus in a power distribution area according to an embodiment of the present disclosure.
Detailed Description
In the description of the present application, the terms "first," "second," and the like are used for distinguishing between descriptions and do not denote an order of magnitude, nor are they to be construed as indicating or implying relative importance.
In the description of the present application, the terms "comprises," "comprising," and/or the like, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and/or groups thereof.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
The technical solution of the present application will be clearly and completely described below with reference to the accompanying drawings.
Please refer to fig. 1, which is a diagram of an application scenario of a clock synchronization method in a distribution substation area according to an embodiment of the present application, where the application scenario includes a transformer 101, a smart capacitor 102, and a target device 103. The smart capacitor 102 connects the transformer 101 and the target device 103. The smart capacitor 102 is disposed at the head end of the transformer 101, and can issue a time synchronization request and a waveform for time synchronization to complete time synchronization of the devices in the distribution substation area. There may be a plurality of target devices 103, and the target devices 103 may be electric energy meters, distributed reactive power compensation devices, and the like.
Please refer to fig. 2, which is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, wherein the electronic device is configured to execute a clock synchronization method in a power distribution area according to an embodiment of the present disclosure. The electronic device includes: at least one processor 203, at least one memory 202, and a bus 201, the bus 201 being used to enable the connected communication of these components.
The Memory 202 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, including but not limited to Random Access Memory (RAM), Read Only Memory (ROM), Static Random Access Memory (SRAM), Programmable Read-Only Memory (PROM), Erasable Read-Only Memory (EPROM), electrically Erasable Read-Only Memory (EEPROM).
The Processor 203 may be a general purpose Processor including, but not limited to, a Central Processing Unit (CPU), a Network Processor (NP), etc., a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, and the processor 203 is the control center of the electronic device 200, and various interfaces and lines are used to connect the various parts of the whole electronic device 200. The processor 203 may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present application.
Referring to fig. 3, which is a flowchart illustrating a method for clock synchronization in a power distribution substation according to an embodiment of the present disclosure, the method may be performed by the electronic device 200 shown in fig. 2, and the method includes S310-S330.
S310: receiving a time synchronization request instruction initiated by an intelligent capacitor in a distribution station area, and sampling a first voltage transmitted by a transformer in real time according to the time synchronization request instruction to obtain a first waveform.
The distribution station area is a power supply range of a transformer in the power system, and the transformer, the intelligent capacitor and the target device are included in the distribution station area. The intelligent capacitor can be arranged at the head end of the transformer and can send out time-setting notification and waveforms for time setting. The intelligent capacitor can also save energy, reduce electric loss, provide reactive compensation and play an important role in a power system. There may be a plurality of target devices in the distribution substation, and the target devices may be electric energy meters, distributed reactive compensation devices, and the like.
When all the devices in the power distribution area need to be timed and the clocks of all the devices are synchronized, the intelligent capacitor arranged at the head end of the transformer establishes contact with all the target devices in the power distribution area through power line carriers or micropower radios, and the intelligent capacitor sends a timing request instruction to the target devices through the power line carriers or the micropower radios to inform the target devices of timing.
The first voltage transmitted by the transformer is the three-phase voltage of the power system, which can be sampled in real time by the target device after the intelligent capacitor sends a time setting request instruction. The smart capacitor may switch the capacitance on and off at preset time intervals, causing the first voltage to rise and fall at the same time intervals.
The throw and the cut are processes of inserting the smart capacitor into the power system or disconnecting the smart capacitor from the power system. The preset time interval may be set to 20ms for input and 20ms for removal, and may be specifically set according to actual conditions, which is not limited herein. The commissioning and removal process of the smart capacitor may cause a voltage in the power system to change, thereby causing the first waveform to change.
After receiving a time setting request instruction sent by the intelligent capacitor, the target device starts real-time sampling of the first voltage to obtain a first waveform.
S320: and comparing the first waveform with a second waveform sent by the intelligent capacitor to obtain a comparison result.
The second waveform is a waveform that the intelligent capacitor waits for a period of time to send after sending the time setting request command, and since the intelligent capacitor is switched on and off according to a preset time interval, the voltage in the power system is increased due to the switching on of the intelligent capacitor, and the voltage is reduced due to the switching off of the intelligent capacitor, the second waveform may be changed. The second waveform may be considered a time tick waveform or a calibration waveform.
And the target equipment compares the acquired first waveform with the received second waveform to obtain a comparison result. The comparison result may be that the first waveform is the same as the second waveform, or that the first waveform is different from the second waveform.
S330: according to the comparison result, clock synchronization is maintained with the smart capacitor.
When clock synchronization is required, a time tick request command is issued by the intelligent capacitor to a target device in the distribution substation at that time. If the comparison result shows that the first waveform is the same as the second waveform, the target device and the clock of the intelligent capacitor can be considered to be synchronous, and the clock of the target device is set to be the preset synchronous time, so that the clocks in the power distribution station area are synchronized.
For example: when the first waveform and the second waveform are compared to be the same, the clock time of the target device is set to a set time, and the set time can be regarded as a standard time.
Referring to fig. 4, a flowchart of a clock synchronization method in a power distribution area according to an embodiment of the present disclosure is shown, where the method may be executed by the electronic device 200 shown in fig. 2, and the method includes steps S410 to S450.
S410: receiving a time synchronization request instruction initiated by an intelligent capacitor in a distribution station area, and sampling a first voltage transmitted by a transformer in real time according to the time synchronization request instruction to obtain a first waveform.
When all the devices in the power distribution area need to be timed and clocks of all the devices are synchronized, an intelligent capacitor arranged at the head end of a transformer establishes contact with all target devices in the power distribution area through power line carriers or micropower radios, and the intelligent capacitor sends a timing request instruction to the target devices through the power line carriers or the micropower radios to inform the target devices of timing.
The first voltage transmitted by the transformer is the three-phase voltage of the power system, which can be sampled in real time by the target device after the intelligent capacitor sends a time setting request instruction. The smart capacitor may switch the capacitance on and off at preset time intervals, causing the first voltage to rise and fall at the same time intervals. The intelligent capacitor can select a thyristor as a switching switch to realize rapid switching in and switching off.
The throw and the cut are processes of inserting the smart capacitor into the power system or disconnecting the smart capacitor from the power system. The preset time interval may be set to 20ms for input and 20ms for output, and the specific time interval may be set according to actual conditions, and is not limited herein. The commissioning and removal process of the smart capacitor may cause a voltage in the power system to change, thereby causing the first waveform to change.
The time tick request instruction includes informing a target device within the distribution substation area to synchronize a clock with a clock of the smart capacitor. The intelligent capacitor initiates a time synchronization request instruction to target equipment in the power distribution station area through a power line carrier or a micropower wireless, and the target equipment starts real-time sampling of the first voltage after receiving the time synchronization request instruction to obtain a first waveform.
S420: and receiving a second waveform sent by the intelligent capacitor within a preset waiting time after the time setting request instruction is received.
The second waveform is a waveform for time synchronization which is sent after the intelligent capacitor waits for a period of time after sending the time synchronization request command, and the target device receives the second waveform sent by the intelligent capacitor.
S430: and comparing whether the first waveform is the same as the second waveform sent by the intelligent capacitor to obtain a comparison result.
Because the intelligent capacitor can be switched on or switched off at preset time intervals in the power system, the voltage of the power system can be changed by switching on or switching off the intelligent capacitor, and the waveform change is influenced. And comparing whether the first waveform is the same as the second waveform by using the voltage change caused by the intelligent capacitor during switching in or switching off as a characteristic signal to obtain a comparison result.
The waveform comparison algorithm adopts the following steps:
wherein n is the number of sampling points, i is the serial number of the current sampling point, A i A sequence of sample points of a first waveform, B i Is a sequence of sample points of the second waveform.
The comparison result may be that the first waveform is the same as the second waveform, or that the first waveform is different from the second waveform.
S440: and if the first waveform is the same as the second waveform, determining the synchronization with the clock of the intelligent capacitor, and setting the clock of the intelligent capacitor as the set time.
The first waveform and the second waveform are the same, that is, the voltage at the same time is the same. When the clock synchronization is needed, the intelligent capacitor sends a time synchronization request command to the target equipment in the power distribution station area at the time. If the comparison result shows that the first waveform is the same as the second waveform, the clock of the intelligent capacitor and the target device can be considered to be synchronous, and the clock of the target device can be set to be the preset synchronous time, so that the clocks in the power distribution station area are synchronized.
S450: if the first waveform is different from the second waveform, adjusting the clock of the intelligent capacitor and keeping the clock synchronization with the intelligent capacitor according to the time difference between the first waveform and the second waveform.
If the first waveform and the second waveform are different after comparison, for example, the first waveform is delayed by 20ms compared with the second waveform, the clock time of the target device can be adjusted, the clock time of the target device is advanced by 20ms, and clock time synchronization of devices in the power distribution area is realized.
According to the clock synchronization method in the power distribution transformer area, the intelligent capacitor sends a time synchronization request notice to target equipment in the transformer area through power line carrier waves or micro-power wireless, the target equipment collects voltage electric waves of a power system in real time and compares the voltage electric waves with time synchronization waveforms sent by the intelligent capacitor after the time synchronization request notice is sent, and if the waveforms are consistent, the target equipment is set to be preset time. The clock synchronization of the equipment in the power distribution area is realized by using the voltage change caused by the switching-in and switching-off of the intelligent capacitor as a characteristic signal, and the success rate and the accuracy rate of the clock synchronization are improved by the method.
Referring to fig. 5, which is a schematic structural diagram of a clock synchronization apparatus in a power distribution area according to an embodiment of the present disclosure, the apparatus 500 includes a first receiving module 510, a comparing module 520, and a time-setting module 530.
The first receiving module 510 is configured to receive a time synchronization request instruction initiated by an intelligent capacitor in a distribution substation area, and sample a first voltage transmitted by a transformer in real time according to the time synchronization request instruction to obtain a first waveform.
A comparing module 520, configured to compare the first waveform with a second waveform sent by the smart capacitor, so as to obtain a comparison result;
and a time synchronization module 530 for keeping clock synchronization with the smart capacitor according to the comparison result.
In one embodiment, the smart capacitor switches the capacitor on and off at predetermined intervals, causing the first voltage to rise and fall at the same intervals.
In one embodiment, the apparatus 500 further comprises:
and the second receiving module is used for receiving a second waveform sent by the intelligent capacitor within a preset waiting time after the time setting request instruction is received.
In an embodiment, the first receiving module 510 is further configured to receive a time synchronization request command wirelessly transmitted by the smart capacitor through a power line carrier or a micro power.
In an embodiment, the comparing module 520 is further configured to compare whether the first waveform is the same as the second waveform sent by the smart capacitor, so as to obtain a comparison result.
In an embodiment, the time synchronization module 530 is further configured to determine to be synchronized with the clock of the smart capacitor if the first waveform is the same as the second waveform, and set the clock thereof as the set time.
In an embodiment, the time synchronization module 530 is further configured to adjust its clock to keep clock synchronization with the smart capacitor according to a time difference between the first waveform and the second waveform if the first waveform is different from the second waveform.
An embodiment of the present application further provides a computer-readable storage medium, including: the program, when executed by the electronic device 200, enables the electronic device 200 to perform all or part of the processes of the methods in the above embodiments. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk Drive (HDD), a Solid-State Drive (SSD), or the like. The storage medium may also comprise a combination of memories of the kind described above.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several 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 methods according to the embodiments of the present application. 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.
In the embodiments provided in the present application, the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims (10)
1. A method for synchronizing clocks in a distribution substation, wherein the distribution substation comprises a transformer, a smart capacitor connected with the transformer and a target device, and the method is applied to the target device, and comprises the following steps:
receiving a time synchronization request instruction initiated by the intelligent capacitor in the distribution station area, and sampling a first voltage transmitted by the transformer in real time according to the time synchronization request instruction to obtain a first waveform;
comparing the first waveform with a second waveform sent by the intelligent capacitor to obtain a comparison result;
and keeping clock synchronization with the intelligent capacitor according to the comparison result.
2. The method of claim 1, wherein the smart capacitor switches capacitance on and off at preset time intervals, causing the first voltage to rise and fall at the same time intervals.
3. The method of claim 1, wherein prior to said comparing said first waveform to said second waveform emitted by said smart capacitor, said method further comprises:
and receiving a second waveform sent by the intelligent capacitor within a preset waiting time after the time setting request instruction is received.
4. The method of claim 1, wherein the receiving a time-tick request command initiated by the smart capacitor in the distribution substation comprises:
and receiving the time setting request instruction wirelessly transmitted by the intelligent capacitor through a power line carrier or micropower.
5. The method of claim 1, wherein comparing the first waveform with a second waveform emitted by the smart capacitor to obtain a comparison result comprises:
and comparing whether the first waveform is the same as a second waveform sent by the intelligent capacitor to obtain the comparison result.
6. The method of claim 5, wherein maintaining clock synchronization with the smart capacitor based on the comparison comprises:
and if the first waveform is the same as the second waveform, determining that the first waveform is synchronous with the clock of the intelligent capacitor, and setting the clock of the intelligent capacitor to be set time.
7. The method of claim 5, wherein maintaining clock synchronization with the smart capacitor based on the comparison comprises:
and if the first waveform is different from the second waveform, adjusting the clock of the intelligent capacitor and keeping the clock synchronization with the intelligent capacitor according to the time difference between the first waveform and the second waveform.
8. A clock synchronization apparatus within a power distribution grid, the apparatus comprising:
the first receiving module is used for receiving a time synchronization request instruction initiated by an intelligent capacitor in a distribution station area, and sampling a first voltage transmitted by a transformer in real time according to the time synchronization request instruction to obtain a first waveform;
the comparison module is used for comparing the first waveform with a second waveform sent by the intelligent capacitor to obtain a comparison result;
and the time synchronization module is used for keeping clock synchronization with the intelligent capacitor according to the comparison result.
9. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of any one of claims 1-7.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program executable by a processor to perform the method of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210803327.7A CN115051781A (en) | 2022-07-07 | 2022-07-07 | Clock synchronization method and device in power distribution station area, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210803327.7A CN115051781A (en) | 2022-07-07 | 2022-07-07 | Clock synchronization method and device in power distribution station area, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115051781A true CN115051781A (en) | 2022-09-13 |
Family
ID=83165285
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210803327.7A Pending CN115051781A (en) | 2022-07-07 | 2022-07-07 | Clock synchronization method and device in power distribution station area, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115051781A (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1965270A (en) * | 2004-06-04 | 2007-05-16 | 皇家飞利浦电子股份有限公司 | Measuring clock jitter |
-
2022
- 2022-07-07 CN CN202210803327.7A patent/CN115051781A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1965270A (en) * | 2004-06-04 | 2007-05-16 | 皇家飞利浦电子股份有限公司 | Measuring clock jitter |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101448315A (en) | Frame clock synchronization method and frame clock synchronization apparatus | |
EP1427121B1 (en) | Radio access network, radio communication method, synchronous server and node | |
CN1333538C (en) | Digital phase-lock method for clock signal in radio-frequency Layuan module | |
CN111954295B (en) | Time and precision considered synchronization maintaining method and system for TDD-LTE (time division Duplex-Long term evolution) equipment | |
CN111179570B (en) | Low-voltage distribution room acquisition equipment clock synchronization method based on HPLC carrier communication | |
CN113630157B (en) | Clock synchronization method and system based on HPLC communication network delay correction | |
CN108737000B (en) | Method and apparatus for clock synchronization | |
CN101572927B (en) | Cell reselection method, apparatus and system thereof | |
US10211886B2 (en) | Wireless communication device and method with low power modes | |
US8787512B1 (en) | Synchronization of time accurate strobe (TAS) messages | |
CN101076940B (en) | Clock signal generator and wireless base station | |
CN101873187A (en) | Method and system of clock synchronization | |
CN105511255A (en) | Lossless switching clock source equipment | |
CN110912635B (en) | Method and device based on high-precision time synchronization | |
CN115051781A (en) | Clock synchronization method and device in power distribution station area, electronic equipment and storage medium | |
CN109104763B (en) | Synchronization signal control method and device | |
US20180109369A1 (en) | Systems and methods for synchronizing time sources within a protection zone of a digital power substation | |
CN105119677A (en) | Time source selecting and switching method capable of improving time service output reliability | |
US20180254994A1 (en) | Systems and methods for time-synchronized communication | |
CN101447827A (en) | Method of frame number synchronization and device and system thereof | |
CN114285514B (en) | Clock synchronization method and device | |
CN114528998B (en) | Multi-board card signal synchronization method, equipment and medium for quantum measurement and control system | |
CN113395753B (en) | Method and system for synchronizing wireless terminal and base station and wireless terminal | |
JP5115265B2 (en) | Information processing apparatus and timing synchronization method | |
KR100735957B1 (en) | Device and method for controlling the energy consumption of a umts/gsm/edge combined radio station |
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 |