Disturbance signal detection method and apparatus, electronic device, and storage medium
By performing mode decomposition and further mode decomposition on the distributed power source's electrical signal, low-frequency and high-frequency components are determined. Combined with time-frequency analysis, the problem of low accuracy in disturbance signal detection in existing technologies is solved, and high-accuracy disturbance signal detection is achieved.
Patent Information
- Application Number
- CN202310102164.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-08
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2043-02-08
AI Technical Summary
Existing technologies have low accuracy in detecting disturbance signals in distributed power source signals, and suffer from under-decomposition or over-decomposition problems.
By performing mode decomposition on the power signal of the distributed power source, low-frequency and high-frequency components are obtained. Further mode decomposition of the high-frequency components is performed to determine the high-frequency components of multiple units. Disturbance signals are detected in each mode component. Time-frequency analysis is performed using Hilbert-Huang transform to determine the fundamental frequency, low-frequency and high-frequency disturbance signals.
It improves the accuracy and flexibility of disturbance signal detection, avoids under-decomposition or over-decomposition of signal, and ensures the accuracy of power signal quality detection.
Smart Images

Figure CN116338335B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power system technology, and in particular to a method, apparatus, electronic device, and storage medium for detecting disturbance signals. Background Technology
[0002] With the development of new energy power generation technologies, distributed power sources are increasingly being connected to the distribution network. However, due to the fluctuation and randomness of the power signals from distributed power sources, large-scale grid connection of distributed power sources may affect the power quality of the distribution network. Therefore, it is necessary to detect the power signals of distributed power sources.
[0003] Currently, the detection of the power signal of a distributed power source can be achieved by performing a simple decomposition of the power signal and detecting the disturbance signal in the power signal.
[0004] However, detecting disturbance signals by simply decomposing the electrical signal once can result in under-decomposition or over-decomposition, leading to low accuracy in disturbance signal detection. Summary of the Invention
[0005] This invention provides a method, apparatus, electronic device, and storage medium for detecting disturbance signals, thereby improving the accuracy of disturbance signal detection.
[0006] According to one aspect of the present invention, a method for detecting disturbance signals is provided, comprising:
[0007] Acquire the power signal of the distributed power source to be detected;
[0008] Modal decomposition is performed on the electrical energy signal to obtain the low-frequency and high-frequency components of the electrical energy signal;
[0009] Modal decomposition is performed on the high-frequency components to obtain multiple unit high-frequency components, and the high-frequency components and low-frequency components of each unit are determined as each modal component;
[0010] Disturbance signals are detected in each modal component.
[0011] According to another aspect of the present invention, a disturbance signal detection device is provided, comprising:
[0012] The power signal acquisition module is used to acquire the power signal of the distributed power source to be detected.
[0013] The power signal decomposition module is used to perform mode decomposition on the power signal to obtain the low-frequency and high-frequency components of the power signal.
[0014] The high-frequency component decomposition module is used to perform modal decomposition on high-frequency components to obtain multiple unit high-frequency components, and to determine each unit's high-frequency component and low-frequency component as each modal component.
[0015] The disturbance signal detection module is used to detect disturbance signals in each modal component.
[0016] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0017] At least one processor; and
[0018] A memory communicatively connected to the at least one processor; wherein,
[0019] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the disturbance signal detection method according to any embodiment of the present invention.
[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the disturbance signal detection method according to any embodiment of the present invention.
[0021] The technical solution of this invention acquires the power signal of the distributed power source to be detected, performs mode decomposition on the power signal to obtain low-frequency and high-frequency components of the power signal, performs mode decomposition on the high-frequency components to obtain multiple unit high-frequency components, and determines each unit high-frequency component and the low-frequency component as a mode component. Disturbance signals are detected in each mode component. This solves the problem that detecting disturbance signals by simply performing a single decomposition of the power signal results in under-decomposition or over-decomposition of the signal, leading to low accuracy in disturbance signal detection. This invention improves the accuracy of disturbance signal detection.
[0022] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 This is a flowchart of a disturbance signal detection method provided in Embodiment 1 of the present invention;
[0025] Figure 2 This is a flowchart of a disturbance signal detection method according to Embodiment 2 of the present invention;
[0026] Figure 3 This is a flowchart of a disturbance signal detection method according to Embodiment 2 of the present invention;
[0027] Figure 4 This is a flowchart of a distributed power source data acquisition, storage and transmission method according to Embodiment 2 of the present invention;
[0028] Figure 5 This is a schematic diagram of the structure of a disturbance signal detection device according to Embodiment 3 of the present invention;
[0029] Figure 6 This is a schematic diagram of the structure of an electronic device that implements the disturbance signal detection method of the present invention. Detailed Implementation
[0030] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0031] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0032] Example 1
[0033] Figure 1 This is a flowchart illustrating a disturbance signal detection method according to Embodiment 1 of the present invention. This embodiment of the invention is applicable to situations involving disturbance signal detection. The method can be executed by a disturbance signal detection device, which can be implemented in hardware and / or software and can be configured in an electronic device that performs disturbance signal detection functionality.
[0034] See Figure 1 The disturbance signal detection method shown includes:
[0035] S110. Acquire the power signal of the distributed power source to be detected.
[0036] Distributed power generation primarily utilizes new energy sources for power generation, such as photovoltaic power generation, wind power generation, biomass power generation, ocean energy power generation, and geothermal energy power generation. Distributed power generation offers advantages in terms of being green and low-carbon; however, its power signals also exhibit volatility and randomness. Connecting distributed power sources to the distribution network may introduce these volatility and randomness, impacting the power quality of the distribution network. Therefore, it is necessary to detect the power signals of distributed power sources connected to the distribution network. The distributed power source to be detected can be one already connected to the distribution network. Optionally, the distributed power source to be detected can include either a distributed power source already connected to the distribution network or a distributed power source awaiting connection to the distribution network.
[0037] Specifically, the power signal of the distributed power source under test can be acquired by a power signal measuring device. For example, the power signal measuring device may include a synchronous phasor measurement unit (PMU), a voltage transformer (PT), and a current transformer (CT), etc.
[0038] S120. Perform mode decomposition on the electrical energy signal to obtain the low-frequency and high-frequency components of the electrical energy signal.
[0039] Low-frequency components can be any components of the electrical signal with frequencies less than or equal to the fundamental frequency of the electrical signal. High-frequency components can be any components of the electrical signal with frequencies greater than the fundamental frequency of the electrical signal. The fundamental frequency of the electrical signal, also known as the power frequency, is typically 50Hz.
[0040] Specifically, methods such as Empirical Mode Decomposition (EMD), Variational Mode Decomposition (VMD), and wavelet transform can be used to perform mode decomposition on the electrical energy signal to obtain low-frequency components with frequencies less than or equal to the fundamental frequency of the electrical energy signal and high-frequency components with frequencies greater than the fundamental frequency of the electrical energy signal.
[0041] S130. Perform modal decomposition on the high-frequency components to obtain multiple unit high-frequency components, and determine the high-frequency components and low-frequency components of each unit as each modal component.
[0042] A single high-frequency component can be a subdivided high-frequency component. The above steps perform mode decomposition on the electrical signal to obtain high-frequency components. However, the distinction between high-frequency components is not clear, making it difficult to detect disturbances in the electrical signal using high-frequency components. Therefore, further mode decomposition of the high-frequency components is needed to obtain multiple single high-frequency components, which are then used to detect disturbances in the electrical signal. Mode components are used to detect disturbances in the electrical signal. Mode components include each single high-frequency component and low-frequency component.
[0043] Specifically, the high-frequency components obtained after the above-mentioned mode decomposition steps can be further decomposed using methods such as Empirical Mode Decomposition (EMD), Variational Mode Decomposition (VMD), and wavelet transform to obtain multiple unit high-frequency components. Each unit's high-frequency and low-frequency components are then identified as mode components. Optionally, the method used for mode decomposition of the electrical signal can be the same as or different from the method used for mode decomposition of the high-frequency components.
[0044] S140. Detect disturbance signals in each modal component.
[0045] Disturbance signals can be interference signals that affect the signal quality of power signals. After detecting disturbance signals, the power quality of distributed generation can be further analyzed: if the distributed generation to be detected is a distributed generation already connected to the distribution network, and the parameters of the disturbance signal exceed the grid connection allowable value for connection to the distribution network, then the connection between the corresponding distributed generation and the distribution network is disconnected to reduce the impact of the distributed generation on the power quality of the distribution network.
[0046] The technical solution of this invention acquires the power signal of the distributed power source to be detected, performs mode decomposition on the power signal to obtain low-frequency and high-frequency components, performs mode decomposition on the high-frequency components to obtain multiple unit high-frequency components, and determines each unit high-frequency component and the low-frequency component as a mode component. Disturbance signals are detected in each mode component. The first mode decomposition of the power signal determines the low-frequency and high-frequency components, and the second mode decomposition of the high-frequency components determines multiple unit high-frequency components. This avoids a simple single decomposition of the power signal, which may only yield high-frequency components mixed with unit high-frequency components or excessively subdivided low-frequency components. It avoids under-decomposition or over-decomposition of the power signal, ensuring the accuracy of the power signal decomposition and further guaranteeing the accuracy of the disturbance signals detected in each mode component.
[0047] In an optional embodiment of the present invention, the low-frequency component includes a fundamental frequency mode component and a low-frequency mode component; wherein, the frequency of the fundamental frequency mode component is the same as the frequency of the power signal; the frequency of the low-frequency mode component is lower than the frequency of the power signal; the frequency of the unit high-frequency component is higher than the frequency of the power signal; detecting disturbance signals in each mode component specifically involves: performing time-frequency analysis on each mode component to obtain the amplitude of each mode component; comparing the amplitude change of each fundamental frequency mode component with a preset fundamental frequency amplitude change threshold to determine it as a fundamental frequency disturbance signal; comparing the amplitude of each low-frequency mode component with a preset low-frequency amplitude threshold to determine it as a low-frequency disturbance signal; and determining the unit high-frequency component as a high-frequency disturbance signal.
[0048] The amplitude change can be obtained by calculating the difference between the amplitude of the fundamental frequency mode component that has undergone amplitude change and the amplitude of the fundamental frequency mode component itself, and then calculating the ratio between this difference and the amplitude of the fundamental frequency mode component. The preset fundamental frequency amplitude change threshold can be a pre-set maximum amplitude change value. The preset low-frequency amplitude threshold can be a pre-set maximum amplitude of the low-frequency mode component. Both the preset fundamental frequency amplitude change threshold and the preset low-frequency amplitude threshold can be set and adjusted based on the experience of technical personnel.
[0049] Specifically, the Hilbert-Huang Transform (HHT) method can be used to perform time-frequency analysis on each modal component to obtain the amplitude and frequency of each modal component. In the fundamental frequency modal component, the amplitude change is compared with a preset fundamental frequency amplitude change threshold. Fundamental frequency modal components with amplitude changes exceeding the preset threshold are identified as fundamental frequency disturbance signals. In each low-frequency modal component, the amplitude of each low-frequency modal component is compared with a preset low-frequency amplitude threshold to identify low-frequency disturbance signals. The high-frequency components of the unit are identified as high-frequency disturbance signals.
[0050] This scheme specifies low-frequency components into fundamental frequency mode components and low-frequency mode components. The fundamental frequency mode component has the same frequency as the power signal, while the low-frequency mode components have frequencies lower than the power signal. The unit high-frequency components have frequencies higher than the power signal. Time-frequency analysis is performed on each mode component to obtain its amplitude. For each fundamental frequency mode component, the amplitude variation is compared to a preset fundamental frequency amplitude variation threshold to identify it as a fundamental frequency disturbance signal. Similarly, for each low-frequency mode component, the amplitude is compared to a preset low-frequency amplitude threshold to determine... By defining the low-frequency disturbance signal and identifying the high-frequency component of the unit as the high-frequency disturbance signal, and performing time-frequency analysis on each modal component, the amplitude and frequency of each modal component are obtained. By specifying each modal component into the fundamental frequency modal component, the low-frequency modal component, and the unit high-frequency component, the disturbance signals of the fundamental frequency modal component, the low-frequency modal component, and the unit high-frequency component are determined respectively, resulting in the fundamental frequency disturbance signal, the low-frequency disturbance signal, and the high-frequency disturbance signal. By combining the frequencies of different modal components, the disturbance signal of each modal component is detected, further improving the flexibility and accuracy of disturbance signal detection.
[0051] In an optional embodiment of the present invention, in each fundamental frequency mode component, the amplitude change is compared with a preset fundamental frequency amplitude change threshold to determine it as a fundamental frequency disturbance signal. Specifically, in each fundamental frequency mode component, the amplitude change of the fundamental frequency mode component is compared with a preset fundamental frequency amplitude change threshold; when the amplitude change of the fundamental frequency mode component is detected to be greater than or equal to the preset fundamental frequency amplitude change threshold, the fundamental frequency mode component is determined to be a fundamental frequency disturbance signal.
[0052] Specifically, the amplitude change of each fundamental frequency mode component can be compared with a preset fundamental frequency amplitude change threshold. When the amplitude change of the fundamental frequency mode component is detected to be greater than or equal to the preset fundamental frequency amplitude change threshold, the corresponding fundamental frequency mode component is identified as a fundamental frequency disturbance signal.
[0053] This scheme compares the amplitude change of each fundamental frequency mode component with a preset fundamental frequency amplitude change threshold. When the amplitude change of the fundamental frequency mode component is detected to be greater than or equal to the preset fundamental frequency amplitude change threshold, the fundamental frequency mode component is identified as a fundamental frequency disturbance signal, thereby improving the detection efficiency of fundamental frequency disturbance signals.
[0054] Optionally, the type of baseband disturbance signal can include a rising signal, a falling signal, and an interrupt signal. Further detection can be performed on the baseband disturbance signal to determine its type. Specifically, if the amplitude change of the baseband disturbance signal is an increase, the type of baseband disturbance signal is a rising signal; if the amplitude change of the baseband disturbance signal is a decrease, the amplitude change of the baseband disturbance signal is detected; if the amplitude change of the baseband disturbance signal is greater than or equal to a preset baseband amplitude change threshold and less than or equal to a preset falling signal amplitude change threshold, the baseband disturbance signal is determined to be a falling signal; if the amplitude change of the baseband disturbance signal is greater than the preset falling signal amplitude change threshold, the baseband disturbance signal is determined to be an interrupt signal. The preset falling signal amplitude change threshold can be a pre-set maximum value for the amplitude change of a falling signal. The preset falling signal amplitude change threshold can be set and adjusted based on the experience of technical personnel.
[0055] By further detecting the fundamental frequency disturbance signal, the type of the fundamental frequency disturbance signal can be determined, so that technicians can adapt the power quality detection of the power signal according to the type of fundamental frequency disturbance signal, thereby further improving the accuracy of power quality detection.
[0056] In an optional embodiment of the present invention, the low-frequency disturbance signal includes a noise signal and a pulse signal; in each low-frequency mode component, the amplitude of each low-frequency mode component is compared with a preset low-frequency amplitude threshold to determine the low-frequency disturbance signal, including: in each low-frequency mode component, the amplitude of each low-frequency mode component is compared with a preset low-frequency amplitude threshold; if the amplitude of the low-frequency mode component is less than the preset low-frequency amplitude threshold, the low-frequency mode component is determined to be a noise signal; if the amplitude of the low-frequency mode component is greater than or equal to the preset low-frequency amplitude threshold, the low-frequency mode component is determined to be a pulse signal.
[0057] Low-frequency disturbance signals include noise signals and pulse signals. Pulse signals have a larger amplitude, while noise signals have a smaller amplitude.
[0058] Specifically, the amplitude of each low-frequency mode component can be compared with a preset low-frequency amplitude threshold. If the amplitude of the low-frequency mode component is less than the preset low-frequency amplitude threshold, the low-frequency mode component is determined to be a noise signal. If the amplitude of the low-frequency mode component is greater than or equal to the preset low-frequency amplitude threshold, the low-frequency mode component is determined to be a pulse signal.
[0059] This scheme uses low-frequency disturbance signals, including noise and pulse signals, to compare the amplitude of each low-frequency mode component with a preset low-frequency amplitude threshold. If the amplitude of the low-frequency mode component is less than the preset low-frequency amplitude threshold, the low-frequency mode component is determined to be a noise signal; if the amplitude of the low-frequency mode component is greater than or equal to the preset low-frequency amplitude threshold, the low-frequency mode component is determined to be a pulse signal. By using the amplitude of the low-frequency mode component and the preset low-frequency amplitude threshold, the noise and pulse signals in the low-frequency disturbance signal can be identified, further improving the efficiency and accuracy of low-frequency disturbance signal detection.
[0060] In an optional embodiment of the present invention, the distributed power source to be detected is a distributed power source to be connected to the distribution network.
[0061] Specifically, if the distributed power source to be detected is a distributed power source to be connected to the distribution network, the power signal of the distributed power source to be connected to the distribution network can be decomposed into modes to obtain the low-frequency and high-frequency components of the power signal. Mode decomposition is then performed on the high-frequency components to obtain multiple unit high-frequency components. Each unit high-frequency component and low-frequency component is then identified as a mode component. Disturbance signals are detected in each mode component. If the parameters of the disturbance signal exceed the grid connection allowable value for connection to the distribution network, the corresponding distributed power source will not be connected to the distribution network, thus avoiding the impact of the distributed power source on the power quality of the distribution network.
[0062] This solution identifies the distributed power source to be connected to the distribution network as the distributed power source to be tested. By pre-detecting disturbance signals in the power signal of the distributed power source to be connected to the distribution network, the power quality of the distributed power source can be detected in advance, thus avoiding the impact on the power quality of the distribution network caused by the connection of distributed power sources with unsuitable power quality.
[0063] Example 2
[0064] Figure 2 This is a flowchart of a disturbance signal detection method provided in Embodiment 2 of the present invention. Based on the above embodiments, this embodiment specifies "performing mode decomposition of the electrical energy signal to obtain low-frequency and high-frequency components" as "performing mode decomposition of the electrical energy signal according to a first second-order penalty factor to obtain low-frequency and high-frequency components," and specifies "performing mode decomposition of the high-frequency components to obtain multiple unit high-frequency components" as "performing mode decomposition of the high-frequency components according to a second second-order penalty factor to obtain multiple unit high-frequency components; the first second-order penalty factor is different from the second second-order penalty factor." This achieves sufficient decomposition of the electrical energy signal at different frequencies, further improving the accuracy of electrical energy signal decomposition, and consequently further improving the accuracy of disturbance signal detection. It should be noted that parts not detailed in this embodiment can be found in the descriptions of other embodiments.
[0065] See Figure 2 The disturbance signal detection method shown includes:
[0066] S210. Acquire the power signal of the distributed power source to be detected.
[0067] S220. Based on the first and second order penalty factors, perform mode decomposition on the electrical energy signal to obtain the low-frequency and high-frequency components of the electrical energy signal.
[0068] The second-order penalty factor can be a parameter in the variational mode decomposition method. The variational mode decomposition method can adaptively decompose an electrical signal into multiple modal components and simultaneously obtain the center frequency of each modal component. The first and second-order penalty factors can be parameters used when performing mode decomposition on the electrical signal.
[0069] Specifically, the second-order penalty factor can be set as the first-second-order penalty factor, and the variational mode decomposition method can be used to perform mode decomposition on the electrical energy signal to obtain the low-frequency and high-frequency components of the electrical energy signal.
[0070] For example, the specific process of performing mode decomposition on an electrical energy signal using the variational mode decomposition method is as follows:
[0071] The following formula can be used to perform mode decomposition on the electrical signal to obtain each mode component:
[0072] f(t)=u1(t)+u2(t)+…+u k (t);
[0073] In the formula, f(t) is the electrical energy signal; u1(t), u2(t), ..., u k (t) represents each modal component after variational mode decomposition; k is the number of modal components.
[0074] The goal of variational mode decomposition is to transform the variational problem concerning modal components into solving a mode function that minimizes the sum of the estimated bandwidths of each modal component. This can be expressed as an unconstrained optimization problem with an extended Lagrangian expression.
[0075] For example, the extended Lagrange expression can be represented by the following formula:
[0076]
[0077] In the formula, {u k}={u1,…,u k} represents the modal components after variational mode decomposition; {ω k}={ω1,…,ω k} represents the center frequency of each modal component after variational mode decomposition; λ is the Lagrange multiplier; α is the second-order penalty factor; k is the number of modal components; δ(t) is the Dirac distribution function; and f(t) is the electrical signal.
[0078] The Alternate Direction Method of Multipliers (ADMM) algorithm can be used to alternately update u through the following steps. k (n+1) ω k (n+1) and λ (n+1) :
[0079] (1) Initialization λ 1 , n, and assign an initial value of zero.
[0080] (2) The following formula can be used for iterative updates.
[0081]
[0082] In the formula, ω is the frequency; for The Fourier transform of, where, The real part is u k (n+1) ; For the Fourier transform of f(t); λ is the Fourier transform of λ(t); k is the number of modal components; α is the second-order penalty factor.
[0083] (3) The following formula can be used for iterative updates.
[0084]
[0085] In the formula, The center frequency is the frequency after iterative update; ω is the center frequency. for k represents the number of modal components.
[0086] (4) The following formula can be used to update the iteration λ. n+1 :
[0087]
[0088] In the formula, λ n+1 For the updated and iterated Lagrange multipliers; λ n τ represents the current Lagrange multiplier; τ is the noise margin, which can be set to 0 to achieve better noise reduction when the signal contains strong noise; f is the electrical signal. for The real part of ; k is the number of modal components.
[0089] (5) Repeat steps (2)-(5) until the iterative convergence condition of the following formula is met:
[0090]
[0091] In the formula, k is the number of modal components; for The real part; For each modal component, ε represents the current modal component; ε is the convergence tolerance value. For example, in this scheme, ε can be 1×10. -6 .
[0092] S230. Based on the second second-order penalty factor, perform mode decomposition on the high-frequency components to obtain multiple unit high-frequency components; the first second-order penalty factor is different from the second second-order penalty factor.
[0093] The first and second-order penalty factors are used to perform mode decomposition on the electrical signal, obtaining low-frequency and high-frequency components. The second-order penalty factor is used to perform further mode decomposition on the high-frequency components obtained from the first mode decomposition, obtaining multiple unit high-frequency components. The first and second-order penalty factors can be set and adjusted based on the experience of technical personnel. The first and second-order penalty factors differ from the second-order penalty factor. The first and second-order penalty factor tends to decompose the low-frequency components in the electrical signal more readily; it can be understood that when setting the first and second-order penalty factor, more consideration is given to the degree of signal decomposition of low-frequency components, while the degree of signal decomposition of high-frequency components is not sufficient. The second-order penalty factor tends to decompose each unit high-frequency component within the high-frequency components; it can be understood that when setting the second-order penalty factor, more consideration is given to the degree of signal decomposition of high-frequency components, ensuring sufficient decomposition of high-frequency components.
[0094] Specifically, the second-order penalty factor can be set as the second second-order penalty factor, and the variational mode decomposition method can be used to perform mode decomposition on the high-frequency components to obtain multiple unit high-frequency components.
[0095] S240. Detect disturbance signals in each modal component.
[0096] The technical solution of this invention acquires the power signal of the distributed power source to be detected, performs mode decomposition on the power signal according to the first and second order penalty factors to obtain the low-frequency and high-frequency components of the power signal, ensuring sufficient decomposition of the low-frequency components in the power signal. Then, according to the second order penalty factor, it performs mode decomposition on the high-frequency components to obtain multiple unit high-frequency components, again ensuring sufficient decomposition of the high-frequency components in the power signal. By using different first and second order penalty factors, sufficient decomposition of signals of different frequencies in the power signal is achieved, further improving the accuracy of power signal decomposition and consequently improving the accuracy of disturbance signal detection. Simultaneously, by using the same mode decomposition method to perform mode decomposition on the power signal and its high-frequency components respectively, the mode decomposition process is simplified and its complexity is reduced while achieving the same decomposition effect.
[0097] In an optional embodiment of the present invention, the second second-order penalty factor is greater than the first second-order penalty factor.
[0098] Specifically, a larger second-order penalty factor results in smaller bandwidths and higher frequencies for each modal component obtained from mode decomposition; conversely, a larger second-order penalty factor results in larger bandwidths and lower frequencies for each modal component obtained from mode decomposition. The second-order penalty factor being larger than the first-order penalty factor can be understood as follows: when decomposing an electrical signal to obtain low-frequency and high-frequency components, a smaller first-order penalty factor avoids over-decomposition of low-frequency components; while when decomposing high-frequency components to obtain individual high-frequency components, a larger second-order penalty factor ensures sufficient decomposition of high-frequency components. For example, the first-order penalty factor could be 200, and the second-order penalty factor could be 1000.
[0099] This scheme uses a second-order penalty factor that is greater than the first-order penalty factor. By using a smaller first-order penalty factor to perform mode decomposition on the power signal, it avoids excessive decomposition of low-frequency components and ensures appropriate decomposition of low-frequency components. By using a larger second-order penalty factor to perform mode decomposition on high-frequency components again, it ensures sufficient decomposition of high-frequency components, further improving the accuracy of power signal decomposition, and thus improving the accuracy of disturbance signal detection.
[0100] Figure 3 Here is a flowchart of a disturbance signal detection method, see [link / reference]. Figure 3 The disturbance signal detection method shown includes:
[0101] S310. Acquire the power signal of the distributed power source to be detected.
[0102] Specifically, it can acquire the power signal of the distributed power source under test detected by the power signal measuring device.
[0103] The power signal of the distributed power source to be tested can be detected by a power signal measuring device and stored in a local storage device. Figure 4 This is a flowchart illustrating the data acquisition, storage, and transmission of distributed power sources. When detecting disturbance signals in the power signals of the distributed power sources under test, two scenarios are possible: First, on-site detection of the power signals, which does not involve long-distance transmission and communication. Second, terminal data acquisition and transmission of the power signals from the distributed power sources under test, transmitting the acquired power signals long-distance to the main station (i.e., this device), where disturbance signal detection of the power signals of each distributed power source under test is achieved. Optionally, remote data monitoring and power quality analysis of the power signals of each distributed power source under test can also be performed. To achieve remote data transmission, detection, and analysis of distributed power sources, the data transmission and data storage devices in this solution aggregate power signals to the main station via a smart gateway. The main station only allows data access via the intranet to ensure data security and effectively protect user privacy. This solution can use a smart gateway to support multiple network standards, such as GPRS (General Packet Radio Service), 4G (fourth generation mobile communication technology), 5G (fifth generation mobile communication technology), 1.8GHz power line wireless private network, 230MHz power line wireless private network, and fiber optic private network. Simultaneously, this solution supports multiple communication protocols, such as TCP (Transmission Control Protocol), DL / T645 (Freeport Communication Protocol), DL / T698 (Power Terminal Communication Protocol), CDT (Cyclic Remote Control Protocol), Modbus (Industrial Communication System Bus Protocol), and UDP (Internet Data Transmission Protocol).
[0104] S320: Perform data cleaning and data standardization on the power signal of the distributed power source to be detected.
[0105] When power signal acquisition and storage devices collect and store power signals from distributed power sources, data anomalies such as missing data and data distortion may occur due to strong electromagnetic interference and special natural factors. Therefore, after acquiring the power signal of the distributed power source to be tested, data cleaning can be performed to remove abnormal data. Specifically, abnormal data in the power signal can be deleted first. Then, based on the normal data on both sides of the abnormal data point, the frequency, amplitude, and phase of the power signal waveform can be obtained to construct the normal power signal of the distributed power source between the two sides of the abnormal data point. Based on the data of the normal power signal, data cleaning and data supplementation can be performed on the abnormal data point, thus completing the data cleaning of the power signal.
[0106] After cleaning the power signals, this solution also performs per-unit processing on each power signal to facilitate subsequent disturbance signal detection and power quality analysis. Considering that different distributed power sources have different models and specifications, this solution performs per-unit processing on each distributed power source based on its voltage and voltage reference value.
[0107] For example, the voltage value of a distributed power source can be normalized using the following formula:
[0108]
[0109] In the formula, U * U is the per-unit voltage value. real This represents the actual voltage value collected; U base This refers to the voltage reference value for each distributed power source, such as the voltage rating.
[0110] S330. Based on the first and second order penalty factors, perform mode decomposition on the electrical energy signal to obtain the low-frequency and high-frequency components of the electrical energy signal.
[0111] Specifically, the second-order penalty factor can be set as the first-second-order penalty factor, and the variational mode decomposition method can be used to perform mode decomposition on the electrical energy signal to obtain the low-frequency and high-frequency components of the electrical energy signal.
[0112] S340. Based on the second-order penalty factor, perform mode decomposition on the high-frequency components to obtain multiple unit high-frequency components.
[0113] Specifically, the second-order penalty factor can be set as the second second-order penalty factor, and the variational mode decomposition method can be used to perform mode decomposition on the high-frequency components to obtain multiple unit high-frequency components.
[0114] S350. Perform time-frequency analysis on each modal component to obtain the amplitude of each modal component.
[0115] Specifically, the Hilbert-Huang Transform (HHT) method can be used to perform time-frequency analysis on each modal component to obtain the amplitude and frequency of each modal component.
[0116] S360. Based on the amplitude and frequency of each modal component, detect the disturbance signal in each modal component.
[0117] Specifically, in the fundamental frequency mode components, the amplitude change can be compared with a preset fundamental frequency amplitude change threshold. Fundamental frequency mode components whose amplitude change exceeds the preset threshold are identified as fundamental frequency disturbance signals. Similarly, in each low-frequency mode component, the amplitude of each low-frequency mode component can be compared with a preset low-frequency amplitude threshold to identify low-frequency disturbance signals. High-frequency components can also be identified as high-frequency disturbance signals.
[0118] Optionally, after detecting the disturbance signal in each modal component, the method further includes: performing power quality analysis and display on the disturbance signal.
[0119] Specifically, a computer platform can be used to display the data of each disturbance signal intuitively, making it easier for users to conduct further research on the causes of each disturbance signal in distributed power sources.
[0120] This scheme improves the accuracy of power signal data by cleaning the data of the distributed power source under test. It standardizes the data dimensions of the distributed power source under test by normalizing the data, facilitating further detection and analysis of the power signal. By applying first and second-order penalty factors, it performs mode decomposition on the power signal to obtain low-frequency and high-frequency components, ensuring sufficient decomposition of the low-frequency components. Similarly, by applying second-order penalty factors, it performs mode decomposition on the high-frequency components, obtaining multiple unit high-frequency components, again ensuring sufficient decomposition of the high-frequency components. By using different first and second-order penalty factors, it achieves sufficient decomposition of the power signal at different frequencies, further improving the accuracy of power signal decomposition. Finally, by combining the frequencies of different mode components, it enables the detection of disturbance signals in each mode component, further improving the flexibility and accuracy of disturbance signal detection.
[0121] Example 3
[0122] Figure 5 This is a schematic diagram of a disturbance signal detection device provided in Embodiment 3 of the present invention. This embodiment of the present invention is applicable to situations involving the detection of disturbance signals. The device can execute a disturbance signal detection method and can be implemented in hardware and / or software. The device can be configured in an electronic device that carries a disturbance signal detection function.
[0123] See Figure 5 The disturbance signal detection device shown includes: an electrical signal acquisition module 510, an electrical signal decomposition module 520, a high-frequency component decomposition module 530, and a disturbance signal detection module 540.
[0124] Among them, the power signal acquisition module 510 is used to acquire the power signal of the distributed power source to be detected;
[0125] The power signal decomposition module 520 is used to perform mode decomposition on the power signal to obtain the low-frequency and high-frequency components of the power signal.
[0126] The high-frequency component decomposition module 530 is used to perform modal decomposition on the high-frequency components to obtain multiple unit high-frequency components, and to determine each unit high-frequency component and low-frequency component as each modal component.
[0127] The disturbance signal detection module 540 is used to detect disturbance signals in each modal component.
[0128] The technical solution of this invention acquires the power signal of the distributed power source to be detected, performs mode decomposition on the power signal to obtain low-frequency and high-frequency components, performs mode decomposition on the high-frequency components to obtain multiple unit high-frequency components, and determines each unit high-frequency component and the low-frequency component as a mode component. Disturbance signals are detected in each mode component. The first mode decomposition of the power signal determines the low-frequency and high-frequency components, and the second mode decomposition of the high-frequency components determines multiple unit high-frequency components. This avoids a simple single decomposition of the power signal, which may only yield high-frequency components mixed with each unit high-frequency component, or excessively subdivided low-frequency components. It avoids under-decomposition or over-decomposition of the power signal, ensuring the accuracy of the power signal decomposition and further guaranteeing the accuracy of the disturbance signals detected in each mode component.
[0129] In an optional embodiment of the present invention, the power signal decomposition module 520 includes: a power signal decomposition unit, configured to perform mode decomposition on the power signal according to a first second-order penalty factor to obtain low-frequency components and high-frequency components of the power signal; and a high-frequency component decomposition module 530, including: a high-frequency component decomposition unit, configured to perform mode decomposition on the high-frequency components according to a second second-order penalty factor to obtain multiple unit high-frequency components; wherein the first second-order penalty factor is different from the second second-order penalty factor.
[0130] In an optional embodiment of the present invention, the second second-order penalty factor is greater than the first second-order penalty factor.
[0131] In an optional embodiment of the present invention, the low-frequency component includes a fundamental frequency mode component and a low-frequency mode component; wherein, the frequency of the fundamental frequency mode component is the same as the frequency of the power signal; the frequency of the low-frequency mode component is lower than the frequency of the power signal; the frequency of the unit high-frequency component is higher than the frequency of the power signal; the disturbance signal detection module 540 includes: a mode component amplitude acquisition unit, used to perform time-frequency analysis processing on each mode component to obtain the amplitude of each mode component; a fundamental frequency disturbance signal determination unit, used to compare the amplitude change amount in each fundamental frequency mode component with a preset fundamental frequency amplitude change threshold to determine it as a fundamental frequency disturbance signal; a low-frequency disturbance signal determination unit, used to compare the amplitude of each low-frequency mode component with a preset low-frequency amplitude threshold to determine it as a low-frequency disturbance signal; and a high-frequency disturbance signal determination unit, used to determine the unit high-frequency component as a high-frequency disturbance signal.
[0132] In an optional embodiment of the present invention, the fundamental frequency disturbance signal determination unit is specifically used to: compare the amplitude change of each fundamental frequency mode component with a preset fundamental frequency amplitude change threshold; and determine the fundamental frequency mode component as a fundamental frequency disturbance signal when the amplitude change of the fundamental frequency mode component is detected to be greater than or equal to the preset fundamental frequency amplitude change threshold.
[0133] In an optional embodiment of the present invention, the low-frequency disturbance signal includes a noise signal and a pulse signal; the low-frequency disturbance signal determination unit is specifically used to: compare the amplitude of each low-frequency mode component with a preset low-frequency amplitude threshold in each low-frequency mode component; if the amplitude of the low-frequency mode component is less than the preset low-frequency amplitude threshold, determine that the low-frequency mode component is a noise signal; if the amplitude of the low-frequency mode component is greater than or equal to the preset low-frequency amplitude threshold, determine that the low-frequency mode component is a pulse signal.
[0134] In an optional embodiment of the present invention, the distributed power source to be detected is a distributed power source to be connected to the distribution network.
[0135] The disturbance signal detection device provided in this embodiment of the invention can execute the disturbance signal detection method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method.
[0136] In the technical solutions of this invention, the acquisition, storage, and application of power signals of the distributed power source to be detected comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0137] Example 4
[0138] Figure 6 A schematic diagram of an electronic device 600 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein. The structure of the electronic device 600 in this embodiment is the same as that of the communication devices and electronic devices in the above embodiments.
[0139] like Figure 6As shown, the electronic device 600 includes at least one processor 601 and a memory, such as a read-only memory (ROM) 602 or a random access memory (RAM) 603, communicatively connected to the at least one processor 601. The memory stores computer programs executable by the at least one processor. The processor 601 can perform various appropriate actions and processes based on the computer program stored in the ROM 602 or loaded into the RAM 603 from storage unit 608. The RAM 603 may also store various programs and data required for the operation of the electronic device 600. The processor 601, ROM 602, and RAM 603 are interconnected via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0140] Multiple components in electronic device 600 are connected to I / O interface 605, including: input unit 606, such as keyboard, mouse, etc.; output unit 607, such as various types of displays, speakers, etc.; storage unit 608, such as disk, optical disk, etc.; and communication unit 609, such as network card, modem, wireless transceiver, etc. Communication unit 609 allows electronic device 600 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0141] Processor 601 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 601 performs the various methods and processes described above, such as disturbance signal detection methods.
[0142] In some embodiments, the disturbance signal detection method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 600 via ROM 602 and / or communication unit 609. When the computer program is loaded into RAM 603 and executed by processor 601, one or more steps of the disturbance signal detection method described above may be performed. Alternatively, in other embodiments, processor 601 may be configured to perform the disturbance signal detection method by any other suitable means (e.g., by means of firmware).
[0143] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0144] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0145] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0146] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0147] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0148] A computing system can include clients and servers. Clients and servers are generally geographically separated and typically interact via communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system. It addresses the shortcomings of traditional physical hosts and VPS (Virtual Private Server) services, such as high management difficulty and weak business scalability.
[0149] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0150] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for detecting disturbance signals, characterized in that, The method includes: Acquire the power signal of the distributed power source to be detected; The electrical signal is subjected to mode decomposition to obtain low-frequency and high-frequency components; the high-frequency components are subjected to mode decomposition to obtain multiple unit high-frequency components, and each unit high-frequency component and the low-frequency component are determined as each mode component. Detect disturbance signals in each of the modal components; The modal decomposition of the electrical signal to obtain its low-frequency and high-frequency components includes: Based on the first and second order penalty factors, the electrical energy signal is subjected to mode decomposition to obtain the low-frequency and high-frequency components of the electrical energy signal. The modal decomposition of the high-frequency components yields multiple unit high-frequency components, including: Based on the second second-order penalty factor, the high-frequency components are subjected to mode decomposition to obtain multiple unit high-frequency components; the first second-order penalty factor is different from the second second-order penalty factor, and the second-order penalty factor is a parameter in the variational mode decomposition method.
2. The method according to claim 1, characterized in that, The second second-order penalty factor is greater than the first second-order penalty factor.
3. The method according to claim 1, characterized in that, The low-frequency component includes a fundamental frequency mode component and a low-frequency mode component; wherein, the frequency of the fundamental frequency mode component is the same as the frequency of the electrical energy signal; the frequency of the low-frequency mode component is lower than the frequency of the electrical energy signal; and the frequency of the unit high-frequency component is higher than the frequency of the electrical energy signal. Detecting disturbance signals in each of the modal components includes: Time-frequency analysis is performed on each modal component to obtain the amplitude of each modal component; In each of the fundamental frequency mode components, the amplitude change is compared with a preset fundamental frequency amplitude change threshold to determine the fundamental frequency disturbance signal; In each of the low-frequency mode components, the amplitude of each low-frequency mode component is compared with a preset low-frequency amplitude threshold to determine the low-frequency disturbance signal; The high-frequency component of the unit is identified as a high-frequency disturbance signal.
4. The method according to claim 3, characterized in that, In each of the fundamental frequency mode components, the amplitude change is compared with a preset fundamental frequency amplitude change threshold to determine the fundamental frequency disturbance signal, including: In each of the fundamental frequency mode components, the amplitude change of the fundamental frequency mode component is compared with a preset fundamental frequency amplitude change threshold. When the amplitude change of the fundamental frequency mode component is detected to be greater than or equal to a preset fundamental frequency amplitude change threshold, the fundamental frequency mode component is determined to be a fundamental frequency disturbance signal.
5. The method according to claim 3, characterized in that, The low-frequency disturbance signal includes noise signal and pulse signal; In each of the low-frequency mode components, the amplitude of each low-frequency mode component is compared with a preset low-frequency amplitude threshold to determine the low-frequency disturbance signal, including: In each of the low-frequency modal components, the amplitude of each low-frequency modal component is compared with a preset low-frequency amplitude threshold. If the amplitude of the low-frequency mode component is less than the preset low-frequency amplitude threshold, the low-frequency mode component is determined to be a noise signal; If the amplitude of the low-frequency mode component is greater than or equal to the preset low-frequency amplitude threshold, the low-frequency mode component is determined to be a pulse signal.
6. The method according to claim 1, characterized in that, The distributed power source to be tested is a distributed power source that needs to be connected to the distribution network.
7. A disturbance signal detection device, characterized in that, The device includes: The power signal acquisition module is used to acquire the power signal of the distributed power source to be detected. The power signal decomposition module is used to perform mode decomposition on the power signal to obtain the low-frequency component and high-frequency component of the power signal; The high-frequency component decomposition module is used to perform mode decomposition on the high-frequency components to obtain multiple unit high-frequency components, and to determine each unit high-frequency component and the low-frequency component as each mode component; A disturbance signal detection module is used to detect disturbance signals in each of the modal components; The power signal decomposition module further includes: The power signal decomposition unit is used to perform mode decomposition on the power signal according to the first and second order penalty factors to obtain the low-frequency component and the high-frequency component of the power signal. The high-frequency component decomposition module further includes: The high-frequency component decomposition unit is used to perform mode decomposition on the high-frequency components according to the second second-order penalty factor to obtain multiple unit high-frequency components; the first second-order penalty factor is different from the second second-order penalty factor, and the second-order penalty factor is a parameter in the variational mode decomposition method.
8. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the disturbance signal detection method according to any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the disturbance signal detection method according to any one of claims 1-6.
Citation Information
Patent Citations
Transient electric energy quality detection method based on HHT
CN110826498A