Magnetic flux measurement module, electric energy metering device and anti-interference method
By adopting a closed-loop circuit structure and calibration of induced electromotive force in the electric energy meter, the problem of power frequency magnetic field interference caused by component deviation in the mass production of the electric energy meter is solved, and higher metering accuracy and stability are achieved.
Patent Information
- Application Number
- CN202510636298.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-16
- Publication Date
- 2025-08-05
AI Technical Summary
During the mass production process of existing power meters, due to the consistency deviations in the material, size and tolerance of components, there are large differences in the performance of the products in terms of resistance to power frequency magnetic field. Some products cannot effectively offset the interference of power frequency magnetic field, resulting in metering errors.
The closed-loop circuit structure is used to generate a calibrated induced electromotive force corresponding to the induced interference electromotive force of the industrial frequency. By calibrating the induced electromotive force and the interference calibration coefficient calculation, the interference error value in the induced electromotive force measurement value is removed, and the error value is calibrated by the microcontroller unit, and the metering accuracy is finally improved.
By calculating the calibration induced electromotive force and interference calibration coefficient, the interference error in the induced electromotive force measurement value is effectively removed, and the measurement accuracy and stability of the electric energy meter in complex electromagnetic environments are improved.
Smart Images

Figure CN120428145A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart electric meters, and in particular to a magnetic flux measurement module, an electric energy metering device and an anti-interference method. Background Art
[0002] When the electric energy meter is in normal working condition and no current flows through the current line, it is placed in an environment of power frequency magnetic field interference of a specific intensity. It is necessary to ensure that the test output of the electric energy meter meets the corresponding standards, that is, it should not generate too many interference pulses, so as to ensure the measurement accuracy and stability of the electric energy meter in a complex electromagnetic environment.
[0003] Currently, the performance optimization of electricity meters under power-frequency magnetic field interference mainly involves adding a closed loop related to the interference magnetic field induction path inside the electricity meter. The area of this closed loop is the same as the area of the relevant area of the electric energy sampling module that may be interfered with by the power-frequency magnetic field, and the direction of the power-frequency magnetic field induced current it generates is opposite to the direction of the interference current, thereby forming a mutual cancellation effect when the magnetic field acts.
[0004] However, in the mass production of existing electricity meters, due to the numerous structural parts and other components involved in the production process, these components have certain consistency deviations in materials, dimensions, and tolerances. This leads to significant differences in the performance of mass-produced products in resisting power-frequency magnetic fields. Some products may not be able to effectively offset power-frequency magnetic field interference due to slight deviations in component parameters, resulting in measurement errors in the electricity meters. Therefore, there is an urgent need for a magnetic flux measurement module, an electricity metering device, and an anti-interference method to solve these problems. Summary of the Invention
[0005] In view of the problems existing in the prior art, the present invention provides a magnetic flux measurement module, an electric energy metering device and an anti-interference method.
[0006] The present invention provides a magnetic flux measurement module, comprising a closed-loop circuit structure connected to a closed loop in an electric energy metering device, wherein: The closed-loop circuit structure is used to generate a calibration induced electromotive force corresponding to the power frequency induced interference electromotive force when the electric energy metering device is in a power frequency magnetic field environment; Among them, the power frequency induced interference electromotive force is the induced electromotive force generated by the closed loop in the power frequency magnetic field environment; the calibration value corresponding to the calibrated induced electromotive force is calculated based on the induced electromotive force measurement value and the interference calibration coefficient, and is used to remove the interference error value in the induced electromotive force measurement value; the induced electromotive force measurement value is the value corresponding to the induced electromotive force generated when the electric energy metering device is in the power frequency magnetic field environment; the interference calibration coefficient is obtained by fitting the calibrated induced electromotive force and the actual value of the induced electromotive force when the electric energy metering device is in the preset power frequency magnetic field environment.
[0007] According to a magnetic flux measurement module provided by the present invention, there are multiple closed-loop circuit structures, and each of the closed-loop circuit structures is arranged in each target closed circuit in the electric energy metering device. When each of the target closed circuits is in the power frequency magnetic field environment, it generates the power frequency induced interference electromotive force corresponding to the magnetic field direction.
[0008] According to a magnetic flux measurement module provided by the present invention, the closed-loop circuit structure includes a first resistor, a second resistor, a first capacitor and a second capacitor, wherein: The first end of the first resistor is connected to the first end of the second resistor, and the second end of the first resistor is connected to the first end of the first capacitor; The second end of the second resistor is connected to the first end of the second capacitor; A first end of the first capacitor is connected to the positive input terminal, and a second end of the first capacitor is grounded; A first end of the second capacitor is connected to the negative input terminal, and a second end of the second capacitor is grounded.
[0009] According to a magnetic flux measurement module provided by the present invention, in the closed-loop circuit structure, the resistance value of the first resistor and the second resistor are the same; the capacitance value of the first capacitor and the second capacitor are the same, and the first capacitor and the second capacitor have the same withstand voltage value.
[0010] The present invention further provides an electric energy metering device, comprising a microcontroller unit and the above-mentioned magnetic flux measurement module, wherein the magnetic flux measurement module is connected to a closed loop in the electric energy metering device, wherein: The magnetic flux measurement module is used to generate a calibration induced electromotive force corresponding to the power frequency induced interference electromotive force in a power frequency magnetic field environment; The micro control unit is used to remove the error value in the induced electromotive force measurement value according to the calibration value corresponding to the calibration induced electromotive force, so as to obtain the induced electromotive force measurement value after the interference error is removed.
[0011] The present invention also provides an anti-interference method based on the above electric energy metering device, comprising: Obtaining the induced electromotive force measurement value collected by the electric energy metering device in the power frequency magnetic field environment; Calculating a target calibration value according to the induced electromotive force measurement value and the interference calibration coefficient, wherein the target calibration value is a calibration value corresponding to the calibration induced electromotive force generated by the magnetic flux measurement module in the power frequency magnetic field environment; According to the difference between the induced electromotive force measurement value and the target calibration value, the induced electromotive force measurement value after the interference error is removed is obtained.
[0012] According to an anti-interference method provided by the present invention, before calculating the target calibration value based on the induced electromotive force measurement value and the interference calibration coefficient, the method further includes: Based on the power frequency induced interference electromotive force generated by the closed loop in the electric energy metering device in different magnetic field directions, a target interference calibration coefficient is obtained, wherein the target interference calibration coefficient is obtained by fitting the calibration induced electromotive force generated in different magnetic field directions and the actual value of the induced electromotive force when the electric energy metering device is in a preset power frequency magnetic field environment; The step of obtaining the induced electromotive force measurement value after removing the interference error based on the difference between the induced electromotive force measurement value and the target calibration value includes: The difference between the target calibration value and the induced electromotive force measurement value is calculated according to the target interference calibration coefficient corresponding to each different magnetic field direction, and the induced electromotive force measurement value after the interference error is removed is obtained.
[0013] The magnetic flux measurement module, electric energy metering device and anti-interference method provided by the present invention obtain the induced electromotive force measurement value collected by the electric energy metering device in the power frequency magnetic field environment, and then calculate the calibration value corresponding to the calibrated induced electromotive force generated by the magnetic flux measurement module in the power frequency magnetic field environment based on the induced electromotive force measurement value and the interference calibration coefficient. Finally, based on the difference between the induced electromotive force measurement value and the target calibration value, the induced electromotive force measurement value after the interference error is removed is obtained, thereby improving the measurement accuracy of the electric energy meter. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0015] Figure 1 A schematic structural diagram of the magnetic flux measurement module provided by the present invention; Figure 2A schematic diagram of the specific structure of the magnetic flux measurement module provided by the present invention; Figure 3 A schematic structural diagram of the electric energy metering device provided by the present invention; Figure 4 A schematic flow chart of the anti-interference method provided by the present invention; Figure 5 This is a schematic structural diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0016] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0017] In the development process of smart electricity meters, the performance requirements for electricity meters in complex electromagnetic environments are becoming increasingly stringent. Among them, power frequency magnetic field interference has a significant impact on the accuracy of electricity meter measurements.
[0018] To ensure the proper operation of energy meters in specific power-frequency magnetic field environments (i.e., 0.5mT), the industry has established clear requirements for their ability to resist power-frequency magnetic field interference under no-load conditions. Specifically, when the meter is in normal operation and no current is flowing through the current line, the meter is placed in a 0.5mT power-frequency magnetic field environment. The test output must meet the corresponding standards, meaning no more than one interference pulse should be generated. This ensures the meter's measurement accuracy and stability in complex electromagnetic environments.
[0019] Currently, the main approach to optimizing the performance of electricity meters under power-frequency magnetic field interference is to add a closed loop to offset the interference. The core idea behind this approach is to design and add a closed loop within the electricity meter that is related to the interference magnetic field sensing path. The area of this closed loop is the same size as the area of the energy sampling module that may be affected by the power-frequency magnetic field. The power-frequency magnetic field induced current generated by this closed loop is in the opposite direction of the interference current, creating a mutual cancellation effect when the magnetic field acts. This effectively reduces the interference of the power-frequency magnetic field on the energy sampling module and ensures the normal operation of the electricity meter in complex magnetic field environments.
[0020] However, some significant problems have been exposed during the mass production and actual application of electricity meters. First, in the mass production of electricity meters, due to the numerous structural parts and other components involved in the production process, these components have certain consistency deviations in terms of materials, dimensions, and tolerances. This leads to large differences in the performance of mass-produced products in resisting power frequency magnetic fields. Some products may not be able to effectively offset power frequency magnetic field interference due to slight deviations in component parameters, making it difficult to meet the established performance standards. Secondly, the internal structure, layout, and electromagnetic characteristics of electricity meters of different models and specifications vary. The area of the offset closed loop needs to be designed and adjusted separately for each product. This process is not only tedious and complicated, but also requires repeated experiments and adjustments to achieve the best anti-interference effect, which greatly increases the design difficulty and R&D cost of the product.
[0021] Figure 1 The structural diagram of the magnetic flux measurement module provided by the present invention is as follows: Figure 1 As shown, the present invention provides a magnetic flux measurement module, including a closed-loop circuit structure 101, wherein the closed-loop circuit structure 101 is arranged in a closed loop 1021 of an electric energy metering device 102, wherein: The closed-loop circuit structure 101 is used to generate a calibration induced electromotive force corresponding to the power frequency induced interference electromotive force when the electric energy metering device 102 is in a power frequency magnetic field environment; Among them, the power frequency induced interference electromotive force is the induced electromotive force generated by the closed loop 1021 in the power frequency magnetic field environment; the calibration value corresponding to the calibrated induced electromotive force is calculated based on the induced electromotive force measurement value and the interference calibration coefficient, and is used to remove the interference error value in the induced electromotive force measurement value; the induced electromotive force measurement value is the value corresponding to the induced electromotive force generated when the electric energy metering device 102 is in the power frequency magnetic field environment; the interference calibration coefficient is obtained by fitting the calibrated induced electromotive force and the actual value of the induced electromotive force when the electric energy metering device 102 is in the preset power frequency magnetic field environment.
[0022] In the present invention, the closed-loop circuit structure 101 in the magnetic flux measurement module is connected to the closed loop 1021 of the energy metering device 102, jointly participating in the magnetic flux measurement and related electromagnetic characteristic processing during the energy metering process. When the energy metering device 102 is in a power frequency magnetic field environment, the closed-loop circuit structure 101 generates a calibration induced electromotive force that corresponds to the power frequency induced interference electromotive force.
[0023] The power-frequency induced interference electromotive force is the induced electromotive force generated by the closed loop 1021 in the power-frequency magnetic field environment of the energy metering device 102. Because the power-frequency magnetic field is a common external interference source, the closed loop 1021 generates an additional electromotive force due to electromagnetic induction. This electromotive force is not a valid signal required for energy measurement, but rather an interference factor that interferes with normal measurement results.
[0024] In the present invention, the calibration value corresponding to the calibration induced electromotive force generated by the closed-loop circuit structure 101 is calculated based on the induced electromotive force measurement value and the interference calibration coefficient. Among them, the induced electromotive force measurement value is a value related to the induced electromotive force measured when the electric energy metering device 102 is actually in an industrial frequency magnetic field environment, which includes the real induced electromotive force component and the error component introduced by the industrial frequency magnetic field interference. The interference calibration coefficient is obtained by fitting the calibration induced electromotive force and the actual value of the induced electromotive force of the electric energy metering device 102 in a preset industrial frequency magnetic field environment. The preset industrial frequency magnetic field environment is a constant industrial frequency magnetic field environment, such as a 0.5mT industrial frequency magnetic field. In this environment, by measuring the calibration induced electromotive force and the actual value of the induced electromotive force, a coefficient that can accurately reflect the industrial frequency magnetic field interference characteristics, namely the interference calibration coefficient, can be obtained using a mathematical fitting method.
[0025] In the present invention, the calibration value calculated using the above embodiment can be used to process the induced electromotive force measurement value, thereby removing the error value caused by the power frequency magnetic field interference, thereby obtaining a more accurate and true magnetic flux measurement result, and ensuring the measurement accuracy of the electric energy metering device in a complex electromagnetic environment.
[0026] The magnetic flux measurement module provided by the present invention obtains the induced electromotive force measurement value collected by the electric energy metering device in the power frequency magnetic field environment, and then calculates the calibration value corresponding to the calibration induced electromotive force generated by the magnetic flux measurement module in the power frequency magnetic field environment based on the induced electromotive force measurement value and the interference calibration coefficient. Finally, based on the difference between the induced electromotive force measurement value and the target calibration value, the induced electromotive force measurement value after the interference error is removed is obtained, thereby improving the measurement accuracy of the electric energy meter.
[0027] Based on the above embodiment, there are multiple closed-loop circuit structures, and each closed-loop circuit structure is arranged in each target closed circuit in the electric energy metering device, wherein when each target closed circuit is in the power frequency magnetic field environment, it generates the power frequency induced interference electromotive force corresponding to the magnetic field direction.
[0028] The magnetic flux measurement module contains multiple closed-loop circuit structures. These closed-loop circuit structures are installed within target closed circuits within the electric energy metering device. In the present invention, target closed circuits are specific circuit sections within the electric energy metering device that are susceptible to interference from power-frequency magnetic fields. By installing closed-loop circuit structures within these target closed circuits, these susceptible sections can be monitored and calibrated in a targeted manner.
[0029] When an energy meter is located in an environment with a power-frequency magnetic field, each target closed circuit will generate an induced electromotive force (EMF) due to the principle of electromagnetic induction. Because power-frequency magnetic fields have specific directionalities (such as horizontal direction X, vertical direction Y, and depth direction Z), the power-frequency induced interference EMF generated by each target closed circuit in this environment is also related to the corresponding magnetic field direction. For example, when subjected to a power-frequency magnetic field in the horizontal direction X, the target closed circuit will generate a power-frequency induced interference EMF corresponding to the horizontal direction X. Similarly, when subjected to power-frequency magnetic fields in the vertical direction Y and depth direction Z, power-frequency induced interference EMFs in the corresponding directions will also be generated.
[0030] In order to compensate for the errors caused by the three magnetic field directions, three variables C are designed. X 、C Y and C Z As the interference calibration coefficient. Taking the horizontal direction X as an example, first apply the power frequency magnetic field in the horizontal direction X, and then test the electric energy error of the electric energy meter device. By correcting C X Value, until the error is minimized, save C X For the vertical direction Y and depth direction Z, similar processes are used to determine C Y and C Z These interference calibration coefficients are obtained by fitting the calibration induced electromotive force and the actual value of the induced electromotive force of the electric energy metering device in a preset power frequency magnetic field environment. They can be used to calibrate the power frequency induced interference electromotive force generated by each target closed circuit, remove the interference error value, and thus improve the measurement precision and accuracy of the electric energy metering device in a complex power frequency magnetic field environment.
[0031] Based on the above embodiment, the closed-loop circuit structure includes a first resistor R1, a second resistor R2, a first capacitor C1 and a second capacitor C2, wherein: The first end of the first resistor R1 is connected to the first end of the second resistor R2, and the second end of the first resistor R1 is connected to the first end of the first capacitor C1; The second end of the second resistor R2 is connected to the first end of the second capacitor C2; A first end of the first capacitor C1 is connected to the positive input terminal, and a second end of the first capacitor C1 is grounded; A first end of the second capacitor C2 is connected to the negative input terminal, and a second end of the second capacitor C2 is grounded.
[0032] Figure 2 For a detailed structural diagram of the magnetic flux measurement module provided by the present invention, please refer to Figure 2 As shown, in the present invention, the closed-loop circuit structure is composed of four main components, namely a first resistor R1, a second resistor R2, a first capacitor C1 and a second capacitor C2.
[0033] Based on the above embodiment, in the closed-loop circuit structure, the first resistor R1 and the second resistor R2 have the same resistance value, for example, the resistance value of the first resistor R1 and the second resistor R2 are both 1 kΩ, to prevent excessive current from damaging other components in the circuit; the first capacitor C1 and the second capacitor C2 have the same capacitance value, for example, the capacitance value of the first capacitor C1 and the second capacitor C2 are both 3.3 nF, and the first capacitor and the second capacitor have the same withstand voltage value (e.g., a withstand voltage value of 50 V), which can effectively filter out high-frequency noise, ensure that the capacitor can withstand the voltage in the circuit under normal working conditions, and ensure the stability and reliability of the circuit.
[0034] Specifically, the second end of the first resistor R1 is connected to the first end of the first capacitor C1, forming a resistor-capacitor (RC) circuit structure. The second end of the second resistor R2 is connected to the first end of the second capacitor C2, also forming an RC circuit. These circuits work together with the aforementioned RC circuit to ensure the quality of the input signal.
[0035] The first end of the first capacitor C1 is connected to the positive input terminal I+, and the second end of the first capacitor C1 is grounded GND, thereby providing a stable reference potential for the circuit. Correspondingly, the first end of the second capacitor C2 is connected to the negative input terminal I-, and the second end of the second capacitor C2 is grounded GND.
[0036] In the present invention, the positive input terminal I+ and the negative input terminal I- are connected to the V2P and V2N pins, respectively, of the RN8209 chip (used for energy metering). Through this connection, the closed-loop circuit structure inputs the processed signal into the RN8209 chip, enabling the chip to perform accurate energy metering and signal analysis. This improves the RN8209 chip's performance and measurement accuracy, ensuring the accuracy and reliability of functions such as energy metering.
[0037] Figure 3 The schematic diagram of the structure of the electric energy metering device provided by the present invention is as follows: Figure 3As shown, the present invention provides an electric energy metering device, comprising a microcontroller unit 301 and a magnetic flux measurement module 302 as described in the above embodiments, wherein the magnetic flux measurement module 302 is connected to a closed loop 3031 in the electric energy metering device 303, wherein: The magnetic flux measurement module 302 is used to generate a calibration induced electromotive force corresponding to the power frequency induced interference electromotive force in a power frequency magnetic field environment; The micro control unit 301 is configured to remove an error value in the induced electromotive force measurement value according to a calibration value corresponding to the calibration induced electromotive force, so as to obtain the induced electromotive force measurement value after the interference error is removed.
[0038] In the present invention, the electric energy metering device primarily consists of two key components: a microcontroller unit 301 and a magnetic flux measurement module 302. Furthermore, a closed loop 3031 exists within the electric energy metering device 303, and the magnetic flux measurement module 302 is connected to the closed loop 3031. This connection enables the magnetic flux measurement module 302 to directly monitor and process the electromagnetic characteristics of the closed loop 3031 under specific conditions.
[0039] In a power-frequency magnetic field environment, the closed loop 3031 in the energy metering device 303 generates a power-frequency induced interference electromotive force (EMF) due to the principle of electromagnetic induction. This interference EMF is not a valid signal required for energy metering, but rather an error factor that interferes with normal metering results. In the present invention, the magnetic flux measurement module 302 is used to generate a calibration EMF corresponding to this power-frequency induced interference EMF. This generation of the calibration EMF can subsequently be used to calibrate and correct the measured value of the induced EMF containing the interference.
[0040] Furthermore, the microcontroller unit 301 can process the induced electromotive force measurement value according to the calibration value corresponding to the calibration induced electromotive force generated by the magnetic flux measurement module 302. The induced electromotive force measurement value is a value related to the induced electromotive force measured by the electric energy metering device in an industrial frequency magnetic field environment, which contains the real induced electromotive force component and the error component introduced by the industrial frequency magnetic field interference. The microcontroller unit 301 uses a specific algorithm or calculation method to use the calibration value to remove the error value in the induced electromotive force measurement value, and finally obtains the induced electromotive force measurement value after the interference error is removed. This processed measurement value is more accurate and can more truly reflect the actual electric energy-related parameters, thereby improving the measurement accuracy and reliability of the electric energy metering device in a complex electromagnetic environment, and effectively reducing the impact of industrial frequency magnetic field interference on the electric energy metering results.
[0041] The electric energy metering device provided by the present invention obtains the induced electromotive force measurement value collected by the electric energy metering device in the power frequency magnetic field environment, and then calculates the calibration value corresponding to the calibration induced electromotive force generated by the magnetic flux measurement module in the power frequency magnetic field environment based on the induced electromotive force measurement value and the interference calibration coefficient. Finally, based on the difference between the induced electromotive force measurement value and the target calibration value, the induced electromotive force measurement value after the interference error is removed is obtained, thereby improving the measurement accuracy of the electric energy meter.
[0042] Figure 4 A schematic diagram of the flow chart of the anti-interference method provided by the present invention is shown in FIG. Figure 4 As shown, the present invention provides an anti-interference method for the electric energy metering device based on the above embodiments, including: Step 401: Obtain the induced electromotive force measurement value collected by the electric energy metering device in the power frequency magnetic field environment.
[0043] When an electric energy meter is exposed to a power-frequency magnetic field, the closed loop between the internal components and the printed circuit board (PCB) generates an induced electromotive force (EMF) in the changing power-frequency magnetic field, according to the law of electromagnetic induction. This induced EMF, generated by interference, enters the analog-to-digital converter (ADC) of the electric energy metering module and is ultimately superimposed as an electrical signal on the electric energy measurement. The electric energy metering device collects the induced EMF and obtains a measured value, which contains the actual induced EMF component and the error component introduced by the power-frequency magnetic field interference. The present invention combines hardware circuits with software algorithms to remove interference errors in the induced EMF measurement value.
[0044] Step 402 : Calculate a target calibration value based on the induced electromotive force measurement value and the interference calibration coefficient, wherein the target calibration value is a calibration value corresponding to the calibration induced electromotive force generated by the magnetic flux measurement module in the power frequency magnetic field environment.
[0045] In this invention, a magnetic flux measurement module is added. This magnetic flux measurement module generates a corresponding induced electromotive force in a power-frequency magnetic field environment. Assume that the value of the induced electromotive force is ε1, which is the target calibration value. The value of the induced electromotive force generated by the power metering module in the power-frequency magnetic field environment is ε2, which is the induced electromotive force measurement value.
[0046] Under the same power-frequency magnetic field, the induced electromotive force (ε1) generated by the magnetic flux measurement module and the induced electromotive force (ε2) generated by the energy metering module are proportional to their respective closed loops. Let C be the ratio of the closed loop corresponding to ε2 to the closed loop corresponding to ε1, i.e., the interference calibration coefficient. Then, ε2 = C × ε1, where C is a constant related to the closed loop areas of the magnetic flux measurement module and the energy metering module.
[0047] In the present invention, as long as the size of C can be obtained, the microcontroller unit can calculate the size of ε2 based on the values of ε1 and C, and then subtract ε2 in the electric energy metering module to remove the induced electromotive force generated by magnetic field interference in the power frequency magnetic field environment.
[0048] During mass production of energy meters, the energy metering device is placed in a constant power-frequency magnetic field. The C value is continuously modified, and changes in the energy metering error are observed. When the energy metering error meets the required value, the C value at that point becomes the final interference calibration coefficient. In subsequent metering processes, when the energy metering device collects the induced electromotive force measurement value, the target calibration value is calculated using ε2 = C × ε1 to obtain the induced electromotive force measurement value after the interference error is removed.
[0049] Step 403: Obtain the induced electromotive force measurement value after removing the interference error according to the difference between the induced electromotive force measurement value and the target calibration value.
[0050] In the present invention, by calculating the difference between the measured induced electromotive force value ε2 and the target calibration value, the measured induced electromotive force value after interference error removal can be obtained. This induced electromotive force value after interference error removal is more accurate and can more realistically reflect actual electric energy-related parameters, thereby improving the measurement accuracy and reliability of the electric energy metering device in complex power frequency magnetic field environments.
[0051] The anti-interference method provided by the present invention obtains the induced electromotive force measurement value collected by the electric energy metering device in the power frequency magnetic field environment, and then calculates the calibration value corresponding to the calibration induced electromotive force generated by the magnetic flux measurement module in the power frequency magnetic field environment based on the induced electromotive force measurement value and the interference calibration coefficient. Finally, based on the difference between the induced electromotive force measurement value and the target calibration value, the induced electromotive force measurement value after the interference error is removed is obtained, thereby improving the measurement accuracy of the electric energy meter.
[0052] Based on the above embodiment, before calculating the target calibration value according to the induced electromotive force measurement value and the interference calibration coefficient, the method further includes: Based on the power frequency induced interference electromotive force generated by the closed loop in the electric energy metering device in different magnetic field directions, a target interference calibration coefficient is obtained, wherein the target interference calibration coefficient is obtained by fitting the calibration induced electromotive force generated in different magnetic field directions and the actual value of the induced electromotive force when the electric energy metering device is in a preset power frequency magnetic field environment; The step of obtaining the induced electromotive force measurement value after removing the interference error based on the difference between the induced electromotive force measurement value and the target calibration value includes: The difference between the target calibration value and the induced electromotive force measurement value is calculated according to the target interference calibration coefficient corresponding to each different magnetic field direction, and the induced electromotive force measurement value after the interference error is removed is obtained.
[0053] In a constant power frequency magnetic field environment, the magnitude of the magnetic flux is related to the area and angle of the magnetic induction loop. Specifically, the formula for magnetic flux is: ; in, represents the magnetic flux, represents the magnetic induction intensity, represents the area of the magnetic induction loop, It represents the angle between the direction of the magnetic field and the normal of the magnetic induction loop.
[0054] The formula for the magnetic flux of an AC steady magnetic field is: ; in, Indicates time, Indicates the angular frequency of the AC steady magnetic field.
[0055] Furthermore, any magnetic field can be decomposed into three directions: horizontal X, vertical Y, and depth Z. Accordingly, the magnetic induction loop can also be decomposed into three directions: Y (vertical), Z (depth), and X (horizontal). Furthermore, the surface corresponding to each closed loop is only 90° (normal angle is 0°) with one direction of the magnetic field decomposition, and the other two directions are 0° (normal angle is 90°). Since COS0° = 1 and COS90° = 0, a surface only has induced magnetic flux in one direction of the induced magnetic field, and the other two directions are 0.
[0056] In the present invention, when the magnetic flux measurement module is in a power frequency magnetic field environment, the power frequency magnetic field direction is X (horizontal direction), and only the Y (vertical direction) of the magnetic induction loop is 90°, and the other two directions are 0°. The horizontal magnetic flux of the magnetic flux measurement module is: ; in, Represents the area of the magnetic induction loop of the magnetic flux measurement module in the vertical direction Y; Indicates the magnetic induction intensity in the horizontal direction X.
[0057] Furthermore, the induced electromotive force of the magnetic flux measurement module in the horizontal direction X of the power frequency magnetic field is: ; Similarly, the induced electromotive force of the electric energy metering device in the horizontal direction X of the power frequency magnetic field is: ; Wherein, represents the area of the magnetic induction loop of the electric energy metering device in the vertical direction Y.
[0058] Through the above process, we can know that in the same power frequency magnetic field environment, the size of the induced electromotive force is only related to the closed loop area. In order to eliminate the power frequency magnetic field interference on the electric energy metering device, the present invention uses a software algorithm to subtract the induced electromotive force generated by this interference. In view of the interference caused by different magnetic field directions, a variable constant C corresponding to different magnetic field directions is introduced to make , and then when calculating the electric energy, directly subtract , the error electric energy caused by the power frequency magnetic field interference can be removed.
[0059] In the present invention, the target interference calibration coefficient is determined by placing the electric energy metering device in a preset power frequency magnetic field environment and measuring the resulting calibration induced electromotive force and the actual induced electromotive force value for different magnetic field directions. Then, using a fitting method, the target interference calibration coefficient is derived based on the data relationship between these calibration induced electromotive forces and the actual induced electromotive force values. This target interference calibration coefficient reflects the quantitative relationship between the calibration induced electromotive force and the actual induced electromotive force under different magnetic field directions and is used to subsequently calibrate the induced electromotive force measurement value.
[0060] Since the power frequency magnetic field has different directions, each direction has different effects on the induced electromotive force, so it is necessary to calculate the difference between the target calibration value and the induced electromotive force measurement value according to the target interference calibration coefficient corresponding to each different magnetic field direction. For example, under the horizontal direction X magnetic field, there is a corresponding target interference calibration coefficient C X , which is used to calculate the difference between the target calibration value and the induced electromotive force measurement value in this direction; in the Y direction and Z direction, the corresponding target interference calibration coefficient C Y and C Z Perform similar calculations.
[0061] By calculating the difference between different magnetic field directions in the above embodiment, we ultimately obtain the induced electromotive force measurement value after removing the interference error. This measurement value is obtained after considering the interference effects of each magnetic field direction and performing corresponding calibration. Compared with the original induced electromotive force measurement value, it more accurately reflects the actual induced electromotive force, thereby improving the measurement accuracy and reliability of the electric energy metering device in complex power frequency magnetic field environments.
[0062] Figure 5 A schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 5 As shown, the electronic device may include: a processor 501, a communications interface 502, a memory 503, and a communication bus 504, wherein the processor 501, the communications interface 502, and the memory 503 communicate with each other via the communication bus 504. The processor 501 may call logic instructions in the memory 503 to execute an anti-interference method, which includes: obtaining an induced electromotive force measurement value collected by an electric energy metering device in a power frequency magnetic field environment; calculating a target calibration value based on the induced electromotive force measurement value and an interference calibration coefficient, wherein the target calibration value is a calibration value corresponding to the calibration induced electromotive force generated by the magnetic flux measurement module in the power frequency magnetic field environment; and obtaining an induced electromotive force measurement value after interference error removal based on the difference between the induced electromotive force measurement value and the target calibration value.
[0063] Furthermore, the logic instructions in the aforementioned memory 503 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0064] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the anti-interference method provided by the above methods, the method including: obtaining the induced electromotive force measurement value collected by the electric energy metering device in the power frequency magnetic field environment; calculating the target calibration value based on the induced electromotive force measurement value and the interference calibration coefficient, wherein the target calibration value is the calibration value corresponding to the calibration induced electromotive force generated by the magnetic flux measurement module in the power frequency magnetic field environment; and obtaining the induced electromotive force measurement value after the interference error is removed based on the difference between the induced electromotive force measurement value and the target calibration value.
[0065] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the anti-interference method provided in the above-mentioned embodiments, the method comprising: obtaining an induced electromotive force measurement value collected by an electric energy metering device in an industrial frequency magnetic field environment; calculating a target calibration value based on the induced electromotive force measurement value and an interference calibration coefficient, wherein the target calibration value is a calibration value corresponding to the calibration induced electromotive force generated by a magnetic flux measurement module in the industrial frequency magnetic field environment; and obtaining an induced electromotive force measurement value after removing the interference error based on the difference between the induced electromotive force measurement value and the target calibration value.
[0066] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0067] Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented using software plus a necessary general-purpose hardware platform, or of course, hardware. Based on this understanding, the essence of the above technical solution, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, or an optical disk, and includes a number of instructions for causing a computer device (such as a personal computer, server, or network device) to execute the methods described in each embodiment or certain portions of the embodiments.
[0068] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A magnetic flux measurement module, characterized in that: It includes a closed-loop circuit structure, which is connected to a closed loop in the electric energy metering device, wherein: The closed-loop circuit structure is used to generate a calibration induced electromotive force corresponding to the power frequency induced interference electromotive force when the electric energy metering device is in a power frequency magnetic field environment; Among them, the power frequency induced interference electromotive force is the induced electromotive force generated by the closed loop in the power frequency magnetic field environment; the calibration value corresponding to the calibrated induced electromotive force is calculated based on the induced electromotive force measurement value and the interference calibration coefficient, and is used to remove the interference error value in the induced electromotive force measurement value; the induced electromotive force measurement value is the value corresponding to the induced electromotive force generated when the electric energy metering device is in the power frequency magnetic field environment; the interference calibration coefficient is obtained by fitting the calibrated induced electromotive force and the actual value of the induced electromotive force when the electric energy metering device is in the preset power frequency magnetic field environment.
2. The magnetic flux measurement module according to claim 1, characterized in that: There are multiple closed-loop circuit structures, and each closed-loop circuit structure is arranged in each target closed circuit in the electric energy metering device. When each target closed circuit is in the power frequency magnetic field environment, it generates the power frequency induced interference electromotive force corresponding to the magnetic field direction.
3. The magnetic flux measurement module according to claim 1, characterized in that: The closed-loop circuit structure includes a first resistor, a second resistor, a first capacitor and a second capacitor, wherein: The first end of the first resistor is connected to the first end of the second resistor, and the second end of the first resistor is connected to the first end of the first capacitor; The second end of the second resistor is connected to the first end of the second capacitor; A first end of the first capacitor is connected to the positive input terminal, and a second end of the first capacitor is grounded; A first end of the second capacitor is connected to the negative input terminal, and a second end of the second capacitor is grounded.
4. The magnetic flux measurement module according to claim 3, characterized in that: In the closed-loop circuit structure, the first resistor and the second resistor have the same resistance value; the first capacitor and the second capacitor have the same capacitance value, and the first capacitor and the second capacitor have the same withstand voltage value.
5. An electric energy metering device, characterized in that: The device comprises a microcontroller unit and a magnetic flux measurement module according to any one of claims 1 to 4, wherein the magnetic flux measurement module is connected to a closed loop in the electric energy metering device, wherein: The magnetic flux measurement module is used to generate a calibration induced electromotive force corresponding to the power frequency induced interference electromotive force in a power frequency magnetic field environment; The micro control unit is used to remove the error value in the induced electromotive force measurement value according to the calibration value corresponding to the calibration induced electromotive force, so as to obtain the induced electromotive force measurement value after the interference error is removed.
6. An anti-interference method for the electric energy metering device according to claim 5, characterized in that: include: Obtaining the induced electromotive force measurement value collected by the electric energy metering device in the power frequency magnetic field environment; Calculating a target calibration value according to the induced electromotive force measurement value and the interference calibration coefficient, wherein the target calibration value is a calibration value corresponding to the calibration induced electromotive force generated by the magnetic flux measurement module in the power frequency magnetic field environment; According to the difference between the induced electromotive force measurement value and the target calibration value, the induced electromotive force measurement value after the interference error is removed is obtained.
7. The anti-interference method according to claim 6, characterized in that: Before calculating the target calibration value according to the induced electromotive force measurement value and the interference calibration coefficient, the method further includes: Based on the power frequency induced interference electromotive force generated by the closed loop in the electric energy metering device in different magnetic field directions, a target interference calibration coefficient is obtained, wherein the target interference calibration coefficient is obtained by fitting the calibration induced electromotive force generated in different magnetic field directions and the actual value of the induced electromotive force when the electric energy metering device is in a preset power frequency magnetic field environment; The step of obtaining the induced electromotive force measurement value after removing the interference error based on the difference between the induced electromotive force measurement value and the target calibration value includes: The difference between the target calibration value and the induced electromotive force measurement value is calculated according to the target interference calibration coefficient corresponding to each different magnetic field direction, and the induced electromotive force measurement value after the interference error is removed is obtained.
Citation Information
Patent Citations
PCB-based electric energy meter power frequency interference offset method
CN109324307A
Inductance sensor calibration method, inductance sensor calibration system, medium and product
CN119270179A
Calibration method of electric energy meter power frequency magnetic field interference test device
CN119716716A