Sliding window-based alternation anomaly diagnosis method for wattmeter
The sliding window algorithm is used to filter dates and perform weighted calculations to solve the problem of incorrect judgment during power meter rotation, improve the accuracy and efficiency of abnormal diagnosis, and reduce the risk of electricity bill losses.
Patent Information
- Application Number
- CN202410621852.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-10-08
AI Technical Summary
During the power meter rotation process, existing technology can easily lead to misjudgments, and the accuracy of system and on-site verification is low, resulting in low efficiency in checking abnormal power meter rotations and the risk of national electricity bill losses.
The power meter rotation abnormality diagnosis method based on sliding window is adopted. By obtaining historical data information, the sliding window positioning algorithm is used to select the base date, and the multi-dimensional data of the power meter is weighted to exclude data that does not meet the calculation and reduce the volatility. If the voltage is too high, determine whether there is an abnormality in the power meter rotation.
It improves the hit accuracy of abnormal power meter rotation, reduces misjudgments, improves the efficiency of power meter rotation, and reduces the risk of electricity bill losses.
Smart Images

Figure CN118747336A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric power equipment, and in particular to a sliding window-based electric power meter rotation abnormality diagnosis method. Background Art
[0002] With the annual increase in the number of user electricity meters, grassroots power supply stations are facing huge pressure to replace meters. Due to the different skill levels of metering and installation personnel, abnormal wiring is difficult to avoid when replacing meters. Based on the user meters and customer data of the data center, combined with the load characteristics of the old and new meters before and after the replacement, and the multi-dimensional data algorithm of the comprehensive new energy power generation situation, although it can hit most of the abnormal situations, there is a chance of false hits due to the influence of some users not using electricity before and after the replacement, holidays, long-term non-exit of capacitors, changes in wiring methods, changes in capacity, photovoltaic and other power generation, short current shorting pieces, and similar characteristics of user non-power data, resulting in low accuracy of system and on-site verification, low efficiency of abnormal verification of electricity meter rotation, and the risk of national electricity fee loss. Summary of the invention
[0003] The purpose of the present invention is to overcome the shortcomings of the prior art that, during the rotation process of electric meter, it is easy to make wrong judgments about abnormal situations, resulting in low accuracy of system and on-site verification and low efficiency of electric meter rotation abnormality verification, and to provide an electric meter rotation abnormality diagnosis method based on a sliding window.
[0004] The purpose of the present invention is achieved through the following technical solutions: The method for diagnosing abnormality of power meter rotation based on sliding window includes the following steps: Step 1, obtaining historical data information of the power meter; Step 2, selecting a reference date using a sliding window positioning algorithm based on historical data information of the power meter; Step 3: Perform weighted calculation on the multi-dimensional data of the power meter according to the base date, and determine whether there is any abnormality in the rotation of the power meter based on the calculation result.
[0005] The purpose of this scheme using the sliding window algorithm to filter dates is to reduce the problem of excessive volatility caused by a large proportion of small electricity, small power, and reactive power. The data that does not meet the calculation requirements is filtered out. The date before and after the meter replacement is used as a benchmark to find the base date for calculating the data, thereby eliminating the impact of zero division or large reactive power in various types of volatility.
[0006] Preferably, in step 2, the reference date is selected from 31 days before to 16 days after the electricity meter rotation date, and the width of the sliding window is three days. The selection range is manually customized, and the main purpose of the selection range and the width of the sliding window adopted in this solution is to prevent excessive calculation.
[0007] As a preferred method, the reference date is selected based on the user's attributes combined with the active power P, and 96 measurement point data are selected every day to obtain the active power P: If the user's attribute is a non-PV user, the active power P has at least five measurement point data and the power factor of these at least five measurement point data is greater than or equal to 0.8. At the same time, if the absolute value of the active power P exceeds 1% of the operating capacity for more than three consecutive days, these days are included in the range of the base date; this solution is designed to compare and calculate various types of fluctuations in the actual measurement data in the time window before and after the rotation of the power meter to prevent the occurrence of division by zero, thereby avoiding the wrong judgment of abnormal status caused by the situation of no electricity before and after the meter is replaced.
[0008] If the user is a photovoltaic user, the sum of the active power P of the photovoltaic meter + the active power P of the electricity meter has at least five measuring point data and the power factor of these at least five measuring point data is greater than or equal to 0.8. At the same time, if the absolute value of the active power P exceeds 1% of the operating capacity for more than three consecutive days, these days are included in the range of the base date.
[0009] Preferably, the power factor is calculated by the following formula: In the formula, P is active power, which represents the part of electrical energy that actually does work, and Q is reactive power, which represents the part of energy exchanged between the power supply and the load but not consumed; It represents the apparent power S2, which represents the total power capacity that the power supply can provide. The reason why the power factor does not use the value directly collected by the meter is to avoid the problem of the meter 645 protocol voltage, current, power and power factor calculation being out of sync.
[0010] Preferably, the reference date does not include statutory holidays, the first month of the lunar calendar, and the 20th to 30th day of the twelfth month of the lunar calendar. This solution is designed to eliminate the impact of holidays and the Spring Festival on corporate electricity consumption.
[0011] Preferably, the multi-dimensional data in step three include power fluctuation rate before and after meter replacement, load fluctuation rate, total current loss after meter replacement, current imbalance rate average fluctuation rate, voltage loss after meter replacement, voltage imbalance rate average fluctuation rate, apparent power ratio S1 / S2 after meter replacement, daily line loss increase value and daily line loss fluctuation rate and special window positioning weight.
[0012] Preferably, if the selected reference date exists before and after the electricity meter rotation, the sliding window positioning algorithm returns the window date range after the electricity meter rotation, and performs weighted calculation on the multi-dimensional data based on the load data in the window; if the window positioning is unsuccessful, the selected reference date only exists before or after the electricity meter rotation, or there is no reference date, then the multi-dimensional data value only includes the mean volatility of the voltage imbalance rate, the voltage drop after meter replacement, and the special window positioning weight.
[0013] As a preference, if the selected reference date exists before the electricity meter is rotated but does not exist after the electricity meter is rotated, a special risk value judgment process is performed to distinguish between the situation where the user has no electricity at all and the current shorting piece is completely shorted, specifically: If, within the time period T+1-T+3 after the power meter rotation, there are less than 15 maximum active power P absolute values 1 greater than 0.1% of the operating capacity within three days, it is characterized as a complete power outage for the user, and the special window positioning weight is reduced; If within the time period T+1-T+3 after the meter is replaced, there are 15 maximum active power P absolute values greater than 0.1% of the operating capacity within three days, it is identified as a suspected current short-circuit risk and the special window positioning weight is increased.
[0014] Preferably, if the waveform calculated by the waveform fitting algorithm (such as the dynamic time warping DTW algorithm) in the time period T+1-T+3 after the meter is replaced is similar to the waveform before the meter is replaced, or the maximum load time overlap degree before and after the meter is replaced is relatively high, it is defined as a highly suspected current slice short risk, and the special window positioning weight continues to be increased.
[0015] The beneficial effect of the present invention is that the present invention utilizes a sliding window algorithm to perform weighted calculation on multi-dimensional data, eliminating the influence of no electricity before and after meter replacement, long-term non-exit of capacitors, photovoltaic and other power generation, short current shorting pieces, and similar characteristics of users not using electricity, and the accuracy of the abnormal conditions of meter rotation after optimization is greatly improved, which facilitates accurate on-site inspection by relevant personnel and improves the efficiency of electricity meter rotation. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION
[0017] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.
[0018] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the present application.
[0019] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions. The abnormal diagnosis method of power meter rotation based on sliding window, such as Figure 1 As shown, the following steps are included: Step 1, obtaining historical data information of the power meter; Step 2, selecting a reference date using a sliding window positioning algorithm based on historical data information of the power meter; Step 3: Perform weighted calculation on the multi-dimensional data of the power meter according to the base date, and determine whether there is any abnormality in the rotation of the power meter based on the calculation result.
[0020] The purpose of this scheme using the sliding window algorithm to filter dates is to reduce the problem of excessive volatility caused by small electricity, small power, and a large proportion of reactive power due to factors such as non-start-up, and to filter out data that do not meet the calculation requirements. The date of electricity meter rotation is used as a benchmark to filter dates before and after the meter replacement to find the benchmark date for calculating the data, thereby eliminating the impact of zero division or large reactive power in various types of volatility.
[0021] In step 2, the reference date is selected from 31 days before to 16 days after the electricity meter rotation date, and the width of the sliding window is three days. The selection range is manually customized, and the main purpose of the selection range and the width of the sliding window used in this solution is to prevent excessive calculation.
[0022] The method for selecting the base date is to select it based on the user's attributes and the active power P. 96 measurement point data are selected every day to obtain the active power P: If the user's attribute is a non-PV user, then the apparent power S1 has at least five measuring point data and the power factor of these at least five measuring point data is greater than or equal to 0.8, and if the absolute value of the active power P exceeds 1% of the operating capacity for more than three consecutive days, these days are included in the range of the base date; this solution is designed to compare and calculate various types of fluctuations in the actual measurement data in the time window before and after the rotation of the power meter to prevent the occurrence of division by zero, thereby avoiding the wrong judgment of abnormal status caused by the situation of no electricity before and after the meter is replaced.
[0023] If the user is a photovoltaic user, the sum of the active power P of the photovoltaic meter + the active power P of the electricity meter has at least five measuring point data and the power factor of these at least five measuring point data is greater than or equal to 0.8. At the same time, if the absolute value of the active power P exceeds 1% of the operating capacity for more than three consecutive days, these days are included in the range of the base date.
[0024] Preferably, the power factor is calculated by the following formula: In the formula, P is active power, which represents the part of electrical energy that actually does work, and Q is reactive power, which represents the part of energy exchanged between the power supply and the load but not consumed; It represents the apparent power S2, which represents the total power capacity that the power supply can provide. The reason why the power factor does not use the value directly collected by the meter is to avoid the problem of the meter 645 protocol voltage, current, power and power factor calculation being out of sync.
[0025] The selection range of the benchmark date does not include statutory holidays, the first month of the lunar calendar, and the 20th to 30th day of the twelfth month of the lunar calendar. This scheme is designed to eliminate the impact of holidays and the Spring Festival on corporate electricity consumption.
[0026] The multi-dimensional data in step three include the power fluctuation rate before and after meter replacement, load fluctuation rate, total current loss after meter replacement, current imbalance rate average fluctuation rate, voltage loss after meter replacement, voltage imbalance rate average fluctuation rate, apparent power ratio S1 / S2 after meter replacement, daily line loss increase value and daily line loss fluctuation rate and special window positioning weight.
[0027] If the selected reference date exists before and after the electricity meter rotation, the sliding window positioning algorithm returns the window date range after the electricity meter rotation, and performs weighted calculation on the multi-dimensional data based on the load data in the window; if the window positioning is unsuccessful, the selected reference date only exists before or after the electricity meter rotation, or there is no reference date, then the multi-dimensional data value only includes the mean volatility of the voltage imbalance rate, the voltage loss after meter replacement, and the special window positioning situation.
[0028] If the selected base date exists before the electricity meter rotation, but does not exist after the electricity meter rotation, special risk value processing is performed to distinguish between the situation where the user has no electricity at all and the situation where the current shorting piece is completely shorted, specifically: If, within the time period T+1-T+3 after the power meter rotation, there are less than 15 maximum active power P absolute values 1 greater than 0.1% of the operating capacity within three days, it is characterized as a complete power outage for the user, and the special window positioning weight is reduced; If within the time period T+1-T+3 after the meter is replaced, there are 15 maximum active power P absolute values greater than 0.1% of the operating capacity within three days, it is identified as a suspected current short-circuit risk and the special window positioning weight is increased.
[0029] If the waveform calculated by the waveform fitting algorithm (such as dynamic time warping DTW) in the time period T+1-T+3 after the meter is replaced is similar to the waveform before the meter is replaced, or the maximum load time overlaps to a high degree before and after the meter is replaced, it is defined as a highly suspected current slice short risk, and the special window positioning weight will continue to be increased.
[0030] In this embodiment, the processing of multi-dimensional data is also optimized, as follows: 1. Optimization of power generation households: Link the power generation households’ electricity and load calculations and superimpose the power generation of photovoltaics, etc., to prevent power generation from affecting various fluctuations.
[0031] 2. Optimization of changes in metering wiring methods before and after meter replacement (three-phase three-wire and three-phase four-wire): First, the wiring method corresponding to the meter asset table is used as the actual meter wiring method. When comparing the changes in wiring methods, the current fluctuation rate of phase B is not considered, and the weight of the AC phase fluctuation rate is increased.
[0032] 3. Optimization of the problem of misalignment of current, voltage, power, and power factor due to the 645 protocol of the meter: Since the current, voltage, power, and power factor are calculated in sequence in the protocol, there will be a situation where not all the information is updated when the measurement information is sent. In the power factor calculation, the P and Q power factor calculation method is used to avoid this problem. In the S1 / S2 value calculation, the larger and smaller values are removed and the average value in the middle is retained to avoid this problem (such as taking 5 points of S1 / S2, removing the maximum and minimum values, and calculating according to the average value of the three middle points).
[0033] 4. Optimization of the excessive S1 / S2 ratio caused by reactive power: When the capacitor relay is damaged, resulting in long-term reactive power reverse transmission, the sliding window hit condition is used for optimization with a power factor greater than 0.8.
[0034] 5. Optimization of excessive fluctuations in power and load caused by capacity changes before and after meter replacement: optimize the power and load by converting the capacity ratio before and after meter replacement * power after meter replacement / load.
[0035] The specific weight optimization of multidimensional data is shown in the following table: Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation methods of the present application.
[0036] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.
[0037] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. Power meter rotation abnormality diagnosis method based on sliding window, Its characteristics are: The following steps are involved: Step 1, obtaining historical data information of the power meter; Step 2, selecting a reference date using a sliding window positioning algorithm based on historical data information of the power meter; Step 3: Perform weighted calculation on the multi-dimensional data of the power meter according to the base date, and determine whether there is any abnormality in the rotation of the power meter based on the calculation result.
2. The power meter rotation abnormality diagnosis method based on sliding window according to claim 1, Its characteristics are: In the step 2, the reference date is selected from 31 days before to 16 days after the electricity meter rotation day, and the width of the sliding window is three days.
3. The power meter rotation abnormality diagnosis method based on sliding window according to claim 2, Its characteristics are: The method for selecting the base date is to select it based on the user's attributes and the active power P. 96 measurement point data are selected every day to obtain the active power P: If the user attribute is a non-PV user, the active power P has at least five measurement point data and the power factor of the at least five measurement point data is greater than or equal to 0.8, and the absolute value of the active power P exceeds 1% of the operating capacity for more than three consecutive days, these days are included in the scope of the base date; If the user is a photovoltaic user, the sum of the active power P of the photovoltaic meter + the active power P of the electricity meter has at least five measuring point data and the power factor of these at least five measuring point data is greater than or equal to 0.
8. At the same time, if the absolute value of the active power P exceeds 1% of the operating capacity for more than three consecutive days, these days are included in the range of the base date.
4. The method for diagnosing abnormality of electric meter rotation based on sliding window according to claim 3, Its characteristics are: The power factor is calculated by the following formula: In the formula, P is active power, which represents the part of electrical energy that actually does work, and Q is reactive power, which represents the part of energy exchanged between the power supply and the load but not consumed; Indicates the apparent power S2, which represents the total power capacity that the power supply can provide.
5. The power meter rotation abnormality diagnosis method based on sliding window according to claim 3, Its characteristics are: The selection range of the reference date does not include statutory holidays, the first lunar month, and the 20th to 30th day of the twelfth lunar month.
6. The method for diagnosing abnormality of electric meter rotation based on sliding window according to claim 3, Its characteristics are: The multi-dimensional data in step three include the power fluctuation rate before and after meter replacement, load fluctuation rate, total current loss after meter replacement, current imbalance rate average fluctuation rate, voltage loss after meter replacement, voltage imbalance rate average fluctuation rate, apparent power ratio S1 / S2 after meter replacement, daily line loss increase and daily line loss fluctuation rate.
7. The method for diagnosing abnormality of electric meter rotation based on sliding window according to claim 6, Its characteristics are: If the selected reference date exists before and after the power meter rotation, the sliding window positioning algorithm returns the window date range after the power meter rotation, and performs weighted calculation on the multi-dimensional data based on the load data in the window; If window positioning is unsuccessful, the selected reference date only exists before or after the electricity meter rotation, or if there is no reference date, the multi-dimensional data value only includes the mean volatility of the voltage imbalance rate, the voltage loss after meter replacement, and the special window positioning situation.
8. The method for diagnosing abnormality of electric meter rotation based on sliding window according to claim 6, Its characteristics are: If the selected base date exists before the electricity meter rotation, but does not exist after the electricity meter rotation, special risk value processing is performed to distinguish between the situation where the user has no electricity at all and the situation where the current shorting piece is completely shorted, specifically: If, within the time period T+1-T+3 after the power meter rotation, there are less than 15 maximum active power P absolute values 1 greater than 0.1% of the operating capacity within three days, it is characterized as a complete power outage for the user, and the special window positioning weight is reduced; If within the time period T+1-T+3 after the meter is replaced, there are 15 maximum active power P absolute values greater than 0.1% of the operating capacity within three days, it is identified as a suspected current short-circuit risk and the special window positioning weight is increased.
9. The method for diagnosing abnormality of electric meter rotation based on sliding window according to claim 8, Its characteristics are: If the waveform calculated by the waveform fitting algorithm during the period T+1-T+3 after the meter is replaced is similar to the waveform before the meter is replaced, or the maximum load time before and after the meter is replaced has a high degree of overlap, it is defined as a highly suspected current slice short risk, and the special window positioning weight will continue to be increased.
Citation Information
Patent Citations
Electric meter replacement wiring error judgment method based on electric quantity fluctuation abnormity
CN107390160A
Non-invasive load monitoring intelligent electric meter and electric quantity decomposition method
CN111753968A
Sliding window-based high-frequency acquisition abnormity resistant electric energy meter accurate positioning method
CN113484818A
Sliding window type electricity sale quantity prediction method based on time sequence
CN114549095A
Method and system for calculating follow-up and back electric quantity of digital electric meter during wrong wiring
CN117150191A
