Metering error compensation method and device based on post-stage load of electric energy meter
By obtaining configuration parameters and relay status from the electricity meter to calculate capacitive reactive power, and only performing compensation under power supply conditions, the problem of metering error in downstream loads of the electricity meter is solved, improving metering accuracy and chip lifespan.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HEXING ELECTRICAL CO LTD
- Filing Date
- 2025-12-25
- Publication Date
- 2026-05-01
AI Technical Summary
In smart grids, metering errors caused by capacitive reactive current in downstream loads of electricity meters exceed standard limits, affecting the accuracy of power factor assessment and reactive power compensation strategies.
By acquiring the configuration parameters and relay physical state from the energy meter's memory, capacitive reactive power is calculated, and reactive power bias compensation is performed on the metering chip. Compensation is only performed on the downstream load capacitor when the power is on, avoiding ineffective compensation when the power is off.
It improves the accuracy of power factor assessment and reactive power compensation strategies, reduces unnecessary register write operations, extends chip lifespan, and reduces communication load.
Smart Images

Figure CN121955858A_ABST
Abstract
Description
A method and device for metering error compensation based on downstream load of electricity meter Technical Field
[0001] This invention relates to the field of electricity metering technology, and in particular to a metering error compensation method, device, electronic device, and storage medium based on the downstream load of an electricity meter. Background Technology
[0002] With the rapid development of smart grids and Advanced Metering Infrastructure (AMI), smart meters have been widely used in residential and commercial applications. They not only enable remote automatic meter reading but also support real-time monitoring of electricity consumption, time-of-use billing, and load control. In household electricity scenarios, the Customer Interface Unit (CIU), as a crucial interaction terminal between the user and the smart meter, typically communicates with the meter via Power Line Communication (PLC) to acquire real-time electricity consumption data such as voltage, current, power, and energy, and provide users with visualized information.
[0003] It is worth noting that, to meet the requirements of load control functions, i.e., after the load downstream of the energy meter is disconnected (e.g., the relay is disconnected), the CIU still needs to maintain communication with the energy meter through the PLC. This means the matching capacitor in the PLC coupling circuit must be placed downstream of the energy meter (i.e., at the user's outgoing line). This results in an additional fixed capacitive load (typically a 10-470 nF safety capacitor) being connected to the energy meter's metering circuit under no-load or light-load conditions. This capacitor introduces capacitive reactive current. For high-precision single-phase or three-phase energy meters (e.g., Class 1 or Class 0.5S), the systematic metering deviation caused by this capacitor may lead to reactive energy metering errors exceeding standard limits (e.g., IEC 62053-23 or GB / T17215 series), thereby affecting the accuracy of power factor assessment, reactive power compensation strategies, and transformer area line loss analysis. Summary of the Invention
[0004] To address the problems existing in the prior art, this specification describes a metering error compensation method, device, electronic device, and storage medium based on the downstream load of an electricity meter through one or more embodiments.
[0005] According to the first aspect, a metering error compensation method based on the downstream load of an electricity meter is provided, the method comprising:
[0006] The system acquires configuration parameters, physical states of relays, and metering data for each phase that are preset in the energy meter's memory. The physical states of the relays include open and closed states.
[0007] If the relay is in the open state, the reactive power compensation value of the metering circuit is set to zero and then sent to the metering chip. If the relay is in the closed state, the capacitive reactive power is calculated based on the configuration parameters in the energy meter's memory and the metering data of each phase, and the capacitive reactive power is sent to the metering chip.
[0008] Reactive power bias compensation is performed based on the data received by the metering chip.
[0009] Preferably, the configuration parameters in the energy meter's memory include a matching capacitor value and a metering circuit compensation frame. The matching capacitor value represents the capacitance value of the capacitor connected to the downstream stage of the energy meter, and the metering circuit compensation frame is used to identify the metering circuit to be compensated by the energy meter.
[0010] Preferably, the metering circuit compensation frame includes multiple identifier bits, which correspond to the metering circuit of the energy meter.
[0011] Preferably, the metering data for each phase includes the corresponding voltage value, and the calculation of capacitive reactive power based on the configuration parameters in the energy meter's memory and the metering data for each phase includes:
[0012] The corresponding metering circuit is selected based on the metering circuit compensation frame, and the corresponding voltage value is selected based on the selected metering circuit.
[0013] The grid frequency is obtained, and the capacitive reactive power is calculated based on the grid frequency, the selected voltage value, and the matching capacitor value.
[0014] Preferably, the reactive power bias compensation based on the data received by the metering chip includes:
[0015] Obtain the stored value of the reactive power bias compensation register, compare the data received by the metering chip with the stored value of the reactive power bias compensation register, and if the two are not equal, replace the stored value of the reactive power bias compensation register with the data received by the metering chip.
[0016] Preferably, the reactive power bias compensation based on the data received by the metering chip further includes:
[0017] If the data received by the metering chip is equal to the stored value of the reactive power bias compensation register, then the stored value of the reactive power bias compensation register is maintained.
[0018] Preferably, the metering data for each phase also includes the corresponding voltage, current, active power, reactive power, and apparent power.
[0019] According to a second aspect, a metering error compensation device based on the downstream load of an electricity meter is provided, the device comprising:
[0020] The compensation judgment module is used to obtain the configuration parameters, physical state of the relays, and metering data of each phase preset in the energy meter's memory. The physical state of the relays includes open and closed states.
[0021] The compensation value calculation module is used to set the reactive power compensation value of the metering circuit to zero and send it to the metering chip if the relay is in the open state, and to calculate the capacitive reactive power based on the configuration parameters in the energy meter memory and the metering data of each phase if the relay is in the closed state, and to send the capacitive reactive power to the metering chip.
[0022] The compensation module is used to perform reactive power bias compensation based on the data received by the metering chip.
[0023] According to a third aspect, an electronic device is provided, including a processor and a memory;
[0024] The processor is connected to the memory;
[0025] The memory is used to store executable program code;
[0026] The processor runs a program corresponding to the executable program code stored in the memory to perform the steps of the method provided as in the first aspect or any possible implementation thereof.
[0027] According to a fourth aspect, a computer-readable storage medium is provided having a computer program stored thereon, the computer-readable storage medium storing instructions that, when executed on a computer or processor, cause the computer or processor to perform the method provided as in the first aspect or any possible implementation thereof.
[0028] The beneficial effects of this invention are as follows:
[0029] 1. The methods and apparatus provided in the embodiments of this specification, by using the physical state of the relay as the basis for determining compensation enable, can more intuitively reflect the power consumption on the user side. They only compensate the capacitor of the downstream load when the power is on, thereby avoiding ineffective compensation of the unloaded capacitor when the power is off, and improving the accuracy of power factor assessment, reactive power compensation strategy and transformer area line loss analysis.
[0030] 2. The method and apparatus provided in the embodiments of this specification support the configuration of single-phase and three-phase meters by setting matching capacitor values and metering circuit compensation frames in the energy meter. The metering circuit compensation frames control whether the reactive power compensation function is enabled in each phase metering circuit, thereby supporting the configuration of single-phase and three-phase meters. It has strong versatility and can adapt to different application scenarios.
[0031] 3. The method and apparatus provided in the embodiments of this specification, after calculating the capacitive reactive power, if the stored value in the reactive power compensation bias compensation register is equal to the calculated capacitive reactive power, then the stored value in the reactive power compensation bias compensation register is not updated, thereby reducing unnecessary register write operations, extending chip life, and reducing communication load. Attached Figure Description
[0032] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0033] Figure 1 is a flowchart illustrating a metering error compensation method based on the downstream load of an electricity meter in a specific implementation of this specification.
[0034] Figure 2 is a schematic diagram of a metering error compensation device based on the downstream load of an electricity meter in a specific implementation of this specification.
[0035] Figure 3 is a schematic diagram of the structure of an electronic device in a specific implementation of this specification. Detailed Implementation
[0036] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0037] In the following description, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance. The following description provides multiple embodiments of this application, which can be substituted or combined with each other. Therefore, this application can also be considered to include all possible combinations of the same and / or different embodiments described. Thus, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then this application should also be considered to include embodiments containing one or more other possible combinations of A, B, C, and D, even if such embodiments are not explicitly described in the following text.
[0038] The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made to the function and arrangement of the described elements without departing from the scope of this application. Various processes or components may be appropriately omitted, substituted, or added to the examples. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Furthermore, features described with respect to some examples may be combined into other examples.
[0039] Referring to Figure 1, Figure 1 is a schematic flowchart of a metering error compensation method based on the downstream load of an electricity meter provided in an embodiment of this application. In this embodiment, the method includes:
[0040] S101. Obtain the configuration parameters, physical state of the relay, and metering data of each phase preset in the energy meter's memory. The physical state of the relay includes open and closed states.
[0041] S102. If the relay is in the open state, the reactive power compensation value of the metering circuit is set to zero and then sent to the metering chip. If the relay is in the closed state, the capacitive reactive power is calculated based on the configuration parameters in the energy meter memory and the metering data of each phase, and the capacitive reactive power is sent to the metering chip.
[0042] S103. Perform reactive power bias compensation based on the data received by the metering chip.
[0043] The implementing entity of this application can be the control chip of an electricity meter.
[0044] In the embodiments described in this specification, configuration parameters preset in the non-volatile memory of the energy meter are first obtained. Then, the physical state of the relay is obtained, including whether the relay is open or closed. Finally, the metering data of each phase is obtained from the underlying metering drive module, i.e., the metering chip of the energy meter. If the relay is in the open state, it indicates that the user-side load is cut off. In this case, the reactive power compensation value of the metering circuit is set to zero, and the compensation value of the metering circuit is sent to the metering chip. If the relay is in the closed state, it indicates that the user-side is energized. In this case, the capacitive reactive power is calculated based on the configuration parameters in the energy meter's memory and the metering data of each phase, and then the capacitive reactive power is sent to the metering chip. The metering chip receives zero or capacitive reactive power based on the physical state of the relay and performs reactive power bias compensation. In this application, by using the physical state of the relay as the basis for determining compensation enable, the power consumption situation on the user side can be reflected more intuitively. The capacitor of the downstream load is compensated only when the power is on, thereby avoiding ineffective compensation of the unloaded capacitor when the power is off, and improving the accuracy of power factor assessment, reactive power compensation strategy and transformer area line loss analysis.
[0045] In one possible implementation, the configuration parameters in the non-volatile memory of the energy meter include a matching capacitor value and a metering loop compensation frame. Both the matching capacitor value and the metering loop compensation frame are stored in a non-volatile register. The matching capacitor value represents the capacitance value of the capacitor connected to the downstream stage of the energy meter, that is, it is used to characterize the nominal capacity of the X2 safety capacitor connected to the downstream stage of the energy meter in the PLC communication coupling circuit. The metering loop compensation frame is used to represent the metering loop to be compensated by the energy meter and to control whether the reactive power compensation function of each phase metering loop is enabled. This application supports the configuration of single-phase and three-phase energy meters by setting a matching capacitor value and a metering loop compensation frame in the energy meter, and the metering loop compensation frame controls whether the reactive power compensation function of each phase metering loop is enabled. It has strong versatility and can adapt to different application scenarios.
[0046] Furthermore, the metering circuit compensation frame includes multiple flag bits, which correspond to the metering circuit of the energy meter. For example, the 0th bit (BIT0) indicates whether compensation is enabled for the A-phase metering circuit, the 1st bit (BIT1) indicates whether compensation is enabled for the B-phase metering circuit, and the 2nd bit (BIT2) indicates whether compensation is enabled for the C-phase metering circuit.
[0047] In one possible implementation, the metering data for each phase includes corresponding voltage, current, active power, reactive power, and apparent power. Calculating the capacitive reactive power based on the configuration parameters in the energy meter's memory and the metering data for each phase includes: first, selecting the metering circuit to be compensated according to the metering circuit compensation frame; then, selecting the corresponding voltage value according to the selected metering circuit; then, obtaining the grid frequency; and finally, calculating the capacitive reactive power according to the grid frequency, the selected voltage value, and the matching capacitor value using a first calculation formula. The first calculation formula is:
[0048] in, Capacitive reactive power, For the power grid frequency, To match the capacitor value, U is the selected voltage value.
[0049] In one possible implementation, reactive power bias compensation based on the data received by the metering chip includes: the metering chip receives zero or capacitive reactive power according to the physical state of the relay, then reads the stored value in the reactive power compensation bias compensation register, compares the stored value in the reactive power compensation bias compensation register with the data value received by the metering chip, and if the two are not equal, replaces the stored value in the reactive power bias compensation register with the data received by the metering chip (i.e., zero or calculated capacitive reactive power).
[0050] Furthermore, if the data received by the metering chip is equal to the stored value of the reactive power bias compensation register, the original value is maintained. In this application, after calculating the capacitive reactive power, if the stored value in the reactive power compensation bias compensation register is equal to the calculated capacitive reactive power, the stored value in the reactive power compensation bias compensation register is not updated, thereby reducing unnecessary register write operations, extending chip life, and reducing communication load.
[0051] The metering error compensation device based on the downstream load of the electricity meter provided in this application will be described in detail below with reference to Figure 2. It should be noted that the metering error compensation device based on the downstream load of the electricity meter shown in Figure 2 is used to execute the method of the embodiment shown in Figure 1 of this application. For ease of explanation, only the parts related to the embodiment of this application are shown. For specific technical details not disclosed, please refer to the embodiment shown in Figure 1 of this application.
[0052] Please refer to Figure 2, which is a schematic diagram of the metering error compensation device based on the downstream load of the electricity meter provided in an embodiment of this application. As shown in Figure 2, the device includes:
[0053] The compensation judgment module 201 is used to obtain the configuration parameters, physical state of the relay and metering data of each phase preset in the energy meter memory. The physical state of the relay includes open and closed.
[0054] The compensation value calculation module 202 is used to set the reactive power compensation value of the metering circuit to zero and send it to the metering chip if the relay is in the open state, and to calculate the capacitive reactive power based on the configuration parameters in the energy meter memory and the metering data of each phase if the relay is in the closed state, and to send the capacitive reactive power to the metering chip.
[0055] The compensation module 203 is used to perform reactive power bias compensation based on the data received by the metering chip.
[0056] In one possible implementation, the compensation determination module 201 is specifically used for:
[0057] The configuration parameters in the energy meter's memory include a matching capacitor value and a metering circuit compensation frame. The matching capacitor value represents the capacitance value of the capacitor connected to the downstream stage of the energy meter, and the metering circuit compensation frame is used to identify the metering circuit to be compensated by the energy meter.
[0058] In one possible implementation, the compensation determination module 201 is specifically used for:
[0059] The metering circuit compensation frame includes multiple identifier bits, which correspond to the metering circuit of the energy meter.
[0060] In one possible implementation, the compensation value calculation module 202 is specifically used for: the metering data for each phase including corresponding voltage values, and the calculation of capacitive reactive power based on the configuration parameters in the energy meter's memory and the metering data for each phase including:
[0061] The corresponding metering circuit is selected based on the metering circuit compensation frame, and the corresponding voltage value is selected based on the selected metering circuit.
[0062] The grid frequency is obtained, and the capacitive reactive power is calculated based on the grid frequency, the selected voltage value, and the matching capacitor value.
[0063] In one possible implementation, the compensation module 203 is specifically used for:
[0064] Obtain the stored value of the reactive power bias compensation register, compare the data received by the metering chip with the stored value of the reactive power bias compensation register, and if the two are not equal, replace the stored value of the reactive power bias compensation register with the data received by the metering chip.
[0065] In one possible implementation, the compensation module 203 is specifically used for:
[0066] If the data received by the metering chip is equal to the stored value of the reactive power bias compensation register, then the stored value of the reactive power bias compensation register is maintained.
[0067] In one possible implementation, the compensation determination module 201 is specifically used for:
[0068] The metering data for each phase also includes the corresponding voltage, current, active power, reactive power, and apparent power.
[0069] Those skilled in the art will clearly understand that the technical solutions of the embodiments of this application can be implemented by means of software and / or hardware. In this specification, "unit" and "module" refer to software and / or hardware that can independently complete or cooperate with other components to complete a specific function, wherein the hardware may be, for example, a field-programmable gate array (FPGA), an integrated circuit (IC), etc.
[0070] Each processing unit and / or module in the embodiments of this application can be implemented by an analog circuit that implements the functions described in the embodiments of this application, or by software that executes the functions described in the embodiments of this application.
[0071] Referring to Figure 3, which shows a schematic diagram of the structure of an electronic device according to an embodiment of this application, the electronic device can be used to implement the method in the embodiment shown in Figure 1. As shown in Figure 3, the electronic device 300 may include: at least one central processing unit 301, at least one network interface 304, a user interface 303, a memory 305, and at least one communication bus 302.
[0072] The communication bus 302 is used to enable communication between these components.
[0073] The user interface 303 may include a display screen and a camera. Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.
[0074] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).
[0075] The central processing unit 301 may include one or more processing cores. The central processing unit 301 connects to various parts within the electronic device 300 using various interfaces and lines. It executes various functions of the terminal 300 and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 305, and by calling data stored in the memory 305. Optionally, the central processing unit 301 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The central processing unit 301 may integrate one or more of the following: a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also be implemented as a separate chip without being integrated into the central processing unit 301.
[0076] The memory 305 may include random access memory (RAM) or read-only memory. Optionally, the memory 305 may include a non-transitory computer-readable storage medium. The memory 305 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 305 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), instructions for implementing the various method embodiments described above, etc.; the data storage area may store data involved in the various method embodiments described above, etc. Optionally, the memory 305 may also be at least one storage device located remotely from the aforementioned central processing unit 301. As shown in FIG3, the memory 305, as a computer storage medium, may include an operating system, a network communication module, a user interface module, and program instructions.
[0077] In the electronic device 300 shown in Figure 3, the user interface 303 is mainly used to provide an input interface for the user and to obtain the user's input data; while the central processing unit 301 can be used to call the application program stored in the memory 305 and specifically perform the following operations:
[0078] S101. Obtain the configuration parameters, physical state of the relay, and metering data of each phase preset in the energy meter's memory. The physical state of the relay includes open and closed states.
[0079] S102. If the relay is in the open state, the reactive power compensation value of the metering circuit is set to zero and then sent to the metering chip. If the relay is in the closed state, the capacitive reactive power is calculated based on the configuration parameters in the energy meter memory and the metering data of each phase, and the capacitive reactive power is sent to the metering chip.
[0080] S103. Perform reactive power bias compensation based on the data received by the metering chip.
[0081] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method. The computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, DVDs, CD-ROMs, microdrives, as well as magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.
[0082] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0083] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0084] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some service interface; the indirect coupling or communication connection between devices or units may be electrical or other forms.
[0085] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0086] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0087] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0088] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
[0089] The foregoing description is merely an exemplary embodiment of this disclosure and should not be construed as limiting the scope of this disclosure. Any equivalent changes and modifications made in accordance with the teachings of this disclosure shall still fall within the scope of this disclosure. Those skilled in the art will readily conceive of embodiments of this disclosure upon considering the specification and practicing the disclosure herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not described herein. The specification and embodiments are to be considered exemplary only, and the scope and spirit of this disclosure are defined by the claims.
Claims
1. A method for compensating metering errors based on downstream loads of an electricity meter, characterized in that, The method includes: acquiring configuration parameters, physical states of relays, and metering data for each phase preset in the energy meter's memory, wherein the physical states of the relays include open and closed states; if the relay is in an open state, setting the reactive power compensation value of the metering circuit to zero and sending it to the metering chip; if the relay is in a closed state, calculating the capacitive reactive power based on the configuration parameters in the energy meter's memory and the metering data for each phase, and sending the capacitive reactive power to the metering chip; and performing reactive power bias compensation based on the data received by the metering chip.
2. The metering error compensation method based on the downstream load of the electricity meter according to claim 1, characterized in that, The configuration parameters in the energy meter's memory include a matching capacitor value and a metering circuit compensation frame. The matching capacitor value represents the capacitance value of the capacitor connected to the downstream stage of the energy meter, and the metering circuit compensation frame is used to identify the metering circuit to be compensated by the energy meter.
3. The metering error compensation method based on the downstream load of the electricity meter according to claim 2, characterized in that, The metering circuit compensation frame includes multiple identifier bits, which correspond to the metering circuit of the energy meter.
4. The metering error compensation method based on the downstream load of the electricity meter according to claim 3, characterized in that, The metering data for each phase includes the corresponding voltage values. The calculation of capacitive reactive power based on the configuration parameters in the energy meter's memory and the metering data for each phase includes: selecting the corresponding metering circuit based on the metering circuit compensation frame, selecting the corresponding voltage value based on the selected metering circuit; obtaining the grid frequency, and calculating the capacitive reactive power based on the grid frequency, the selected voltage value, and the matching capacitor value.
5. The metering error compensation method based on the downstream load of the electricity meter according to claim 1, characterized in that, The reactive power bias compensation based on the data received by the metering chip includes: obtaining the stored value of the reactive power bias compensation register, comparing the data received by the metering chip with the stored value of the reactive power bias compensation register, and if the two are not equal, replacing the stored value of the reactive power bias compensation register with the data received by the metering chip.
6. The metering error compensation method based on the downstream load of the electricity meter according to claim 5, characterized in that, The reactive power bias compensation based on the data received by the metering chip further includes: if the data received by the metering chip is equal to the stored value of the reactive power bias compensation register, then the stored value of the reactive power bias compensation register is maintained.
7. The metering error compensation method based on the downstream load of the electricity meter according to claim 4, characterized in that, The metering data for each phase also includes the corresponding voltage, current, active power, reactive power, and apparent power.
8. A metering error compensation device based on the downstream load of an electricity meter, characterized in that, The device includes: a compensation judgment module for acquiring configuration parameters, the physical state of relays, and phase metering data preset in the energy meter's memory, wherein the physical state of the relays includes open and closed states; a compensation value calculation module for setting the reactive power compensation value of the metering circuit to zero and sending it to the metering chip if the relay is in an open state, and calculating the capacitive reactive power based on the configuration parameters in the energy meter's memory and the phase metering data if the relay is in a closed state, and sending the capacitive reactive power to the metering chip; and a compensation module for performing reactive power bias compensation based on the data received by the metering chip.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1-7.
10. A computer-readable storage medium having a computer program stored thereon, the computer-readable storage medium storing instructions that, when executed on a computer or processor, cause the computer or processor to perform the steps of the method as claimed in any one of claims 1-7.