AC synchronous electric energy metering method and system based on GPS Beidou satellite clock

By receiving satellite signals and analyzing their quality scores, combining the differential timing information of the ground base station and the data of the power grid frequency detection equipment, the time reference is dynamically adjusted, and the problem of timing error of metered data in the prior art is solved, and high-precision and dynamic adaptability of electrical energy measurement are achieved.

CN119689362APending Publication Date: 2025-03-25MARKETING SERVICE CENT OF STATE GRID HENAN ELECTRIC POWER CO
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411818418.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-11
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

The existing electrical energy measurement methods ignore the insufficient fusion of the power grid frequency dynamic correction and satellite signal quality, resulting in timing errors in the measurement data, making it difficult to meet the needs of high-precision dynamic measurement.

Method used

By receiving GPS and Beidou satellite signals, the signal quality score is analyzed, high-precision unified time reference is generated, and regional error correction is performed in combination with the differential timing information of the ground base station. At the same time, the power grid frequency detection equipment is used to collect the power grid frequency data in real time, calculate the frequency deviation correction factor, and dynamically adjust the time reference to adapt to the power grid frequency fluctuations.

Benefits of technology

It significantly improves the dynamic adaptability, accuracy and reliability of the electrical energy metering method, realizes accurate timing synchronization of the electrical energy metering data, and enhances the support for high-precision metering and timing synchronization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119689362A_ABST
    Figure CN119689362A_ABST
Patent Text Reader

Abstract

The invention discloses an AC synchronous electric energy metering method and system based on a GPS Beidou satellite clock, and relates to the technical field of electric energy metering, and the method comprises the steps: receiving a satellite signal, and analyzing the quality score of the satellite signal; according to the quality score of the satellite signal and the time reference data, generating a high-precision unified time reference; performing regional error correction on the high-precision unified time reference based on the high-precision unified time reference in combination with differential time service information of a ground base station to generate a standard time reference; acquiring actual frequency data of a power grid in real time by using power grid frequency detection equipment, calculating power grid frequency deviation, and generating a power grid frequency deviation correction factor; and dynamically adjusting the standard time reference based on the power grid frequency deviation correction factor, and performing accurate time sequence synchronization on the electric energy metering data in the alternating current power grid according to the adjusted standard time reference. The dynamic adaptability, the precision and the reliability of the electric energy metering method are remarkably improved.
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 metering, and in particular to an alternating current synchronous electric energy metering method and system based on a GPS Beidou satellite clock. Background Art

[0002] With the rapid development of modern power systems and smart grids, the accuracy and synchronization of electricity metering are crucial to the stable operation of power grids and the optimal allocation of electric energy resources. Traditional electricity metering methods mostly rely on local clocks as time references, but are limited by clock accuracy and synchronization capabilities, making it difficult to meet the needs of distributed power grids for high-precision metering and timing synchronization. In recent years, the global navigation and timing technologies of GPS and Beidou satellite systems have provided high-precision time reference support for cross-regional time synchronization. However, a single satellite signal is affected by ionospheric delays, multipath interference, etc., and time accuracy and reliability are difficult to guarantee, especially in complex electromagnetic environments. In addition, insufficient regional error correction also limits the application of existing technologies in electricity metering scenarios.

[0003] Although existing technologies have introduced satellite timing and differential correction technologies, they generally ignore the dynamic correction effect of grid frequency deviation on the time base. The fluctuation of grid frequency will directly affect the timing accuracy of electric energy metering data, while existing methods generally use fixed time bases, which cannot adapt to the dynamic changes of grid frequency, resulting in time drift of metering data. In addition, the quality assessment and fusion of multi-source satellite signals are also relatively limited, and fail to fully utilize high-quality signals to optimize the reliability of time bases. These deficiencies have seriously affected the application of existing methods in high-precision dynamic metering scenarios. Summary of the invention

[0004] In view of the above existing problems, the present invention is proposed.

[0005] Therefore, the present invention provides an AC synchronous electric energy metering method based on GPS Beidou satellite clock to solve the problem of timing error of metering data caused by ignoring dynamic correction of power grid frequency and insufficient fusion of satellite signal quality in the prior art.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0007] In a first aspect, the present invention provides an AC synchronous electric energy metering method based on the GPS Beidou satellite clock, which includes receiving satellite signals and analyzing the quality scores of satellite signals; generating a high-precision unified time base based on the quality scores of satellite signals and time base data; based on the high-precision unified time base, combined with the differential timing information of the ground base station, performing regional error correction on the high-precision unified time base to generate a standard time base; using the power grid frequency detection equipment to collect the actual frequency data of the power grid in real time, calculating the power grid frequency deviation, and generating a power grid frequency deviation correction factor; based on the power grid frequency deviation correction factor, dynamically adjusting the standard time base, and according to the adjusted standard time base, performing timing-accurate synchronization of the electric energy metering data in the AC power grid.

[0008] As a preferred solution of the AC synchronous electric energy metering method based on GPS Beidou satellite clock described in the present invention, the satellite signal includes the UTC timestamp, signal strength, ionospheric delay, multipath interference and precision factor of GPS and Beidou satellites.

[0009] As a preferred solution of the AC synchronous electric energy metering method based on GPS Beidou satellite clock of the present invention, wherein: the quality score of the satellite signal is analyzed, and the specific steps are as follows:

[0010] Based on the received satellite signals, the quality score of each GPS and BeiDou satellite signal is evaluated through interactive nonlinear combination, and the expression is:

[0011]

[0012] Among them, S i is the strength of the i-th satellite signal, D i is the precision factor of the i-th satellite signal, L i is the delay of the i-th satellite signal, I i is the degree of multipath interference to the i-th satellite signal, Q i is the quality score of the i-th satellite signal.

[0013] As a preferred solution of the AC synchronous electric energy metering method based on GPS Beidou satellite clock of the present invention, wherein: the high-precision unified time base is generated according to the quality score and time base data of the satellite signal, and the specific steps are as follows:

[0014] Based on the requirements for time base accuracy and reliability, the signal score threshold Q1 is defined by analyzing the actual satellite signal quality distribution and historical performance data;

[0015] When Q i When ≥Q1, the signal quality of the current satellite is considered high;

[0016] When Q i When <Q1, the signal quality of the current satellite is considered to be low;

[0017] Combine high-quality satellite signals into a high-quality satellite signal collection;

[0018] For a high-quality satellite signal set, the time base and quality score Q of each satellite signal are calculated. i , entropy weighted method is used for fusion, and the unified time base T is calculated f , the expression is:

[0019]

[0020] Among them, T i is the time reference of the i-th satellite, Q j is the signal quality score of the jth satellite different from the ith satellite, T f It is a high-precision unified time base.

[0021] As a preferred solution of the AC synchronous electric energy metering method based on GPS Beidou satellite clock described in the present invention, wherein: based on the high-precision unified time reference, combined with the differential timing information of the ground base station, the high-precision unified time reference is corrected for regional errors to generate a standard time reference, the specific steps are as follows:

[0022] Receive high-precision timing information from the ground differential base station, and calculate the regional error correction value based on the high-precision timing information of the ground base station and the high-precision unified time reference. The expression is:

[0023] ΔT r =(T f ―T r )―Δ s ;

[0024] Where, ΔT r is the regional error correction value, T f is a high-precision unified time base, Δ s is the error correction value of the satellite signal propagation path, T r It is the reference time provided by the ground base station;

[0025] The regional error correction value distribution is mapped to the target area and the regional coordinates are marked to generate the error correction value of the target area. For the uncovered geographical areas, the high-precision timing information of the differential base station is used to supplement and smooth the error correction value through the interpolation algorithm.

[0026] According to the error correction value of the target area, combined with the timing information of the ground base station, the unified time reference T f Perform regional error correction to generate a standard time base, the expression is:

[0027] T s (X,Y)=T f ―ΔT r (X,Y);

[0028] Among them, T s (X,Y) is the standard time base, ΔT r (X,Y) is the error correction value of the target area.

[0029] As a preferred solution of the AC synchronous electric energy metering method based on GPS Beidou satellite clock described in the present invention, wherein: the actual frequency of the power grid is collected in real time by using the power grid frequency detection equipment, the power grid frequency deviation is calculated, and the power grid frequency deviation correction factor is generated. The specific steps are as follows:

[0030] Based on the standard time base T s (X,Y), using the power grid frequency detection equipment deployed in the target area to collect the actual frequency data of the AC power grid in real time;

[0031] According to the actual grid frequency and the rated grid frequency, the grid frequency deviation is calculated, and the expression is:

[0032] Δf(t)=f a (t)―f r ;

[0033] Where, Δf(t) is the grid frequency deviation, f a (t) is the actual frequency of the power grid, f r is the grid rated frequency;

[0034] The grid frequency deviation is smoothed by the sliding average method, and the grid frequency deviation correction factor is generated according to the smoothed frequency deviation. The expression is:

[0035]

[0036] Among them, Δf(t-I) is the frequency deviation at time t-I, N is the width of the sliding window, K f (t) is the frequency correction factor, I represents the time step offset in the sliding window, and t represents the current time point.

[0037] As a preferred solution of the AC synchronous electric energy metering method based on GPS Beidou satellite clock of the present invention, wherein: based on the power grid frequency deviation correction factor, the standard time reference is dynamically adjusted, and the electric energy metering data in the AC power grid is precisely synchronized in time sequence according to the adjusted standard time reference, the specific steps are as follows:

[0038] Based on the grid frequency deviation correction factor, the standard time base is dynamically adjusted, and the expression is:

[0039] T′ s (X,Y,t)=T s (X,Y)+∫0 t K f (t)dt;

[0040] Among them, T′ s (X,Y,t) is the adjusted time base;

[0041] The adjusted standard time reference is synchronized to the distributed metering equipment of the power grid through the communication network, and the time sequence calibration of the electric energy data collected by each metering device is performed.

[0042] In the second aspect, the present invention provides an AC synchronous electric energy metering system based on the GPS Beidou satellite clock, including a signal quality evaluation module, a time base generation module, an error correction module, a correction factor generation and timing synchronization module; a signal quality evaluation module, which is used to receive satellite signals and analyze the quality scores of satellite signals; a time base generation module, which is used to generate a high-precision unified time base based on the quality scores of satellite signals and time base data; an error correction module, which is used to perform regional error correction on the high-precision unified time base based on the high-precision unified time base and in combination with the differential timing information of the ground base station to generate a standard time base; a correction factor generation module, which is used to use the power grid frequency detection equipment to collect the actual frequency data of the power grid in real time, calculate the power grid frequency deviation, and generate a power grid frequency deviation correction factor; a timing synchronization module, which is used to dynamically adjust the standard time base based on the power grid frequency deviation correction factor, and perform timing-accurate synchronization of the electric energy metering data in the AC power grid according to the adjusted standard time base.

[0043] In a third aspect, the present invention provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: when the computer program is executed by the processor, any step of the AC synchronous electric energy metering method based on the GPS Beidou satellite clock as described in the first aspect of the present invention is implemented.

[0044] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program is executed by a processor, it implements any step of the AC synchronous electric energy metering method based on the GPS Beidou satellite clock as described in the first aspect of the present invention.

[0045] The beneficial effects of the present invention are as follows: by receiving satellite signals and analyzing their quality scores, high-quality satellite signals are screened and then an entropy weighted method is used to fuse and generate a high-precision unified time base, thereby solving the error problem of a single satellite signal and improving the accuracy and stability of the time base; further combining the differential timing information of the ground base station to perform regional error correction on the time base, and generating a standard time base suitable for a specific area; at the same time, the power grid frequency deviation is obtained in real time by using the power grid frequency detection equipment, a frequency deviation correction factor is generated, and the standard time base is dynamically adjusted to adapt to the frequency fluctuation characteristics of the power grid, thereby achieving precise synchronization of the timing of electric energy metering data, and significantly improving the dynamic adaptability, accuracy and reliability of the electric energy metering method. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0047] Figure 1 This is a flow chart of the AC synchronous electric energy metering method based on the GPS Beidou satellite clock in Example 1.

[0048] Figure 2 This is a schematic diagram of the AC synchronous electric energy metering system based on the GPS Beidou satellite clock in Example 1. DETAILED DESCRIPTION

[0049] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.

[0050] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0051] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0052] Example 1, reference Figure 1 and Figure 2, which is the first embodiment of the present invention, and provides an AC synchronous electric energy metering method based on GPS Beidou satellite clock, comprising the following steps:

[0053] S1: Receive satellite signals and analyze the quality scores of satellite signals.

[0054] S1.1: Satellite signals include UTC timestamp, signal strength, ionospheric delay, multipath interference and precision factor of GPS and BeiDou satellites.

[0055] S1.2: Based on the received satellite signals, the quality of each GPS and BeiDou satellite signal is scored through interactive nonlinear combination, and the expression is:

[0056]

[0057] Among them, S i is the strength of the i-th satellite signal, D i is the precision factor of the i-th satellite signal, L i is the delay of the i-th satellite signal, I i is the degree of multipath interference to the i-th satellite signal, Q i is the quality score of the i-th satellite signal.

[0058] It should be noted that by interactively and nonlinearly combining the quality scores of each GPS and BeiDou satellite signal, key influencing factors such as signal strength, precision factor, delay and multipath interference are effectively considered, the quality of different satellite signals is accurately evaluated, and high-quality signals are selected for time base generation. This method significantly improves the accuracy and reliability of the time base, reduces the impact of single signal errors on metering synchronization, and provides a guarantee for the high accuracy and stability of electric energy metering.

[0059] S2: Generate a high-precision unified time base based on the satellite signal quality score and time base data.

[0060] S2.1: Based on the requirements for time base accuracy and reliability, the signal score threshold Q1 is defined by analyzing the actual satellite signal quality distribution and historical performance data.

[0061] When Q i When ≥Q1, the signal quality of the current satellite is considered to be high.

[0062] When Q i When <Q1, the signal quality of the current satellite is considered to be low.

[0063] High-quality satellite signals are combined into a high-quality satellite signal collection.

[0064] Furthermore, according to the requirements of time base accuracy and reliability, we first analyze the quality distribution of satellite signals actually received, including the statistical characteristics of parameters such as signal strength, precision factor, delay and multipath interference; then, combined with historical performance data, we perform distribution modeling on the quality score of each satellite signal to identify the changing patterns and abnormal characteristics of signal quality; finally, based on the statistical analysis results and the measurement system's requirements for time base accuracy, we set a signal score threshold Q1, and define signals with scores higher than Q1 as high-quality signals, to ensure that the generated time base has higher accuracy and stability.

[0065] S2.2: For a high-quality satellite signal set, the time base and quality score Q of each satellite signal are calculated. i , entropy weighted method is used for fusion, and the unified time base T is calculated f , the expression is:

[0066]

[0067] Among them, T i is the time reference of the i-th satellite, Q j is the signal quality score of the jth satellite different from the ith satellite, T f It is a high-precision unified time base.

[0068] It should be noted that by using the entropy weighting method to fuse the high-quality satellite signal set, the time base and quality score of each satellite signal are fully utilized, and the satellite signal with a higher quality score is given a greater weight. At the same time, the information contribution between multiple signals is balanced through entropy value calculation, reducing the impact of fluctuations or anomalies of a single satellite signal on the unified time base. This method effectively improves the accuracy and stability of the time base, ensures that the generated unified time base is more reliable, and provides high-precision time support for the timing synchronization of subsequent electric energy metering.

[0069] S3: Based on the high-precision unified time reference and combined with the differential timing information of the ground base station, the high-precision unified time reference is regionally corrected to generate a standard time reference.

[0070] S3.1: Receive high-precision timing information from the ground differential base station, and calculate the regional error correction value based on the high-precision timing information of the ground base station and the high-precision unified time reference. The expression is:

[0071] ΔT r =(T f ―T r )―Δ s ;

[0072] Where, ΔT r is the regional error correction value, T fis a high-precision unified time base, Δ s is the error correction value of the satellite signal propagation path, T r It is the reference time provided by the ground base station.

[0073] It should be noted that high-precision timing information includes the following:

[0074] The reference time of a ground base station is provided by a high-precision local clock (such as a rubidium clock or a cesium clock) at the base station.

[0075] The relative coordinate information between the base station location and the observation point.

[0076] Regional correction parameters for satellite signal propagation paths (such as ionospheric delay, tropospheric delay, multipath interference correction values, etc.).

[0077] S3.3: Map the regional error correction value distribution to the target area and mark the regional coordinates to generate the error correction value of the target area. For the uncovered geographical areas, use the high-precision timing information of the differential base station to supplement and smooth the error correction value through the interpolation algorithm.

[0078] Furthermore, first, the calculated regional error correction value ΔT r The error correction values ​​are associated with the geographic coordinates of the target area to form a distribution map containing error correction values ​​and corresponding regional coordinates; then, the distribution is mapped to each geographic location within the target area to generate a set of error correction values ​​covering the target area. For areas that are not directly covered by differential base stations, the error correction values ​​of these uncovered areas are supplemented by interpolation algorithms (such as inverse distance weighted method or bilinear interpolation) based on the error correction values ​​of known areas and their geographic distribution. At the same time, a smooth fitting algorithm is used to eliminate the discontinuity of boundary transitions to ensure that the error correction value distribution of the entire target area is continuous and accurate, providing support for the generation of a unified regional standard time base.

[0079] S3.4: Based on the error correction value of the target area and the timing information of the ground base station, the unified time reference T f Perform regional error correction to generate a standard time base, the expression is:

[0080] T s (X,Y)=T f ―ΔT r (X,Y);

[0081] Among them, T s (X,Y) is the standard time base, ΔT r (X,Y) is the error correction value of the target area.

[0082] It should be noted that by combining the error correction value of the target area and the timing information of the ground base station, the unified time base is regionally corrected, effectively eliminating the deviation caused by differences in signal propagation paths and regional characteristics, and generating a standard time base adapted to the target area. This method significantly improves the regional accuracy and consistency of the time base, meets the needs of distributed power grids for high-precision time synchronization, and provides reliable guarantees for the precise timing synchronization of metering equipment.

[0083] S4: Use the power grid frequency detection equipment to collect the actual power grid frequency data in real time, calculate the power grid frequency deviation, and generate the power grid frequency deviation correction factor.

[0084] S4.1: Based on the standard time base T s (X,Y), using the power grid frequency detection equipment deployed in the target area, the actual frequency data of the AC power grid is collected in real time.

[0085] S4.2: Calculate the grid frequency deviation based on the actual grid frequency and the rated grid frequency. The expression is:

[0086] Δf(t)=f a (t)―f r ;

[0087] Where, Δf(t) is the grid frequency deviation, f a (t) is the actual frequency of the power grid, f r is the grid rated frequency;

[0088] It should be noted that the rated frequency of the power grid is usually determined by the State Grid or relevant power authorities according to the design and operation specifications of the power system. For example, the rated frequency of the State Grid in China is 50Hz, while the rated frequency of the power grid in countries such as the United States is 60Hz.

[0089] S4.3: Smooth the grid frequency deviation by the sliding average method, and generate a grid frequency deviation correction factor according to the smoothed frequency deviation. The expression is:

[0090]

[0091] Among them, Δf(t-I) is the frequency deviation at time t-I, N is the width of the sliding window, K f (t) is the frequency correction factor, I represents the time step offset in the sliding window, and t represents the current time point.

[0092] It should be noted that smoothing the grid frequency deviation by the sliding average method can effectively reduce the impact of instantaneous frequency fluctuations on the correction factor, avoid frequent adjustments to the time base due to short-term anomalies, and thus generate a more stable and accurate frequency deviation correction factor. This method improves the reliability and smoothness of the correction factor, allowing the time base to better adapt to the dynamic changes in grid frequency, ensuring that the timing synchronization of electric energy metering data is more accurate and stable.

[0093] S5: Based on the grid frequency deviation correction factor, the standard time reference is dynamically adjusted, and the electric energy metering data in the AC grid is precisely synchronized according to the adjusted standard time reference.

[0094] S5.1: Based on the grid frequency deviation correction factor, dynamically adjust the standard time base, the expression is:

[0095] T′s(X,Y,t)=Ts(X,Y)+∫t

[0096] T ′ s (X,Y,t)=T s (X,Y)+∫0tK f (t)dt;

[0097] T′s(X,Y,t)=Ts(X,Y)+∫0

[0098] Among them, T ′ s (X,Y,t) is the adjusted time base.

[0099] Furthermore, Represents the cumulative effect of the frequency deviation correction factor, used to correct the time base:

[0100] When K f (t)>0: The time base is delayed to avoid early timing due to high frequency.

[0101] When K f (t)<0: The time base is accelerated to avoid timing lags caused by low frequency.

[0102] S5.2: The adjusted standard time reference is synchronized to the distributed metering equipment of the power grid through the communication network, and the time sequence calibration of the electric energy data collected by each metering equipment is performed.

[0103] The adjusted standard time reference is sent to various metering devices distributed in the power grid through the communication network. After receiving the standard time reference, these devices use it as a unified timing reference to perform timing calibration on the locally collected electric energy data.

[0104] For example, in a cross-regional power grid, some metering devices may be located in areas with large frequency fluctuations, while other devices may be located in areas with relatively stable frequencies. The adjusted standard time reference can synchronously calibrate the time deviations of all devices so that the electric energy data they collect remains consistent on the time axis, ensuring the accuracy of cross-regional electric energy metering and energy settlement, and avoiding data errors or settlement disputes caused by time asynchrony.

[0105] This embodiment also provides an AC synchronous electric energy metering system based on GPS Beidou satellite clock, including: a signal quality assessment module, a time reference generation module, an error correction module, a correction factor generation and timing synchronization module;

[0106] A signal quality assessment module, used to receive satellite signals and analyze the quality scores of satellite signals;

[0107] A time reference generation module is used to generate a high-precision unified time reference based on the quality score of the satellite signal and the time reference data;

[0108] The error correction module is used to perform regional error correction on the high-precision unified time reference based on the high-precision unified time reference and in combination with the differential timing information of the ground base station to generate a standard time reference;

[0109] A correction factor generation module is used to collect the actual frequency data of the power grid in real time using the power grid frequency detection equipment, calculate the power grid frequency deviation, and generate the power grid frequency deviation correction factor;

[0110] The timing synchronization module is used to dynamically adjust the standard time reference based on the grid frequency deviation correction factor, and accurately synchronize the timing of the electric energy metering data in the AC grid according to the adjusted standard time reference.

[0111] This embodiment also provides a computer device, which is applicable to the case of an AC synchronous electric energy metering method based on a GPS Beidou satellite clock, comprising: a memory and a processor; the memory is used to store computer executable instructions, and the processor is used to execute computer executable instructions to implement the AC synchronous electric energy metering method based on a GPS Beidou satellite clock as proposed in the above embodiment.

[0112] The computer device may be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.

[0113] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the AC synchronous electric energy metering method based on the GPS Beidou satellite clock as proposed in the above embodiment is implemented; the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, referred to as EPROM), programmable read-only memory (Programmable Red-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic storage, flash memory, disk or optical disk.

[0114] In summary, the present invention solves the error problem of single satellite signals and improves the accuracy and stability of the time reference by: receiving satellite signals and analyzing their quality scores, screening high-quality satellite signals, and then using the entropy weighting method to fuse and generate a high-precision unified time reference; further combining the differential timing information of the ground base station to perform regional error correction on the time reference, and generating a standard time reference suitable for a specific area; at the same time, using the power grid frequency detection equipment to obtain the power grid frequency deviation in real time, generating a frequency deviation correction factor, and dynamically adjusting the standard time reference to adapt to the characteristics of power grid frequency fluctuations, thereby achieving precise synchronization of the timing of electric energy metering data, and significantly improving the dynamic adaptability, accuracy and reliability of the electric energy metering method.

[0115] Example 2, referring to Table 1, is the second example of the present invention. To further verify the technical solution of the present invention, experimental simulation data of an AC synchronous electric energy metering method based on a GPS Beidou satellite clock are provided.

[0116] In order to verify the actual effect of the AC synchronous electric energy metering method based on GPS Beidou satellite clock, a set of experiments was designed to compare the performance difference between the method of the present invention and the traditional local clock synchronization method. The experiment selected a power grid system in a certain area and deployed 4 electric energy metering devices to record and analyze the errors and consistency of the metering data synchronized by the two methods. This experiment pays special attention to the time synchronization accuracy, the error of electric energy metering and the timing synchronization performance.

[0117] First, the experiment deployed four power metering devices and three ground differential base stations in the target area to receive GPS and Beidou satellite signals, collect signal quality parameters (such as signal strength, ionospheric delay, etc.), use the quality scoring formula to screen high-quality satellite signals, and combine the entropy weighting method to generate a high-precision unified time reference, laying the foundation for subsequent corrections. At the same time, the ground base station provides reference time and regional error correction parameters to ensure the accuracy of regional corrections.

[0118] Secondly, according to the unified time reference and the timing information of the ground base station, combined with the regional characteristics, the error correction value of the target area is calculated, the regional error correction of the time reference is performed, and the standard time reference is generated. For the uncovered areas, the error correction value is supplemented by interpolation and smooth fitting methods to ensure that the time reference distribution of the entire target area is continuous and accurate, and is suitable for devices in different locations.

[0119] Next, the actual frequency data of the AC power grid is collected in real time using the deployed power grid frequency detection equipment, and the frequency deviation is calculated by comparing it with the rated frequency. The deviation data is smoothed by the sliding average method to generate a frequency deviation correction factor. Based on this correction factor, the standard time base is dynamically adjusted to adapt to the fluctuation characteristics of the power grid frequency, further improving the time synchronization accuracy of the metering equipment.

[0120] Finally, the adjusted standard time reference is synchronized to four electric energy metering devices in the target area through the communication network, and the collected electric energy data is time-series calibrated and compared with the traditional local clock synchronization method. The results show that the method of the invention significantly reduces the time synchronization error and electric energy metering error, improves the consistency of metering data, and fully verifies its innovation and advantages in complex power grid environments.

[0121] The traditional method used in this experiment is a synchronization method based on a local crystal oscillator clock. Each metering device relies on an internal crystal oscillator as a time reference and is simply aligned with the rated frequency of the power grid through a preset calibration mechanism, without relying on an external high-precision timing source.

[0122] The details are shown in Table 1 below:

[0123] Table 1 Comparison of power grid metering performance

[0124]

[0125] Through the analysis of the data in the above table, it can be clearly seen that the method of the present invention is significantly superior to the traditional method in terms of time synchronization accuracy, electric energy metering error and data consistency. The present invention realizes the generation of high-precision time reference and distributed synchronization by integrating high-quality GPS and Beidou satellite signals, combining regional error correction of ground base stations, and dynamic adjustment of frequency deviation correction factors. For example, the time synchronization error of the equipment using the method of the present invention is 0.22ms on average, while that of the traditional method is as high as 1.35ms; the average electric energy metering error is only 0.013kWh, while that of the traditional method is 0.076kWh; the data consistency is close to 99.82%, which is much higher than the 92.40% of the traditional method. These data fully prove that the method of the present invention can effectively overcome the time drift and metering error problems of the traditional method in a complex power grid environment, significantly improve the synchronization accuracy and data reliability, and has outstanding innovation and practical value.

[0126] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. An AC synchronous electric energy metering method based on GPS Beidou satellite clock, characterized in that: include, Receive satellite signals and analyze satellite signal quality scores; Generate a high-precision unified time base based on the satellite signal quality score and time base data; Based on the high-precision unified time reference, combined with the differential timing information of the ground base station, the high-precision unified time reference is corrected for regional errors to generate a standard time reference; Use the power grid frequency detection equipment to collect the actual power grid frequency data in real time, calculate the power grid frequency deviation, and generate the power grid frequency deviation correction factor; Based on the grid frequency deviation correction factor, the standard time base is dynamically adjusted, and the electric energy metering data in the AC grid is precisely synchronized according to the adjusted standard time base.

2. The method for measuring AC synchronous electric energy based on GPS Beidou satellite clock according to claim 1, characterized in that: The satellite signals include UTC timestamps, signal strength, ionospheric delay, multipath interference and precision factor of GPS and BeiDou satellites.

3. The method for measuring AC synchronous electric energy based on GPS Beidou satellite clock according to claim 2, characterized in that: The specific steps of analyzing the quality score of the satellite signal are as follows: Based on the received satellite signals, the quality score of each GPS and BeiDou satellite signal is evaluated through interactive nonlinear combination, and the expression is: Among them, S i is the strength of the i-th satellite signal, D i is the precision factor of the i-th satellite signal, L i is the delay of the i-th satellite signal, I i is the degree of multipath interference to the i-th satellite signal, Q i is the quality score of the i-th satellite signal.

4. The method for measuring AC synchronous electric energy based on GPS Beidou satellite clock according to claim 3, characterized in that: The specific steps of generating a high-precision unified time reference according to the quality score of the satellite signal and the time reference data are as follows: Based on the requirements for time base accuracy and reliability, the signal score threshold Q1 is defined by analyzing the actual satellite signal quality distribution and historical performance data; When Q i When ≥Q1, the signal quality of the current satellite is considered high; When Q i When <Q1, the signal quality of the current satellite is considered to be low; Combine high-quality satellite signals into a high-quality satellite signal collection; For a high-quality satellite signal set, the time base and quality score Q of each satellite signal are calculated. i , entropy weighted method is used for fusion, and the unified time base T is calculated f , the expression is: Among them, T i is the time reference of the i-th satellite, Q j is the signal quality score of the jth satellite different from the ith satellite, T f It is a high-precision unified time base.

5. The method for measuring AC synchronous electric energy based on GPS Beidou satellite clock according to claim 4, characterized in that: Based on the high-precision unified time reference, combined with the differential timing information of the ground base station, the high-precision unified time reference is corrected for regional errors to generate a standard time reference. The specific steps are as follows: Receive high-precision timing information from the ground differential base station, and calculate the regional error correction value based on the high-precision timing information of the ground base station and the high-precision unified time reference. The expression is: ΔT r =(T f ―T r )―Δ s ; Where, ΔT r is the regional error correction value, T f is a high-precision unified time base, Δ s is the error correction value of the satellite signal propagation path, T r It is the reference time provided by the ground base station; The regional error correction value distribution is mapped to the target area and the regional coordinates are marked to generate the error correction value of the target area. For the uncovered geographical areas, the high-precision timing information of the differential base station is used to supplement and smooth the error correction value through the interpolation algorithm. According to the error correction value of the target area, combined with the timing information of the ground base station, the unified time reference T f Perform regional error correction to generate a standard time base, the expression is: T s (X,Y)=T f ―ΔT r (X,Y); Among them, T s (X,Y) is the standard time base, ΔT r (X,Y) is the error correction value of the target area.

6. The method for measuring AC synchronous electric energy based on GPS Beidou satellite clock according to claim 5, characterized in that: The specific steps of using the power grid frequency detection device to collect the actual power grid frequency in real time, calculate the power grid frequency deviation, and generate the power grid frequency deviation correction factor are as follows: Based on the standard time base T s (X,Y), using the power grid frequency detection equipment deployed in the target area to collect the actual frequency data of the AC power grid in real time; According to the actual grid frequency and the rated grid frequency, the grid frequency deviation is calculated, and the expression is: Δf(t)=f a (t)―f r ; Where, Δf(t) is the grid frequency deviation, f a (t) is the actual frequency of the power grid, f r is the grid rated frequency; The grid frequency deviation is smoothed by the sliding average method, and the grid frequency deviation correction factor is generated according to the smoothed frequency deviation. The expression is: Among them, Δf(t-I) is the frequency deviation at time t-I, N is the width of the sliding window, K f (t) is the frequency correction factor, I represents the time step offset in the sliding window, and t represents the current time point.

7. The method for measuring AC synchronous electric energy based on GPS Beidou satellite clock according to claim 6, characterized in that: The standard time reference is dynamically adjusted based on the grid frequency deviation correction factor, and the electric energy metering data in the AC grid is precisely synchronized in time sequence according to the adjusted standard time reference. The specific steps are as follows: Based on the grid frequency deviation correction factor, the standard time base is dynamically adjusted, and the expression is: T′ s (X,Y,t)=T s (X,Y)+∫0 t K f (t)dt; Among them, T′ s (X,Y,t) is the adjusted time base; The adjusted standard time reference is synchronized to the distributed metering equipment of the power grid through the communication network, and the time sequence calibration of the electric energy data collected by each metering device is performed.

8. An AC synchronous electric energy metering system based on GPS Beidou satellite clock, based on the AC synchronous electric energy metering method based on GPS Beidou satellite clock according to any one of claims 1 to 7, characterized in that: It includes a signal quality assessment module, a time reference generation module, an error correction module, a correction factor generation module and a timing synchronization module; A signal quality assessment module, used to receive satellite signals and analyze the quality scores of satellite signals; A time reference generation module is used to generate a high-precision unified time reference based on the quality score of the satellite signal and the time reference data; The error correction module is used to perform regional error correction on the high-precision unified time reference based on the high-precision unified time reference and in combination with the differential timing information of the ground base station to generate a standard time reference; A correction factor generation module is used to collect the actual frequency data of the power grid in real time using the power grid frequency detection equipment, calculate the power grid frequency deviation, and generate the power grid frequency deviation correction factor; The timing synchronization module is used to dynamically adjust the standard time reference based on the grid frequency deviation correction factor, and accurately synchronize the timing of the electric energy metering data in the AC grid according to the adjusted standard time reference.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the AC synchronous electric energy metering method based on the GPS Beidou satellite clock are implemented as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the AC synchronous electric energy metering method based on GPS Beidou satellite clock according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Power distribution network line fault positioning method and system based on Beidou

    CN121142230A

  • Gateway electric energy metering and monitoring method based on Beidou PPS frequency doubling synchronous sampling

    CN121978397A