A method and system for identifying abnormal operation state of an electric energy meter

By performing metering consistency and storage time sequence analysis on high-frequency sampling data of electricity meters, abnormal storage events of electricity meters can be identified, solving the problem of difficulty in distinguishing between sudden load changes and abnormal storage status of electricity meters, and improving the accuracy and reliability of abnormal identification of electricity meter operating status.

CN123158450APending Publication Date: 2026-11-24SPL ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611352383.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-02
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In existing technologies, it is difficult to accurately distinguish between sudden load changes and abnormal storage status of electricity meters, which makes it easy to confuse the actual load changes with abnormal storage status. Furthermore, there is a lack of means to statistically verify the source of the anomaly within a continuous time window.

Method used

By acquiring metering status data and storage status data during the high-frequency sampling process of the electricity meter, time-series processing and abrupt change identification are performed. Combined with the metering consistency analysis of power data and cumulative electricity changes and storage time-series analysis, abnormal storage events are identified and continuously judged within a preset observation window to generate abnormal electricity meter operating status identification results.

Benefits of technology

It enables accurate differentiation between sudden load changes and abnormal storage status of electricity meters, reduces the false judgment rate, and improves the stability and reliability of electricity meter operation status abnormal identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123158450A_ABST
    Figure CN123158450A_ABST
Patent Text Reader

Abstract

This invention relates to the field of electricity metering status monitoring technology, and discloses a method and system for identifying abnormal operating status of electricity meters. The method includes acquiring metering status data and stored status data; identifying abrupt changes in the metering status data to obtain abrupt change data; performing time-series correspondence processing on the abrupt change data and the stored status data to obtain abrupt change monitoring data; performing metering consistency analysis and storage time-series analysis on the abrupt change monitoring data to obtain metering consistency features and storage time-series features; determining the source of the anomaly based on the metering consistency features and the storage time-series features to obtain storage anomaly events; and performing persistence determination on the storage anomaly events to generate an electricity meter operating status anomaly identification result. This method can distinguish between electricity meter load abrupt changes and storage status anomalies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electricity metering status monitoring technology, and in particular to a method and system for identifying abnormal operating status of electricity meters. Background Technology

[0002] Currently, electricity meters continuously generate metering data reflecting electricity consumption during operation and record this data through internal storage units. As the data sampling frequency increases, power data may experience significant abrupt changes within a short period when electrical equipment starts or stops or loads switch. Simultaneously, when the storage unit experiences recording misalignment or write timing mismatch, the metering data may also exhibit numerical jumps inconsistent with the actual electricity consumption, resulting in a certain similarity in the data change patterns across different operating states.

[0003] In existing technologies, abnormal data is typically identified based on the differential results, magnitude of change, or temporal distribution of metering data. Some solutions also analyze continuous operating status using Markov models. These methods primarily rely on the inherent patterns of metering data for anomaly detection. When the load changes rapidly, large power spikes are easily identified as anomalies. However, when storage status anomalies cause data misalignment or changes in write timing, relying solely on the fluctuation characteristics of metering data is insufficient to determine the source of the anomaly. While some solutions combine data from multiple time periods for continuous assessment, they typically fail to further analyze the metering correspondence between power data and cumulative power changes, nor do they correlate metering data changes with corresponding storage write states. This leads to confusion when real load spikes and storage status anomalies exhibit similar data patterns. Furthermore, existing assessment mechanisms often analyze single data jumps, lacking methods for statistically verifying the source of anomalies within a continuous time window, making occasional disturbances easily misreported as persistent hardware failures.

[0004] Existing technologies have the problem of difficulty in accurately distinguishing between sudden load changes in electricity meters and abnormal storage conditions. Summary of the Invention

[0005] This invention provides a method and system for identifying abnormal operating status of electricity meters, in order to solve the problem in the prior art that it is difficult to accurately distinguish between sudden load changes and abnormal storage status of electricity meters.

[0006] Firstly, in order to solve the above-mentioned technical problems, the present invention provides a method for identifying abnormal operating status of an electricity meter, comprising:

[0007] The metering status data generated by the metering unit and the storage status data generated by the storage unit during the high-frequency sampling process of the electricity meter are acquired, and the metering status data is processed in time sequence to obtain metering monitoring data.

[0008] Based on the measurement and monitoring data, mutations are identified to obtain mutation data. Then, based on the mutation data and the stored state data, time-series correspondence processing is performed to obtain mutation monitoring data.

[0009] Based on the correspondence between the power data and the cumulative power changes in the corresponding time period in the mutation monitoring data, a measurement consistency analysis is performed to obtain measurement consistency characteristics;

[0010] Based on the time correspondence between the mutation data and the storage status data in the mutation monitoring data, storage time series analysis is performed to obtain storage time series characteristics. Based on the measurement consistency characteristics and the storage time series characteristics, the abnormal source of the mutation monitoring data is determined to obtain storage abnormal events.

[0011] Based on the distribution of the stored abnormal events within a preset observation window, continuous discrimination is performed to obtain the stored abnormal state, and an abnormal identification result of the electricity meter operation status is generated based on the stored abnormal state.

[0012] Secondly, the present invention provides an abnormal operation status identification system for electricity meters, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method described above.

[0013] Thirdly, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described above.

[0014] Compared with the prior art, the present invention has the following beneficial effects:

[0015] (1) This invention acquires metering status data and storage status data generated during the high-frequency sampling process of the electricity meter, identifies abrupt changes in the metering status data, and associates the abrupt changes with the storage status data of the corresponding time period, so that the abrupt changes in the metering data can correspond to the operating status of the storage unit, providing a unified data basis for subsequent anomaly source identification.

[0016] (2) This invention performs a measurement consistency analysis on the power data and cumulative power changes in the mutation monitoring data to obtain measurement consistency characteristics. It also performs a storage time series analysis based on the time correspondence between mutation data and storage status data to obtain storage time series characteristics. Then, it uses the measurement consistency characteristics and storage time series characteristics to identify the source of anomalies, so that the actual load changes and storage status anomalies can be distinguished based on different data correspondences, reducing the misjudgment caused by judging anomalies based solely on the fluctuation of measurement data.

[0017] (3) The present invention continuously judges the distribution of storage abnormal events within a preset observation window, determines the storage abnormal state, and generates the energy meter operation status abnormal identification result based on the storage abnormal state, so that the instantaneous abnormal events can be further distinguished from the continuous storage operation abnormalities, thereby improving the stability and reliability of the energy meter operation status abnormal identification result. Attached Figure Description

[0018] Figure 1 This is a schematic flowchart of a method for identifying abnormal operating status of an electricity meter according to the first embodiment of the present invention;

[0019] Figure 2 This is a schematic diagram of power mutation identification provided in the first embodiment of the present invention;

[0020] Figure 3 This is a schematic diagram of anomaly source discrimination provided in the first embodiment of the present invention;

[0021] Figure 4 This is a schematic diagram of the persistence determination of storage abnormal events provided in the first embodiment of the present invention. Detailed Implementation

[0022] 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.

[0023] Reference Figure 1 The first embodiment of the present invention provides a method for identifying abnormal operating status of an electricity meter, comprising the following steps:

[0024] S1, acquire the metering status data generated by the metering unit and the storage status data generated by the storage unit during the high-frequency sampling process of the electricity meter, and perform time-series processing on the metering status data to obtain metering monitoring data;

[0025] S2, perform mutation identification based on the measurement and monitoring data to obtain mutation data, and perform time-series correspondence processing on the mutation data and the stored state data to obtain mutation monitoring data;

[0026] S3, perform a measurement consistency analysis based on the correspondence between the power data and the cumulative power change in the corresponding time period in the mutation monitoring data to obtain measurement consistency characteristics;

[0027] S4, perform storage time series analysis based on the time correspondence between the mutation data and the storage status data in the mutation monitoring data to obtain storage time series characteristics, and determine the abnormal source of the mutation monitoring data based on the measurement consistency characteristics and the storage time series characteristics to obtain storage abnormal events;

[0028] S5. Based on the distribution of the storage abnormal events within the preset observation window, continuous discrimination is performed to obtain the storage abnormal state, and an abnormal identification result of the electricity meter operation status is generated based on the storage abnormal state.

[0029] In step S1, the metering status data generated by the metering unit and the storage status data generated by the storage unit during the high-frequency sampling process of the electricity meter are acquired, and the metering status data is processed in time sequence to obtain metering monitoring data.

[0030] In one implementation, the metering status data is a set of metering records continuously generated by the metering unit according to a high-frequency sampling period. Each metering record includes the sampling time, power data, and cumulative energy consumption. The sampling time is written by the metering unit upon completion of the corresponding sampling. The power data is generated by the metering unit through metering calculations based on the voltage and current sampling values ​​within the current sampling period. The cumulative energy consumption is accumulated by the metering unit over consecutive sampling periods and then written to the corresponding metering record. The cumulative energy consumption uses the accumulated value generated during the internal energy accumulation process of the metering unit, and does not use the rounded energy consumption value displayed on the screen. The resolution of the accumulation register in the internal energy accumulation process is 0.001 watt-hours, which meets the accuracy requirement for recording the energy consumption increment between two adjacent 50-millisecond sampling periods.

[0031] It should be noted that in this embodiment, the high-frequency sampling period is set to 50 milliseconds. The measurement records generated by the metering unit in each sampling period are first written to the controller's RAM circular buffer. The storage unit then writes the measurement records from the buffer to non-volatile memory in preset batches. The storage unit completing the write operation refers to the process of writing the measurement records from the RAM buffer to the non-volatile memory. The high-frequency sampling period is determined by continuously sampling tests on three candidate sampling periods supported by the metering unit: 20 milliseconds, 50 milliseconds, and 100 milliseconds. Within the same test duration, the number of measurement records generated by the metering unit and the number of measurement records written by the storage unit are counted. When the candidate sampling period is 20 milliseconds, the number of measurement records written to disk is less than the number of measurement records generated; when the candidate sampling periods are 50 milliseconds and 100 milliseconds, both numbers are the same. Therefore, the shortest candidate sampling period that allows for complete writing of measurement records is selected, and the high-frequency sampling period is determined to be 50 milliseconds, which is then written into the metering unit's sampling task configuration parameters.

[0032] The storage status data is a set of write records formed by the storage unit during the writing process of each metering record. Each write record includes the sampling time and the write completion time carried by the corresponding metering record. Both the sampling time and the write completion time are provided by the system timer of the energy meter controller. When the metering unit forms a metering record, it reads the system timer and writes the sampling time. After the storage unit completes the writing of the corresponding metering record, it returns a write completion signal. The energy meter controller reads the system timer and records the write completion time. The storage unit writes the sampling time and the corresponding write completion time carried by the metering record into the same write record, forming the storage status data.

[0033] In this embodiment, when processing the metering status data in a time sequence, the sampling time of each metering record is read, and all metering records are arranged from earliest to latest according to the sampling time. The corresponding sampling time, power data, and cumulative power consumption are written into the time sequence record. All time sequence records are then arranged continuously according to the sampling time to obtain the metering monitoring data. Two adjacent time sequence records in the metering monitoring data correspond to two adjacent high-frequency sampling cycles.

[0034] For example, the sampling times of three consecutive metering records are 10:00:00.000, 10:00:00.050, and 10:00:00.100, respectively, corresponding to power data of 820 watts, 835 watts, and 1420 watts. After sorting the three metering records in ascending order according to their sampling times, they are sequentially written into the metering monitoring data. When the storage unit writes the three metering records, it retains the three sampling times of 10:00:00.000, 10:00:00.050, and 10:00:00.100 in the corresponding write records, and records the corresponding write completion time.

[0035] It is worth noting that the sampling time in the metering status data and the sampling time carried by the corresponding write record in the storage status data come from the same metering record. Both the sampling time and the write completion time are provided by the system timer of the energy meter controller, and the time data formed by two independent timers are not compared.

[0036] In step S2, mutation identification is performed based on the measurement and monitoring data to obtain mutation data. Then, time-series correspondence processing is performed between the mutation data and the stored state data to obtain mutation monitoring data.

[0037] The mutation identification process, based on the aforementioned measurement and monitoring data, yields mutation data, including:

[0038] The measurement and monitoring data is divided into windows according to a preset sampling window to obtain window data;

[0039] The window data is subjected to first-order difference processing to obtain a difference sequence;

[0040] The differential sequence is subjected to mutation screening based on a preset mutation magnitude threshold to obtain mutation data.

[0041] In one implementation, the preset sampling window length is set to 10 sampling points, and the sliding step size is set to 1 sampling point. Following the order of the time-series records in the measurement and monitoring data, 10 time-series records are read consecutively starting from the first record to form the first window of data. Subsequently, one time-series record is moved forward each time, and 10 consecutive time-series records are read again, until the end of the measurement and monitoring data is insufficient to form a complete window of data.

[0042] It should be noted that the preset threshold for the magnitude of sudden changes is set to 500 watts. In this embodiment, the threshold is calibrated using seven consecutive days of operating data. These seven consecutive days cover the complete electricity consumption cycle (including weekdays and weekends), which is sufficient to characterize the statistical distribution characteristics under normal operating conditions. The preset threshold for the magnitude of sudden changes is determined by reading the metering and monitoring data generated over seven consecutive days. The absolute values ​​of adjacent power data in the metering and monitoring data are subtracted sequentially, and the 99th percentile is selected as the basis for threshold determination. This is a trade-off between false alarm rate and false negative rate, ensuring that the threshold covers 99% of the data distribution under normal operating conditions. When the percentile position is not an integer, the linear interpolation result of the values ​​corresponding to the two adjacent sorting positions is taken. All absolute values ​​of power differences are arranged in ascending order of value. The 99th percentile is 500 watts, therefore 500 watts is determined as the preset threshold for the magnitude of sudden changes.

[0043] The window length of the preset sampling window is determined based on the duration of abrupt changes in the metering and monitoring data. The absolute values ​​of power differences over seven consecutive days are filtered according to a preset abrupt change amplitude threshold of 500 watts. Sampling records with consecutive sampling times and an absolute power difference greater than 500 watts are grouped into the same abrupt change period. The duration of each abrupt change period from the first sampling time to the last sampling time is calculated, and the 95th percentile is no greater than 500 milliseconds. Since the high-frequency sampling period in step S1 is 50 milliseconds, the 10 sampling points corresponding to 500 milliseconds are determined as the window length of the preset sampling window.

[0044] In this embodiment, when performing first-order difference processing on the window data, the power data in the window data is read. Following the sampling time sequence, the power data corresponding to the current sampling time is subtracted from the power data corresponding to the previous sampling time to obtain the power difference value corresponding to the current sampling time. The power difference values ​​within the same window data are arranged according to the sampling time to obtain a difference sequence. When adjacent window data contain the same sampling time, only one record is retained for the power difference value corresponding to the same sampling time. The first sampling time in the window is used as a reference for the power data corresponding to the sampling time at the end of the previous window for difference calculation; for the first time-series record, its own power data is used as the zero difference value; when the same sampling time is repeated in adjacent windows, the difference value obtained from the first calculation is retained.

[0045] During mutation screening, this embodiment reads the power difference values ​​in the difference sequence one by one and takes their absolute values. When the absolute value of the power difference value is greater than 500 watts, the two metering and monitoring data corresponding to the previous sampling time and the current sampling time that formed the power difference value are written into the same mutation record, and the power difference value is written into the mutation record; when the absolute value of the power difference value is not greater than 500 watts, no corresponding mutation record is formed. All mutation records are arranged according to the current sampling time to obtain mutation data.

[0046] For example, in a certain window of data, the power data corresponding to two adjacent sampling times are 835 watts and 1420 watts, respectively. Subtracting 835 watts from 1420 watts yields a power difference of 585 watts. If the absolute value of the power difference is greater than 500 watts, the metering and monitoring data corresponding to the two sampling times and the power difference of 585 watts are written into the same mutation record, forming a record in the mutation data.

[0047] The mutation monitoring data is obtained by performing time-series correspondence processing on the mutation data and the storage state data, including:

[0048] The time period of the mutation was determined based on the mutation data;

[0049] The storage state data is filtered by time range according to the time period of the mutation to obtain the corresponding storage state data;

[0050] The mutation monitoring data is obtained by performing correlation processing between the mutation data and the corresponding storage state data.

[0051] In one implementation, this embodiment reads the previous sampling time and the current sampling time from each mutation record, determines the previous sampling time as the start time of the corresponding mutation occurrence period, and determines the current sampling time as the end time of the corresponding mutation occurrence period. When multiple consecutive mutation records correspond to mutation occurrence periods with a common sampling time, the multiple consecutive mutation records are grouped into the same mutation occurrence period, and the earliest previous sampling time is determined as the start time, and the latest current sampling time is determined as the end time.

[0052] In this embodiment, the sampling time carried by each write record in the storage state data is read according to each mutation occurrence period. The write records whose sampling time is between the start time and the end time are retained to obtain the corresponding storage state data. This step filters the time range according to the sampling time carried by the write record, not according to the write completion time.

[0053] Subsequently, this embodiment reads the sampling time contained in each mutation record in the mutation data, searches for write records carrying the same sampling time in the corresponding stored state data, and associates the two metering monitoring data that form the same mutation record with the corresponding two write records to form a mutation monitoring record. The mutation monitoring record includes the previous sampling time, the current sampling time, the power data and cumulative power corresponding to the two sampling times, and the write completion time corresponding to the two sampling times. All mutation monitoring records are arranged according to the current sampling time to obtain the mutation monitoring data.

[0054] For example, in a mutation record, the previous sampling time is 10:00:00:050 and the current sampling time is 10:00:00:100. After filtering the stored state data by time range, two write records carrying 10:00:00:050 and 10:00:00:100 are found respectively. Based on the sampling time, the two metering monitoring data are associated with their corresponding write records, and the corresponding power data, cumulative power consumption, and write completion time are written into the same mutation monitoring record to form mutation monitoring data.

[0055] It is worth noting that this step establishes a correspondence based on the sampling time recorded in both the measurement monitoring data and the storage status data. The writing completion time does not participate in the record matching, but is only used as part of the mutation monitoring data and participates in the determination of the storage time interval in the subsequent storage time series analysis process.

[0056] For example, Figure 2This is a schematic diagram of power mutation identification. The diagram shows how the absolute value of the power difference changes over time. Most of the absolute values ​​of the power difference remain below the mutation amplitude threshold. The absolute values ​​of the local power difference corresponding to load switching and storage record misalignment exceed 500 watts, forming the mutation data used for subsequent analysis.

[0057] In step S3, a metering consistency analysis is performed based on the correspondence between the power data and the cumulative power change in the corresponding time period in the mutation monitoring data to obtain metering consistency characteristics, including:

[0058] The theoretical change in electrical charge is determined based on the power data in the mutation monitoring data and adjacent sampling times.

[0059] The cumulative power change is determined based on the cumulative power consumption in the mutation monitoring data.

[0060] Calculate the measurement deviation between the theoretical change in electricity consumption and the cumulative change in electricity consumption;

[0061] The measurement consistency characteristics are obtained by dividing the measurement deviation into consistent features with the preset measurement error boundary.

[0062] In one implementation, the theoretical power change represents the power change calculated from power data between two adjacent sampling times. In this embodiment, for each sudden change monitoring record, the power data corresponding to the previous sampling time, the current sampling time, and the two sampling times are read. The previous sampling time is subtracted from the current sampling time to obtain the sampling interval. The power data corresponding to the two sampling times are added together and divided by 2 to obtain the average power within the sampling interval. The average power is multiplied by the sampling interval and the unit of measurement is converted to obtain the theoretical power change.

[0063] It should be noted that when power data is in watts and sampling intervals are in seconds, the product of the average power and the sampling interval is divided by 3600 to obtain the theoretical change in power consumption expressed in watt-hours. This step uses the average power data from two adjacent sampling times to characterize the power level within the corresponding sampling interval, without performing additional smoothing on the power data before and after abrupt changes.

[0064] The cumulative power change represents the actual increase in cumulative power consumption recorded by the metering unit between two adjacent sampling times. In this embodiment, the cumulative power consumption at the current sampling time and the cumulative power consumption at the previous sampling time are read, and the cumulative power consumption at the current sampling time is subtracted from the cumulative power consumption at the previous sampling time to obtain the cumulative power change. The cumulative power change uses the same power unit as the theoretical power change.

[0065] This embodiment calculates the difference between the theoretical change in electricity consumption and the cumulative change in electricity consumption, and takes the absolute value of the difference to obtain the measurement deviation. Each measurement deviation is associated with one of the two sampling times that formed the deviation, and written into the corresponding abrupt change monitoring record.

[0066] It should be noted that the preset metering error boundary is set to 0.006 watt-hours. This preset metering error boundary is determined by reading metering monitoring data generated over seven consecutive days. Following the same processing method as in this step, the theoretical power change is determined based on the power data corresponding to each adjacent sampling time, and the cumulative power change is determined based on the corresponding cumulative power. The metering deviation between the theoretical power change and the cumulative power change is then calculated. All metering deviations are arranged in ascending order of value, and the 99th percentile is 0.006 watt-hours. Therefore, 0.006 watt-hours is determined as the preset metering error boundary.

[0067] In this embodiment, the measurement deviation is compared with 0.006 watt-hours one by one. When the measurement deviation is not greater than 0.006 watt-hours, the corresponding mutation monitoring record is marked as measurement consistent; when the measurement deviation is greater than 0.006 watt-hours, the corresponding mutation monitoring record is marked as measurement inconsistent. The measurement deviation and the corresponding measurement consistent or inconsistent mark are written together into the mutation monitoring data to form a measurement consistency feature.

[0068] For example, two adjacent sampling times are 10:00:00.050 and 10:00:00.100, corresponding to power data of 835 watts and 1420 watts, respectively, with a sampling interval of 0.05 seconds between the two sampling times. Adding 835 watts and 1420 watts and dividing by 2 yields an average power of 1127.5 watts. Multiplying 1127.5 watts by 0.05 seconds and performing unit conversion gives a theoretical power change of approximately 0.0157 watt-hours. The cumulative power change recorded for the two sampling times is 0.0240 watt-hours. Subtracting 0.0240 watt-hours from 0.0157 watt-hours and taking the absolute value yields a measurement deviation of approximately 0.0083 watt-hours. If the measurement deviation is greater than 0.006 watt-hours, a measurement inconsistency marker is written into the corresponding abrupt change monitoring record, forming a corresponding measurement consistency feature.

[0069] It is worth noting that the metrological consistency analysis compares power data and cumulative electricity changes within the same sampling interval; the magnitude of the abrupt change itself is not used as a consistency criterion in this step. The abrupt changes identified in the aforementioned steps limit the time range within which metrological consistency analysis is required.

[0070] In step S4, storage time series analysis is performed based on the time correspondence between the mutation data and the storage status data in the mutation monitoring data to obtain storage time series characteristics. Based on the measurement consistency characteristics and the storage time series characteristics, the mutation monitoring data is used to identify the source of anomalies to obtain storage anomaly events.

[0071] Specifically, storage time series analysis is performed based on the time correspondence between the mutation data and the storage state data in the mutation monitoring data to obtain storage time series characteristics, including:

[0072] The measurement time interval is determined based on adjacent sampling times in the mutation data;

[0073] The storage time interval is determined based on the adjacent write completion times in the storage state data corresponding to the mutation data;

[0074] Calculate the timing deviation between the metering time interval and the storage time interval;

[0075] Based on the timing deviation and the preset storage timing boundary, the timing state is divided to obtain the storage timing characteristics.

[0076] In one implementation, this embodiment reads the previous sampling time and the current sampling time from the mutation data that form the same power difference value, and subtracts the previous sampling time from the current sampling time to obtain the measurement time interval. When sampling normally according to the aforementioned 50-millisecond high-frequency sampling period, the measurement time interval between two adjacent measurement records is 50 milliseconds.

[0077] Based on the time-series correspondence established in step S2, two storage state data points corresponding to the previous sampling time and the current sampling time are read from the mutation monitoring data, and the write completion time of each storage state data point is read. The storage time interval is obtained by subtracting the write completion time of the previous storage state data point from the write completion time of the latter storage state data point.

[0078] This embodiment calculates the difference between the storage time interval and the measurement time interval and takes its absolute value to obtain the timing deviation. Adjacent time intervals are compared; the absolute time difference between the sampling time and the write completion time is not directly calculated. Each timing deviation is associated with the corresponding mutation data and written into the corresponding mutation monitoring record.

[0079] It should be noted that the preset storage timing boundary is set to 50 milliseconds. This preset storage timing boundary is determined by reading storage status data generated over seven consecutive days. The storage time interval is determined based on the write completion time in adjacent write records, and the measurement time interval is determined based on adjacent sampling times in corresponding measurement records. The timing deviation corresponding to each adjacent write record is calculated using the same processing method as in this step. All timing deviations are arranged in ascending order of value, and the 99th percentile is rounded up to an integer multiple of 10 milliseconds, resulting in 50 milliseconds. Therefore, 50 milliseconds is determined as the preset storage timing boundary.

[0080] In this embodiment, the timing deviation is compared with 50 milliseconds one by one. When the timing deviation is not greater than 50 milliseconds, a timing normal flag is written into the corresponding mutation monitoring record; when the timing deviation is greater than 50 milliseconds, a timing abnormal flag is written into the corresponding mutation monitoring record. The timing deviation and the corresponding timing normal flag or timing abnormal flag are collectively determined as the storage timing feature.

[0081] For example, the adjacent sampling times corresponding to a certain mutation data are 10:00:00.050 seconds and 10:00:00.100 seconds, with a measurement time interval of 50 milliseconds. The write completion times in the corresponding two storage state data are 10:00:00.100 seconds and 10:00:00.220 seconds, with a storage time interval of 120 milliseconds. The difference between 120 milliseconds and 50 milliseconds, and the absolute value, yields a timing deviation of 70 milliseconds. If the timing deviation is greater than 50 milliseconds, a timing anomaly marker is written into the corresponding mutation monitoring record, forming the corresponding storage timing feature.

[0082] It is worth noting that the measurement time interval is derived from the sampling time in the mutation data, and the storage time interval is derived from the write completion time in the storage status data corresponding to the mutation data. Both types of time data maintain a corresponding relationship through the mutation monitoring data formed in step S2.

[0083] Specifically, based on the metrological consistency characteristics and the storage time-series characteristics, the mutation monitoring data is used to determine the source of anomalies, resulting in storage anomaly events, including:

[0084] Based on the metrological consistency characteristics, the mutation monitoring data is screened for consistency to obtain abnormal candidate data;

[0085] Based on the storage time-series characteristics, the abnormal candidate data is filtered for time-series anomalies to obtain the storage abnormal data;

[0086] The storage exception event is obtained by marking the storage exception data.

[0087] In one implementation, this embodiment reads the metrological consistency features in the mutation monitoring data one by one, retains the mutation monitoring records whose metrological consistency features contain metrological inconsistency markers, excludes the mutation monitoring records whose metrological consistency features contain metrological consistency markers from the current screening results, and arranges the retained mutation monitoring records according to the sampling time to obtain abnormal candidate data.

[0088] This embodiment further reads the storage time-series features corresponding to the abnormal candidate data. For abnormal candidate data whose storage time-series features include a time-series abnormality marker, the corresponding record is retained and written into the storage abnormal data; for abnormal candidate data whose storage time-series features include a time-series normality marker, it is not written into the storage abnormal data. The storage abnormal data simultaneously has a measurement inconsistency marker and a time-series abnormality marker.

[0089] When marking the stored abnormal data as events, this embodiment reads the time period of each abnormal data entry. When multiple consecutive abnormal data entries belong to the same time period of mutation, the multiple consecutive abnormal data entries are grouped into the same storage abnormal event, and the start and end times of the corresponding mutation time period are used as the time range of the storage abnormal event. When two adjacent abnormal data entries belong to different mutation time periods, they are marked as events separately, resulting in two storage abnormal events.

[0090] For example, if a mutation monitoring record corresponds to a measurement deviation of 0.0083 watt-hours, and the measurement consistency feature includes a measurement inconsistency marker, the mutation monitoring record is written into the anomaly candidate data. If the corresponding time-series deviation is 70 milliseconds, and the storage time-series feature includes a time-series anomaly marker, the anomaly candidate data is further written into the storage anomaly data. If the mutation occurrence period corresponding to the storage anomaly data is from 10:00:00.050 seconds to 10:00:00.100 seconds, the storage anomaly data is event-marked to form a storage anomaly event corresponding to the mutation occurrence period.

[0091] The method for identifying the source of anomalies in the mutation monitoring data based on the metrological consistency characteristics and the storage time-series characteristics also includes:

[0092] Based on the metrological consistency characteristics, the mutation monitoring data are screened for consistency to obtain load candidate data;

[0093] Based on the storage time-series characteristics, the candidate load data is filtered according to time-series status to obtain load change data;

[0094] The load change events are obtained by marking events based on the load change data.

[0095] In one implementation, this embodiment reads the metrological consistency features from each mutation monitoring data entry, retains the mutation monitoring records whose metrological consistency features include a metrological consistency marker, and obtains load candidate data. The metrological deviations corresponding to the load candidate data are all no greater than a preset metrological error boundary.

[0096] The system further reads the stored time-series characteristics corresponding to the load candidate data, writes the load candidate data containing the time-series normal marker into the load change data, and excludes the load candidate data containing the time-series abnormal marker from the load change data. The load change data has both a metering consistency marker and a time-series normal marker.

[0097] When marking the load change data as an event, this embodiment reads the time period of the sudden change to which each load change data belongs, groups the continuous load change data belonging to the same time period of the sudden change into the same load change event, and records the time range of the load change event with the start and end times of the time period of the sudden change.

[0098] For example, a certain sudden change monitoring record corresponds to a theoretical power change of 0.0157 Wh and a cumulative power change of 0.0160 Wh. The measurement deviation between the two power changes is 0.0003 Wh, and the measurement deviation is no greater than 0.006 Wh. A measurement consistency flag is written into the measurement consistency feature, and the sudden change monitoring record is written into the load candidate data. The corresponding measurement time interval is 50 milliseconds, the storage time interval is 56 milliseconds, and the timing deviation is 6 milliseconds, and the timing deviation is no greater than 50 milliseconds. A timing normal flag is written into the storage timing feature, and the load candidate data is written into the load change data. Events are marked according to the corresponding sudden change occurrence time period to obtain the load change event.

[0099] It should be noted that load change events are used to characterize power surges caused by normal load switching during the operation of the electricity meter. As an auxiliary output of the anomaly source identification result, they are used to compare and verify with stored anomaly events to distinguish between real load changes and stored state anomalies, avoid misjudging the two types of events, and write the load change events into the electricity meter operation state anomaly identification result as supplementary information.

[0100] It is worth noting that the anomaly source identification process sequentially filters data based on metering consistency and storage time series characteristics. Mutation monitoring data with inconsistent metering and abnormal storage time series are classified as storage anomaly events, while mutation monitoring data with consistent metering and normal storage time series are classified as load change events. Other combinations of mutation monitoring data retain their original mutation monitoring records and are not marked as storage anomaly events or load change events in this step. Mutation monitoring data not marked as storage anomaly events or load change events are treated as uncertain classification results and retained in the electricity meter operation log for manual review or offline analysis by maintenance personnel.

[0101] For example, Figure 3 This is a schematic diagram for identifying the source of anomalies. The diagram shows the distribution of load change data and storage anomaly data in terms of metering deviation and timing deviation. The metering deviation of load change data is no greater than 0.006 watt-hours and the timing deviation is no greater than 50 milliseconds, while the storage anomaly data exceeds both the metering error boundary and the storage timing boundary. This enables the differentiation and identification of load change events and storage anomaly events.

[0102] In step S5, the abnormal storage events are continuously judged according to their distribution within a preset observation window to obtain an abnormal storage status, and an abnormal energy meter operation status identification result is generated based on the abnormal storage status.

[0103] The storage anomaly status is obtained by continuously judging the distribution of the storage anomaly events within a preset observation window, including:

[0104] Based on the occurrence time of the stored abnormal events, the events of the preset observation window are aggregated to obtain window abnormal events;

[0105] The frequency of abnormal events occurring in the window is obtained by counting the number of times such events occur.

[0106] Based on the frequency of the anomalies and the preset continuous discrimination boundary, a continuous state discrimination is performed to obtain the stored anomaly state.

[0107] In one implementation, the preset observation window is a fixed-length time interval divided on a continuous running time axis. In this embodiment, the preset observation window is set to 24 hours, and adjacent preset observation windows are created sequentially according to continuous time order. Each stored abnormal event is assigned to only one preset observation window.

[0108] This embodiment reads each storage anomaly event generated in step S4. Each storage anomaly event records the start and end times of the corresponding mutation occurrence period, with the start time taken as the occurrence time of the corresponding storage anomaly event. All storage anomalies are arranged from earliest to latest according to their occurrence time, and storage anomalies whose occurrence times fall within the same preset observation window are grouped into the same event set, resulting in window anomaly events. When there are no storage anomalies within a preset observation window, the event count for the corresponding window anomaly event is recorded as 0.

[0109] It should be noted that the 24-hour period is determined through offline calibration. During the offline calibration phase, 30 days of metering and storage status data are continuously collected, and storage anomaly events are generated following the same processing steps S1 to S4. Candidate observation windows of 6 hours, 12 hours, 24 hours, and 48 hours are used respectively to divide the same 30-day data into windows, and the number of storage anomaly events within each candidate observation window is counted.

[0110] During the offline calibration phase, continuous write and readback verification are performed on the storage units simultaneously. For each candidate observation window, the written data and the corresponding readback data are compared for consistency, and the write completion time is recorded. When all written data and readback data in the corresponding window are consistent and the write process does not experience a continuous delay exceeding the normal write cycle, the corresponding window is marked as a normal storage sample. When the written data and readback data in the corresponding window are inconsistent, or when continuous write records experience a continuous delay exceeding the normal write cycle, the corresponding window is marked as an abnormal storage sample. The normal write cycle is the normal cycle for the storage unit to write and measure records to disk one by one according to the high-frequency sampling cycle. In this embodiment, it is the same as the high-frequency sampling cycle, which is 50 milliseconds. The continuous delay refers to the offset of the storage time interval of continuous write records relative to the measurement time interval that is continuously greater than 50 milliseconds. The above offline marking only participates in the calibration of the preset observation window and the preset continuous discrimination boundary, and does not participate in the abnormal source discrimination during the online operation phase.

[0111] For four candidate observation windows—6 hours, 12 hours, 24 hours, and 48 hours—ROC analysis was performed on stored normal samples and stored abnormal samples based on the frequency of abnormal events within the window, and the corresponding area under the ROC curve was calculated. Specifically, different values ​​of the frequency of abnormalities within the window were used as discrimination thresholds, and the true positive rate of correctly identified stored abnormal samples and the false positive rate of misidentified stored normal samples were statistically analyzed. ROC curves were plotted with the false positive rate on the horizontal axis and the true positive rate on the vertical axis, and the area under the curve was calculated using the trapezoidal method. The candidate observation window with the largest area under the ROC curve was determined as the preset observation window; when multiple candidate observation windows had the same area under the ROC curve, the candidate observation window with the shorter window length was selected. In the offline calibration results of this embodiment, the area under the ROC curve corresponding to 24 hours was the largest, therefore, the preset observation window was set to 24 hours.

[0112] This embodiment counts the abnormal events in the window to obtain the number of times the stored abnormal events occur in each preset observation window. Then, the number of occurrences is divided by the number of hours in the corresponding preset observation window to obtain the abnormal frequency. The abnormal frequency is expressed as the number of stored abnormal events occurring per hour.

[0113] It should be noted that the preset persistent discrimination boundary is set to once per hour, and this preset persistent discrimination boundary is determined using the aforementioned offline calibration data. For each stored normal sample and stored abnormal sample formed using a 24-hour preset observation window, the abnormality frequency in the samples is traversed in ascending order, and each abnormality frequency is used as a candidate persistent discrimination boundary. The true positive rate and false positive rate corresponding to each candidate persistent discrimination boundary are calculated, and the Youden index is calculated based on the true positive rate and the false positive rate. The Youden index is equal to the true positive rate minus the false positive rate. The candidate persistent discrimination boundary with the largest Youden index is selected. In this embodiment, the largest Youden index occurs once per hour, therefore the preset persistent discrimination boundary is set to once per hour.

[0114] In this embodiment, the frequency of anomalies corresponding to each preset observation window is compared with once per hour. When the frequency of anomalies is greater than once per hour, the storage anomaly state of the corresponding preset observation window is recorded as a continuous storage anomaly state; when the frequency of anomalies is not greater than once per hour, the storage anomaly state of the corresponding preset observation window is recorded as a non-continuous storage anomaly state.

[0115] For example, 48 storage anomaly events are collected within a 24-hour preset observation window, and the number of occurrences of the storage anomaly events is counted as 48. Dividing 48 by 24 hours yields an anomaly frequency of 2 per hour. If the anomaly frequency is greater than 1 per hour, a continuous storage anomaly state is recorded in the corresponding preset observation window.

[0116] When generating an energy meter operation status anomaly identification result based on the stored abnormal state, this embodiment reads the stored abnormal state corresponding to the current preset observation window. When the stored abnormal state is a continuous stored abnormal state, the start time, end time, abnormal frequency, and continuous stored abnormal state of the corresponding preset observation window are written into the energy meter operation status anomaly identification result; when the stored abnormal state is a non-continuous stored abnormal state, the start time, end time, abnormal frequency, and non-continuous stored abnormal state of the corresponding preset observation window are written into the energy meter operation status anomaly identification result.

[0117] It is worth noting that the objects counted within the preset observation window are the stored anomaly events for which the anomaly source has already been identified in step S4. No new metrological consistency analysis or storage time-series analysis is performed on the mutation monitoring data. The same stored anomaly event is counted only once within a preset observation window. If multiple consecutive stored anomaly data points have already been grouped into the same stored anomaly event in step S4, this step counts them as a single stored anomaly event.

[0118] For example, Figure 4 This is a schematic diagram for determining the persistence of storage anomalies. The diagram shows the changes in the frequency of anomalies within each 24-hour preset observation window. The frequency of anomalies in some preset observation windows continuously exceeds the persistence determination boundary of once per hour, corresponding to a persistent storage anomaly state. The remaining windows correspond to a non-persistent storage anomaly state.

[0119] In summary, this invention acquires metering status data and storage status data generated during the high-frequency sampling process of an electricity meter, identifies abrupt changes in the metering status data, and performs time-series correspondence processing between the abrupt change data and the storage status data to obtain abrupt change monitoring data. By performing metering consistency analysis and storage time-series analysis on the abrupt change monitoring data, metering consistency characteristics and storage time-series characteristics are obtained. Based on these characteristics, the source of anomalies is determined, resulting in storage anomaly events. Finally, based on the distribution of storage anomaly events within a preset observation window, continuous discrimination is performed to generate anomaly identification results for the electricity meter's operating status. This achieves continuous differentiation between electricity meter load abrupt changes and storage status anomalies, and enables the identification of anomalies in the operating status.

[0120] The second embodiment of the present invention provides an abnormal operation status identification system for electricity meters, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the method described above.

[0121] It should be noted that the electricity meter operation status abnormality identification system provided in this embodiment of the invention is used to execute all the process steps of the electricity meter operation status abnormality identification method in the above embodiment. The working principle and beneficial effect of the two are one-to-one, so they will not be described again.

[0122] It should be noted that the system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0123] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention for those skilled in the art.

Claims

1. A method for identifying abnormal operating status of an electricity meter, characterized in that, include: The metering status data generated by the metering unit and the storage status data generated by the storage unit during the high-frequency sampling process of the electricity meter are acquired, and the metering status data is processed in time sequence to obtain metering monitoring data. Based on the measurement and monitoring data, mutations are identified to obtain mutation data. Then, based on the mutation data and the stored state data, time-series correspondence processing is performed to obtain mutation monitoring data. Based on the correspondence between the power data and the cumulative power changes in the corresponding time period in the mutation monitoring data, a measurement consistency analysis is performed to obtain measurement consistency characteristics; Based on the time correspondence between the mutation data and the storage status data in the mutation monitoring data, storage time series analysis is performed to obtain storage time series characteristics. Based on the measurement consistency characteristics and the storage time series characteristics, the abnormal source of the mutation monitoring data is determined to obtain storage abnormal events. Based on the distribution of the stored abnormal events within a preset observation window, continuous discrimination is performed to obtain the stored abnormal state, and an abnormal identification result of the electricity meter operation status is generated based on the stored abnormal state.

2. The method for identifying abnormal operating status of an electricity meter according to claim 1, characterized in that, The step of identifying mutations based on the measurement and monitoring data to obtain mutation data includes: The measurement and monitoring data is divided into windows according to a preset sampling window to obtain window data; The window data is subjected to first-order difference processing to obtain a difference sequence; The differential sequence is subjected to mutation screening based on a preset mutation magnitude threshold to obtain mutation data.

3. The method for identifying abnormal operating status of an electricity meter according to claim 1, characterized in that, The step of performing time-series correspondence processing based on the mutation data and the stored state data to obtain mutation monitoring data includes: The time period of the mutation was determined based on the mutation data; The storage state data is filtered by time range according to the time period of the mutation to obtain the corresponding storage state data; The mutation monitoring data is obtained by performing correlation processing between the mutation data and the corresponding storage state data.

4. The method for identifying abnormal operating status of an electricity meter according to claim 1, characterized in that, The step involves performing a metering consistency analysis based on the correspondence between power data and cumulative power changes in the corresponding time period within the mutation monitoring data to obtain metering consistency characteristics, including: The theoretical change in electrical charge is determined based on the power data in the mutation monitoring data and adjacent sampling times. The cumulative power change is determined based on the cumulative power consumption in the mutation monitoring data. Calculate the measurement deviation between the theoretical change in electricity consumption and the cumulative change in electricity consumption; The measurement consistency characteristics are obtained by dividing the measurement deviation into consistent features with the preset measurement error boundary.

5. The method for identifying abnormal operating status of an electricity meter according to claim 1, characterized in that, The step of performing storage time series analysis based on the time correspondence between the mutation data and the storage state data in the mutation monitoring data to obtain storage time series characteristics includes: The measurement time interval is determined based on adjacent sampling times in the mutation data; The storage time interval is determined based on the adjacent write completion times in the storage state data corresponding to the mutation data; Calculate the timing deviation between the metering time interval and the storage time interval; Based on the timing deviation and the preset storage timing boundary, the timing state is divided to obtain the storage timing characteristics.

6. The method for identifying abnormal operating status of an electricity meter according to claim 1, characterized in that, The step of determining the source of anomalies in the mutation monitoring data based on the metrological consistency characteristics and the storage time-series characteristics to obtain storage anomaly events includes: Based on the metrological consistency characteristics, the mutation monitoring data is screened for consistency to obtain abnormal candidate data; Based on the storage time-series characteristics, the abnormal candidate data is filtered for time-series anomalies to obtain the storage abnormal data; The storage exception event is obtained by marking the storage exception data.

7. The method for identifying abnormal operating status of an electricity meter according to claim 1, characterized in that, The step of determining the source of anomalies in the mutation monitoring data based on the metrological consistency characteristics and the storage time-series characteristics further includes: Based on the metrological consistency characteristics, the mutation monitoring data are screened for consistency to obtain load candidate data; Based on the storage time-series characteristics, the candidate load data is filtered according to time-series status to obtain load change data; The load change events are obtained by marking events based on the load change data.

8. The method for identifying abnormal operating status of an electricity meter according to claim 1, characterized in that, The step of continuously judging the storage anomaly status based on the distribution of the storage anomaly events within a preset observation window includes: Based on the occurrence time of the stored abnormal events, the events of the preset observation window are aggregated to obtain window abnormal events; The frequency of abnormal events occurring in the window is obtained by counting the number of times such events occur. Based on the frequency of the anomalies and the preset continuous discrimination boundary, a continuous state discrimination is performed to obtain the stored anomaly state.

9. A system for identifying abnormal operating status of an electricity meter, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the method according to any one of claims 1 to 8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the program implements the method described in any one of claims 1 to 8.