Local area network clock cluster management method based on dual-mode communication

By adopting the LAN clock cluster management method of dual-mode communication in the power meter, using the HRF channel to build a clock deviation list and perform the independent timing calibration process, the problem of wasted channel bandwidth and low accuracy in the clock calibration of the power meter is solved, and the LAN is realized The rapid calibration of the internal clock supports the deepening of application services.

CN119094073APending Publication Date: 2024-12-06BEIJING CENTURY DEJIN ELECTRIC POWER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411200839.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The existing power meter clock calibration method leads to waste of channel bandwidth resources, reduced timing accuracy and leakage of power meter calibration, affecting the development of deepening application services.

Method used

Using the LAN clock cluster management method based on dual-mode communication, wireless time calibration messages are sent through the HRF channel, LAN clock cluster deviation list is constructed, and the independent time calibration process is performed. If the power meter is isolated or overdue, it will be reported to the HPLC channel. When the main station performs point-to-point calibration, clock calibration is realized.

Benefits of technology

It solves the problems of wasted channel bandwidth and low calibration accuracy caused by broadcast calibration, realizes rapid calibration of clock clusters within the LAN, reduces the service pressure of power meter clock calibration, and lays the foundation for deepening application services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119094073A_ABST
    Figure CN119094073A_ABST
Patent Text Reader

Abstract

The invention discloses a local area network clock cluster management method based on dual-mode communication, and relates to the technical field of electric energy meter timing, and the method comprises the following steps: S101, an electric meter sends a wireless timing message through an HRF channel of a dual-mode communication module at a local clock zero moment; s102, the electric meter monitors the wireless timing message within 30 minutes before and after the zero point, the time difference between the monitoring time and the zero point is calculated, and a local area network clock cluster deviation list is constructed; s103, the electricity meter carries out self-timing based on the clock cluster deviation list, and if it is judged that a local clock is out of tolerance or is an isolated meter, the electricity meter sends an out-of-tolerance report message; s104, the concentrator intercepts the out-of-tolerance report message and reports the ammeter address to the master station; and S105, the master station obtains the address of the electricity meter and then carries out point-to-point timing. By adopting the invention, the problems of waste of channel bandwidth resources, low timing precision and missed timing in the prior art can be solved. Rapid calibration of the local area network clock cluster is realized, the service pressure caused by clock calibration is reduced, and a foundation is laid for deepening application development.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric energy meter time calibration, and in particular to a local area network clock cluster management method based on dual-mode communication. Background Art

[0002] The low-voltage power line dual-mode communication technology combines HPLC (low-voltage power line high-speed carrier communication) with HRF (micro-power wireless communication) to achieve independent communication services on both channels. The addition of wireless communication makes up for the defect that carrier communication is constrained by the power line channel capacity, and provides a new solution to the problems faced by deepening application expansion under the low-voltage power line carrier mechanism. Therefore, dual-mode communication technology has now become the mainstream solution for low-voltage area communication in the power consumption information collection system.

[0003] The clock of the energy meter is usually based on the crystal oscillator inside the energy meter, which is responsible for maintaining the accuracy of energy measurement and time recording, and is the basis for carrying out in-depth application services such as multi-meter centralized reading, high-frequency collection, and real-time fee control. In the actual low-voltage area, the crystal oscillator may be affected by environmental changes, electronic component performance degradation or other unknown factors, resulting in clock drift and other problems. Therefore, it is necessary to calibrate the clock of the energy meter in the same area.

[0004] The existing method of calibrating the clock of the energy meter is to use Beidou to synchronize the time with the main station server, and then the main station server will calibrate the concentrator through identity authentication, and then the concentrator will broadcast the time of the energy meter in the substation area through HPLC at zero o'clock every day. Since broadcast time synchronization does not require identity authentication, the energy meter only forwards but does not respond, and the energy meter can only accept broadcast time synchronization within a time difference of 5 minutes. Therefore, when the HPLC communication network level is deep, there is a forwarding delay at each level of broadcast time synchronization, which will not only cause serious waste of channel bandwidth and reduced time synchronization accuracy, but also may cause the energy meter to miss the time synchronization in serious cases, which will seriously affect the development of in-depth application services. Summary of the invention

[0005] In view of the shortcomings and defects of the prior art, the present invention provides a local area network clock cluster management method based on dual-mode communication to solve the problems of channel bandwidth resource waste, reduced synchronization accuracy and missed synchronization of electric energy meters caused by the existing clock synchronization method of electric energy meters, thereby laying a foundation for promoting the development of in-depth application services.

[0006] The purpose of the present invention can be achieved by the following technical solutions:

[0007] A local area network clock cluster management method based on dual-mode communication comprises the following steps:

[0008] S101: The electric energy meter sends a wireless calibration message through the HRF channel of the dual-mode communication module at zero o'clock of the local clock every day.

[0009] S102: The electric energy meter listens to the wireless calibration message through the HRF channel within thirty minutes before and after the local clock zero every day, records the listening time, and calculates the time difference between the listening time and the zero time to build a LAN clock cluster deviation list.

[0010] S103: The electric energy meter performs an autonomous time calibration process based on the LAN clock cluster deviation list. If it is determined that the local clock is out of tolerance or the electric energy meter is an isolated meter, it is considered that the autonomous time calibration has failed and the process goes to S104.

[0011] S104: the electric energy meter sends an out-of-tolerance reporting message to the concentrator via the HPLC channel, the concentrator listens to the out-of-tolerance reporting message via the HPLC channel, and reports the address of the out-of-tolerance electric energy meter to the master station via the wireless public network.

[0012] S105: After obtaining the address of the out-of-tolerance electric energy meter, the master station performs point-to-point time calibration and sends the time calibration command to the concentrator. The concentrator uses transparent forwarding to send the time calibration command to the target electric energy meter through the HPLC channel. After receiving the time calibration command, the electric energy meter corrects the clock deviation.

[0013] Furthermore, the wireless calibration message is fed into the space through the HRF channel. The HRF transmission power is low, and the message will only be intercepted by neighboring electric energy meters within 3 to 5 meters.

[0014] Preferably, the electric energy meter listens to the wireless calibration message within thirty minutes before and after the local clock zero each day, so that the electric energy meter has a reference value when calibrating the time and excludes data with excessive clock deviation.

[0015] Furthermore, the LAN clock cluster deviation list only contains time difference information, which is the time difference between the time when the wireless synchronization message is detected and the zero time. Since the message processing delay on the HRF channel is only in milliseconds, the message processing delay can be ignored. The time difference can be regarded as the deviation between the local clock and the neighbor's electricity meter clock.

[0016] Furthermore, the autonomous time calibration process includes the following steps:

[0017] S201: Count the number of data points in the LAN clock cluster deviation list. If the number of data points is less than 3, the electric energy meter is considered to be an isolated meter and the process is terminated directly. Otherwise, it goes to S202.

[0018] S202: Calculate the absolute deviation of the LAN clock cluster deviation list. When the absolute deviation of a certain data is greater than 300 seconds, the data is considered to be a bad point and is removed from the LAN clock cluster deviation list.

[0019] S203: re-count the number of data points in the LAN clock cluster deviation list. If the number of data points is less than 3, the electric energy meter is considered to be an isolated meter and the process is terminated directly. Otherwise, the process proceeds to S204.

[0020] S204: Calculate the average value of the LAN clock cluster deviation list and round it to the second level. If the average value is greater than 300 seconds, the electric energy meter is considered to be an out-of-tolerance electric energy meter and the process is terminated directly. Otherwise, proceed to S205.

[0021] S205: The electric energy meter performs clock calibration using a clock calibration formula.

[0022] Furthermore, the absolute deviation calculation formula is:

[0023]

[0024] Where: t' n is the absolute clock deviation; t n is the clock data of the LAN clock cluster deviation list, and N is the number of LAN clock cluster deviation list data.

[0025] Furthermore, the clock calibration formula is:

[0026]

[0027] Where: T' is the local clock after time calibration; T is the local clock before time calibration; N' is the number of data in the LAN clock cluster deviation list after bad point data is removed.

[0028] Furthermore, the out-of-tolerance reporting message includes table address information and is sent to the concentrator via an HPLC uplink channel.

[0029] Furthermore, the point-to-point time calibration is an automatic electric energy meter time calibration method provided by the master station, which is not limited by the electric energy meter clock deviation and can calibrate the electric energy meter clock deviation of more than 5 minutes.

[0030] Beneficial technical effects of the present invention: The present invention provides a LAN clock cluster management method based on dual-mode communication, which uses HRF to count the deviation between the neighboring electric energy meter clock and the local clock at zero time, and then performs clock calibration through an autonomous time calibration process. If the electric energy meter is in an isolated state or out-of-tolerance state, the electric energy meter is calibrated point-to-point through the master station. The problem of channel bandwidth resource waste, low time calibration accuracy and even missed time calibration in the existing broadcast time calibration when the communication network level is deep is solved. The rapid calibration of the clock cluster in the LAN is realized, which greatly reduces the business pressure caused by the daily calibration of the electric energy meter clock, and lays the foundation for deepening the development of application business. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 The topological diagram of a certain apartment area in an embodiment of the present invention is shown in FIG.

[0032] Figure 2 Schematic diagram of the distribution of electric meters inside the meter box in an embodiment of the present invention.

[0033] Figure 3 The present invention is a flow chart of a local area network clock cluster management method based on dual-mode communication.

[0034] Figure 4 The present invention is a flowchart of an autonomous time calibration method for a local area network clock cluster management method based on dual-mode communication. DETAILED DESCRIPTION

[0035] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and do not limit the present invention.

[0036] The embodiment of the present invention provides a local area network clock cluster management method based on dual-mode communication, which is used to calibrate the electric energy meter of a certain apartment area. Figure 1 As shown, the substation has 9 floors, with 24 households on each floor. Each floor has a shared electric meter box. The distribution diagram of electric energy meters inside the electric meter box is as follows: Figure 2 shown. Figure 3 A flow chart of a local area network clock cluster management method based on dual-mode communication of the present invention is shown, as Figure 3 As shown, the process includes the following steps:

[0037] S101: At zero o'clock of the local clock, the electric energy meter 1 sends a wireless calibration message through the HRF channel of the dual-mode communication module. The calibration message frame structure is shown in the figure.

[0038] S102: Electricity meter 1 listens to the wireless synchronization message through the HRF channel within thirty minutes before and after the local clock midnight every day. Since the HRF transmission power is low and cannot be sent across floors, the electricity meter 1 can only listen to the wireless synchronization message in the same meter box, record the message listening time, calculate the time difference between the listening time and the midnight moment, and build a LAN clock cluster deviation list.

[0039] Table 1 Example of LAN clock cluster deviation list

[0040] Serial number Time difference / S Serial number Time difference / S Serial number Time difference / S Serial number Time difference / S Serial number Time difference / S 1 12 6 5 11 571 16 13 21 6 2 -8 7 11 12 17 17 21 22 4 3 15 8 8 13 -4 18 -8 23 -3 4 11 9 -5 14 7 19 10 5 5 10 14 15 -2 20 -12

[0041] S103: The electric energy meter 1 performs an autonomous time calibration process based on the LAN clock cluster deviation list. The autonomous time calibration process is as follows: Figure 4 As shown, the process includes the following steps:

[0042] S201: The number N of data in the LAN clock cluster deviation list is 23, and N>3, so the electric energy meter 1 is not an isolated meter.

[0043] S202: Calculate the absolute deviation of each data point in the LAN clock cluster deviation list by using formula (1). The absolute deviation of data with sequence number 11 is 541 seconds, which is more than 300 seconds. The data is considered to be a bad point and is removed from the LAN clock cluster deviation list.

[0044] S203: reconfirm that the number of data in the LAN clock cluster deviation list N' is 22, and N'>3, then the electric energy meter 1 is not an isolated meter.

[0045] S204: The average value of the LAN clock cluster deviation list is calculated to be 5.3 seconds, which is rounded to 5 seconds and does not exceed 300 seconds. Therefore, the electric energy meter 1 is not an out-of-tolerance electric energy meter.

[0046] S205: Perform clock calibration using equation (2), and the local clock plus 5 seconds is the calibrated clock.

[0047] If the electric energy meter is determined to have a local clock error or is an isolated meter, it is considered that the autonomous time calibration has failed, and it is necessary to continue to S104.

[0048] S104: the electric energy meter sends an out-of-tolerance reporting message to the concentrator via the HPLC channel, and then the concentrator reports the address of the out-of-tolerance electric energy meter to the main station via the wireless public network.

[0049] S105: After obtaining the address of the out-of-tolerance electric energy meter, the master station performs point-to-point time calibration and sends the time calibration command to the concentrator. The concentrator uses transparent forwarding to send the time calibration command to the designated electric energy meter through the HPLC channel. After receiving the time calibration command, the electric energy meter corrects the clock deviation.

[0050] The above embodiments are descriptions of specific implementation methods of the present invention rather than limitations of the present invention. Technical personnel in the relevant technical field may make various changes and modifications to obtain corresponding equivalent technical solutions without departing from the spirit and scope of the present invention. Therefore, all equivalent technical solutions should be included in the patent protection scope of the present invention.

Claims

1. A local area network clock cluster management method based on dual-mode communication, characterized in that: The following steps are included. S101: The electric energy meter sends a wireless calibration message through the HRF channel of the dual-mode communication module at zero o'clock of the local clock every day; S102: The electric energy meter listens to the wireless calibration message through the HRF channel within thirty minutes before and after the local clock zero every day, records the listening time, and calculates the time difference between the listening time and the zero time to build a LAN clock cluster deviation list; S103: The electric energy meter performs an autonomous time calibration process based on the LAN clock cluster deviation list. If it is determined that the local clock is out of tolerance or the electric energy meter is an isolated meter, it is considered that the autonomous time calibration has failed, and the process goes to S104. S104: The electric energy meter sends an out-of-tolerance reporting message to the concentrator via the HPLC channel. The concentrator listens to the out-of-tolerance reporting message via the HPLC channel and reports the address of the out-of-tolerance electric energy meter to the master station via the wireless public network. S105: After obtaining the address of the out-of-tolerance electric energy meter, the master station performs point-to-point time calibration and sends the time calibration command to the concentrator. The concentrator uses transparent forwarding to send the time calibration command to the target electric energy meter through the HPLC channel. After receiving the time calibration command, the electric energy meter corrects the clock deviation.

2. A method for managing a LAN clock cluster based on dual-mode communication according to claim 1, characterized in that: The LAN clock cluster deviation list only contains time difference information, which is the time difference between the time when the wireless synchronization message is detected and the zero time. Since the message processing delay on the HRF channel is only in the millisecond level, the message processing delay can be ignored. The time difference can be regarded as the deviation between the local clock and the neighbor's electricity meter clock.

3. A method for managing a LAN clock cluster based on dual-mode communication according to claim 1, characterized in that: The autonomous time calibration process includes the following steps: S201: Count the number of data points in the LAN clock cluster deviation list. If the number of data points is less than 3, the electric energy meter is considered to be an isolated meter and the process is terminated directly. Otherwise, it goes to S202. S202: Calculate the absolute deviation of the LAN clock cluster deviation list. When the absolute deviation of a certain data is greater than 300 seconds, the data is considered to be a bad point and is removed from the LAN clock cluster deviation list. S203: re-count the number of data points in the LAN clock cluster deviation list. If the number of data points is less than 3, the electric energy meter is considered to be an isolated meter and the process is terminated directly. Otherwise, the process goes to S204. S204: Calculate the average value of the LAN clock cluster deviation list and round it to the second level. If the average value is greater than 300 seconds, the electric energy meter is considered to be an out-of-tolerance electric energy meter and the process is terminated directly. Otherwise, proceed to S205. S205: The electric energy meter performs clock calibration using a clock calibration formula.