Next Article in Journal
Detecting Moral Features in TV Series with a Transformer Architecture through Dictionary-Based Word Embedding
Previous Article in Journal
Cyber Security on the Edge: Efficient Enabling of Machine Learning on IoT Devices
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Supraharmonic Detection Algorithm Based on Interpolation of Self-Convolutional Window All-Phase Compressive Sampling Matching Pursuit

School of Internet of Things Engineering, Jiangnan University, Wuxi 214222, China
*
Author to whom correspondence should be addressed.
Information 2024, 15(3), 127; https://doi.org/10.3390/info15030127
Submission received: 31 January 2024 / Revised: 17 February 2024 / Accepted: 22 February 2024 / Published: 24 February 2024

Abstract

:
With the increase in the use of high-frequency power electronic devices, the harmonics injected into the power grid show a trend of high-frequency development. The continuous rise of the supraharmonic emission level in the distribution network has become one of the power quality problems that needs to be solved urgently in the power grid. In this paper, an algorithm based on the Interpolation of the Self-convolutional Window All-phase Compressive Sampling Matching Pursuit (ISWApCoSaMP) is proposed. Firstly, the self-convolution operation is used for the maximum sidelobe decay (MSD) window, and then the compressed sampling matching pursuit model based on the All-phase is constructed, leading to the All-phase Compressive Sampling Matching Pursuit (ApCoSaMP). Finally, the four-spectrum-line interpolation is combined to utilize spectrum line information to improve the accuracy of signal parameter detection in the frequency domain. The introduced All-phase greatly improves the phase measurement accuracy because the initial phase of the supraharmonic signal is selected for phase estimation. In addition, the self-convolutional window and four-spectrum-line interpolation make full use of the information in the time and frequency domains, thus optimizing the measurement results of amplitude and frequency. The algorithm achieves high accuracy in the measurement results of simulated signals and accurately measures supraharmonics.

1. Introduction

With the development of new energy technologies and the evolution of the smart grid, more and more power electronic equipment is put into use in the power system. For example, photovoltaic inverters [1], electric vehicle charging piles, LED lamps [2], voltage source converters, and other pieces of equipment that apply power electronic switching devices are connected to the power grid in large quantities. These devices operate with a nonlinear current waveform that can increase dramatically around the switching frequency and its integer multiples, such as the electric vehicle charging piles, which are operating at very high frequencies, causing an increase in the higher harmonic components of current and voltage. The impact of the increase of supraharmonic content on the power grid is mainly reflected in three aspects: first, it affects the normal use of electrical equipment, such as affecting the normal operation of electric vehicle charging piles and interfering with the touch switch of electrical equipment; second, it causes damage to some electrical equipment, such as increasing the heating of diodes and capacitors and shortening the service life of electrical equipment; third, it affects the power line communication, and similar frequency bands interfere with normal communication, resulting in power line communication failure, resulting in power metering errors and even protection device malfunction and other problems [3,4]. The influence of the higher harmonics is becoming more and more obvious, and the research on the higher harmonics has attracted widespread attention in the industry. The definition of supraharmonics was first proposed in [5]. Generally, the harmonic component in the frequency range of 2–150 kHz is collectively referred to as supraharmonics [6].
Since then, the concept of supraharmonics has gradually been accepted by the industry, and the harm caused by supraharmonics has become well-known. With the deepening of research, more scholars have now given a specific definition of supraharmonics [7,8,9].
To establish emission limits and compatibility indicators for supraharmonics in the frequency range of 2–150 kHz, it is necessary to establish a standard measurement method. At present, the standard IEC 61000-4-30 [10] recommends three measurement methods for supraharmonic emission in the frequency band of 2–150 kHz: (1) extending the upper limit of the standard IEC 61000-4-7 [11] Appendix B to 150 kHz for the original gapless spectral line clustering measurement method in the frequency range of 2–9 kHz; (2) a new 32-equichronous data window measurement method given in Annex C3 of IEC 61000-4-30; and (3) a gapless frequency domain measurement method given by the standard CISPR 16-1-2 [12]. The first two methods are the measurement methods used in the time domain, which means the signal is sampled in the time domain and then converted to the frequency domain by a computer or digital signal processor for analysis and processing [13,14,15]. The latter method is a technology that uses a series of narrowband filters to measure the peaks of different-frequency components in the measured signal sequentially by adjusting the measurement receiver to achieve the gap-free measurement of the measured signal. It has high accuracy, covering a wide frequency range of 9 kHz–30 MHz, but can only measure one value at a time, and its implementation is complex and expensive.
In addition, a robust wavelet-based hybrid method is proposed [16], which improves robustness to amplitude and power frequency deviations and reduces the complexity of data processing by avoiding multi-threaded data acquisition (DAQ) operations. But in the simulation, only the detection effect of the algorithm under the condition of fundamental frequency fluctuation is tested. In [17], the colored noise suppressed matrix pencil method is proposed, which effectively improves the accuracy of supraharmonic measurement by effectively reducing the influence of color noise on the measurement. However, this method only focuses on resisting noise interference to reduce the error of signal measurement and does not consider the optimization of phase measurement accuracy. In [18], the raw signal with a window length of 5ms per window is intercepted and then analyzed and computed in the frequency domain using discrete Fourier transform (DFT), and the compressive sensing algorithm is introduced to reduce the sampling rate. In the simulation, the focus is on improving the accuracy of the frequency measurement, and the situation of interference or fundamental frequency fluctuation is not considered.
Windowed and interpolated FFT algorithms are widely employed to enhance the accuracy of harmonic detection. Spectrum leakage can be mitigated by selecting a practical window function, while interpolation algorithms help minimize errors due to the picket fence effect. Meanwhile, sparsity exists in the signal from the power system. Power system signal sparsity generally refers to the sparse nature of the signals obtained by various monitoring, measurement, or sensors in the power system. Sparsity is when the vast majority of elements of a signal are zero or close to zero in a domain, such as temporal, frequency, or spatial [19]. In the electrical system, this may be because many parts of the system do not always produce or transmit signals. For example, certain lines or equipment in a power system may only produce abnormal signals under certain workload or fault conditions. The introduction of the compressive sensing algorithm can collect the signal at a frequency much lower than that of Nyquist’s sampling theorem so that the data compression and sampling can be carried out at the same time. Under the premise that the signal satisfies sparsity, the original signal can be accurately reconstructed from a small number of observations through the nonlinear reconstruction algorithm. This greatly relieves the pressure on wideband signal processing in supraharmonics. Compressive sensing can deal with the detection of supraharmonics with high frequency in power systems, and the use of the traditional Nyquist sampling theorem will lead to an overly high sampling frequency, which will lead to data redundancy and increase the burden of data processing algorithms.
The paper proposes an enhanced algorithm for supraharmonic analysis accuracy, termed the Interpolation of Self-Convolutional Window All-phase Compressive Sampling Matching Pursuit (ISWApCoSaMP). Compared with the previously proposed measurement methods, the proposed algorithm optimizes the accuracy of supraharmonic detection results from the perspectives of time-domain windowing and frequency-domain interpolation. Specifically, the measurement matrix is windowed to optimize the accuracy from the perspective of the time-domain, and the newly generated sparse vector is interpolated after the signal is reconstructed to realize the accuracy optimization of the frequency-domain angle. In the design of the window function, the six-term MSD self-convolutional window is created, which greatly improves the detection accuracy of supraharmonics amplitude and frequency. The introduction of All-phase in the field of supraharmonics detection for the first time greatly helped to improve the accuracy of phase measurement. The compressive sensing algorithm is used to simplify the computation in the process so that the calculation time of the algorithm is not sacrificed under the condition of improving accuracy. The superiority of the algorithm is demonstrated by the simulation results of supraharmonics. The methodology unfolds in three distinct steps. Firstly, a six-term maximum sidelobe decay (MSD) window undergoes self-convolution and integrates with the target signal for windowing purposes. Secondly, within the compressive sensing framework, the sparse base selection is carried out and windowed measurement matrices are constructed, followed by the implementation of an All-phase Compressive Sampling Matching Pursuit. This series of steps facilitates the development of a compressive sensing measurement model, operational in all steps. In the final stage, the focus shifts to analyzing four spectrum lines adjacent to the peak, enabling the estimation of harmonic amplitude and frequency. In the simulation part, this paper analyzes the measurement accuracy of the supraharmonics parameters of the proposed algorithm under normal conditions and measures the accuracy of amplitude, frequency, and phase, which makes up for the lack of phase measurement in [17]. At the same time, the supraharmonics accuracy under different compression ratios, levels of noise interference, and fundamental frequency fluctuations of the power system is also tested, which improves the problem of fewer measurement scenarios in [16,18]. The simulation demonstrates the superiority of the proposed algorithm in terms of measurement accuracy, calculation time, and the performance of measurement accuracy in the compression ratio variation, fundamental frequency fluctuation, and noise interference. It is worth mentioning that the fundamental frequency fluctuation of the power system will have a certain impact on the detection accuracy of supraharmonics, and the analysis of the fundamental frequency fluctuation in the simulation part is more in line with the actual operation of the power system, which ensures that the algorithm in this paper has certain practical value.
The sections of this paper are organized as follows: Section 2 proposes the algorithm, the correlation theory of the algorithm is introduced, and the derivation of the measurement formula of supraharmonic parameters is completed. Section 3 shows the simulation results of the proposed algorithm under different conditions, including the algorithm accuracy performance under different compression ratios and the operation time of the algorithm. Section 4 gives the discussion to the proposed methodology, and Section 5 concludes.

2. Interpolation of Self-Convolutional Window All-Phase Compressive Sampling Matching Pursuit

2.1. MSD and Its Self-Convolutional Windows

The MSD window is a cosine composite window with an ideal sidelobe attenuation rate; it was first proposed by Rife and Vincent in 1970. The expression of the MSD window is described as [20]:
w ( n ) = m = 0 M 1 ( 1 ) m a m cos ( 2 π m n N )
where M is the number of items of the window function; m = 0, 1, 2, , M, n = 0, 1, 2, , N − 1; N is the number of sampling points; and am satisfies the following two constraints:
m = 0 M 1 ( 1 ) m a m = 0
m = 0 M 1 a m = 1
The six-term MSD window expression with length N is given by:
w ( n ) = 0.246 0.41 cos ( 2 π N n ) + 0.234 cos ( 4 π N n ) 0.088 cos ( 6 π N n ) + 0.019 cos ( 8 π N n ) 0.002 cos ( 10 π N n )
To achieve a more optimal sidelobe value magnitude and sidelobe attenuation rate, self-convolution processing is performed on six-term MSD windows. The normalized spectrum of the window function for the six-term MSD windows after self-convolution is compared with that of the Hanning window [21], the Blackman window [22], and the six-term MSD window [23] before self-convolution. The results are illustrated in Figure 1.
As observed in Figure 1, the sidelobe magnitude and attenuation rate of the six-term self-convolutional MSD window surpass those of the other window functions used for comparison. The sidelobe characteristics of various window functions are presented in Table 1. Generally, the main lobe width of the window function should be as narrow as possible to enhance the system’s frequency resolution. Simultaneously, a small peak level and rapid attenuation rate for the sidelobe are required to concentrate energy in the main lobe and spectrum leakage is effectively suppressed. Table 1 reveals that the main lobe and sidelobe advantages cannot be achieved concurrently. In the high-frequency harmonic, the frequency gap of each harmonic signal is large, and the distance in the spectrum is far. The error effect caused by the frequency resolution caused by the width of the main lobe is not narrow enough and is not large. It can be observed the sidelobe performance of the six MSD windows itself is very ideal. After multiple comparative experiments, six-term MSD windows were chosen for self-convolution operations.
As can be seen from Table 1, the six-term MSD window after self-convolution performs very well on the sidelobes, where the peak level of the sidelobes and the attenuation rate of the sidelobes are equal to the sum of the peak level of the sidelobes and the attenuation rate of the two six-term MSD windows used for self-convolution, while the width of the main lobe remains the same as the size of a single six-term MSD window before the self-convolution. In other words, after the self-convolution operation, the sidelobe performance of the window function is greatly improved without increasing the width of the main lobe. Therefore, the self-convoluted window function will have better performance in the optimization of parameter-detection accuracy.

2.2. All-Phase Compressive Sensing Model

Compressive sensing can be widely used in image processing, medicine, and wireless communication because it can effectively capture and restore important information of the signal by sampling only a small portion of the signal [24]. In this section, the theory of compressed sensing is introduced, the All-phase Compressive Sensing Model is completed through the construction of windowed matrices and the selection of sparse bases.

2.2.1. Theory of Compressive Sampling

For any vector x, the N − 1 dimensional orthogonal basis vector {Ψi, i = 1, 2, , N} is used; the expression is indicated as follows [25]:
x = i = 1 N θ i Ψ i = Ψ θ
where θi is the projection coefficient, i.e., the transformation coefficient; {Ψi, I = 1, 2, , N} is the orthogonal basis matrix of order N × N; and θ = ΨTx is the N × 1 dimensional column vector composed of projection coefficients.
As is shown above, x and θ are different expressions of the same signal, x is the time-domain representation of the signal, and θ is the representation of the signal in the orthogonal basis matrix Ψ. If there are only K non-zero or large coefficients in θ and all other coefficients are zero or very small, then x is regarded to be K-sparse at Ψ. K is the signal sparsity. In the case of sparse signal, θ satisfies for 0 ≤ p ≤ 2 and R > 0; θ is described as:
θ p ( i θ i p ) 1 / p R
where p is the norm because the 0-norm represents the number of all non-zero elements in the vector. Since it is difficult to solve, a minimum norm of 1 is chosen to solve the optimization problem (the solution of the 1 norm optimization problem is sparse, and tends to choose very few very large values and many very small values). The 1-norm minimization is to approximate the 0-norm by using the 1-norm and take 1 without other values because the 1-norm minimization is a convex optimization problem, which can transform the solution process into a linear programming problem [26].
The Compressive Sampling Matching Pursuit used in this paper is a kind of greedy algorithm, which uses a 2-norm different from the 1-norm convex optimization algorithm.
When the signal x satisfies K-sparsity in the Ψ, this means that the number of non-zero coefficients K << N. By linearly measuring the original signal x with an observation matrix ФRM×N(M << N) that is not related to the basis Ψ function, the expression of the observation vector y can be obtained:
y = Φ x
It can be obtained after substituting (7) into (5).
y = Φ x = Φ Ψ θ = A θ
where A = ФΨ is the sensing matrix.
The compressive sampling theory shows that when the original signal x itself is sparse or sparsity on an orthogonal basis Ψ, it can be compressed and sampled by using the random stationary observation matrix Ф based on the spatial transformation. The observation vector y is obtained. It maintains the structure of the original signal and is much smaller than the signal length. Then, the original signal x is accurately reconstructed by solving the numerical optimization problem.

2.2.2. Windowed Measurement Matrix Structure

When using the traditional DFT for harmonic detection, the problem of spectrum leakage easily occurs due to non-synchronous sampling. However, when the compressive sensing algorithm is applied to supraharmonic detection, the sparsity of the supraharmonic signal in the frequency domain depends on the number of non-zero spectrum lines in the frequency domain, and the detection error caused by spectrum leakage is still unavoidable. According to the analysis in the previous section, the selection of a window function with excellent performance can effectively suppress the spectrum leakage problem. In this section, the six-term MSD self-convolutional window created in Section 2.1 was selected for the windowing of the measurement matrix. The stochastic Gaussian measurement matrix is windowed in the compressive sensing algorithm to effectively reduce the number of spectrum leakage spectrum lines, and then reduce the sparsity K of the signal, to improve the detection accuracy of supraharmonic signals.
Combined with the characteristic analysis of common window functions and the traditional windowing FFT harmonic detection algorithm, the window function {w(n)} with length N is used to window and truncate the discrete sequence {x( n f s )} of the original continuous signal x(t):
x w ( n ) = x ( n f s ) w ( n )
In (9), n = 0, 1, 2, , N − 1, {x( n f s )} is an infinitely long sampling sequence of x(t), and fs is the sampling frequency under the traditional Nyquist sampling theorem.
When (9) is applied to the compressed sensing sampling framework of (7), combined with the selection of measurement matrices, a windowed random Gaussian measurement matrix is constructed to realize compressive sensing sampling. The expression of the observation vector is as follows:
y = Φ x w = Φ d i a g ( w ) x = Φ w x
where x and w are N × 1 columnar vectors. Ф and Фw are stochastic Gaussian measurement matrices and windowed stochastic Gaussian measurement matrices, and Фw = Ф·diag(w), diag(w) is a diagonal array composed of N elements in w.

2.2.3. Sparse Base Selection

The sparse groups commonly used today are divided into two categories depending on whether the atom is orthogonal or not. The first is based on redundant dictionaries, which use an ultra-complete redundant dictionary function library to replace the original basis functions so that the signal is sparsely represented on the redundant dictionary. Due to its redundancy and adaptability, the elements in the library can be flexibly selected according to the characteristics of the signal so that the signal is highly sparse in this transformation domain. However, redundant dictionaries have the disadvantage of complex construction. The other type is based on orthogonal basis dictionaries, and the original signal is transformed by orthogonal decomposition, to achieve a sparse representation in this transformation domain. It mainly includes DFT, wavelet transform (WT), and discrete cosine transform (DCT). The orthogonal basis has a simple structure and a wide range of applications, so the DFT basis is the most commonly used sparse basis in the process of power quality signal compression and reconstruction.
In this paper, the DFT transform basis is selected, the original signal x is projected into the frequency domain, and the sparsity of supraharmonics under the DFT basis is analyzed.
The supraharmonic signal model of the power grid is as follows:
x ( t ) = h = 1 H A h cos ( 2 π f h t + φ h )
In (11), Ah, fh, and φh represent the amplitude, frequency, and phase of the supraharmonic components, respectively. fh is in the range of 2–150 kHz.
The supraharmonic component in (11), which is in the DFT dilution group, can be expressed as follows:
X h ( k ) = n = 0 N 1 A h cos ( 2 π f h f s n + φ h ) e j 2 π k N n   = n = 0 N 1 A h ( e j φ h e j 2 π n ( k N f h f s ) + e j φ h e j 2 π n ( k N + f h f s ) )
In (12), fh and N are the sampling frequency and the number of sampling points under the traditional Nyquist sampling theorem, respectively. k = 0,1, 2, …, N, for the spectrum line number. e j φ h e j 2 π n ( k N f h f s ) corresponds to the positive component of the spectrum. Correspondingly, e j φ h e j 2 π n ( k N + f h f s ) corresponds to the negative component of the spectrum. Usually, only the information of the positive frequency needs to be focused because the information of the negative frequency can be deduced from the information of the positive frequency. In practice, the result of DFT is usually expressed as a vector of length N, where the first half of the elements correspond to the positive frequency and the second half to the negative frequency. This representation makes it easier to deal with the symmetry of real-valued signals.
Sum (12) into a proportional series, which can be reduced to:
X h ( k ) = A h 2 e j φ h 1 e j 2 π N ( k N f h f s ) 1 e j 2 π ( k N f h f s )   + A h 2 e j φ h 1 e j 2 π N ( k N + f h f s ) 1 e j 2 π ( k N + f h f s )   = A h 2 sin π N ( k N f h f s ) sin π ( k N f h f s ) e j φ h e j π ( N 1 ) ( k N f h f s )   + A h 2 sin π N ( k N + f h f s ) sin π ( k N + f h f s ) e j φ h e j π ( N 1 ) ( k N + f h f s )
The amplitude spectrum of the signal after DFT is:
X h + ( k ) = A h 2 sin π N ( k N f h f s ) sin N ( k N f h f s )
X h - ( k ) = A h 2 sin π N ( k N + f h f s ) sin N ( k N + f h f s )
As can be seen from (14) and (15), |Xh+(k)| = |Xh(k)|, the amplitude spectrum was |Xh+(k)| selected for analysis.
In the absence of spectrum leakage, when k = N · f h f s , |Xh+(k)| = A h 2 , when k N · f h f s , |Xh+(k) = 0|. At this time, the main spectrum line cannot leak to both sides, and the signal is the sparsest in the frequency domain. The total sparsity of supraharmonics is: K = h = 1 H K h . In the presence of spectrum leakage, the sparsity of the signal increases. N · f h f s is not an integer; set the spectrum line number:
k = f h f s N + δ + d
In (16), δ is the spectrum offset, d is the distance between the sidelobe line, and the main spectrum line; when d = 0, k is the main spectrum line number; and when d = ±1, ±2, …, k is the leaked sidelobe line number.
Substituting (16) into (14) is simplified as:
X h + ( k ) = A h 2 sin π ( δ + d ) sin π N ( δ + d ) = A h 2 sin π δ sin π N ( δ + d )
The number of leakage lines reflects the sparsity of the supraharmonic signal, and the amplitude of the leakage lines will be attenuated according to (17). In signal processing, when N > 100, the decay tends to 0 rapidly, and the total number of sampling points of the supraharmonic signal is N >> 100. The supraharmonic signal satisfies the better sparsity characteristics under the DFT basis, which makes it possible to measure the compressive sensing of the supraharmonic signal. Therefore, the supraharmonics can be reconstructed and detected by compressive sensing, and the discrete Fourier transform basis can be selected as the sparse matrix Ψ.

2.2.4. Compressive Sampling Matching Pursuit with All-Phase

The compressive sampling matching pursuit was first proposed by Needell and Tropp, and it is an efficient reconstruction algorithm for sparse signals [27]. The CoSaMP algorithm uses the idea of backtracking, that is, multiple atoms are selected at each iteration, and some of the previously selected atoms are deleted according to certain conditions, but at least one atom must be reserved for the reconstruction of the final signal at a time. The optimal reconstruction value of the original signal θ ^ is obtained by the least squares method. At the same time, it combines the ideas in the combined algorithm to ensure the speed, provides a strict error boundary, has a high degree of signal reconstruction, and has strong anti-noise interference ability.
The All-phase method has the characteristics of phase invariance and has excellent spectrum suppression characteristics. It performs excellently at optimizing the accuracy of harmonic detection amplitude and phase [28,29]. All-phase can be thought of as a form of data preprocessing. When a computer or Digital Signal Processor (DSP) processes an actual signal of infinite length, the signal needs to be truncated. While only one truncation case is considered in the normal processing of the signal, the All-phase solves the problem that the traditional method does not consider the comprehensive situation when the signal is truncated, and all the segmentation cases of length N containing the input sample x(n) are considered in the processing process. In other words, since all segments of length N including the input data are considered, then the data traverses all the position moments of the segment of length N, which means it traverses all phases, so this data preprocessing method is called “All-phase data preprocessing”.
The ApCoSaMP spectrum analysis diagram is shown in Figure 2. Flow chart of ApCoSaMP spectrum analysis. First, choose a convolutional window wc with a length of 2N − 1, weighting 2N − 1 data before and after the center sample point x(0). Then, the data with an interval of N delay units are overlapped and accumulated to form an output of N data. The data processed in All-phase will be compressed, sampled, and reconstructed by CoSaMP.
The convolutional window wc in Figure 2 is the convolution of a front window w1 with a length of N and a flipped rear window w2, that is,
w c ( n ) = w 1 ( n ) w 2 ( - n )
where n∈(−N + 1, N − 1).
If w1w2RN (RN is a rectangular window), it is called the mixed-convolutional window All-phase spectrum analysis. Correspondingly, w1w2 = RN is called the self-convolutional window (also called the double-window) All-phase spectrum analysis. When the front window w1 and the rear window w2 are the same and both are symmetric windows w, the DFT of the convolutional window wc(n) function can be obtained from the time domain convolution theorem as follows:
W c ( e j ω ) = W 1 ( e j ω ) W 2 * ( e j ω ) = | W ( ω ) | 2
The DFT for the front window w1 and rear window w2 are shown in (19), which is expressed as W1(e) and W2(e).
If the input signal is the x( n f s ) mentioned above, after MSD Self-Convolutional window ApCoSaMP, the sampling interval will be expanded to n∈(−N + 1, N − 1). According to [30], the weighted superimposed data yw(n) can be expressed as:
y w ( n ) = [ w c ( n ) x ( n f s ) + w c ( n N ) x ( n N f s ) ]
where n = 1, 2, …, N − 1, wc(n) is the Self-Convolutional MSD window.
According to the convolution theorem in the frequency domain and the time shift property of the Compressive Sampling Matching Pursuit with sparse base Ψ, the spectrum of a sampling sequence can be derived after undergoing self-convolutional window truncation. The original signal is projected into the frequency domain to analyze the sparsity of supraharmonics under the DFT basis. This is represented by:
Y W ( e j ω ) = A 2 j { [ W c ( ω ω 0 ) e j φ 0 + e j ω N W c ( ω ω 0 ) e j φ 0 ] + [ W c ( ω + ω 0 ) e j φ 0 + e j ω N W c ( ω + ω 0 ) e j φ 0 ] }
where A is the amplitude of the signal to be measured. φ0 is the phase value of the ApCoSaMP spectrum, the theoretical phase value of the central sample x(0), which is the theoretical phase of the actual spectrum. Discrete sampling of (21) yields the discrete spectrum. Combined with the convolutional window expression of (19), the time-domain convolution is equivalent to multiplying in the frequency domain. The convolution of the two window functions yields the Wc sidelobe frequency domain, which is equivalent to multiplying the spectral values of the two window functions, and the discrete spectrum function near the peak frequency point f0 can be expressed as:
Y w ( k Δ f ) = A 2 j [ W c ( 2 π k k 0 N ) ] 2 e j φ 0
where k = 0,1, 2, …, N. Δf is the frequency resolution, which can be described as Δf = fs/N; fs is the sampling frequency of the signal, and N is the number of sampling points.
After the All-phase processing, the window sidelobe spectrum line shows an attenuated square relationship with the main spectrum line, which makes the main spectrum line more prominent. The phase value of the ApCoSaMP main spectrum line remains unaffected by the frequency offset, consistently maintaining the theoretical initial phase value φ0 at the central sample point x(0). This property is referred to as the “phase invariance” of ApCoSaMP.

2.3. Four-Spectrum-Line Interpolation Principle

The reconstructed sparse vector contains all the information of the original supraharmonic signal spectrum line, and it should have K spectral lines, but due to the fence effect, the frequency point of each actual peak spectral line of the sparse vector θ ^ may not coincide with the discrete frequency point, and it is difficult to achieve accurate detection of supraharmonics only by relying on the sparse vector θ ^ reconstructed by the original compressive sensing alone.
In situations involving the fence effect caused by asynchronous sampling, the positioning of the spectrum peak tends to have a certain degree of deviation. To minimize this error, spectrum line interpolation correction is commonly employed. The four-spectrum-line interpolation algorithm utilizes four symmetrical spectrum lines surrounding the target spectrum line for estimation, thereby acquiring sufficient symmetric information. Consequently, these four spectrum lines are used to correct the normalized amplitude A and frequency f. The spectrum line interpolation process depicted in Figure 3. Four-spectrum-line interpolation, Δf, is the frequency represented by 1 small grid.
Record the actual spectrum line as k0, due to non-entire cycle sampling, for which k0 is generally not an integer. This can easily lead to a picket fence effect, making the actual peak frequency point of the ApCoSaMP spectrum f0 = k0Δf generally not located at the correctly corresponding discrete frequency point. Using four spectrum lines around k0, which are, respectively, referred to as k1, k2, k3, k4, the relationship is given by k1 < k2 < k0 < k3 < k4, k2 = k1 + 1, k3 = k2 + 1, k4 = k3 + 1, where the amplitude corresponding to k0 is y0. The corresponding amplitudes of the four spectrum lines k1, k2, k3 and k4 can be calculated as y1 = |Wc(k1)|, y2 = |Wc(k2)|, y3 = |Wc(k3)|, y4 = |Wc(k4)|, respectively.

2.4. Parameter Correction Formula

Define a symmetry coefficient α:
α = k 0 k 2 0.5
where 0 ≤ k0k2 ≤ 1 and α ∈ [−0.5,0.5].
To facilitate calculation, the odd symmetric coefficient β is defined as a function of α, written as:
β = y 4 + 2 y 3 2 y 2 + y 1 / y 4 + 2 y 3 + 2 y 2 + y 1
The coefficient β can be obtained through equivalent substitution:
β = { | W [ 2 π ( α + 1.5 ) / N ] | 2 2 | W [ 2 π ( α + 0.5 ) / N ] | 2   2 | W [ 2 π ( α 0.5 ) / N ] | 2 + | W [ 2 π ( α 1.5 ) / N ] | 2 } / { | W [ 2 π ( α + 1.5 ) / N ] | 2 + 2 | W [ 2 π ( α + 0.5 ) / N ] | 2 +   2 | W [ 2 π ( α 0.5 ) / N ] | 2 + | W [ 2 π ( α 1.5 ) / N ] | 2 }
When the value of N is large enough, (25) can be abbreviated as β = t(α), and its inverse function is α = t−1(β). The polyfit function is used in MATLAB to perform polynomial approximation on α = t−1(β), and the fitting polynomial of α can be obtained. Thus, the correction formula for supraharmonic frequencies is obtained as follows:
f 0 = k Δ f = ( k 2 + α + 0.5 ) f s N
To improve the detection accuracy of supraharmonics, a four-spectrum-line interpolation algorithm is used to select two discrete spectrum lines on the left and right sides of the ApCoSaMP spectrum immediately adjacent to the peak spectrum line frequency point to correct the amplitude. At this time, the weighted average of the k1, k2, k3, k4 and four spectrum lines is substituted into (22), and the correction formula for the amplitude is obtained as follows:
A = 2 ( y 1 + 2 y 2 + 2 y 3 + y 4 ) / { | W [ 2 π ( α + 1.5 ) / N ] | 2 + 2 | W [ 2 π ( α + 0.5 ) / N ] | 2 +   2 | W [ 2 π ( α 0.5 ) / N ] | 2 + | W [ 2 π ( α 1.5 ) / N ] | 2 }
When N is large enough, the above fitting function polynomial approximation method is also used, and (25) can be further simplified as:
A = ( N 2 ) ( y 1 + 2 y 2 + 2 y 3 + y 4 ) ( b 0 + b 1 α 1 + b 2 α 2 + b n α n )
where b0, b1, …, bn is the polynomial coefficient, and b0 + b1α1 + b2α2 + … + bnαn is denoted as g(α). The specific expression of g(α) needs to be obtained by polynomial approximation based on least squares. During the simulation, the correspondence coefficient can be obtained through fitting by the polyfit function.
The interpolation correction formula for the four-spectrum-line of ApCoSaMP based on the six-term MSD self-convolutional window obtained through polyfit fitting is:
α = 1.66141848 β + 0.42504615 β 3 + 0.22706263 β 5 + 0.17553011 β 7
g ( α ) = 6 . 21345707 + 1 . 32899884 α 2 + 0 . 16442021 α 4 + 0 . 01532052 α 6
Due to the phase invariance of ApCoSaMP, the phase value of the principal spectrum line of ApCoSaMP can be directly taken as the initial phase φ0 of the signal, and more accurate measurement results can be obtained without correction.
Figure 4 is a flowchart of the proposed ISWApCoSaMP algorithm. The complete process of the algorithm used for supraharmonic detection is shown in Figure 4.

3. Simulation Analysis

3.1. Analysis of Supraharmonic Signals

Simulate the frequency range of 2–150 kHz in the actual power grid and select a group of supraharmonic signals for detection. The Chebyshev bandpass filter was selected, and its high and low cut-off frequencies were 2 kHz and 150 kHz, respectively, and the harmonic components outside the range of 2–150 kHz were filtered. Using an input signal containing supraharmonics, the expression is as (11). The amplitude of the fundamental wave is 220 V, and the frequency is 50.1 Hz. Estimate the frequency domain sparsity K = 60 of the signal under the Fourier orthogonal transform basis. The sampling frequency fs selected is 420 kHz, the sampling number N is 2048, and the compression ratio M/N is 0.25. The amplitude Ah, frequency fh, and phase φh of each supraharmonic in this signal are shown in Table 2, and h is the number of supraharmonic.
The computer used for this simulation features an Intel (R) Core (TM) i9-12900K CPU @ 3.20 GHz, 64-GB memory, runs on Windows 11 Professional Edition (64-bit), and operates within the MATLAB R2019a environment. The simulation involves a comparative analysis between the Multiple measurement vector Compressive Sensing Orthogonal Matching Pursuit (MCS-OMP) in [1], CoSaMP, and Sparsity adaptive Compressed Sampling Matching Pursuit (SaCoSaMP). The accuracy of the measurement results is evaluated by the relative error, which can be calculated by the following formula:
E r = Δ x X 100 %
where Er is the relative error; X is the true value, which is the value of the set supraharmonic parameters; and Δx is the difference between the relative error and the true value.
The measured relative errors for amplitude, frequency, and phase of supraharmonics are illustrated in Table 3, Table 4 and Table 5, and the unit of error value is %.
As shown in Table 3, Table 4 and Table 5, the ISWApCoSaMP algorithm proposed in this paper is compared with the existing algorithm, and the frequency detection accuracy is improved. However, the amplitude and frequency detection accuracy at 90.2 kHz is slightly inferior to CoSaMP. Due to the participation of All-phase, the detection accuracy of phase is improved compared with that of the comparison algorithm, which highlights the superiority of the proposed algorithm in the detection accuracy to a certain extent. In comparison to other algorithms, due to the optimization of the amplitude and frequency accuracy measurement by windowed interpolation, the error value in amplitude detection is significantly improved by at least two orders of magnitude at 10.2 kHz, 20.2 kHz, 29.8 kHz, and 70.2 kHz, and the relative error remains stable within the range of 10−6% to 10−9%. The error value in frequency detection has increased to a range of 10−10% to 10−14%, which is at least two orders of magnitude higher than that of the comparison algorithm except at 50.0 kHz and 90.2 kHz. Owing to the impact of the All-phase in phase detection, the error value has decreased to between 10−9% and 10−10% orders of magnitude and stays in this range. This is a desirable improvement in phase detection accuracy when compared to other algorithms. Therefore, the ISWApCoSaMP proposed in this paper exhibits high precision and outstanding performance in the simulation of supraharmonic detection.
In addition, the complexity of the algorithm should also be taken into account, and the complexity of the algorithm is mainly divided into spatial complexity and temporal complexity. With the development of computers, the problem of large space occupation due to complex algorithms has been solved, so the spatial complexity of algorithms is no longer the focus of attention. The time complexity can be largely reflected by the calculation time of the algorithm. In order to synthesize the tradeoff between precision and complexity, this paper gives the computation time of several algorithms, and the operation time of each algorithm is shown in Table 6.
As can be seen from Table 6, there is no significant difference in the calculation time between the different algorithms. The ISWApCoSaMP algorithm proposed in this paper is better than the comparison algorithm in terms of accuracy due to the optimization of the windowed interpolation method, but at the expense of some computational time. However, the computation time is still shorter than that of the SaCoSaMP algorithm, and there is not much gap compared with MCS-OMP and CoSaMP. In general, the parameter-detection accuracy of the proposed algorithm is improved compared with the comparison algorithm, and the corresponding calculation time is increased compared with MCS-OMP and CoSaMP. However, it is worth slightly increasing the complexity of the algorithm in exchange for a large increase in accuracy after comprehensive evaluation. After comprehensively evaluating the comprehensive accuracy and calculation time of the proposed algorithm, it still has certain advantages.

3.2. Simulation Analysis of Supraharmonic Detection Accuracy under Different Compression Ratios

For the ISWApCoSaMP algorithm proposed in this paper, the relative error of signal in Table 2 is measured separately under the condition of reducing the data degree and detection accuracy, and adjusting the compression ratio C = M/N. After adjusting the value of the compression sampling point M, the corresponding measurement compression ratio is 0.15, 0.20, 0.25, 0.30, and 0.35, and the measurement effect of the algorithm in this paper is shown in Figure 5, Figure 6 and Figure 7 under these compression ratios.
From the above simulation results, it can be seen that, firstly, the compressed sensing algorithm proposed in this paper can break the limitation of Nyquist sampling frequency when applied to supraharmonic detection and significantly reduce the amount of collected data compared with the traditional full-sampling FFT algorithm. When the compression ratio M/N = 0.15, 0.2, 0.25, 0.3, and 0.35, the amount of data collected under the compressive sensing algorithm is 15%, 20%, 25%, 30%, and 35% of the traditional full-sampling FFT algorithm, respectively. At the same time, the algorithm in this section can achieve accurate detection of supraharmonic signals with a small number of sampling points. In this section, the detection error of supraharmonics gradually decreases with the increase of compression ratio M/N and the increase of data storage. When the signal compression ratio reaches 15% and 20%, the detection error of supraharmonic increases to a large value with the compression degree, but it can still basically meet the requirements. In terms of the amplitude detection results of supraharmonics, the higher the signal frequency, the higher the harmonic detection error, except that when the frequency is 70.2 kHz, the error is slightly reduced, while the frequency and phase detection results fluctuate less with the frequency value of the signal, and the error value is mainly related to the compression ratio. In addition, different compressed sampling points can be selected to change the data volume and storage space, and then the detection error of the supraharmonic component can be changed to meet the requirements of the supraharmonic acquisition data volume and detection accuracy in different environments.

3.3. Error Analysis of Fundamental Frequency Fluctuation

In the actual operation of the power grid, the reference frequency does not remain unchanged, and the reference frequency of the power system changes within a certain range due to the fluctuation of the active load. In the detection of harmonics and supraharmonics, fundamental frequency fluctuation is also a situation that cannot be ignored.
The fundamental frequency of the power system is determined by the rotational speed of the generator, and the relevant expression is as follows:
n = 60 f p
where f is the frequency of the generator, n is the speed of the generator, and p is the number of stages of the motor.
In the power system, the probabilistic density function of frequency fluctuations is generally considered to approximately obey the normal distribution. The variance of frequency fluctuations in the power system often depends on factors such as the operating state of the system, load changes, and control strategies. The mathematical expectation is usually equal to the standard frequency, which is the reference frequency of the power system. The fundamental frequency is set as 50 Hz in this section. The approximate normal distribution curve is shown in Figure 8:
In the face of the frequency fluctuations that exist during the operation of power systems, the assessment of errors in the measurement of supraharmonic parameters at different fundamental frequencies becomes necessary. In this section, the accuracy of the ISWApCoSaMP algorithm proposed in this paper is tested under the condition of fundamental frequency fluctuation. When the fundamental frequency fluctuates between 49.5 Hz and 50.5 Hz, (9) is used as the input signal, with a sampling frequency fs of 420 kHz, a sampling number N of 2048, and a compression ratio M/N is 0.25. Under these conditions of fundamental frequency fluctuation, the errors in amplitude, frequency, and phase are depicted in Figure 9, Figure 10 and Figure 11, respectively.
From the analysis results presented in Figure 9, Figure 10 and Figure 11, it can be observed that when the fundamental frequency fluctuates between 49.5 Hz and 50.5 Hz, the relative error of harmonic parameters detected using the ISWApCoSaMP algorithm in this paper fluctuates with the frequency change of supraharmonics, but it is stable within a certain value range. The amplitude detection error is primarily in the order of 10−8% to 10−9%, except that at 70.2 kHz and 90.2 kHz, the error is slightly higher, reaching 10−6%. The frequency detection error is mainly in the order of 10−13% to 10−14%. The error values are slightly larger at 50 kHz and 90.2 kHz. The phase detection error is predominantly in the order of 10−9% to 10−10%; the phase detection error of the 90.2 kHz supraharmonic at the fundamental frequency of 49.7 Hz, 49.9 Hz, and 50.1 Hz is slightly larger, close to 2 × 10−10%; the phase detection error of the supraharmonic of 10.2 kHz at the fundamental frequency of 50 Hz is relatively large; and the other error points are relatively small. These results demonstrate high accuracy and stability. The results imply that the proposed method can meet the detection range of supraharmonics while adhering to the standards set by IEC 61000-4-30. Consequently, this algorithm can minimize the impact of fundamental frequency fluctuations on the accuracy of signal parameter detection and enhance the algorithm’s performance during the actual detection process.

3.4. Simulation Analysis of Signals Containing White Noise

In the actual power system, the detection of supraharmonics will be affected by Gaussian white noise interference, which will interfere with the accuracy of the analysis of different signal components. In order to evaluate the detection of the ISWApCoSaMP algorithm under noise interference, the white noise signals with signal-to-noise ratios (SNRs) from 10 dB to 100 dB were selected. The signal-to-noise ratio refers to the ratio of signal to noise in an electronic device or electronic system; the unit of measurement of signal-to-noise ratio is dB, and its calculation method is 10lg (Ps/Pn), where Ps and Pn represent the effective power of signal and noise, respectively. These noise signals are then sequentially superimposed onto the previously mentioned simulated signal model in 10 dB increments. The detection accuracy of the amplitude, frequency, and phase of supraharmonics under noise interference is shown in Figure 12, Figure 13 and Figure 14.
According to the simulation results in Figure 12, Figure 13 and Figure 14, it can be seen that when there is noise injection during the operation of the algorithm, the final detection accuracy will inevitably decrease. The detection accuracy of amplitude, frequency, and phase all improve with the increase of SNR, and the detection accuracy of parameters is very low when the SNR is low and the noise content is large. At an SNR of 10 dB, the amplitude detection accuracy is only 10−1%, and the phase detection accuracy is about 10−2%. When the SNR is high, the detection accuracy of amplitude and phase can reach 10−6%, which is reduced compared to the absence of noise. The frequency accuracy is relatively high, but it also drops to 10−5% at the SNR of 10 dB. The accuracy of the measurement results in this paper is reduced when dealing with noise interference, but in general, it still maintains a relatively ideal detection effect and performs well at resisting noise interference.

4. Discussion

The generation of supraharmonics has a non-negligible impact on the normal operation of the power grid, and the ISWApCoSaMP algorithm is proposed to accurately detect the parameters of supraharmonics (including amplitude, frequency, and phase) under the condition of reducing the amount of data calculation. Through the method proposed in this paper, the supraharmonics existing in the power grid can be effectively detected, which can contribute to the stable and safe operation of the power grid.

5. Conclusions

In this paper, an interpolation of a self-convolutional window all-phase compressive sampling matching pursuit algorithm is proposed under the framework of windowed interpolation, which is used for the detection of supraharmonic signals. In the research, a novel approach involving a self-convoluted MSD window is utilized for the construction of a specialized windowed measurement matrix. This matrix is integrated with a DFT transform basis, chosen for its sparse properties. The methodology advances further by implementing a compression reconstruction algorithm, rooted in compressive sampling matching, and further refined by the addition of a four-spectrum-line interpolation technique. This comprehensive method, embodied in the ISWApCoSaMP algorithm, substantially enhances the detection accuracy of amplitude, frequency, and phase in supraharmonic signals. The implementation of the self-convolutional window and the four-spectrum-line interpolation primarily contributes to the increased precision in amplitude and frequency detection. Meanwhile, the incorporation of the All-phase element significantly refines the accuracy in phase detection.
The study of this paper focuses on validating the superiority of the ISWApCoSaMP algorithm over MCS-OMP, CoSaMP, and SaCoSaMP in terms of supraharmonic measurement precision. This validation occurs in the simulation phase of the research. The comparative analysis reveals that ISWApCoSaMP outperforms the others in measuring amplitude, frequency, and phase with greater accuracy. Notably, the ISWApCoSaMP algorithm achieves this heightened accuracy without significantly compromising computational speed. Furthermore, the findings shown in Section 3.2 indicate a direct correlation between the compression ratio and the algorithm’s accuracy: higher compression ratios lead to improved accuracy. However, with varying fundamental frequencies, the accuracy in detecting supraharmonic signals experiences some fluctuations, with a few specific frequencies showing decreased precision. In the case of noise injection, the proposed algorithm can still ensure good detection accuracy. Despite these variations, the overall performance in supraharmonic detection remains steady. The ISWApCoSaMP algorithm thus demonstrates distinct advantages in detection accuracy, compression efficiency, and data storage capacity. It offers a promising avenue for accurate supraharmonic component detection with reduced data requirements, paving the way for future advancements in supraharmonic detection accuracy.

Author Contributions

Conceptualization, Y.J.; methodology, Y.J.; software, Y.J.; validation, Y.J.; formal analysis, Y.J. and W.W.; investigation, Y.J.; resources, W.W. and W.Y.; data curation, W.W.; writing—original draft preparation, Y.J.; writing—review and editing, W.W.; visualization, Y.J.; and supervision, W.Y. and W.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the Jiangsu Provincial Natural Science Foundation, grant number BK20210450.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Zhuang, S.; Zhao, W.; Wang, R.; Wang, Q.; Huang, S. New measurement algorithm for supraharmonics based on multiple measurement vectors model and orthogonal matching pursuit. IEEE Trans. Instrum. Meas. 2019, 68, 1671–1679. [Google Scholar] [CrossRef]
  2. Garrido, J.; Moreno-Munoz, A.; Gil-de-Castro, A.; Morales-Leal, T. Supraharmonics emission from LED lamps: A reduction proposal based on random pulse-width modulation. Electr. Power Syst. Res. 2018, 164, 11–19. [Google Scholar] [CrossRef]
  3. Wasowski, M.; Habrych, M.; Sikorski, T.; Kostyła, P.; Jurczyk, M.; Gornicki, L.; Sokol, J.; Golemo, M. Sources of non-intentional Supraharmonics in LV network and its impact on OSGP PLC communication–experimental study. IEEE Trans. Power Deliv. 2022, 37, 5244–5254. [Google Scholar] [CrossRef]
  4. Sutaria, J.; Rönnberg, S. Propagation of supraharmonics in a data center with different operating modes of UPS. IEEE Access 2023, 11, 36823–36833. [Google Scholar] [CrossRef]
  5. Emanuel, A.; McEachern, A. Electric power definitions: A debate. In Proceedings of the IEEE Power & Energy Society General Meeting, Vancouver, BC, Canada, 21–25 July 2013; pp. 21–25. [Google Scholar]
  6. Sefl, O.; Prochazka, R. Investigation of supraharmonics’ influence on partial discharge activity using an internal cavity sample. Int. J. Elec. Power 2022, 134, 107440. [Google Scholar] [CrossRef]
  7. Tefferi, M.; Nakamura, N.; Barnes, B.; Uzelac, N. Supraharmonic Measurements in Distributed Energy Resources: Power quality observations in a microgrid. IEEE Electr. Mag. 2023, 11, 88–96. [Google Scholar] [CrossRef]
  8. Espín-Delgado, Á.; Rönnberg, S. Modeling and Analysis of Supraharmonic Propagation for Stochastic Studies. IEEE Trans. Power Delivery 2022, 37, 4899–4910. [Google Scholar] [CrossRef]
  9. Banuelos-Cabral, E.S.; Gutiérrez-Robles, J.A.; Nuño-Ayón, J.J.; Sotelo-Castañón, J.; Naredo, J.L. Extended vector fitting for subharmonics, harmonics, interharmonics, and supraharmonics estimation in electrical systems. Electr. Power Syst. Res. 2023, 224, 109664. [Google Scholar] [CrossRef]
  10. IEC Standard 61000-4-30; Electromagnetic Compatibility (EMC)—Part 4-30: Testing and Measurement Techniques—Power Quality Measurement Methods. IEC: Geneva, Switzerland, 2015.
  11. IEC Standard 61000-4-7; General Guide on Harmonics and Interharmonics Measurements, for Power Supply Systems and Equipment Connected Thereto. International Electrotechnical Commission. IEC: Geneva, Switzerland, 2010.
  12. Mendes, T.M.; Ferreira, D.D.; Silva, L.R.; Khosravy, M.; Meyer, J.; Duque, C.A. Supraharmonic estimation by polyphase DFT filter bank. Comput. Electr. Eng. 2021, 92, 107202. [Google Scholar] [CrossRef]
  13. Gallarreta, A.; Fernández, I.; González-Ramos, J.; de la Vega, D.; Angulo, I.; Arrinda, A. Technique for the comprehensive characterization of supraharmonic disturbances (9–150 kHz) in the joint time-frequency domain. Sustain. Energy Grids 2023, 36, 101181. [Google Scholar] [CrossRef]
  14. Sandrolini, L.; Mariscotti, A. Impact of short-time fourier transform parameters on the accuracy of EMI spectra estimates in the 2-150 kHz supraharmonic interval. Electr. Power Syst. Res. 2021, 195, 107130. [Google Scholar] [CrossRef]
  15. Mariscotti, A.; Sandrolini, L.; Pasini, G. Variability caused by setup and operating conditions for conducted EMI of switched mode power supplies over the 2–1000 kHz interval. IEEE Trans. Instrum. Meas. 2022, 71, 1–9. [Google Scholar] [CrossRef]
  16. Lodetti, S.; Bruna, J.; Melero, J.J.; Khokhlov, V.; Meyer, J. A robust wavelet-based hybrid method for the simultaneous measurement of harmonic and supraharmonic distortion. IEEE Trans. Instrum. Meas. 2020, 69, 6704–6712. [Google Scholar] [CrossRef]
  17. Li, K.; Zhao, W.; Li, S.; Huang, S. Supraharmonics Measurement Based on Colored Noise Suppressed Matrix Pencil Method. IEEE Access 2023, 11, 94346–94357. [Google Scholar] [CrossRef]
  18. Mendes, T.M.; Duque, C.A.; Silva, L.R.; Ferreira, D.D.; Meyer, J. Supraharmonic analysis by filter bank and compressive sensing. Electr. Power Syst. Res. 2019, 169, 105–114. [Google Scholar] [CrossRef]
  19. Wang, J.; Qiao, W.; Qu, L. Wind turbine bearing fault diagnosis based on sparse representation of condition monitoring signals. IEEE Trans. Ind. Appl. 2018, 55, 1844–1852. [Google Scholar] [CrossRef]
  20. Borkowski, J.; Mroczka, J.; Matusiak, A.; Kania, D. Frequency estimation in interpolated discrete fourier transform with generalized maximum sidelobe decay windows for the control of power. IEEE Trans. Ind. Informat. 2020, 17, 1614–1624. [Google Scholar] [CrossRef]
  21. Liu, Z.; Himmel, J.; Bonfig, K.W. Improved processing of harmonics and interharmonics by time-domain averaging. IEEE Trans. Power Deliv. 2005, 20, 2370–2380. [Google Scholar] [CrossRef]
  22. Qian, H.; Zhao, R.; Chen, T. Interharmonics analysis based on interpolating windowed FFT algorithm. IEEE Trans. Power Deliv. 2007, 22, 1064–1069. [Google Scholar] [CrossRef]
  23. Rife, D.C.; Vincent, G.A. Use of the discrete Fourier transform in the measurement of frequencies and levels of tones. Bell Syst. Tech. J. 1970, 49, 197–228. [Google Scholar] [CrossRef]
  24. Volarić, I.; Sucic, V. Adaptive thresholding for sparse image reconstruction. Information 2024, 15, 71. [Google Scholar] [CrossRef]
  25. Zhang, L.; Chen, J.; Liu, W.; Liu, X.; Ma, C.; Xu, L. A temporal Convolutional Network for EMG compressed sensing reconstruction. Measurement 2024, 225, 113944. [Google Scholar] [CrossRef]
  26. Donoho, D.L. Compressed sensing. IEEE Trans. Inf. Theory 2006, 52, 1289–1306. [Google Scholar] [CrossRef]
  27. Zhang, X.; Xu, W.; Cui, Y.; Lu, L.; Lin, J. On recovery of block sparse signals via block compressive sampling matching pursuit. IEEE Access 2019, 7, 175554–175563. [Google Scholar] [CrossRef]
  28. Su, T.; Yang, M.; Jin, T.; Flesch, R.C.C. Power harmonic and interharmonic detection method in renewable power based on Nuttall double-window all-phase FFT algorithm. IET Renew. Power Gener. 2018, 12, 953–961. [Google Scholar] [CrossRef]
  29. Li, Q.; Yang, A.; Guo, P.; Xin, X. High accuracy and low complexity frequency offset estimation method based on all phase FFT for M-QAM coherent optical systems. IEEE Photon. J. 2021, 14, 1–6. [Google Scholar] [CrossRef]
  30. Deng, Y.; Zhao, G.; Zhu, K.; Zhou, T.; Xu, Z. NCAFI: Nuttall convolution window all-phase FFT interpolation-based harmonic detection algorithm for infrared imaging detection. Infrared Phys. Technol. 2022, 125, 104310. [Google Scholar] [CrossRef]
Figure 1. Results of amplitude with different window functions.
Figure 1. Results of amplitude with different window functions.
Information 15 00127 g001
Figure 2. Flow chart of ApCoSaMP spectrum analysis.
Figure 2. Flow chart of ApCoSaMP spectrum analysis.
Information 15 00127 g002
Figure 3. Four-spectrum-line interpolation.
Figure 3. Four-spectrum-line interpolation.
Information 15 00127 g003
Figure 4. Flow chart of ISWApCoSaMP algorithm.
Figure 4. Flow chart of ISWApCoSaMP algorithm.
Information 15 00127 g004
Figure 5. Relative errors of amplitude based on different compression ratios.
Figure 5. Relative errors of amplitude based on different compression ratios.
Information 15 00127 g005
Figure 6. Relative errors of frequency based on different compression ratios.
Figure 6. Relative errors of frequency based on different compression ratios.
Information 15 00127 g006
Figure 7. Relative errors of phase based on different compression ratios.
Figure 7. Relative errors of phase based on different compression ratios.
Information 15 00127 g007
Figure 8. Probabilistic density function plot of frequency fluctuation in power system.
Figure 8. Probabilistic density function plot of frequency fluctuation in power system.
Information 15 00127 g008
Figure 9. Amplitude error for fundamental frequency fluctuation.
Figure 9. Amplitude error for fundamental frequency fluctuation.
Information 15 00127 g009
Figure 10. Frequency error for fundamental frequency fluctuation.
Figure 10. Frequency error for fundamental frequency fluctuation.
Information 15 00127 g010
Figure 11. Phase error for fundamental frequency fluctuation.
Figure 11. Phase error for fundamental frequency fluctuation.
Information 15 00127 g011
Figure 12. Amplitude error with different SNRs.
Figure 12. Amplitude error with different SNRs.
Information 15 00127 g012
Figure 13. Frequency error with different SNRs.
Figure 13. Frequency error with different SNRs.
Information 15 00127 g013
Figure 14. Phase error with different SNRs.
Figure 14. Phase error with different SNRs.
Information 15 00127 g014
Table 1. Partial classical cosine window characteristics.
Table 1. Partial classical cosine window characteristics.
Window Function TypeMain Lobe WidthSidelobe Peak Level/
(dB)
Sidelobe Attenuation Rate/
(dB/(oct))
Hanning8π/N−31.7918
Blackman12π/N−58.8318
Six-term MSD24π/N−87.9466
Self-convolutional MSD24π/N−175.88132
Table 2. Parameters of simulation signal.
Table 2. Parameters of simulation signal.
fh/(kHz)Ah/(V)φh/(°)
10.2190
20.20.530
29.80.645
50.00.860
70.20.490
90.20.260
Table 3. Comparison of measurement relative amplitude errors among different algorithms.
Table 3. Comparison of measurement relative amplitude errors among different algorithms.
Frequency (kHz)MCS-OMPCoSaMPSaCoSaMPISWApCoSaMP
10.22.13 × 10−25.83 × 10−44.12 × 10−72.26 × 10−9
20.22.32 × 10−21.06 × 10−35.78 × 10−73.76 × 10−9
29.88.93 × 10−73.30 × 10−76.34 × 10−75.44 × 10−9
50.04.94 × 10−74.15 × 10−44.10 × 10−74.83 × 10−6
70.22.99 × 10−79.96 × 10−31.07 × 10−44.96 × 10−9
90.24.24 × 10−79.73 × 10−82.19 × 10−43.17 × 10−6
Table 4. Comparison of measurement relative frequency errors among different algorithms.
Table 4. Comparison of measurement relative frequency errors among different algorithms.
Frequency (kHz)MCS-OMPCoSaMPSaCoSaMPISWApCoSaMP
10.24.53 × 10−111.40 × 10−72.45 × 10−101.88 × 10−13
20.28.36 × 10−121.22 × 10−71.27 × 10−93.38 × 10−14
29.85.32 × 10−104.04 × 10−114.57 × 10−101.98 × 10−13
50.01.86 × 10−92.10 × 10−83.69 × 10−101.62 × 10−10
70.22.37 × 10−92.59 × 10−72.41 × 10−94.79 × 10−14
90.27.37 × 10−108.81 × 10−122.17 × 10−95.90 × 10−11
Table 5. Comparison of measurement relative phase errors among different algorithms.
Table 5. Comparison of measurement relative phase errors among different algorithms.
Frequency (kHz)MCS-OMPCoSaMPSaCoSaMPISWApCoSaMP
10.24.85 × 10−61.92 × 10−84.19 × 10−73.76 × 10−10
20.28.36 × 10−72.34 × 10−81.09 × 10−61.86 × 10−9
29.87.68 × 10−78.38 × 10−96.62 × 10−71.58 × 10−9
50.01.96 × 10−63.22 × 10−107.48 × 10−71.52 × 10−10
70.24.27 × 10−52.54 × 10−94.69 × 10−76.84 × 10−10
90.21.07 × 10−44.84 × 10−85.59 × 10−62.46 × 10−9
Table 6. Comparison of time-consumption measurement result among different algorithms.
Table 6. Comparison of time-consumption measurement result among different algorithms.
AlgorithmMCS-OMPCoSaMPSaCoSaMPISWApCoSaMP
Time/(s)1.1638521.2927061.8757851.330277
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Ji, Y.; Yan, W.; Wang, W. Supraharmonic Detection Algorithm Based on Interpolation of Self-Convolutional Window All-Phase Compressive Sampling Matching Pursuit. Information 2024, 15, 127. https://doi.org/10.3390/info15030127

AMA Style

Ji Y, Yan W, Wang W. Supraharmonic Detection Algorithm Based on Interpolation of Self-Convolutional Window All-Phase Compressive Sampling Matching Pursuit. Information. 2024; 15(3):127. https://doi.org/10.3390/info15030127

Chicago/Turabian Style

Ji, Yu, Wenxu Yan, and Wenyuan Wang. 2024. "Supraharmonic Detection Algorithm Based on Interpolation of Self-Convolutional Window All-Phase Compressive Sampling Matching Pursuit" Information 15, no. 3: 127. https://doi.org/10.3390/info15030127

APA Style

Ji, Y., Yan, W., & Wang, W. (2024). Supraharmonic Detection Algorithm Based on Interpolation of Self-Convolutional Window All-Phase Compressive Sampling Matching Pursuit. Information, 15(3), 127. https://doi.org/10.3390/info15030127

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop