Electric quantity compensation method, device, system and storage medium

文档序号:1963041 发布日期:2021-12-14 浏览:16次 中文

阅读说明:本技术 电量追补方法、装置、系统和存储介质 (Electric quantity compensation method, device, system and storage medium ) 是由 何昆 何子昂 夏景欣 林沃彬 沈桐洲 黄泽敏 黄林惠 刘珮琪 于 2021-07-26 设计创作,主要内容包括:本申请涉及一种电量追补方法、装置、系统和存储介质。电量追补系统包括相互通信的主计量装置和从计量装置,主计量装置与接线盒的输入端连接,输入端还与待测回路连接,从计量装置与接线盒的输出端连接,接线盒用于连接待测回路和电能表;从计量装置获取更换电能表时段内输出端的输出信号参数,主计量装置再根据输出信号参数获取输出端的输出功率,获取更换电能表时段内输入端的输入功率,采用输入端的输入功率和输出端的输出功率确定待测回路更换电能表所需追补的电量。通过上述方法不仅实现了对于更换电能表期间待测回路所产生的电量的计量,并且是基于接线盒的输入端和输出端的实测数据得到的,进而提高了得到的所需追补的电量的准确性。(The application relates to an electric quantity compensation method, an electric quantity compensation device, an electric quantity compensation system and a storage medium. The electric quantity compensation system comprises a main metering device and an auxiliary metering device which are communicated with each other, wherein the main metering device is connected with the input end of a junction box, the input end of the junction box is also connected with a loop to be measured, the auxiliary metering device is connected with the output end of the junction box, and the junction box is used for connecting the loop to be measured and an electric energy meter; the slave metering device acquires output signal parameters of the output end in the time period of replacing the electric energy meter, the master metering device acquires output power of the output end according to the output signal parameters, acquires input power of the input end in the time period of replacing the electric energy meter, and determines the electric quantity to be supplemented for replacing the electric energy meter of the loop to be tested by adopting the input power of the input end and the output power of the output end. By the method, the electric quantity generated by the loop to be measured during the replacement of the electric energy meter is measured, and the electric quantity is obtained based on the measured data of the input end and the output end of the junction box, so that the accuracy of the obtained electric quantity to be supplemented is improved.)

1. An electric quantity compensation method is applied to an electric quantity compensation system, the electric quantity compensation system comprises a master metering device and a slave metering device which are communicated with each other, the master metering device is connected with an input end of a junction box, the input end of the junction box is also connected with a loop to be measured, the slave metering device is connected with an output end of the junction box, the junction box is used for connecting the loop to be measured and an electric energy meter, and the method comprises the following steps:

the slave metering device acquires output signal parameters of the output end in the time period of replacing the electric energy meter; the time period for replacing the electric energy meter is the time period from the beginning of disconnecting the passage between the output end and the slave metering device to the time period from the beginning of connecting all the passages between the output end and the slave metering device;

and the main metering device acquires the output power of the output end according to the output signal parameters, acquires the input power of the input end in the period of replacing the electric energy meter, and determines the electric quantity to be supplemented for replacing the electric energy meter of the loop to be tested by adopting the input power of the input end and the output power of the output end.

2. The method according to claim 1, wherein each phase between the output terminal and the slave metering device corresponds to a group of the output signal parameters, each group of the output signal parameters includes an output voltage and an output current with the same sampling time, and the master metering device obtains the output power of the output terminal according to the output signal parameters, and the method comprises the following steps:

the main metering device reads at least one group of output voltage and output current from the output signal parameters corresponding to each phase of circuit in a preset reading period;

performing product operation on each group of output voltage and output current to obtain output power corresponding to each phase of circuit;

and carrying out summation operation on the output power corresponding to the output signal parameter with the same sampling time to obtain the output power of the output end.

3. The method of claim 2, wherein the obtaining the input power of the input terminal during the period of replacing the electric energy meter comprises:

the main metering device samples input signals on each type of passage between the input end and the main metering device in a preset sampling period to obtain at least one group of input signal parameters; each output signal parameter comprises input current and input voltage which are the same at the sampling moment;

performing product operation on each group of input voltage and input current in the period of replacing the electric energy meter to obtain input power corresponding to each phase of circuit;

and carrying out summation operation on the input power corresponding to the input signal parameters with the same sampling time to obtain the input power of the input end.

4. The method of claim 3, wherein the determining the amount of electric power to be replenished for replacing the electric energy meter of the loop to be tested by using the input power and the output power comprises:

summing the product of each output power and the preset reading period to obtain output electric quantity;

summing the product of each output power and the preset sampling period to obtain input electric quantity;

and determining the electric quantity required to be supplemented according to the output electric quantity and the input electric quantity.

5. The method of claim 4, wherein determining the amount of power required for compensation based on the amount of output power and the amount of input power comprises:

and subtracting the output electric quantity from the input electric quantity to obtain the electric quantity to be supplemented.

6. The utility model provides an electric energy chases after and mends device, its characterized in that is applied to electric quantity system of chasing after, electric quantity system of chasing after includes main metering device and the follow metering device of intercommunication, main metering device is connected with the input of terminal box, the input still is connected with the return circuit that awaits measuring, follow metering device with the output of terminal box is connected, the terminal box is used for connecting return circuit and the electric energy meter that awaits measuring, the device includes:

the output control module is used for acquiring output signal parameters of the output end in the time period of replacing the electric energy meter through the slave metering device; the time period for replacing the electric energy meter is the time period from the beginning of disconnecting the passage between the output end and the slave metering device to the time period from the beginning of connecting all the passages between the output end and the slave metering device;

and the input control module is used for acquiring the output power of the output end through the main metering device according to the output signal parameters, acquiring the input power of the input end in the time period of replacing the electric energy meter, and determining the electric quantity to be supplemented for replacing the electric energy meter of the loop to be tested by adopting the input power of the input end and the output power of the output end.

7. An electrical quantity compensation system, the system comprising:

the system comprises a main metering device and a slave metering device which are communicated with each other, wherein the main metering device is connected with an input end of a junction box, the input end of the junction box is also connected with a loop to be tested, the slave metering device is connected with an output end of the junction box, and the junction box is used for connecting the loop to be tested and an electric energy meter;

the slave metering device is used for acquiring output signal parameters of the output end in the time period of replacing the electric energy meter; the time period for replacing the electric energy meter is the time period from the beginning of disconnecting the passage between the output end and the slave metering device to the time period from the beginning of connecting all the passages between the output end and the slave metering device;

the main metering device is used for acquiring the output power of the output end according to the output signal parameters and acquiring the input power of the input end in the time period of replacing the electric energy meter, so that the electric quantity to be supplemented for replacing the electric energy meter of the loop to be tested is determined by adopting the input power of the input end and the output power of the output end.

8. The system of claim 7, wherein the master metering device and the slave metering device are connected by an RS485 communication line.

9. An electrical quantity compensation system, the system comprising:

the system comprises a main metering device and a slave metering device which are communicated with each other, wherein the main metering device is connected with an input end of a junction box, the input end of the junction box is also connected with a loop to be tested, the slave metering device is connected with an output end of the junction box, and the junction box is used for connecting the loop to be tested and an electric energy meter;

the slave metering device is used for acquiring output signal parameters of the output end in the time period of replacing the electric energy meter; the time period for replacing the electric energy meter is the time period from the beginning of disconnecting the passage between the output end and the slave metering device to the time period from the beginning of connecting all the passages between the output end and the slave metering device;

the main metering device comprises a processor and a memory, the memory stores a computer program, and the processor realizes the following steps when executing the computer program:

and acquiring the output power of the output end according to the output signal parameters, and acquiring the input power of the input end in the time period of replacing the electric energy meter, so as to determine the electric quantity to be supplemented for replacing the electric energy meter of the loop to be tested by adopting the input power of the input end and the output power of the output end.

10. 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 of any one of claims 1 to 5.

Technical Field

The present application relates to the field of power technologies, and in particular, to a method, an apparatus, a system, and a storage medium for electric power compensation.

Background

The electric energy meter is a common meter for metering the electric quantity in a loop, and the metered electric quantity can be used for charging the electricity consumption of a user. When the electric energy meter is in service or needs to be replaced due to other reasons, a worker firstly controls the output end of the junction box connected with the electric energy meter to not output current and voltage any more, then the old electric energy meter is dismantled and replaced by a new electric energy meter, and finally the output end of the junction box is operated again to output current and voltage, so that the new electric energy meter continues to measure the electric quantity in the electric circuit.

During the period of dismounting the old electric energy meter and mounting the new electric energy meter, the user normally uses electricity, but the electricity quantity is not measured, and the average power of the electricity using loop and the time of replacing the electric energy meter are generally adopted in the traditional technology to estimate the electricity quantity so as to charge the electricity consumption of the user.

However, the amount of power estimated in this way is not accurate and is not fair to both users and power supply enterprises.

Disclosure of Invention

In view of the foregoing, it is desirable to provide a method, an apparatus, a system, and a storage medium for electric quantity compensation.

An electric quantity compensation method is applied to an electric quantity compensation system, the electric quantity compensation system comprises a main metering device and a slave metering device which are communicated with each other, the main metering device is connected with an input end of a junction box, the input end of the junction box is also connected with a loop to be measured, the slave metering device is connected with an output end of the junction box, the junction box is used for connecting the loop to be measured and an electric energy meter, and the method comprises the following steps:

acquiring output signal parameters of an output end in the time period of replacing the electric energy meter from the metering device; the time period for replacing the electric energy meter is the time period from the beginning of disconnecting the passage between the output end and the slave metering device to the time period from the beginning of connecting all the passages between the output end and the slave metering device;

the main metering device obtains the output power of the output end according to the output signal parameters, obtains the input power of the input end in the time period of replacing the electric energy meter, and determines the electric quantity to be supplemented for replacing the electric energy meter of the loop to be tested by adopting the input power of the input end and the output power of the output end.

In one embodiment, each phase between the output terminal and the slave metering device corresponds to a set of output signal parameters, each set of output signal parameters includes output voltage and output current with the same sampling time, and the master metering device obtains the output power of the output terminal according to the output signal parameters, including:

the main metering device reads at least one group of output voltage and output current from the output signal parameters corresponding to each phase of circuit in a preset reading period;

performing product operation on each group of output voltage and output current to obtain output power corresponding to each phase of circuit;

and carrying out summation operation on the output power with the same sampling time corresponding to the output signal parameter to obtain the output power of the output end.

In one embodiment, obtaining the input power of the input terminal during the period of replacing the electric energy meter comprises:

the main metering device samples input signals on each type of passage between the input end and the main metering device by a preset sampling period to obtain at least one group of input signal parameters; each output signal parameter comprises input current and input voltage which are the same at the sampling moment;

performing product operation on each group of input voltage and input current in the period of replacing the electric energy meter to obtain the corresponding input power of each phase of circuit;

and carrying out summation operation on the input power with the same sampling time corresponding to the input signal parameter to obtain the input power of the input end.

In one embodiment, determining the electric quantity to be compensated for replacing the electric energy meter of the loop to be tested by using the input power and the output power comprises the following steps:

summing the product of each output power and a preset reading period to obtain output electric quantity;

summing the product of each output power and a preset sampling period to obtain input electric quantity;

and determining the electric quantity to be supplemented according to the output electric quantity and the input electric quantity.

In one embodiment, determining the electric quantity to be compensated according to the output electric quantity and the input electric quantity includes:

and subtracting the output electric quantity from the input electric quantity to obtain the electric quantity to be supplemented.

The utility model provides an electric energy chases after mends device, is applied to electric quantity system of chasing after, and electric quantity system of chasing after includes intercommunication's main metering device and follows metering device, and main metering device is connected with the input of terminal box, and the input still is connected with the return circuit that awaits measuring, is connected from the output of metering device with the terminal box, and the terminal box is used for connecting return circuit and the electric energy meter that awaits measuring, includes:

the output control module is used for acquiring output signal parameters of the output end in the time period of replacing the electric energy meter from the metering device; the time period for replacing the electric energy meter is the time period from the beginning of disconnecting the passage between the output end and the slave metering device to the time period from the beginning of connecting all the passages between the output end and the slave metering device;

and the input control module is used for acquiring the output power of the output end through the main metering device according to the output signal parameters, acquiring the input power of the input end in the time period of replacing the electric energy meter, and determining the electric quantity to be supplemented for replacing the electric energy meter of the loop to be tested by adopting the input power of the input end and the output power of the output end.

An electric quantity compensation system, comprising:

the main metering device is connected with the input end of the junction box, the input end of the junction box is also connected with a loop to be tested, the slave metering device is connected with the output end of the junction box, and the junction box is used for connecting the loop to be tested and the electric energy meter;

the slave metering device is used for acquiring output signal parameters of the output end in the time period of replacing the electric energy meter; the time period for replacing the electric energy meter is the time period from the beginning of disconnecting the passage between the output end and the slave metering device to the time period from the beginning of connecting all the passages between the output end and the slave metering device;

the main metering device is used for acquiring the output power of the output end according to the output signal parameters, acquiring the input power of the input end in the time period of replacing the electric energy meter, and determining the electric quantity to be supplemented for replacing the electric energy meter of the loop to be tested by adopting the input power of the input end and the output power of the output end.

In one embodiment, the master metering device and the slave metering device are connected through an RS485 communication line.

An electric quantity compensation system, comprising:

the main metering device is connected with the input end of the junction box, the input end of the junction box is also connected with a loop to be tested, the slave metering device is connected with the output end of the junction box, and the junction box is used for connecting the loop to be tested and the electric energy meter;

the slave metering device is used for acquiring output signal parameters of the output end in the time period of replacing the electric energy meter; the time period for replacing the electric energy meter is the time period from the beginning of disconnecting the passage between the output end and the slave metering device to the time period from the beginning of connecting all the passages between the output end and the slave metering device;

the main metering device comprises a processor and a memory, the memory stores a computer program, and the processor realizes the following steps when executing the computer program:

and acquiring the output power of the output end according to the output signal parameters, acquiring the input power of the input end in the time period of replacing the electric energy meter, and determining the electric quantity to be supplemented for replacing the electric energy meter by the loop to be tested by adopting the input power of the input end and the output power of the output end.

A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:

and acquiring the output power of the output end according to the output signal parameters, acquiring the input power of the input end in the time period of replacing the electric energy meter, and determining the electric quantity to be supplemented for replacing the electric energy meter by the loop to be tested by adopting the input power of the input end and the output power of the output end.

The electric quantity compensation method, the device, the system and the storage medium have the advantages that the electric quantity compensation system comprises a main metering device and a slave metering device which are communicated with each other, the main metering device is connected with the input end of a junction box, the input end of the junction box is also connected with a loop to be measured, the slave metering device is connected with the output end of the junction box, and the junction box is used for connecting the loop to be measured and an electric energy meter; and the slave metering device acquires an output signal parameter of the output end in the time period of replacing the electric energy meter, the master metering device acquires the output power of the output end according to the output signal parameter and acquires the input power of the input end in the time period of replacing the electric energy meter, and the electric quantity to be supplemented for replacing the electric energy meter of the loop to be tested is determined by adopting the input power of the input end and the output power of the output end. By the method, the electric quantity generated by the loop to be measured during the replacement of the electric energy meter is measured, and the electric quantity is obtained based on the measured data of the input end and the output end of the junction box, so that the accuracy of the obtained electric quantity to be supplemented is improved.

Drawings

FIG. 1 is a diagram of an exemplary embodiment of an application environment of a method for electric power compensation;

FIG. 2 is a flow chart illustrating a method for electric power compensation according to an embodiment;

FIG. 3 is a schematic diagram of a process for obtaining output power according to one embodiment;

FIG. 4 is a flow diagram illustrating the process of obtaining incoming power according to one embodiment;

FIG. 5 is a block diagram illustrating a schematic flow chart for determining the amount of supplemental power required in one embodiment;

fig. 6 is a schematic flow chart of an electric quantity compensation device according to an embodiment.

Detailed Description

In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.

The electric quantity compensation method provided by the application can be applied to an electric quantity compensation system shown in fig. 1. The electric quantity compensation system comprises a main metering device 102 and a slave metering device 104 which are communicated with each other, the main metering device 102 is connected with an input end of a junction box, the input end of the main metering device 102 is also connected with a loop to be measured, the slave metering device 104 is connected with an output end of the junction box, and the output end of the slave metering device 104 is also used for being connected with an electric energy meter so as to be connected with the loop to be measured and the electric energy meter through the junction box. When a user replaces the electric energy meter, the circuit between the output end of the junction box and the old electric energy meter is controlled to be disconnected one by one through the junction box end so as to detach the old electric energy meter, then the new electric energy meter is connected with the output end of the junction box, and the circuit between the output end of the junction box and the new electric energy meter is controlled to be connected one by one through the junction box end so as to enable the new electric energy meter to work normally. The electric energy generated by the loop to be tested during the period of replacing the electric energy meter is the electric energy required to be supplemented, and the output signal parameters of the output end in the period of replacing the electric energy meter are obtained from the metering device 102; the period of time for replacing the electric energy meter is a period of time from the beginning of disconnecting the path between the output terminal and the slave metering device 104 to the time of conducting all the paths between the output terminal and the slave metering device. The main metering device 102 obtains the output power of the output end according to the output signal parameter, and obtains the input power of the input end in the time period of replacing the electric energy meter, so that the electric quantity to be supplemented for replacing the electric energy meter of the loop to be tested is determined by adopting the input power of the input end and the output power of the output end. The master metering device 102 and the slave metering device 104 may be, but are not limited to, electric energy metering devices for realizing electric energy metering, such as three-phase electric energy metering devices.

In one embodiment, as shown in fig. 2, an electric quantity compensation method is provided, which is described by taking the example of the method applied to the electric quantity compensation system in fig. 1, and includes the following steps:

s210, obtaining output signal parameters of the output end in the time period of replacing the electric energy meter from the metering device.

The time period for replacing the electric energy meter is the time period for replacing the electric energy meter, namely the time period from the beginning of disconnecting the passage between the output end and the slave metering device to the time period from the beginning of conducting all the passages between the output end and the slave metering device. For example, the user opens the path between the output end and the slave metering device from the time t1, and opens all the paths between the output end and the slave metering device from the time t2, namely, the time period from t1 to t2 is the time period for replacing the electric energy meter.

Alternatively, when the old electric energy meter is detached, the user needs to control to disconnect the paths between the output ends of the junction box and the old electric energy meter and the metering device one by one at the junction box end so as to detach the old electric energy meter. Correspondingly, when a new electric energy meter is accessed, under the condition that the paths between the output end of the junction box and the new electric energy meter and between the output end of the junction box and the new electric energy meter are all disconnected, a user firstly connects the new electric energy meter and the output end of the junction box, and then controls the paths between the output end of the junction box and the new electric energy meter and between the output end of the junction box and the new electric energy meter to be switched on one by one. In this embodiment, the turn-off sequence or the turn-on sequence of the paths is not particularly limited. And the slave metering device acquires output signal parameters of the output end in the time period of replacing the electric energy meter.

For example, the old electric energy meter is connected to the output of the junction box via A, B, C three-phase paths, and the slave metering device is also connected to the output of the junction box via A, B, C three-phase paths. The old electric energy meter is detached firstly, a user controls and disconnects the A-phase path between the output end of the junction box and the old electric energy meter and the auxiliary metering device at the junction box end, then disconnects the B-phase path between the output end of the junction box and the old electric energy meter and the auxiliary metering device, and finally disconnects the C-phase path between the output end of the junction box and the old electric energy meter and the auxiliary metering device, so that the old electric energy meter is detached from the output end of the junction box. And then connecting a new electric energy meter, connecting the new electric energy meter with the output end of the junction box by a user under the condition that the output end of the junction box is uncharged, controlling and conducting an A-phase channel between the output end of the junction box and the new electric energy meter and a slave metering device at the end of the junction box, conducting a B-phase channel between the output end of the junction box and the new electric energy meter and a B-phase channel between the output end of the junction box and the slave metering device, and finally conducting a C-phase channel between the output end of the junction box and the new electric energy meter and the slave metering device so as to connect the new electric energy meter into the output end of the junction box for working. The slave metering device obtains the output signal parameters of the output end during the period from the disconnection of the A path between the output end and the slave metering device to the conduction of the C path between the output end and the slave metering device.

S220, the main metering device obtains the output power of the output end according to the output signal parameters, obtains the input power of the input end in the time period of replacing the electric energy meter, and determines the electric quantity to be supplemented for replacing the electric energy meter of the loop to be tested by adopting the input power of the input end and the output power of the output end.

Optionally, the master metering device and the slave metering device may be connected through a data interface, such as an RS485 communication interface, for performing wired communication, or may perform wireless communication by using a near field communication technology, such as bluetooth or NFC. The main metering device obtains the output signal parameters obtained from the metering device, determines the output power of the output end according to the output signal parameters, and simultaneously obtains the input power of the input end in the time period of replacing the electric energy meter, so that the electric quantity to be supplemented for replacing the electric energy meter of the loop to be tested is determined by adopting the input power of the input end and the output power of the output end. For example, the main metering device can obtain a plurality of output powers and a plurality of input powers during the period of replacing the electric energy meter, the main metering device can obtain an output average value of the plurality of output powers and an input average value of the plurality of input powers, the output average value is subtracted from the input average value to obtain a power difference, and the power difference is multiplied by the time length of replacing the electric energy meter, namely the time length spent on starting to disconnect the paths to all paths to conduct conversation, so that the electric quantity required to be supplemented by replacing the electric energy meter of the loop to be measured is obtained.

In this embodiment, the electric quantity compensation system includes a master metering device and a slave metering device that communicate with each other, the slave metering device obtains an output signal parameter of an output end in a period of replacing the electric energy meter, the master metering device obtains an output power of the output end according to the output signal parameter, and obtains an input power of an input end in the period of replacing the electric energy meter, so as to determine the electric quantity to be compensated for replacing the electric energy meter of the circuit to be tested by using the input power of the input end and the output power of the output end. By the method, the electric quantity generated by the loop to be measured during the replacement of the electric energy meter is measured, and the electric quantity is obtained based on the measured data of the input end and the output end of the junction box, so that the accuracy of the obtained electric quantity to be supplemented is improved.

In an embodiment, each phase between the output terminal and the slave metering device corresponds to a set of output signal parameters, each set of output signal parameters includes an output voltage and an output current with the same sampling time, as shown in fig. 3, and the obtaining, by the master metering device in S220, the output power of the output terminal according to the output signal parameters includes:

and S310, reading at least one group of output voltage and output current from the output signal parameters corresponding to each type of channel by the main metering device in a preset reading period.

The slave metering device samples output signals on each phase of communication between the output end and the slave metering device in a preset sampling period in the period of replacing the electric energy meter to obtain at least one group of output signal parameters, namely at least one group of output current and output current with the same sampling time.

Optionally, A, B, C three-phase paths are included between the output and the slave metering device, each phase path including a current path for carrying a current signal and a voltage path for carrying a voltage signal. The main metering device reads at least one group of output voltage and output current from the output signal parameters corresponding to each type of channel in a preset reading period. The preset reading period T is an integral multiple of the preset sampling period T of the metering device. For example, for the a-phase path between the output end and the slave metering device, the slave metering device samples 100 groups of output signal parameters (100 output voltages +100 output currents) from T1 to T100 in the period of replacing the electric energy meter with the preset sampling period T, and if the preset reading period T is 10 times of the preset sampling period T of the slave metering device, the master metering device reads 10 groups of output signal parameters (10 output voltages +10 output currents) from the 100 groups of output signal parameters with the preset reading period T, such as T10, T20, T30, T40, T50, T60, T70, T80, T90 and T100. Accordingly, the master metering device can read 10 sets of output signal parameters for both the B-phase path and the C-phase path between the output and the slave metering devices.

And S320, performing product operation on each group of output voltage and output current to obtain output power corresponding to each type of access.

Specifically, the main metering device performs product operation on each set of the obtained output voltage and output current to obtain output power corresponding to each phase of the circuit. For example, the output power of 10 corresponding to the phase a path can be obtained by multiplying the output voltage and the output current in each set of output signal parameters in the phase a path, and similarly, the output power of 10 corresponding to the phase B path and the output power of 10 corresponding to the phase C path are obtained.

And S330, carrying out summation operation on the output power with the same sampling time corresponding to the output signal parameter to obtain the output power of the output end.

Specifically, 10 output powers (a1 to a10) corresponding to the phase a circuit, 10 output powers (B1 to B10) corresponding to the phase B circuit, and 10 output powers (C1 to C10) corresponding to the phase C circuit, where sampling times corresponding to a1, B1, and C1 are the same, sampling times corresponding to a2, B2, and C2 are the same, and sampling times corresponding to … a10, B10, and C10 are the same, then 10 output powers of the output terminal are obtained correspondingly for a1+ B1+ C1, a2+ B2+ C2, … a10+ B10+ C10.

In this embodiment, the master metering device periodically reads the output signal parameters from the slave metering device, and then calculates the output power of the output end, so as to reduce the read amount of the output signal parameters, reduce the data calculation amount, and improve the calculation efficiency.

In an embodiment, to improve the accuracy of the electric quantity to be supplemented, as shown in fig. 4, the obtaining of the input power at the input end in the time period of replacing the electric energy meter in S220 includes:

s410, the main metering device samples input signals on each type of passage between the input end and the main metering device according to a preset sampling period to obtain at least one group of input signal parameters.

And each group of output signal parameters comprise input current and input voltage which are the same at the sampling moment. The preset sampling period of the master metering device can be the same as or different from that of the slave metering device. In this embodiment, the master metering device has a preset sampling period that is the same as the preset sampling period of the slave metering device.

Specifically, A, B, C three-phase paths are included between the input and the main metering device, and each phase path includes a current path and a voltage path. The main metering device samples input signals on each phase between the input end and the main metering device in a preset sampling period to obtain at least one group of input signal parameters, namely at least one group of input current and input current with the same sampling time.

And S420, performing product operation on each group of input voltage and input current in the period of replacing the electric energy meter to obtain the input power corresponding to each phase of circuit.

Specifically, the main metering device obtains input signal parameters during a period of replacing the electric energy meter, for example, the main metering device acquires 100 sets of input signal parameters (100 input voltages +100 input currents) during the period of replacing the electric energy meter, and multiplies the output voltage and the output current in each set of the obtained input signal parameters to obtain the input power corresponding to each phase. For example, the input voltage and the input current in each set of input signal parameters in the a-phase path are multiplied to obtain 100 input powers corresponding to the a-phase path, and similarly, 100 input powers corresponding to the B-phase path and 100 input powers corresponding to the C-phase path are obtained.

And S430, summing the input powers with the same sampling time corresponding to the input signal parameters to obtain the input power of the input end.

Specifically, 100 input powers (A1 to a100) corresponding to the phase a circuit, 100 input powers (B1 to B100) corresponding to the phase B circuit, and 10 input powers (C1 to C100) corresponding to the phase C circuit, where the sampling times corresponding to the phase A1, the phase B1, and the phase C1 are the same, the sampling times corresponding to the phase a2, the phase B2, and the phase C2 are the same, and the sampling times corresponding to the phase … a100, the phase B100, and the phase C100 are the same, and then 100 input powers at the input terminals are obtained by corresponding to the phase A1+ B1+ C1, the phase a2+ B2+ C2, and the phase … a100+ B100+ C100.

In this embodiment, the main metering device is used to actually sample the input signals on each type of path between the input end and the main metering device, so as to calculate the input power of the input end, and the input power of the input end can be accurately determined, which is beneficial to improving the accuracy of subsequently determining the electric quantity to be supplemented according to the input power of the input end and the output power of the output end.

In an embodiment, as shown in fig. 5, the determining, in S220, the amount of electric power to be replenished for replacing the electric energy meter of the loop to be tested by using the input power and the output power includes:

and S510, carrying out summation operation on the product of each output power and a preset reading period to obtain output electric quantity.

Specifically, the main metering device obtains the product of each output power and a preset reading period, and sums all the obtained products to obtain the output electric quantity of the output end of the junction box. Continuing with the above example, the main metering device obtains 10 output powers (P1-P10) of the output terminal, the preset reading period T, and the output electric quantity E of the output terminal1=P1*T+P2*T+…+P10*T。

And S520, performing summation operation on the product of each output power and the preset sampling period to obtain the input electric quantity.

Specifically, the main metering device obtains the product of each input power and a preset sampling period, and sums all the obtained products to obtain the input electric quantity of the input end of the junction box. Continuing with the above example, the main metering device obtains 100 output powers (F1-F100) at the input end, preset sampling period T (T ═ T/10), and output electric quantity E at the output end2=F1*t+F2*t+…+F100*t。

And S530, determining the electric quantity required to be supplemented according to the output electric quantity and the input electric quantity.

Specifically, the main metering device adopts input electric quantity E2Minus the output electric quantity E1Obtaining the electric quantity E to be compensated0I.e. E0=E2-E1

In this embodiment, the main metering device performs summation operation on the product of each output power and the preset reading period to obtain output electric quantity, and performs summation operation on the product of each input power and the preset sampling period to obtain input electric quantity, so as to obtain electric quantity to be compensated by subtracting the output electric quantity from the input electric quantity. The input electric quantity is an electric quantity value determined by input signal parameters of the input end of the junction box during the period of actually measuring and replacing the electric energy meter, and the output electric quantity is an electric quantity value determined by output signal parameters of the output end of the junction box during the period of actually measuring and replacing the electric energy meter, so that the reliability of the obtained input electric quantity and output electric quantity is high, and the accuracy of the obtained electric quantity required to be supplemented is improved.

It should be understood that although the various steps in the flow charts of fig. 2-5 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 some of the steps in fig. 2-5 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 some of the other steps.

In one embodiment, as shown in fig. 6, there is provided an electric quantity compensation device applied to an electric quantity compensation system, the electric quantity compensation system includes a master metering device and a slave metering device which are communicated with each other, the master metering device is connected with an input end of a junction box, the input end is further connected with a circuit to be measured, the slave metering device is connected with an output end of the junction box, the junction box is used for connecting the circuit to be measured and an electric energy meter, and the electric quantity compensation device includes: an output control module 601 and an input control module 602, wherein:

the output control module 601 is used for acquiring output signal parameters of the output end in the time period of replacing the electric energy meter from the metering device; the time period for replacing the electric energy meter is the time period from the beginning of disconnecting the passage between the output end and the slave metering device to the time period from the beginning of connecting all the passages between the output end and the slave metering device;

the input control module 602 is configured to obtain, by the main metering device, the output power of the output end according to the output signal parameter, and obtain the input power of the input end in the time period for replacing the electric energy meter, so as to determine, by using the input power of the input end and the output power of the output end, the electric quantity to be supplemented for replacing the electric energy meter in the loop to be tested.

In one embodiment, each phase between the output terminal and the slave metering device corresponds to a set of output signal parameters, each set of output signal parameters includes an output voltage and an output current with the same sampling time, and the input control module 602 is specifically configured to:

reading at least one group of output voltage and output current from the output signal parameters corresponding to each phase of circuit in a preset reading period through a main metering device; performing product operation on each group of output voltage and output current to obtain output power corresponding to each phase of circuit; and carrying out summation operation on the output power with the same sampling time corresponding to the output signal parameter to obtain the output power of the output end.

In one embodiment, the input control module 602 is specifically configured to:

the main metering device samples input signals on each type of passage between the input end and the main metering device by a preset sampling period to obtain at least one group of input signal parameters; each output signal parameter comprises input current and input voltage which are the same at the sampling moment; performing product operation on each group of input voltage and input current in the period of replacing the electric energy meter to obtain the corresponding input power of each phase of circuit; and carrying out summation operation on the input power with the same sampling time corresponding to the input signal parameter to obtain the input power of the input end.

In one embodiment, the input control module 602 is specifically configured to:

summing the product of each output power and a preset reading period to obtain output electric quantity; summing the product of each output power and a preset sampling period to obtain input electric quantity; and determining the electric quantity to be supplemented according to the output electric quantity and the input electric quantity.

In one embodiment, the input control module 602 is specifically configured to:

and subtracting the output electric quantity from the input electric quantity to obtain the electric quantity to be supplemented.

For specific limitations of the electric energy compensation device, reference may be made to the above limitations of the electric energy compensation method, which are not described herein again. All or part of each module in the electric energy compensation 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, there is provided an electric quantity compensation system, including:

the main metering device is connected with the input end of the junction box, the input end of the junction box is also connected with a loop to be tested, the slave metering device is connected with the output end of the junction box, and the junction box is used for connecting the loop to be tested and the electric energy meter;

the slave metering device is used for acquiring output signal parameters of the output end in the time period of replacing the electric energy meter; the time period for replacing the electric energy meter is the time period from the beginning of disconnecting the passage between the output end and the slave metering device to the time period from the beginning of connecting all the passages between the output end and the slave metering device;

the main metering device is used for acquiring the output power of the output end according to the output signal parameters, acquiring the input power of the input end in the time period of replacing the electric energy meter, and determining the electric quantity to be supplemented for replacing the electric energy meter of the loop to be tested by adopting the input power of the input end and the output power of the output end.

In one embodiment, the master metering device and the slave metering device are connected through an RS485 communication line.

In one embodiment, the main metering device is specifically configured to read at least one set of output voltage and output current from the output signal parameter corresponding to each phase in a preset reading period; performing product operation on each group of output voltage and output current to obtain output power corresponding to each phase of circuit; and carrying out summation operation on the output power with the same sampling time corresponding to the output signal parameter to obtain the output power of the output end.

In one embodiment, the main metering device is specifically configured to sample the input signal on each type of path between the input end and the main metering device by a preset sampling period, so as to obtain at least one set of input signal parameters; each output signal parameter comprises input current and input voltage which are the same at the sampling moment; performing product operation on each group of input voltage and input current in the period of replacing the electric energy meter to obtain the corresponding input power of each phase of circuit; and carrying out summation operation on the input power with the same sampling time corresponding to the input signal parameter to obtain the input power of the input end.

In one embodiment, the main metering device is specifically configured to perform summation operation on a product of each output power and a preset sampling period to obtain input electric quantity; and determining the electric quantity to be supplemented according to the output electric quantity and the input electric quantity.

In one embodiment, the main metering device is specifically configured to obtain the electric quantity to be compensated by subtracting the output electric quantity from the input electric quantity.

In one embodiment, there is provided an electric quantity compensation system, including:

the main metering device is connected with the input end of the junction box, the input end of the junction box is also connected with a loop to be tested, the slave metering device is connected with the output end of the junction box, and the junction box is used for connecting the loop to be tested and the electric energy meter; the slave metering device is used for acquiring output signal parameters of the output end in the time period of replacing the electric energy meter; the time period for replacing the electric energy meter is the time period from the beginning of disconnecting the passage between the output end and the slave metering device to the time period from the beginning of connecting all the passages between the output end and the slave metering device;

the main metering device comprises a processor and a memory, the memory stores a computer program, and the processor realizes the following steps when executing the computer program:

and acquiring the output power of the output end according to the output signal parameters, acquiring the input power of the input end in the time period of replacing the electric energy meter, and determining the electric quantity to be supplemented for replacing the electric energy meter by the loop to be tested by adopting the input power of the input end and the output power of the output end.

In one embodiment, each phase between the output end and the slave metering device corresponds to one group of output signal parameters, each group of output signal parameters comprises output voltage and output current with the same sampling time, and the processor executes the computer program to realize the following steps:

reading at least one group of output voltage and output current from the output signal parameters corresponding to each phase of circuit in a preset reading period; performing product operation on each group of output voltage and output current to obtain output power corresponding to each phase of circuit; and carrying out summation operation on the output power with the same sampling time corresponding to the output signal parameter to obtain the output power of the output end.

In one embodiment, the processor, when executing the computer program, performs the steps of:

sampling input signals on each type of passage between the input end and the main metering device by a preset sampling period to obtain at least one group of input signal parameters; each output signal parameter comprises input current and input voltage which are the same at the sampling moment; performing product operation on each group of input voltage and input current in the period of replacing the electric energy meter to obtain the corresponding input power of each phase of circuit; and carrying out summation operation on the input power with the same sampling time corresponding to the input signal parameter to obtain the input power of the input end.

In one embodiment, the processor, when executing the computer program, performs the steps of:

summing the product of each output power and a preset sampling period to obtain input electric quantity; and determining the electric quantity to be supplemented according to the output electric quantity and the input electric quantity.

In one embodiment, the processor, when executing the computer program, performs the steps of:

and subtracting the output electric quantity from the input electric quantity to obtain the electric quantity to be supplemented.

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:

and acquiring the output power of the output end according to the output signal parameters, acquiring the input power of the input end in the time period of replacing the electric energy meter, and determining the electric quantity to be supplemented for replacing the electric energy meter by the loop to be tested by adopting the input power of the input end and the output power of the output end.

In one embodiment, each phase between the output terminal and the slave metering device corresponds to a set of output signal parameters, each set of output signal parameters including an output voltage and an output current at the same sampling time, and the computer program when executed by the processor further implements the steps of:

reading at least one group of output voltage and output current from the output signal parameters corresponding to each phase of circuit in a preset reading period; performing product operation on each group of output voltage and output current to obtain output power corresponding to each phase of circuit; and carrying out summation operation on the output power with the same sampling time corresponding to the output signal parameter to obtain the output power of the output end.

In one embodiment, the computer program when executed by the processor further performs the steps of:

sampling input signals on each type of passage between the input end and the main metering device by a preset sampling period to obtain at least one group of input signal parameters; each output signal parameter comprises input current and input voltage which are the same at the sampling moment; performing product operation on each group of input voltage and input current in the period of replacing the electric energy meter to obtain the corresponding input power of each phase of circuit; and carrying out summation operation on the input power with the same sampling time corresponding to the input signal parameter to obtain the input power of the input end.

In one embodiment, the computer program when executed by the processor further performs the steps of:

summing the product of each output power and a preset sampling period to obtain input electric quantity; and determining the electric quantity to be supplemented according to the output electric quantity and the input electric quantity.

In one embodiment, the computer program when executed by the processor further performs the steps of:

and subtracting the output electric quantity from the input electric quantity to obtain the electric quantity to be supplemented.

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 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 concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种单相谐波数据丢失的修复方法及系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!