Low-power-consumption electric energy metering method, device and equipment based on intelligent mode switching

By implementing a mode-based intelligent switching method in smart meters, the problem that existing smart meters cannot flexibly adjust the working mode is solved, and the accuracy of power metering and the reduction of operating power consumption is achieved.

CN120177867AActive Publication Date: 2025-06-20SHENZHEN JIANGJI IND
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202510655660.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-21
Publication Date
2025-06-20
Estimated Expiration
2045-05-21

AI Technical Summary

Technical Problem

The existing smart meters cannot flexibly adjust their working mode, which makes it difficult to balance the pursuit of energy metering accuracy and reducing operating power consumption.

Method used

By implementing a mode-based intelligent switching method in a smart meter, the current and voltage of the main line are sampled according to the preset energy-saving mode and basic mode, to determine whether the starting measurement and mode switching conditions are met, and the sampling frequency is adjusted according to the current sampling signal to achieve flexible switching of the working mode.

Benefits of technology

This method can reduce the operating power consumption of smart meters and improve the overall efficiency of power metering while ensuring the accuracy of power metering.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120177867A_ABST
    Figure CN120177867A_ABST
Patent Text Reader

Abstract

The invention discloses a low-power-consumption electric energy metering method, device and equipment based on intelligent mode switching, and the method comprises the steps: carrying out the sampling of a power transmission current of a main line according to an energy-saving mode, obtaining a current sampling signal, and judging whether the current sampling signal meets an initial measurement condition or not; if yes, current and voltage sampling is carried out on the main line according to the basic mode, then electric quantity metering is further carried out, whether a current sampling signal meets a mode switching condition or not is judged, and if yes, a basic sampling frequency in the basic mode is adjusted according to the current sampling signal and the mode switching condition to obtain a current switching mode; and carrying out voltage and current sampling based on the current switching mode. According to the low-power-consumption electric energy metering method based on intelligent mode switching, the working mode of the intelligent electric meter can be flexibly adjusted according to the current sampling signal acquired at present and the current sampling signal, so that the operation power consumption of the intelligent electric meter is reduced as much as possible under the condition that the electric quantity metering accuracy is ensured; and the overall power consumption of the intelligent electric meter for electric quantity metering is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of smart meters, and particularly to a low-power power metering method, device and equipment based on intelligent mode switching. Background Art

[0002] To measure the electric energy used by users, an electric meter is required to measure the power consumption in the wire in real time to achieve power metering. Currently, the frequency of the power supply voltage is usually 50Hz or 60Hz. To accurately measure the power consumption, the actual sampling frequency is usually higher than the power supply voltage frequency. If a higher sampling frequency is adopted, more accurate current and voltage change information can be obtained, thereby improving the accuracy of power metering; however, a higher sampling frequency will consume additional electric energy, resulting in the smart meter operating at a higher power; if a lower sampling frequency is adopted, the operating power consumption of the smart meter can be reduced, but there may be problems with inaccurate power metering. Therefore, the smart meters in the existing technical methods have the problem that the working mode cannot be flexibly adjusted. Summary of the Invention

[0003] Embodiments of the present invention provide a low-power power metering method, device and equipment based on intelligent mode switching, aiming to solve the problem that the smart meters in the existing technical methods cannot flexibly adjust the working mode.

[0004] In a first aspect, embodiments of the present invention provide a low-power power metering method based on intelligent mode switching. The method is applied to a smart meter, and the method includes: Sampling the transmission current of the main line according to a preset energy-saving mode to obtain a corresponding current sampling signal; Judging whether the current sampling signal meets a preset starting measurement condition; If the current sampling signal meets the starting measurement condition, sampling the current and voltage of the main line according to a preset basic mode to obtain a corresponding initial sampling signal as the current sampling signal; Performing power metering according to the current sampling signal; Judging whether the current sampling signal meets a preset mode switching condition; If the mode switching condition is met, adjusting the sampling frequency configured in the basic mode according to the current sampling signal and the mode switching condition to be used as the current switching mode and sampling the current and voltage of the main line again.

[0005] In a second aspect, embodiments of the present invention further provide a low-power power metering device based on intelligent mode switching. The device is configured in a smart meter, and the device is used to execute the low-power power metering method based on intelligent mode switching as described in the first aspect above. The device includes: A current sampling unit, configured to sample the transmission current of the main line according to a preset energy-saving mode to obtain a corresponding current sampling signal; A current sampling signal judging unit, configured to judge whether the current sampling signal meets a preset starting measurement condition; A current and voltage sampling unit, configured to, if the current sampling signal meets the starting measurement condition, sample the current and voltage of the main line according to a preset basic mode to obtain a corresponding initial sampling signal as the current sampling signal; An electricity metering unit, configured to perform electricity metering according to the current sampling signal; A judging unit, configured to judge whether the current sampling signal meets a preset mode switching condition; A mode adjustment unit, configured to, if the mode switching condition is met, adjust the sampling frequency configured in the basic mode according to the current sampling signal and the mode switching condition, so as to use it as the current switching mode and sample the current and voltage of the main line again.

[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, and 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 on the memory, implement the steps of the low-power electricity metering method based on intelligent mode switching 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, where the computer program, when executed by a processor, implements the steps of the low-power electricity metering method based on intelligent mode switching described in the first aspect above.

[0008] An embodiment of the present invention provides a low-power power metering method, device, and equipment based on intelligent mode switching. The method includes: sampling the transmission current of the main line according to the energy-saving mode to obtain a current sampling signal and determining whether the starting measurement condition is met. If it is met, current and voltage sampling of the main line is performed according to the basic mode, and then power metering is further performed. It is determined whether the current sampling signal meets the mode switching condition. If it is met, the basic sampling frequency in the basic mode is adjusted according to the current sampling signal and the mode switching condition to obtain the current switching mode, and voltage and current sampling are performed based on the current switching mode. The above-mentioned low-power power metering method based on intelligent mode switching can flexibly adjust the working mode of the smart meter according to the currently collected current sampling signal and the current sampling signal, so as to reduce the operating power consumption of the smart meter as much as possible while ensuring the accuracy of power metering, and reduce the overall power consumption of the smart meter for power metering. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order 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, other drawings can be obtained based on these drawings without creative efforts.

[0010] Figure 1 It is a flowchart of the low-power power metering method based on intelligent mode switching provided by the embodiment of the present invention; Figure 2 It is a schematic block diagram of the low-power power metering device based on intelligent mode switching provided by the embodiment of the present invention; Figure 3 It is a schematic block diagram of the computer equipment provided by the embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0011] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with 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 protection scope of the present invention.

[0012] It should be understood that when used in this specification and the appended claims, the terms "comprises" and "comprising" 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 / or" 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 application provides a low-power power metering method based on intelligent mode switching, which is applied to an intelligent electric meter. The intelligent electric meter executes the stored software program to implement the above-mentioned low-power power metering method based on intelligent mode switching; the intelligent electric meter can detect the voltage and current in the main line, and process the detected signals through an internally configured processing module to achieve mode switching and 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. Sample the transmission current of the main line according to a preset energy-saving mode to obtain a corresponding current sampling signal.

[0018] Sample the transmission current of the main line according to a preset energy-saving mode to obtain a corresponding current sampling signal. When no power measurement is performed, the intelligent electric meter samples the transmission current of the main line in the energy-saving mode, and at this time, the voltage of the main line is not sampled. Specifically, the intelligent electric meter can measure the current and voltage of the main line through its internal ammeter and voltage induction circuit, so as to obtain the current and voltage of the main line; then, only the transmission current is sampled when no power measurement is performed, which can reduce the power consumption of the intelligent electric meter. Specifically, the sampling frequency of the energy-saving mode can be set relatively low, such as setting the sampling frequency of the energy-saving mode to 250 Hz.

[0019] S120. Determine whether the current sampling signal meets a preset starting measurement condition.

[0020] Determine whether the current sampling signal meets a preset starting measurement condition. Further determine whether the obtained current sampling signal meets the starting measurement condition. If the current sampling signal meets the starting measurement condition, the intelligent electric meter performs measurement and starts power metering. If the current sampling signal does not meet the starting measurement condition, the intelligent electric meter continues to sample the transmission current in the energy-saving mode, that is, no power metering process is performed.

[0021] In a specific embodiment, step S120 includes sub-steps: determining whether the instantaneous current in the current sampling signal is greater than the current threshold in the starting measurement condition; if the instantaneous current is greater than the current threshold, determining whether the duration for which the instantaneous current in the current sampling signal is greater than the current threshold is not less than the duration threshold in the starting measurement condition; if the duration is not less than the duration threshold, determining that the current sampling signal meets the starting measurement condition; if the instantaneous current is not greater than the current threshold or the duration is less than the duration threshold, determining that the current sampling signal does not meet the starting measurement condition.

[0022] The current sampling signal contains multiple currents obtained by continuous sampling. For example, if the sampling frequency in the energy-saving mode is 50 Hz, then a current value can be obtained every 0.004 seconds, and the multiple continuously sampled current values are combined into the current sampling signal.

[0023] Further, the maximum current value within one cycle time of the current sampling signal can be obtained as the instantaneous current. For example, if the voltage frequency of the alternating current is 50 Hz, then one cycle time is 1 / 50 = 0.02 seconds, and one cycle time corresponds to a complete wave signal in the alternating current; obtain multiple current values included within one cycle and determine the maximum current value among them as the instantaneous current. Determine whether the instantaneous current in the current sampling signal is greater than the current threshold in the starting measurement condition. If it is greater, then continuously judge the instantaneous current in the subsequent cycle time of the current sampling signal, thereby obtaining the duration for which the instantaneous current in the current sampling signal is greater than the current threshold, and judge whether this duration is not less than the duration threshold set in the starting measurement condition. For example, the duration threshold can be set to 0.2 seconds. If the duration is not less than the duration threshold, then it can be determined that the current sampling signal meets the starting measurement condition.

[0024] If the instantaneous current is not greater than the current threshold, or the duration is less than the duration threshold, then it is determined that the current sampling signal does not meet the starting measurement condition. If the starting measurement condition is not met, then return to execute step S110.

[0025] S130. If the current sampling signal meets the starting measurement condition, sample the current and voltage of the main line according to a preset basic mode to obtain a corresponding initial sampling signal as the current sampling signal.

[0026] If the current sampling signal meets the starting measurement condition, the main line measurement can be started and the power measurement can be performed based on the measured signal. Specifically, the current and voltage of the main line can be sampled according to a preset basic mode first, and the corresponding initial sampling signal is obtained as the current sampling signal. The current sampling and voltage sampling can be performed on the main line simultaneously, so the initial sampling signal obtained by sampling includes the current-related signal obtained by current sampling and the voltage-related signal obtained by voltage sampling.

[0027] In a specific embodiment, step S130 includes sub-steps: sampling the transmission current in the main line according to the basic sampling frequency set in the basic mode to obtain a corresponding basic current signal; sampling the transmission voltage in the main line according to the basic sampling frequency set in the basic model to obtain a corresponding basic voltage signal; respectively converting the basic current signal and the basic voltage signal according to the signal conversion rule in the basic mode to obtain corresponding current conversion signals and voltage conversion signals; combining the basic voltage signal, the basic current signal, the current conversion signal and the voltage conversion signal as the corresponding initial sampling signal.

[0028] Specifically, the transmission current in the main line can be sampled according to the basic sampling frequency set in the basic mode, and the transmission voltage in the main line can be sampled synchronously based on the basic sampling frequency. For example, the basic sampling frequency can be set to 2000 Hz. Then the obtained basic current signal and basic voltage signal both correspond to the reference sampling frequency, and a group of basic current signals and a group of basic voltage signals can be obtained per second. A group of basic current signals contains 2000 current values; similarly, a group of basic voltage signals also contains 2000 voltage values.

[0029] Further, the basic current signal and the basic voltage signal are respectively converted according to the signal conversion rule set in the basic mode. Specifically, the fast Fourier transform (FFT) can be performed on the basic current signal and the basic voltage signal according to the signal conversion rule. Then, the fast Fourier transform formula is correspondingly configured in the signal conversion rule, and the corresponding frequency domain signal is obtained after the transformation. The frequency domain signal corresponding to the basic current signal obtained is the current conversion signal, and the frequency domain information corresponding to the basic voltage signal is the voltage conversion signal. The basic voltage signal, the basic current signal, the current conversion signal and the voltage conversion signal are combined as the corresponding initial sampling signal.

[0030] S140. Perform power measurement according to the current sampling signal.

[0031] Perform power measurement based on the current sampling signal. Perform power measurement based on the current sampling signal. Specifically, the current conversion signal and voltage conversion signal in the obtained initial sampling signal can be decomposed according to the reference frequency, so as to obtain harmonic signals corresponding to different frequencies. Determine the corresponding harmonic frequencies based on integer multiples of the reference frequency. For example, if the reference frequency is 50 Hz and the integer multiples are 1 times, 2 times, 3 times..., the harmonic frequencies corresponding to this reference frequency are 50 Hz, 100 Hz, 150 Hz, 200 Hz... respectively. The harmonic frequencies are determined corresponding to the reference frequency, and in order to ensure the accuracy of power measurement, the harmonic frequencies need to be less than the basic sampling frequency. For example, if the basic sampling frequency f G is 2000 Hz, the maximum harmonic frequency suitable for measurement is about eight times the reference frequency f 0 , then the total number N of harmonic frequencies can be set to f G / 5f 0 . For example, if the basic sampling frequency f G is 2000 Hz and the reference frequency f 0 is 50 Hz, then the total number N of harmonic frequencies can be correspondingly set to 8.

[0032] 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 lower limit value in the frequency fluctuation range by the harmonic frequency respectively, and the upper limit and 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, if 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].

[0033] Decompose the frequency-domain signal according to the harmonic frequency range corresponding to each harmonic frequency, and respectively obtain the harmonic frequency-domain signals corresponding to each harmonic frequency range 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. Obtain the maximum amplitude of the current conversion signal and the signal corresponding to the harmonic frequency range in the frequency-domain signal as the current signal amplitude; at the same time, obtain the maximum amplitude of the voltage conversion signal and the signal corresponding to the harmonic frequency range in the frequency-domain signal as the voltage signal amplitude. Then the current signal amplitudes and voltage signal amplitudes of each harmonic frequency are combined into the harmonic signal of the fundamental harmonic frequency.

[0034] Further, power measurement is performed corresponding to the basic voltage signal, the basic current signal, and each harmonic signal. The first peak of the basic voltage signal can be obtained, and peak scanning is performed based on the reference frequency range and the first peak, so as to obtain the current peak corresponding to the reference frequency range in the basic voltage signal. Then, the frequencies corresponding to the time intervals between adjacent current peaks are all within the reference frequency range. For example, if the time interval is t, the frequency corresponding to this time interval is 1 / t. Similarly, the voltage peak corresponding to the reference frequency range can be obtained from the basic current signal based on the reference frequency range; there is a deviation time between the current peak and the nearest voltage peak in the basic current signal, and this deviation time Δt < 1 / f 0 , where f 0 is the reference frequency; the average value of the deviation times between each current peak obtained from the basic current signal based on the reference frequency and the nearest voltage peak obtained from the basic current signal based on the reference frequency can be further calculated to obtain the average deviation time corresponding to the reference frequency. Calculate the ratio between this average deviation time and 2π / f 0 , and then the average deviation time can be correspondingly converted into an angular value as the phase deviation parameter of the reference frequency. Where f 0 is the reference frequency. The phase deviation parameter can be used to characterize the average phase deviation between the voltage peak and the current peak in the reference frequency.

[0035] According to the amplitude of the voltage signal corresponding to the reference frequency in the harmonic signal, a reference voltage sine wave corresponding to the reference frequency and the voltage signal amplitude can be generated. The voltage values at the peaks of the reference voltage sine wave are all equal to the amplitude of this voltage signal, and the fluctuation period of the reference voltage sine wave is equal to the reference frequency. After aligning the peaks and valleys in the basic voltage signal with the reference voltage sine wave, subtract the reference voltage sine wave from the basic voltage signal correspondingly to obtain a primary processed voltage signal. Similarly, according to the amplitude of the current signal corresponding to the reference frequency in the harmonic signal, a reference current sine wave corresponding to the reference frequency and the current signal amplitude is generated; after aligning the peaks and valleys in the basic current signal with the reference current sine wave, subtract the reference current sine wave from the basic current signal correspondingly to obtain a primary processed current signal.

[0036] Further, according to twice the basic frequency (100 Hz), the average deviation time corresponding to twice the basic frequency is correspondingly obtained from the primary processed voltage signal and the primary processed current signal (at this time, peak scanning is performed with 2 f 0 as the reference), and calculate the ratio between this average deviation time and 2π / 2 f 0By calculating the ratio between them, the phase deviation parameter corresponding to twice the fundamental frequency can be obtained. The specific acquisition method is similar to the above steps. Further, subtract the voltage sine wave corresponding to twice the fundamental frequency (generated according to the amplitude of the voltage signal corresponding to the harmonic of twice the fundamental frequency and twice the fundamental frequency) from the first-processed voltage signal to obtain the second-processed voltage signal; subtract the current sine wave corresponding to twice the fundamental frequency (generated according to the amplitude of the current signal corresponding to the harmonic of twice the fundamental frequency and twice the fundamental frequency) from the first-processed current signal to obtain the second-processed current signal. Repeat the above steps to obtain the phase deviation parameters corresponding to each harmonic frequency.

[0037] Further, the power consumption can be measured for the current sampling signal according to formula (1): (1); P d is the measured power corresponding to a group of fundamental voltage signals and fundamental current signals, N is the total number of harmonic frequencies, V j is the amplitude of the voltage signal of the j-th harmonic, I j is the amplitude of the current signal of the j-th harmonic; θ j is the phase deviation parameter corresponding to the j-th harmonic, which is specifically an angle value.

[0038] S150. Determine whether the current sampling signal meets the preset mode switching condition.

[0039] Further, it can be determined whether the current sampling signal meets the pre-configured mode switching condition. If the mode switching condition is met, the working mode of the smart meter is switched; if the mode switching condition is not met, the working mode of the smart meter is not switched.

[0040] In a specific embodiment, step S150 includes sub-steps: obtaining the harmonic energy density in the current conversion signal and voltage conversion signal of the current sampling signal; obtaining the phase deviation angle between the fundamental current signal and the fundamental voltage signal in the current sampling signal; determining whether the phase deviation angle is within the angle interval in the mode switching condition; determining whether the harmonic energy density is within the density threshold interval in the mode switching condition; if the phase deviation angle is within the angle interval and the harmonic energy density is within the density threshold interval, it is determined that the current sampling signal does not meet the mode switching condition; if the phase deviation angle is not within the angle interval or the harmonic energy density is not within the density threshold interval, it is determined that the current sampling signal meets the mode switching condition.

[0041] The harmonic energy density in the current conversion signal and the voltage conversion signal in the sampling signal can be obtained; specifically, the amplitude of the current signal at the reference frequency in the current conversion signal can be obtained, and the ratio of the amplitude of the current signal at the reference frequency to the sum of the amplitudes of the current signals of each harmonic is calculated, which is the proportion of the amplitude of the current signal at the reference frequency B I ; the amplitude of the voltage signal at the reference frequency in the voltage conversion signal is obtained, and the ratio of the amplitude of the voltage signal at the reference frequency to the sum of the amplitudes of the voltage signals of each harmonic is calculated, which is the proportion of the amplitude of the voltage signal at the reference frequency B V 。 B I And B I Both have a value range of [0, 1], and the calculation formula of the harmonic energy density can be obtained by corresponding calculation using formula (2): (2); Q p That is the harmonic energy density

[0042] Obtain the phase deviation angle between the basic current signal and the basic voltage signal in the current sampling signal. Specifically, the phase deviation angle can be represented by formula (3) correspondingly (3); Among them, X is the phase deviation angle between the basic current signal and the basic voltage signal, N is the total number of harmonic frequencies θ j Is the phase deviation parameter corresponding to the j-th harmonic BI j Is the proportion of the amplitude of the j-th harmonic in the current conversion signal BV j Is the proportion of the amplitude of the j-th harmonic in the voltage conversion signal. When j = 1 BI 1 = B I , BV 1 = B V 。

[0043] Judge whether the phase deviation angle is within the angle interval in the mode switching condition; simultaneously judge whether the harmonic energy density is within the density threshold interval in the mode switching condition. If the phase deviation angle is within this angle interval and the harmonic energy density is within this density threshold interval, it is determined that the mode switching condition is not satisfied. If the phase deviation angle is not within this angle interval or the harmonic energy density is not within the density threshold interval, it is determined that the mode switching condition is satisfied

[0044] S160. If the mode switching condition is satisfied, adjust the sampling frequency configured in the basic mode according to the current sampling signal and the mode switching condition, so as to be the current switching mode and perform current and voltage sampling on the main line again.

[0045] If it is determined that the current sampling signal satisfies the mode switching condition, the sampling frequency configured in the basic mode can be adjusted according to the current sampling signal and the mode switching condition, so as to be the current switching mode. Further, according to the current switching mode, current and voltage sampling are performed on the main line again, so as to repeatedly execute the above steps for power metering. If the mode switching condition is not satisfied, the working mode of the smart meter is not switched.

[0046] In a specific embodiment, step S160 includes sub-steps: determining an adjustment coefficient corresponding to the harmonic energy density and phase deviation angle of the current sampling signal according to the coefficient determination rule in the mode switching condition; adjusting the sampling frequency in the basic mode according to the adjustment coefficient, so as to use the basic mode with the adjusted sampling frequency as the corresponding current switching mode; adjusting the density threshold interval and angle interval set in the mode switching condition according to the harmonic energy density and phase deviation angle of the current sampling signal.

[0047] Specifically, an adjustment coefficient corresponding to the harmonic energy density and phase deviation angle can be determined according to the coefficient determination rule configured in the mode switching condition. The coefficient determination rule can be represented by formula (4): (4); S is the adjustment coefficient, X is the phase deviation angle, Q p is the harmonic energy density, Q 0 is the density median corresponding to the density threshold interval configured in the mode switching condition, and ω is the angle median corresponding to the angle interval configured in the mode switching condition.

[0048] Adjust the sampling frequency set in the basic mode according to this adjustment coefficient, so as to obtain the basic mode with the adjusted sampling frequency as the corresponding current switching mode. Specifically, the product value of the adjustment coefficient and the set sampling frequency can be calculated, and the integer multiple reference frequency closest to this product value is obtained as the target frequency. Adjust the sampling frequency in the basic mode to this target frequency, so as to adjust and obtain the current switching mode.

[0049] Further adjust the density threshold range and angle range set in the mode switching condition according to the harmonic energy density and phase deviation angle. The specific adjustment method is to multiply the harmonic energy density by the preset density upper limit coefficient and density lower limit coefficient, and set the obtained product value as the new value corresponding to the density threshold range. For example, if the density upper limit coefficient is set to 1.15, the new upper limit value of the density threshold range can be set to 1.15× Q p . Based on the same processing method, multiplying the density lower limit coefficient by the harmonic energy density can correspondingly set the new lower limit value of the density threshold range. Then, the density median value of the newly set density threshold range is the average value of the upper limit value and the lower limit value in the density threshold range. Based on the same principle, multiply the phase deviation angle by the preset angle upper limit coefficient and angle lower limit coefficient, and set the obtained product value as the new value corresponding to the angle range. Then, the angle median value of the newly set angle range is the average value of the upper limit value and the lower limit value in the angle range.

[0050] In a specific embodiment, after step S150, the following steps are further included: if the mode switching condition is not satisfied, return to execute the step of sampling the current and voltage of the main line according to the preset basic mode.

[0051] If the mode switching condition is not satisfied, return to execute the step of sampling the current and voltage according to the basic model.

[0052] In a specific embodiment, after returning to execute the step of sampling the current and voltage of the main line according to the preset basic mode, or after using the current switching mode and sampling the current and voltage of the main line again, the following steps are further included: judging whether the newly sampled current sampling signal satisfies the preset termination measurement condition; if the current sampling signal satisfies the termination measurement condition, return to execute the step of sampling the transmission current of the main line according to the preset energy-saving mode; if the current sampling signal does not satisfy the termination measurement condition, return to execute the step of measuring the power consumption according to the current sampling signal.

[0053] After obtaining a new set of current sampling signals by sampling the current and voltage, it can be judged whether the new current sampling signal satisfies the termination measurement condition. If it is satisfied, the current and voltage measurement and power consumption measurement processing flow are terminated; return to execute step S110. If the termination measurement process is not satisfied, continue the current and voltage measurement and power consumption measurement processing, that is, return to execute step S140.

[0054] In the low-power power metering method based on pattern intelligent switching disclosed in the above embodiments, the method includes: sampling the transmission current of the main line according to the energy-saving mode to obtain a current sampling signal and determining whether the starting measurement condition is met. If it is met, current and voltage sampling of the main line is performed according to the basic mode, and then power metering is further performed. It is determined whether the current sampling signal meets the mode switching condition. If it is met, the basic sampling frequency in the basic mode is adjusted according to the current sampling signal and the mode switching condition to obtain the current switching mode, and voltage and current sampling are performed based on the current switching mode. The above low-power power metering method based on pattern intelligent switching can flexibly adjust the working mode of the smart meter according to the currently acquired current sampling signal and the current sampling signal, so as to reduce the operating power consumption of the smart meter as much as possible while ensuring the accuracy of power metering, and reduce the overall power consumption of the smart meter for power metering.

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

[0056] As Figure 2 shown, the low-power power metering device 100 based on pattern intelligent switching includes a current sampling unit 110, a current sampling signal judging unit 120, a current and voltage sampling unit 130, a power metering unit 140, a judging unit 150, and a mode adjusting unit 160.

[0057] The current sampling unit 110 is configured to sample the transmission current of the main line according to a preset energy-saving mode to obtain a corresponding current sampling signal.

[0058] The current sampling signal judging unit 120 is configured to judge whether the current sampling signal meets a preset starting measurement condition.

[0059] The current and voltage sampling unit 130 is configured to, if the current sampling signal meets the starting measurement condition, perform current and voltage sampling on the main line according to a preset basic mode to obtain a corresponding initial sampling signal as the current sampling signal.

[0060] The power metering unit 140 is configured to perform power metering according to the current sampling signal.

[0061] The judging unit 150 is configured to judge whether the current sampling signal meets a preset mode switching condition.

[0062] A mode adjustment unit 160, configured to adjust the sampling frequency configured in the basic mode according to the current sampling signal and the mode switching condition if the mode switching condition is satisfied, so as to use it as the current switching mode and perform current and voltage sampling on the main line again.

[0063] The low-power power metering device based on mode intelligent switching provided in the embodiment of the present invention applies the above-mentioned low-power power metering method based on mode intelligent switching, samples the transmission current of the main line according to the energy-saving mode, obtains a current sampling signal and judges whether the starting measurement condition is satisfied. If it is satisfied, current and voltage sampling are performed on the main line according to the basic mode and then power measurement is further performed. It is judged whether the current sampling signal satisfies the mode switching condition. If it is satisfied, the basic sampling frequency in the basic mode is adjusted according to the current sampling signal and the mode switching condition to obtain the current switching mode, and voltage and current sampling are performed based on the current switching mode. The above-mentioned low-power power metering method based on mode intelligent switching can flexibly adjust the working mode of the smart meter according to the currently collected current sampling signal and the current sampling signal, so as to reduce the operating power consumption of the smart meter as much as possible while ensuring the accuracy of power measurement, and reduce the overall power consumption of the smart meter for power measurement.

[0064] The above-mentioned low-power power metering device based on mode intelligent switching can be implemented in the form of a computer program, and this computer program can run on a computer device as shown in Figure 3 shown.

[0065] Please refer to Figure 3 , Figure 3 which is a schematic block diagram of the computer device provided in the embodiment of the present invention. This computer device can be a smart meter used to execute the low-power power metering method based on mode intelligent switching to perform intelligent switching of the working mode.

[0066] Refer to Figure 3 , this 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.

[0067] The storage medium 503 can store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, the processor 502 can be made to execute the low-power power metering method based on mode intelligent switching. Among them, the storage medium 503 can be a volatile storage medium or a non-volatile storage medium.

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

[0069] 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, the processor 502 can be made to execute the low-power power metering method based on intelligent mode switching.

[0070] 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 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.

[0071] 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 low-power power metering method based on intelligent mode switching.

[0072] Those skilled in the art can understand that Figure 3 The embodiment of the computer device shown in does 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 in Figure 3 the embodiment shown, and will not be described in detail here.

[0073] It should be understood that in the embodiment 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), off-the-shelf 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.

[0074] 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 low-power power metering method based on pattern intelligent switching are implemented.

[0075] 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 conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both. 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. Skilled professionals 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.

[0076] 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 can also be aggregated into one unit. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed couplings, direct couplings, or communication connections to each other can be indirect couplings or communication connections through some interfaces, devices, or units, and can also be in the form of electrical, mechanical, or other connections.

[0077] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed to 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.

[0078] In addition, the functional units in each embodiment of the present invention can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

[0079] When the 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 this 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.

[0080] As described above, the above are only specific embodiments 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 shall be subject to the protection scope of the claims.

Claims

1. A low-power consumption electric energy metering method based on intelligent mode switching, characterized in that: The method is applied to a smart electric meter, and the method comprises: The transmission current of the main line is sampled according to the preset energy-saving mode to obtain a corresponding current sampling signal; Determining whether the current sampling signal meets a preset starting measurement condition; If the current sampling signal meets the initial measurement condition, current and voltage sampling is performed on the main line according to a preset basic mode to obtain a corresponding initial sampling signal as a current sampling signal; Performing electricity measurement according to the current sampling signal; Determining whether the current sampling signal meets a preset mode switching condition; If the mode switching condition is met, the sampling frequency configured in the basic mode is adjusted according to the current sampling signal and the mode switching condition to serve as the current switching mode and the current and voltage of the main line are sampled again.

2. The low-power consumption electric energy metering method based on mode intelligent switching according to claim 1 is characterized in that: The determining whether the current sampling signal satisfies a preset starting measurement condition includes: Determining whether the instantaneous current in the current sampling signal is greater than the current threshold in the starting measurement condition; If the instantaneous current is greater than the current threshold, determining whether a duration during which the current in the current sampling signal is greater than the current threshold is not less than a duration threshold in the starting measurement condition; If the duration is not less than the duration threshold, it is determined that the current sampling signal meets the start measurement condition; If the instantaneous current is not greater than the current threshold or the duration is less than the duration threshold, it is determined that the current sampling signal does not meet the start measurement condition.

3. The low-power consumption electric energy metering method based on mode intelligent switching according to claim 1 is characterized in that: The current and voltage sampling of the main line according to the preset basic mode includes: Sampling the transmission current in the main line according to the basic sampling frequency set in the basic mode to obtain a corresponding basic current signal; Sampling the transmission voltage in the main line according to the basic sampling frequency set in the basic model to obtain a corresponding basic voltage signal; According to the signal conversion rule in the basic mode, the basic current signal and the basic voltage signal are converted respectively to obtain corresponding current conversion signals and voltage conversion signals; The basic voltage signal, the basic current signal, the current conversion signal and the voltage conversion signal are combined as a corresponding initial sampling signal.

4. The low-power consumption electric energy metering method based on mode intelligent switching according to claim 1 is characterized in that: The determining whether the current sampling signal satisfies a preset mode switching condition comprises: Acquire the harmonic energy density in the current conversion signal and the voltage conversion signal in the current sampling signal; Acquire a phase deviation angle between a basic current signal and the basic voltage signal in the current sampling signal; Determining whether the phase deviation angle is within the angle interval of the mode switching condition; Determining whether the harmonic energy density is within a density threshold interval in the mode switching condition; If the phase deviation angle is within the angle interval and the harmonic energy density is within the density threshold interval, it is determined that the current sampling signal does not meet the mode switching condition; If the phase deviation angle is not within the angle interval or the harmonic energy density is not within the density threshold interval, it is determined that the current sampling signal meets the mode switching condition.

5. The low-power consumption electric energy metering method based on mode intelligent switching according to claim 1 or 4, characterized in that: The step of adjusting the sampling frequency in the basic mode according to the current sampling signal and the mode switching condition to serve as the current switching mode and sampling the current and voltage of the main line again includes: Determining an adjustment coefficient corresponding to the harmonic energy density and the phase deviation angle of the current sampling signal according to a coefficient determination rule in the mode switching condition; Adjusting the sampling frequency in the basic mode according to the adjustment coefficient, so as to use the basic mode with the adjusted sampling frequency as the corresponding current switching mode; The density threshold interval and the angle interval set in the mode switching condition are adjusted according to the harmonic energy density and the phase deviation angle of the current sampling signal.

6. The low-power consumption electric energy metering method based on mode intelligent switching according to claim 1 is characterized in that: After determining whether the current sampling signal satisfies the preset mode switching condition, the method further includes: If the mode switching condition is not met, the process returns to executing the step of sampling the current and voltage of the main line according to the preset basic mode.

7. The low-power consumption electric energy metering method based on mode intelligent switching according to claim 6 is characterized in that: After returning to execute the step of sampling the current and voltage of the main line according to the preset basic mode, or after taking the current switching mode as the current switching mode and sampling the current and voltage of the main line again, it also includes: Determine whether a new set of current sampling signals obtained by sampling meets a preset termination measurement condition; If the current sampling signal satisfies the measurement termination condition, returning to the step of sampling the transmission current of the main line according to the preset energy-saving mode; If the current sampling signal does not meet the measurement termination condition, the process returns to the step of performing power measurement according to the current sampling signal.

8. A low-power consumption electric energy metering device based on intelligent mode switching, characterized in that: The device is configured in a smart meter, and the device is used to execute the low-power consumption electric energy metering method based on mode intelligent switching according to any one of claims 1 to 7, and the device includes: A current sampling unit, used to sample the transmission current of the main line according to a preset energy-saving mode to obtain a corresponding current sampling signal; A current sampling signal judging unit, used to judge whether the current sampling signal meets a preset starting measurement condition; A current and voltage sampling unit, configured to perform current and voltage sampling on the main line according to a preset basic mode if the current sampling signal meets the initial measurement condition, and obtain a corresponding initial sampling signal as a current sampling signal; An electric quantity metering unit, used for performing electric quantity metering according to the current sampling signal; A judging unit, used to judge whether the current sampling signal satisfies a preset mode switching condition; A mode adjustment unit is used to adjust the sampling frequency configured in the basic mode according to the current sampling signal and the mode switching condition if the mode switching condition is met, so as to serve as the current switching mode and perform current and voltage sampling on the main line again.

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 low-power consumption electric energy metering method based on mode intelligent switching according to 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 low-power consumption electric energy metering method based on mode intelligent switching as described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Electric energy metering method

    CN104914303A

  • Low-power-consumption detection control method during power failure of electric meter and full voltage loss abnormality of power grid

    CN106199098A

  • Design of positioning terminal based on environmental awareness

    CN106658420A

  • Low-power-consumption GNSS deformation monitoring terminal and automatic power adjusting method thereof

    CN112710224A

  • Operation power consumption self-adaption method and device for intelligent monitoring equipment of power transmission line

    CN116388052A