CN110927656B - Electric energy meter error measuring device and control method thereof - Google Patents

Electric energy meter error measuring device and control method thereof Download PDF

Info

Publication number
CN110927656B
CN110927656B CN201911293584.5A CN201911293584A CN110927656B CN 110927656 B CN110927656 B CN 110927656B CN 201911293584 A CN201911293584 A CN 201911293584A CN 110927656 B CN110927656 B CN 110927656B
Authority
CN
China
Prior art keywords
electric energy
energy meter
pulse
pictures
picture
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
CN201911293584.5A
Other languages
Chinese (zh)
Other versions
CN110927656A (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.)
Shenzhen Power Supply Bureau Co Ltd
Original Assignee
Shenzhen Power Supply Bureau 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 Shenzhen Power Supply Bureau Co Ltd filed Critical Shenzhen Power Supply Bureau Co Ltd
Priority to CN201911293584.5A priority Critical patent/CN110927656B/en
Publication of CN110927656A publication Critical patent/CN110927656A/en
Application granted granted Critical
Publication of CN110927656B publication Critical patent/CN110927656B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/04Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current

Abstract

The invention relates to an electric energy meter error measuring device and a control method thereof. The control method of the electric energy meter error measuring device can obtain the voltage, the current and the phase position collected by the electric energy meter at intervals and calculate to obtain the electric power; meanwhile, the control method can also obtain the pulse duration of the electric energy meter, and calculate the electric energy detection result in the pulse duration according to the interval time, the electric power and the pulse duration. And comparing the electric energy detection result with the electric energy accumulation result of the electric energy meter in the pulse duration to measure the error of the electric energy meter.

Description

Electric energy meter error measuring device and control method thereof
Technical Field
The invention relates to the technology of error measurement of power equipment, in particular to an error measuring device of an electric energy meter and a control method thereof.
Background
An electric energy meter is an instrument for measuring electric energy, and is also called a watt-hour meter. Electric energy meters are commonly used to sense the power used by household electrical circuits.
The applicant found in the course of implementing the conventional techniques: after the electric energy meter is used for a period of time, certain errors exist, and the traditional technology lacks a device and a method for measuring the errors of the electric energy meter, so that the errors of the electric energy meter are difficult to measure.
Disclosure of Invention
In view of the above, it is necessary to provide an error measuring apparatus for an electric energy meter and a control method thereof, which solve the problem that it is difficult to measure the error of the electric energy meter in the conventional technology.
A control method of an electric energy meter error measuring device comprises the following steps:
acquiring voltage U, current I and phase psi acquired by the electric energy meter at intervals t, and calculating electric power P according to the voltage U, the current I and the phase psi;
acquiring the pulse duration T of the electric energy meter;
calculating the electric energy detection result W of the electric energy meter error measuring device in the pulse duration T according to the interval time T, the electric power P and the pulse duration T 1
Acquiring an electric energy accumulation result W of the electric energy meter in the pulse duration T 2 (ii) a And according to the electric energy detection result W 1 And the electric energy accumulation result W 2 And calculating the error of the electric energy meter.
In one embodiment, the calculating the electric power P according to the voltage U, the current I and the phase Ψ includes:
the electric power P is calculated from P = UI cos Ψ.
In one embodiment, the obtaining the pulse duration T of the electric energy meter includes:
and acquiring a pulse image of the electric energy meter, and acquiring the pulse duration T of the electric energy meter according to the pulse image.
In one embodiment, the acquiring a pulse image of the electric energy meter includes:
and opening a video collector of the electric energy meter error measuring device, and collecting a pulse image of the electric energy meter, wherein the pulse image comprises a plurality of complete pulse periods.
In one embodiment, the obtaining the pulse duration T of the electric energy meter according to the pulse image includes:
processing the pulse image to decompose the pulse image into a plurality of frames of pictures;
selecting a picture group to be tested according to the brightness of each picture in the plurality of pictures, wherein the picture group to be tested comprises and only comprises the plurality of complete pulse periods;
and acquiring the time difference between the first frame picture and the last frame picture of the group of pictures to be detected to obtain the pulse duration T.
In one embodiment, before selecting the group of pictures to be tested according to the brightness of each of the plurality of frames of pictures, the method further includes:
and filtering the plurality of frames of pictures by using mathematical morphology to remove picture noise.
In one embodiment, the selecting a group of pictures to be tested according to the brightness of each of the plurality of frames of pictures includes:
acquiring the gray scale corresponding to the brightness of each frame of picture, and calculating the gray scale difference value between two adjacent frames of pictures;
judging the magnitude relation between the gray difference value and a first preset value, and if the gray difference value is larger than the first preset value, marking the picture with higher gray value in the two adjacent frames of pictures as a pulse output picture;
and selecting all pictures between the two pulse output pictures and a second pulse output picture in the two pulse output pictures as a picture group to be detected.
In one embodiment, the electric energy detection result W of the electric energy meter error measuring device in the pulse duration T is calculated according to the interval time T, the electric power P and the pulse duration T 1 The method comprises the following steps:
calculating the electric energy detection value W in each interval time t 1n
According to W 1 =∑W 1n Calculating the electric energy detection result W 1
In one embodiment, the calculation is performed to obtain the detected value W of the electric energy in each interval time t 1n Comprises that
According to W 1n = Pt calculating electric energy detection value W in each interval time t 1n
In one embodiment, the electric energy accumulation result W of the electric energy meter in the pulse duration T is obtained 2 The method comprises the following steps:
acquiring the number N of pulses of the electric energy meter in the pulse duration T;
according to the pulse number N, calculating an electric energy accumulation result W in the pulse number N 2
According to the control method of the electric energy meter error measuring device, the voltage, the current and the phase collected by the electric energy meter can be obtained at intervals and the electric power can be obtained through calculation; meanwhile, the control method can also obtain the pulse duration of the electric energy meter, and calculate the electric energy detection result in the pulse duration according to the interval time, the electric power and the pulse duration. And comparing the electric energy detection result with the electric energy accumulation result of the electric energy meter in the pulse duration to measure the error of the electric energy meter.
An electric energy meter error measuring device comprising:
the detection device is used for acquiring voltage U, current I and phase psi acquired by the electric energy meter at intervals t and calculating electric power P according to the voltage U, the current I and the phase psi;
the calculating device is used for acquiring the pulse duration T of the electric energy meter; and is used for calculating the electric energy detection result W of the electric energy meter error measuring device in the pulse duration T according to the interval time T, the electric power P and the pulse duration T 1 (ii) a The calculating device is also used for acquiring the electric energy accumulation result W of the electric energy meter in the pulse duration T 2 (ii) a And according to the electric energy detection result W 1 And the electric energy accumulation result W 2 And calculating the error of the electric energy meter.
The electric energy meter error measuring device comprises a detecting device and a calculating device. The electric energy meter error measuring device can obtain the voltage, the current and the phase position collected by the electric energy meter at intervals and calculate to obtain electric power; meanwhile, the pulse duration of the electric energy meter can be obtained, and the electric energy detection result in the pulse duration can be calculated according to the interval time, the electric power and the pulse duration. And comparing the electric energy detection result with the electric energy accumulation result of the electric energy meter in the pulse duration to measure the error of the electric energy meter.
Drawings
FIG. 1 is a schematic structural diagram of an error measurement device of an electric energy meter according to an embodiment of the present disclosure;
FIG. 2 is a schematic circuit diagram of a detecting device according to an embodiment of the present application;
FIG. 3 is a schematic diagram illustrating steps of a control method of an error measurement device of an electric energy meter according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating the steps S200 of the control method according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating a step S200 of a control method according to another embodiment of the present application;
FIG. 6 is a diagram illustrating the steps of the control method in step S230 according to an embodiment of the present application;
fig. 7 is a schematic diagram illustrating the control method step S400 according to an embodiment of the present application.
Wherein, the meanings represented by the reference numerals are as follows:
10. an electric energy meter error measuring device;
100. a detection device;
110. a sampling circuit;
112. a first port;
114. a second port;
120. a first processor;
130. a first communicator;
140. an amplifying circuit;
150. a filter circuit;
200. a computing device;
210. a video collector;
220. a second processor;
230. a second communicator.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein.
The ordinal numbers used herein for the components, such as "first," "second," etc., are used merely to distinguish between the objects described, and do not have any sequential or technical meaning. The term "connected" and "coupled" as used herein includes both direct and indirect connections (couplings), unless otherwise specified. In the description of the present application, it is to be understood that the terms "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like are used in the orientations and positional relationships indicated in the drawings, which are based on the orientations and positional relationships indicated in the drawings, and are used for convenience of description and simplicity of description, but do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present application.
In this application, unless expressly stated or limited otherwise, a first feature is "on" or "under" a second feature such that the first and second features are in direct contact, or the first and second features are in indirect contact via an intermediary. Also, a first feature "on," "above," and "over" a second feature may be directly on or obliquely above the second feature, or simply mean that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
The application provides an electric energy meter error measuring device and a control method thereof, which are used for measuring errors generated in the working process of an electric energy meter so as to calibrate the electric energy meter. In this application, the connection between two electronic devices refers to an electrical connection.
As shown in fig. 1, the power meter error measuring device 10 of the present application includes a detecting device 100 and a computing device 200 communicatively connected to the detecting device 100.
Specifically, the detection apparatus 100 includes a sampling circuit 110, a first processor 120, and a first communicator 130.
The sampling circuit 110 is used for being connected with an electric energy meter, so that the voltage, the current and the phase collected by the electric energy meter can be obtained. In other words, the input terminal of the sampling circuit 110 may be connected to the input terminal of the electric energy meter, so that when the electric energy meter is in operation, the voltage, current and phase data collected by the electric energy meter can be detected by the detection device 100 at the same time.
The first processor 120 is connected to the sampling device, and can be used to obtain the voltage, current and phase collected by the sampling circuit 110, and perform the calculation of the electric power according to the voltage, current and phase. Note that the electric power here refers to the result of settlement of electric power, and is a numerical value with units.
The first communicator 130 is connected to the first processor 120 to transfer the electric power to the first communicator 130 when the first processor 120 calculates the electric power. The first communicator 130 may perform conversion of an electric signal into a wireless signal, thereby performing wireless communication transmission, that is, converting electric power into a wireless signal and transmitting it.
Computing device 200 includes a video collector 210, a second processor 220, and a second communicator 230.
The video collector 210 is configured to collect a pulse image of the electric energy meter. Generally, a light emitting diode is provided on an electric energy meter. During the operation of the electric energy meter, the light emitting diode can emit light from dark to bright, and the cycle is repeated. The process of the LED electroluminescence reciprocating cycle represents the pulse image of the electric energy meter. In this embodiment, the computing device 200 may collect the cyclic light emitting process of the light emitting diode through the video collector 210, so as to achieve the purpose of collecting the pulse image of the electric energy meter.
The second communicator 230 is communicatively coupled to the first communicator 130 and may obtain the electric power transmitted by the first communicator 130. The second communicator 230 may perform conversion of a wireless signal into an electric signal to perform wireless communication transmission with the first communicator 130.
The second processor 220 is connected to the second communicator 230 to convert the electric power into an electric signal and transmit the electric signal to the second processor 220 after the second communicator 230 obtains the electric power. Second processor 220 is also coupled to video grabber 210 so that pulse images grabbed by video grabber 210 may be acquired. After the second processor 220 obtains the pulse image, the pulse image is processed to obtain the pulse duration of the electric energy meter working in a certain period. Based on the pulse duration and the electric power, the second processor 220 calculates the electric energy detection result within the pulse duration.
The electric energy detection result refers to the electric energy consumption calculated by the electric energy meter error measuring device 10 in the pulse duration. And comparing the electric energy detection result with an electric energy accumulation result represented by the electric energy meter to obtain the error of the electric energy meter. The electric energy accumulation result of the electric energy meter refers to the electric energy consumption indicated by the electric energy meter within the pulse duration.
More specifically, when the electric energy meter error measuring device 10 of the present application is in operation, the input terminal of the sampling circuit 110 may be connected to the junction of the electric energy meter and the household circuit, so as to detect the voltage, the current and the phase collected by the electric energy meter. After the first processor 120 calculates the electric power according to the voltage, the current, and the phase, the electric power may be wirelessly transmitted to the second communicator 230 through the first communicator 130. The second communicator 230 obtains the electric power and then transfers the electric power to the second processor 220. Meanwhile, the video collector 210 may collect a pulse image of the electric energy meter and transmit the pulse image to the second processor 220. The second processor 220 processes the pulse image to obtain a pulse duration included in the pulse image.
Within the pulse duration, the second processor 220 calculates the electric energy detection result, and compares the electric energy detection result with the electric energy accumulation result indicated by the electric energy meter, so as to obtain the electric energy meter error. The calculation method of the power detection result will be described in detail in the control method of the power meter error measurement apparatus 10 described below, and will not be described herein again.
In one embodiment, the sampling circuit 110 may be a transformer. The transformers herein include a voltage transformer and a current transformer, thereby detecting voltage, current and phase. The output of the sampling circuit 110 may have a first port 112 and a second port 114 as shown in fig. 2.
Specifically, when the sampling circuit 110 is a transformer, the second side of the transformer is the output end of the sampling circuit 110. At this time, the output of the sampling circuit 110 has a first port 112 and a second port 114. The first port 112 may be connected to a first processor 120; the second port 114 may be connected to ground GND.
Further, as shown in fig. 2, the sampling circuit 110 may further include a resistor R1.
Specifically, the resistor R1 is connected between the first port 112 and the second port 114. In other words, one end of the resistor R1 is connected to the first port 112, and the other end of the resistor R1 is connected to the second port 114.
In one embodiment, as shown in fig. 2, an amplifying circuit 140 is further connected between the sampling circuit 110 and the first processor 120.
Specifically, the method circuit is used for performing linear amplification on the sampling result of the sampling circuit 110, that is, performing a method on the voltage, the current and the phase obtained by the sampling circuit 110, so as to improve the calculation accuracy of the first processor 120.
The amplifying circuit 140 may include an operational amplifier A1, a resistor R2, and a resistor R3. The operational amplifier A1 has a non-inverting input terminal, an inverting input terminal and an output terminal. In the present embodiment, the non-inverting input terminal of the operational amplifier A1 is connected to the ground GND; the output end of the sampling circuit 110 is connected with the inverting input end of the operational amplifier A1; the output of the operational amplifier A1 is connected to the first processor 120.
The resistor R2 is connected between the inverting input terminal of the operational amplifier A1 and the sampling circuit 110. In other words, one end of the resistor R2 is connected to the inverting input terminal of the operational amplifier A1, and the other end of the resistor R2 is connected to the output terminal of the sampling circuit 110.
The resistor R3 is connected between the inverting input terminal of the operational amplifier A1 and the output terminal of the operational amplifier A1. In other words, between one end of the resistor R3 and the inverting input terminal of the operational amplifier A1; the other end of the resistor R3 is connected to the output terminal of the operational amplifier A1.
The operational amplifier A1 can be powered by double power supplies, namely, the power supply input end of the operational amplifier A1 is connected with a positive-voltage power supply, and the power supply output end of the operational amplifier A1 can be connected with a negative-voltage power supply. In this embodiment, the operational amplifier A1 may be powered by a positive voltage supply of +5V and a negative voltage supply of-5V.
In one embodiment, a filter circuit 150 is further connected between the sampling circuit 110 and the first processor 120.
Specifically, the filter circuit 150 is configured to filter the output electrical signal of the sampling circuit 110, so as to isolate a dc electrical signal from the electrical signals output by the sampling circuit 110 to the first processor 120, so as to output only an ac electrical signal.
More specifically, the filter circuit 150 may include a capacitor C1 and a resistor R4. The capacitor C1 is connected between the sampling circuit 110 and the first processor 120. In other words, one plate of the capacitor C1 is connected to the output terminal of the sampling circuit 110; the other plate of the capacitor C1 is connected to the first processor 120.
The resistor R4 is connected between the ground GND and the other plate of the capacitor C1. In other words, one end of the resistor R4 is connected to the ground GND, and the other end of the resistor R4 is connected between the other plate of the capacitor C1 and the first processor 120.
In one embodiment, the first communicator 130 and the second communicator 230 may be bluetooth communicators.
Specifically, the first communicator 130 and the second communicator 230 may be bluetooth communicators, so as to perform wireless information transmission by using the bluetooth communication principle, which is a conventional technical means in the art and will not be described in detail.
The energy meter error measuring device 10 of the present application is described in detail with reference to fig. 1 and 2 from a specific embodiment.
The electric energy meter error measuring device 10 comprises a detection device 100 and a calculation device 200. The detection apparatus 100 includes a sampling circuit 110, an amplifying circuit 140, a filtering circuit 150, a first processor 120, and a first communicator 130, which are connected in sequence. The computing device 200 may be a cell phone or a palm top computer, etc. having a video collector 210 with a second communicator 230 for data transmission with the first communicator 130.
The input end of the sampling circuit 110 is connected to the junction of the electric energy meter and the household circuit, so that the voltage, the current and the phase collected by the sampling circuit 110 are the same as those collected by the electric energy meter. The output end of the sampling circuit 110 has a first port 112 and a second port 114, and the second port 114 is connected to the ground GND; the first port 112 is connected to the amplification circuit 140.
The amplifying circuit 140 is used to linearly amplify the output electrical signal of the sampling circuit 110. The output of the amplifying circuit 140 is connected to the filter circuit 150.
The filter circuit 150 is used for dc filtering the amplified electric signal, and the filter circuit 150 has a capacitor C1 so that it can output only an ac electric signal but cannot output a dc electric signal. An output of the filter circuit 150 is connected to the first processor 120.
The first processor 120 may be a single chip with an analog-to-digital converter. The analog-to-digital converter is used for converting the electric signal into a digital signal. That is, the first processor 120 obtains the voltage, the current, and the phase, converts them into digital signals, and performs calculation, thereby calculating electric power. After the first processor 120 calculates the electric power, it is transmitted to the computing device 200 through the first communicator 130.
The computing device 200 may be a smart phone or smart palm power. While computing device 200 receives the electrical power via second communicator 230, it captures pulsed images of the operation of the power meter via video grabber 210. After acquiring the pulse image, the second processor 220 of the computing device 200 may process the pulse image and select a period of time, referred to as a pulse duration, therefrom. At this time, the second processor 220 can calculate the electric energy detection result within the pulse duration according to the pulse duration and the electric power.
And comparing the electric energy detection result in the pulse duration with the electric energy accumulation result of the electric energy meter in the pulse duration to obtain the electric energy meter error.
The control method of the error measuring device 10 for the electric energy meter will be described below.
A control method of an electric energy meter error measuring device 10 is used for controlling the electric energy meter error measuring device 10. As shown in fig. 3, the method for controlling the error measuring device 10 of the electric energy meter includes:
and S100, acquiring voltage, current and phase collected by the electric energy meter at intervals, and calculating electric power according to the voltage, the current and the phase.
The sampling circuit 110 performs acquisition of the voltage U, the current I, and the phase Ψ at intervals. Here, the time between two adjacent acquisitions is referred to as the interval time t; and acquiring the voltage U, the current I and the phase psi input into the electric energy meter at the moment in real time in each acquisition, namely acquiring the voltage U, the current I and the phase psi acquired by the electric energy meter.
After the voltage U, the current I, and the phase Ψ are collected, the electric power P is calculated based on the collected voltage U, current I, and phase Ψ. In calculating the electric power P, the electric power P may be calculated separately for each collected voltage U, current I, and phase Ψ.
And S200, acquiring the pulse duration of the electric energy meter.
Acquiring the pulse duration T of the electric energy meter; the pulse duration T should be a duration of time.
And S300, calculating the electric energy detection result of the electric energy meter error measuring device 10 in the pulse duration according to the interval time, the electric power and the pulse duration.
Calculating according to the interval time T in the step S100, the electric power P calculated in the step S100 and the pulse duration T acquired in the step S200, thereby calculating the electric energy detection result W in the pulse duration T 1
It is to be noted that the above-mentioned electric power P includes a plurality of powers respectively calculated each time the voltage U, the current I and the phase Ψ are collected. Therefore, the result W of the power detection is performed 1 When calculating, canAn electric energy detection value W in a single interval for each calculated electric power P and an interval time t thereof 1n Calculating, and detecting the electric energy W in all the single intervals 1n Accumulating to obtain the electric energy detection result W of the electric energy meter error measuring device 10 in the pulse duration T 1
In other embodiments, the average value of the plurality of powers calculated respectively may be obtained first, and then the electric energy detection result W may be performed by using the average value and the pulse duration T 1 The calculation of (2) is not described in detail.
S400, acquiring an electric energy accumulation result of the electric energy meter in the pulse duration; and calculating the error of the electric energy meter according to the electric energy detection result and the electric energy accumulation result.
Calculating to obtain the electric energy detection result W of the electric energy meter error measuring device 10 in the pulse duration T 1 Then, obtaining the electric energy accumulation result W of the electric energy meter in the pulse duration 2 And then the error of the electric energy meter can be calculated according to the two errors. The error of the electric energy meter is (W) 2 -W 1 )/T。
More specifically, the control method of the electric energy meter error measuring device 10 of the present application can acquire the voltage U, the current I and the phase Ψ at intervals t; and calculates the electric power P based on the voltage U, the current I, and the phase Ψ acquired at each time. Then, the control method obtains the pulse duration T of the electric energy meter, and calculates the electric energy detection result W in the whole pulse duration T according to the electric power P and the interval time T in the pulse duration T 1 . Detecting the electric energy result W 1 And the accumulated result W of electric energy 2 And comparing to obtain the error of the electric energy meter.
In one embodiment, the calculating of the electric power according to the voltage, the current and the phase in step S100 includes:
the electric power P is calculated from P = UI cos Ψ.
Specifically, after the voltage U, the current I, and the phase Ψ are acquired, the electric power P corresponding to each acquisition can be calculated according to P = UI cos Ψ.
In one embodiment, step S200 specifically includes: and acquiring a pulse image of the electric energy meter, and acquiring the pulse duration T of the electric energy meter according to the pulse image.
As shown in fig. 4, the obtaining of the pulse image of the electric energy meter may specifically be:
and S210, opening the video collector 210 of the electric energy meter error measuring device 10, and collecting a pulse image of the electric energy meter, wherein the pulse image comprises a plurality of complete pulse cycles.
Specifically, the pulse image of the electric energy meter is collected by the video collector 210. The pulse pattern comprises a number of complete pulse periods. Several herein refer to one or more integers; the pulse period refers to a complete cycle from off to on of the light emitting diode of the electric energy meter. Generally, the electric energy meter performs one and only one active pulse output in one pulse period.
As shown in fig. 4, obtaining the pulse duration T of the electric energy meter according to the pulse image may specifically be:
and S220, processing the pulse image to decompose the pulse image into a plurality of frame pictures.
In step S210, a pulse image of the electric energy meter has been acquired. Generally, a video image is obtained by continuously playing 20 to 30 pictures in one second. Thus, the impulse image may be processed by the second processor 220 of the computing device 200 to break the impulse image down into several frames of pictures.
S230, selecting a group of pictures to be tested according to the brightness of each picture in the plurality of pictures, wherein the group of pictures to be tested comprises and only comprises a plurality of complete pulse periods.
After the pulse image is decomposed into a plurality of frames of pictures, the group of pictures to be detected can be selected according to the pictures in the pulse image. When selecting the group of pictures to be tested, the selection is based on the brightness of the light emitting diode in each frame of picture. The selected group of pictures to be tested should include and only include a plurality of complete pulse cycles.
More specifically, in the above description, it is known that a pulse image includes several complete pulse periods, and the pulse image is decomposed into several frame pictures. In this step, the group of pictures to be tested can be selected from the plurality of frames of pictures after the pulse image decomposition according to the brightness of the light emitting diode in each frame of picture. The group of pictures to be tested starts from a complete pulse period to end.
S240, acquiring the time difference between the first frame picture and the last frame picture of the picture group to be detected, and acquiring the pulse duration T.
After the group of pictures to be detected is selected, the pulse duration T can be obtained according to the time difference between the time of the first frame picture and the time of the last frame picture of the group of pictures to be detected.
Further, as shown in fig. 5, before step S230, the method may further include:
and S250, filtering the plurality of frames of pictures by using mathematical morphology to remove picture noise.
Specifically, after the impulse image is decomposed into a plurality of frames of pictures, the decomposed frames of pictures may have noise pictures. The noise picture refers to a picture which does not conform to the pulse law of the electric energy meter. Therefore, the decomposed frames of pictures can be filtered by using mathematical morphology to remove picture noise, so that the pictures in the group of pictures to be detected completely accord with the pulse rule of the light-emitting diode of the electric energy meter.
In an embodiment, as shown in fig. 6, the step S230 of the method for controlling the error measuring apparatus 10 of the electric energy meter may specifically include:
s232, obtaining the gray scale corresponding to the brightness of each frame of picture, and calculating the gray scale difference value between two adjacent frames of pictures.
Specifically, the gradation refers to a method of displaying an image with black of different saturation using black as a reference color. Generally, the gray scale includes 0 level to 255 levels. In this embodiment, when the group of pictures to be tested is selected according to the brightness of each of the plurality of frames of pictures, the brightness of the light emitting diode in each of the pictures is not determined, so that the group of pictures to be tested can be selected according to the gray scale.
When selecting the group of pictures to be tested according to the gray scale, the gray scale corresponding to the brightness of the light emitting diode in each frame of picture is obtained first. Thus, the gray levels of all pictures are generally sequentially incremented during a pulse period.
After the gray scale corresponding to the brightness of the light emitting diode in each frame of picture is obtained, the gray scale difference between two adjacent frames of pictures can be calculated.
And S234, judging the size relation between the gray difference value and the first preset value, and if the gray difference value is larger than the first preset value, marking the picture with the higher gray value in the two adjacent frames of pictures as a pulse output picture.
Generally, the brightness of the led will increase faster and faster within a pulse period, and the corresponding gray scale value increases faster and faster. Meanwhile, in a plurality of frames of pictures obtained after the pulse image processing, it is difficult to ensure that all pulse output pictures are included. The pulse output picture refers to a picture at the time when the brightness of the light emitting diode is highest in a pulse period.
Therefore, whether the two adjacent frames of pictures have pulse output pictures or not can be judged according to the size relation between the gray difference value of the two adjacent frames of pictures and the first preset value. If the gray difference value of the two adjacent frames of pictures is greater than the first preset value, the picture with the higher gray value in the two adjacent frames of pictures is marked as a pulse output picture.
And S236, selecting all pictures between the two pulse output pictures and a second pulse output picture in the two pulse output pictures as a picture group to be detected.
And selecting all pictures between the two pulse output pictures and a second pulse output picture in the two pulse output pictures as a picture group to be detected. The second pulse output picture is the latter of the two pulse output pictures. Therefore, the picture group to be detected comprises an integral number of pulse periods, so that the pulse duration T comprises an integral number of pulse periods.
In one embodiment, step S300 may include:
s310, calculating the electric energy detection value W in each interval time t 1n
In particular, as is known from the above description, the electric power P comprises each time the voltage U, the current I and the phase Ψ are acquiredA plurality of powers calculated respectively. Therefore, the result W of the power detection is performed 1 In the calculation of (b), the electric energy detection value W in a single interval may be performed for each calculated electric power P and the interval time t thereof, respectively 1n The calculation of (2).
At the power detection value W 1n N denotes the number of positions of a certain time interval T within the pulse duration T. For example, corresponding to the first time interval, the power detection value is W 11 (ii) a Corresponding to the second time interval, the power detection value is W 12
S320, according to W 1 =∑W 1n Calculating the electric energy detection result W 1
Obtaining the electric energy detection value W in each single interval 1n Then, the power detection values W in all the single intervals are detected 1n The electric energy detection result W can be obtained by carrying out accumulation summation 1
In other words, W 1 =∑W 1n =W 11 +W 12 +······W 1n
Further, in step S310, the power detection value W is detected for each interval time t 1n The calculation method of (2) may be: according to W 1n = Pt calculating electric energy detection value W in each interval time t 1n . I.e. the detected value of the electric energy W for each interval time t 1n May be the product of the electric power P corresponding to the initial instant of the interval time t and the interval time t.
Thereby, W can be obtained 1 =∑W 1n =P 1 t 1 +P 2 t 2 +······+P n t n . Wherein, P n Represents the electric power P detected at the initial instant of the nth time interval t; t is t n Representing the time length of the nth time interval t.
In one embodiment, as shown in fig. 7, the obtaining of the accumulated energy of the energy meter in the pulse duration in step S400 includes:
and S410, acquiring the number of pulses of the electric energy meter in the pulse duration.
And S420, calculating an electric energy accumulation result in the number of pulses according to the number of pulses.
Specifically, for the electric energy meters, the active pulse output of each electric energy meter in one pulse period is constant. Therefore, the electric energy accumulation result W corresponding to the number of pulses can be calculated according to the number of pulses of the electric energy meter in the pulse duration T 2
The number of the pulses is equal to the number of the pulse output pictures in the picture group to be detected.
The application also provides an electric energy meter error measuring device, which comprises a detection device and a calculation device.
The detection device is used for acquiring voltage U, current I and phase psi collected by the electric energy meter at intervals t and calculating electric power P according to the voltage U, the current I and the phase psi.
The calculating device is used for acquiring the pulse duration T of the electric energy meter; and is used for calculating the electric energy detection result W of the electric energy meter error measuring device in the pulse duration T according to the interval time T, the electric power P and the pulse duration T 1 (ii) a The calculating device is also used for obtaining the electric energy accumulation result W of the electric energy meter in the pulse duration T 2 (ii) a And according to the electric energy detection result W 1 And the accumulated result W of electric energy 2 And calculating the error of the electric energy meter.
All possible combinations of the technical features of the above embodiments may not be described for the sake of brevity, but should be considered as within the scope of the present disclosure 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 invention, and the description thereof is more specific and detailed, but not construed 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 inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent should be subject to the appended claims.

Claims (10)

1. The control method of the electric energy meter error measuring device is characterized in that the electric energy meter error measuring device comprises a detection device and a calculation device, the detection device comprises a sampling circuit, a first processor and a first communicator, and the calculation device comprises a video collector, a second processor and a second communicator; the control method of the electric energy meter error measuring device comprises the following steps:
the sampling circuit is arranged at intervalstObtaining the voltage collected by the electric energy meterUCurrent ofIAnd a phase psi, the first processor obtaining the voltage collected by the sampling circuitUCurrent ofIAnd phase psi, and is based onP=UIcosPsi calculating electric powerP
The first processor transfers the electrical power through the first communicatorPWirelessly transmitting to the second communicator; the first communicator and the second communicator are Bluetooth communicators;
the second processor acquires a pulse image of the electric energy meter acquired by the video acquisition device, decomposes the pulse image into a plurality of frames of pictures, selects a picture group to be detected according to the brightness of each picture in the plurality of frames of pictures, acquires the time difference between the first frame of picture and the last frame of picture in the picture group to be detected, and acquires the pulse duration of the electric energy meterT(ii) a The picture group to be tested comprises and only comprises a plurality of complete pulse cycles;
the second processor receives the electric power transmitted by the second communicatorPAccording to each of said intervalstAnd corresponding electric powerPObtaining the electric energy detection value in a single time intervalW n1 Then, the power detection values in all the single intervals are detectedW n1 Accumulating to obtain the pulse durationTElectric energy detection result of internal electric energy meter error measuring deviceW 1
The second processor acquires the pulse duration of the electric energy meterTInternal power accumulation resultW 2 (ii) a And according to the electric energy detection resultW 1 And the result of accumulating the electric energyW 2 Calculating the electricityEnergy meter error (W 2 -W 1 )/T
2. The method for controlling the error measuring device of the electric energy meter according to claim 1, wherein the step of obtaining the pulse image of the electric energy meter comprises the following steps:
and opening a video collector of the electric energy meter error measuring device, and collecting a pulse image of the electric energy meter, wherein the pulse image comprises a plurality of complete pulse cycles.
3. The method as claimed in claim 1, wherein before selecting the group of pictures to be tested according to the brightness of each of the plurality of pictures, the method further comprises:
and filtering the plurality of frames of pictures by using mathematical morphology to remove picture noise.
4. The method as claimed in claim 1, wherein the selecting the group of pictures to be tested according to the brightness of each of the plurality of pictures comprises:
acquiring the gray scale corresponding to the brightness of each frame of picture, and calculating the gray scale difference value between two adjacent frames of pictures;
judging the magnitude relation between the gray difference value and a first preset value, and if the gray difference value is larger than the first preset value, marking the picture with higher gray value in the two adjacent frames of pictures as a pulse output picture;
and selecting all pictures between the two pulse output pictures and a second pulse output picture in the two pulse output pictures as a picture group to be detected.
5. The method of claim 4, wherein the gray levels of the several frames of pictures are sequentially increased within the pulse period.
6. According to claim 1The control method of the error measuring device of the electric energy meter is characterized in that the error measuring device is controlled according to the interval timetElectric powerPAnd the pulse durationTCalculating the pulse durationTElectric energy detection result of internal electric energy meter error measuring deviceW 1 The method comprises the following steps:
calculating each of the interval timestInternal power detection valueW n1
According toW 1 =∑W n1 Calculating the electric energy detection resultW 1
7. The method for controlling an error measuring device of an electric energy meter according to claim 6, wherein the calculating of each of the interval timestInternal power detection valueW n1 Comprises that
According toW n1 =PtCalculating each of the interval timestInternal power detection valueW n1
8. The method of claim 1, wherein the obtaining the duration of the pulse of the electric energy meter is performed by a method of controlling the error measurement device of the electric energy meterTInternal power accumulation resultW 2 The method comprises the following steps:
acquiring the pulse duration of the electric energy meterTNumber of pulses inN
According to the number of pulsesNCalculating the number of said pulsesNInternal power accumulation resultW 2
9. The method of claim 8, wherein the number of pulses is equal to the number of pulse output pictures in the group of pictures to be tested.
10. The device for measuring the error of the electric energy meter is characterized by comprising a detection device and a calculation device, wherein the detection device comprises a sampling circuit, a first processor and a first communicator, and the calculation device comprises a video collector, a second processor and a second communicator; the electric energy meter error measuring device comprises:
detection means for said sampling circuit at intervalstObtaining the voltage collected by the electric energy meterUCurrent ofIAnd a phase psi, the first processor obtaining the voltage collected by the sampling circuitUCurrent ofIAnd phase psi, and is based onP=UIcosPsi calculating electric powerPThe first processor transfers the electrical power through the first communicatorPWirelessly transmitting to the second communicator; the first communicator and the second communicator are Bluetooth communicators;
the computing device is used for the second processor to obtain the pulse image of the electric energy meter collected by the video collector, decompose the pulse image into a plurality of frames of pictures, select a picture group to be detected according to the brightness of each frame of picture in the plurality of frames of pictures, obtain the time difference between the first frame of picture and the last frame of picture of the picture group to be detected, and obtain the pulse duration of the electric energy meterT(ii) a The picture group to be tested comprises and only comprises a plurality of complete pulse cycles; and the second processor is used for receiving the electric power transmitted by the second communicatorPAccording to each of said intervalstAnd corresponding electric powerPObtaining the electric energy detection value in a single time intervalW n1 Then, the power detection values in all single intervals are detectedW n1 Accumulating to obtain the pulse durationTElectric energy detection result of internal electric energy meter error measuring deviceW 1 (ii) a The second processor is also used for acquiring the pulse duration of the electric energy meterTInternal electric energy accumulation resultW 2 (ii) a And according to the electric energy detection resultW 1 And said electric energy accumulation resultW 2 Calculating the error of the electric energy meter (W 2 -W 1 )/T
CN201911293584.5A 2019-12-16 2019-12-16 Electric energy meter error measuring device and control method thereof Active CN110927656B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911293584.5A CN110927656B (en) 2019-12-16 2019-12-16 Electric energy meter error measuring device and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911293584.5A CN110927656B (en) 2019-12-16 2019-12-16 Electric energy meter error measuring device and control method thereof

Publications (2)

Publication Number Publication Date
CN110927656A CN110927656A (en) 2020-03-27
CN110927656B true CN110927656B (en) 2022-10-28

Family

ID=69862781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911293584.5A Active CN110927656B (en) 2019-12-16 2019-12-16 Electric energy meter error measuring device and control method thereof

Country Status (1)

Country Link
CN (1) CN110927656B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111707983B (en) * 2020-07-13 2024-03-22 郑州万特电气股份有限公司 Electric energy meter constant test method, equipment, system and medium
CN112699824B (en) * 2021-01-05 2022-02-11 湖北理工学院 Method and device for detecting constant of electric energy meter and storage medium
CN114047472B (en) * 2021-12-22 2024-02-23 安徽南瑞中天电力电子有限公司 Metering error monitoring system of intelligent ammeter and monitoring method and device thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655545A (en) * 2009-09-02 2010-02-24 珠海市科荟电器有限公司 On-site verifying method of electric energy meter
CN203673058U (en) * 2013-12-20 2014-06-25 国家电网公司 Electric energy meter field inspecting apparatus
CN104297717A (en) * 2014-11-03 2015-01-21 青岛世泽电子仪表有限公司 Electric energy meter correction method and system and electric energy meter
CN106501764A (en) * 2017-01-12 2017-03-15 国网江苏省电力公司电力科学研究院 The real-time contrastive test system and method for the online electric energy error of intelligent substation electric energy meter

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100348984C (en) * 2006-01-24 2007-11-14 北京万工科技有限公司 Electric energy metrical pulse generation method for ammeter
CN101526596B (en) * 2009-04-21 2011-09-07 郑州万特电气有限公司 Measuring method for energy metering error of single-phase electric energy meter under dynamic load
US9131172B2 (en) * 2012-11-30 2015-09-08 Hanwha Techwin Co., Ltd. Image processing apparatus and method for detecting motion using long exposures images and then performing infinite impulse response filtering on short exposure image
CN103293510B (en) * 2013-05-29 2015-06-10 国家电网公司 Device and method for quickly measuring errors of electric energy meter
CN103698598B (en) * 2013-12-26 2016-08-17 华立科技股份有限公司 Ammeter and low error pulse output intent thereof
CN104897367A (en) * 2015-04-28 2015-09-09 南车株洲电力机车研究所有限公司 Indicating light optical state automatic test method and system
CN106646334B (en) * 2017-03-06 2021-06-15 中国电力科学研究院 Method and system for calculating metering error of electric energy meter
CN106940886B (en) * 2017-03-08 2019-11-22 贵州众创巨电力科技有限公司 A kind of electrical equipment electric discharge ultraviolet imagery quantization parameter extracting method based on gray scale
CN106918799A (en) * 2017-04-12 2017-07-04 华北电力科学研究院有限责任公司 Electric energy meter remote checking method and system
CN109100674B (en) * 2018-05-28 2020-08-07 国网江西省电力有限公司电力科学研究院 Metering method based on distributed electric energy, error detection method and device
CN109471058A (en) * 2018-09-29 2019-03-15 国网浙江省电力有限公司金华供电公司 A kind of field-checking measurement error system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655545A (en) * 2009-09-02 2010-02-24 珠海市科荟电器有限公司 On-site verifying method of electric energy meter
CN203673058U (en) * 2013-12-20 2014-06-25 国家电网公司 Electric energy meter field inspecting apparatus
CN104297717A (en) * 2014-11-03 2015-01-21 青岛世泽电子仪表有限公司 Electric energy meter correction method and system and electric energy meter
CN106501764A (en) * 2017-01-12 2017-03-15 国网江苏省电力公司电力科学研究院 The real-time contrastive test system and method for the online electric energy error of intelligent substation electric energy meter

Also Published As

Publication number Publication date
CN110927656A (en) 2020-03-27

Similar Documents

Publication Publication Date Title
CN110927656B (en) Electric energy meter error measuring device and control method thereof
EP2741493A3 (en) Imaging device and camera system
CN113034431B (en) Equipment use state online monitoring method, system, storage medium and terminal
JP2011163947A (en) Method and device for measuring optical characteristic
US9035265B2 (en) Radiation imaging apparatus, method for driving the same and radiation imaging system
JP2011071924A5 (en)
CN103006238A (en) Method for measuring degree of blood oxygen saturation
JP2017175568A (en) Data processing device, color specifying method, program and color chart
CN1627087A (en) Electric power meter
CN211955317U (en) Ultrasonic oxygen detection device
CN109283569B (en) Apparatus for measuring photon information and photon measuring device
US8587292B2 (en) Power measurement circuit
CN109011397B (en) Push-up counting method and device based on wearable equipment
CN204154886U (en) Based on voltage, the electric current precision metering device of satellite navigation system
CN217484401U (en) Transient current acquisition circuit and MCU low-power consumption test system
US11553568B2 (en) Flicker measurement method and flicker measurement system
WO2017113152A1 (en) Heart rate measurement method based on plurality of groups of light sources and wearable device for implementing method
CN107864347B (en) Statistical method for noise of preprocessing circuit of infrared TDI detector
CN102334998A (en) Bluetooth transmission type intelligent muscle strength tester
CN109414246B (en) System and method for Doppler spectrum time duration
TWI696388B (en) A signal processing system and a method thereof
US20130015861A1 (en) Converter circuit and method of driving the same
CN211627445U (en) Trace element detection circuit and trace element analyzer
CN114113843B (en) Image recognition-based automatic detection system and method for direct current charging pile
CN217777784U (en) Material breakage detection circuit and printer

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