Electric energy metering method and device of mutual inductor and electronic equipment

By calibrating and filtering the transformer, combined with temperature compensation and power factor calculation, the problem of reduced energy measurement accuracy of the transformer under load changes is solved and higher measurement accuracy is achieved.

CN118777967APending Publication Date: 2024-10-15NANCHANG GUANGHUI ELECTRIC POWER TECH CO LTD
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410764817.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The problem of reduced power measurement accuracy of transformers when the load changes greatly.

Method used

By calibrating the transformer pre-set on the circuit to be measured, the current and voltage data are obtained and then filtered, the temperature compensation value is calculated and the data is corrected, the power factor is calculated, and finally the electric energy is calculated based on the corrected current, voltage and power factor.

Benefits of technology

It improves the accuracy of electric energy measurement and solves the problem of accuracy reduction under the influence of load changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118777967A_ABST
    Figure CN118777967A_ABST
Patent Text Reader

Abstract

The invention relates to a mutual inductor electric energy metering technology, and discloses a mutual inductor electric energy metering method and device, and the method comprises the steps: carrying out the calibration processing of a mutual inductor disposed on a to-be-measured circuit in advance, obtaining the current data and voltage data of the to-be-measured circuit through the mutual inductor, carrying out the filtering processing of the current data, and obtaining the voltage data of the to-be-measured circuit; the method comprises the following steps: acquiring voltage data of a transformer, obtaining a filtering current, filtering the voltage data to obtain a filtering voltage, obtaining a working environment temperature of the transformer, calculating a temperature compensation value according to the working environment temperature, and correcting the filtering current and the filtering voltage according to the temperature compensation value to obtain a corrected current and a corrected voltage. And calculating the power factor of the mutual inductor, and calculating the electric energy of the circuit to be measured according to the correction current, the correction voltage and the power factor. The invention further provides an electric energy metering device of the mutual inductor and electronic equipment. According to the invention, the accuracy of electric energy metering of the mutual inductor can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of mutual inductors, and in particular to a method, a device and an electronic device for measuring electric energy of a mutual inductor. Background Art

[0002] In the daily operation of the power system, accurate measurement of electric energy is of vital importance for electricity bill settlement, system optimization, energy efficiency evaluation, etc. As a key device for electric energy measurement, the main function of the transformer is to convert high voltage and high current into low voltage and low current for subsequent measurement and recording.

[0003] At present, the mainstream methods of transformer energy metering mainly include direct product method and integration method. The direct product method measures the low voltage and small current output by the transformer and directly multiplies them by the transformer's transformation ratio to obtain the corresponding high voltage and large current. Then, the high voltage and large current are multiplied and multiplied by time to obtain the calculation result of the power. Although this method is simple and direct, its measurement accuracy will be affected when there is a deviation in the transformer performance or the system load changes greatly. Summary of the invention

[0004] The present invention provides a method and device for measuring electric energy of a mutual inductor and electronic equipment, the main purpose of which is to solve the problem that the electric energy measurement accuracy of the mutual inductor is reduced when the load changes greatly.

[0005] To achieve the above object, the present invention provides a method for measuring electric energy of a transformer, comprising:

[0006] Calibrate a mutual inductor pre-set on the circuit to be measured, and use the mutual inductor to obtain current data and voltage data of the circuit to be measured;

[0007] Filtering the current data to obtain a filtered current, and filtering the voltage data to obtain a filtered voltage;

[0008] Acquire the working environment temperature of the mutual inductor, calculate the temperature compensation value according to the working environment temperature, and correct the filter current and filter voltage according to the temperature compensation value to obtain the corrected current and corrected voltage;

[0009] Calculating the power factor of the transformer;

[0010] The electric energy of the circuit to be measured is calculated according to the corrected current, the corrected voltage and the power factor.

[0011] Optionally, the calibrating a mutual inductor pre-set on the circuit to be measured includes:

[0012] The mutual inductor is connected in parallel with a pre-prepared first calibrator, and the mutual inductor is connected in series with a pre-prepared second calibrator to obtain a calibration circuit;

[0013] Connecting the calibration circuit to a pre-prepared test power supply;

[0014] Calculating a current error value and a voltage error value of the transformer according to the current and voltage readings of the transformer and the current and voltage readings of the first calibrator and the second calibrator;

[0015] The mutual inductor is adjusted according to the current error value and the voltage error value.

[0016] Optionally, filtering the current data to obtain a filtered current includes:

[0017] amplifying the current data to obtain an amplified current;

[0018] Dividing the amplified current into a plurality of time windows according to a preset duration;

[0019] Calculate the average value of the amplified current in each time window;

[0020] The amplified current in each time window is replaced by the average value calculated in each time window to obtain the average current;

[0021] The average current is subjected to shrinkage processing to obtain a filtered current.

[0022] Optionally, calculating the temperature compensation value according to the working environment temperature includes:

[0023] Calculating the difference between the working environment temperature and a preset standard working temperature to obtain a temperature difference;

[0024] Obtaining the temperature coefficient and rated value of the mutual inductor;

[0025] A temperature compensation value is calculated according to the temperature difference, the temperature coefficient and the rated value.

[0026] Optionally, calculating the temperature compensation value according to the temperature difference, the temperature coefficient and the rated value includes:

[0027] The temperature compensation value is calculated using the following formula:

[0028] K=W*μ*ΔT

[0029] Wherein, K is the temperature compensation value, W is the rated value, μ is the temperature coefficient, and ΔT is the temperature difference.

[0030] Optionally, the correcting the filter current according to the temperature compensation value includes:

[0031] The correction current is calculated using the following formula:

[0032]

[0033] Among them, I x is the correction current, I y is the filtering current, K is the temperature compensation value, and W is the rated value.

[0034] Optionally, calculating the power factor of the transformer includes:

[0035] The power factor is calculated using the following formula:

[0036]

[0037] Wherein, PF is the power factor, is the phase difference between the transformer current waveform and the voltage waveform, is the cosine of the phase difference, f is the frequency of the current passing through the transformer, and Δt is the time difference between the transformer current waveform and the voltage waveform.

[0038] Optionally, the calculating the electric energy of the circuit to be measured according to the corrected current, the corrected voltage and the power factor includes:

[0039] The electric energy of the circuit to be measured is calculated using the following formula:

[0040]

[0041] Wherein, E is the electric energy of the circuit to be measured, t represents the measurement time of the mutual inductor on the circuit to be measured, and I x (i) represents the corrected current at the i-th moment, V x (i) represents the corrected voltage at the i-th moment, and PF is the power factor.

[0042] In order to solve the above problems, the present invention further provides an electric energy metering device for a mutual inductor, the device comprising:

[0043] A data acquisition module, used to calibrate a mutual inductor pre-set on the circuit to be measured, and use the mutual inductor to obtain current data and voltage data of the circuit to be measured, as well as to obtain the working environment temperature of the mutual inductor;

[0044] A data filtering module, used for filtering the current data to obtain a filtered current, and filtering the voltage data to obtain a filtered voltage;

[0045] A data calculation module, used to calculate a temperature compensation value according to the working environment temperature, and to calculate a power factor of the mutual inductor;

[0046] A data correction module, used for correcting the filter current and the filter voltage according to the temperature compensation value to obtain a corrected current and a corrected voltage;

[0047] The electric energy metering module is used to calculate the electric energy of the circuit to be measured according to the corrected current, the corrected voltage and the power factor.

[0048] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:

[0049] at least one processor;

[0050] and, a memory communicatively coupled to the at least one processor;

[0051] 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 electric energy metering method of the transformer described above.

[0052] The embodiment of the present invention improves the accuracy of current data and voltage data by calibrating the mutual inductor pre-set on the circuit to be measured, obtains the current data and voltage data of the circuit to be measured by using the mutual inductor, filters the current data to obtain the filtered current, and filters the voltage data to obtain the filtered voltage, thereby improving the accuracy of the filtered current and filtered voltage, obtains the working environment temperature of the mutual inductor, calculates the temperature compensation value according to the working environment temperature, corrects the filtered current and filtered voltage according to the temperature compensation value, obtains the corrected current and corrected voltage, calculates the power factor of the mutual inductor, and calculates the electric energy of the circuit to be measured according to the corrected current, the corrected voltage and the power factor, thereby improving the accuracy of electric energy measurement. Therefore, the electric energy measurement method, device and electronic device of the mutual inductor proposed in the present invention can solve the problem of reduced electric energy measurement accuracy of the mutual inductor when the load changes greatly. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 A schematic flow chart of a method for measuring electric energy of a transformer provided in one embodiment of the present invention;

[0054] Figure 2 A schematic diagram of a flow chart of a mutual inductor calibration process provided by an embodiment of the present invention;

[0055] Figure 3A schematic diagram of a filtering process provided by an embodiment of the present invention;

[0056] Figure 4 A functional module diagram of an electric energy metering device for a mutual inductor provided in one embodiment of the present invention;

[0057] Figure 5 A schematic structural diagram of an electronic device for implementing the electric energy metering method of the mutual inductor provided in one embodiment of the present invention.

[0058] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0059] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0060] The embodiment of the present application provides an electric energy metering method for a transformer. The execution subject of the electric energy metering method for the transformer includes but is not limited to at least one of the electronic devices such as a server, a terminal, etc. that can be configured to execute the method provided in the embodiment of the present application. In other words, the electric energy metering method for the transformer can be executed by software or hardware installed in a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms.

[0061] Reference Figure 1 FIG. 1 is a flow chart of a method for measuring electric energy of a transformer provided in an embodiment of the present invention. In this embodiment, the method for measuring electric energy of a transformer includes:

[0062] S1. Calibrate a mutual inductor pre-installed on a circuit to be measured, and use the mutual inductor to obtain current data and voltage data of the circuit to be measured.

[0063] In the embodiment of the present invention, the circuit to be measured is a circuit with large current and high voltage, and the current data and voltage data of the circuit to be measured cannot be directly measured.

[0064] In the embodiment of the present invention, the transformer is an electrical device widely used in power systems. The transformer measurement principle is based on electromagnetic induction and transformation ratio principle. High voltage and large current are converted into low voltage and small current suitable for measurement and recording through current transformer and voltage transformer.

[0065] In the embodiment of the present invention, as the transformer is used for a longer time, its internal magnetic circuit and winding may change, resulting in a decrease in the accuracy of the output signal. Therefore, regular calibration of the transformer is the key to ensuring accurate energy measurement.

[0066] In the embodiment of the present invention, referring to Figure 2 As shown, a schematic diagram of a flow chart of calibrating a mutual inductor is provided in an embodiment of the present invention, wherein the calibration process of the mutual inductor pre-set on the circuit to be measured includes:

[0067] S21, connecting the mutual inductor in parallel with a pre-prepared first calibrator, and connecting the mutual inductor in series with a pre-prepared second calibrator, to obtain a calibration circuit;

[0068] S22, connecting the calibration circuit to a pre-prepared test power supply;

[0069] S23, calculating the current error value and the voltage error value of the transformer according to the current and voltage readings of the transformer, and the current and voltage readings of the first calibrator and the second calibrator;

[0070] S24. Adjust the transformer according to the current error value and the voltage error value.

[0071] In detail, the first calibrator and the second calibrator are both high-precision mutual inductors in nature, so the error of the mutual inductor can be calculated by comparing the readings of the mutual inductor with those of the first calibrator and the second calibrator.

[0072] In detail, the current error value and the voltage error value of the transformer are calculated based on the current and voltage readings of the transformer, and the current and voltage readings of the first calibrator and the second calibrator, which means that the voltage reading of the transformer is subtracted from the voltage reading of the first calibrator to obtain the voltage error value, and the current reading of the transformer is subtracted from the current reading of the second calibrator to obtain the current error value.

[0073] In detail, adjusting the mutual inductor according to the current error value and the voltage error value refers to adjusting the number of turns of the primary winding and the secondary winding of the mutual inductor to correct the transformation ratio of the mutual inductor.

[0074] In detail, the primary winding is the part of the transformer connected to the main circuit (high voltage or high current circuit), which converts the voltage or current in the main circuit into a level suitable for measurement or control through the principle of electromagnetic induction; the secondary winding is the low voltage or low current part of the transformer connected to the measuring device or control device, which provides a voltage or current proportional to the primary winding, which is used for instrument indication, energy meter metering or protective device triggering; the transformation ratio refers to the ratio of the number of turns of the primary winding to the secondary winding, and this ratio determines the conversion ratio of voltage or current.

[0075] In the embodiment of the present invention, the use of the transformer to obtain the current data and the voltage data of the circuit to be measured is to directly read the secondary side current value and the secondary side voltage value displayed by the transformer.

[0076] In detail, the secondary-side current value and the secondary-side voltage value refer to values ​​obtained by converting a large current and a high voltage of the circuit to be measured.

[0077] In the embodiment of the present invention, by calibrating the mutual inductor pre-set on the circuit to be measured, the accuracy of the mutual inductor is improved, and by using the mutual inductor to obtain current data and voltage data of the circuit to be measured, the efficiency of subsequent calculation of the power factor is improved.

[0078] S2. Filter the current data to obtain a filtered current, and filter the voltage data to obtain a filtered voltage.

[0079] In the embodiment of the present invention, the filtering process refers to applying a specific filtering technology to improve the quality of the current signal, the main purpose of which is to remove noise and interference in the current and retain or extract useful information. The current signal may be affected by various factors, such as power supply fluctuations, electromagnetic interference, equipment aging, etc., all of which may introduce noise and abnormal fluctuations. Through filtering, the stability and reliability of the signal can be improved.

[0080] In the embodiment of the present invention, referring to Figure 3 As shown, a schematic diagram of a filtering process is provided in an embodiment of the present invention, wherein filtering the current data to obtain a filtered current includes:

[0081] S31, amplifying the current data to obtain an amplified current;

[0082] S32, dividing the amplified current into a plurality of time windows according to a preset duration;

[0083] S33, calculating the average value of the amplified current in each time window;

[0084] S34, replacing the amplified current in each time window with the average value calculated in each time window to obtain an average current;

[0085] S35, performing shrinkage processing on the average current to obtain a filtered current.

[0086] In detail, the amplification process of the current data is to amplify the fluctuation amplitude of the current data to improve the accuracy of the subsequent calculation of the average value.

[0087] In detail, dividing the amplified current into a number of time windows according to a preset time length means dividing the current data within a certain time length into a time window, and the preset time length needs to be set according to actual processing requirements. The longer the preset time length is, the higher the processing efficiency is, and the shorter the preset time length is, the more accurate the filtered current obtained by the filtering process is.

[0088] In detail, calculating the average value of the amplified current in each time window refers to sampling the amplified current in each time window to obtain multiple sampling points, and then calculating the average value of the sampling points as the current value of the amplified current in each time window.

[0089] In detail, the shrinking process of the average current is to reduce the fluctuation amplitude of the average current. The shrinking factor of the shrinking process is the same as the amplification factor of the amplification process, so that the filtered current and the current data before the filtering process are on the same scale.

[0090] In the embodiment of the present invention, the step of filtering the voltage data to obtain the filtered voltage is the same as the step of filtering the current data, which will not be repeated here.

[0091] In the embodiment of the present invention, since the acquired current data and voltage data are continuously updated, the filtering process of the current data and the filtering process of the voltage data are both continuously performed.

[0092] In the embodiment of the present invention, the current data is filtered to obtain a filtered current, thereby improving the accuracy of the current data; and the voltage data is filtered to obtain a filtered voltage, thereby improving the accuracy of the voltage data.

[0093] S3. Obtain the working environment temperature of the transformer, calculate a temperature compensation value according to the working environment temperature, and correct the filter current and filter voltage according to the temperature compensation value to obtain a corrected current and a corrected voltage.

[0094] In the embodiment of the present invention, the working environment temperature of the mutual inductor is obtained by using a temperature sensor preset in the mutual inductor.

[0095] In the embodiment of the present invention, the temperature compensation value refers to the effect of temperature change on the performance of the transformer in the process of electric energy metering, and the effect is corrected by calculating a compensation value to improve the accuracy of current and voltage.

[0096] In an embodiment of the present invention, calculating the temperature compensation value according to the working environment temperature includes:

[0097] Calculating the difference between the working environment temperature and a preset standard working temperature to obtain a temperature difference;

[0098] Obtaining the temperature coefficient and rated value of the mutual inductor;

[0099] A temperature compensation value is calculated according to the temperature difference, the temperature coefficient and the rated value.

[0100] In detail, the calculating the temperature compensation value according to the temperature difference, the temperature coefficient and the rated value includes:

[0101] The temperature compensation value is calculated using the following formula:

[0102] K=W*μ*ΔT

[0103] Wherein, K is the temperature compensation value, W is the rated value, ε is the temperature coefficient, and ΔT is the temperature difference.

[0104] In detail, the preset standard operating temperature, the temperature coefficient, and the rated value are all provided by the manufacturer of the mutual inductor.

[0105] In detail, the standard operating temperature refers to the ambient temperature when the mutual inductor can accurately read data, and the standard operating temperature is usually between 20 degrees and 25 degrees.

[0106] In detail, the temperature coefficient refers to the ratio of the change of the performance parameters (such as transformation ratio, accuracy, etc.) of the transformer with temperature when it works at different temperatures. In practical applications, the resistance values ​​of the transformer's sampling resistor, Rogowski coil and other components will change with temperature. This change will affect the output of the transformer and further affect the accuracy of the entire measurement system.

[0107] In detail, the rated value refers to a series of performance parameters determined during the design and manufacture of the transformer, which define the limit values ​​at which the transformer can operate safely and accurately under normal working conditions.

[0108] In an embodiment of the present invention, the step of correcting the filter current according to the temperature compensation value includes:

[0109] The correction current is calculated using the following formula:

[0110]

[0111] Among them, I x is the correction current, I y is the filtering current, K is the temperature compensation value, and W is the rated value.

[0112] In the embodiment of the present invention, the method of correcting the filter voltage according to the temperature compensation value is the same as the method of correcting the filter current according to the temperature compensation value, which will not be described in detail here.

[0113] In the embodiment of the present invention, since the filter current and the filter voltage are continuously updated, the operation of correcting the filter current and the filter voltage is also continuously performed. The operation frequency of correcting the filter current and the filter voltage is the same as the frequency of the filtering process.

[0114] In an embodiment of the present invention, the working environment temperature of the transformer is obtained, a temperature compensation value is calculated according to the working environment temperature, and the filter current and filter voltage are corrected according to the temperature compensation value to obtain a corrected current and a corrected voltage, thereby improving the accuracy of the filter current and the filter voltage.

[0115] S4. Calculate the power factor of the transformer.

[0116] In the embodiment of the present invention, the power factor of the transformer is a parameter indicating the relationship between the actual power (active power) and the apparent power in the AC circuit, and is an important indicator of the efficiency of electric energy utilization.

[0117] In detail, the apparent power is the power value obtained by multiplying the voltage and the current in an AC circuit. It is the theoretically possible maximum power in the circuit.

[0118] In an embodiment of the present invention, calculating the power factor of the transformer includes:

[0119] The power factor is calculated using the following formula:

[0120]

[0121] Wherein, PF is the power factor, is the phase difference between the transformer current waveform and the voltage waveform, is the cosine of the phase difference, f is the frequency of the current passing through the transformer, and Δt is the time difference between the transformer current waveform and the voltage waveform.

[0122] In detail, the time difference may be obtained by observing the current waveform and the voltage waveform of the transformer through an oscilloscope, and the time difference refers to the time that the peak of the current waveform lags behind the peak of the voltage waveform.

[0123] In detail, the phase difference is a parameter that describes the time offset between two sinusoidal waveforms in an AC circuit. In electricity and physics, the phase difference is used to measure the relative position of two periodic signals (such as voltage and current waveforms) in their cycles, and the size of the phase difference directly affects the power factor.

[0124] In the embodiment of the present invention, by calculating the power factor of the transformer, the efficiency and accuracy of subsequent calculation of electric energy are improved.

[0125] S5. Calculate the electric energy of the circuit to be measured according to the corrected current, the corrected voltage and the power factor.

[0126] In the embodiment of the present invention, the calculation of the electric energy of the circuit to be measured is of great significance to both enterprises and power system operators. By calculating the electric energy consumption, it can help enterprises and power system operators to calculate electricity bills, and at the same time help enterprises to optimize energy consumption and save costs. In addition, by calculating the electric energy consumption, it is possible to discover equipment faults based on abnormal changes in electric energy consumption, which is beneficial to equipment maintenance. Therefore, it is necessary to accurately calculate the electric energy consumption.

[0127] In an embodiment of the present invention, the calculating the electric energy of the circuit to be measured according to the corrected current, the corrected voltage and the power factor includes:

[0128] The electric energy of the circuit to be measured is calculated using the following formula:

[0129]

[0130] Wherein, E is the electric energy of the circuit to be measured, t represents the measurement time of the mutual inductor on the circuit to be measured, and I x (i) represents the corrected current at the i-th moment, V x (i) represents the corrected voltage at the i-th moment, and PF is the power factor.

[0131] In the embodiment of the present invention, the accuracy and efficiency of measuring electric energy are improved by calculating the electric energy of the circuit to be measured according to the corrected current, the corrected voltage and the power factor.

[0132] like Figure 4, which is a functional module diagram of an electric energy metering device of a mutual inductor provided in one embodiment of the present invention.

[0133] The electric energy metering device 100 of the transformer of the present invention can be installed in an electronic device. According to the functions to be implemented, the electric energy metering device 100 of the transformer can include a data acquisition module 101, a data filtering module 102, a data calculation module 103, a data correction module 104 and an electric energy metering module 105. The module of the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by a processor of an electronic device and can complete fixed functions, which are stored in the memory of the electronic device.

[0134] In this embodiment, the functions of each module / unit are as follows:

[0135] The data acquisition module 101 is used to calibrate the transformer pre-set on the circuit to be measured, and use the transformer to obtain the current data and voltage data of the circuit to be measured, and obtain the working environment temperature of the transformer;

[0136] The data filtering module 102 is used to filter the current data to obtain a filtered current, and to filter the voltage data to obtain a filtered voltage;

[0137] The data calculation module 103 is used to calculate the temperature compensation value according to the working environment temperature, and calculate the power factor of the transformer;

[0138] The data correction module 104 is used to correct the filter current and filter voltage according to the temperature compensation value to obtain a corrected current and a corrected voltage;

[0139] The electric energy metering module 105 is used to calculate the electric energy of the circuit to be measured according to the corrected current, the corrected voltage and the power factor.

[0140] In detail, each module described in the electric energy metering device 100 of the mutual inductor in the embodiment of the present invention is used in the same manner as described above. Figures 1 to 3 The technical means are the same as the electric energy metering method of the mutual inductor described in, and can produce the same technical effects, so they will not be repeated here.

[0141] like Figure 5 , which is a schematic diagram of the structure of an electronic device of the electric energy metering method of the mutual inductor provided in an embodiment of the present invention.

[0142] The electronic device 1 may include a processor 10, a memory 11, a communication bus 12, and a communication interface 13, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as a transformer electric energy metering program.

[0143] In some embodiments, the processor 10 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor 10 is the control core (ControlUnit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules (such as the electric energy metering program of the transformer, etc.) stored in the memory 11, and calls the data stored in the memory 11 to execute various functions of the electronic device and process data.

[0144] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of an electronic device, such as a mobile hard disk of the electronic device. In other embodiments, the memory 11 may also be an external storage device of an electronic device, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory 11 may also include both an internal storage unit of the electronic device and an external storage device. The memory 11 can not only be used to store application software and various types of data installed in the electronic device, such as the code of the electric energy metering program of the transformer, but also be used to temporarily store data that has been output or is to be output.

[0145] The communication bus 12 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.

[0146] The communication interface 13 is used for communication between the above-mentioned electronic device and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a display (Display), an input unit (such as a keyboard (Keyboard)), and optionally, the user interface may also be a standard wired interface, a wireless interface. Optionally, in this embodiment, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device and to display a visual user interface.

[0147] The figure only shows an electronic device with components. Those skilled in the art will understand that the structure shown in the figure does not constitute a limitation on the electronic device, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0148] For example, although not shown, the electronic device may also include a power source (such as a battery) for supplying power to each component. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

[0149] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.

[0150] The electric energy metering program of the mutual inductor stored in the memory 11 of the electronic device 1 is a combination of multiple instructions. When running in the processor 10, it can achieve:

[0151] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to the description of the relevant steps in the corresponding embodiment of the accompanying drawings, which will not be repeated here.

[0152] Furthermore, if the module / unit integrated in the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).

Claims

1. A method for measuring electric energy of a mutual inductor, characterized in that: The method comprises: Calibrate a mutual inductor pre-set on the circuit to be measured, and use the mutual inductor to obtain current data and voltage data of the circuit to be measured; Filtering the current data to obtain a filtered current, and filtering the voltage data to obtain a filtered voltage; Acquire the working environment temperature of the mutual inductor, calculate the temperature compensation value according to the working environment temperature, and correct the filter current and filter voltage according to the temperature compensation value to obtain the corrected current and corrected voltage; Calculating the power factor of the transformer; The electric energy of the circuit to be measured is calculated according to the corrected current, the corrected voltage and the power factor.

2. The electric energy metering method of a mutual inductor according to claim 1, characterized in that: The calibration process of the mutual inductor pre-set on the circuit to be measured includes: The mutual inductor is connected in parallel with a pre-prepared first calibrator, and the mutual inductor is connected in series with a pre-prepared second calibrator to obtain a calibration circuit; Connecting the calibration circuit to a pre-prepared test power supply; Calculating a current error value and a voltage error value of the transformer according to the current and voltage readings of the transformer and the current and voltage readings of the first calibrator and the second calibrator; The mutual inductor is adjusted according to the current error value and the voltage error value.

3. The electric energy metering method of a mutual inductor according to claim 1, characterized in that: The filtering the current data to obtain a filtered current includes: amplifying the current data to obtain an amplified current; Dividing the amplified current into a plurality of time windows according to a preset duration; Calculate the average value of the amplified current in each time window; The amplified current in each time window is replaced by the average value calculated in each time window to obtain the average current; The average current is subjected to shrinkage processing to obtain a filtered current.

4. The electric energy metering method of a mutual inductor according to claim 1, characterized in that: The step of calculating the temperature compensation value according to the working environment temperature comprises: Calculating the difference between the working environment temperature and a preset standard working temperature to obtain a temperature difference; Obtaining the temperature coefficient and rated value of the mutual inductor; A temperature compensation value is calculated according to the temperature difference, the temperature coefficient and the rated value.

5. The electric energy metering method of a mutual inductor as claimed in claim 4, characterized in that: The step of calculating the temperature compensation value according to the temperature difference, the temperature coefficient and the rated value comprises: The temperature compensation value is calculated using the following formula: K=W*μ*ΔT Wherein, K is the temperature compensation value, W is the rated value, μ is the temperature coefficient, and ΔT is the temperature difference.

6. The electric energy metering method of a mutual inductor according to claim 1, characterized in that: The step of correcting the filter current according to the temperature compensation value comprises: The correction current is calculated using the following formula: Among them, I x is the correction current, I y is the filtering current, K is the temperature compensation value, and W is the rated value.

7. The electric energy metering method of a mutual inductor according to claim 1, characterized in that: The calculating the power factor of the transformer comprises: The power factor is calculated using the following formula: Wherein, PF is the power factor, is the phase difference between the transformer current waveform and the voltage waveform, is the cosine of the phase difference, f is the frequency of the current passing through the transformer, and Δt is the time difference between the transformer current waveform and the voltage waveform.

8. The electric energy metering method of a mutual inductor according to claim 1, characterized in that: The calculating the electric energy of the circuit to be measured according to the corrected current, the corrected voltage and the power factor comprises: The electric energy of the circuit to be measured is calculated using the following formula: Wherein, E is the electric energy of the circuit to be measured, t represents the measurement time of the mutual inductor on the circuit to be measured, and I x (i) represents the corrected current at the i-th moment, V x (i) represents the corrected voltage at the i-th moment, and PF is the power factor.

9. An electric energy metering device for a mutual inductor, characterized in that: The device comprises: A data acquisition module, used to calibrate a mutual inductor pre-set on the circuit to be measured, and use the mutual inductor to obtain current data and voltage data of the circuit to be measured, as well as to obtain the working environment temperature of the mutual inductor; A data filtering module, used for filtering the current data to obtain a filtered current, and filtering the voltage data to obtain a filtered voltage; A data calculation module, used to calculate a temperature compensation value according to the working environment temperature, and to calculate a power factor of the mutual inductor; A data correction module, used for correcting the filter current and the filter voltage according to the temperature compensation value to obtain a corrected current and a corrected voltage; The electric energy metering module is used to calculate the electric energy of the circuit to be measured according to the corrected current, the corrected voltage and the power factor.

10. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively coupled to the at least one processor; 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 electric energy metering method of the transformer as described in any one of claims 1 to 8.

Citation Information

Cited By

  • Automatic compensation adjustment method and device for current transformer

    CN119291594A

  • Wide dynamic voltage transformer system and method for evaluating inertia and damping of power grid

    CN120993017A

  • Measurement method and system of mutual inductor magnitude traceability device, electronic equipment and medium

    CN121899730A

  • Measurement method and system of transformer value traceability device, electronic equipment and medium

    CN121899730B