Electric energy metering method, device and equipment based on intelligent harmonic compensation and medium

By implementing intelligent harmonic compensation technology in smart meters, the problem of inaccurate electricity metering caused by existing meters ignoring high-frequency harmonics is solved, and the accurate measurement of harmonic electricity is achieved, which improves the accuracy and reliability of electricity metering.

CN120142749AActive Publication Date: 2025-06-13SHENZHEN JIANGJI IND
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510599946.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-12
Publication Date
2025-06-13
Estimated Expiration
2045-05-12

AI Technical Summary

Technical Problem

Existing electricity meters ignore high-frequency harmonics when performing electricity metering, resulting in inaccurate electricity metering and affecting the reliability of electricity metering.

Method used

By implementing intelligent harmonic compensation technology in a smart meter, the transmission current of the main line is monitored, the voltage and current signals are sampled in real time, converted into frequency domain signals, decomposed into each harmonic signal, power calculation is performed, and the initial calculated power is harmonic compensation to obtain accurate metered power.

Benefits of technology

Accurate measurement of harmonic electrical energy is achieved, and the accuracy and reliability of electrical energy measurement is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120142749A_ABST
    Figure CN120142749A_ABST
Patent Text Reader

Abstract

The invention discloses an electric energy metering method, device and equipment based on intelligent harmonic compensation and a medium, and the method comprises the steps: judging whether a main line meets an electric energy metering condition, obtaining a sampling signal and correspondingly converting the sampling signal to obtain a frequency domain signal if the main line meets the electric energy metering condition, decomposing the frequency domain signal according to a reference frequency and a decomposition strategy to obtain each harmonic signal, and performing power measurement and calculation on each harmonic signal to obtain initial measurement and calculation power, and performing harmonic compensation on the initial measurement and calculation power to obtain metering power. According to the electric energy metering method based on intelligent harmonic compensation, the frequency domain signal can be decomposed to obtain each harmonic signal and perform power measurement and calculation, and then harmonic compensation is performed on the initial measurement and calculation power, so that the harmonic electric energy is metered, and the accuracy and reliability of electric energy metering are 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 smart meters, and particularly to a power metering method, device, equipment and medium based on intelligent harmonic compensation. Background Art

[0002] In order to measure the electric energy used by users, it is necessary to use an electric meter to measure the power consumption in the wire in real time so as to achieve power metering. However, during the use of electrical appliances, voltage and current fluctuations and harmonics are likely to occur due to processes such as voltage transformation and rectification. Existing electric meters usually ignore high-frequency harmonics during power metering, resulting in inaccurate power metering and affecting the reliability of power metering. Therefore, there is a problem of insufficient accuracy in power metering in existing technical methods. Summary of the Invention

[0003] Embodiments of the present invention provide a power metering method, device, equipment and medium based on intelligent harmonic compensation, aiming to solve the problem of insufficient accuracy in power metering in existing technical methods.

[0004] In a first aspect, embodiments of the present invention provide a power metering method based on intelligent harmonic compensation. The method is applied to a smart meter, and the method includes: Continuously monitor whether the transmission current of the main line meets a preset power metering condition; If the transmission current meets the power metering condition, sample the voltage and current of the main line in real time to obtain corresponding sampling signals; Convert the sampling signals according to a preset signal conversion rule to obtain frequency-domain signals corresponding to the sampling signals; Decompose the frequency-domain signals according to a preset reference frequency and decomposition strategy to obtain harmonic signals of each order corresponding to the reference frequency; Calculate the power of each harmonic signal according to a preset harmonic power calculation strategy and the sampling signals to obtain corresponding initial calculated powers; Perform harmonic compensation on the initial calculated powers according to a preset compensation strategy and the sampling signals to obtain corresponding metering powers.

[0005] In a second aspect, embodiments of the present invention further provide a power metering device based on intelligent harmonic compensation. The device is configured in a smart meter, and the device is used to execute the power metering method based on intelligent harmonic compensation as described in the first aspect above. The device includes: A monitoring unit for continuously monitoring whether the transmission current of the main line meets a preset power metering condition; A sampling unit, configured to, if the transmission current meets the power metering condition, perform real-time sampling on the voltage and current of the main line to obtain corresponding sampling signals; A conversion unit, configured to convert the sampling signals according to a preset signal conversion rule to obtain frequency-domain signals corresponding to the sampling signals; A decomposition unit, configured to decompose the frequency-domain signals according to a preset reference frequency and decomposition strategy to obtain harmonic signals of each order corresponding to the reference frequency; A power measurement unit, configured to perform power measurement on the harmonic signals of each order according to a preset harmonic power measurement strategy and the sampling signals to obtain corresponding initial measured powers; A compensation unit, configured to perform harmonic compensation on the initial measured powers according to a preset compensation strategy and the sampling signals to obtain corresponding metering powers.

[0006] In a third aspect, an embodiment of the present invention further provides a computer device, where the device includes a processor, a communication interface, a memory, and a communication bus. The processor, the communication interface, and the memory complete communication with each other through the communication bus; The memory is used to store a computer program; The processor is configured to, when executing the program stored in the memory, implement the steps of the power metering method based on intelligent harmonic compensation described in the first aspect above.

[0007] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the power metering method based on intelligent harmonic compensation described in the first aspect above are implemented.

[0008] An embodiment of the present invention provides a power metering method, device, equipment, and medium based on intelligent harmonic compensation. The method includes: determining whether the main line meets the power metering condition. If it meets, obtaining sampling signals and correspondingly converting them to obtain frequency-domain signals, decomposing the frequency-domain signals according to a reference frequency and a decomposition strategy to obtain harmonic signals of each order, performing power measurement on the harmonic signals of each order to obtain initial measured powers, and performing harmonic compensation on the initial measured powers to obtain metering powers. The above power metering method based on intelligent harmonic compensation can decompose frequency-domain signals to obtain harmonic signals of each order and perform power measurement, and then perform harmonic compensation on the initial measured powers, so as to realize the metering of harmonic electric energy and improve the accuracy and reliability of electric energy metering. Description of the Drawings

[0009] To more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0010] Figure 1 It is a flowchart of the power metering method based on intelligent harmonic compensation provided by the embodiments of the present invention; Figure 2 It is a schematic block diagram of the power metering device based on intelligent harmonic compensation provided by the embodiments of the present invention; Figure 3 It is a schematic block diagram of the computer device provided by the embodiments of the present invention. Specific Embodiments

[0011] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts fall within the scope of protection of the present invention.

[0012] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their combinations.

[0013] It should also be understood that the terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to include the plural forms.

[0014] It should be further understood that the term " / and" used in the specification of the present invention and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0015] An embodiment of the present invention provides a power metering method based on intelligent harmonic compensation. This method is applied to an intelligent electricity meter, and the intelligent electricity meter executes the stored software program to implement the above-mentioned power metering method based on intelligent harmonic compensation. The intelligent electricity meter can detect the voltage and current in the main line and process the detected signals through an internally configured processing module to achieve power metering. The processing module can be an MCU chip or an FPGA chip.

[0016] As Figure 1 shown, the method includes steps S110 to S160.

[0017] S110. Continuously monitor whether the transmission current in the main line meets the preset power metering conditions.

[0018] The intelligent electricity meter can measure the current and voltage of the main line through an internal ammeter and voltage sensing circuit, so as to obtain the current and voltage of the main line. The transmission current of the main line can be measured, and it is judged whether the transmission current meets the preset power metering conditions. If the transmission current meets the power metering conditions, the power consumed currently is started to be measured. At this time, the measurement frequency of the transmission current is relatively low. For example, the measurement frequency of the transmission current can be set to 50 Hz (the measurement frequency is equal to the working frequency of the alternating current). Then, a group of current wave signals is obtained each time and the maximum value of this group of current wave signals is measured as a measured transmission current. If the transmission current does not meet the power metering conditions, power metering is not performed to reduce the power consumption of the intelligent electricity meter itself.

[0019] In a specific embodiment, step S110 includes sub-steps: judging whether the transmission current is greater than the current threshold in the power metering conditions; if the transmission current is greater than the current threshold, judging whether the continuous duration of the transmission current being greater than the current threshold is not less than the duration threshold in the power metering conditions; if the continuous duration is not less than the duration threshold, determining that the transmission current meets the power metering conditions; if the transmission current is not greater than the current threshold or the continuous duration is less than the duration threshold, determining that the transmission current does not meet the power metering conditions.

[0020] Specifically, it is possible to determine whether the transmission current measured in real time is greater than the current threshold in the power metering condition. If the transmission current measured in real time is greater than the current threshold, the duration for which the transmission current is greater than the current threshold is further obtained. The number of times of continuously determining that the transmission current is greater than the current threshold can be obtained, and the duration for which the transmission current is greater than the current threshold is obtained based on this number of times. It is determined whether this duration is not less than the duration threshold. If the duration is not less than the duration threshold, it is determined that the transmission current meets this power metering condition. If the transmission current is not greater than the current threshold, the cumulative number of determinations that the transmission current is greater than the current threshold is interrupted, and it is determined that the transmission current does not meet the power metering condition; if the duration is less than the duration threshold, it is also determined that the transmission current does not meet the power metering condition.

[0021] S120. If the transmission current meets the power metering condition, the voltage and current of the main line are sampled in real time to obtain corresponding sampling signals.

[0022] If the transmission current meets the power metering condition, the voltage and current of the main line are sampled in real time. At this time, the sampling frequency of the voltage and current is relatively high; for example, a frequency of 1 - 200 kHz can be used to perform high-frequency sampling on the voltage and current. Corresponding sampling signals can be sampled, and the sampling signals include current sampling signals and voltage sampling signals.

[0023] S130. Convert the sampling signal according to a preset signal conversion rule to obtain a frequency-domain signal corresponding to the sampling signal.

[0024] Furthermore, the sampling signal can be converted according to the signal conversion rule to obtain a frequency-domain signal corresponding to the sampling signal. The voltage sampling signal and the current sampling signal in the sampling signal are both time-domain signals. For further analysis of the sampling signal, the sampling signal can be converted into a frequency-domain signal through conversion processing. The horizontal axis in the frequency-domain signal is the frequency value, and the vertical axis is the amplitude.

[0025] In a specific embodiment, the frequency-domain signal includes a current frequency-domain signal and a voltage frequency-domain signal. Step S130 includes sub-steps: obtaining the current signal and the voltage signal in the same time period from the sampling signal to obtain a current signal segment and a voltage signal segment respectively; performing a fast Fourier transform on the current signal segment in the sampling signal according to the signal conversion rule to obtain a corresponding current frequency-domain signal; performing a fast Fourier transform on the voltage signal segment in the sampling signal according to the signal conversion rule to obtain a corresponding voltage frequency-domain signal.

[0026] The obtained frequency-domain signal includes a current frequency-domain signal and a voltage frequency-domain signal. The current frequency-domain signal corresponds to the current signal, and the voltage frequency-domain signal corresponds to the voltage signal. The current signal and the voltage signal in the same period can be obtained from the sampling signal. For example, the current signal and the voltage signal within the same second are obtained from the sampling signal and used as the current signal segment and the voltage signal segment respectively. The fast Fourier transform (FFT) is performed on the current signal segment according to the signal conversion rule. In the signal conversion rule, the fast Fourier transform formula is correspondingly configured, and the corresponding current frequency-domain signal is obtained through the transformation. Similarly, the fast Fourier transform is performed on the voltage signal segment to obtain the corresponding voltage frequency-domain signal. After completing the power measurement and metering of a group of current signal segments and voltage signal segments, continue to obtain the next group of current signal segments and voltage signal segments and repeat the corresponding processing.

[0027] S140. Decompose the frequency-domain signal according to the preset reference frequency and decomposition strategy to obtain harmonic signals corresponding to the reference frequency.

[0028] Furthermore, decompose the obtained frequency-domain signal according to the reference frequency and decomposition strategy, so as to obtain harmonic signals corresponding to different frequencies, the signal of each frequency harmonic and the corresponding fundamental harmonic signal.

[0029] In a specific embodiment, step S140 includes sub-steps: determining the frequency that is an integer multiple of the reference frequency as the corresponding harmonic frequency; determining the harmonic frequency range corresponding to each harmonic frequency according to the frequency fluctuation range in the decomposition strategy; decomposing the frequency-domain signal according to the harmonic frequency range to obtain harmonic frequency-domain signals corresponding to each harmonic frequency and combining them into the harmonic signals.

[0030] It should be noted that the corresponding harmonic frequency can be determined based on an integer multiple of the reference frequency. For example, if the reference frequency is 50 Hz and the integer multiples are 1 time, 2 times, 3 times..., then the harmonic frequencies corresponding to this reference frequency are 50 Hz, 100 Hz, 150 Hz, 200 Hz...

[0031] To accurately decompose each harmonic, the harmonic frequency range corresponding to each harmonic frequency can be further determined according to the frequency fluctuation range in the decomposition strategy. Multiply the upper limit value and the lower limit value in the frequency fluctuation range by the harmonic frequency respectively, and the upper limit and the lower limit of the harmonic frequency range interval can be correspondingly determined, so as to finally obtain the harmonic frequency range corresponding to the harmonic frequency. For example, the frequency fluctuation range is [0.95, 1.06], and a certain harmonic frequency is 200 Hz, then the harmonic frequency range corresponding to this harmonic frequency is [190 Hz, 212 Hz].

[0032] The frequency-domain signal is decomposed according to the harmonic frequency ranges corresponding to the respective harmonic frequencies, and the harmonic frequency-domain signals corresponding to the respective harmonic frequency ranges are respectively obtained from the frequency-domain signal. Then, the signal within a certain harmonic frequency range in the frequency-domain signal is decomposed from the frequency-domain signal. After decomposition, the harmonic frequency-domain signals corresponding to the respective harmonic frequencies can be obtained. The harmonic frequency-domain signal contains a set of harmonic frequency-domain signals corresponding to the reference frequency. Combining the obtained harmonic frequency-domain signals can obtain the respective harmonic signals.

[0033] S150. According to the preset harmonic power measurement strategy and the sampling signal, measure the power of the respective harmonic signals to obtain the corresponding initial measured power.

[0034] Further, measure the power of the respective harmonic signals according to the harmonic power measurement strategy and the sampling signal. The harmonic power measurement strategy is specifically the strategy for measuring the power of harmonic signals, and the corresponding measurement can obtain the initial measured power.

[0035] In a specific embodiment, step S150 includes sub-steps: extracting the reference parameter values corresponding to the respective harmonics from the respective harmonic signals according to the reference parameter items in the harmonic power measurement strategy and the sampling signal; performing power accumulation measurement on the reference parameter values corresponding to the respective harmonics according to the accumulation rule in the harmonic power measurement strategy to obtain the corresponding initial measured power.

[0036] Specifically, the corresponding reference parameter values can be obtained from the respective harmonic signals according to the reference parameter items and the sampling signal, and power accumulation measurement is performed on the reference parameter values corresponding to the respective harmonics based on the accumulation rule in the harmonic power measurement strategy, thereby obtaining the initial measured power. The reference parameter values include deviation parameter values and amplitude parameter values corresponding to the respective harmonic frequencies. The harmonic measurement powers of the respective harmonic frequencies are calculated respectively according to the amplitude parameter values corresponding to the respective harmonic frequencies, combined with the deviation parameter values, and accumulated to obtain the corresponding initial measured power.

[0037] Specifically, the power accumulation measurement can be expressed by formula (1): (1); P c is the calculated initial measured power, N is the total number of harmonic frequencies, V j is the voltage amplitude in the amplitude parameter value of the j-th harmonic, I j is the current amplitude in the amplitude parameter value of the j-th harmonic; θ is the deviation parameter value, which is specifically an angular value.

[0038] In a specific embodiment, extracting the reference parameter values corresponding to each harmonic from the respective harmonic signals according to the reference parameter items in the harmonic power measurement strategy and the sampling signal includes: extracting the amplitude parameter values corresponding to the amplitude characteristic parameters in the reference parameter items from the respective harmonic signals; extracting the deviation parameter values corresponding to the deviation characteristic parameters in the reference parameter items from the sampling signal according to the reference frequency range corresponding to the reference frequency; combining the deviation parameter values of the reference frequency and the amplitude parameter values of each harmonic to obtain the reference parameter values corresponding to each harmonic.

[0039] Specifically, the corresponding amplitude parameter values can be respectively extracted from the respective harmonic signals according to the amplitude characteristic parameters. The amplitude characteristic parameters include voltage amplitude characteristics and current amplitude characteristics. Then, according to the voltage amplitude characteristics, the maximum amplitude in the voltage frequency domain signal can be obtained from the respective harmonic signals as the corresponding voltage amplitude; according to the current amplitude characteristics, the maximum amplitude in the current frequency domain signal can be obtained from the respective harmonic signals as the corresponding current amplitude.

[0040] The reference parameter items also include deviation characteristic parameters. Further, the deviation parameter values corresponding to the deviation characteristic parameters are obtained from the sampling signal according to the reference frequency range corresponding to the reference frequency. Since the wave signal corresponding to the reference frequency has the largest proportion, the first wave peak of the current sampling signal in the sampling signal can be obtained. Wave peak scanning is performed according to the reference frequency range and the first wave peak, so as to obtain the current wave peak corresponding to the reference frequency range in the current sampling signal. Then, the frequencies corresponding to the intervals between adjacent current wave peaks are all within this reference frequency range. For example, if the interval time is t, the frequency corresponding to this interval time is 1 / t. Similarly, the corresponding voltage wave peak can be obtained from the voltage sampling signal based on the reference frequency range; there is a deviation time between each current wave peak and the nearest voltage wave peak in the sampling signal. This deviation time Δt < 1 / f 0 , where, f 0 is the reference frequency; the average value of the deviation times between each current wave peak and the nearest voltage wave peak in the sampling signal can be further calculated to obtain the corresponding average deviation time. Calculate the ratio between this average deviation time and 2π / f 0 Then, the average deviation time can be correspondingly converted into an angle value as the obtained deviation parameter value; where, f 0 is the reference frequency. The deviation parameter value can be used to characterize the average phase deviation between the voltage wave peak and the current wave peak.

[0041] Combining the obtained deviation parameter values of the reference frequency and the amplitude parameter values of each harmonic can obtain the reference parameter values corresponding to each harmonic.

[0042] S160. Perform harmonic compensation on the initial measured power according to a preset compensation strategy and the sampling signal to obtain the corresponding metering power.

[0043] Further perform harmonic compensation on the obtained initial measured power according to the compensation strategy and the sampling signal, so as to obtain the compensated metering power. By performing harmonic compensation on the initial measured power, the metering power for accurate electricity metering can be obtained.

[0044] In a specific embodiment, step S160 includes sub-steps: calculate the amplitude ratio corresponding to each harmonic according to the amplitude parameter value of each harmonic; perform compensation analysis on the amplitude ratio and the deviation parameter value corresponding to the sampling signal according to the compensation strategy to obtain the corresponding loss compensation coefficient; perform harmonic compensation on the initial measured power according to the loss compensation coefficient to obtain the corresponding metering power.

[0045] Specifically, the amplitude ratio corresponding to each harmonic can be calculated according to the amplitude parameter value of each harmonic, and the amplitude ratio includes the current amplitude ratio and the voltage amplitude ratio. Accumulate and calculate the current amplitudes of each harmonic to obtain the corresponding cumulative value of the current amplitudes. The current amplitude ratio of a harmonic is also the ratio between the current amplitude of this harmonic and the cumulative value of the current amplitudes; accumulate and calculate the voltage amplitudes of each harmonic to obtain the corresponding cumulative value of the voltage amplitudes. The voltage amplitude ratio of a harmonic is also the ratio between the voltage amplitude of this harmonic and the cumulative value of the voltage amplitudes.

[0046] The deviation parameter value can be obtained corresponding to the sampling signal, and compensation analysis is performed on the amplitude ratio and the deviation parameter value based on the compensation strategy to obtain the corresponding loss compensation coefficient, and the loss compensation coefficient can be used to compensate the initial measured power. A coefficient calculation formula is correspondingly configured in the compensation strategy, and the coefficient calculation formula can be expressed by formula (2): (2); B is the calculated loss compensation coefficient, R I is the harmonic current ratio, R V is the harmonic voltage ratio, and θ is the deviation parameter value. R I is the sum of the current amplitude ratios of other harmonics except the fundamental frequency, R V is the sum of the voltage amplitude ratios of other harmonics except the fundamental frequency. For example, θ = π / 12, R I = 0.12, R V= 0.08, and the corresponding calculated loss compensation coefficient B is 1.0187.

[0047] Among them, , ; A Ik is the current amplitude ratio of the k-th harmonic, A Vk is the voltage amplitude ratio of the k-th harmonic, N is the total number of harmonic frequencies; when k is 1, then A I1 is the current amplitude ratio of the reference frequency, and A V1 is the voltage amplitude ratio of the reference frequency.

[0048] The initial measured power can be harmonically compensated according to the loss compensation coefficient to finally obtain the metered power. Specifically, the loss compensation coefficient can be multiplied by the initial measured power to achieve harmonic compensation for the initial measured power, and the product result is also the metered power.

[0049] In the power metering method based on intelligent harmonic compensation disclosed in the above embodiments, the method includes: determining whether the main line meets the power metering conditions. If it meets, sampling signals are acquired and corresponding frequency-domain signals are obtained through conversion. The frequency-domain signals are decomposed according to the reference frequency and the decomposition strategy to obtain harmonic signals of each order. The power of each harmonic signal is measured to obtain the initial measured power, and the initial measured power is harmonically compensated to obtain the metered power. The above power metering method based on intelligent harmonic compensation can decompose the frequency-domain signals to obtain harmonic signals of each order and perform power measurement, and then perform harmonic compensation on the initial measured power, thereby realizing the metering of harmonic electric energy and improving the accuracy and reliability of electric energy metering.

[0050] An embodiment of the present invention also provides a power metering device based on intelligent harmonic compensation. The power metering device based on intelligent harmonic compensation can be configured in an intelligent meter and is used to execute any embodiment of the foregoing power metering method based on intelligent harmonic compensation. Specifically, please refer to Figure 2 , Figure 2 which is a schematic block diagram of the power metering device based on intelligent harmonic compensation provided by the embodiment of the present invention.

[0051] As Figure 2 shown, the power metering device 100 based on intelligent harmonic compensation includes a monitoring unit 110, a sampling unit 120, a conversion unit 130, a decomposition unit 140, a power measurement unit 150, and a compensation unit 160.

[0052] The monitoring unit 110 is used to continuously monitor whether the transmission current of the main line meets the preset power metering conditions.

[0053] A sampling unit 120, configured to, if the transmission current meets the power metering condition, perform real-time sampling on the voltage and current of the main line to obtain corresponding sampling signals.

[0054] A conversion unit 130, configured to convert the sampling signals according to a preset signal conversion rule to obtain frequency-domain signals corresponding to the sampling signals.

[0055] A decomposition unit 140, configured to decompose the frequency-domain signals according to a preset reference frequency and decomposition strategy to obtain harmonic signals of each order corresponding to the reference frequency.

[0056] A power calculation unit 150, configured to perform power calculation on the harmonic signals of each order according to a preset harmonic power calculation strategy and the sampling signals to obtain corresponding initial calculated powers.

[0057] A compensation unit 160, configured to perform harmonic compensation on the initial calculated powers according to a preset compensation strategy and the sampling signals to obtain corresponding metering powers.

[0058] In the power metering device based on intelligent harmonic compensation provided in the embodiments of the present invention, the above-mentioned power metering method based on intelligent harmonic compensation is applied to determine whether the main line meets the power metering condition. If it meets, sampling signals are obtained and corresponding frequency-domain signals are obtained through conversion. The frequency-domain signals are decomposed according to the reference frequency and decomposition strategy to obtain harmonic signals of each order. Power calculation is performed on the harmonic signals of each order to obtain initial calculated powers, and harmonic compensation is performed on the initial calculated powers to obtain metering powers. The above-mentioned power metering method based on intelligent harmonic compensation can decompose frequency-domain signals to obtain harmonic signals of each order and perform power calculation, and then perform harmonic compensation on the initial calculated powers, so as to realize the metering of harmonic electric energy and improve the accuracy and reliability of electric energy metering.

[0059] The above-mentioned power metering device based on intelligent harmonic compensation can be implemented in the form of a computer program, and the computer program can run on a computer device as shown in Figure 3 shown.

[0060] Please refer to Figure 3 , Figure 3 which is a schematic block diagram of the computer device provided in the embodiments of the present invention. The computer device can be an intelligent electric meter for performing the power metering method based on intelligent harmonic compensation to perform power metering.

[0061] Referring to Figure 3 , the computer device 500 includes a processor 502, a memory, and a communication interface 505 connected through a communication bus 501. Among them, the memory can include a storage medium 503 and an internal memory 504.

[0062] The storage medium 503 can store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, it can cause the processor 502 to execute an electric energy metering method based on intelligent harmonic compensation. Among them, the storage medium 503 can be a volatile storage medium or a non-volatile storage medium.

[0063] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500.

[0064] The internal memory 504 provides an environment for the operation of the computer program 5032 in the storage medium 503. When the computer program 5032 is executed by the processor 502, it can cause the processor 502 to execute an electric energy metering method based on intelligent harmonic compensation.

[0065] The communication interface 505 is used for network communication, such as providing the transmission of data information, etc. Those skilled in the art can understand that Figure 3 the structure shown in Figure 3 is only a block diagram of some structures related to the solution of the present invention, and does not constitute a limitation on the computer device 500 to which the solution of the present invention is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0066] Among them, the processor 502 is used to run the computer program 5032 stored in the memory to implement the corresponding functions in the above-mentioned electric energy metering method based on intelligent harmonic compensation.

[0067] Those skilled in the art can understand that Figure 3 the embodiments of the computer device shown in Figure 3 do not constitute a limitation on the specific composition of the computer device. In other embodiments, the computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements. For example, in some embodiments, the computer device may only include a memory and a processor. In such an embodiment, the structures and functions of the memory and the processor are the same as those of Figure 3 the embodiment shown, and will not be elaborated here.

[0068] It should be understood that in the embodiments of the present invention, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0069] In another embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium may be a volatile or non-volatile computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps included in the above-mentioned power metering method based on intelligent harmonic compensation are implemented.

[0070] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described devices, apparatuses, and units can refer to the corresponding processes in the foregoing method embodiments, and will not be described herein again. Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described according to their functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0071] In several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. Units with the same function may also be integrated into a single unit. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the displayed or discussed couplings, direct couplings, or communication connections to each other may be indirect couplings or communication connections through some interfaces, devices, or units, and may also be electrical, mechanical, or other forms of connection.

[0072] The unit described as a separation component may or may not be physically separated. The component shown as a unit may or may not be a physical unit, that is, it may be located in one place or may be distributed over multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiments of the present invention.

[0073] In addition, each functional unit in various embodiments of the present invention may be integrated in a processing unit, may exist physically alone for each unit, or two or more units may be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

[0074] If the above-mentioned integrated unit 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. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a computer-readable storage medium and includes several instructions for causing a computer device to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned computer-readable storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), magnetic disks, or optical discs that can store program codes.

[0075] The above is only the specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims

1. An electric energy metering method based on intelligent harmonic compensation, characterized in that: The method is applied to a smart electric meter, and the method comprises: Continuously monitor whether the transmission current of the main line meets the preset electric energy metering conditions; If the transmission current meets the electric energy metering condition, the voltage and current of the main line are sampled in real time to obtain a corresponding sampling signal; Convert the sampled signal according to a preset signal conversion rule to obtain a frequency domain signal corresponding to the sampled signal; Decomposing the frequency domain signal according to a preset reference frequency and a decomposition strategy to obtain harmonic signals corresponding to the reference frequency; Calculate the power of each harmonic signal according to the preset harmonic power calculation strategy and the sampling signal to obtain the corresponding initial calculated power; The initial measured power is harmonically compensated according to a preset compensation strategy and the sampling signal to obtain a corresponding measured power.

2. The electric energy metering method based on intelligent harmonic compensation according to claim 1 is characterized in that: The continuous monitoring of whether the transmission current of the main line meets the electric energy metering conditions includes: Determining whether the transmission current is greater than a current threshold in the electric energy metering condition; If the transmission current is greater than the current threshold, determining whether the duration for which the transmission current is greater than the current threshold is not less than a duration threshold in the electric energy metering condition; If the duration is not less than the duration threshold, it is determined that the transmission current meets the electric energy metering condition; If the transmission current is not greater than the current threshold or the duration is less than the duration threshold, it is determined that the transmission current does not meet the electric energy metering condition.

3. The electric energy metering method based on intelligent harmonic compensation according to claim 1 is characterized in that: The frequency domain signal includes a current frequency domain signal and a voltage frequency domain signal. The sampled signal is converted according to a preset signal conversion rule to obtain a frequency domain signal corresponding to the sampled signal, including: Acquire a current signal and a voltage signal in the same period from the sampling signal to obtain a current signal segment and a voltage signal segment respectively; Performing a fast Fourier transform on the current signal segment in the sampling signal according to the signal conversion rule to obtain a corresponding current frequency domain signal; According to the signal conversion rule, a fast Fourier transform is performed on the voltage signal segment in the sampling signal to obtain a corresponding voltage frequency domain signal.

4. The electric energy metering method based on intelligent harmonic compensation according to claim 1 is characterized in that: Decomposing the frequency domain signal according to a preset reference frequency and a decomposition strategy to obtain harmonic signals corresponding to the reference frequency includes: Determine a frequency that is an integer multiple of the reference frequency as a corresponding harmonic frequency; Determining a harmonic frequency range corresponding to each harmonic frequency according to the frequency fluctuation range in the decomposition strategy; The frequency domain signal is decomposed according to the harmonic frequency range to obtain harmonic frequency domain signals corresponding to each harmonic frequency and combine them into the harmonic signals.

5. The electric energy metering method based on intelligent harmonic compensation according to claim 1 is characterized in that: The power of each harmonic signal is calculated according to the preset harmonic power calculation strategy and the sampling signal to obtain the corresponding initial calculated power, including: Extracting reference parameter values ​​corresponding to each harmonic from each harmonic signal according to the reference parameter items in the harmonic power calculation strategy and the sampling signal; According to the accumulation rule in the harmonic power measurement strategy, the power accumulation measurement is performed on the reference parameter value corresponding to each harmonic to obtain the corresponding initial measurement power.

6. The electric energy metering method based on intelligent harmonic compensation according to claim 5 is characterized in that: The extracting the reference parameter value corresponding to each harmonic from each harmonic signal according to the reference parameter item in the harmonic power measurement strategy and the sampling signal includes: Extracting from each harmonic signal an amplitude parameter value corresponding to the amplitude characteristic parameter in the reference parameter item; Extracting from the sampled signal a deviation parameter value corresponding to the deviation characteristic parameter in the reference parameter item according to a reference frequency range corresponding to the reference frequency; The deviation parameter value of the reference frequency and the amplitude parameter value of each harmonic are combined to obtain the reference parameter value corresponding to each harmonic.

7. The electric energy metering method based on intelligent harmonic compensation according to claim 1 is characterized in that: The harmonic compensation of the initial measured power according to the preset compensation strategy and the sampling signal to obtain the corresponding measured power includes: The amplitude proportion corresponding to each harmonic is calculated according to the amplitude parameter value of each harmonic; Perform compensation analysis on the amplitude ratio and the deviation parameter value corresponding to the sampling signal according to the compensation strategy to obtain a corresponding loss compensation coefficient; The initial measured power is harmonically compensated according to the loss compensation coefficient to obtain the corresponding measured power.

8. An electric energy metering device based on intelligent harmonic compensation, characterized in that: The device is configured in a smart meter, and is used to execute the electric energy metering method based on intelligent harmonic compensation according to any one of claims 1 to 7, and the device includes: A monitoring unit, used to continuously monitor whether the transmission current of the main line meets the preset electric energy metering conditions; A sampling unit, configured to sample the voltage and current of the main line in real time to obtain a corresponding sampling signal if the transmission current meets the electric energy metering condition; A conversion unit, used to convert the sampled signal according to a preset signal conversion rule to obtain a frequency domain signal corresponding to the sampled signal; A decomposition unit, used to decompose the frequency domain signal according to a preset reference frequency and a decomposition strategy to obtain harmonic signals corresponding to the reference frequency; A power calculation unit, used to calculate the power of each harmonic signal according to a preset harmonic power calculation strategy and the sampling signal to obtain a corresponding initial calculated power; The compensation unit is used to perform harmonic compensation on the initial measured power according to a preset compensation strategy and the sampling signal to obtain the corresponding measured power.

9. A computer device, characterized in that: The device includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory, used to store computer programs; The processor is used to implement the steps of the electric energy metering method based on intelligent harmonic compensation described in any one of claims 1 to 7 when executing the program stored in the memory.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the electric energy metering method based on intelligent harmonic compensation as described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Three-phase high-precision harmonic electric energy meter

    CN109709390A

  • Intelligent electric meter chip and intelligent electric meter

    CN113625048A

  • Harmonic phase compensation method and device

    CN115407124A

  • Electronic watthour meter and power-associated quantity calculation circuit

    CN1493002A

  • Power control method, device, inverter apparatus, and power station controller

    WO2018024234A1