Next Article in Journal
Early Detection of ITSC Faults in PMSMs Using Transformer Model and Transient Time-Frequency Features
Previous Article in Journal
Proposal of a Thermal Network Model for Fast Solution of Temperature Rise Characteristics of Aircraft Wire Harnesses
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Harmonic and Interharmonic Measurement Method Using Two-Fold Compound Convolution Windows and Zoom Fast Fourier Transform

1
China Electric Power Research Institute Co., Ltd., Beijing 100053, China
2
State Grid Anhui Electric Power Research Institute, Hefei 230022, China
*
Author to whom correspondence should be addressed.
Energies 2025, 18(15), 4047; https://doi.org/10.3390/en18154047
Submission received: 13 January 2025 / Revised: 12 February 2025 / Accepted: 17 February 2025 / Published: 30 July 2025
(This article belongs to the Section F: Electrical Engineering)

Abstract

With the rapidly increasing penetration of new energy resources, the power grid faces significant threats from harmonics. To measure and suppress these harmonics, numerous harmonic measurement methods have been proposed. However, accurately identifying the parameters of harmonics and interharmonics remains challenging. To address this issue, we propose a new method that combines two-fold convolution windows and ZoomFFT. This method leverages the advantages of low side lobe peaks and high side lobe attenuation rates of compound convolution windows to suppress spectral leakage. Additionally, a six-spectral-line interpolation method is employed to correct the calculation results. Furthermore, ZoomFFT is utilized to locally amplify the spectrum, enabling the distinction between interharmonics and harmonics with closely spaced frequencies. The simulation results demonstrate that the proposed algorithm effectively identifies interharmonics with similar frequencies, outperforming single-window functions and ZoomFFT in terms of accuracy.

1. Introduction

With the rapidly increasing penetration rate of new energy sources, such as wind power and photovoltaics in China and some other parts of the world, the capacity of power electronic equipment, such as electrical vehicle charging stations on the load side, is growing. Additionally, the proportion of power electronic equipment on the generation side has significantly changed in recent decades. Consequently, high-order harmonics, interharmonics, and superharmonics, which can cause severe potential damage to power equipment, such as capacitors and cables, are prevalent in the power grid. These harmonics not only deteriorate the power quality, leading to waveform distortion, but also threaten the safety and stability of the power system [1,2,3,4,5].
The accurate measurement of harmonics is a prerequisite for effective harmonic management. The most common method for harmonic measurement is FFT, which is widely used due to its fast calculation speed and low computational hardware cost. Full cycle sampling is a mandatory requirement for FFT. However, ensuring complete full cycle sampling in practice is nearly impossible due to various interference factors such as frequency fluctuation. For example, a 20 ms sampling time corresponds to one cycle length waveform for a power system with a rated frequency of 50 Hz. If the frequency fluctuates from 50 Hz to 50.2 Hz, the 20 ms sampling time corresponds to one cycle length waveform and some additional sampling points rather than a complete cycle length waveform. In this case, spectral leakage occurs, necessitating windowing and interpolation methods for correction.
Window functions can generally be categorized into two types: single-window functions and composite window functions. Several scholars have applied various single-window functions to harmonic measurement, including the Blackman window [6], Blackman–Harris window [7], Nuttall window [8], Hanning window [9], and Rife–Vincent window [10,11]. Although these window functions differ, they are essentially combinations of several cosine functions with different coefficients. Due to the varying coefficients of each cosine function, the main lobe width and side lobe attenuation rates of the window differ. Meanwhile, interpolation algorithms include three-spectral-line interpolation [12,13], four-spectral-line interpolation [14,15], six-spectral-line interpolation [16], etc.
Based on single-window functions, some scholars have designed compound convolution window methods to reduce the side lobe peaks and improve the side lobe attenuation rate. In [17], the Rife–Vincent self-multiplication convolution window is utilized, which essentially performs one multiplication and one convolution operation on the Rife–Vincent window, resulting in superior spectral characteristics compared to a single Rife–Vincent window. In [18], a Rife–Vincent compound convolution window with an adjustable parameter is designed, involving p-fold self-multiplication and q-fold convolution on the Rife–Vincent window. In [19], the Blackman window and Nuttall window are convolved twice, achieving better measurement accuracy than a single window. However, this method still suffers from harmonic interference at approximate frequencies. The authors of [20] applied the Kaiser convolution window to harmonic analysis, achieving high accuracy results.
In [21,22,23], ZoomFFT is utilized to overcome the problem of approximate harmonic interference. The advantage of this method is its effective resolution of approximate harmonic interference. In [24], a two-fold Hanning convolution window method is introduced; in [25], the Hermite interpolation-based harmonic measurement method is studied; and in [26], the fractional-order wavelet method is created. References [27,28] discuss several other harmonic detection algorithms, which are essentially similar to the aforementioned methods and will not be elaborated repeatedly due to space limitations. Additionally, references [29] study a dynamical system of a spring–pendulum, contributing significantly to the inspiration of the algorithm.
Based on the aforementioned research, a new algorithm for wide frequency band harmonic measurement is proposed, combining different windows and ZoomFFT. Firstly, the phase difference of two adjacent spectral lines within the main lobe is 180° to preliminarily determine whether there is main lobe interference. When there is no interference within the main lobe, the composite window and spectral line interpolation algorithms are utilized to determine the parameters of the harmonics. When there is interference within the main lobe, the ZoomFFT algorithm is used to stretch the frequency axis of the harmonics with approximate frequencies, and then the above method is used for calculation. The simulation results demonstrate that the proposed algorithm can effectively identify harmonics and interharmonics with better resolution and accuracy of harmonic parameters than the competition algorithms.

2. Compound Convolution Window

To suppress spectrum leakage caused by frequency fluctuations, windowing and the interpolation method are performed on the discrete power signal to determine the parameters, including amplitude, frequency, and the initial phase of each harmonic. Generally, the expression of the window is given as follows.
w ( n ) = m = 0 M 1 ( 1 ) m b m cos ( 2 π n m N )
where N is the length of the window, n represents the n-th point of the window, and m denotes the m-th cosine component. The window consists of M cosine signals, and the sum of the coefficients satisfies the following Equation (2).
m = 0 M 1 b m = 1
The window function is a combination of multiple cosines, which can be composed of different windows by changing the number of terms M and coefficients b m . The main lobe widths and side lobe attenuation rates vary according to the types of windows, as shown in Figure 1, and the key parameters, including main lobe width, side lobe level, and side lobe attention rate, are given in Table 1.
Table 1 presents the main and side lobe properties of five typical windows. It is concluded that the main lobe width of the Hamming and Hanning windows is relatively narrow, while the side lobe level is high and the attenuation rate is slow. The sidelobe levels of the Blackman–Harris and Nuttall windows are −92 dB and −83 dB, respectively, which are lower than the side lobe levels of the Hamming and Hanning windows. Although the Blackman–Harris and Nuttall windows have the advantages of low side lobe levels and high attenuation rates, their main lobe width is larger than that of the Hamming and Hanning windows. It can be seen that it is difficult for a single window to meet the requirements of a low main lobe width and high side lobe attenuation rate simultaneously.
To overcome the above contradictions, several scholars proposed compound convolution windows, which can be obtained via convolution operations using different single windows, such as the compound convolution window based on the Rife–Vincent window. According to the convolution theorem, the convolution of a signal in the time domain corresponds to the product on the frequency spectrum. Hence, the main lobe width of compound convolution windows is narrower than that of a typical single window, while the side lobe levels of compound convolution windows are much lower, and the side lobe attenuation rates are much higher than that of a single window.
To illustrate the advantages of compound convolution windows, the side lobe properties on the frequency spectrum of a compound convolution window, which is convolution of a Blackman window and a Nuttall window, are presented. The spectrum corresponding to Formula (1) is shown as follows.
W B ( ω ) = i = 0 M 1 ( 1 ) i b i 2 × [ W R ( ω 2 π i M ) + W R ( ω + 2 π i M ) ]
where W R ( ω ) is the frequency spectrum of the rectangular window, which is shown as follows.
W R ( ω ) = sin ω M 2 sin ω 2 e j ω ( M 1 ) 2
Let ω be 2 π / N ; Formula (3) can be transformed into Formula (5), which is expressed as follows.
W B ( 2 π k N ) = i = 0 M 1 ( 1 ) i b i 2 × [ W R ( 2 π k N 2 π i M ) + W R ( 2 π k N + 2 π i M ) ]
By substituting Equation (4) into Equation (5), the following expression is derived:
W B ( 2 π k N ) = sin ( π k 2 ) e j k π 2 i = 0 M 1 ( 1 ) i b i 2 × [ sin ( 2 π k N ) + 2 j ( 1 sin 2 ( 2 π k N ) cos ( π k N ) ) sin [ π ( k N i M ) ] sin [ π ( k N + i M ) ] ]
Generally, N, the length of the signal, is much larger than 1, or N ≫ 1. Therefore, Formula (6) can be simplified as Formula (7), which is given as follows.
w ( 2 π k N ) = N π sin ( k π 2 ) e j π k 2 × i = 0 M 1 ( 1 ) i b i ω 2 ( i ) 2
The number of cosine terms in the Blackman window is M = 3, with coefficients of 0.42, 0.5, and 0.08, respectively. The cosine coefficients of the Nuttall window are 0.3125, 0.46875, 0.1875, and 0.03125, respectively. Therefore, the formulae of the Blackman window and the Nuttall window are expressed as follows.
w B ( ω ) = N π sin ( k π 2 ) e j π k 2 × ( 0.42 ω 2 0.5 ω 2 1 + 0.08 ω 2 4 )
w N ( ω ) = N π sin ( k π 2 ) e j π k 2 × ( 0.3125 ω 2 0.46875 ω 2 1 + 0.1875 ω 2 4 0.03125 ω 2 9 )
According to the convolution theorem, the frequency spectrum resulting from one convolution of the Blackman and Nuttall windows is equivalent to the product of Equations (8) and (9). This relationship is expressed by Formula (10) as follows.
w B N 1 ( ω ) = w B ( ω ) w N ( ω )
The frequency spectra of the three formulas are shown in Figure 2.
Figure 2 shows that the peak side lobe of the compound convolution window is around −150 dB, which is lower than the −58 dB of the Blackman window and the −83 dB of the Nuttall window. It is clear that the side lobe attenuation rate of the convolution window is also much faster than that of the two windows. Therefore, the suppression effect of a compound convolution window on spectral leakage caused by incomplete periodic sampling is better than that of a single window.
If a two-fold convolution operation is applied to the Blackman window and the Nuttall window, the resulting spectrum is the square of Formula (10) as follows.
w B N 2 ( ω ) = w B 2 ( ω ) w N 2 ( ω )
The spectra of Formulas (10) and (11) are shown in Figure 3.
As shown in Figure 3, the side lobe of the two-fold compound convolution window is better than that of the one compound convolution window, and the peak value of the side lobe of the two-fold compound convolution window is around −224 dB. Additionally, the side lobe attenuation rate is much higher. Similarly, the spectral characteristics of the triple compound convolution window are better than the two-fold compound convolution window. However, a two-fold compound convolution window is sufficient when the computational cost is taken into account. Considering all factors, the Blackman window and the Nuttall window are selected to compose the two-fold compound convolution window.

3. Spectral Line Interpolation

Due to frequency fluctuation and other factors, power line signals may experience incomplete periodic truncation. As a result, multiple spectral lines emerge near the true frequency points on the frequency axis rather than directly reflecting the true frequency values, as shown in Figure 4. Therefore, spectral line interpolation is required to accurately determine the true values of harmonic frequencies.
Generally, spectral line interpolation algorithms consist of three spectral lines, four spectral lines, six spectral lines, etc. The accuracy of the calculation improves as the number of selected spectral lines increases. Since harmonic analysis does not require high real-time performance, six spectral lines are employed for the interpolation algorithm to achieve higher precision results.
For simplifying the expression and excluding the influence of harmonics, the discrete formula of a sine wave signal is expressed as follows.
s ( n ) = A sin ( 2 π f 0 f s n + φ )
where A, f 0 , and φ are amplitude, frequency, and initial phase, respectively. f s denotes the sampling rate, and n corresponds to the n-th sampling point. By multiplying this sinusoid signal, as given in Equation (12), with a two-fold compound convolution window, as described in Equation (11), the resulting equation is given by Equation (13).
x ( n ) = s ( n ) w B N 2 ( n )
and the corresponding spectrum is given in Equation (14), as follows.
X ( ω ) = A 2 j [ e j φ W B N 2 ( ω ω 0 ) e j φ W B N 2 ( ω + ω 0 ) ]
The formula above consists of two parts: the positive frequency part and the negative frequency part. In practice, only the positive frequency part is preserved, and the negative frequency part is omitted, so Formula (14) can be simplified to Formula (15).
X ( ω ) = A 2 j e j φ W B N 2 ( ω ω 0 )
The discretization form of Formula (15) is given as follows.
X ( 2 π k N ) = A 2 j e j φ W B N 2 ( 2 π ( k k 0 ) N )
Given that the spectral line of the real frequency is k 0 , we choose six spectral lines k 1 k 6 , which are approximate to k 0 , as depicted in Figure 4. The corresponding spectral line amplitude is y 0 = X ( 2 π k 0 N ) , y 1 = X ( 2 π k 1 N ) , y 2 = X ( 2 π k 2 N ) , y 4 = X ( 2 π k 4 N ) , y 5 = X ( 2 π k 5 N ) , and y 6 = X ( 2 π k 6 N ) . Let γ = k 0 k 1 0.5 and γ   [−0.5, 0.5]; we can obtain the following equations.
y 1 = X ( 2 π k 1 N ) = A 2 j e j φ W B N 2 ( 2 π ( k 1 k 0 ) N ) = A 2 j e j φ W B N 2 ( 2 π ( γ 0.5 ) N )
Similarly, we can obtain the following equations.
y 2 = A 2 j e j φ W B N 2 ( 2 π ( γ + 0.5 ) N )
y 3 = A 2 j e j φ W B N 2 ( 2 π ( γ 1.5 ) N )
y 4 = A 2 j e j φ W B N 2 ( 2 π ( γ + 1.5 ) N )
y 5 = A 2 j e j φ W B N 2 ( 2 π ( γ 2.5 ) N )
y 6 = A 2 j e j φ W B N 2 ( 2 π ( γ + 2.5 ) N )
Given that the spectral lines k 1 and k 2 are closer to the actual frequency k 0 , while the other spectral lines are relatively distant, a larger weight value of 6 is assigned to k 1 and k 2 , whereas the remaining weight values are 2, 2, 1, and 1, respectively. A new parameter β is introduced, for which the expression is given as follows.
β = ( 6 y 2 + 2 y 4 + y 6 ) ( 6 y 1 + 2 y 3 + y 5 ) 6 y 2 + 2 y 4 + y 6 + 6 y 1 + 2 y 3 + y 5
By substituting Equations (17)–(22) into Equation (23), we can obtain
β = β 1 β 2
where β 1 and β 2 are given as follows.
β 1 = 6 W B N 2 ( 2 π ( γ + 0.5 ) N ) + 2 W B N 2 ( 2 π ( γ + 1.5 ) N ) + W B N 2 ( 2 π ( γ + 2.5 ) N ) 6 W B N 2 ( 2 π ( γ 0.5 ) N ) 2 W B N 2 ( 2 π ( γ 1.5 ) N ) W B N 2 ( 2 π ( γ 2.5 ) N ) )
β 2 = 6 W B N 2 ( 2 π ( γ + 0.5 ) N ) + 2 W B N 2 ( 2 π ( γ + 1.5 ) N ) + W B N 2 ( 2 π ( γ + 2.5 ) N ) + 6 W B N 2 ( 2 π ( γ 0.5 ) N ) + 2 W B N 2 ( 2 π ( γ 1.5 ) N ) + W B N 2 ( 2 π ( γ 2.5 ) N
It can be seen that β is a function of γ from Equations (24)–(26). Due to the complexity of the equations, a polynomial is used to perform inverse fitting on this function, and we can obtain γ = f ( β ) . It is sufficient to fit the highest term up to seven times in general. Consequently, the correction formula for frequency, initial phase, and amplitude are given as follows.
f 0 = k 0 Δ f = ( k 1 + γ ) f s / N
φ = arg ( X ( k 1 ) ) π γ
A = ( 6 y 2 + 2 y 4 + y 6 ) ( 6 y 1 + 2 y 3 + y 5 ) β 2
To simplify the calculation of the aforementioned equation, the polynomial fitting method is employed, which leads to the introduction of a new mathematical function defined as follows.
h ( γ ) = N / β 2
Therefore, the correction formula for spectral amplitude is
A = ( 6 y 2 + 2 y 4 + y 6 6 y 1 2 y 3 y 5 ) N h ( γ )
where h ( γ ) is
h ( γ ) = 0.00162718 + 0.00021479 γ 2 + 0.00001397 γ 4 + 0.00000061 γ 6
The aforementioned Formulas (27), (28), and (31) serve as fundamental computational formulas for signal parameter analysis. In scenarios involving signals composed of multiple harmonic components, it is essential to identify the maximum amplitude spectral line corresponding to each harmonic within the frequency spectrum.

4. Determination for Interference in Main Lobes

Insufficient frequency resolution may result in spectral main lobe interference caused by interharmonic components, leading to significant deviations in the calculated parameters of both harmonic and interharmonic components from their actual values. Therefore, it is necessary to study an effective methodology to identify main lobe interference phenomena.
Assuming that the DFT result of the signal in the power grid is X i ( k ) , we process the spectrum by discarding the negative frequency components while preserving the positive frequency components, and the new spectrum is given as follows.
X i ( k ) = A i 2 j exp ( j φ i ) W ( k k i )
Suppose that X i ( k 1 ) and X i ( k 2 ) are two adjacent spectral lines within the main lobe of the i-th harmonic spectrum; Equations (34) and (35) can be obtained.
X i ( k 1 ) = A i 2 j exp ( j φ i ) W ( k 1 k i )
X i ( k 2 ) = A i 2 j exp ( j φ i ) W ( k 2 k i )
Given that k2 = k1 + 1, substituting k2 = k1 + 1 into (35) yields Equation (36) as follows.
X i ( k 1 + 1 ) = A i 2 j exp ( j φ i ) W ( k 1 + 1 k i ) = A i 2 j exp ( j [ φ i ( k 1 + 1 k i ) π ] ) W ( k 1 + 1 k i )
Hence, the absolute value of the phase difference between X i ( k 1 ) and X i ( k 2 ) is
Δ φ i = [ φ i ( k 1 + 1 k i ) π ] [ φ i ( k 1 k i ) π ] = π
Based on Equation (37), in the absence of spectral lines interference within the main lobe, the absolute value of the phase difference between two adjacent spectral lines on the spectrum is π radians, which is equivalent to 180° degrees. In contrast, the absolute value of the phase difference between adjacent spectral lines deviates from 180°. Given the presence of unfavorable factors such as signal noise and calculation errors, the following formula is utilized to identify the main lobe interference.
Δ φ i = arg ( X i ( k ) ) arg ( X i ( k + 1 ) ) ) 180 > ε
where arg ( X i ( k ) ) denotes the phase of the spectral line X i ( k ) , i is the i-th harmonic component, and ε is the threshold of Δ φ i in Equation (38); here, the units of ε are in degrees. From a theoretical perspective, Δ φ i should ideally be 0° in the absence of interference within the main lobe. However, practical considerations, such as system noise and computational inaccuracies, typically result in a slight deviation, yielding Δ φ i marginally greater than 0°. Based on empirical observations and theoretical analysis, we establish a conservative threshold of ε = 5° for reliable interference detection. The phase difference caused by noise and errors is small, and the phase difference when main lobe interference occurs is high, so this 5° threshold can ensure the accurate identification of main lobe interference.

5. ZoomFFT

In power system scenarios, the frequency spacing between harmonics and interharmonics may be narrow, potentially inducing spectral aliasing phenomena during the harmonic analysis of power signals. This significantly compromises the accuracy of harmonic parameter estimation. To address this limitation, ZoomFFT is utilized to effectively suppress spectral aliasing while facilitating the calculation of harmonic parameters. The procedures of ZoomFFT are comprehensively presented as follows.
(1): Firstly, the presence of main lobe interference can be identified by Equation (38). In cases where main lobe interference is detected, it is necessary to ascertain the specific frequency band that is affected. Subsequently, the lowest frequency ω l , the central frequency ω 0 , and the highest frequency ω h can be determined. By multiplying the signal x(t) of length N with the rotation factor e j ω 0 t , the frequency spectrum of the signal is shifted to zero frequency, yielding a new spectrum X ( ω ) .
(2): A low-pass filter is applied to the new spectrum X ( ω ) , retaining the low-frequency part of X ( ω ) and eliminating the high-frequency part.
(3): The inverse fast Fourier transform (IFFT) is applied to the low-pass filtered data with N points, obtaining a time domain signal x ( t ) . Then, down sampling is carried out at intervals of D, producing a new signal of length N/D.
(4): FFT is applied to the signal x ( t ) of length N/D, which is then rearranged. By setting the number of Fourier transform points to N, a frequency spectrum of length N is generated. The original frequency interval Δ ω , or ω h ω l , is divided by D, resulting in a new frequency interval Δ ω / D . Therefore, the frequency resolution increases by D times, achieving the objective of the local amplification of the spectrum.
In summary, a flowchart of the algorithm in this article is shown in Figure 5.

6. Experimental Results and Analysis

To validate the effectiveness of the algorithm proposed in this study, voltage signals containing harmonics and interharmonics were analyzed. The amplitude, frequency, and phase parameters derived from the analysis are given in Table 2.
The frequency of harmonics exceeds 2.5 kHz. According to the Nyquist theorem, the sampling frequency must be greater than 5 kHz. In this study, it was set to 6400 Hz. Furthermore, the sampling length was 10 cycles, which is equivalent to 1280 sampling points. The amplification factor D in ZoomFFT was chosen as 10.
To account for noise interference in real-life signals, Gaussian white noise with a signal-to-noise ratio of 50 dB was added to the signal to simulate the real noise. The harmonics and interharmonics of the signal were analyzed by using the algorithm proposed in this article, and the results are detailed in Table 3.
As shown in Table 2, the proposed algorithm effectively calculates the parameters of harmonics and interharmonics even under a signal-to-noise ratio of 50 dB. The relative errors of the amplitude, frequency, and initial phase of each harmonic were then determined by Equations (39) to (41) as follows.
Δ A = A ( i ) A ( i ) A ( i ) × 100 %
Δ f = f ( i ) f ( i ) f ( i ) × 100 %
Δ φ = φ ( i ) φ ( i ) φ ( i ) × 100 %
where A ( i ) , f ( i ) , and φ ( i ) represent the real parameter of the i-th harmonic or interharmonic and A ( i ) , f ( i ) , and φ ( i ) are the calculation result of the i-th harmonic or interharmonic. The relative errors of the parameters for each harmonic are illustrated in Figure 6, Figure 7 and Figure 8.
As illustrated in Figure 6, Figure 7 and Figure 8, the relative errors between the calculated values and actual values of each harmonic and interharmonic parameter remain relatively minimal. Specifically, the relative errors of amplitude do not exceed 9 × 10−3%, while the errors of frequency are within 5 × 10−5%. Although the initial phase exhibits a comparatively larger error, it remains below 4 × 10−2%, which is still considered negligible.
Additionally, Figure 9 shows the different harmonic analysis results. The left picture shows the results of traditional FFT, which failed to identify the approximate frequencies.
In contrast, the right picture demonstrates that the proposed method can identify the approximate frequencies successfully, which proves the effectiveness of the method.
Furthermore, to validate the stability of the algorithm, five Monte Carlo experiments were conducted. The results demonstrate that the standard of amplitude is less than 0.04, the standard of frequency is less than 3.5 × 10−3 Hz, and the standard of initial phase is less than 1.5°. The findings indicate that the standards of the computation results are small enough, thereby confirming the reliability of the algorithm.
To verify the superiority of the proposed algorithm over the competing algorithms, a comparative analysis was conducted by using the Blackman window, the Hanning window, the Hamming window, ZoomFFT, and the proposed algorithm. Each algorithm was executed 10 times in Monte Carlo simulations to evaluate the computational time required for each run. The average of the 10 execution times was calculated and used as the representative time cost for a single run. The results are shown in Table 4.
The statistics in Table 3 demonstrate that the three windowed interpolation methods were unable to identify interharmonics and resulted in incorrect calculation results. Although ZoomFFT can successfully identify interharmonics, it demands a large number of sampling points and prolonged computation time, as it lacks a main lobe interference detection step and requires frequency axis amplification for each component. The proposed algorithm, which incorporates main lobe judgment and ZoomFFT, can precisely distinguish main lobe interference and calculate the parameters of both harmonics and interharmonics.

7. Conclusions

A combined algorithm integrating a compound convolution window and ZoomFFT was designed to achieve accurate measurement of harmonic and interhamonic parameters. This algorithm leverages the benefits of a two-fold compound convolution window, including the low side lobe peak and high attenuation rate, to effectively mitigate spectral leakage and aliasing. Furthermore, by incorporating the high-frequency resolution capability of ZoomFFT, the algorithm addresses the issue of inaccurate calculations caused by interference from adjacent interharmonics, ensuring enhanced accuracy in parameter estimation. The analysis results of simulated signals verified that the algorithm has the merits of high estimation accuracy and low time cost, providing an outstanding alternative for harmonic control in modern power grids. In the future, there is a need for further exploration into the development of an FPGA-based device, the integration of the proposed algorithm onto this device, and its practical application in the harmonic detection of real-life power grids.

Author Contributions

Writing original draft, X.X.; Methodology, L.Z.; Investigation, S.Z.; Formal Analysis, H.L.; Validation, Z.F.; Conceptualization, D.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the State Grid Corporation of China Science and Technology Project, grant number 5108-202218280A-2-258-XG.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

Authors Xiangui Xiao, Lei Zhao, Shengjun Zhou, Haijun Liu were employed by the company China Electric Power Research Institute Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Wang, X.F.; Blaabjerg, F. Harmonic Stability in Power Electronic-based Power Systems: Concept, Modeling, and Analysis. IEEE Trans. Smart Grid 2019, 10, 2858–2870. [Google Scholar] [CrossRef]
  2. Pinares, G.; Bongiorno, M. Modeling and Analysis of VSC-based HVDC Systems for DC Network Stability Studies. IEEE Trans. Power Deliv. 2016, 31, 848–856. [Google Scholar] [CrossRef]
  3. Liu, H.; Xie, X.; He, J.; Xu, T.; Yu, Z.; Wang, C.; Zhang, C. Subsynchronous Interaction Between Direct-Drive PMSG Based Wind Farms and Weak AC Networks. IEEE Trans. Power Syst. 2017, 32, 4708–4720. [Google Scholar] [CrossRef]
  4. Yang, F.; Li, M.; Zhen, X. Representative Characteristics, Emergence Mechanism and Their Harms for Fraction-harmonics. High Volt. Eng. 2007, 33, 153–156. [Google Scholar]
  5. Jiang, Q.; Wang, Y. Overview of the Analysis and Mitigation Methods of Electromagnetic Oscillations in Power Systems With High Proportion of Power Electronic Equipment. Proc. CSEE 2020, 40, 7185–7201. [Google Scholar]
  6. Wen, S.; Zhang, L.; Yu, S.; Zhai, Y. Analysis of Track Circuit Signal Based on Blackman Window Four-spectrum-line Interpolation FFT. Railw. Signal. Commun. 2023, 59, 14–20+25. [Google Scholar]
  7. Tao, Y.; Wang, M.; Kang, Z.; Tong, L. Research on Local Fault Location For 110 kV Transmission Cable Based on Blackman-Harris Window. Northeast Electr. Power Technol. 2024, 45, 28–31+39. [Google Scholar]
  8. Jin, T.; Chen, Y.; You, S. Dielectric Loss Angle Based on Nuttall Window and Five-Point Polynomial Transform. Trans. China Electrotech. Soc. 2015, 30, 7–15. [Google Scholar]
  9. Yu, G.; Fang, C.; Fan, Z.; Lin, L.; Gong, Y.; Zhu, Y. Research and Application of Algorithm for Distribution Network Synchronous Phasor Measurement Unit Based on Hanning Window. Electr. Power 2022, 55, 18–24. [Google Scholar]
  10. Zeng, B.; Teng, Z.; Wen, H.; Qin, B. An Approach for Harmonic Analysis Based on Rife-Vincent Window Interpolation FFT. Proc. CSEE 2009, 29, 115–120. [Google Scholar]
  11. Ma, Y.; Cai, D.; Huang, Q. Parameter Identification of Wind Power Sub-synchronous Oscillation Based on Rife-Vincent Window and Synchrophasor Data. Proc. CSEE 2021, 41, 790–803. [Google Scholar]
  12. Liu, T.; Zhuang, S.; Chen, X.; Zhao, W.; Zhang, Z.; Huang, S. A New Algorithm for Electric Energy Measurement Based on Hanning Self Multiplication-convolution Window Triple-spectrum-line Interpolation FFT. Power Syst. Prot. Control 2017, 45, 9–15. [Google Scholar]
  13. Niu, S.; Liang, Z.; Zhang, J.; Su, H.; Sun, H. An Algorithm for Electrical Harmonic Analysis Based on Triple-spectrum-line Interpolation FFT. Proc. CSEE 2012, 32, 130–136. [Google Scholar]
  14. Xu, Y.; Liu, Y.; Li, Z. An Accurate Approach for Harmonic Detection Based on 6-term Cosine Window and Quadruple-spectrum-line Interpolation FFT. Power Syst. Prot. Control 2016, 44, 56–63. [Google Scholar]
  15. Li, Z.; Yu, C.; Jiang, W.; Wang, X.; Li, Z. Quadruple-spectrum-line Interpolation FFT Harmonic Analysis Method Based on Five-term Rife-Vincent (I) Window. Electr. Meas. Instrum. 2023, 60, 78–84+98. [Google Scholar]
  16. Wang, B.; Xiao, X. A High Accuracy Multi-Spectrum-Line Interpolation Algorithm for Harmonic Analysis. Trans. China Electrotech. Soc. 2018, 33, 553–562. [Google Scholar]
  17. Lei, K.; Li, M.; Wang, X.; Chen, Q.; Zhang, Z.; Yang, X. Power Harmonic Parameter Estimation Based on Three Spectral line Interpolation of Self-multiplication Convolution Rife-Vincent Window. J. Jiangsu Univ. (Nat. Sci. Ed.) 2022, 43, 547–553+561. [Google Scholar]
  18. Lei, K.; Li, M.; Wang, X.; Chen, Q.; Zhang, Z.; Yang, X. High-precision Harmonic Analysis Algorithm Based on Improved Four-spectral-line Interpolation With Universal Tunable (p, q) Order Rife-Vincent Self-multiplication-convolution Window. J. Cent. South Univ. (Sci. Technol.) 2023, 54, 3926–3936. [Google Scholar]
  19. Lu, D.; Zhang, M.; Xu, S.; Xia, R.; Zhang, Q. All-phase Harmonic Detection Algorithm Based on Six-spectral Line Interpolation of Hybrid Convolution Window. Power Capacit. React. Power Compens. 2023, 44, 41–47. [Google Scholar]
  20. Yao, W.X.; Teng, Z.S.; Tang, Q.; Gao, Y. Measurement of Power System Harmonics Based on Adaptive Kaiser Self-convolution Window. IET Gener. Transm. Distrib. 2016, 10, 390–398. [Google Scholar] [CrossRef]
  21. Zhu, K.; Chen, L.; Xu, S.; Si, C. Harmonic Analysis Method Based on ZoomFFT and Multispectral Interpolation Algorithm. J. Electr. Eng. 2023, 18, 179–187. [Google Scholar]
  22. Peng, J.; Pan, S.; Gao, W.; Shen, J.; Zhang, M. Adaptive Measurement Method for Wide-band Signal in Power Gird Based on Windowed Interpolation and ZoomFFT. Autom. Electr. Power Syst. 2022, 46, 172–180. [Google Scholar]
  23. Zhao, S.; Xiao, H.; Li, W.; Zhao, S.; Xiao, H.; Li, W.; Zeng, L. Harmonic Analysis of Power System Based on Multi-spectral Interpolation and Complex Modulation. Electr. Meas. Instrum. 2019, 56, 10–15+24. [Google Scholar]
  24. Li, D.; Ai, H.; Yin, L.; Zeng, F.; Zhou, F. Research and Implement on the High Precision Measuring Method of Harmonic Electric Energy Based on 2-order Hann self-convolution window. Electr. Meas. Instrum. 2024, 61, 167–176. [Google Scholar]
  25. Wang, Y.; Luo, X.; Wei, S.; Chen, Y.; Ma, X. Harmonic Calculation Method for Non-Synchronous Sampling Data Based on Hermite Interpolation. Electr. Meas. Instrum. 2024. Available online: https://link.cnki.net/urlid/23.1202.th.20240612.1155.002 (accessed on 14 June 2024).
  26. Chen, R.; Yang, Y. A Novel Method for Harmonic Detection Based on Fractional Wavelet Transform with A trous algorithm. Electr. Meas. Instrum. 2023, 60, 141–150. [Google Scholar]
  27. Li, K.; Zhao, W.; Li, S.; Yao, W.; Liu, X.; Wu, H.; Huang, S. Advances in Superharmonics Measurement Methods. Electr. Meas. Instrum. 2024, 61, 1–9. [Google Scholar]
  28. He, C.-H.; Amer, T.S.; Tian, D.; Abolila, A.F.; Galal, A.A. Controlling the kinematics of a spring-pendulum system using an energy harvesting device. J. Low Freq. Noise, Vib. Act. Control 2022, 41, 1234–1257. [Google Scholar] [CrossRef]
  29. Amer, T.; Arab, A.; Galal, A. On the influence of an energy harvesting device on a dynamical system. J. Low Freq. Noise Vib. Act. Control 2024, 43, 41. [Google Scholar] [CrossRef]
Figure 1. Normalized spectrograms of five typical windows.
Figure 1. Normalized spectrograms of five typical windows.
Energies 18 04047 g001
Figure 2. Frequency spectra of the Blackman window, Nuttall window, and compound convolution window.
Figure 2. Frequency spectra of the Blackman window, Nuttall window, and compound convolution window.
Energies 18 04047 g002
Figure 3. Comparison of spectral characteristics between a one compound convolution window and a two-fold compound convolution window.
Figure 3. Comparison of spectral characteristics between a one compound convolution window and a two-fold compound convolution window.
Energies 18 04047 g003
Figure 4. Six spectral lines for interpolation.
Figure 4. Six spectral lines for interpolation.
Energies 18 04047 g004
Figure 5. Flowchart of signal harmonic parameter calculation.
Figure 5. Flowchart of signal harmonic parameter calculation.
Energies 18 04047 g005
Figure 6. Relative frequency error and standard of frequency of each harmonic.
Figure 6. Relative frequency error and standard of frequency of each harmonic.
Energies 18 04047 g006
Figure 7. Relative amplitude error and standard of amplitude of each harmonic.
Figure 7. Relative amplitude error and standard of amplitude of each harmonic.
Energies 18 04047 g007
Figure 8. Relative initial phase error and standard of initial phase of each harmonic.
Figure 8. Relative initial phase error and standard of initial phase of each harmonic.
Energies 18 04047 g008
Figure 9. Harmonic analysis results by FFT and results by the proposed method.
Figure 9. Harmonic analysis results by FFT and results by the proposed method.
Energies 18 04047 g009
Table 1. Properties of five typical window functions.
Table 1. Properties of five typical window functions.
Type of WindowWidth of Main LobeSide Lobe Level/dBSide Lobe Attenuation Rate/(dB/oct)
Hamming8 π /N−436
Hanning π /N−3218
Blackman12 π /N−5818
Blackman–Harris16 π /N−926
Nuttall16 π /N−8330
Table 2. Analog signal amplitude, frequency, and initial phase.
Table 2. Analog signal amplitude, frequency, and initial phase.
Signal ComponentsAmplitude/VFrequency/HzInitial Phase/(°)
153015
22205045
3105250
475580
510100150
65150100
7620030
8525090
Table 3. The simulation results by the proposed algorithm.
Table 3. The simulation results by the proposed algorithm.
Signal ComponentsAmplitude/VFrequency/HzInitial Phase/(°)
15.003729.998915.3326
2219.990750.000045.0223
310.050851.998351.5665
47.043955.000180.3867
59.994499.9989149.9650
65.0057149.9964100.3381
75.9898199.997930.0387
85.0131249.999390.9629
Table 4. Comparison of algorithm running results and duration.
Table 4. Comparison of algorithm running results and duration.
AlgorithmsResolutionSampling PointsRunning Time/ms
Blackmanincomplete12807.31
Hanningincomplete12807.35
Hammingincomplete12807.30
ZoomFFTcomplete12,80051.65
Proposedcomplete128012.41
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

Xiao, X.; Zhao, L.; Zhou, S.; Liu, H.; Fu, Z.; Hu, D. Harmonic and Interharmonic Measurement Method Using Two-Fold Compound Convolution Windows and Zoom Fast Fourier Transform. Energies 2025, 18, 4047. https://doi.org/10.3390/en18154047

AMA Style

Xiao X, Zhao L, Zhou S, Liu H, Fu Z, Hu D. Harmonic and Interharmonic Measurement Method Using Two-Fold Compound Convolution Windows and Zoom Fast Fourier Transform. Energies. 2025; 18(15):4047. https://doi.org/10.3390/en18154047

Chicago/Turabian Style

Xiao, Xiangui, Lei Zhao, Shengjun Zhou, Haijun Liu, Zhong Fu, and Dan Hu. 2025. "Harmonic and Interharmonic Measurement Method Using Two-Fold Compound Convolution Windows and Zoom Fast Fourier Transform" Energies 18, no. 15: 4047. https://doi.org/10.3390/en18154047

APA Style

Xiao, X., Zhao, L., Zhou, S., Liu, H., Fu, Z., & Hu, D. (2025). Harmonic and Interharmonic Measurement Method Using Two-Fold Compound Convolution Windows and Zoom Fast Fourier Transform. Energies, 18(15), 4047. https://doi.org/10.3390/en18154047

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