Gateway electric energy meter metering verification method and system

By monitoring the real-time operating status and environmental conditions of the electricity meters at the checkpoints, and combining this with past calibration records, a set of historical evaluation indicators is constructed. Error trends are analyzed, and calibration guidance schemes are generated. This solves the problems of real-time performance and resource waste in existing metering calibration technologies, and improves metering accuracy and the relevance of calibration.

CN121502486AActive Publication Date: 2026-02-10STATE GRID SHANXI MARKETING SERVICE CENT

Patent Information

Application Number
CN202610024594.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-09
Publication Date
2026-02-10
Estimated Expiration
2046-01-09

AI Technical Summary

Technical Problem

Current methods for verifying electricity meters at the port cannot reflect the metering status in the actual operating environment in real time, resulting in the inability to detect metering errors in a timely manner. Furthermore, periodic verification leads to resource waste and metering interruptions.

Method used

By monitoring the real-time operating status and environmental conditions of the electricity meters at the checkpoint, querying past verification records, classifying and organizing environmental condition data, constructing a set of historical evaluation indicators, performing information compression processing, analyzing error trends, and adjusting error trends based on environmental similarity matching, a verification guidance scheme is generated.

Benefits of technology

It combines real-time data with historical data, avoiding biased verification and waste of resources, improving the pertinence and accuracy of metrological verification, and reducing the accumulation of measurement errors and the impact of interruptions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121502486A_ABST
    Figure CN121502486A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of gateway electric energy meter verification, and discloses a gateway electric energy meter metering verification method and system. The method comprises the following steps: monitoring a metering value of real-time operation of a gateway electric energy meter and a current environment condition, and synchronously querying an associated previous verification record; environmental condition data in previous records are classified and sorted to form a plurality of environmental category groups, historical deviation data and a verification moment set are extracted from each group, and a historical evaluation index set is obtained through operation; compressing each evaluation index set to obtain an evaluation index sequence, organizing the evaluation index sequence into a time sequence data set according to time, and analyzing and deriving an error increase and decrease trend; matching the current environment condition with each environment category group, determining an optimal matching group, adjusting the error trend according to the environment difference and outputting the error trend; and selecting a verification strategy according to the adjusted trend, generating a verification guidance scheme and executing a prompt action.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of gateway electric energy meter calibration, in particular to a gateway electric energy meter calibration method and system. BACKGROUND

[0002] In the process of power system operation, the gateway electric energy meter is an important device for measuring the amount of electric energy exchanged between different regions and different subjects in the power grid. Its measurement results are directly related to key work such as power transaction settlement, power grid operation state evaluation, and power resource scheduling. With the rapid development of the power industry, the coverage of the power grid is continuously expanding, and the power load is continuously growing. The operating environment of the gateway electric energy meter is becoming increasingly complex. The temperature, humidity, voltage fluctuation, electromagnetic interference, and other environmental conditions in different regions differ significantly. These factors can affect the measurement accuracy of the gateway electric energy meter.

[0003] Currently, the industry mainly uses periodic calibration for the measurement and calibration of gateway electric energy meters. That is, the gateway electric energy meter is disassembled from the operating site and sent to a professional calibration laboratory at fixed time intervals (such as every year or every two years) to detect and adjust its measurement accuracy under standard environmental conditions. Although this periodic calibration method can ensure the measurement accuracy of the gateway electric energy meter to some extent, it has obvious limitations. Periodic calibration requires disassembly and assembly of the electric energy meter, which not only consumes a lot of manpower, material resources, and time costs, but also may cause damage to the electric energy meter or related power equipment during disassembly and assembly. At the same time, the disassembly and assembly period will cause the interruption of gateway electric energy metering, affecting the normal settlement of power transactions; periodic calibration cannot reflect the measurement state of the gateway electric energy meter in the actual operating environment in real time. Since the calibration is carried out under standard conditions, there are differences between the actual operating conditions of the electric energy meter and the standard conditions. The calibration results cannot accurately reflect the measurement deviation of the electric energy meter in the real operating scenario, which may cause some electric energy meters with measurement errors to be discovered in time, thereby causing measurement disputes or economic losses.

[0004] In addition, some calibration methods also try to adjust in combination with environmental factors, but most of them only make simple compensation for a single environmental factor (such as temperature), and cannot comprehensively consider the combined effects of multiple environmental conditions. These methods usually do not systematically classify and organize the environmental condition data in the past calibration records, do not extract bias information and calibration time information from historical data to construct evaluation indexes, and cannot derive error trend through time series analysis. In practical applications, such methods cannot develop adaptive calibration strategies according to the correlation between current environmental conditions and historical environmental conditions, often resulting in over-calibration or under-calibration. For example, when the electric energy meter is in a similar environment with a larger historical measurement bias, if the calibration strategy cannot be adjusted in time, the calibration opportunity may be missed, resulting in continuous accumulation of measurement error; while in the case of stable environmental conditions and small measurement bias, if calibration is still performed according to a fixed frequency, it will cause resource waste. SUMMARY

[0005] The purpose of the present application is to provide a kind of gateway electric energy meter measurement calibration method and system to solve the problems raised in the above background art.

[0006] To achieve the above purpose, the present application provides a kind of gateway electric energy meter measurement calibration method, the method comprises:

[0007] Monitoring the measurement value and the current environmental condition of the gateway electric energy meter in real-time running state, querying the past calibration record associated with the measurement value;

[0008] Classify and organize the environmental condition data in the past calibration record, form a plurality of environmental category groups, extract a historical bias data set and a historical calibration time set from each environmental category group, and calculate a plurality of historical evaluation index sets;

[0009] Compress each historical evaluation index set to obtain a compressed evaluation index sequence, and organize it into a plurality of time series data sets in time sequence;Analysis of the development law of the plurality of time series data sets, deduce the error growth trend and error reduction trend;

[0010] Similarity matching of the current environmental condition and the plurality of environmental category groups is carried out to determine the best matching category group, and the difference between the current environmental condition and the reference environmental condition of the best matching category group is adjusted to adjust the error growth trend and the error reduction trend, and the adjusted growth trend and the reduction trend are output;

[0011] Calibration strategy selection is carried out according to the adjusted growth trend and the reduction trend, a calibration guidance scheme is generated, and a prompt action is performed.

[0012] Preferably, the monitoring involves checking the meter readings and current environmental conditions of the energy meter at the monitoring point during real-time operation, and querying past verification records associated with the meter readings, specifically including:

[0013] The system reads the instantaneous power consumption value of the energy meter at the checkpoint in real time, and simultaneously collects ambient temperature, humidity, and power grid frequency parameters as the current environmental conditions; using the instantaneous power consumption value as a keyword, it searches the historical database for previous verification files of the same energy meter to obtain past verification records.

[0014] Preferably, the environmental condition data in the past verification records are classified and organized into multiple environmental category groups. From each environmental category group, a set of historical deviation data and a set of historical verification times are extracted, and multiple sets of historical evaluation indicators are calculated, specifically including:

[0015] Cluster analysis is performed on various environmental condition parameters stored in past verification records to divide them into multiple environmental category groups. For each environmental category group, the standard error range recorded in the historical verification archives is retrieved to generate a historical deviation data set. Multiple sets of actual error values ​​and multiple sets of verification time points submitted by operators under the corresponding environmental category group are extracted. The deviation between the multiple sets of actual error values ​​and the historical deviation data set is calculated, and multiple sets of basic evaluation indicators are obtained by grouping them. Based on the time span ratio between the preset time window and the multiple sets of verification time points, the multiple sets of basic evaluation indicators are weighted and fused to obtain multiple sets of historical evaluation indicators.

[0016] Preferably, each historical evaluation indicator set undergoes information compression processing to obtain a compressed evaluation indicator sequence, which is then organized into multiple time series datasets in chronological order, specifically including:

[0017] Select one set from multiple historical evaluation indicator sets as the processing object, and designate a central evaluation indicator within this set; measure the dispersion of other evaluation indicators in this set relative to the central evaluation indicator, and assign sampling probabilities based on the dispersion to form an initial probability distribution, where the dispersion is inversely proportional to the sampling probability; randomly sample the set according to the initial probability distribution, retain the key evaluation indicators, and form a compressed dataset; sort the evaluation indicators in the compressed dataset according to their time labels to generate a time series dataset; iteratively perform compression and sorting operations on the remaining historical evaluation indicator sets to obtain multiple time series datasets.

[0018] Preferably, the set is randomly sampled according to the initial probability distribution, key evaluation indicators are retained, and a compressed dataset is formed, specifically including:

[0019] From the set, a subset of evaluation indicators is randomly selected according to a preset sampling rate as a candidate compression set; the dispersion of evaluation indicators within the candidate compression set and the central evaluation indicator is calculated, the sampling probability is updated, and a candidate probability distribution is obtained; the overlap between the candidate probability distribution and the initial probability distribution is compared, and this is used as the compression quality score; a subset of evaluation indicators is randomly selected again, and a new compression quality score is calculated; the sampling process is repeated until the quality score stabilizes, and the subset of evaluation indicators with the highest quality score is selected as the compressed dataset.

[0020] Preferably, the development patterns of the multiple time series datasets are analyzed to deduce the error growth trend and error reduction trend, specifically including:

[0021] Collect time-series data from multiple sets of electricity meters to construct a sample database. Identify error change patterns from each sample time series and extract sample growth and decrease trends. Use the sample time series data as training input and the sample growth and decrease trends as training outputs to construct a trend prediction model. Apply the trend prediction model to perform pattern recognition on multiple time series datasets, outputting multiple category growth trends and multiple category decrease trends. Calculate the correlation strength between the current environmental conditions and multiple environmental category groups. Based on the correlation strength, linearly combine the multiple category growth trends and multiple category decrease trends to obtain the error growth trend and error decrease trend.

[0022] Preferably, the current environmental conditions are matched with the multiple environmental category groups to determine the best matching category group. Based on the degree of difference between the current environmental conditions and the reference environmental conditions of the best matching category group, the error growth trend and error reduction trend are adjusted, and the adjusted growth trend and reduction trend are output. Specifically, this includes:

[0023] Select the environmental category group with the strongest correlation as the best matching category group, and obtain the reference environmental conditions of the best matching category group; measure the Euclidean distance between the current environmental conditions and the reference environmental conditions, and set an adjustment factor based on the distance; use the adjustment factor to perform scaling operations on the error growth trend and error reduction trend to generate the adjusted growth trend and reduction trend.

[0024] Preferably, the verification strategy is selected based on the adjusted growth and decline trends, a verification guidance plan is generated, and prompts are executed, specifically including:

[0025] The system aggregates adjusted growth and decline trend samples from historical operations. Based on the numerical relationship of each sample, it defines sample guidance schemes to form a sample scheme library. The sample guidance schemes include prompt levels, and the sample numerical size is negatively correlated with the prompt level. The system trains a decision engine using adjusted growth and decline trend samples as input features and sample guidance schemes as output labels. The decision engine is then used to classify the current adjusted growth and decline trends to generate a validation guidance scheme.

[0026] Preferably, the method further includes: after generating the verification guidance scheme, checking the consistency between the scheme and the real-time measurement values; if the consistency is lower than a set threshold, restarting the information compression processing and time series dataset generation process.

[0027] Preferably, the present invention also includes a gate energy meter metering verification system, the system including a memory, a processor, and a computer program stored in the memory and running on the processor, wherein when the processor executes the computer program, it implements the steps of the gate energy meter metering verification method described above.

[0028] Compared with the prior art, the beneficial effects of the present invention are:

[0029] During the verification process, the meter readings and current environmental conditions of the electricity meters at the checkpoints are monitored in real time, and related past verification records are queried, thus combining real-time and historical data. By integrating these two types of data, the one-sidedness of verification caused by relying solely on real-time data can be avoided, as well as the problem of being unable to trace the root cause of errors due to neglecting historical operating conditions, allowing the verification work to be carried out based on more comprehensive information.

[0030] In processing past verification records, this method categorizes environmental condition data into multiple environmental category groups. Then, it extracts historical deviation data sets and historical verification time sets from each group and calculates a set of historical evaluation indicators. This categorization method systematically organizes complex and diverse historical environmental data, creating clear groupings of historical verification information under different environmental conditions. This facilitates subsequent analysis of the metering characteristics of electricity meters for different environmental scenarios. Furthermore, the construction of the historical evaluation indicator set transforms scattered historical deviation data and verification time data into valuable indicators, providing effective data support for subsequent error trend analysis.

[0031] By compressing historical evaluation indicators into a time-series dataset and then analyzing its development patterns to deduce error growth and reduction trends, this process can uncover the inherent patterns of error changes from a large amount of historical data. Information compression removes redundant data, reduces data processing complexity, and retains key information. Organizing the dataset chronologically provides a clear view of how error indicators change over time. Analysis of this dataset clearly reveals the direction and speed of error changes in electricity meters under different time periods and environmental conditions, providing a clear basis for formulating subsequent verification strategies.

[0032] By performing similarity matching between the current environmental conditions and multiple environmental category groups to determine the best matching category group, and adjusting the error trend according to the degree of environmental differences, the error trend can be made to better reflect the current operating environment of the electricity meter. Different environmental conditions have varying degrees of impact on the metering error. Finding the historical environmental group that is closest to the current environment through similarity matching ensures that the referenced historical error data has a high degree of relevance. Furthermore, adjusting the trend according to environmental differences can compensate for the deviation between historical data and the current environment, making the adjusted error trend more accurately reflect the potential metering deviations of the electricity meter and improving the reliability of the error trend.

[0033] Selecting a verification strategy and generating a verification guidance plan based on the adjusted error trend makes the verification work more targeted and reasonable. Based on accurate error trends, it's possible to determine whether the electricity meter needs verification, when to perform verification, and which verification method to use, avoiding the blindness inherent in traditional periodic verification. For situations where errors are increasing rapidly, a verification plan can be generated promptly and verification prompts can be triggered to prevent error accumulation; for situations where errors are stable or decreasing slowly, the verification cycle can be appropriately extended to reduce unnecessary disassembly and installation operations and resource consumption, while also avoiding the impact of verification interruptions on electricity metering and settlement. Attached Figure Description

[0034] Figure 1 This is a schematic diagram illustrating the working principle of a gate energy meter metering verification method according to the present invention.

[0035] Figure 2 A flowchart for generating environmental condition classification and historical assessment indicator sets;

[0036] Figure 3 A compressed analysis chart of measurement assessment indicators under environmental category groups;

[0037] Figure 4 A flowchart illustrating the derivation of the error growth trend and the error reduction trend;

[0038] Figure 5 A graph showing the relationship between environmental similarity matching indicators. Detailed Implementation

[0039] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0040] Please see Figure 1 This invention provides a method for metering and verifying a boundary energy meter. The method includes: monitoring the metering value and current environmental conditions of the boundary energy meter in real-time operation, and querying past verification records associated with the metering value. The environmental condition data in the past verification records are categorized and organized into multiple environmental category groups. Historical deviation data sets and historical verification time sets are extracted from each environmental category group, and multiple historical evaluation index sets are calculated. Information compression processing is performed on each historical evaluation index set to obtain a compressed evaluation index sequence, which is then organized into multiple time-series datasets in chronological order. The development patterns of the multiple time-series datasets are analyzed to deduce error growth trends and error reduction trends. The current environmental conditions are matched with the multiple environmental category groups based on similarity to determine the best matching category group. The error growth trend and error reduction trend are adjusted according to the degree of difference between the current environmental conditions and the reference environmental conditions of the best matching category group, and the adjusted growth trend and reduction trend are output. A verification strategy is selected based on the adjusted growth trend and reduction trend, a verification guidance scheme is generated, and prompts are executed.

[0041] Example 1: See Figure 2The system reads the instantaneous energy value of the meter in real time while it is in operation, and simultaneously collects ambient temperature, humidity, and grid frequency parameters to determine the current environmental conditions. This process is accomplished through a sensor network and data acquisition unit deployed at the metering site. The data acquisition unit continuously captures the cumulative energy value output from the meter's pulse output or digital communication interface at a preset sampling frequency. Ambient temperature and humidity sensors are installed inside or near the meter box to accurately reflect the microenvironment in which the meter operates. Grid frequency measurement is obtained through monitoring equipment connected to the same bus section. The system searches the historical database for past calibration records of the same meter using the instantaneous energy value as a keyword. The historical database stores all periodic calibrations, temporary calibrations, and daily inspection records throughout the meter's lifecycle. Each past calibration record includes the standard instrument reading recorded at the time of calibration, the meter reading, the calculated error value, and environmental parameters such as ambient temperature, humidity, and grid frequency at the time of calibration. The database index is built on the meter's unique identifier and the energy value timestamp for rapid retrieval.

[0042] Cluster analysis was performed on various environmental condition parameters stored in past calibration records to divide them into multiple environmental category groups. The K-means algorithm was used to process the historical environmental condition data. The input feature vector consisted of values ​​in three dimensions: temperature, humidity, and power grid frequency. The data for each dimension was normalized before clustering to eliminate the influence of dimensional differences on the clustering results. The number of clusters was determined using the elbow rule or silhouette coefficient method to achieve a grouping effect with high similarity within groups and large differences between groups. For each environmental category group, the standard error range recorded in the historical calibration archives was retrieved to generate a historical deviation data set. The standard error range is defined by the metrological regulations or the technical specifications of the gate electricity meter. The historical deviation data set contains the error values ​​that were judged to be qualified in all historical calibration records corresponding to that environmental category group, forming a statistical distribution of errors. Extract multiple sets of actual error values ​​and multiple sets of verification time points submitted by operators under the corresponding environment category group. The multiple sets of actual error values ​​come from the error data actually observed and entered into the system by operators during the verification process. These data may exceed the standard error range. The multiple sets of verification time points accurately record the year, month, day, hour, minute and second information of each verification operation, reflecting the historical time distribution of the verification activities.

[0043] Multiple basic evaluation index sets are obtained by grouping the deviations of multiple sets of actual error values ​​with historical deviation data sets. The deviation is calculated using the absolute value of the difference between the average of each set of actual error values ​​and the average of the historical deviation data sets, while also considering the ratio of the standard deviations of the two sets for standardization, making the deviation a dimensionless value that facilitates cross-group comparisons. Multiple historical evaluation index sets are obtained by weighted fusion of these basic evaluation index sets based on a preset time window and the time span ratio of multiple verification time point sets. The preset time window is a configurable parameter, such as 30 days or 90 days, used to define an analysis period. The time span ratio is the ratio of the actual number of days covered by all verification time points under a certain environmental category group to the number of days in the preset time window. During the weighted fusion process, each basic evaluation index set is assigned a weight coefficient, which is positively correlated with the time span ratio. A larger time span ratio means that the data in that group is more comprehensive in the time dimension, and its weight is higher. The fused historical evaluation index sets comprehensively reflect the historical performance and temporal distribution characteristics of the meter's error under specific environmental conditions.

[0044] Example 2: Select a set from multiple historical evaluation indicator sets as the processing object. Within this set, designate a central evaluation indicator. The selection criteria for the central evaluation indicator are its position in the time series and the central tendency of its values. Typically, the evaluation indicator whose timestamp is located at the median of the timestamps of all evaluation indicators in the set is selected. If multiple candidates exist, the one whose value is closest to the average of all evaluation indicators in the set is further selected as the central evaluation indicator. Measure the dispersion of other evaluation indicators within the historical evaluation indicator set relative to the central evaluation indicator. The dispersion is quantified using the average absolute deviation method, i.e., calculating the absolute value of the difference between the value of each evaluation indicator in the set and the value of the central evaluation indicator. Then, sum all these absolute values ​​and divide by the total number of evaluation indicators to obtain a scalar value characterizing the overall volatility level within the set. An initial probability distribution is formed by allocating sampling probabilities based on the degree of dispersion. The degree of dispersion is inversely proportional to the sampling probability. The greater the degree of dispersion of an evaluation index, the greater its difference from the center point. In the initial screening, the probability of retaining it is set to be lower because overly discrete points may represent noise or outliers. Evaluation indices with smaller degrees of dispersion are considered more representative, and their sampling probability is correspondingly increased. The initial probability distribution ensures that the sampling process tends to retain evaluation indices that can represent the core characteristics of the set.

[0045] A compressed dataset is formed by randomly sampling the historical evaluation indicator set according to the initial probability distribution, retaining key evaluation indicators. A subset of evaluation indicators is then randomly selected from the historical evaluation indicator set as a candidate compressed set according to a preset sampling rate (a system parameter, such as 30% or 50%), which defines the ratio between the size of the compressed dataset and the original set. The dispersion of evaluation indicators within the candidate compressed set and the central evaluation indicator is calculated, updating the sampling probabilities to obtain the candidate probability distribution. This dispersion calculation is repeated within the new candidate compressed set. Based on the new dispersion value, a new probability is assigned to each evaluation indicator in the candidate compressed set according to the same inverse proportionality rule, forming a candidate probability distribution. The degree of overlap between the candidate probability distribution and the initial probability distribution is used as the compression quality score. The overlap is measured using statistical correlation calculations, such as calculating the cosine similarity of the two probability distribution vectors. The cosine similarity ranges from 0 to 1; the closer the value is to 1, the more similar the two distributions are, and the higher the compression quality score, meaning the candidate compressed set better preserves the probabilistic characteristics of the original historical evaluation indicator set. A new compressed quality score is calculated by randomly selecting a subset of evaluation metrics. The sampling process is repeated until the quality score stabilizes. The subset with the highest quality score is selected as the compressed dataset. The repeated sampling process is implemented through loop iteration. Each iteration generates a new candidate compressed set and calculates its compressed quality score. The quality score is stable when the change in the compressed quality score is less than a preset convergence threshold in several consecutive iterations. After the iteration is completed, the subset with the highest compressed quality score is selected from all generated candidate compressed sets as the final compressed dataset.

[0046] A time-series dataset is generated by sorting the evaluation indicators in the compressed dataset according to their time labels. Each evaluation indicator is accompanied by a precise timestamp during generation. The sorting algorithm arranges the evaluation indicators in the compressed dataset in ascending order according to the order of the timestamps, forming a strictly ordered sequence in the time dimension. This sequence is the time-series dataset used for subsequent trend analysis. The compression and sorting operations are iteratively performed on the remaining historical evaluation indicator sets to obtain multiple time-series datasets. The iterative process means that for each historical evaluation indicator set generated by different environmental category groups, the above operation process is independently and completely executed, including specifying the central evaluation indicator, calculating the dispersion, assigning initial probabilities, randomly sampling to generate candidate sets, calculating the compression quality score, iteratively selecting the optimal compression set, and sorting by time. The final output multiple time-series datasets correspond completely to the input historical evaluation indicator sets in terms of quantity. Each time-series dataset represents the sequence of the evolution of the metering error evaluation indicator of the gate energy meter over time under specific environmental category conditions after information compression and purification. The core purpose of information compression is to reduce the amount of data while preserving the main characteristics of the historical evaluation index set. This reduces the computational complexity of subsequent trend analysis algorithms and improves their sensitivity to long-term pattern identification. Organizing the data in chronological order ensures consistency between the data format and the input requirements of the time series analysis model. The operations described in this embodiment constitute a data preprocessing flow that transforms a scattered set of historical evaluation indicators, which may contain redundant information, into multiple refined, time-aligned time series datasets. This provides structured input data for accurately deriving error growth and reduction trends.

[0047] See Figure 3 In the implementation of a metering verification method for energy meters, the effectiveness of information compression is presented by comparing the original data volume and the compressed data volume under different environmental category groups. Specifically, the horizontal axis of the bar chart represents the environmental category groups (groups 1 to 5), and the vertical axis represents the data volume. Gray bars represent the original evaluation index volume, and dark bars represent the compressed evaluation index volume. The compression rate of each group is marked in the figure; for example, the compression rate of group 1 is 40.0%, quantifying the efficiency of data compression. Technically, the information compression process calculates the sampling probability distribution based on the dispersion of the historical evaluation index set, retains key indicators through random sampling, and forms a compressed dataset. Compression quality is evaluated by the overlap between the candidate probability distribution and the initial probability distribution, ensuring the consistency of topological features.

[0048] Example 3: See Figure 4A sample database was constructed by collecting time-series data from multiple sets of electricity meters. This database relied on the historical data warehouse of the power company's metering automation system. The data covered various models of metering meters installed on multiple substations and feeders. The length of the sample time-series data ranged from several months to several years to ensure complete coverage of seasonal climate change cycles and equipment aging trends. Error change patterns were identified from each sample time series, extracting sample growth and decline trends. The pattern recognition process employed a sliding window combined with least squares linear fitting. The width of the sliding window was dynamically set according to the data sampling interval, for example, with a window period of thirty days. Linear regression analysis was performed on the time-series data within each window. The slope of the regression line was used to quantify the average rate of error change. Intervals with a positive and statistically significant slope were marked as a sample growth trend segment, and their slope value, start timestamp, and duration were recorded. Intervals with a negative and statistically significant slope were marked as a sample decline trend segment, and their corresponding feature values ​​were recorded. Using sample time-series data as training input and sample growth and decline trends as training outputs, a trend prediction model is constructed. This model employs a deep learning framework based on a long short-term memory (LSTM) neural network. The network input layer is designed to receive fixed-length, standardized time-series data segments. The input data is normalized before being fed into the network, ensuring its values ​​are between zero and one. The network output layer contains two independent neurons corresponding to the confidence levels of the growth and decline trends, respectively, with output confidence values ​​also ranging from zero to one. The LSM neural network internally includes multiple layers of memory units and dropout layers. Memory units capture long-term dependencies in the time series, while dropout layers prevent overfitting. Network training utilizes an adaptive moment estimation algorithm to iteratively optimize network parameters by minimizing the binary cross-entropy loss function between the predicted output and the true label.

[0049] A trend prediction model is applied to pattern recognition on multiple time series datasets, outputting multiple categories of increasing and decreasing trends. The time series datasets are ordered sequences after prior information compression, each corresponding to an environmental category group. Each time series dataset is segmented to the required length for the model input. Each segment is fed into the trained trend prediction model for forward propagation. The model outputs an increasing trend confidence value and a decreasing trend confidence value for each segment. The arithmetic mean of the confidence values ​​output by all data segments within the same environmental category group is calculated to obtain the category increasing trend value and category decreasing trend value, representing the overall error change direction of that environmental category group. The association strength between the current environmental condition and multiple environmental category groups is calculated. The association strength is based on the normalized similarity measure between the current environmental condition vector and the central environmental vectors of each environmental category group. Each dimension of the current environmental condition vector and the central environmental vectors is normalized before calculation to eliminate the influence of dimensions. Normalization transforms the value of each environmental parameter to the range of zero to one. Association Strength The calculation formula is as follows:

[0050] ;

[0051] in: This indicates the strength of the association between the current environmental conditions and the k-th environmental category group. This represents the Euclidean distance between the normalized current environment condition vector and the normalized center environment vector of the k-th environment category group.

[0052] The error growth trend and error reduction trend are obtained by linearly combining the growth trends and reduction trends of multiple categories based on the association strength. The linear combination operation uses a weighted average algorithm, where the category growth trend value contributed by each environmental category group is multiplied by the association strength of that group. As weights, all weights are added together to obtain the total weight. The sum of the weighted category growth trend values ​​divided by the total weight yields the final error growth trend value. The error reduction trend value is calculated using the same weighted averaging process and the same association strength. The trend values ​​of each category are fused using these values ​​as weights. This correlation strength-based weighting method ensures that the historical trend information contained in environmental category groups that are more similar to the current actual environmental conditions has a greater influence on the final result, thus making the derived error growth and error reduction trends more consistent with the current operating environment. The entire process learns common patterns from large-scale historical samples, establishes a mapping relationship from data to trends, applies the model to specific, compressed field data, and finally synthesizes the final trend prediction through an environmentally adaptive weighting mechanism, forming a data-driven path from historical experience to current decision-making. The introduction of the trend prediction model improves the automation and accuracy of extracting effective features from complex time series, while the correlation strength-weighted fusion strategy enhances the environmental relevance and practicality of the trend inference results.

[0053] Example 4: The environmental category group with the strongest correlation is selected as the best matching category group. The correlation strength is calculated based on the formula defined in the previous examples. The system iterates through the calculated correlation strength values ​​between the current environmental conditions and each environmental category group, and finds the environmental category group with the largest value through a comparison algorithm. This environmental category group represents the set of conditions in historical data that are most similar to the current environment. Reference environmental conditions for the best matching category group are obtained. The reference environmental conditions are not a single historical record point, but are obtained by calculating the arithmetic mean of each dimension of all historical environmental condition data points within the best matching category group. For example, the reference temperature is the average of all recorded temperatures within the group, the reference humidity is the average of all recorded humidity within the group, and the reference power grid frequency is the average of all recorded power grid frequencies within the group, thus forming a representative comprehensive environmental vector.

[0054] The Euclidean distance between the current environmental conditions and the reference environmental conditions is measured. The Euclidean distance is calculated in a normalized data space. The three parameters of the current environmental conditions—temperature, humidity, and power grid frequency—as well as the corresponding parameters of the reference environmental conditions, have all been pre-normalized to the [0,1] interval. The distance calculation follows the Euclidean distance formula in three-dimensional space, which is the square root of the sum of the squares of the differences in each dimension. An adjustment factor is set based on the distance. The adjustment factor is designed as a monotonically decreasing function of the Euclidean distance, and its specific numerical mapping relationship is determined by a predefined configuration table. This configuration table defines the adjustment factor values ​​corresponding to different distance ranges, aiming to map continuous distance values ​​to continuous adjustment factor values, ensuring the smoothness of trend adjustments.

[0055] Table 1: Mapping Relationship between Euclidean Distance and Adjustment Factor

[0056]

[0057] The scaling operation uses an adjustment factor to scale the error growth and reduction trends, generating adjusted growth and reduction trends. The scaling operation employs a multiplicative model: the initially derived error growth trend value is multiplied by the adjustment factor to obtain the adjusted growth trend value, and the initially derived error reduction trend value is multiplied by the adjustment factor to obtain the adjusted reduction trend value. An adjustment factor value less than or equal to 1 indicates a greater difference between the current environmental conditions and the reference environmental conditions of the best-matching category group, a larger Euclidean distance, and a smaller adjustment factor. This results in a stronger attenuation effect on the original trend estimate, reflecting the increased uncertainty caused by environmental differences and a corresponding decrease in the confidence level of the trend prediction. This scaling is a linear adjustment, simple and direct in calculation, and can proportionally correct the magnitude of the trend prediction based on the environmental matching degree.

[0058] The entire environmental matching and trend adjustment process constructs a feedback mechanism that transforms abstract environmental similarity metrics into specific numerical correction coefficients. Euclidean distance quantifies the degree of difference between the current environment and historical typical environments, while the adjustment factor translates this difference into the strength of the correction to the trend prediction results. Obtaining the adjustment factor by querying a mapping table avoids complex real-time calculations, ensuring the efficiency of the system response. The adjusted growth and decline trends serve as inputs for subsequent verification strategy selection; their values ​​already contain information about the environmental matching degree. This ensures that the final verification guidance scheme is not only based on historical trends but also fully considers the current actual environmental conditions, enhancing the adaptability and rationality of the decision. From selecting the best matching category group to obtaining reference conditions, from calculating distances to querying adjustment factors, and finally completing trend scaling, this series of steps is interconnected, advancing the impact of environmental factors from qualitative judgment to quantitative adjustment, achieving data-driven adaptive trend correction. The tabular mapping relationship makes the adjustment strategy clear, explicit, and easy to configure and maintain, while the multiplicative scaling model ensures the simplicity and interpretability of the adjustment logic.

[0059] See Figure 5This study quantifies the correlation strength and Euclidean distance between different environmental categories (groups A to E) during the metering and verification process of energy meters at the gateway. This data supports environmental similarity matching and trend adjustment decisions. Specifically, the correlation strength is calculated using a comparison algorithm, reflecting the degree of similarity between the current environmental conditions and the historical conditions of each environmental category. Its value is directly used to determine the best matching category. The Euclidean distance, based on a three-dimensional spatial measure of normalized environmental parameters, quantifies the difference between the current environment and the reference environmental conditions. It is then converted into an adjustment factor through a preset mapping table to achieve scaling and correction of error trends. In the charts, the bar chart represents the correlation strength, and the line chart represents the Euclidean distance. Group C has the highest correlation strength (0.9), indicating that its historical data is most similar to the current environment. However, its large Euclidean distance (0.7) suggests significant environmental differences, requiring a strong attenuation of trend prediction through adjustment factors. Groups D and E have lower correlation strengths and smaller Euclidean distances, reflecting weak similarity but low difference. This visualization structure provides a data-driven basis for the selection of verification strategies, ensuring that environmental factors are quantitatively integrated into the adaptive decision-making process.

[0060] Example 5: A sample solution library is formed by summarizing adjusted growth and decline trend samples from historical operations. Historical operations refer to the complete records generated by the system executing this verification method on all monitored energy meters over a past period. Each record contains a set of final adjusted growth and decline trend values, as well as the actual verification operation instructions taken for that energy meter at that time. Sample guidance schemes are defined based on the numerical relationships of each sample. A sample guidance scheme is a structured set of instructions, including suggested verification cycles, suggested verification item types, and prompt text to be displayed to operators. The prompt text is divided into different prompt levels based on the numerical relationships, such as "Normal Monitoring," "Suggested Scheduled Verification," and "Suggested Immediate On-Site Verification." The sample numerical value is negatively correlated with the prompt level. The smaller the absolute value of the adjusted growth and decline trend values, the more stable the energy meter's error state, the lower the predicted risk, and the lower the corresponding prompt level, such as "Normal Monitoring." Larger values ​​indicate a significant error change trend, high uncertainty, or large potential deviation, requiring more proactive intervention, and the higher the corresponding prompt level, such as "Suggested Immediate On-Site Verification." Using adjusted growth and decline trend samples as input features and sample guidance schemes as output labels, a decision engine is trained. The decision engine employs a classifier model based on the decision tree algorithm. The input feature is a two-dimensional vector containing adjusted growth and decline trend values, and the output label is a discrete category corresponding to different sample guidance schemes. During training, the decision tree selects the optimal feature split point by calculating information gain or Gini impurity, recursively dividing the feature space into different regions. Each leaf node corresponds to a specific sample guidance scheme category. The trained decision tree model can learn the complex nonlinear mapping relationship between continuous numerical features and discrete operational schemes.

[0061] The decision engine is invoked to classify the current adjusted growth and decline trends to generate verification guidance schemes. When the system calculates the current adjusted growth and decline trend values ​​for a specific energy meter, these two values ​​form a feature vector, which is then input into the trained decision engine. The decision engine traverses the decision tree through a series of conditional judgments starting from the root node, eventually reaching a leaf node. The sample guidance scheme represented by this leaf node is the generated verification guidance scheme. The verification guidance scheme is output in a structured data format, containing clear action instructions, suggested time windows, and detailed prompts. For example, the scheme might instruct, "Please arrange an accuracy verification within fifteen working days, focusing on checking the voltage loop connection," and this information is pushed to the maintenance workbench. After generating the verification guidance scheme, its consistency with real-time metering values ​​is verified. This consistency verification is achieved by comparing the error expectation implicit in the verification guidance scheme with the current operating status reflected by the real-time metering values ​​read from the energy meter. The system calculates a consistency score based on the degree of agreement between the real-time metering values ​​and the predicted range based on historical data. If the consistency score falls below a set threshold, the information compression and time-series dataset generation process will be restarted. The set threshold is a configurable threshold; for example, a consistency score below 0.7 will trigger a recalculation process. Restarting means the system will ignore previous trend analysis results based on compressed data and start from an earlier set of original historical evaluation indicators. It will then re-execute information compression to form a new time-series dataset and re-perform the entire process of trend derivation, environmental matching adjustments, and decision classification, aiming to obtain a new verification guideline that is more consistent with the current real-time data.

[0062] For example, suppose the system generates a verification guidance plan for an outdoor energy meter, with the following content: "Alert Level: Normal Monitoring; Recommendation: Perform routine checks in the next planned verification cycle." At this time, the system reads the meter's real-time readings and finds that the pulse count fluctuations have increased abnormally in a short period, inconsistent with the stable state expected by the "normal monitoring" plan. The consistency score is calculated to be 0.5, below the set threshold of 0.7. The system then triggers a recalculation process, retracing back to the meter's historical evaluation index set from the previous week, recompressing the information, constructing a new time series, and analyzing trends that may indicate potential accelerated error growth. After environmental matching adjustments, the new trend values ​​are input into the decision engine, potentially generating a completely new verification guidance plan, such as "Alert Level: Recommendation to arrange planned verification; Recommendation: Conduct on-site inspection within seven days, focusing on the temperature compensation module." This new plan has higher consistency with the observed real-time reading fluctuations. The entire process demonstrates the system's self-verification and iterative optimization capabilities; the generation of the verification guidance plan is not a one-way endpoint but rather incorporates a feedback loop. The application of the decision engine transforms continuous trend values ​​into explicit operational instructions, reducing the complexity of manual judgment. The consistency verification acts as a safety valve, ensuring that the system's recommended operations are consistent with the latest actual state of the equipment. When significant inconsistencies occur, the system can automatically backtrack and recalculate, effectively avoiding the risk of making erroneous decisions based on outdated or distorted trend information. From historical sample learning to real-time decision classification, and from consistency verification to possible process restarts, the method described in this embodiment constructs a dynamically adaptable intelligent verification decision support system. The establishment of a sample solution library allows decisions to be based on a wealth of historical experience, the implementation of the decision engine ensures the objectivity and automation of the decision-making process, and the consistency verification mechanism introduces necessary fault tolerance and adaptive capabilities, collectively improving the accuracy and reliability of metering verification management at key points.

[0063] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.

Claims

1. A method for metering and verifying a gated energy meter, characterized in that, The method includes: Monitor the meter readings and current environmental conditions of the energy meter at the monitoring point in real time, and query the past verification records associated with the meter readings. The environmental condition data in the past verification records are classified and organized into multiple environmental category groups. From each environmental category group, the historical deviation data set and the historical verification time set are extracted, and multiple historical evaluation index sets are calculated. Information compression processing is performed on each set of historical evaluation indicators to obtain a compressed evaluation indicator sequence, which is then organized into multiple time series datasets in chronological order. The development patterns of these multiple time series datasets are analyzed to deduce the error growth trend and the error reduction trend. The current environmental conditions are matched with the multiple environmental category groups to determine the best matching category group. Based on the degree of difference between the current environmental conditions and the reference environmental conditions of the best matching category group, the error growth trend and error reduction trend are adjusted, and the adjusted growth trend and reduction trend are output. Based on the adjusted growth and decline trends, a verification strategy is selected, a verification guidance plan is generated, and prompt actions are executed.

2. The metering and verification method for a gated energy meter according to claim 1, characterized in that, Monitor the meter readings and current environmental conditions of the energy meter at the monitoring point during real-time operation, and query the historical verification records associated with the meter readings, specifically including: The system reads the instantaneous power consumption value of the energy meter at the checkpoint in real time, and simultaneously collects ambient temperature, humidity, and power grid frequency parameters as the current environmental conditions; using the instantaneous power consumption value as a keyword, it searches the historical database for previous verification files of the same energy meter to obtain past verification records.

3. The metering and verification method for a gated energy meter according to claim 1, characterized in that, The environmental condition data in the past verification records are classified and organized into multiple environmental category groups. From each environmental category group, a set of historical deviation data and a set of historical verification times are extracted. Multiple sets of historical evaluation indicators are then calculated, specifically including: Cluster analysis is performed on various environmental condition parameters stored in past verification records to divide them into multiple environmental category groups. For each environmental category group, the standard error range recorded in the historical verification archives is retrieved to generate a historical deviation data set. Multiple sets of actual error values ​​and multiple sets of verification time points submitted by operators under the corresponding environmental category group are extracted. The deviation between the multiple sets of actual error values ​​and the historical deviation data set is calculated, and multiple sets of basic evaluation indicators are obtained by grouping them. Based on the time span ratio between the preset time window and the multiple sets of verification time points, the multiple sets of basic evaluation indicators are weighted and fused to obtain multiple sets of historical evaluation indicators.

4. The metering and verification method for a gated energy meter according to claim 1, characterized in that, Information compression is performed on each set of historical evaluation indicators to obtain a compressed evaluation indicator sequence, which is then organized into multiple time series datasets in chronological order, specifically including: Select one set from multiple historical evaluation indicator sets as the processing object, and designate a central evaluation indicator within this set; measure the dispersion of other evaluation indicators in this set relative to the central evaluation indicator, and assign sampling probabilities based on the dispersion to form an initial probability distribution, where the dispersion is inversely proportional to the sampling probability; randomly sample the set according to the initial probability distribution, retain the key evaluation indicators, and form a compressed dataset; sort the evaluation indicators in the compressed dataset according to their time labels to generate a time series dataset; iteratively perform compression and sorting operations on the remaining historical evaluation indicator sets to obtain multiple time series datasets.

5. The metering and verification method for a gated energy meter according to claim 4, characterized in that, The set is randomly sampled according to the initial probability distribution, and key evaluation metrics are retained to form a compressed dataset, which specifically includes: From the set, a subset of evaluation indicators is randomly selected according to a preset sampling rate as a candidate compression set; the dispersion of other evaluation indicators in the candidate compression set with the central evaluation indicator is calculated, the sampling probability is updated, and a candidate probability distribution is obtained; the overlap between the candidate probability distribution and the initial probability distribution is compared as the compression quality score; a new subset of evaluation indicators is randomly selected, and a new compression quality score is calculated; the sampling process is repeated until the quality score is stable, and the subset of evaluation indicators with the highest quality score is selected as the compressed dataset.

6. The metering and verification method for a gated energy meter according to claim 1, characterized in that, Analyzing the development patterns of the multiple time series datasets, we deduce the error growth trend and the error reduction trend, specifically including: Collect time-series data from multiple sets of electricity meters to construct a sample database. Identify error change patterns from each sample time series and extract sample growth and decrease trends. Use the sample time series data as training input and the sample growth and decrease trends as training outputs to construct a trend prediction model. Apply the trend prediction model to perform pattern recognition on multiple time series datasets, outputting multiple category growth trends and multiple category decrease trends. Calculate the correlation strength between the current environmental conditions and multiple environmental category groups. Based on the correlation strength, linearly combine the multiple category growth trends and multiple category decrease trends to obtain the error growth trend and error decrease trend.

7. The metering and verification method for a gated energy meter according to claim 6, characterized in that, The current environmental conditions are matched with the multiple environmental category groups based on similarity to determine the best matching category group. Then, based on the degree of difference between the current environmental conditions and the reference environmental conditions of the best matching category group, the error growth trend and error reduction trend are adjusted, and the adjusted growth trend and reduction trend are output. Specifically, this includes: Select the environmental category group with the strongest correlation as the best matching category group, and obtain the reference environmental conditions of the best matching category group; measure the Euclidean distance between the current environmental conditions and the reference environmental conditions, and set an adjustment factor based on the distance; use the adjustment factor to perform scaling operations on the error growth trend and error reduction trend to generate the adjusted growth trend and reduction trend.

8. The metering and verification method for a gated energy meter according to claim 1, characterized in that, Based on the adjusted growth and decline trends, a verification strategy is selected, a verification guidance plan is generated, and prompts are executed, specifically including: The system aggregates adjusted growth and decline trend samples from historical operations. Based on the numerical relationship of each sample, it defines sample guidance schemes to form a sample scheme library. The sample guidance schemes include prompt levels, and the sample numerical size is negatively correlated with the prompt level. The system trains a decision engine using adjusted growth and decline trend samples as input features and sample guidance schemes as output labels. The decision engine is then used to classify the current adjusted growth and decline trends to generate a validation guidance scheme.

9. The metering verification method for a gated energy meter according to claim 1, characterized in that, The method further includes: after generating the verification guidance scheme, checking the consistency between the scheme and the real-time measurement values; if the consistency is lower than a set threshold, restarting the information compression processing and time series dataset generation process.

10. A metering and verification system for a gated energy meter, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the metering and verification method for a gate energy meter as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Electric energy meter metering error prediction method, system and device based on multi-stress influence

    CN113447879A

  • Electric energy meter calibration method and electric energy meter calibration platform

    CN119375815A

  • Electric energy meter error real-time monitoring and intelligent calibration system and method

    CN120742216A

Cited By

  • Method and system for correcting time synchronization error of electric energy meter based on neural network

    CN122430776A

  • Method and system for correcting time synchronization error of electric energy meter based on neural network

    CN122430776B