CN111679112B - Electric energy meter electricity stealing type judging method and device, computer equipment and storage medium - Google Patents

Electric energy meter electricity stealing type judging method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111679112B
CN111679112B CN202010559747.6A CN202010559747A CN111679112B CN 111679112 B CN111679112 B CN 111679112B CN 202010559747 A CN202010559747 A CN 202010559747A CN 111679112 B CN111679112 B CN 111679112B
Authority
CN
China
Prior art keywords
data
value
voltage waveform
sampling data
difference
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010559747.6A
Other languages
Chinese (zh)
Other versions
CN111679112A (en
Inventor
杨光
秦艳
王伟亮
张金朋
潘超
顾林晖
曾仁勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Sunrise Technology Co ltd
Original Assignee
Hangzhou Sunrise Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Sunrise Technology Co ltd filed Critical Hangzhou Sunrise Technology Co ltd
Priority to CN202010559747.6A priority Critical patent/CN111679112B/en
Publication of CN111679112A publication Critical patent/CN111679112A/en
Application granted granted Critical
Publication of CN111679112B publication Critical patent/CN111679112B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R11/00Electromechanical arrangements for measuring time integral of electric power or current, e.g. of consumption
    • G01R11/02Constructional details
    • G01R11/24Arrangements for avoiding or indicating fraudulent use
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/14Indicating direction of current; Indicating polarity of voltage

Abstract

The application relates to a method and a device for judging electricity stealing type of an electric energy meter, computer equipment and a storage medium. The method comprises the following steps: acquiring sampling data of a voltage waveform of at least one complete cycle input to the electric energy meter; judging whether the positive and negative signs of the data except for the zero value in the sampling data are the same; and if the signs of the data except the zero value in the sampled data are the same, the sampled data of the voltage waveform of the at least one complete period is the sampled data of the voltage waveform after the diode interference. The method can judge the type of the electricity stealing interference of the electric energy meter so as to carry out corresponding compensation metering.

Description

Electric energy meter electricity stealing type judging method and device, computer equipment and storage medium
Technical Field
The application relates to the technical field of electric power metering equipment, in particular to a method and a device for judging electricity stealing type of an electric energy meter, computer equipment and a storage medium.
Background
In the process of metering the electric quantity by the electric energy meter, some illegal users interfere the electric energy meter, so that the electric energy meter generates a metering error. Three common electricity stealing interferences (alternating current chopping interference, diode interference and direct current pulse level interference) can cause the distortion of the voltage waveform input into the electric energy meter, cause the change of the voltage sampling value of the metering module of the electric energy meter and influence the accuracy of the electric energy metering of the electric energy meter.
However, the conventional electric energy meter cannot detect whether the voltage waveform input to the electric energy meter is interfered, so that the charging is inconsistent with the actual power utilization, and a great loss is caused to a power supply party.
Disclosure of Invention
In view of the above, it is necessary to provide a method, an apparatus, a computer device and a storage medium for determining an electricity stealing type of an electric energy meter, which can determine an interference type of the electric energy meter.
A method for judging the electricity stealing type of an electric energy meter comprises the following steps:
acquiring sampling data of a voltage waveform of at least one complete cycle input to the electric energy meter;
judging whether the positive and negative signs of other data except for zero values in the sampling data are the same;
and if the signs of the data except the zero value in the sampled data are the same, the sampled data of the voltage waveform of the at least one complete period is the sampled data of the voltage waveform after the diode interference.
In one embodiment, after determining whether the signs of the data other than zero in the sample data are the same, the method includes: if the signs of the data except the zero value in the sampled data are different, acquiring the absolute value of the maximum value in the positive numbers and the absolute value of the minimum value in the negative numbers in the sampled data; calculating the difference ratio of the absolute value of the maximum value in the positive numbers and the absolute value of the minimum value in the negative numbers; judging whether the difference ratio is larger than a first preset ratio or not; and if the difference ratio is larger than a first preset ratio, the sampling data of the voltage waveform of at least one complete period is the sampling data of the voltage waveform after the interference of the direct current pulse level.
In one embodiment, after determining whether signs of data other than zero in the sampled data are the same, the method includes: if the positive and negative signs of other data except for zero values in the sampled data are different, acquiring a peak value in the sampled data; calculating the difference value of every two adjacent data in the sampling data, and acquiring the maximum difference value in the difference values; calculating a ratio of the maximum difference to the peak value; and if the ratio is larger than a second preset ratio, the sampling data of the voltage waveform of at least one complete period is the sampling data of the voltage waveform after the alternating current chopping interference.
In one embodiment, after calculating the difference between every two adjacent data in the sampled data and obtaining the largest difference in the differences, the method includes: judging whether the sign of the previous adjacent data or the next adjacent data of the sampling data corresponding to the maximum difference value is opposite to that of the previous adjacent data or the next adjacent data; and if the sign of the previous adjacent data or the next adjacent data of the sampling data corresponding to the maximum difference value is not opposite to that of the sampling data, the sampling data of the voltage waveform of at least one complete period is the sampling data of the voltage waveform after the alternating-current chopping interference.
In one embodiment, after obtaining a peak value in the sampled data if the signs of the data other than zero in the sampled data are different, the method includes: acquiring sampling data which is closest to a zero point in the sampling data; calculating the ratio of the difference value of the previous adjacent data and the next adjacent data of the sampling data closest to the zero point to the peak value; and if the ratio of the difference value of the previous adjacent data and the next adjacent data of the sampling data closest to the zero point to the peak value is smaller than a third preset proportion, the sampling data of the voltage waveform of the at least one complete period is the sampling data of the voltage waveform after the alternating-current chopping interference.
In one embodiment, the first predetermined proportion is 30%.
In one embodiment, the second predetermined proportion is 20%.
An electric energy meter electricity stealing type judging device, comprising:
the method comprises the following steps that a data acquisition module is adopted and used for acquiring sampling data of voltage waveforms of at least one complete period of an input electric energy meter;
the first judgment module is used for judging whether the positive and negative signs of other data except for zero values in the sampling data are the same;
And the diode interference determining module is used for determining that the sampled data of the voltage waveform of the at least one complete period is the sampled data of the voltage waveform after the diode interference if the signs of the data except for zero in the sampled data are the same.
A computer device comprising a memory storing a computer program and a processor implementing the following steps when the computer program is executed:
acquiring sampling data of a voltage waveform of at least one complete cycle input to the electric energy meter;
judging whether the positive and negative signs of other data except for zero values in the sampling data are the same;
and if the positive and negative signs of the data except for the zero value in the sampling data are the same, the sampling data of the voltage waveform of the at least one complete period is the sampling data of the voltage waveform after the diode interference.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring sampling data of a voltage waveform of at least one complete cycle input to the electric energy meter;
judging whether the positive and negative signs of the data except for the zero value in the sampling data are the same;
And if the positive and negative signs of the data except for the zero value in the sampling data are the same, the sampling data of the voltage waveform of the at least one complete period is the sampling data of the voltage waveform after the diode interference.
According to the method and the device for judging the electricity stealing type of the electric energy meter, the computer equipment and the storage medium, the positive and negative signs are judged by collecting the sampling data of the voltage waveform of at least one complete period input into the electric energy meter, the fact that the sampling data are interfered by the diodes is judged when the positive and negative signs are the same, whether the electric energy meter is interfered by the diodes can be quickly judged, therefore, compensation measurement of the diode interference of the electric energy meter is carried out, and the loss of a power supply party is avoided.
Drawings
FIG. 1 is a diagram illustrating an application environment of a method for determining a power stealing type of an electric energy meter according to an embodiment;
FIG. 2 is a schematic flow chart illustrating a method for determining an electricity stealing type of an electric energy meter according to an embodiment;
FIG. 3 is a schematic diagram of the wiring of the diode disturb in one embodiment;
FIG. 4 is a block diagram of an apparatus for determining electricity stealing type of an electric energy meter according to an embodiment;
FIG. 5 is a diagram of the internal structure of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
The electric energy meter electricity stealing type judging method can be applied to the application environment shown in figure 1. Wherein the power meter 102 communicates with the server 104 via a network. The server 104 acquires from the power meter 102 sample data of a voltage waveform of at least one complete cycle input to the power meter 102; judging whether the positive and negative signs of other data except for zero values in the sampling data are the same; and if the signs of the data except the zero value in the sampled data are the same, the sampled data of the voltage waveform of the at least one complete period is the sampled data of the voltage waveform after the diode interference. The server 104 may be implemented as a stand-alone server or a server cluster composed of a plurality of servers.
In one embodiment, as shown in fig. 2, a method for determining the electricity stealing type of an electric energy meter is provided, which is described by taking the electric energy meter in fig. 1 as an example, and includes the following steps:
and S110, acquiring sampling data of the voltage waveform of at least one complete period input into the electric energy meter.
The electric energy meter is used for measuring electric energy, the electric energy meter collects voltage waveform data in the circuit according to a fixed time interval and records the voltage waveform data as sampling data, and the electric energy meter records the voltage waveform according to the sampling data to calculate the electric energy. The undisturbed voltage waveform is a sine waveform, and sampling data of one period or sampling data of a plurality of periods of the voltage waveform can be acquired in the embodiment.
Specifically, the voltage waveform has a cycle of 360 ° and 64 samples of data are acquired per cycle of the voltage waveform, each sample being 5.625 ° apart.
For example, an HT502X chip is built in the electric energy meter, an ADC waveform Buffer function with frequency sampling of 128 × 16bit (64 sampling data are collected for each period of voltage waveform, and sampling data of voltage waveforms collected for two periods) built in the HT502X chip is turned on, ADC sampling data of a voltage channel are set and recorded, a data Buffer mechanism is started, data updating is turned on to complete interrupt enabling, and after the interrupt is completed, ADC sampling data is updated, and the ADC sampling data of voltage waveforms obtained for 2 complete periods is transferred and stored by reading an R _ Buffer register (address ACH).
And S120, judging whether the signs of the data except for the zero value in the sampling data are the same.
Each sampling data is one value in the voltage waveform, the sampling data which is not interfered is distributed in a sine mode in a coordinate axis with the ordinate being the voltage original value and the abscissa being the frequency, and the sampling data can be larger than zero, can be smaller than zero or equal to zero. And the other data except the zero value in the sampling data is the sampling data with the zero value removed.
And S130, if the signs of the data except the zero value in the sampling data are the same, the sampling data of the voltage waveform of the at least one complete period is the sampling data of the voltage waveform after the diode interference.
The positive and negative signs of other data except zero in the sampled data are the same, which means that all the sampled data are positioned in the same direction of the coordinate axis and accord with the characteristics after the diode interference, so that the sampled data can be judged to be the sampled data of the voltage waveform after the diode interference.
According to the electric energy meter electricity stealing type judging method, the positive and negative signs are judged by collecting the sampling data of the voltage waveform of at least one complete period input into the electric energy meter, the sampling data is judged to be interfered by the diode when the positive and negative signs are the same, whether the electric energy meter is interfered by the diode can be quickly judged, therefore, compensation metering of diode interference of the electric energy meter is carried out, and the loss of a power supply party is avoided.
In one embodiment, after step S130, the method includes: and when the data except the zero value in the sampling data are all smaller than zero, judging that the sampling data are the sampling data when the diode is reversely connected to the position of the zero line input end of the electric energy meter. As shown in fig. 3, 1S is an electric energy meter live wire input interface, 2S is an electric energy meter zero wire input interface, 2L is a zero wire output interface, and 1L is a live wire output interface, and as shown in fig. 3A, the diode is reversely connected to the electric energy meter zero wire input end, and at this time, the data except for the zero value in the corresponding sampling data are all smaller than zero.
In one embodiment, after step S130, the method further comprises: and when the data except the zero value in the sampling data is larger than zero, judging that the sampling data is the sampling data when the diode is connected to the position of the zero line input end of the electric energy meter. As shown in fig. 3, 1S is a live wire input interface of the electric energy meter, 2S is a zero wire input interface of the electric energy meter, 2L is a zero wire output interface, 1L is a live wire output interface, and as shown in fig. 3B, the diode is connected to a zero wire input end of the electric energy meter, and at this time, data except for a zero value in the corresponding sampling data are all larger than zero.
In one embodiment, after step S120, the method includes: if the signs of the data except the zero value in the sampled data are different, acquiring the absolute value of the maximum value in the positive numbers and the absolute value of the minimum value in the negative numbers in the sampled data; calculating the difference ratio of the absolute value of the maximum value in the positive numbers and the absolute value of the minimum value in the negative numbers; judging whether the difference ratio is larger than a first preset ratio or not; and if the difference ratio is larger than a first preset ratio, the sampling data of the voltage waveform of at least one complete period is the sampling data of the voltage waveform after the interference of the direct current pulse level.
The sampling data has positive numbers and negative numbers, the position of the wave crest of the voltage waveform is generally the maximum value of the positive numbers, the absolute value of the maximum value of the positive numbers in the sampling data is equal to the maximum value of the positive numbers in the sampling data, and the position of the wave trough of the voltage waveform is generally the minimum value of the negative numbers. The difference value ratio is (greater value-smaller value)/greater value, wherein the greater value is the greater value of the absolute value of the maximum value of the positive numbers in the sampled data and the absolute value of the minimum value of the negative numbers in the sampled data, and the smaller value is the smaller value of the absolute value of the maximum value of the positive numbers in the sampled data and the absolute value of the minimum value of the negative numbers in the sampled data. Wherein, the first predetermined proportion may be 30%.
For example, the maximum value of the positive numbers in the sampled data is 420, the absolute value is 420 after the absolute value is taken, the minimum value of the negative numbers in the sampled data is-20, the absolute value is 20 after the absolute value is taken, the difference ratio is (420-20)/420 ≈ 95%, the difference ratio is greater than a first preset ratio of 30%, and the sampled data of the voltage waveform of the at least one complete period is the sampled data of the voltage waveform after the dc pulse level interference.
In this embodiment, whether the difference ratio is greater than a first preset ratio is determined by calculating the difference ratio, and after the difference ratio is greater than the first preset ratio, it is determined that the sampled data is sampled data after dc pulse level interference, so that compensation measurement of dc pulse level interference is performed on the electric energy meter, and loss of a power supplier is avoided.
In one embodiment, after determining whether signs of data other than zero in the sampled data are the same, the method includes: if the positive and negative signs of other data except for zero values in the sampled data are different, acquiring a peak value in the sampled data; calculating the difference value of every two adjacent data in the sampling data, and acquiring the maximum difference value in the difference values; calculating the ratio of the maximum difference to the peak value; and if the ratio is larger than a second preset ratio, the sampling data of the voltage waveform of at least one complete period is the sampling data of the voltage waveform after the alternating current chopping interference.
Where the peak value in the sample data is the maximum value in the sample data, and the difference value between every two adjacent sample data in the sample data is the absolute value of the difference value between every two adjacent sample data, for example, two adjacent sample data a1 and a2, and the difference value between the two adjacent sample data is | a1-a2 |. Because there are a plurality of sampling data, the difference value of every two adjacent data obtained by calculation is also a plurality of, and the difference value is a non-negative number. Wherein the second preset proportion is determined according to the sampling frequency, and the second preset proportion may be 20%, for example, one period voltage waveform is 360 °, each period voltage waveform is 64 sampling data, each sampling data is 5.625 ° (360 °/64 °), sin (5.625 °) 0.09802 is obtained by substituting the sine function, that is, the percentage of the maximum difference between two adjacent buffered data to the peak value is 9.802%, combining the result of the actual device test, and leaving a decision margin space of 50%, and the second preset proportion is 20%.
In one embodiment, after calculating the difference between every two adjacent data in the sampled data and obtaining the largest difference in the differences, the method includes: judging whether the sign of the previous adjacent data or the next adjacent data of the sampling data corresponding to the maximum difference value is opposite to that of the previous adjacent data or the next adjacent data; and if the sign of the previous adjacent data or the next adjacent data of the sampling data corresponding to the maximum difference value is not opposite to that of the sampling data, the sampling data of the voltage waveform of at least one complete period is the sampling data of the voltage waveform after the alternating-current chopping interference.
The maximum difference corresponds to a pair of adjacent collected data, and is recorded as M1 and M2, M1 and M2 are behind M2 according to the time sequence that M1 is in front of M3854, whether the front adjacent data of M1 is opposite in sign to M1 or whether the back adjacent value data of M2 is opposite in sign to M2 is judged, if the front adjacent data of M1 is opposite in sign to M1 or the back adjacent value data of M2 is opposite in sign to M2, it means that M1 or M2 is near the zero point, and if neither M1 nor M2 is near the zero point, the sampled data of the voltage waveform of at least one complete period is the sampled data of the voltage waveform after the alternating current chopping interference.
In this embodiment, by determining whether the difference between adjacent data of the collected data near the zero point is the maximum difference, and when it is determined that the collected data corresponding to the maximum difference is not near the zero point, it is determined that the sampled data is the sampled data after the ac chopping interference, the electric energy meter is subjected to the supplementary measurement of the ac chopping interference, and the loss of the power supplier is avoided.
In one embodiment, after obtaining a peak in the sampled data if the signs of the data other than zero in the sampled data are not the same, the method includes: acquiring sampling data which is closest to a zero point in the sampling data; calculating the ratio of the difference value of the previous adjacent data and the next adjacent data of the sampling data closest to the zero point to the peak value; and if the ratio of the difference value of the previous adjacent data and the next adjacent data of the sampling data closest to the zero point to the peak value is smaller than a third preset proportion, the sampling data of the voltage waveform of the at least one complete period is the sampling data of the voltage waveform after the alternating-current chopping interference.
The sampling data closest to the zero point is the sampling data near the zero point, and the sign of the previous sampling data or the next sampling data of the sampling data is opposite to that of the previous sampling data or the next sampling data. For example, the near-zero-crossing point sample data is M0, the previous adjacent data of M0 is V1, the next adjacent data of M0 is V2, the difference between the previous adjacent data V1 and the next adjacent value data V2 of the sample data M0 closest to the zero point is V1-V2, the peak value is H, the ratio of the difference between the previous adjacent data and the next adjacent value data of the sample data closest to the zero point to the peak value is (V1-V2)/H, the third preset ratio may be 5%, and if (V1-V2)/H is less than 5%, the sample data of the voltage waveform of the at least one complete cycle is the sample data of the voltage waveform after the ac chopping interference.
For example, the voltage waveform of one period is 360 °, 64 sampling data are provided for each period, each sampling data is separated by 5.625 ° (360 °/64), sin (5.625 °) 0.09802 is obtained by substituting the sine function, namely, the maximum difference of two adjacent buffered data accounts for 9.802% of the peak value, and the third preset proportion is set to be 5% in combination with the result of the actual device test and the decision margin space of 50% is reserved.
It should be understood that, although the steps in the flowchart of fig. 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 2 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
In one embodiment, as shown in fig. 4, there is provided an electricity stealing type determining device for an electric energy meter, including: a data acquisition module 210, a first determination module 220, and a diode interference determination module 230 are employed, wherein:
the data acquisition module 210 is adapted to acquire sampled data of at least one complete cycle of the voltage waveform input to the power meter.
A first determining module 220, configured to determine whether signs of data other than zero in the sampled data are the same.
A diode interference determining module 230, configured to determine the sampled data of the voltage waveform of the at least one complete cycle as the sampled data of the voltage waveform after the diode interference if the signs of the data other than the zero value in the sampled data are the same.
In one embodiment, the electric energy meter electricity stealing type determining device further includes: the absolute value acquisition module is used for acquiring the absolute value of the maximum value in the positive numbers and the absolute value of the minimum value in the negative numbers in the sampled data if the positive and negative signs of other data except for the zero value in the sampled data are different; the difference ratio calculation module is used for calculating the difference ratio of the absolute value of the maximum value in the positive numbers and the absolute value of the minimum value in the negative numbers; the second judgment module is used for judging whether the difference ratio is larger than a first preset ratio or not; and the direct current pulse level interference determining module is used for determining the sampling data of the voltage waveform of the at least one complete period as the sampling data of the voltage waveform after the direct current pulse level interference if the difference ratio is greater than a first preset ratio.
In one embodiment, the device for judging the electricity stealing type of the electric energy meter further comprises: the peak value acquisition module is used for acquiring a peak value in the sampled data if the positive and negative signs of other data except for zero values in the sampled data are different; the difference value calculation module is used for calculating the difference value of every two adjacent data in the sampling data and acquiring the maximum difference value in the difference values; a ratio calculation module for calculating a ratio of the maximum difference to the peak value; and the alternating current chopping interference determining module is used for determining the sampling data of the voltage waveform of the at least one complete period as the sampling data of the voltage waveform after the alternating current chopping interference if the ratio is greater than a second preset ratio.
In one embodiment, the device for judging the electricity stealing type of the electric energy meter further comprises: a third judging module, configured to judge whether a previous adjacent data or a subsequent adjacent data of the sampling data corresponding to the maximum difference value is opposite to a sign of the previous adjacent data or the subsequent adjacent data; the alternating current chopping interference determining module is further configured to determine that the sampling data of the voltage waveform of the at least one complete cycle is sampling data of the voltage waveform after the alternating current chopping interference if the previous adjacent data or the next adjacent data of the sampling data corresponding to the maximum difference value is not opposite in sign to the previous adjacent data or the next adjacent data.
In one embodiment, the electric energy meter electricity stealing type determining device further includes: the zero crossing point acquisition module is used for acquiring the sampling data which is closest to the zero point in the sampling data; the ratio calculation module is further configured to calculate a ratio of a difference value between previous adjacent data and next adjacent data of the sampling data closest to the zero point to the peak value; the alternating current chopping interference determining module is further configured to determine that the sampling data of the voltage waveform of the at least one complete period is sampling data of the voltage waveform after the alternating current chopping interference if a ratio of a difference value between previous adjacent data and next adjacent data of the sampling data closest to the zero point to the peak value is smaller than a third preset proportion.
In one embodiment, the first predetermined proportion is 30%. The second predetermined proportion is 20%. The third predetermined proportion is 5%.
For specific limitations of the electric energy meter electricity stealing type judging device, reference may be made to the above limitations of the electric energy meter electricity stealing type judging method, which will not be described herein again. All or part of each module in the electric energy meter electricity stealing type judging device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store the sampled data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to realize a method for judging the electricity stealing type of the electric energy meter.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring sampling data of a voltage waveform of at least one complete cycle input to the electric energy meter;
judging whether the positive and negative signs of other data except for zero values in the sampling data are the same;
and if the signs of the data except the zero value in the sampled data are the same, the sampled data of the voltage waveform of the at least one complete period is the sampled data of the voltage waveform after the diode interference.
In one embodiment, the processor, when executing the computer program, further performs the steps of: if the signs of the data except the zero value in the sampled data are different, acquiring the absolute value of the maximum value in the positive numbers and the absolute value of the minimum value in the negative numbers in the sampled data; calculating the difference ratio of the absolute value of the maximum value in the positive numbers and the absolute value of the minimum value in the negative numbers; judging whether the difference ratio is larger than a first preset ratio or not; and if the difference ratio is larger than a first preset ratio, the sampling data of the voltage waveform of at least one complete period is the sampling data of the voltage waveform after the interference of the direct current pulse level.
In one embodiment, the processor, when executing the computer program, further performs the steps of: if the positive and negative signs of other data except for zero values in the sampled data are different, acquiring a peak value in the sampled data; calculating the difference value of every two adjacent data in the sampling data, and acquiring the maximum difference value in the difference values; calculating a ratio of the maximum difference to the peak value; and if the ratio is larger than a second preset ratio, the sampling data of the voltage waveform of at least one complete period is the sampling data of the voltage waveform after the alternating current chopping interference.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring sampling data of a voltage waveform of at least one complete cycle input to the electric energy meter;
judging whether the positive and negative signs of the data except for the zero value in the sampling data are the same;
and if the signs of the data except the zero value in the sampled data are the same, the sampled data of the voltage waveform of the at least one complete period is the sampled data of the voltage waveform after the diode interference.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the signs of the data except for the zero value in the sampling data are different, acquiring the absolute value of the maximum value in the positive numbers and the absolute value of the minimum value in the negative numbers in the sampling data; calculating the ratio of the difference between the absolute value of the maximum value in the positive numbers and the absolute value of the minimum value in the negative numbers; judging whether the difference ratio is larger than a first preset ratio or not; and if the difference ratio is larger than a first preset ratio, the sampling data of the voltage waveform of at least one complete period is the sampling data of the voltage waveform after the interference of the direct current pulse level.
In one embodiment, the computer program when executed by the processor further performs the steps of:
if the positive and negative signs of other data except for zero values in the sampled data are different, acquiring a peak value in the sampled data; calculating the difference value of every two adjacent data in the sampling data, and acquiring the largest difference value in the difference values; calculating a ratio of the maximum difference to the peak value; and if the ratio is larger than a second preset ratio, the sampling data of the voltage waveform of at least one complete period is the sampling data of the voltage waveform after the alternating current chopping interference.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is specific and detailed, but not to be understood as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, and these are all within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (9)

1. A method for judging the electricity stealing type of an electric energy meter is characterized by comprising the following steps:
acquiring sampling data of a voltage waveform of at least one complete cycle input to the electric energy meter;
judging whether the positive and negative signs of the data except for the zero value in the sampling data are the same;
if the signs of the data except for zero in the sampled data are the same, the sampled data of the voltage waveform of the at least one complete period is the sampled data of the voltage waveform after the diode interference;
if the positive and negative signs of other data except for zero values in the sampled data are different, acquiring a peak value in the sampled data;
calculating the difference value of every two adjacent data in the sampling data, and acquiring the largest difference value in the difference values;
Calculating the ratio of the maximum difference to the peak value;
and if the ratio is larger than a second preset ratio, the sampling data of the voltage waveform of at least one complete period is the sampling data of the voltage waveform after the alternating current chopping interference.
2. The method of claim 1, after determining whether the signs of the data other than zero in the sample data are the same, comprising:
if the signs of the data except the zero value in the sampled data are different, acquiring the absolute value of the maximum value in the positive numbers and the absolute value of the minimum value in the negative numbers in the sampled data;
calculating the difference ratio of the absolute value of the maximum value in the positive numbers and the absolute value of the minimum value in the negative numbers; wherein the difference value ratio is (greater value-smaller value)/greater value, where greater value is greater value of the absolute value of the maximum value of the positive numbers in the sampled data and the absolute value of the minimum value of the negative numbers in the sampled data, and smaller value is smaller value of the absolute value of the maximum value of the positive numbers in the sampled data and the absolute value of the minimum value of the negative numbers in the sampled data;
judging whether the difference ratio is larger than a first preset ratio or not;
And if the ratio of the difference values is larger than a first preset ratio, the sampling data of the voltage waveform of at least one complete period is the sampling data of the voltage waveform after the interference of the direct current pulse level.
3. The method of claim 1, after calculating a difference between every two adjacent data in the sampled data and obtaining a largest difference of the differences, comprising:
judging whether the sign of the previous adjacent data or the next adjacent data of the sampling data corresponding to the maximum difference value is opposite to that of the sampling data;
and if the previous adjacent data or the next adjacent data of the sampling data corresponding to the maximum difference value is not opposite to the sign of the maximum difference value, the sampling data of the voltage waveform of at least one complete period is the sampling data of the voltage waveform after the alternating current chopping interference.
4. The method of claim 1, wherein after obtaining a peak in the sampled data if the signs of data other than zero in the sampled data are not the same, comprising:
acquiring sampling data which is closest to a zero point in the sampling data;
calculating the ratio of the difference value of the previous adjacent data and the next adjacent data of the sampling data closest to the zero point to the peak value;
And if the ratio of the difference value of the previous adjacent data and the next adjacent data of the sampling data closest to the zero point to the peak value is smaller than a third preset proportion, the sampling data of the voltage waveform of the at least one complete period is the sampling data of the voltage waveform after the alternating-current chopping interference.
5. The method according to claim 2, characterized in that said first preset proportion is 30%.
6. The method according to claim 1, characterized in that said second preset proportion is 20%.
7. An electric energy meter electricity stealing type judging device, characterized in that the device comprises:
the method comprises the following steps that a data acquisition module is adopted and used for acquiring sampling data of voltage waveforms of at least one complete period of an input electric energy meter;
the first judgment module is used for judging whether the positive and negative signs of other data except for zero values in the sampling data are the same;
the diode interference determining module is used for determining whether the sampled data of the voltage waveform of the at least one complete period is the sampled data of the voltage waveform after the diode interference if the positive and negative signs of the data except for zero values in the sampled data are the same;
the peak value acquisition module is used for acquiring a peak value in the sampled data if the positive and negative signs of other data except for zero values in the sampled data are different;
The difference value calculation module is used for calculating the difference value of every two adjacent data in the sampling data and acquiring the maximum difference value in the difference values;
a ratio calculation module for calculating a ratio of the maximum difference to the peak value;
and the alternating current chopping interference determining module is used for determining the sampling data of the voltage waveform of the at least one complete period as the sampling data of the voltage waveform after the alternating current chopping interference if the ratio is greater than a second preset ratio.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN202010559747.6A 2020-06-18 2020-06-18 Electric energy meter electricity stealing type judging method and device, computer equipment and storage medium Active CN111679112B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010559747.6A CN111679112B (en) 2020-06-18 2020-06-18 Electric energy meter electricity stealing type judging method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010559747.6A CN111679112B (en) 2020-06-18 2020-06-18 Electric energy meter electricity stealing type judging method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111679112A CN111679112A (en) 2020-09-18
CN111679112B true CN111679112B (en) 2022-06-28

Family

ID=72436500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010559747.6A Active CN111679112B (en) 2020-06-18 2020-06-18 Electric energy meter electricity stealing type judging method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111679112B (en)

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
PL1960932T3 (en) * 2005-11-15 2016-03-31 Quadlogic Controls Corp Apparatus and methods for multi-channel metering
CN201138354Y (en) * 2007-11-20 2008-10-22 上海贝岭股份有限公司 Voltage comparison construction in electric energy metering chip
CN105044416B (en) * 2015-07-15 2018-02-23 深圳市华沃表计科技有限公司 It is a kind of that stealing whether method detected using electrical energy meter electricity corrugating
CN106771447A (en) * 2016-11-28 2017-05-31 国家电网公司 A kind of electric energy metrical is opposed electricity-stealing monitoring device and method
CN107039970B (en) * 2017-03-13 2018-06-19 广东电网有限责任公司信息中心 Public affairs become taiwan area line loss per unit abnormal cause detection method and system
CN107219386A (en) * 2017-08-01 2017-09-29 深圳供电局有限公司 A kind of walkie electricity filching detection terminal and stealing detection method
CN108896805B (en) * 2018-06-01 2020-09-18 杭州海兴电力科技股份有限公司 Chopped wave signal verification method and system and electric energy detection device
CN108802458B (en) * 2018-07-23 2020-12-08 宁波三星医疗电气股份有限公司 Detection method for voltage chopping electricity stealing event
CN109490620B (en) * 2018-10-23 2020-10-27 宁波三星智能电气有限公司 Voltage chopping-based electricity stealing event detection method
CN110514885A (en) * 2019-09-02 2019-11-29 广东工业大学 A kind of strong magnetic power theft monitoring method, apparatus and relevant device

Also Published As

Publication number Publication date
CN111679112A (en) 2020-09-18

Similar Documents

Publication Publication Date Title
CN110532187B (en) HDFS throughput performance testing method, system, terminal and storage medium
CN109782207A (en) Zero passage detection calibration method, device, electronic equipment and storage medium
CN112946482A (en) Battery voltage estimation method, device, equipment and storage medium based on model
CN112485640B (en) Method, device, equipment and storage medium for detecting built-in capacitor
CN111679112B (en) Electric energy meter electricity stealing type judging method and device, computer equipment and storage medium
CN112557905B (en) Battery pack, data processing method thereof, computer device, medium, and vehicle
CN115219872B (en) Thyristor voltage detection circuit and method thereof
CN111913039A (en) Background harmonic voltage calculation method and device of alternating current filter
CN114121137B (en) Nand Flash particle power consumption testing system and method
CN115754812A (en) Method and device for detecting internal short circuit fault of stator winding of variable-speed pumped storage unit
CN115222018A (en) Non-invasive load decomposition method and device
CN114487552A (en) Voltage measurement method, device and equipment based on micro electric field sensing chip
CN114136530A (en) Method and device for determining air pressure difference between inlet and outlet of converter
CN114355212A (en) Battery self-discharge detection method and device, computer equipment and storage medium
Kuwalek Trace of flicker sources by using non-parametric statistical analysis of voltage changes
CN117192251A (en) Aging performance testing method, device and equipment for super capacitor and storage medium
CN113504438B (en) Method and device for detecting insulation resistance of column head cabinet and column head cabinet
CN116544999B (en) Method, device, equipment and medium for determining installed capacity of energy storage system
CN114545120B (en) Method, device, equipment and medium for testing radiation anti-interference degree of server
CN114325429B (en) Self-adaptive high-precision electricity metering method and system for lithium battery energy storage and storage medium
CN110888045B (en) Jitter determination method and apparatus, storage medium, and electronic device
CN116125297A (en) Simulation method and device for battery circulation working condition
CN112667707A (en) Method and device for processing data of table, computer equipment and storage medium
CN117935874A (en) Memory refresh parameter determination, memory refresh method, device, medium and equipment
CN113761737A (en) Power data processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant