Electric energy metering device and method, storage medium and computer equipment

Through signal acquisition and Fourier transform modules, the voltage and current frequency of new energy power generation equipment are analyzed, and the problem of unstable new energy power generation frequency is solved, real-time monitoring and rational utilization of the power frequency is realized, and resource waste is reduced.

CN120490593APending Publication Date: 2025-08-15国网山东综合能源服务有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510577321.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-06
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

The volatility and nonlinear characteristics of new energy power generation lead to instability of the electric energy frequency and the lack of effective monitoring methods, which leads to users being unable to reasonably utilize non-standard frequency electricity, resulting in waste of resources.

Method used

The signal acquisition module is used to obtain the voltage and current analog signals of new energy power generation equipment, and convert it into digital signals through the Fourier transform module and perform frequency analysis. The data display module displays the voltage and current frequency in real time, providing detailed electrical energy frequency information.

Benefits of technology

Real-time monitoring and display of the frequency of new energy power generation equipment is realized, and users can choose appropriate power supply methods according to their needs, realize the rational utilization of non-standard frequency electric energy, and improve the efficiency of electricity utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120490593A_ABST
    Figure CN120490593A_ABST
Patent Text Reader

Abstract

The invention discloses an electric energy metering device and method, a storage medium and computer equipment, and the device comprises a signal collection module which is used for collecting a voltage analog signal and a current analog signal outputted by new energy power generation equipment, converting the voltage analog signal into a voltage digital signal, and transmitting the voltage digital signal to a power supply module; converting the current analog signal into a current digital signal; the Fourier transform module is used for respectively performing Fourier transform on the voltage digital signal and the current digital signal to obtain a first Fourier transform result and a second Fourier transform result, detecting a first frequency corresponding to the voltage digital signal from the first Fourier transform result, and detecting a second frequency corresponding to the current digital signal from the second Fourier transform result; detecting a second frequency corresponding to the current digital signal from the second Fourier transform result; and the data display module is used for displaying the first frequency and the second frequency so as to prompt a target user of the voltage frequency and the current frequency output by the current new energy power generation equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electric power metering, and in particular to an electric energy metering device and method, a storage medium, and a computer device. Background Art

[0002] Amid the global energy transition and low-carbon development, renewable energy generation has become a key growth driver in the energy sector. Continuous technological breakthroughs in photovoltaics, wind power, and battery energy storage have enabled large-scale grid integration of renewable energy generation, with its share of the energy mix steadily increasing. However, renewable energy generation is characterized by significant volatility and intermittency. Wind power generation is affected by volatile wind speeds, while photovoltaic power generation relies on sunlight intensity, resulting in unstable power generation and frequency. Furthermore, nonlinear and impactful loads in renewable energy generation systems, such as power electronics and large industrial loads, can cause voltage waveform distortion and exacerbate system frequency fluctuations, severely impacting power quality and threatening the safe and stable operation of the power system.

[0003] The standard frequency of my country's power system is 50Hz, but non-standard frequency energy exists, such as low-frequency energy of 45-50Hz and high-frequency energy of 50-55Hz. Many devices with less stringent frequency requirements, such as some industrial motors and agricultural irrigation equipment, can still operate normally within a reasonable frequency fluctuation range, making non-standard frequency energy valuable. However, the current lack of effective monitoring methods prevents users from understanding the frequency of their electricity, making it difficult to select the appropriate energy source based on their needs, resulting in significant waste of non-standard frequency energy. Summary of the Invention

[0004] In view of this, the present application provides an electric energy metering device and method, storage medium, and computer equipment, which can provide users with detailed electric energy frequency information of new energy power generation equipment, so that they can independently select the appropriate power supply method according to their own equipment requirements and realize the rational use of non-standard frequency electric energy.

[0005] According to one aspect of the present application, there is provided an electric energy metering device, comprising:

[0006] A signal acquisition module, configured to acquire voltage analog signals and current analog signals output by the new energy power generation equipment, and convert the voltage analog signals into voltage digital signals, and convert the current analog signals into current digital signals;

[0007] a Fourier transform module, configured to perform Fourier transform on the voltage digital signal and the current digital signal, respectively, to obtain a first Fourier transform result and a second Fourier transform result, and to detect a first frequency corresponding to the voltage digital signal from the first Fourier transform result, and to detect a second frequency corresponding to the current digital signal from the second Fourier transform result;

[0008] The data display module is used to display the first frequency and the second frequency to prompt the target user of the voltage frequency and current frequency currently output by the new energy power generation equipment.

[0009] According to another aspect of the present application, there is provided an electric energy metering method, which is applied to the electric energy metering device as described in any one of the above items, and the method includes:

[0010] The signal acquisition module acquires the voltage analog signal and the current analog signal output by the new energy power generation equipment, and converts the voltage analog signal into a voltage digital signal, and converts the current analog signal into a current digital signal;

[0011] A Fourier transform module performs Fourier transform on the voltage digital signal and the current digital signal respectively to obtain a first Fourier transform result and a second Fourier transform result, and detects a first frequency corresponding to the voltage digital signal from the first Fourier transform result, and detects a second frequency corresponding to the current digital signal from the second Fourier transform result;

[0012] The data display module displays the first frequency and the second frequency to prompt the target user of the voltage frequency and current frequency currently output by the new energy power generation equipment.

[0013] According to another aspect of the present application, a storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the above-mentioned electric energy metering method is implemented.

[0014] According to another aspect of the present application, a computer device is provided, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the above-mentioned electric energy metering method when executing the program.

[0015] By means of the above technical solution, the present application provides an electric energy metering device and method, storage medium, and computer equipment, wherein the signal acquisition module is responsible for obtaining the original voltage analog signal and current analog signal from the new energy power generation equipment, and converting these analog signals into digital signals that can be recognized by the subsequent processing module. Then, after receiving the voltage digital signal and the current digital signal, the Fourier transform module performs Fourier transform calculations on them respectively. After calculation, the first Fourier transform result corresponding to the voltage digital signal and the second Fourier transform result corresponding to the current digital signal are obtained. By analyzing the Fourier transform results, the first frequency corresponding to the voltage digital signal and the second frequency corresponding to the current digital signal are found. Furthermore, the data display module displays the voltage frequency (first frequency) and current frequency (second frequency) detected by the Fourier transform module to the target user in an intuitive manner, making it convenient for the user to understand the frequency output of the new energy power generation equipment in real time. The embodiment of the present application can provide users with detailed electric energy frequency information of the new energy power generation equipment, so that they can independently select the appropriate power supply method according to their own equipment needs and realize the rational use of non-standard frequency electric energy.

[0016] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0018] Figure 1 A schematic structural diagram of an electric energy metering device provided in an embodiment of the present application is shown;

[0019] Figure 2 A schematic diagram of a flow chart of an electric energy metering method provided in an embodiment of the present application is shown;

[0020] Figure 3 A schematic diagram of the device structure of a computer device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0021] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that, unless there is a conflict, the embodiments and features in the embodiments of the present application can be combined with each other.

[0022] In this embodiment, an electric energy metering device is provided. Figure 1 As shown, the device includes:

[0023] A signal acquisition module, configured to acquire voltage analog signals and current analog signals output by the new energy power generation equipment, and convert the voltage analog signals into voltage digital signals, and convert the current analog signals into current digital signals;

[0024] a Fourier transform module, configured to perform Fourier transform on the voltage digital signal and the current digital signal, respectively, to obtain a first Fourier transform result and a second Fourier transform result, and to detect a first frequency corresponding to the voltage digital signal from the first Fourier transform result, and to detect a second frequency corresponding to the current digital signal from the second Fourier transform result;

[0025] The data display module is used to display the first frequency and the second frequency to prompt the target user of the voltage frequency and current frequency currently output by the new energy power generation equipment.

[0026] An electric energy metering device provided in an embodiment of the present application can help users understand the frequency status of new energy power generation equipment in real time, providing an important basis for the rational use of electric energy, optimizing equipment operation, and power scheduling. Specifically, the electric energy metering device includes a signal acquisition module, a Fourier transform module, and a data display module. Among them, the signal acquisition module is responsible for acquiring the original voltage analog signal and current analog signal from the new energy power generation equipment and converting these analog signals into digital signals that can be recognized by the subsequent processing module. The voltage analog signal can be acquired by a voltage sensor, and the current analog signal can be acquired by a current sensor. Because the acquired analog signal is continuously changing, and subsequent digital signal processing requires discrete numerical values, an analog-to-digital converter (ADC) is integrated into the signal acquisition module. The ADC can sample the analog signal at a certain sampling frequency, discretize the continuous analog signal in time, and then convert the analog voltage value of each sampling point into a corresponding digital code. In this way, the voltage analog signal is converted into a voltage digital signal, and the current analog signal is converted into a current digital signal, so that the subsequent modules can process it.

[0027] Next, after receiving the voltage and current digital signals, the Fourier transform module performs Fourier transform calculations on them. For discrete digital signals, this is typically achieved using the discrete Fourier transform (DFT) or its fast algorithm, the fast Fourier transform (FFT). The FFT algorithm significantly improves computational efficiency, enabling the Fourier transform of large amounts of data to be completed in a relatively short time. After calculation, the first Fourier transform result for the voltage digital signal and the second Fourier transform result for the current digital signal are obtained. The Fourier transform is a mathematical tool that converts time-domain signals into frequency-domain signals. In the time domain, a signal is a function that varies with time; in the frequency domain, a signal is decomposed into a superposition of sine and cosine components of different frequencies. For periodic voltage and current digital signals, the Fourier transform can represent them as a combination of sinusoidal waves of varying frequencies, amplitudes, and phases. The Fourier transform can be used to determine the energy distribution of the signal at different frequencies. Specifically, in the Fourier transform result, each frequency component corresponds to a complex number, with the modulus of the complex number representing the amplitude of the frequency component and the phase angle representing the phase of the frequency component. By analyzing the Fourier transform results, the frequency component with the largest amplitude is found. The frequency corresponding to this frequency component is the primary frequency of the signal, which is the first frequency corresponding to the voltage digital signal and the second frequency corresponding to the current digital signal. For example, in the Fourier transform results of the voltage signal, if the component with a frequency of 50 Hz has the largest amplitude, then the first frequency of the voltage digital signal can be determined to be 50 Hz.

[0028] Furthermore, the data display module displays the voltage frequency (first frequency) and current frequency (second frequency) detected by the Fourier transform module to the target user in an intuitive manner, so that the user can understand the frequency output of the new energy power generation equipment in real time.

[0029] By applying the technical solution of this embodiment, the signal acquisition module is responsible for obtaining the original voltage analog signal and current analog signal from the new energy power generation equipment, and converting these analog signals into digital signals that can be recognized by the subsequent processing module. Then, after receiving the voltage digital signal and the current digital signal, the Fourier transform module performs Fourier transform calculations on them respectively. After calculation, the first Fourier transform result corresponding to the voltage digital signal and the second Fourier transform result corresponding to the current digital signal are obtained. By analyzing the Fourier transform results, the first frequency corresponding to the voltage digital signal and the second frequency corresponding to the current digital signal are found. Furthermore, the data display module displays the voltage frequency (first frequency) and current frequency (second frequency) detected by the Fourier transform module to the target user in an intuitive manner, making it convenient for the user to understand the frequency output of the new energy power generation equipment in real time. The embodiment of the present application can provide users with detailed electric energy frequency information of the new energy power generation equipment, so that they can independently select the appropriate power supply method according to their own equipment needs and realize the rational use of non-standard frequency electric energy.

[0030] In an embodiment of the present application, optionally, the device also includes: a harmonic analysis module, used to determine multiple target harmonic orders based on a preset harmonic detection frequency range, and the first frequency or the second frequency; the harmonic analysis module is also used to determine the voltage amplitude and voltage phase corresponding to each target harmonic order based on the first Fourier transform result, and, based on the second Fourier transform result, determine the current amplitude and current phase corresponding to each target harmonic order; an electric energy metering module, used to calculate active power and reactive power based on the voltage amplitude, voltage phase, current amplitude and current phase corresponding to each target harmonic order, and determine the electric energy metering result based on the active power and the reactive power; the data display module is also used to display the electric energy metering result.

[0031] In this embodiment, the energy metering device may also include a harmonic analysis module and an energy metering module. The harmonic analysis module is responsible for detecting and extracting harmonic information from voltage and current signals; the energy metering module uses this harmonic information to calculate active and reactive power, thereby determining energy metering results; and the data display module displays the final energy metering results to the user. This allows the energy metering device to not only monitor the voltage and current frequencies of new energy power generation equipment but also conduct in-depth analysis of the harmonic components in power quality, achieving more accurate energy metering.

[0032] Specifically, the harmonic analysis module can determine multiple target harmonic orders based on the preset harmonic detection frequency range, combined with the voltage frequency (first frequency) or current frequency (second frequency) detected by the Fourier transform module. In the power system, harmonics refer to sinusoidal wave components whose frequencies are integer multiples of the fundamental frequency. The fundamental frequency is usually the standard frequency of the power system, which is 50Hz in my country. For example, the frequency of the second harmonic is 100Hz, the frequency of the third harmonic is 150Hz, and so on. The preset harmonic detection frequency range is a frequency interval pre-set according to actual needs and the characteristics of the power system, which is used to determine the range of harmonic orders that need to be detected. For example, the preset harmonic detection frequency range is 50Hz-500Hz. When the fundamental frequency (the first frequency or the second frequency, select one) is 50Hz, this range may include the 2nd (100Hz), 3rd (150Hz), 4th (200Hz), 5th (250Hz), 6th (300Hz), 7th (350Hz), 8th (400Hz), 9th (450Hz), and 10th (500Hz) harmonics. These harmonic orders are then determined as target harmonic orders.

[0033] The harmonic analysis module can also determine the voltage amplitude and voltage phase corresponding to each target harmonic order based on the first Fourier transform result, and also determine the current amplitude and current phase corresponding to each target harmonic order based on the second Fourier transform result. In the Fourier transform result, the modulus (absolute value) of the complex number corresponding to each frequency component represents the amplitude of the frequency component. The harmonic analysis module can find the complex number of the corresponding frequency in the first Fourier transform result based on the previously determined target harmonic order, calculate its modulus, and thus obtain the voltage amplitude corresponding to the target harmonic order; similarly, find the complex number of the corresponding frequency in the second Fourier transform result, calculate its modulus, and obtain the current amplitude corresponding to the target harmonic order. In addition, the phase angle of the complex number represents the phase of the frequency component. The harmonic analysis module obtains the voltage phase and current phase corresponding to each target harmonic order by calculating the phase angle of the complex number of the corresponding frequency. For example, for the third harmonic, find the complex number corresponding to 150 Hz in the first Fourier transform result, and calculate its phase angle as the voltage phase of the third harmonic; find the complex number corresponding to 150 Hz in the second Fourier transform result, and calculate its phase angle as the current phase of the third harmonic.

[0034] The electric energy metering module calculates the active power and reactive power based on the voltage amplitude, voltage phase, current amplitude and current phase corresponding to each target harmonic order. Among them, the calculation of single harmonic active power: For each target harmonic order, the calculation formula of active power is P n =U n I n cos(φ Un -φ In ), where Pn is the active power of the nth harmonic, U n is the voltage amplitude of the nth harmonic, I n is the current amplitude of the nth harmonic, φ Un is the voltage phase of the nth harmonic, φ In is the current phase of the nth harmonic. The parameters of each target harmonic order obtained by the harmonic analysis module can be used to calculate the active power of each harmonic order. Single harmonic reactive power calculation: The reactive power calculation formula is Q n =U n I n sin(φ Un -φ In ), where Q n is the reactive power of the nth harmonic. Similarly, using the data provided by the harmonic analysis module, calculate the reactive power of each target harmonic order. Calculation of total active power and reactive power: The total active power P is equal to the sum of the active power of all target harmonic orders, that is, P = ∑ n P n ; The total reactive power Q is equal to the sum of the reactive powers of all target harmonic orders, that is, Q = ∑ n Q n Finally, the energy measurement result is determined based on the calculated active power and reactive power. Among them, energy measurement is usually based on the energy consumption within a certain time interval, such as kilowatt-hour (kWh). When the active power P is known, the active energy E can be calculated by integrating the time. p In practical applications, a discretized calculation method is usually used to divide time into multiple small time periods Δt, which is approximately calculated as E p ≈∑ i P i Δt, where P i is the average active power in the i-th time period. Similarly, for the reactive power Q, the reactive energy E can also be calculated q The electric energy metering module uses the calculated active energy and reactive energy as the final electric energy metering result.

[0035] Subsequently, the data display module can also display the energy metering results for target users to view.

[0036] The embodiment of the present application accurately measures electric energy based on the harmonic analysis results, comprehensively considering the impact of each harmonic on electric energy, and greatly improving the accuracy of electric energy metering when users use new energy power generation equipment for power supply.

[0037] In an embodiment of the present application, optionally, the signal acquisition module acquires the voltage analog signal and the current analog signal output by the new energy power generation device according to a preset sampling frequency, and the preset sampling frequency is determined based on the following method: obtaining the maximum frequency, signal bandwidth, and signal change speed corresponding to the voltage analog signal output by the new energy power generation device, as well as the maximum frequency, signal bandwidth, and signal change speed corresponding to the output current analog signal; calculating the first frequency resolution corresponding to the voltage analog signal based on the maximum frequency corresponding to the voltage analog signal, and determining the second frequency resolution based on the signal bandwidth corresponding to the voltage analog signal, and determining the third frequency resolution based on the signal change speed corresponding to the voltage analog signal, and converting the first frequency resolution into the second frequency resolution. The maximum value among the frequency resolution, the second frequency resolution and the third frequency resolution is used as the first resolution; the fourth frequency resolution corresponding to the current analog signal is calculated according to the highest frequency corresponding to the current analog signal, and the fifth frequency resolution is determined based on the signal bandwidth corresponding to the current analog signal, and the sixth frequency resolution is determined based on the signal change speed corresponding to the current analog signal, and the maximum value among the fourth frequency resolution, the fifth frequency resolution and the sixth frequency resolution is used as the second resolution; the first resolution is compared with the second resolution, the maximum value in the comparison result is used as the target frequency resolution, and the preset sampling frequency is determined according to the target frequency resolution.

[0038] In this embodiment, in the electric energy metering device, the sampling frequency of the signal acquisition module directly affects the quality of the collected voltage and current analog signals, and thus affects the accuracy of subsequent signal processing (such as Fourier transform, harmonic analysis, etc.). The embodiment of the present application comprehensively considers multiple characteristics of the voltage analog signal and current analog signal output by the new energy power generation equipment (maximum frequency, signal bandwidth, signal change speed) to determine an appropriate preset sampling frequency to ensure that the collected signal can accurately reflect the characteristics of the original signal and meet the needs of electric energy metering and analysis.

[0039] Sampling frequency (f s ) refers to the number of times an analog signal is sampled per unit time, measured in Hertz (Hz). A higher sampling frequency produces a signal closer to the original continuous signal, but this also increases the amount of data and processing complexity. Frequency resolution (Δf) represents the minimum frequency interval that can be distinguished in frequency domain analysis. The higher the frequency resolution, the more accurately signal components of different frequencies can be distinguished.

[0040] In this embodiment, the preset sampling frequency is determined in the following manner. First, the voltage analog signal characteristics are obtained: Maximum frequency (fv_max): the highest frequency in the voltage analog signal output by the new energy power generation device. The maximum frequency reflects the highest frequency component contained in the signal and is an important reference for determining the sampling frequency. Signal bandwidth (Bv): the frequency range occupied by the signal, that is, the difference between the highest frequency and the lowest frequency. For a signal with a fundamental frequency of fv0, if there are n harmonics, then the signal bandwidth Bv = n × fv0 - fv0 = (n-1) fv0. The signal bandwidth determines the distribution range of the signal in the frequency domain and has an impact on the calculation of the frequency resolution. Signal change speed: describes how fast the signal changes over time. The faster the signal change speed, the higher the frequency component of the signal may be, or the more drastic the change in the frequency component, and a higher frequency resolution is required to accurately capture these changes. Similarly, the current analog signal characteristics are obtained: Maximum frequency (fi_max): the highest frequency in the current analog signal output by the new energy power generation device. Signal bandwidth (Bi): the frequency range occupied by the current signal, calculated in a similar way to the voltage signal. Signal change speed: reflects how fast the current signal changes over time.

[0041] Next, multiple frequency resolutions of the voltage analog signal are calculated and the first resolution is determined. Calculating the first frequency resolution (Δfv1): According to the Nyquist sampling theorem, to avoid signal aliasing, the sampling frequency fsv must be greater than twice the signal's highest frequency fv_max, that is, fsv > 2fv_max. This resulting Δfv1 ensures that sampling requirements are met at the highest frequency and that a certain frequency interval can be resolved in frequency domain analysis. Determining the second frequency resolution (Δfv2): The signal bandwidth Bv determines the frequency distribution of the signal in the frequency domain. To clearly observe all frequency components of the signal in frequency domain analysis, the frequency resolution should be small enough to resolve each frequency component within the signal bandwidth. Typically, a frequency resolution can be set based on the signal bandwidth, for example, Δfv2 = Bv / m, where m is a positive integer, indicating that at least m frequency components are expected to be resolved within the signal bandwidth. Determining the third frequency resolution (Δfv3): Faster signal changes mean that the signal's frequency components are likely to change rapidly. To accurately capture these rapidly changing frequency components, a higher frequency resolution is required. A frequency resolution can be set based on the signal's rate of change. For example, when the signal changes rapidly, a smaller Δfv3 value can be set to ensure that rapid frequency changes in the signal can be discerned. Specifically, an appropriate Δfv3 calculation method can be determined by analyzing the relationship between the signal's rate of change and the change in frequency components. For example, an estimate can be made based on the signal's maximum frequency change rate. Assuming the frequency changes by Δfv_change over a period of time Δt, to accurately capture this change, Δfv3 should be less than a certain percentage of Δfv_change. Δfv1, Δfv2, and Δfv3 are then compared, and the maximum value is taken as the first resolution, Δfv_target. This is because the most stringent frequency resolution standard is required to ensure that the acquired voltage signal meets the Nyquist theorem, can discern all frequency components within the signal bandwidth, and accurately captures the signal's rapid frequency changes.

[0042] Likewise, a second resolution Δfi_target can be obtained to ensure that the current signal meets various requirements during the sampling and analysis process.

[0043] The first resolution Δfv_target and the second resolution Δfi_target are compared, and the maximum value is taken as the target frequency resolution Δf_target. This is because in order to meet the sampling and analysis requirements of both voltage and current signals, a more stringent frequency resolution standard needs to be selected.

[0044] Finally, based on the target frequency resolution Δ_f target and the number of sampling points N (the number of sampling points can be determined based on actual requirements and factors such as storage and processing capabilities), the preset sampling frequency fs_preset = N × Δf target can be deduced using the frequency resolution calculation formula Δf_target = fs_preset / N. In practical applications, the number of sampling points N is typically selected as an integer power of 2 (such as 256, 512, 1024, etc.) to facilitate fast Fourier transform (FFT) calculations.

[0045] The embodiment of the present application determines the sampling frequency by comprehensively considering multiple characteristics of the voltage and current analog signals, thereby ensuring that the collected signal accurately reflects the characteristics of the original signal, avoiding signal aliasing and insufficient frequency resolution caused by too low a sampling frequency, and thus ensuring the quality of the signal; on the premise of meeting the requirements of signal acquisition and analysis, reasonably determining the sampling frequency can avoid unnecessary high sampling rates, reduce the amount of data and processing complexity, improve the operating efficiency and response speed of the system, and reduce hardware costs and power consumption.

[0046] In an embodiment of the present application, optionally, the device further includes: a data storage module, used to store electric energy data and mark a timestamp, wherein the electric energy data includes the first frequency, the second frequency and the electric energy metering result; the data display module is also used to receive a data query instruction; the data query module is used to obtain data query information based on the data query instruction, and based on the data query information, obtain a target query result from the electric energy data stored in the data storage module; the data display module is also used to display the target query result.

[0047] In this embodiment, a data storage module and a data query module can also be introduced into the electric energy metering device. The data storage module is connected to the signal acquisition module and the electric energy metering module, receiving data generated by these modules in real time. The signal acquisition module can output the detected voltage frequency (first frequency) and current frequency (second frequency), and the electric energy metering module can output the calculated electric energy measurement results (such as active energy, reactive energy, etc.). While receiving the electric energy data, the data storage module can obtain the current system time and timestamp the corresponding data. The timestamp-marked electric energy data is then stored in a designated storage medium according to a specific format and structure. The storage medium can be an internal memory chip (such as flash memory, EEPROM, etc.) or an external storage device (such as an SD card, USB flash drive, etc., connected via a corresponding interface). The storage format can be a database or a simple file format (such as a CSV file), with each data entry containing fields such as a timestamp, voltage frequency, current frequency, and electric energy measurement results.

[0048] The data display module can receive data query instructions. The data query instruction can be input by the user through the operation interface of the electric energy metering device (such as buttons, touch screen, etc.), or it can be sent from an external device (such as a host computer, mobile phone APP, etc.) through a communication interface (such as a serial port, Ethernet, etc.). The instruction usually contains query conditions such as the query time range and data type. After the data query module receives the data query instruction passed by the data display module, it parses the instruction and extracts the data query information. For example, if the instruction is "query the voltage frequency and active power data from 14:00 to 15:00 on July 1, 2024", then the parsed query information includes the time range (14:00 to 15:00 on July 1, 2024) and data type (voltage frequency, active power).

[0049] Based on the parsed query information, the data query module retrieves data from the storage medium of the data storage module. Specifically, the data query module can traverse the stored data entries and filter out data with timestamps within a specified time range and data types that meet the requirements. The retrieved target data is then sorted into a specific order (such as chronological order) to form the target query results. If the query result data volume is large, paging can also be performed to facilitate subsequent display and transmission.

[0050] After receiving the target query results from the data query module, the data display module can analyze and process the results. If the results are stored in a database format, the data format is converted to a format suitable for display. If the results are paginated, information such as the current page number and the total number of pages is recorded.

[0051] In the embodiment of the present application, the target user can query historical power data through the data query module, which is helpful for the target user to understand the historical power consumption and the stability of the historical power supply frequency of the new energy power generation equipment.

[0052] In an embodiment of the present application, optionally, the device also includes: an electricity consumption analysis module, which is used to analyze the electric equipment corresponding to the target user based on electricity consumption data within a preset time, and determine the frequency range to which the first frequency and the second frequency belong; an electricity consumption suggestion module, which is used to obtain the usable frequency range corresponding to the electric equipment when the frequency range to which the first frequency and the second frequency belong are both target frequency ranges, and filter out a first target electric equipment from the electric equipment based on the target frequency range and the usable frequency range corresponding to the electric equipment, generate an electricity consumption suggestion based on the first target electric equipment, and send the electricity consumption suggestion to the client corresponding to the target user.

[0053] In this embodiment, the energy metering device may also include an energy usage analysis module and an energy usage recommendation module. The energy usage analysis module can retrieve energy usage data within a preset time period from the data storage module. The preset time period can be set based on actual needs, such as one day, one week, or one month. The energy usage data includes, but is not limited to, information such as voltage frequency, current frequency, energy metering results, and power consumption during each time period. Next, feature extraction is performed on the acquired energy usage data. Different electrical devices generate unique electrical characteristics during operation, such as specific power curves and frequency fluctuation patterns. For example, an air conditioner's power consumption increases suddenly upon startup and remains relatively stable during operation. Electronic devices such as computers may experience relatively small power fluctuations. By analyzing characteristics such as power variation over time and frequency stability, the type of electrical device can be preliminarily identified. The extracted features are then pattern-matched against a pre-established electrical device feature library. The feature library stores typical electrical characteristics of various common electrical devices. The most likely electrical device is determined by calculating the similarity between the actual energy usage data features and those in the feature library. For example, if the power curve in the current power consumption data has the highest similarity with the power curve of the refrigerator in the feature library, it can be determined that the refrigerator is currently in use. Taking into account that the user may use multiple electrical devices at the same time, a more complex algorithm is needed for multi-device identification. For example, algorithms such as independent component analysis (ICA) can be used to decompose the mixed power consumption signal into multiple independent signal sources, each signal source corresponds to an electrical device, so as to accurately identify all electrical devices in use. The power consumption analysis module can also determine the frequency ranges to which the first frequency and the second frequency belong respectively based on multiple pre-set frequency ranges. For example, the pre-set frequency ranges are <45Hz, 45Hz~50Hz, >50Hz, etc.

[0054] Compare the voltage-frequency and current-frequency ranges determined by the power consumption analysis module with the preset target frequency range. The target frequency range can be determined based on factors such as the stable operation requirements of the power system and the rated operating frequency range of the power consumption equipment. For example, if the target frequency range is set to 45Hz to 50Hz, when both the voltage-frequency and current-frequency fall within this range, the frequency conditions of the current renewable energy power generation equipment are relatively ideal, allowing for subsequent power consumption equipment screening and recommendation generation.

[0055] It is important to note that a pre-established electrical equipment information database can store detailed information about various electrical equipment, including their usable frequency range, rated power, and energy efficiency rating. Based on the electrical equipment identified by the power analysis module, the power recommendation module can obtain the usable frequency range corresponding to each electrical equipment from the electrical equipment information database.

[0056] The usable frequency range of each electrical device is then compared with the target frequency range to select those whose usable frequency range completely encompasses the target frequency range. These devices are considered the first target electrical devices. For example, if the target frequency range is 45Hz to 50Hz, and a particular electrical device's usable frequency range is 49.7Hz to 50.3Hz, then that device is not considered the first target electrical device. However, if another electrical device's usable frequency range is 44Hz to 50.5Hz, completely encompassing the target frequency range, indicating that it can operate normally within the target frequency range, then that electrical device is considered the first target electrical device.

[0057] Furthermore, the power usage suggestion module can generate power usage suggestions for the first target power-consuming device to optimize its operation and send the generated power usage suggestions to the client. For example, the target user can be advised to use only the first target power-consuming device and switch to a new energy power generation device. The client corresponding to the target user can be a mobile app, a webpage, a smart speaker, etc.

[0058] The embodiment of the present application uses an electricity consumption analysis module and an electricity consumption suggestion module to analyze the target user's electrical equipment based on the collected electricity consumption data, determine the voltage and current frequency range, and provide the user with targeted electricity consumption suggestions for specific frequency conditions, so that the target user can flexibly choose the power supply method of the electrical equipment, which is conducive to enjoying lower electricity prices. At the same time, it can improve the operating reliability of the electrical equipment and help enhance the target user's electricity consumption experience.

[0059] In an embodiment of the present application, optionally, the device also includes: a power supply reminder module, which is used to output a power supply reminder signal for the new energy power generation equipment when the frequency ranges to which the first frequency and the second frequency belong are both target frequency ranges; the data display module is also used to output an identification code in response to the power supply confirmation signal of the new energy power generation equipment, so that after the target user scans the identification code through the client, an electricity equipment demand information entry interface is output on the client; an electricity suggestion module is used to identify the demand electricity equipment and the usable frequency range corresponding to the demand electricity equipment from the electricity equipment demand information entry interface, and screen out a second target electricity equipment from the demand electricity equipment according to the target frequency range and the usable frequency range corresponding to the demand electricity equipment, generate electricity suggestions based on the second target electricity equipment, and send the electricity suggestions to the client corresponding to the target user.

[0060] In this embodiment, the electric energy metering device may further include a power supply reminder module. When the frequency ranges to which the first frequency (voltage frequency) and the second frequency (current frequency) belong are both target frequency ranges, it indicates that the new energy power generation equipment is currently in a stable power supply state, and at this time, the power supply reminder module outputs a power supply reminder signal. The reminder signal can be output in a variety of ways, such as displaying a "new energy power supply" prompt message on the display screen of the electric energy metering device, emitting a beep or voice prompt, or sending a push notification to a terminal device such as a mobile phone of the target user. For example, if the electric energy metering device is connected to the target user's smartphone, when the frequency meets the conditions, the mobile phone can receive a message similar to "Your new energy power generation equipment has the ability to provide stable power supply and can perform electricity operations."

[0061] After receiving the power supply reminder signal, if the user confirms their intention to use electricity from the renewable energy generator, they can send a confirmation signal for the renewable energy generator by pressing a specific button or the touchscreen interface on the energy meter. The data display module monitors and receives this confirmation signal in real time. Upon receiving the confirmation signal, the data display module generates a unique identification code. This identification code can take the form of a QR code, a barcode, or other similar format, and contains information related to the current power supply confirmation operation. The identification code is then displayed on the energy meter's data display module. For example, the data display module can display a QR code image so that the target user can clearly see it. The target user can use a mobile phone or other client device (such as a mobile phone with the accompanying app installed) to enable the code scanning function and scan the identification code on the data display module. After the client recognizes the information in the identification code, it automatically jumps to the interface for entering the required information for the electrical equipment. This interface can be a simple form page, containing options for various electrical equipment (such as air conditioners, refrigerators, washing machines, etc.), a corresponding usable frequency range input box (if the user has frequency requirements for specific equipment), and other relevant information input fields, such as the number of electrical equipment and the expected usage duration.

[0062] The electricity usage suggestion module maintains a communication connection with the client and obtains in real time the information entered by the target user in the electricity equipment demand information entry interface. For example, the user selected air conditioners, televisions, and computers as the required electricity equipment, and entered the corresponding usable frequency ranges for these devices (if the target user is not clear, a default range can be set or the module can automatically fill in the common range based on the device type). Afterwards, the obtained usable frequency range of each required electricity equipment is compared with the previously determined target frequency range. The electricity equipment whose usable frequency range completely includes the target frequency range is screened out, and these equipment are the second target electricity equipment.

[0063] Furthermore, the power usage suggestion module can generate power usage suggestions for the selected second target power-consuming devices to optimize their operation and send the generated power usage suggestions to the client. For example, the target user can be advised to use only the second target power-consuming devices and change the power supply mode to renewable energy power generation equipment.

[0064] This embodiment of the application introduces a power supply reminder, interactive user demand entry, and demand-based power usage suggestion generation mechanism. When the new energy power generation equipment has power supply capability (frequency is within the target range), the user is reminded, allowing the user to actively feedback their power demand, thereby providing personalized power usage suggestions, optimizing power usage behavior, improving energy efficiency, and enhancing user experience.

[0065] In an embodiment of the present application, optionally, the device also includes: a switching module, which is used to change the power supply mode corresponding to the target user from traditional power grid power supply to power supply by the new energy power generation equipment in response to the power switching instruction sent by the target user through the client.

[0066] In this embodiment, the core function of the switching module is to achieve flexible switching of power supply modes. Specifically, it can smoothly and efficiently switch the power originally provided to the target user by the traditional power grid to the power output of the new energy power generation device based on the power switching instruction sent by the target user through the client. In a specific embodiment, the switching module can send a disconnect instruction to the switch device (such as a circuit breaker) on the traditional power grid power supply line connected to the target user. After receiving the instruction, the switch device performs a disconnect operation to cut off the circuit that the traditional power grid supplies power to the target user. After the traditional power grid power supply is disconnected, the switching module sends a closing instruction to the connecting switch device between the new energy power generation device and the target user. After the switch device is closed, the new energy power generation device begins to supply power to the target user. At the same time, the switching module can continuously monitor the output parameters of the new energy power generation device to ensure its stable output and match the power demand of the target user. If an abnormal output parameter is found, such as the first frequency and the second frequency deviate from the target frequency range, the switching module can take timely measures, such as switching back to the traditional power grid power supply.

[0067] The target users of the embodiments of the present application can flexibly switch power supply modes according to their own needs and wishes, and are no longer completely subject to the power supply arrangements of the traditional power grid, thereby improving the autonomy and flexibility of electricity use.

[0068] Further, as Figure 1 The specific implementation of the method, the embodiment of the present application provides an electric energy metering method, such as Figure 2 As shown, applied to the electric energy metering device as described in any one of the above items, the method includes:

[0069] Step 101: a signal acquisition module acquires a voltage analog signal and a current analog signal output by a new energy power generation device, and converts the voltage analog signal into a voltage digital signal, and converts the current analog signal into a current digital signal;

[0070] Step 102: A Fourier transform module performs Fourier transform on the voltage digital signal and the current digital signal to obtain a first Fourier transform result and a second Fourier transform result, and detects a first frequency corresponding to the voltage digital signal from the first Fourier transform result, and detects a second frequency corresponding to the current digital signal from the second Fourier transform result.

[0071] Step 103: The data display module displays the first frequency and the second frequency to prompt the target user of the voltage frequency and current frequency currently output by the new energy power generation equipment.

[0072] Optionally, after detecting the first frequency corresponding to the voltage digital signal from the first Fourier transform result, and detecting the second frequency corresponding to the current digital signal from the second Fourier transform result, the method further includes:

[0073] The harmonic analysis module determines a plurality of target harmonic orders according to a preset harmonic detection frequency range and the first frequency or the second frequency;

[0074] The harmonic analysis module determines the voltage amplitude and voltage phase corresponding to each target harmonic order based on the first Fourier transform result, and determines the current amplitude and current phase corresponding to each target harmonic order based on the second Fourier transform result;

[0075] The electric energy metering module calculates active power and reactive power based on the voltage amplitude, voltage phase, current amplitude and current phase corresponding to each target harmonic order, and determines the electric energy metering result according to the active power and the reactive power;

[0076] The data display module displays the electric energy measurement result.

[0077] Optionally, the voltage analog signal and the current analog signal output by the new energy power generation equipment are collected according to a preset sampling frequency, and the preset sampling frequency is determined based on the following method:

[0078] Obtaining the maximum frequency, signal bandwidth, and signal change speed corresponding to the voltage analog signal output by the new energy power generation device, as well as the maximum frequency, signal bandwidth, and signal change speed corresponding to the output current analog signal;

[0079] Calculating a first frequency resolution corresponding to the voltage analog signal based on a maximum frequency corresponding to the voltage analog signal, determining a second frequency resolution based on a signal bandwidth corresponding to the voltage analog signal, and determining a third frequency resolution based on a signal change speed corresponding to the voltage analog signal, and taking a maximum value among the first frequency resolution, the second frequency resolution, and the third frequency resolution as the first resolution;

[0080] calculating a fourth frequency resolution corresponding to the current analog signal based on a maximum frequency corresponding to the current analog signal, determining a fifth frequency resolution based on a signal bandwidth corresponding to the current analog signal, and determining a sixth frequency resolution based on a signal change speed corresponding to the current analog signal, and using a maximum value among the fourth frequency resolution, the fifth frequency resolution, and the sixth frequency resolution as a second resolution;

[0081] The first resolution is compared with the second resolution, a maximum value of the comparison results is used as a target frequency resolution, and the preset sampling frequency is determined according to the target frequency resolution.

[0082] Optionally, after determining the electric energy metering result, the method further includes:

[0083] The data storage module stores electric energy data and marks a timestamp, wherein the electric energy data includes the first frequency, the second frequency and the electric energy measurement result;

[0084] Accordingly, the method further comprises:

[0085] The data display module receives a data query instruction;

[0086] The data query module obtains data query information based on the data query instruction, and obtains a target query result from the electric energy data stored in the data storage module based on the data query information;

[0087] The data display module displays the target query result.

[0088] Optionally, after detecting the first frequency corresponding to the voltage digital signal from the first Fourier transform result, and detecting the second frequency corresponding to the current digital signal from the second Fourier transform result, the method further includes:

[0089] The power consumption analysis module analyzes the power consumption equipment corresponding to the target user based on the power consumption data within a preset time, and determines the frequency range to which the first frequency and the second frequency belong;

[0090] The electricity usage suggestion module obtains the usable frequency range corresponding to the electric device when the frequency ranges to which the first frequency and the second frequency belong are both target frequency ranges, and filters out a first target electric device from the electric devices based on the target frequency range and the usable frequency range corresponding to the electric device, generates an electricity usage suggestion based on the first target electric device, and sends the electricity usage suggestion to the client corresponding to the target user.

[0091] Optionally, after detecting the first frequency corresponding to the voltage digital signal from the first Fourier transform result, and detecting the second frequency corresponding to the current digital signal from the second Fourier transform result, the method further includes:

[0092] The power supply reminder module outputs a power supply reminder signal for the new energy power generation equipment when the frequency ranges to which the first frequency and the second frequency belong are both within the target frequency range;

[0093] The data display module outputs an identification code in response to the power supply confirmation signal of the new energy power generation equipment, so that after the target user scans the identification code through the client, an interface for inputting power consumption equipment demand information is output on the client;

[0094] The electricity usage suggestion module identifies the required electricity device and the usable frequency range corresponding to the required electricity device from the electricity device demand information entry interface, filters out a second target electricity device from the required electricity device based on the target frequency range and the usable frequency range corresponding to the required electricity device, generates electricity usage suggestions based on the second target electricity device, and sends the electricity usage suggestions to the client corresponding to the target user.

[0095] Optionally, the method further includes:

[0096] The switching module changes the power supply mode corresponding to the target user from traditional power grid power supply to power supply by the new energy power generation equipment in response to the power switching instruction sent by the target user through the client.

[0097] It should be noted that for other corresponding descriptions of the functional units involved in the electric energy metering method provided in the embodiment of the present application, please refer to Figure 1 The corresponding description in the device will not be repeated here.

[0098] The present application also provides a computer device, which can be a personal computer, a server, a network device, etc. Figure 3As shown, the computer device includes a bus, a processor, a memory, and a communication interface, and may also include an input / output interface and a display device. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store location information. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, the steps of each method embodiment are implemented.

[0099] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0100] In one embodiment, a computer-readable storage medium is provided. The computer-readable storage medium may be non-volatile or volatile, and stores a computer program thereon. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0101] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0102] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0103] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.

[0104] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0105] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. An electric energy metering device, characterized in that: include: A signal acquisition module, configured to acquire voltage analog signals and current analog signals output by the new energy power generation equipment, and convert the voltage analog signals into voltage digital signals, and convert the current analog signals into current digital signals; a Fourier transform module, configured to perform Fourier transform on the voltage digital signal and the current digital signal, respectively, to obtain a first Fourier transform result and a second Fourier transform result, and to detect a first frequency corresponding to the voltage digital signal from the first Fourier transform result, and to detect a second frequency corresponding to the current digital signal from the second Fourier transform result; The data display module is used to display the first frequency and the second frequency to prompt the target user of the voltage frequency and current frequency currently output by the new energy power generation equipment.

2. The device according to claim 1, characterized in that The device further comprises: a harmonic analysis module, configured to determine a plurality of target harmonic orders based on a preset harmonic detection frequency range and the first frequency or the second frequency; The harmonic analysis module is further configured to determine a voltage amplitude and a voltage phase corresponding to each target harmonic order based on the first Fourier transform result, and to determine a current amplitude and a current phase corresponding to each target harmonic order based on the second Fourier transform result; An electric energy metering module is configured to calculate active power and reactive power based on the voltage amplitude, voltage phase, current amplitude, and current phase corresponding to each target harmonic order, and determine an electric energy metering result based on the active power and reactive power; The data display module is also used to display the electric energy measurement result.

3. The device according to claim 1, characterized in that The signal acquisition module acquires the voltage analog signal and the current analog signal output by the new energy power generation equipment according to a preset sampling frequency, and the preset sampling frequency is determined based on the following method: Obtaining the maximum frequency, signal bandwidth, and signal change speed corresponding to the voltage analog signal output by the new energy power generation device, as well as the maximum frequency, signal bandwidth, and signal change speed corresponding to the output current analog signal; Calculating a first frequency resolution corresponding to the voltage analog signal based on a maximum frequency corresponding to the voltage analog signal, determining a second frequency resolution based on a signal bandwidth corresponding to the voltage analog signal, and determining a third frequency resolution based on a signal change speed corresponding to the voltage analog signal, and taking a maximum value among the first frequency resolution, the second frequency resolution, and the third frequency resolution as the first resolution; calculating a fourth frequency resolution corresponding to the current analog signal based on a maximum frequency corresponding to the current analog signal, determining a fifth frequency resolution based on a signal bandwidth corresponding to the current analog signal, and determining a sixth frequency resolution based on a signal change speed corresponding to the current analog signal, and using a maximum value among the fourth frequency resolution, the fifth frequency resolution, and the sixth frequency resolution as a second resolution; The first resolution is compared with the second resolution, a maximum value of the comparison results is used as a target frequency resolution, and the preset sampling frequency is determined according to the target frequency resolution.

4. The device according to claim 2 or 3, characterized in that The device further comprises: a data storage module, configured to store electric energy data and mark a timestamp, wherein the electric energy data includes the first frequency, the second frequency, and the electric energy measurement result; The data display module is further used to receive data query instructions; a data query module, configured to obtain data query information based on the data query instruction, and obtain a target query result from the electric energy data stored in the data storage module based on the data query information; The data display module is also used to display the target query result.

5. The device according to claim 1, characterized in that The device further comprises: An electricity consumption analysis module, configured to analyze the electric devices corresponding to the target user based on electricity consumption data within a preset time period, and determine the frequency range to which the first frequency and the second frequency belong; An electricity usage suggestion module is used to obtain the usable frequency range corresponding to the electric device when the frequency ranges to which the first frequency and the second frequency belong are both target frequency ranges, and to filter out a first target electric device from the electric devices based on the target frequency range and the usable frequency range corresponding to the electric device, generate an electricity usage suggestion based on the first target electric device, and send the electricity usage suggestion to the client corresponding to the target user.

6. The device according to claim 1, characterized in that The device further comprises: a power supply reminder module, configured to output a power supply reminder signal for the new energy power generation equipment when the frequency ranges to which the first frequency and the second frequency belong are both within the target frequency range; The data display module is further configured to output an identification code in response to a power supply confirmation signal from the new energy power generation equipment, so that after the target user scans the identification code through the client, an interface for inputting power consumption information is displayed on the client; The electricity usage suggestion module is used to identify the required electricity device and the usable frequency range corresponding to the required electricity device from the electricity device demand information entry interface, filter out a second target electricity device from the required electricity devices based on the target frequency range and the usable frequency range corresponding to the required electricity device, generate electricity usage suggestions based on the second target electricity device, and send the electricity usage suggestions to the client corresponding to the target user.

7. The device according to claim 5 or 6, characterized in that The device further comprises: The switching module is used to change the power supply mode corresponding to the target user from traditional power grid power supply to power supply by the new energy power generation equipment in response to the power switching instruction sent by the target user through the client.

8. A method for measuring electric energy, characterized in that: The method is applied to the electric energy metering device according to any one of claims 1 to 7, and the method includes: The signal acquisition module acquires the voltage analog signal and the current analog signal output by the new energy power generation equipment, and converts the voltage analog signal into a voltage digital signal, and converts the current analog signal into a current digital signal; A Fourier transform module performs Fourier transform on the voltage digital signal and the current digital signal respectively to obtain a first Fourier transform result and a second Fourier transform result, and detects a first frequency corresponding to the voltage digital signal from the first Fourier transform result, and detects a second frequency corresponding to the current digital signal from the second Fourier transform result; The data display module displays the first frequency and the second frequency to prompt the target user of the voltage frequency and current frequency currently output by the new energy power generation equipment.

9. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to claim 8 is implemented.

10. A computer device comprising a storage medium, a processor, and a computer program stored in the storage medium and executable on the processor, wherein: When the processor executes the computer program, the method according to claim 8 is implemented.