A time service method and system for shortening proofreading cycle

CN117518769BActive Publication Date: 2026-08-21NANJING WANXING ELECTRIC CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311480722.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-08
Publication Date
2026-08-21
Estimated Expiration
2043-11-08

AI Technical Summary

Technical Problem

然而,这些方法存在一些限制,例如信号受阻、网络延迟等问题,可能导致时间同步不准确或不稳定;且其对时间校准方式多为点对点的单个校准,浪费大量时间以及资源

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117518769B_ABST
    Figure CN117518769B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of electric meter time service, in particular to a time service method for shortening the calibration period, comprising the steps of obtaining the clock of all area electric meters and establishing a data set; analyzing and processing the data set to mark accurate clock and error clock; analyzing the clustering of error clock in the whole day; dividing the data segment with ten minutes in length according to the clustering, and taking the center time of the data segment as the calibration time; broadcasting the calibration time at the calibration time; repeating the above process every day until the calibration of the clock of all area electric meters is completed; the normal operation accuracy of the clock of area electric meters is improved, and the reliability of power grid data is ensured; and the collected data is analyzed before calibration to shorten the overall calibration period.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of time synchronization terminal technology, specifically to a time synchronization method and system for shortening the calibration cycle. Background Technology

[0002] A time synchronization terminal is a device used to provide accurate time synchronization to various devices in a power system. Time synchronization is crucial for ensuring the coordinated operation of equipment and data consistency in power systems. Traditional time synchronization methods typically rely on external time sources, such as GPS (Global Positioning System) or other Network Time Protocol (NTP) servers. However, these methods have limitations, such as signal obstruction and network latency, which can lead to inaccurate or unstable time synchronization; furthermore, their time calibration methods are often point-to-point individual calibrations, wasting significant time and resources. Summary of the Invention

[0003] To address the above shortcomings, the purpose of this invention is to provide a time synchronization method and system that shortens the calibration cycle.

[0004] This invention provides the following technical solution: A time synchronization method for shortening the calibration cycle, including Obtain the clock data of electricity meters throughout the entire region and create a dataset; The dataset is analyzed and processed, and accurate and error clocks are labeled. Analyze the clustering of error clocks throughout the day; The data is divided into ten-minute segments based on the clustering results, and the center time of the data segment is used as the calibration time. Time synchronization is broadcast during the calibration time; Repeat the above process daily until the clock calibration of all electricity meters in the entire region is completed.

[0005] As a preferred technical solution for time synchronization methods to shorten the calibration cycle, broadcast time synchronization includes: The broadcast announces the standard clock at the calibration time; The electricity meter receives broadcast time synchronization.

[0006] As a preferred technical solution for a time synchronization method to shorten the calibration cycle, the method of receiving broadcast time synchronization for the electricity meter includes: A valid clock is defined as one whose error between the broadcast standard clock received by the power meter and its own clock is within 5 minutes, and the valid clock is used as its own clock. Both valid and invalid clocks that are repeatedly received are defined as invalid time synchronizations and have no effect on the meter's own clock.

[0007] As a preferred technical solution for time synchronization methods to shorten the calibration cycle, electricity meters whose clocks deviate from the standard clock by more than 30 minutes are individually calibrated.

[0008] As a preferred technical solution for time synchronization methods to shorten the calibration cycle, a time meter with a clock deviation of more than 5 minutes but not more than 30 minutes from the standard clock is defined as a time meter with clock deviation. Perform gradient calibration on the clock-out-of-tolerance meter.

[0009] As a preferred technical solution for a time synchronization method to shorten the calibration cycle, the gradient calibration includes: The clock over-tolerance meter is calibrated within a calibration time of 5 minutes, within the clock over-tolerance meter error time. Daily calibration shortens the error time of clock-over-tolerance meters.

[0010] As a preferred technical solution for time synchronization methods to shorten the calibration cycle, the analysis of error clock clustering throughout the day includes: a. The set of time-based input data and the number of clusters; b. Select k initial cluster centers according to the initialization strategy; c. Iteratively calculate the distance from each data point to the cluster center, and assign each data point to the cluster containing the nearest cluster center; d. Update the cluster center of each cluster to the average value of the data points within the cluster; e. Check the iteration termination condition. If the condition is met, terminate the iteration; otherwise, return to step c and continue the iteration. f. Output the clustering results.

[0011] As a preferred technical solution for time synchronization methods to shorten the calibration cycle, the initialization strategy includes selecting the data point with the largest variance as the initial cluster center.

[0012] As a preferred technical solution for time synchronization methods to shorten the calibration cycle, the iteration termination conditions include reaching the maximum number of iterations or the change in cluster centers being less than a predetermined threshold.

[0013] This invention also discloses a system based on the aforementioned time synchronization method for shortening the calibration cycle, comprising: The concentrator is interconnected with the smart meters and main station in the distribution area, and can automatically sense the clock fault status and operation of all meters in the distribution area through the concentrator. The remote communication module obtains the base station's standard clock and provides a standard clock source with an error of no more than milliseconds.

[0014] The timing module obtains the standard clock of the BeiDou system and provides a standard clock source with an error of no more than microseconds.

[0015] The security unit interacts with the electricity meter via encrypted data to achieve security authentication and clock modification operations.

[0016] The beneficial effects of this invention are as follows: The concentrator automatically senses the clock fault status and operational conditions of all electricity meters in the distribution area, reports faulty clock events in real time, performs long-term gradient clock calibration for meters with out-of-tolerance clocks, and provides long-term broadcast time synchronization maintenance for normal meters. This improves the accuracy of normal operation of electricity meter clocks in the distribution area and ensures the reliability of power grid data. Furthermore, the collected data is analyzed and processed before calibration to shorten the overall calibration cycle. Attached Figure Description

[0017] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Wherein: Figure 1 This is a scatter plot diagram illustrating the clustering situation of the present invention. Detailed Implementation

[0018] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with one or more embodiments of the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of one or more embodiments of the present invention.

[0019] It should be noted that the steps of the corresponding methods in other embodiments are not necessarily performed in the order shown and described in this invention. In some other embodiments, the methods may include more or fewer steps than those described in this invention. Furthermore, a single step described in this invention may be broken down into multiple steps in other embodiments; and multiple steps described in this invention may be combined into a single step in other embodiments.

[0020] Reference Figure 1 This embodiment discloses a time synchronization method to shorten the calibration cycle, including acquiring the clocks of all electricity meters in the entire station area and establishing a dataset; The dataset is analyzed and processed, and accurate and error clocks are labeled. Analyze the clustering of error clocks throughout the day; The data is divided into ten-minute segments based on the clustering results, and the center time of the data segment is used as the calibration time. Time synchronization is broadcast during the calibration time; Repeat the above process daily until the clock calibration of all electricity meters in the entire region is completed.

[0021] The concentrator senses the clock functions of all smart meters and terminals in the entire distribution area, calculates the clock deviation value of all meters and terminals in the entire distribution area based on its own standard clock source, and records the meter status based on the deviation value: The system performs clock gradient calibration and maintenance on smart meters and terminals. For meters that are not out of tolerance, the system broadcasts a standard clock to achieve time synchronization. For meters with out-of-tolerance clocks within the gradient calibration range, the system achieves the calibration goal through gradient calibration. For meters with out-of-tolerance clocks outside the gradient calibration range, the system achieves the calibration goal by resetting the calibration method, provided that there is no hardware fault. For meters with clock hardware faults, the system records and reports the fault events.

[0022] Specifically, there are single-broadcast calibrations with errors of 5 minutes, broadcast gradient calibrations with errors of 5 to 30 minutes, and point-to-point independent calibrations with errors of 30 minutes.

[0023] Specifically, broadcast time synchronization includes: broadcasting the standard clock at the calibration time; The electricity meter receives broadcast time synchronization.

[0024] The time synchronization via broadcast for the electricity meter includes: A valid clock is defined as one whose error between the broadcast standard clock received by the power meter and its own clock is within 5 minutes, and the valid clock is used as its own clock. Both valid and invalid clocks that are repeatedly received are defined as invalid time synchronizations and have no effect on the meter's own clock.

[0025] Individual calibration is performed on electricity meters whose clocks deviate from the standard clock by more than 30 minutes.

[0026] A meter with a clock deviation from the standard clock exceeding 5 minutes but not exceeding 30 minutes is defined as a clock deviation meter. Perform gradient calibration on the clock-out-of-tolerance meter.

[0027] The gradient calibration includes: The clock over-tolerance meter is calibrated within a calibration time of 5 minutes, within the clock over-tolerance meter error time. Daily calibration shortens the error time of clock-over-tolerance meters.

[0028] For the out-of-tolerance electricity meter clocks within the scope of the governance, the clocks were gradually calibrated to within ±5 minutes of the standard clock by incrementing the clocks by 4 minutes once a day, based on the out-of-tolerance clocks. This completed the gradient calibration governance of the electricity meter clocks. Subsequently, time synchronization was carried out by broadcasting the standard clock.

[0029] Specifically, if the clock of an on-site electricity meter deviates from the standard clock (concentrator clock) by more than 5 minutes, it is defined as a clock error meter.

[0030] The electricity meter in operation receives only one valid broadcast time calibration per day. That is, the meter only receives one broadcast time calibration per day when the clock error is within 5 minutes of its own clock (which is considered a valid clock for the meter). Repeatedly received valid clocks and invalid clocks are considered invalid time calibrations and have no effect on the meter's own clock.

[0031] Therefore, for time synchronization broadcast across the entire Taiwan region, it is necessary to first broadcast the standard clock to protect the clocks of non-time difference meters and ensure that subsequent gradient broadcast time synchronization actions will not affect the clocks of non-time difference meters. That is, prioritize protecting the clocks of non-time difference meters, and then perform gradient time synchronization to gradually calibrate the time difference meters of each time gradient.

[0032] Furthermore, before broadcast calibration, the clocks of all electricity meters in the entire distribution area are sensed, and unified broadcast calibration is performed based on the time gradient of the out-of-tolerance distribution of the time difference meter clocks. For example, if there are multiple time difference meters whose clocks are distributed within the time period of 11:10:00 to 11:20:00, when broadcasting calibration for these out-of-tolerance meters, the broadcast time can be set to 11:15:00. This method can simultaneously achieve the goal of uniformly calibrating the clocks of these multiple time difference meters to 11:15:00. Therefore, in this invention, relevant algorithms can be used to identify the clustering of out-of-tolerance meter clocks on the timeline, thereby supporting a method to achieve the calibration goal with fewer broadcasts.

[0033] The analysis shows that the time gradient is defined by the clustering of the out-of-tolerance table on the time line, and the maximum effective time width for a single calibration is 10 minutes.

[0034] The analysis of error clock clustering throughout the day includes: a. The set of time-based input data and the number of clusters; b. Select k initial cluster centers according to the initialization strategy; c. Iteratively calculate the distance from each data point to the cluster center, and assign each data point to the cluster containing the nearest cluster center; d. Update the cluster center of each cluster to the average value of the data points within the cluster; e. Check the iteration termination condition. If the condition is met, terminate the iteration; otherwise, return to step c and continue the iteration. f. Output the clustering results.

[0035] The initialization strategy includes selecting the data point with the largest variance as the initial cluster center.

[0036] The iteration termination conditions include reaching the maximum number of iterations or the change in cluster centers being less than a predetermined threshold.

[0037] The clustering results are output as clusters, with each cluster containing the time data points belonging to that cluster.

[0038] The maximum number of iterations is a preset value, such as 10.

[0039] A predetermined threshold is used to control the rate of change of cluster centers, for example, 0.001.

[0040] The time data can be represented as a timestamp, a time period, or a time interval.

[0041] Time data can include date, time, and time zone information.

[0042] This embodiment provides a device based on a time synchronization method that shortens the calibration cycle, including a concentrator that is interconnected with smart meters and a main station within the distribution area, and is configured to automatically sense the clock fault status and operating conditions of all meters in the distribution area through the concentrator. The concentrator has the function of sensing the clocks of smart meters and terminals throughout the entire region, and can calculate the clock deviation value of the meters and terminals throughout the entire region based on its own standard clock source, as well as sense the internal clock battery voltage and clock operation status word of the meters throughout the entire region.

[0043] The remote communication module obtains the base station's standard clock and provides a standard clock source with an error of no more than milliseconds.

[0044] The timing module obtains the standard clock of the BeiDou system and provides a standard clock source with an error of no more than microseconds.

[0045] The security unit interacts with the electricity meter via encrypted data to achieve security authentication and clock modification operations.

[0046] The intelligent multi-mode transformer area time synchronization device is installed on the transformer area concentrator side and has functions such as automatically identifying terminal connections, automatically acquiring transformer area files, automatically sensing the clock operation status of all transformer area meters, diagnosing clock hardware faults, and managing gradient clock calibration.

[0047] The device is equipped with BeiDou time synchronization and LTE remote communication functions. It can be interconnected with smart meters and other devices in the distribution area through the concentrator, which facilitates the implementation of maintenance functions such as gradient clock calibration and management of out-of-tolerance meters. At the same time, it can also communicate directly with the main station to track the time synchronization management results and report events of clock fault meters.

[0048] The device automatically senses the clock fault status and operational status of all electricity meters in the distribution area through a concentrator. It reports faulty clock events in real time, performs long-term gradient clock calibration for meters with out-of-tolerance clocks, and performs long-term broadcast time synchronization maintenance for normal meters. This improves the accuracy of normal operation of electricity meter clocks in the distribution area and ensures the reliability of power grid data.

[0049] The base station's standard clock is obtained through a remote communication module, providing a standard clock source with an error of no more than milliseconds.

[0050] The BeiDou system standard clock is obtained through the timing module, providing a standard clock source with an error of no more than microseconds.

[0051] The above are merely preferred embodiments of one or more embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of one or more embodiments of the present invention should be included within the protection scope of one or more embodiments of the present invention.

Claims

1. A time synchronization method for shortening the calibration cycle, characterized in that, include: Obtain the clock data of electricity meters throughout the entire region and create a dataset; The dataset is analyzed and processed, and accurate and error clocks are labeled. Analyze the clustering of error clocks throughout the day; The data is divided into ten-minute segments based on the clustering results, and the center time of the data segment is used as the calibration time. Time synchronization is broadcast during the calibration time; Repeat the above process daily until the clock calibration of all electricity meters in the entire Taiwan region is completed; The broadcast time synchronization includes first broadcasting a standard clock, so that the operating electricity meters whose own clock deviates from the standard clock by no more than 5 minutes receive the standard clock as their own clock, and then performing gradient calibration on the electricity meters with clock deviations. The clock deviation meter is an operating meter whose own clock deviates from the standard clock by more than 5 minutes but not more than 30 minutes. The step of dividing the data into ten-minute segments based on clustering and using the center time of the data segment as the calibration time includes: determining the maximum effective time width of a single broadcast calibration to ten minutes based on the clustering of error clocks on the timeline, and using the center time of each data segment as the calibration time of the clock error meter within the corresponding data segment. The aforementioned broadcast time synchronization during calibration time refers to using the center time of the data segment as the broadcast time content, ensuring that the error between the clock of each clock in the corresponding data segment and the broadcast time content does not exceed 5 minutes. The gradient calibration includes: broadcasting time synchronization to the clock deviation meter according to the calibration time, gradually reducing the deviation between the clock of the clock deviation meter and the standard clock until the deviation does not exceed 5 minutes, and then providing time synchronization by broadcasting the standard clock. Individual calibration is performed on operating electricity meters whose clock deviation from the standard clock exceeds 30 minutes.

2. The time synchronization method for shortening the calibration cycle according to claim 1, characterized in that, Each operating electricity meter receives only one valid broadcast time synchronization per day. Repeatedly received valid clocks and invalid clocks are considered invalid time synchronizations and have no effect on the operating electricity meter's own clock. The valid clock is a broadcast clock with an error of no more than 5 minutes from the clock of the meter in operation, and the invalid clock is a broadcast clock with an error of more than 5 minutes from the clock of the meter in operation.

3. The time synchronization method for shortening the calibration cycle according to claim 1, characterized in that, The analysis of error clock clustering throughout the day includes: Receive the input time data set and the number of clusters; Select k initial cluster centers according to the initialization strategy; Iteratively calculate the distance from each time data point to the cluster center, and assign each time data point to the cluster to which the nearest cluster center belongs; Update the cluster center of each cluster to the average value of the time data points within the corresponding cluster; Check the iteration termination condition. If the iteration termination condition is met, terminate the iteration. If the iteration termination condition is not met, continue to allocate time data points and update cluster centers. Output the clustering results.

4. The time synchronization method for shortening the calibration cycle according to claim 3, characterized in that, The initialization strategy includes selecting the data point with the largest variance as the initial cluster center.

5. The time synchronization method for shortening the calibration cycle according to claim 4, characterized in that, The iteration termination conditions include reaching the maximum number of iterations or the change in cluster centers being less than a predetermined threshold.

6. A system based on the time synchronization method for shortening the calibration cycle according to any one of claims 1 to 5, characterized in that, include: The concentrator is interconnected with the smart meters and main station in the distribution area, and automatically senses the clock fault status and operation of all meters in the distribution area through the concentrator. The remote communication module obtains the base station standard clock and provides a standard clock source with an error of no more than milliseconds. The timing module obtains the standard clock of the BeiDou system and provides a standard clock source with an error of no more than microseconds. The security unit interacts with the electricity meter via encrypted data to achieve secure authentication and clock modification operations.

Citation Information

Patent Citations

  • Low-voltage transformer area topology identification method based on voltage curve and least squares

    CN111835006A

  • Ammeter timing method, device and equipment and storage medium

    CN115882992A