Low-power electricity metering method, device and equipment based on intelligent mode switching

Through the intelligent mode switching method, the smart meter switches the sampling mode after meeting the initial measurement conditions, solving the problem of high power consumption or inaccurate metering in the prior art, and achieving the combination of accuracy and low power consumption of power metering.

CN120177867BActive Publication Date: 2025-08-19SHENZHEN JIANGJI IND
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing smart meters cannot flexibly adjust their operating mode, resulting in high power consumption at high sampling frequency or inaccurate measurement at low sampling frequency.

Method used

Through the method of intelligent mode switching, the current signal is initially sampled using the energy-saving mode to determine whether the initial measurement conditions are met. If they are met, switch to the basic mode for current and voltage sampling and metering, further determine whether the mode switching conditions are met, adjust the sampling frequency to switch modes, and ensure metering accuracy and reduce power consumption.

Benefits of technology

It realizes that while ensuring the accuracy of power metering, the operating power consumption of smart meters is reduced and the overall efficiency of power metering is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120177867B_ABST
    Figure CN120177867B_ABST
Patent Text Reader

Abstract

The present invention discloses a low-power electricity 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, obtaining a current sampling signal and judging whether the starting measurement conditions are met. If so, sampling the current and voltage of the main line according to the basic mode and further performing electricity metering, judging whether the current sampling signal meets the mode switching conditions. If so, adjusting the basic sampling frequency in the basic mode according to the current sampling signal and the mode switching conditions to obtain the current switching mode, and performing voltage and current sampling based on the current switching mode. The above-mentioned low-power electricity metering method based on intelligent mode switching can flexibly adjust the working mode of the smart meter according to the current 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 electricity metering, thereby reducing the overall power consumption of the smart meter for electricity metering.
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 electric meters, and in particular to a low-power consumption electric energy metering method, device and equipment based on intelligent mode switching. Background Art

[0002] In order to measure the amount of electricity used by users, an electric meter is needed to measure the power consumption in the wires in real time to achieve energy metering. Currently, the frequency of the power supply voltage is usually 50Hz or 60Hz. In order 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 used, more accurate current and voltage change information can be obtained, thereby improving the accuracy of energy metering. However, a higher sampling frequency will consume additional energy, causing the smart meter to maintain a higher power operation. If a lower sampling frequency is used, the operating power consumption of the smart meter can be reduced, but there may be problems with inaccurate energy metering. Therefore, the smart meter in the existing technical method has the problem of not being able to flexibly adjust the working mode. Summary of the Invention

[0003] The embodiments of the present invention provide a low-power electricity metering method, apparatus and device based on intelligent mode switching, aiming to solve the problem that the smart meter in the prior art methods cannot flexibly adjust the working mode.

[0004] In a first aspect, an embodiment of the present invention provides a low-power energy metering method based on intelligent mode switching, wherein the method is applied to a smart meter, and the method includes:

[0005] The transmission current of the main line is sampled according to the preset energy-saving mode to obtain a corresponding current sampling signal;

[0006] Determining whether the current sampling signal meets a preset starting measurement condition;

[0007] 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;

[0008] Performing electricity measurement according to the current sampling signal;

[0009] Determining whether the current sampling signal meets a preset mode switching condition;

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

[0011] In a second aspect, an embodiment of the present invention further provides a low-power energy metering device based on intelligent mode switching, wherein the device is configured in a smart meter and is configured to execute the low-power energy metering method based on intelligent mode switching as described in the first aspect above, the device comprising:

[0012] A current sampling unit is used to sample the transmission current of the main line according to a preset energy-saving mode to obtain a corresponding current sampling signal;

[0013] a current sampling signal judging unit, configured to judge whether the current sampling signal satisfies a preset starting measurement condition;

[0014] a current and voltage sampling unit, configured to, if the current sampling signal satisfies the initial measurement condition, perform current and voltage sampling on the main line according to a preset basic mode, and obtain a corresponding initial sampling signal as a current sampling signal;

[0015] An electric quantity metering unit, configured to perform electric quantity metering according to the current sampling signal;

[0016] A judging unit, configured to judge whether the current sampling signal satisfies a preset mode switching condition;

[0017] A mode adjustment unit is 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 met, so as to serve as the current switching mode and perform current and voltage sampling on the main line again.

[0018] In a third aspect, an embodiment of the present invention further provides a computer device, wherein 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;

[0019] Memory for storing computer programs;

[0020] The processor is configured to implement the steps of the low-power consumption electric energy metering method based on intelligent mode switching described in the first aspect when executing the program stored in the memory.

[0021] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the low-power electricity metering method based on intelligent mode switching as described in the first aspect above are implemented.

[0022] The embodiment of the present invention provides a low-power electricity 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, obtaining a current sampling signal and judging whether the starting measurement conditions are met. If so, sampling the current and voltage of the main line according to the basic mode and further performing electricity metering, judging whether the current sampling signal meets the mode switching conditions. If so, adjusting the basic sampling frequency in the basic mode according to the current sampling signal and the mode switching conditions to obtain the current switching mode, and performing voltage and current sampling based on the current switching mode. The above-mentioned low-power electricity metering method based on intelligent mode switching can flexibly adjust the working mode of the smart meter according to the current 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 electricity metering, thereby reducing the overall power consumption of the smart meter for electricity metering. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0024] Figure 1 A method flow chart of a low-power consumption electric energy metering method based on intelligent mode switching provided by an embodiment of the present invention;

[0025] Figure 2 A schematic block diagram of a low-power consumption electric energy metering device based on intelligent mode switching provided by an embodiment of the present invention;

[0026] Figure 3 It is a schematic block diagram of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0027] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0028] It will be understood that when used in this specification and the appended claims, the terms “comprises” and “comprising” indicate the presence of described features, integers, steps, operations, elements and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.

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

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

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

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

[0033] S110 , sampling the transmission current of the main line according to a preset energy-saving mode to obtain a corresponding current sampling signal.

[0034] The main line's transmission current is sampled according to a preset energy-saving mode to obtain a corresponding current sampling signal. When electricity metering is not in progress, the smart meter uses the energy-saving mode to sample the main line's transmission current, but does not sample the main line's voltage. Specifically, the smart meter can measure the main line's current and voltage using its internal ammeter and voltage sensing circuits to obtain the main line's current and voltage. When electricity metering is not in progress, only the transmission current is sampled, reducing the smart meter's power consumption. Specifically, the sampling frequency in energy-saving mode can be set to a lower frequency, such as 250Hz.

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

[0036] Determine whether the current sampling signal satisfies a preset starting measurement condition. Further determine whether the acquired current sampling signal satisfies the starting measurement condition. If the current sampling signal satisfies the starting measurement condition, the smart meter performs measurement and begins electricity metering. If the current sampling signal does not satisfy the starting measurement condition, the smart meter maintains continuous sampling of the transmission current in an energy-saving mode, i.e., does not perform electricity metering.

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

[0038] The current sampling signal includes multiple currents obtained by continuous sampling. For example, if the sampling frequency of the energy-saving mode is 50 Hz, a current value can be collected every 0.004 seconds. The current values obtained by multiple continuous sampling are combined into the current sampling signal.

[0039] Furthermore, the maximum current value of the current sampling signal within a cycle time can be obtained as the instantaneous current. For example, if the voltage frequency of the alternating current is 50Hz, then one cycle time is 1 / 50=0.02 seconds, and one cycle time corresponds to a complete wave signal in the alternating current; multiple current values contained in one cycle are obtained and the maximum current value is determined as the instantaneous current. It is determined whether the instantaneous current in the current sampling signal is greater than the current threshold in the starting measurement condition. If it is, the instantaneous current of the subsequent cycle time in the current sampling signal is continuously judged to obtain the duration of the instantaneous current in the current sampling signal being greater than the current threshold, and it is determined whether the duration is not less than the duration threshold set in the starting measurement condition, such as the duration threshold can be set to 0.2 seconds. If the duration is not less than the duration threshold, it can be determined that the current sampling signal meets the starting measurement condition.

[0040] 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. If the start measurement condition is not met, the process returns to step S110.

[0041] S130: If the current sampling signal meets the initial 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 a current sampling signal.

[0042] If the current sampling signal meets the initial measurement conditions, main line measurement can be started and electricity metering 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 to obtain the corresponding initial sampling signal as the current sampling signal. The current and voltage of the main line can be sampled simultaneously, and 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.

[0043] 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; converting the basic current signal and the basic voltage signal according to the signal conversion rules in the basic mode to obtain corresponding current conversion signals and voltage conversion signals; and combining the basic voltage signal, the basic current signal, the current conversion signal and the voltage conversion signal as the corresponding initial sampling signal.

[0044] 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 simultaneously based on the basic sampling frequency. For example, the basic sampling frequency can be set to 2000 Hz. The resulting basic current signal and basic voltage signal both correspond to the base sampling frequency. Every second, a set of basic current signals and a set of basic voltage signals are obtained. A set of basic current signals contains 2000 current values; similarly, a set of basic voltage signals also contains 2000 voltage values.

[0045] The basic current signal and basic voltage signal are further converted according to the signal conversion rules set in the basic mode. Specifically, a fast Fourier transform (FFT) can be performed on the basic current signal and basic voltage signal according to the signal conversion rules. The signal conversion rules are configured with a corresponding fast Fourier transform formula, and the corresponding frequency domain signals are obtained by transformation. The obtained frequency domain signal corresponding to the basic current signal is also the current conversion signal, and the frequency domain information corresponding to the basic voltage signal is also the voltage conversion signal. The basic voltage signal, basic current signal, current conversion signal, and voltage conversion signal are combined as the corresponding initial sampling signal.

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

[0047] Electricity is measured according to the current sampling signal. Electricity is measured according to the current sampling signal. Specifically, the current conversion signal and the voltage conversion signal in the obtained initial sampling signal can be decomposed according to the reference frequency to obtain harmonic signals corresponding to different frequencies. The corresponding harmonic frequency is determined based on the integer multiples of the reference frequency. For example, if the reference frequency is 50 Hz, the integer multiples are 1, 2, 3, etc., then the harmonic frequencies corresponding to the reference frequency are 50 Hz, 100 Hz, 150 Hz, 200 Hz, etc. The harmonic frequency is determined according to the reference frequency, and in order to ensure the accuracy of electricity measurement, the harmonic frequency must be less than the basic sampling frequency, such as the basic sampling frequency. f G The maximum harmonic frequency suitable for measurement is 2000Hz, and the reference frequency is usually f 0 is about eight times of the harmonic frequency, the total number N of harmonic frequencies can be set as f G / 5f 0 . Such as the basic sampling frequency f G The base frequency is 2000Hz f 0 If the frequency is 50 Hz, the total number of harmonic frequencies N can be set to 8.

[0048] To accurately decompose each harmonic, the harmonic frequency range corresponding to each harmonic frequency can be further determined based on the frequency fluctuation range in the decomposition strategy. By multiplying the upper and lower limits of the frequency fluctuation range by the harmonic frequency, the upper and lower limits of the harmonic frequency range can be determined, ultimately obtaining the harmonic frequency range corresponding to the harmonic frequency. For example, if the frequency fluctuation range is [0.95, 1.06] and a harmonic frequency is 200 Hz, the harmonic frequency range corresponding to this harmonic frequency is [190 Hz, 212 Hz].

[0049] The frequency domain signal is decomposed according to the harmonic frequency range corresponding to each harmonic frequency, and the harmonic frequency domain signals corresponding to each harmonic frequency range are obtained from the frequency domain signal. The signal within a certain harmonic frequency range within the frequency domain signal is then decomposed from the frequency domain signal. The maximum amplitude of the current conversion signal and the signal corresponding to the harmonic frequency range within the frequency domain signal is obtained as the current signal amplitude. Simultaneously, the maximum amplitude of the voltage conversion signal and the signal corresponding to the harmonic frequency range within the frequency domain signal is obtained as the voltage signal amplitude. The current signal amplitude and voltage signal amplitude of each harmonic frequency are then combined to form a harmonic signal of the first harmonic frequency.

[0050] Further, power measurement is performed based on the basic voltage signal, 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 to obtain the current peak corresponding to the reference frequency range in the basic voltage signal. The frequencies corresponding to the intervals between adjacent current peaks are all within the reference frequency range. If the interval is t, the frequency corresponding to the interval is 1 / t. Similarly, the voltage peak corresponding to the basic current signal can be obtained 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 the deviation time Δt<1 / f 0 ,in, f 0 The reference frequency can be further calculated based on the reference frequency from the basic current signal of each current peak and the reference frequency from the basic current signal of the nearest voltage peak between the average deviation time, the average deviation time corresponding to the reference frequency is obtained, the average deviation time and 2π / f 0 The ratio between the average deviation time can be converted into an angle value as the phase deviation parameter of the reference frequency. f 0 The phase deviation parameter can be used to characterize the average phase deviation between the voltage peak and the current peak at the reference frequency.

[0051] Based on the voltage signal amplitude corresponding to the reference frequency in the harmonic signal, a reference voltage sine wave corresponding to the reference frequency and voltage signal amplitude can be generated. The voltage value at the peak of the reference voltage sine wave is equal to the voltage signal amplitude, and the fluctuation period of the reference voltage sine wave is equal to the reference frequency. After aligning the peaks and troughs in the basic voltage signal with the reference voltage sine wave, the reference voltage sine wave is subtracted from the basic voltage signal to obtain a processed voltage signal. Similarly, based on the current signal amplitude corresponding to the reference frequency in the harmonic signal, a reference current sine wave corresponding to the reference frequency and current signal amplitude is generated. After aligning the peaks and troughs in the basic current signal with the reference current sine wave, the reference current sine wave is subtracted from the basic current signal to obtain a processed current signal.

[0052] Further, according to the double basic frequency (100Hz), the average deviation time corresponding to the double basic frequency is obtained from the single processed voltage signal and the single processed current signal (the peak scan is performed at 2 f 0 As a benchmark), calculate the average deviation time and 2π / 2 f 0The phase deviation parameter corresponding to twice the fundamental frequency can be obtained by calculating the ratio between them. The specific acquisition method is similar to the above steps. The voltage sine wave corresponding to twice the fundamental frequency (generated based on the voltage signal amplitude corresponding to the harmonics of twice the fundamental frequency and the corresponding value of twice the fundamental frequency) is further subtracted from the primary processed voltage signal to obtain the secondary processed voltage signal. The current sine wave corresponding to twice the fundamental frequency (generated based on the current signal amplitude corresponding to the harmonics of twice the fundamental frequency and the corresponding value of twice the fundamental frequency) is subtracted from the primary processed current signal to obtain the secondary processed current signal. Repeat the above steps to obtain the phase deviation parameter corresponding to each harmonic frequency.

[0053] Furthermore, the current sampling signal can be used to measure the power consumption according to formula (1):

[0054] (1);

[0055] P d is the metering power corresponding to a set of basic voltage signals and basic current signals, N is the total number of harmonic frequencies, V j is the voltage signal amplitude of the jth harmonic, I j is the current signal amplitude of the jth harmonic; θ j is the phase deviation parameter corresponding to the j-th harmonic, which is specifically an angle value.

[0056] S150: Determine whether the current sampling signal meets a preset mode switching condition.

[0057] Furthermore, it is possible to determine 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.

[0058] In a specific embodiment, step S150 includes sub-steps: obtaining the harmonic energy density in the current conversion signal and the voltage conversion signal in the current sampling signal; obtaining the phase deviation angle between the basic current signal and the basic voltage signal in the current sampling signal; judging whether the phase deviation angle is within the angle interval in the mode switching condition; judging 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, judging 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, judging that the current sampling signal meets the mode switching condition.

[0059] The harmonic energy density in the current conversion signal and the voltage conversion signal in the sampling signal can be obtained; specifically, the current signal amplitude of the reference frequency in the current conversion signal can be obtained, and the ratio of the current signal amplitude of the reference frequency to the sum of the current signal amplitudes of each harmonic can be calculated, which is the current signal amplitude ratio of the reference frequency. B I ; Obtain the voltage signal amplitude of the reference frequency in the voltage conversion signal, calculate the ratio of the voltage signal amplitude of the reference frequency to the sum of the voltage signal amplitudes of each harmonic, which is the voltage signal amplitude ratio of the reference frequency B V . B I and B I The value range of is [0,1]. The calculation formula of harmonic energy density can be calculated using formula (2):

[0060] (2);

[0061] Q p This is the harmonic energy density.

[0062] The phase deviation angle between the basic current signal and the basic voltage signal in the current sampling signal is obtained. Specifically, the phase deviation angle can be expressed by formula (3):

[0063] (3);

[0064] Wherein, 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 amplitude ratio of the jth harmonic in the current conversion signal, BV j is the amplitude ratio of the jth harmonic in the voltage conversion signal. When j=1, BI 1 = B I , BV 1 = B V .

[0065] Determine whether the phase deviation angle is within the angle range specified in the mode switching condition; and simultaneously determine whether the harmonic energy density is within the density threshold range specified in the mode switching condition. If the phase deviation angle is within the angle range and the harmonic energy density is within the density threshold range, then the mode switching condition is determined to be unsatisfied. If the phase deviation angle is not within the angle range or the harmonic energy density is not within the density threshold range, then the mode switching condition is determined to be satisfied.

[0066] S160: 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 to serve as the current switching mode and perform current and voltage sampling on the main line again.

[0067] If the current sampling signal is determined to meet the mode switching conditions, the sampling frequency configured in the basic mode can be adjusted according to the current sampling signal and the mode switching conditions to serve as the current switching mode. The current and voltage of the main line are further sampled again according to the current switching mode, thereby looping through the above steps of energy metering. If the mode switching conditions are not met, the operating mode of the smart meter is not switched.

[0068] 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 a coefficient determination rule in the mode switching condition; adjusting the sampling frequency in the basic mode according to the adjustment coefficient to use the basic mode with 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.

[0069] Specifically, the adjustment coefficient corresponding to the harmonic energy density and the phase deviation angle can be determined according to the coefficient determination rule configured in the mode switching condition. The coefficient determination rule can be expressed by formula (4):

[0070] (4);

[0071] S is the adjustment coefficient, X is the phase deviation angle, Qp 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.

[0072] The sampling frequency set in the basic mode is adjusted according to the adjustment coefficient, thereby obtaining the basic mode after the adjusted sampling frequency as the corresponding current switching mode. Specifically, the product of the adjustment coefficient and the set sampling frequency can be calculated, and the integer multiple of the reference frequency closest to the product value can be obtained as the target frequency. The sampling frequency in the basic mode is adjusted to the target frequency, thereby adjusting the current switching mode.

[0073] The density threshold interval and angle interval set in the mode switching condition are further adjusted according to the harmonic energy density and the phase deviation angle. The specific adjustment method is to multiply the harmonic energy density with 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 interval; for example, if the density upper limit coefficient is set to 1.15, the new upper limit value of the density threshold interval can be set to 1.15× Q p . Based on the same processing method, the density lower limit coefficient is multiplied by the harmonic energy density to set the new lower limit value of the density threshold interval. The density median of the newly set density threshold interval is the average of the upper and lower limits in the density threshold interval. Based on the same principle, the phase deviation angle is multiplied by the preset angle upper limit coefficient and angle lower limit coefficient, and the resulting product value is set as the new value corresponding to the angle interval. The angle median of the newly set angle interval is the average of the upper and lower limits in the angle interval.

[0074] In a specific embodiment, step S150 further includes the following steps: if the mode switching condition is not met, returning to the step of sampling the current and voltage of the main line according to the preset basic mode.

[0075] If the mode switching condition is not met, the process returns to the step of sampling current and voltage according to the basic model.

[0076] In a specific embodiment, after returning to the step of sampling the current and voltage of the main line according to the preset basic mode, or after the step of sampling the current and voltage of the main line again as the current switching mode, it also includes: judging whether a new set of current sampling signals obtained by sampling meet a preset termination measurement condition; if the current sampling signal meets the termination measurement 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 termination measurement condition, returning to the step of measuring electricity according to the current sampling signal.

[0077] After obtaining a new set of current sampling signals through current and voltage sampling, it is determined whether the new current sampling signals meet the termination conditions. If so, the current and voltage measurement and power metering process is terminated, and the process returns to step S110. If not, the current and voltage measurement and power metering process continues, that is, the process returns to step S140.

[0078] In the low-power electricity metering method based on intelligent mode switching disclosed in the above embodiment, the method includes: sampling the transmission current of the main line according to the energy-saving mode, obtaining a current sampling signal and judging whether the starting measurement conditions are met, if so, sampling the current and voltage of the main line according to the basic mode and further performing electricity metering, judging whether the current sampling signal meets the mode switching conditions, if so, adjusting the basic sampling frequency in the basic mode according to the current sampling signal and the mode switching conditions to obtain the current switching mode, and performing voltage and current sampling based on the current switching mode. The above low-power electricity metering method based on intelligent mode switching can flexibly adjust the working mode of the smart meter according to the current 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 electricity metering, thereby reducing the overall power consumption of the smart meter for electricity metering.

[0079] The embodiment of the present invention further provides a low-power energy metering device based on intelligent mode switching, which can be configured in a smart meter and is used to execute any embodiment of the low-power energy metering method based on intelligent mode switching. Figure 2 , Figure 2 A schematic block diagram of a low-power electricity metering device based on intelligent mode switching provided by an embodiment of the present invention.

[0080] like Figure 2As shown, the low-power energy metering device 100 based on intelligent mode switching includes a current sampling unit 110 , a current sampling signal judgment unit 120 , a current and voltage sampling unit 130 , an electricity metering unit 140 , a judgment unit 150 and a mode adjustment unit 160 .

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

[0082] The current sampling signal determination unit 120 is configured to determine whether the current sampling signal satisfies a preset start measurement condition.

[0083] The current and voltage sampling unit 130 is 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.

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

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

[0086] The mode adjustment unit 160 is 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 met, so as to serve as the current switching mode and perform current and voltage sampling on the main line again.

[0087] The low-power electricity metering device based on intelligent mode switching provided in the embodiment of the present invention applies the above-mentioned low-power electricity metering method based on intelligent mode switching, samples the transmission current of the main line according to the energy-saving mode, obtains the current sampling signal and determines whether the starting measurement conditions are met. If so, the current and voltage of the main line are sampled according to the basic mode and then the electricity meter is further measured. It is determined whether the current sampling signal meets the mode switching conditions. If so, the basic sampling frequency in the basic mode is adjusted according to the current sampling signal and the mode switching conditions to obtain the current switching mode, and voltage and current sampling is performed based on the current switching mode. The above-mentioned low-power electricity metering method based on intelligent mode switching can flexibly adjust the working mode of the smart meter according to the current current sampling signal and the current sampling signal obtained at present, so as to reduce the operating power consumption of the smart meter as much as possible while ensuring the accuracy of electricity measurement, thereby reducing the overall power consumption of the smart meter for electricity measurement.

[0088] The low-power consumption electric energy metering device based on intelligent mode switching can be implemented in the form of a computer program. The computer program can be used in Figure 3 Runs on the computer equipment shown.

[0089] See also Figure 3 , Figure 3 1 is a schematic block diagram of a computer device provided by an embodiment of the present invention. The computer device may be a smart meter for executing a low-power energy metering method based on intelligent mode switching to perform intelligent switching of working modes.

[0090] See Figure 3 The computer device 500 includes a processor 502 , a memory, and a communication interface 505 connected via a communication bus 501 , wherein the memory may include a storage medium 503 and an internal memory 504 .

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

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

[0093] 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 execute the low-power consumption electric energy metering method based on intelligent mode switching.

[0094] The communication interface 505 is used for network communication, such as providing data information transmission. Those skilled in the art will understand that Figure 3 The structure shown in the figure is merely a block diagram of a portion of the structure 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 shown in the figure, or combine certain components, or have a different component arrangement.

[0095] The processor 502 is configured to run a computer program 5032 stored in the memory to implement corresponding functions in the above-mentioned low-power consumption electric energy metering method based on intelligent mode switching.

[0096] Those skilled in the art will understand that Figure 3 The embodiment of the computer device shown in the figure 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 shown in the figure, or combine certain components, or arrange the components differently. For example, in some embodiments, the computer device may only include a memory and a processor. In such an embodiment, the structure and function of the memory and processor are the same as those in the figure. Figure 3 The embodiments shown are consistent and will not be described again here.

[0097] 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 (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.

[0098] In another embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium may be volatile or non-volatile. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps included in the aforementioned low-power energy metering method based on intelligent mode switching.

[0099] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described equipment, devices and units can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0100] In the 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 schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, or units with the same function may be combined into one 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 mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices or units, or may be an electrical, mechanical or other form of connection.

[0101] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.

[0102] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0103] If 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, or the part that contributes to the existing technology, 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 perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned computer-readable storage medium includes various media that can store program code, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk.

[0104] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and such modifications or substitutions are intended to be within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be subject to the scope of protection 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 meter, and the method includes: 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; The determining whether the current sampling signal satisfies a preset mode switching condition includes: Obtaining harmonic energy density in the current conversion signal and the voltage conversion signal in the current sampling signal, including: obtaining a current signal amplitude ratio of a reference frequency in the current conversion signal, obtaining a voltage signal amplitude ratio of a reference frequency in the voltage conversion signal, and calculating the current signal amplitude ratio and the voltage signal amplitude ratio of the reference frequency according to a calculation formula for harmonic energy density to obtain corresponding harmonic energy density; Obtaining a phase deviation angle between a basic current signal and a basic voltage signal in the current sampling signal; Determining whether the phase deviation angle is within the angle range of the mode switching condition; determining whether the harmonic energy density is within a density threshold range 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, determining 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.

2. The low-power consumption electric energy metering method based on intelligent mode 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, determining 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 intelligent mode switching according to claim 1, characterized in that: The performing current and voltage sampling on the main line according to a 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 mode to obtain a corresponding basic voltage signal; Convert the basic current signal and the basic voltage signal according to the signal conversion rules in the basic mode 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 to serve as a corresponding initial sampling signal.

4. The low-power consumption electric energy metering method based on intelligent mode switching according to claim 1, characterized in that: The 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 re-sampling the current and voltage of the main line includes: determining, according to a coefficient determination rule in the mode switching condition, an adjustment coefficient corresponding to the harmonic energy density and the phase deviation angle of the current sampling signal; 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.

5. The low-power consumption electric energy metering method based on intelligent mode switching according to claim 1, characterized in that: After determining whether the current sampling signal satisfies a 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.

6. The low-power consumption electric energy metering method based on intelligent mode switching according to claim 5, characterized in that: After returning to 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, the method further includes: Determine whether a new set of current sampling signals obtained by sampling meets the preset termination measurement conditions; 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.

7. 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 is used to execute the low-power consumption electric energy metering method based on intelligent mode switching according to any one of claims 1 to 6, and the device includes: A current sampling unit is 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, configured to judge whether the current sampling signal satisfies a preset starting measurement condition; a current and voltage sampling unit, configured to, if the current sampling signal satisfies the initial measurement condition, perform current and voltage sampling on the main line according to a preset basic mode, and obtain a corresponding initial sampling signal as a current sampling signal; An electric quantity metering unit, configured to perform electric quantity metering according to the current sampling signal; A judging unit, configured to judge whether the current sampling signal satisfies a preset mode switching condition; A mode adjustment unit is 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 met, so as to serve as the current switching mode and perform current and voltage sampling on the main line again.

8. 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 for storing computer programs; The processor is configured to implement the steps of the low-power consumption electric energy metering method based on intelligent mode switching according to any one of claims 1 to 6 when executing the program stored in the memory.

9. 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 intelligent mode switching are implemented as described in any one of claims 1 to 6.

Citation Information

Patent Citations

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

    CN116388052A

  • Electric energy metering method and device of intelligent electric meter and intelligent electric meter

    CN118604442A