Error compensation method, device and equipment of electric energy meter and medium

By acquiring and analyzing the full-wave and fundamental currents and power of the current transformer in real time, judging the existence of DC and even harmonics, and determining the compensation value based on the full-wave current, the problem of metering error of the power meter is solved, and higher metering accuracy and cost reduction are achieved.

CN119716719AInactive Publication Date: 2025-03-28HANGZHOU XILI INTELLIGENT TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510180296.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-19
Publication Date
2025-03-28
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the load of the power grid, the presence of DC and even harmonics leads to saturation of the internal magnetic field of the power meter, reducing the conversion efficiency, affecting the measurement accuracy, and causing large measurement errors.

Method used

By obtaining the full-wave current, fundamental current, full-wave active power and fundamental-wave active power corresponding to the second current on the secondary side of the current transformer in real time, we judge whether there are DC and even harmonics, and determine the compensation value based on the full-wave current, and correct the power metering value to improve the metering accuracy.

Benefits of technology

It effectively reduces the metering error of the power meter, so that it can resist DC and even harmonics, improves metering accuracy, and does not need to replace the transformer that resists DC components, reducing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119716719A_ABST
    Figure CN119716719A_ABST
Patent Text Reader

Abstract

The invention discloses an error compensation method and device for an electric energy meter, equipment and a medium. The error compensation method for the electric energy meter comprises the steps that full-wave current, fundamental current, full-wave active power and fundamental active power corresponding to second current are acquired in real time; according to the full-wave current, the fundamental wave current, the full-wave active power and the fundamental wave active power, whether direct current and even harmonic exist in the second current or not is judged; if yes, determining a current compensation value according to the full-wave current; and determining a power metering value of the electric energy meter according to the current compensation value, the full-wave current and the full-wave voltage. According to the technical scheme provided by the invention, the metering accuracy of the electric energy meter can be improved, the electric energy meter can resist direct current and even harmonic, and the metering error of the electric energy meter is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric energy metering, and in particular to an error compensation method, device, equipment and medium for an electric energy meter. Background Art

[0002] With the increase of nonlinear loads on the load side of the power system, the current waveform on the load side may produce serious waveform distortion. At this time, the current waveform on the load side will contain a large number of harmonics and even DC components. This operating condition is called DC and even harmonic operating condition.

[0003] In the power grid load, the most common harmonics are odd harmonics. Traditional harmonic control is mainly aimed at odd harmonics. DC even harmonics are not common in general electrical equipment. However, there are more and more types of electrical equipment now, and DC even harmonics are also increasing. They are commonly found in arc-type equipment, electromagnetic saturation equipment, electronic switching equipment, etc., such as various steelmaking equipment, arc welding machines, reactors, various AC / DC conversion devices (rectifiers, inverters) and thyristor-controlled switching equipment. In addition, hair dryers and chargers for two-wheeled electric vehicles commonly used in our homes also contain DC and even harmonics.

[0004] When the DC and even harmonic components pass through the current transformer inside the energy meter, a fixed magnetic field will be generated inside the energy meter, causing the coil to reach saturation, reducing the conversion efficiency, and directly affecting the ratio difference and angle difference of the transformer, causing the secondary side waveform to be distorted, resulting in a large measurement error. Therefore, how to determine whether there are DC and even harmonics in the current of the energy meter, and how to ensure the measurement accuracy of the energy meter when DC and even harmonics are present have become technical problems that need to be solved urgently. Summary of the invention

[0005] The present invention provides an error compensation method, device, equipment and medium for an electric energy meter, which can improve the measurement accuracy of the electric energy meter, enable the electric energy meter to resist direct current and even harmonics, and reduce the measurement error of the electric energy meter.

[0006] In a first aspect, the present invention provides an error compensation method for an electric energy meter, wherein the electric energy meter includes at least one current transformer, and the current transformer is used to convert a first current on a primary side into a second current on a secondary side; the error compensation method for the electric energy meter includes:

[0007] acquiring in real time the full-wave current, fundamental-wave current, full-wave active power and fundamental-wave active power corresponding to the second current;

[0008] According to the full-wave current, the fundamental current, the full-wave active power and the fundamental active power, determining whether direct current and even harmonics exist in the second current;

[0009] If yes, determining a current compensation value according to the full-wave current;

[0010] The power measurement value of the electric energy meter is determined according to the current compensation value, the full-wave current and the full-wave voltage.

[0011] Optionally, judging whether direct current and even harmonics exist in the second current according to the full-wave current, the fundamental current, the full-wave active power and the fundamental active power includes:

[0012] Determining a current difference rate according to the full-wave current and the fundamental wave current; the current difference rate indicates the degree of difference between the full-wave current and the fundamental wave current;

[0013] Determining a power difference rate according to the full-wave active power and the fundamental wave active power; the power difference rate indicates the degree of difference between the full-wave active power and the fundamental wave active power;

[0014] Determining whether the current difference rate is within a first preset range, and whether the power difference rate is within a second preset range;

[0015] If so, it is determined that the direct current and even harmonics exist in the second current.

[0016] Optionally, determining a current difference rate according to the full-wave current and the fundamental current includes:

[0017] Taking the difference between the full-wave current and the fundamental current as the current difference;

[0018] The ratio of the current difference to the fundamental current is used as the current difference rate.

[0019] Optionally, determining a power difference rate according to the full-wave active power and the fundamental wave active power includes:

[0020] Taking the difference between the full-wave active power and the fundamental wave active power as the power difference;

[0021] The ratio of the power difference to the fundamental wave active power is used as the power difference rate.

[0022] Optionally, if the current difference rate is not within the first preset range, and / or the power difference rate is not within the second preset range, it is determined that the direct current and even harmonics do not exist in the second current.

[0023] Optionally, determining a current compensation value according to the full-wave current includes:

[0024] Based on the mapping relationship between current and compensation value, the compensation value corresponding to the full-wave current is used as the current compensation value.

[0025] Optionally, determining the power measurement value of the electric energy meter according to the current compensation value, the full-wave current and the full-wave voltage includes:

[0026] Determining a corrected phase angle according to the current compensation value and the current phase angle;

[0027] The power measurement value is determined based on the modified phase angle, the full-wave current and the full-wave voltage.

[0028] In a second aspect, the present invention provides an error compensation device for an electric energy meter, wherein the electric energy meter comprises at least one current transformer, wherein the current transformer is used to convert a first current on a primary side into a second current on a secondary side; the error compensation device comprises:

[0029] A parameter acquisition module, used for acquiring in real time the full-wave current, fundamental current, full-wave active power and fundamental active power corresponding to the second current;

[0030] a harmonic determination module, configured to determine whether direct current and even harmonics exist in the second current according to the full-wave current, the fundamental current, the full-wave active power and the fundamental active power;

[0031] A compensation value determination module, configured to determine a current compensation value according to the full-wave current when direct current and even harmonics exist in the second current;

[0032] The power metering value determination module is used to determine the power metering value of the electric energy meter according to the current compensation value, the full-wave current and the full-wave voltage.

[0033] In a third aspect, the present invention provides an electronic device, the electronic device comprising:

[0034] at least one processor; and

[0035] a memory communicatively connected to the at least one processor; wherein,

[0036] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the error compensation method for the electric energy meter described in the first aspect.

[0037] In a fourth aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the error compensation method for the electric energy meter described in the first aspect when executed.

[0038] The technical solution provided by the present invention obtains the full-wave current, fundamental current, full-wave active power and fundamental active power corresponding to the second current in real time, and determines that direct current and even harmonics exist in the second current according to the full-wave current, fundamental current, full-wave active power and fundamental active power, and compensates for the full-wave active power to improve the measurement accuracy of the electric energy meter, so that the electric energy meter can resist direct current and even harmonics, and reduce the measurement error of the electric energy meter. In addition, the solution can reduce the measurement error of the electric energy meter without replacing the mutual inductor that resists direct current components, and can reduce costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A flow chart of an error compensation method for an electric energy meter provided by an embodiment of the present invention;

[0040] Figure 2 A flowchart of another error compensation method for an electric energy meter provided by an embodiment of the present invention;

[0041] Figure 3 A schematic structural diagram of an error compensation device for an electric energy meter provided by an embodiment of the present invention;

[0042] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0043] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0044] Figure 1 A flowchart of an error compensation method for an electric energy meter provided in an embodiment of the present invention is applicable to the detection of direct current and even harmonics in the electric energy meter, and to the situation where the measurement value of the electric energy meter is compensated when the presence of direct current and even harmonics is detected. The method can be executed by the error compensation device of the electric energy meter provided in an embodiment of the present invention. The error compensation device of the electric energy meter can be implemented in the form of hardware and / or software, and the error compensation device of the electric energy meter can be integrated in the electric energy meter. The electric energy meter includes at least one current transformer, which is used to convert a first current on the primary side into a second current on the secondary side. Figure 1 As shown, the error compensation method of the electric energy meter includes:

[0045] S101. Acquire in real time the full-wave current, fundamental-wave current, full-wave active power and fundamental-wave active power corresponding to the second current.

[0046] Among them, the first current on the primary side of the current transformer is provided by the power grid, converted into the second current on the secondary side by the current transformer, and the second current is transmitted to the load end. Full-wave current refers to a current signal containing various frequency components, and the fundamental current represents the current signal corresponding to the lowest frequency (fundamental frequency) component in the second current. Full-wave active power refers to the second current containing various frequency components, and the average value of the integral of the instantaneous power emitted or consumed by the load in one cycle. Fundamental active power represents the average value of the integral of the instantaneous power emitted or consumed by the load in one cycle, corresponding to the fundamental current corresponding to the lowest frequency (fundamental frequency) component in the second current.

[0047] Specifically, the second current can be acquired in real time through the metering chip in the electric energy meter, and corresponding calculations can be performed on the second current to determine the full-wave current, fundamental current, full-wave active power and fundamental active power.

[0048] The full-wave current, fundamental-wave current, full-wave active power and fundamental-wave active power provided in the embodiments of the present invention are all effective values ​​corresponding to the parameters.

[0049] S102. Determine whether there is direct current and even harmonics in the second current according to the full-wave current, the fundamental current, the full-wave active power and the fundamental active power; if so, execute S103.

[0050] Specifically, the magnitude relationship between the full-wave current and the fundamental current, and the magnitude relationship between the full-wave active power and the fundamental active power can be compared, and the current difference between the full-wave current and the fundamental current, and the power difference between the full-wave active power and the fundamental active power can be calculated. If the ratio of the current difference to the fundamental current is within the first preset range, and the ratio of the power difference to the fundamental active power is within the second preset range, it is determined that there are direct current and even harmonics in the second current. According to the full-wave current, the fundamental current, the full-wave active power and the fundamental active power, there are other ways to determine whether there are direct current and even harmonics in the second current, which are not specifically limited here.

[0051] S103: Determine a current compensation value according to the full-wave current.

[0052] The current compensation value indicates the compensation amount for the full-wave active power and the fundamental wave active power.

[0053] Specifically, when direct current and even harmonics exist in the second current, the current compensation value can be obtained based on experiments or experience, and different full-wave currents correspond to different current compensation values, that is, the current compensation value is related to the current full-wave current and can be determined by a corresponding calculation formula or a corresponding chart, which is not specifically limited here. The current compensation value may include a phase angle compensation value, etc.

[0054] The current compensation value corresponding to the current full-wave current can be determined based on the full-wave current in the current second current, so that after the full-wave active power is subsequently compensated according to the current compensation value, the measurement accuracy of the electric energy meter can be improved.

[0055] Optionally, the current compensation value is determined according to the full-wave current, including taking the compensation value corresponding to the full-wave current as the current compensation value based on a mapping relationship between the current and the compensation value.

[0056] The mapping relationship may be a curve diagram of current and compensation value or a corresponding table of current and compensation value, etc., which may be obtained through experiments or experience. The compensation value includes positive and negative numbers.

[0057] Specifically, when the mapping relationship is a curve graph of current and compensation value, after obtaining the full-wave current, the curve graph of current and compensation value can be directly compared, and the compensation value corresponding to the full-wave current on the curve graph can be used as the current compensation value. Alternatively, when the mapping relationship is a corresponding table of current and compensation value, after obtaining the full-wave current, the table can be directly looked up to obtain the compensation value corresponding to the full-wave current, and the compensation value can be determined as the current compensation value.

[0058] It should be noted that a memory may be set in the electric energy meter, and a power phase correction register may be set in the metering chip in the electric energy meter, and the mapping relationship between the current and the compensation value may be stored in the memory so as to obtain the mapping relationship between the current and the compensation value from the memory. The corresponding current compensation value may be written to the power phase correction register, and the full-wave active power may be compensated through the power phase correction register.

[0059] S104: Determine the power measurement value of the electric energy meter according to the current compensation value, the full-wave current and the full-wave voltage.

[0060] Specifically, the current compensation value can be used to correct the full-wave active power, and the corrected power value can be used as the power measurement value of the electric energy meter. Since there are DC and even harmonics in the second current, the second current has waveform distortion, resulting in errors in the power measurement value (full-wave active power) directly determined based on the full-wave current. Therefore, the current compensation value can be used to correct the full-wave active power, and the corrected power value can be used as the power measurement value of the electric energy meter to compensate for the errors caused by DC and even harmonics, thereby improving the measurement accuracy of the power measurement value and reducing the measurement error of the electric energy meter. Optionally, the current compensation value is the current power phase compensation value. According to the current power phase compensation value and the current phase angle, the accurate power factor cosφ is obtained. The full-wave voltage, full-wave current, and power factor cosφ are multiplied to obtain the corrected full-wave active power. The corrected full-wave active power is the power measurement value of the electric energy meter.

[0061] Optionally, the power measurement value of the electric energy meter is determined based on the current compensation value, full-wave current and full-wave voltage, including: determining a corrected phase angle based on the current compensation value and the current phase angle; determining the power measurement value based on the corrected phase angle, full-wave current and full-wave voltage.

[0062] The current compensation value may be a phase angle compensation value. The corrected phase angle refers to the phase angle after the current phase angle is compensated.

[0063] Specifically, the sum of the current compensation value and the current phase angle is used as the corrected phase angle φ. According to the corrected phase angle φ, the corrected power factor cosφ is determined, and the product of the corrected power factor cosφ, the full-wave current and the full-wave voltage is used as the power measurement value to improve the measurement accuracy of the electric energy meter.

[0064] The technical solution of the embodiment of the present invention obtains the full-wave current, fundamental current, full-wave active power and fundamental active power corresponding to the second current in real time, and determines that direct current and even harmonics exist in the second current according to the full-wave current, fundamental current, full-wave active power and fundamental active power, and compensates for the full-wave active power to improve the measurement accuracy of the electric energy meter, so that the electric energy meter can resist direct current and even harmonics, and reduce the measurement error of the electric energy meter. In addition, this solution can reduce the measurement error of the electric energy meter without replacing the mutual inductor that resists direct current components, and can reduce costs.

[0065] Based on the above embodiments, the embodiments of the present invention illustrate the situation of judging whether direct current and even harmonics exist in the second current according to the full-wave current, fundamental current, full-wave active power and fundamental active power. Figure 2 A flowchart of another error compensation method for an electric energy meter provided by an embodiment of the present invention, such as Figure 2 As shown, the error compensation method of the electric energy meter includes:

[0066] S201. Acquire in real time the full-wave current, fundamental-wave current, full-wave active power and fundamental-wave active power corresponding to the second current.

[0067] S202. Determine the current difference rate according to the full-wave current and the fundamental-wave current.

[0068] The current difference rate indicates the difference between the full-wave current and the fundamental current.

[0069] Specifically, the full-wave current and the fundamental-wave current may be substituted into a calculation formula of the current difference rate for calculation, and the calculated result is used as the current difference rate.

[0070] Optionally, the current difference rate is determined based on the full-wave current and the fundamental current, including taking the difference between the full-wave current and the fundamental current as the current difference; and taking the ratio of the current difference to the fundamental current as the current difference rate.

[0071] Specifically, the current difference represents the absolute difference between the full-wave current and the fundamental current, the fundamental current is used as the reference value, and the ratio of the current difference to the fundamental current is used as the current difference rate, that is, the current difference rate represents the degree of difference between the full-wave current and the fundamental current. The larger the current difference rate, the greater the difference between the full-wave current and the fundamental current; the smaller the current difference rate, the smaller the difference between the full-wave current and the fundamental current. For example, the full-wave current is I2, the fundamental current is I1, and the current difference rate δ I = (I2-I1) / I1.

[0072] S203: Determine the power difference rate according to the full-wave active power and the fundamental wave active power.

[0073] The power difference rate indicates the difference between the full-wave active power and the fundamental wave active power.

[0074] Specifically, the full-wave active power and the fundamental wave active power may be substituted into a calculation formula of the power difference rate for calculation, and the calculated result is used as the power difference rate.

[0075] Optionally, the power difference rate is determined based on the full-wave active power and the fundamental wave active power, including taking the difference between the full-wave active power and the fundamental wave active power as the power difference; and taking the ratio of the power difference to the fundamental wave active power as the power difference rate.

[0076] Specifically, the power difference value represents the absolute difference between the full-wave active power and the fundamental wave active power. The fundamental wave active power is used as the reference value, and the ratio of the power difference value to the fundamental wave active power is used as the power difference rate. That is, the power difference rate represents the degree of difference between the full-wave active power and the fundamental wave active power. The larger the power difference rate, the greater the degree of difference between the full-wave active power and the fundamental wave active power; the smaller the power difference rate, the smaller the degree of difference between the full-wave active power and the fundamental wave active power. For example, the full-wave active power is P2, the fundamental wave active power is P1, and the power difference rate δ P = (P2-P1) / P1.

[0077] S204, determining whether the current difference rate is within a first preset range, and whether the power difference rate is within a second preset range; if so, executing S205.

[0078] Among them, the first preset range and the second preset range can be set according to the preparation parameters of the current transformer. In an optional embodiment, the first preset range is F1, 5%≤F1≤15%, and the second preset range is F2, -1%≤F2≤1%.

[0079] Specifically, when there is a fifth harmonic, a square-top wave or a peak-top wave in the second current, the full-wave current corresponding to the second current is greater than the fundamental current corresponding to the second current, and the full-wave active power is greater than the fundamental active power. When there are odd harmonics in the second current, the full-wave active power corresponding to the second current is close to or equal to the fundamental active power corresponding to the second current, the full-wave current corresponding to the second current is greater than the fundamental current, and the current difference rate between the full-wave current and the fundamental current is the second current difference rate. When there are interharmonics in the second current, the full-wave active power corresponding to the second current is close to or equal to the fundamental active power, the full-wave current corresponding to the second current is greater than the fundamental current, and the current difference rate between the full-wave current and the fundamental current is the third current difference rate. When there are direct current and even harmonics in the second current, the full-wave current corresponding to the second current is greater than the fundamental current, the fundamental active power is close to or equal to the full-wave active power, and the current difference rate between the full-wave current corresponding to the second current and the fundamental current is the first current difference rate. The first current difference rate, the second current difference rate and the third current difference rate are all different. Therefore, the types of harmonics present in the second current can be determined based on the current difference rate and the current values ​​of the power difference rate. If the current difference rate is within the first preset range and the power difference rate is also within the second preset range, it means that direct current and even harmonics exist in the second current. At this time, it is necessary to determine the current compensation value based on the full-wave current, and then compensate the full-wave active power, and use the compensated power value as the power measurement value of the electric energy meter to improve the measurement accuracy of the electric energy meter.

[0080] Optionally, if the current difference rate is not within the first preset range, and / or the power difference rate is not within the second preset range, it is determined that no direct current and no even harmonics exist in the second current.

[0081] Specifically, when the current difference rate is within the first preset range and the power difference rate is within the second preset range, one of the above two conditions is met, or both conditions are not met, indicating that there is no direct current and even harmonics in the second current. At this time, other harmonic types present in the second current can be determined based on the current difference rate and the power difference rate, so as to correct the power measurement value of the electric energy meter based on the other harmonic types, thereby improving the measurement accuracy of the electric energy meter.

[0082] It is understandable that the first preset range and the second preset range corresponding to different current transformers may slightly fluctuate or be different. Therefore, the same first preset range and the second preset range can be set for current transformers with the same preparation parameters, without the need to detect each current transformer separately, and then determine the first preset range and the second preset range of each current transformer, thereby reducing the determination process and time of the first preset range and the second preset range, improving the determination efficiency of the first preset range and the second preset range, and saving production costs.

[0083] S205: Determine whether direct current and even harmonics exist in the second current, and determine a current compensation value according to the full-wave current.

[0084] S206: Determine the power measurement value of the electric energy meter according to the current compensation value, the full-wave current and the full-wave voltage.

[0085] The technical solution of the embodiment of the present invention is to determine the current difference rate reflecting the difference between the full-wave current and the fundamental current by calculating the full-wave current and the fundamental current. The full-wave active power and the fundamental active power are calculated to determine the power difference rate reflecting the difference between the full-wave active power and the fundamental active power. Then, the relationship between the current difference rate and the first preset range and the relationship between the power difference rate and the second preset range are compared. When the current difference rate is within the first preset range and the power difference rate is within the second preset range, it is determined that there are direct current and even harmonics in the second current. In this way, only by judging the difference between the full-wave current and the fundamental current and the difference between the full-wave active power and the fundamental active power, the existence of direct current and even harmonics in the second current can be determined, and the simplicity and speed of judging direct current and even harmonics are improved, so that when direct current and even harmonics exist in the second current, the full-wave active power on the second current side can be compensated in time, and the measurement accuracy of the electric energy meter is improved.

[0086] It is understandable that the electric energy meter may include one current transformer or three current transformers to respectively realize the electric energy metering of single-phase electric energy or three-phase electric energy, and can be set according to actual needs. When the electric energy meter includes only one current transformer, the error compensation method provided in the embodiment of the present invention can be used to detect and compensate the second current of the current transformer to reduce the metering error of the electric energy meter. When the electric energy meter includes three current transformers, the error compensation method provided in the embodiment of the present invention can be used for each current transformer to detect and compensate the three-phase full-wave active power of the electric energy meter to reduce the metering error of the electric energy meter.

[0087] Based on the same inventive concept, the present invention also provides an error compensation device for an electric energy meter. The error compensation device for the electric energy meter can be implemented in the form of hardware and / or software and can be integrated into the electric energy meter. The electric energy meter includes at least one current transformer, which is used to convert a first current on the primary side into a second current on the secondary side. Figure 3 A schematic diagram of the structure of an error compensation device for an electric energy meter provided by an embodiment of the present invention is shown in FIG. Figure 3 As shown, the error compensation device of the electric energy meter includes:

[0088] A parameter acquisition module 10, used for acquiring in real time the full-wave current, fundamental current, full-wave active power and fundamental active power corresponding to the second current;

[0089] A harmonic determination module 20, for determining whether there are direct current and even harmonics in the second current according to the full-wave current, the fundamental current, the full-wave active power and the fundamental active power;

[0090] A compensation value determination module 30, for determining a current compensation value according to the full-wave current when direct current and even harmonics exist in the second current;

[0091] The power metering value determination module 40 is used to determine the power metering value of the electric energy meter according to the current compensation value, the full-wave current and the full-wave voltage.

[0092] The error compensation device of the electric energy meter provided in the embodiment of the present invention can execute the error compensation method of the electric energy meter provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. The similarities can be referred to the above description.

[0093] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention is shown in FIG. Figure 4 As shown, electronic devices are intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.

[0094] like Figure 4 As shown, the electronic device includes at least one processor 11, and a memory connected to the at least one processor 11 in communication, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, ROM 12 and RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0095] A number of components in the electronic device are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0096] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the error compensation method of the electric energy meter.

[0097] In some embodiments, the error compensation method of the electric energy meter can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the error compensation method of the electric energy meter described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the error compensation method of the electric energy meter in any other appropriate manner (for example, by means of firmware).

[0098] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0099] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0100] An embodiment of the present invention further provides a computer-readable storage medium, which stores computer instructions. The computer instructions are used to enable a processor to implement the error compensation method for the electric energy meter provided in the embodiment of the present invention when executed. The method has corresponding functional modules and beneficial effects, which will not be repeated here.

[0101] Computer readable storage media can be tangible media that can contain or store computer programs for use by or in conjunction with instruction execution systems, devices or equipment. Computer readable storage media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the above. Alternatively, computer readable storage media can be machine readable signal media. More specific examples of machine readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.

[0102] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, combinations and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A method for compensating an electric energy meter error, characterized in that: The electric energy meter comprises at least one current transformer, and the current transformer is used to convert a first current on a primary side into a second current on a secondary side; The error compensation method of the electric energy meter comprises: acquiring in real time the full-wave current, fundamental-wave current, full-wave active power and fundamental-wave active power corresponding to the second current; According to the full-wave current, the fundamental current, the full-wave active power and the fundamental active power, determining whether direct current and even harmonics exist in the second current; If yes, determining a current compensation value according to the full-wave current; The power measurement value of the electric energy meter is determined according to the current compensation value, the full-wave current and the full-wave voltage.

2. The error compensation method of the electric energy meter according to claim 1, characterized in that: Judging whether direct current and even harmonics exist in the second current according to the full-wave current, the fundamental current, the full-wave active power and the fundamental active power, comprising: Determining a current difference rate according to the full-wave current and the fundamental wave current; the current difference rate indicates the degree of difference between the full-wave current and the fundamental wave current; Determining a power difference rate according to the full-wave active power and the fundamental wave active power; the power difference rate indicates the degree of difference between the full-wave active power and the fundamental wave active power; Determining whether the current difference rate is within a first preset range, and whether the power difference rate is within a second preset range; If so, it is determined that the direct current and even harmonics exist in the second current.

3. The error compensation method of the electric energy meter according to claim 2, characterized in that: Determining a current difference rate according to the full-wave current and the fundamental current includes: Taking the difference between the full-wave current and the fundamental current as the current difference; The ratio of the current difference to the fundamental current is used as the current difference rate.

4. The error compensation method of the electric energy meter according to claim 2, characterized in that: Determining a power difference rate according to the full-wave active power and the fundamental wave active power includes: Taking the difference between the full-wave active power and the fundamental wave active power as the power difference; The ratio of the power difference to the fundamental wave active power is used as the power difference rate.

5. The error compensation method of the electric energy meter according to claim 2, characterized in that: If the current difference rate is not within the first preset range, and / or the power difference rate is not within the second preset range, it is determined that the direct current and even harmonics do not exist in the second current.

6. The error compensation method of the electric energy meter according to claim 1, characterized in that: According to the full-wave current, a current compensation value is determined, including: Based on the mapping relationship between current and compensation value, the compensation value corresponding to the full-wave current is used as the current compensation value.

7. The error compensation method of the electric energy meter according to claim 1, characterized in that: Determining a power measurement value of the electric energy meter according to the current compensation value, the full-wave current and the full-wave voltage, comprising: Determining a corrected phase angle according to the current compensation value and the current phase angle; The power measurement value is determined based on the modified phase angle, the full-wave current and the full-wave voltage.

8. An error compensation device for an electric energy meter, characterized in that: The electric energy meter includes at least one current transformer, and the current transformer is used to convert a first current on the primary side into a second current on the secondary side; the error compensation device includes: A parameter acquisition module, used for acquiring in real time the full-wave current, fundamental current, full-wave active power and fundamental active power corresponding to the second current; a harmonic determination module, configured to determine whether direct current and even harmonics exist in the second current according to the full-wave current, the fundamental current, the full-wave active power and the fundamental active power; A compensation value determination module, configured to determine a current compensation value according to the full-wave current when direct current and even harmonics exist in the second current; The power metering value determination module is used to determine the power metering value of the electric energy meter according to the current compensation value, the full-wave current and the full-wave voltage.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the error compensation method for the electric energy meter according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the error compensation method for an electric energy meter according to any one of claims 1 to 7 when executed.

Citation Information

Patent Citations

  • Three phase harmonic standard electric energy meter

    CN101382588A

  • Correction method of electric energy meter and equipment

    CN105911506A

  • Electric energy meter self-heating error compensation method

    CN107782938A

  • Direct current even harmonic error calibration method and electric energy meter

    CN113009404A

  • Electric energy meter metering error prediction method, system and device based on multi-stress influence

    CN113447879A