Next Article in Journal
Numerical Investigation of Flow through a Valve during Charge Intake in a DISI -Engine Using Large Eddy Simulation
Previous Article in Journal
A Composite Strategy for Harmonic Compensation in Standalone Inverter Based on Linear Active Disturbance Rejection Control
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Minimum Side-Lobe Optimization Window Function and Its Application in Harmonic Detection of an Electricity Gird

1
College of Electrical Engineering & New Energy, China Three Gorges University, Yichang 443002, China
2
Hubei Provincial Key Laboratory for Operation and Control of Cascaded Hydropower Station, China Three Gorges University, Yichang 443002, China
3
Department of Electrical and Computer Engineering, Curtin University, Perth, WA 6102, Australia
*
Author to whom correspondence should be addressed.
Energies 2019, 12(13), 2619; https://doi.org/10.3390/en12132619
Submission received: 8 May 2019 / Revised: 9 June 2019 / Accepted: 4 July 2019 / Published: 8 July 2019

Abstract

:
Several window functions are currently applied to improve the performance of the discrete Fourier transform (DFT) harmonic detection method. These window functions exhibit poor accuracy in measuring the harmonic contents of a signal with high-order and weak-amplitude components when the power frequency fluctuates within a small range. In this paper, a minimum side-lobe optimization window function that is aimed at overcoming the abovementioned issue is proposed. Moreover, an improved DFT harmonic detection algorithm based on the six-term minimum side-lobe optimization window and four-spectrum-line interpolation method is proposed. In this context, the minimum side-lobe optimization window is obtained by optimizing the conventional cosine window function according to the optimization rules, and the characteristics of the new proposed window are provided to analyze its performance. Then, the proposed optimization window function is employed to improve the DFT harmonic detection algorithm based on the six-term minimum side-lobe optimization window and four-spectrum-line interpolation method. The proposed technique is used to detect harmonics of an electricity gird in which the six-term minimum side-lobe optimization window is utilized to eliminate the influence of spectrum leakage caused by nonsynchronous sampling of signal processing. The four-spectrum-line interpolation method is employed to eliminate or mitigate the fence effect caused by the inherent measurement error of the DFT method. Simulation experiments in two complex conditions and an experiment test are carried out to validate the improved performance of the proposed window. Results reveal that the six-term minimum side-lode optimization window has the smallest peak side lobe when compared with existing windows, which can effectively reduce the interaction influence of spectrum leakage, improve the measurement accuracy of the DFT harmonic detection method, and meet the standard requirement of harmonic measurement in complex situations.

1. Introduction

As new energy generation technology is widely applied to the electricity grid via the power electronics interface, power quality has become a significant issue with the continuous increase in voltage and current harmonics [1,2,3]. In addition to their adverse impact on power quality, complex harmonics introduce significant current and voltage measurement errors and have threatening impacts on the security and stability of electricity gird [4,5,6,7,8]. Therefore, a prioritized task on the agenda of electricity utilities is to detect harmonics accurately as a first step to adopt cost-effective measures to eliminate harmonic pollution.
The conventional discrete Fourier transform (DFT) harmonic detection method is widely used in practical applications as it is easily embedded into the harmonic measurement system in power grids [8,9,10]. However, during the procedure of signal processing sampling, the harmonic signal is cut off into constant length ones. Because of the influence of power grid frequency fluctuation, the process of DFT exhibits incomplete period cutoff and nonsynchronous sampling, which results in spectrum leakage that causes inaccuracy in the harmonic measurement [11,12,13]. Moreover, as the DFT harmonic detection method obtains the frequency spectrum in the discrete frequency domain after processing the signal dispersion, the fluctuation of power frequency makes it difficult to coincide with the true frequency spectrum of the harmonic signal, which leads to a measurement error referred as the fence effect [14,15].
The method of applying a window function to weaken the spectrum leakage and reduce the spectrum interference between harmonic signals has been proposed in the literature [16,17,18]. Conventional window functions adopted in the practical applications include Hanning window, Blackman window, and Blackman–Harris window [19,20,21]. However, the conventional window functions show poor performance in measuring the harmonic signal with high-order and weak-amplitude components. Employing spectrum-line interpolation methods such as the double-spectrum-line interpolation method can reduce the measurement error caused by the fence effect. This method is based on calculating a correcting frequency deviation by weighting the highest and sub-high spectrum lines near the peak point in the frequency domain and then adjusting the amplitude, phase, and frequency, so as to decrease the influence of the fence effect [22,23]. A synopsis of the harmonic detection methods proposed in the literature, depending on the type of analysis, is presented in Table 1.
In this paper, a minimum side-lobe optimization new window function aimed at enhancing the accuracy of harmonic detection is introduced. The paper is structured as follows: In Section 2, a minimum side-lobe optimization window function is proposed and analyzed. In Section 3, an improved DFT harmonic detection algorithm based on the six-term minimum side-lobe optimization window and four-spectrum-line interpolation method is elaborated throughout its application to detect harmonics of an electricity grid. Two simulations in complex conditions are carried out to validate the feasibility of the proposed algorithm in Section 4 and the experiment test is implemented in Section 5. Finally, conclusions are drawn in Section 6 and an Abbreviation table that shows the abbreviations in the article is presented in Abbreviations.

2. Proposed Minimum Side-Lobe Optimization Window

2.1. Optimization Rules of the Minimum Side-Lobe Optimization Window

The combined cosine window function is used to reduce the influence of spectrum leakage. The time domain mathematical expression of the combined cosine window function can be written as:
w M ( t ) = i = 0 K 1 ( 1 ) i a i cos ( 2 π i t / N ) ,
where K is the highest term of the combined cosine window function, a i is the coefficient of the window function, and N is the sampling point.
The n-order derivative of Equation (1) is:
w M n ( t ) = ( 2 π ) n i = 0 K 1 i n a i cos ( 2 π i t / N + π n / 2 ) .
The performance of the combined cosine window is determined by the width of the main lobe and the peak value of the side lobe. When the main-lobe width of the window becomes smaller, the frequency resolution becomes larger; the small peak value of the side lobe improves the performance of the side lobe of the window and the spectrum leakage suppression ability.
Therefore, in order to optimize the side-lobe performance of the combined cosine window function, the following procedure will be adopted. In order to obtain the minimum side-lobe value, the following two rules are applied:
Rule 1. The coefficients of the combined cosine window function must sum up to unity, i.e.,
i = 0 K 1 a i = 1 .
Rule 2. In order to obtain the smallest side-lobe value among the combined cosine window with the same terms, zero points must be added to the first to fifth side lobe of the window function in the frequency domain. Meanwhile, it is necessary to make the n-order derivative of the combined cosine window function continuous. According to this rule, a constraint condition can be written as:
i = 0 K 1 ( 1 ) i i n a i = 0 .
From Equations (3) and (4), it can be revealed that the performance of the window function is determined by the term of the combined cosine window ( K ), the coefficient of the window function ( a i ), and the derivative order ( n ). When the term of the cosine window function increases, the side-lobe value decreases but the width of the main lobe also increases consequently. Therefore, the number of the cosine window terms should not be too large, generally it is taken as K = 1 ~ 6 .
For K = 1 ~ 6 and based on the constraint equations, the minimum side-lobe value of the cosine window can be obtained. Therefore, it can be called as minimum side-lobe optimization window (MSOW). The window function coefficient can be worked out as shown in Table 2, and when K = 1 , the window is called a rectangular window.

2.2. Performance Analysis of the Minimum Side-Lobe Optimization Window

Discrete Fourier transform is applied to Equation (1) and the frequency domain function can be written as:
W M ( ω ) = i = 0 K 1 ( 1 ) i a i 2 ( R ( ω 2 π i N ) + R ( ω + 2 π i N ) ) ,
where R ( ω ) = sin ( ω N / 2 ) sin ( ω / 2 ) e j N 1 2 ω is the frequency domain function of the rectangular window. Therefore, the logarithmic amplitude–frequency characteristic function can be obtained as:
W M ( d B ) ( ω ) = 20 lg | W M ( ω ) W M ( 0 ) | .
In order to analyze the time and frequency domain characteristics of the minimum side-lobe optimization window, the window coefficients in Table 2 are substituted into Equations (5) and (6) to obtain its logarithmic amplitude–frequency characteristic. The time domain and frequency domain characteristics of the minimum side-lobe optimization window are shown in Figure 1. Based on the expressions of the minimum side-lobe optimization window, the side-lobe value and main-lobe width are derived and summarized in Table 3.
The side-lobe characteristics of the six-term minimum side-lobe optimization window are compared with the existing six-term combined cosine window, which is shown in Figure 2a. In order to validate the improved side-lobe performance of the six-term minimum side-lobe optimization window, conventional windows such as Hamming window, Blackman window, Nuttall window, and the comparison of spectrum characteristics are shown in Figure 2b.
From the window characteristic study of the proposed minimum side-lobe optimization window and the existing conventional windows, the conclusions can be obtained as:
(1)
As can be seen from Figure 1b, the side-lobe peak value of the MSOW decreases significantly as the term of the window increases, but with the increase of the main-lobe width, which will reduce the frequency resolution. Therefore, the number of the window term cannot be large. The frequency resolution of the six-term MSOW can meet the standard requirement of harmonic measurement. Thus, the six-term MSOW is adopted and applied in harmonics analysis in complex situations with high-order and weak-amplitude in the power gird.
(2)
As can be seen from Figure 2a, the side-lobe peak value of the six-term MSOW is −153 dB, while that of the six-term conventional cosine window is −88 dB, which proves that the side-lobe peak value can be significantly reduced after window optimization. Besides, the two windows in Figure 2a have the same main-lobe width, so it has no influence on the frequency resolution after window optimization.
(3)
As can be seen from Figure 2b, the side-lobe peak value of the six-term MSOW is smaller than that of the conventional Hamming window, Blackman window, and Nuttall window. The spectrum leakage of the six-term MSOW is smaller than that of the other three windows and the spectrum information is concentrated in the main-lobe region, which can significantly suppress the mutual interference of spectrum leakage between harmonics.

3. Proposed Improved DFT Harmonic Detection Algorithm

According to the proposed minimum side-lobe optimization window, an improved DFT harmonic detection algorithm based on the six-term minimum side-lobe optimization window and four-spectrum-line interpolation method is proposed and presented in this section. The principle of the proposed algorithm and the derivation process of harmonic parameters are described and elaborated below.

3.1. Principle of Proposed Improved DFT Harmonic Detection Algorithm

A harmonic signal in the electricity gird in time-domain form is given as:
x ( n ) = m = 1 M A m sin ( 2 π n f m / f s + φ m ) ,
where M is the highest order of harmonic contents in the signal x(n) and f s is the sampling frequency. A m , φ m , and f m are, respectively, the amplitude, phase, and frequency of the m-th harmonic.

3.1.1. Procedure 1: Process of Windowed DFT

Step 1. Add the proposed six-term MSOW: The given signal x ( n ) is processed by adding the proposed six-term MSOW, and the time-domain function after adding the six-term MSOW can be expressed as:
x M ( n ) = x ( n ) w M ( n ) .
Step 2. Process of DFT: Discrete Fourier transform (DFT) is applied to Equation (8) to obtain its frequency-domain function, which is expressed as in Equation (9), where Δ f denotes the frequency resolution, Δ f = f s / N . Because the signal x M ( n ) is a real singular function and its discrete Fourier transform is an imaginary singular function, there are also existing spectrum lines at the corresponding negative frequency points. Therefore, the side-lobe effect at the negative frequency points can be neglected for analysis and Equation (9) can be simplified as in Equation (10).
X M ( λ ) = m = 1 M A m 2 j [ e j φ m W M ( λ f m / Δ f ) e j φ m W M ( λ + f m / Δ f ) λ = 0 , 1 , , N 1 ,
X M ( λ ) = m = 1 M A m 2 j e j φ m W M ( λ f m / Δ f ) λ = 0 , 1 , , N 1 .
The influence of the other harmonics on the m-th harmonic can be neglected here in order to analyze the principle of the proposed algorithm, and thus Equation (10) can be simplified as in Equation (11). Where, W M ( λ ) is the discrete frequency-domain function of the six-term MSOW, which can be expressed as in Equation (12). The absolute values of Equations (11) and (12) are shown in Equations (13) and (14), respectively.
X M ( λ ) = A m 2 j e j φ m W M ( λ f m / Δ f ) λ = 0 , 1 , , N 1 ,
W M ( λ ) = N π sin ( π λ ) e j π N λ e j π λ i = 0 i = 5 ( 1 ) i a i λ λ 2 i 2 .
| X M ( λ ) | = A m 2 | W M ( λ f m / Δ f ) | ,
| W M ( λ ) | = N π | sin ( π λ ) i = 0 i = 5 ( 1 ) i a i λ λ 2 i 2 | .

3.1.2. Procedure 2: Process of Four-Spectrum-Line Interpolation Method

During the process of DFT, the nonsynchronous signal sampling causes the fence effect, which leads to a significant harmonic measurement error. Therefore, it is difficult for the detection frequency of the m-th harmonic to be just equal to the real value at the integer frequency point as λ m = f m / Δ f is not an integer number. For example, in Figure 3 which gives the schematic diagram of harmonic signal spectrum, λ m is usually not equal to 10, 10 < λ m < 11 .
The double-line interpolation method has been proposed to decrease the influence of the fence effect [24]. Applying the double-line interpolation method, the harmonic parameters can be corrected by weighting the maximum and sub-maximum lines near the peak point of the m-th harmonic frequency, in which the maximum and sub-maximum line is close to the actual frequency point. However, the double-line interpolation method has a disadvantage as it considers the two spectrum lines near the peak point while ignoring the abundant spectrum information near the actual frequency point. Thus, it exhibits poor harmonic measurement accuracy when measuring harmonic signals with high order and weak amplitude. Therefore, in this paper, a four-spectrum-line interpolation method is proposed, which takes full account of the spectrum information. The process of the four-spectrum-line interpolation method is presented in the below steps.
Step 1. Build up the correlation between the frequency offset ( β ) and the four spectrum lines expression ( α ).
Figure 3 gives the schematic diagram of harmonic signal spectrum. First, the peak frequency point of the m-th harmonic is set as λ m , its corresponding adjacent four spectrum lines are λ m 1 , λ m 2 , λ m 3 , and λ m 4 , and the amplitudes of the four spectrum lines are, respectively, y m 1 = | X M ( λ m 1 ) | , y m 2 = | X M ( λ m 2 ) | , y m 3 = | X M ( λ m 3 ) | , and y m 4 = | X M ( λ m 4 ) | . Where, the position relationship of the four spectrum lines is λ m 1 < λ m 2 < λ m 3 < λ m 4 , in which λ m 2 = λ m 1 + 1 , λ m 3 = λ m 2 + 1 , and λ m 4 = λ m 3 + 1 .
The frequency offset is set as β = λ m λ m 2 0.5 , where the range of β is β [ 0.5 , 0.5 ] , and the four spectrum lines expression α is set as:
α = ( y m 3 + y m 4 ) ( y m 1 + y m 2 ) y m 1 + y m 2 + y m 3 + y m 4 ,
α = ( | W M ( β + 0.5 ) | + | W M ( β + 1.5 ) | ) ( | W M ( β 0.5 ) | + | W M ( β 1.5 ) | ) | W M ( β + 0.5 ) | + | W M ( β + 1.5 ) | + | W M ( β 0.5 ) | + | W M ( β 1.5 ) | .
Substituting Equation (13) into Equation (15), the relationship in Equation (16) can be derived. Then, the correlation between the frequency offset ( β ) and the four spectrum lines expression ( α ) can be built up. From the above, it can be revealed that α is a function of β , which can be denoted as α = l ( β ) .
Step 2. Resolve out the frequency offset ( β ) via mathematical curve fitting method.
The key step of the four-spectrum-line interpolation method is to resolve out the frequency offset β , so that α = l ( β ) can be transformed into its inverse function as β = l 1 ( α ) = L ( α ) . In order to carry out the frequency offset β , mathematical curve fitting method is applied. Generally, the curve fitting times are set to seven, so the fitting polynomial can be set as in Equation (17). Finally, the expression of the frequency offset ( β ) can be resolved by providing the data and the mathematical curve fitting using MATLAB.
β = g 7 α 7 + g 5 α 5 + g 3 α 3 + g 1 α .
The process of using the mathematical curve fitting method to acquire the expression of β is described as follows. First, 1000 values of β in the interval of [−0.5, 0.5] are taken according to a step size of 0.001. Second, the 1000 values of β are substituted into Equation (16) to get the corresponding 1000 values of α . Third, using the mathematical curve fitting method by substituting the given 1000 values of α and β into Equation (17) in MATLAB, the frequency offset of the proposed improved DFT harmonic detection algorithm based on the six-term MSOW and four-spectrum-line interpolation method can be obtained as β 6 M S O W , as presented in the below equation.
β 6 M S O W = 0.227708 α 7 + 0.318904 α 5 + 0.598017 α 3 + 2.161989 α .
Step 3. Resolve out the correction coefficient of the m-th harmonic amplitude parameter ( H ( β ) ) via mathematical curve fitting method.
From Equation (13), the amplitude of the m-th harmonic ( A m ) is expressed as A m = 2 | X M ( λ ) | | W M ( λ f m / Δ f ) | . The two-spectrum lines ( λ m 2 , λ m 3 ) near the peak frequency point should be given more proportion as they have more spectrum information. In this paper, the proportion of the four spectrum lines is set as: y m 1 : y m 2 : y m 3 : y m 4 = 1 : 3 : 3 : 1 . Therefore, by employing the four-spectrum-line interpolation method, the amplitude parameter can be written as:
A m = 2 ( y m 1 + 3 y m 2 + 3 y m 3 + y m 4 ) | W M ( β 1.5 ) | + 3 | W M ( β 0.5 ) | + 3 | W M ( β + 0.5 ) | + | W M ( β + 1.5 ) | .
A m can be expressed as A m = ( y m 1 + 3 y m 2 + 3 y m 3 + y m 4 ) H ( β ) / N . Thus, the problem to resolve out the amplitude ( A m ) can be changed into resolving out H ( β ) that is given by:
H ( β ) = 2 N | W M ( β 1.5 ) | + 3 | W M ( β 0.5 ) | + 3 | W M ( β + 0.5 ) | + | W M ( β + 1.5 ) | .
In order to carry out H ( β ) , mathematical curve fitting method is employed, and the fitting polynomial is set as in Equation (21). H ( β ) can be resolved out by providing the data and using the mathematical curve fitting method.
H ( β ) = g 6 β 6 + g 4 β 4 + g 2 β 2 + g 0 .
The process of using the mathematical curve fitting method to acquire the expression of H ( β ) is presented as follows. First, 1000 values of β are taken from −0.5 to 0.5 based on a step size of 0.001. Second, the 1000 values of β are substituted into Equation (20) to get the corresponding 1000 values of H ( β ) . Third, applying the mathematical curve fitting method by substituting the given 1000 values of β and H ( β ) into Equation (21) in MATLAB, the expression of H ( β ) can be obtained as H 6 M S O W ( β ) , as presented in the equation below.
H 6 M S O W ( β ) = 0.001247 β 6 + 0.018075 β 4 + 0.187218 β 2 + 1.012911 .
Step 4: Resolve out harmonic parameter of amplitude ( A m ), phase ( φ m ), and frequency ( f m ).
The amplitude, phase, and frequency parameters of the m-th harmonic can be estimated as:
A m = ( y m 1 + 3 y m 2 + 3 y m 3 + y m 4 ) H ( β ) / N ,
φ m = arg [ X M ( λ m 2 ) ] π β ,
f m = ( λ m 2 + β + 0.5 ) f s / N .
The flow chart of the proposed improved DFT harmonic detection algorithm is shown in Figure 4.

4. Simulation Analysis

4.1. Detection of Harmonic Parameters with High-Order and Weak-Amplitude Components

The signal in a practical electricity gird not only contains the fundamental wave frequency component, but also high-order harmonic components with small amplitudes that are vulnerable to other harmonics with larger amplitude. The existing window functions exhibit poor performance in suppressing spectrum leakage, resulting in low measurement accuracy under the complex harmonic condition with high-order and weak-amplitude harmonic components. In order to validate the feasibility of the proposed improved algorithm in measuring high-order harmonics, a simulation is carried out, with a signal consisting of 21 harmonic orders is used as an example.
The signal with 21 harmonic orders is given as:
x ( n ) = m = 1 21 A m sin ( 2 π m n f 0 / f s + φ m ) ,
where the fundamental frequency is set as f 0 = 50.1 Hz , the sampling frequency is set as f s = 5120 Hz , the sampling length is set as N = 1024 , and other signal parameters are given in Table 4. As shown in Table 4, the fundamental wave amplitude is 220 V, which is 3666 times the 16th harmonic order, 5500 times the 18th harmonic order, 44,000 times the 20th harmonic order, and 22,000 times the 21st harmonic order. Thus, the high-order harmonics are particularly vulnerable to other harmonics, which will affect the accuracy of harmonic measurement.
In the simulation, three conventional windows used to reduce the effect of spectrum leakage are given for comparison. These windows are the Blackman window (Bl-W), the Blackman–Harris window (BH-W), and the Nuttall window (Nut-W). The correction equations of the three windows adopting the four-spectral-line interpolation method can be given as in Equations (27)–(29). The simulation is carried out by applying the proposed six-term MSOW, the Bl-W, the BH-W, and the Nut-W. The results are shown in Table 5 and Table 6, which show the amplitude and phase measurement relative error.
{ β B l W = 0.134895 α 7 + 0.134895 α 5 + 0.317562 α 3 + 1.208942 α H B l W ( β ) = 0.003909 β 6 + 0.034459 β 4 + 0.227781 β 2 + 0.810404
{ β B H W = 0.166682 α 7 + 0.218168 α 5 + 0.418306 α 3 + 1.549075 α H B H W ( β ) = 0.002452 β 6 + 0.026545 β 4 + 0.210659 β 2 + 0.887492
{ β N u t W = 0.165897 α 7 + 0.227507 α 5 + 0.444577 α 3 + 1.705991 α H N u t W ( β ) = 0.002068 β 6 + 0.023970 β 4 + 0.203461 β 2 + 0.917860
According to the amplitude relative error in Table 5, it can be seen that, compared with the three-comparison groups of Bl-W, BH-W, and Nut-W, the proposed MSOW reveals the most improved performance in terms of measurement accuracy. The range of the amplitude relative error of MSOW is about 5.34 × 10−8~1.50 × 10−11%. In particular for the high-order and weak-amplitude harmonics (the 20th harmonic), the amplitude relative error of Bl-W is 0.001% while the proposed MSOW is 5.34 × 10−8%. Moreover, from the phase relative error in Table 6, it can be observed that the phase relative error of the proposed MSOW is about 5.59 × 10−5~3.16 × 10−8% while the other three windows exhibit high measurement error.
In conclusion, from the simulation data in Table 5 and Table 6, the proposed improved DFT harmonic detection algorithm based on the six-term MSOW and four-spectrum-line interpolation method has higher measurement accuracy than existing window techniques and is suitable for parameter estimation of high-order and weak-amplitude harmonic components in an electricity grid.

4.2. Detection of Harmonic Parameters in the Condition of Frequency Fluctuation

It is known that the fundamental frequency of the practical electricity grid is subject to fluctuation, which causes interference of the harmonics. This is more observable in the high-order and weak-amplitude harmonic signal that is easily affected by large-amplitude harmonics causing serious spectrum leakage in the condition of fundamental frequency fluctuation.
In order to validate the feasibility of the proposed six-term MSOW and the proposed improved algorithm in the condition of power frequency fluctuation, a simulation was carried out with a frequency fluctuation set to 49.5~50.5 Hz. The simulation signal adopts the preceding in Equation (26). In this simulation, the proposed improved six-term MSOW and the Nuttall window were adopted to calculate the measurement accuracy, in which the Nuttall window was used for comparison. Figure 5 shows the measurement error of the Nuttall window and Figure 6 depicts the measurement error of the proposed improved six-term MSOW.
As can be seen from Figure 5, when the fundamental frequency fluctuates between 49.5 and 50.5 Hz, the amplitude and phase measurement errors of the Nuttall window increase dramatically, especially for the high-order and weak-amplitude harmonics. In such case, the relative error of the amplitude is 10−2% and the relative error of the phase is 1.2%, which will not meet the requirements of the harmonic measurement standard of an electricity grid [25]. As can be seen from Figure 6, when the frequency fluctuates to 45.5~45.6 or 50.4~50.5 Hz, the measurement error of the amplitude and phase of high-order harmonics increases but can still meet the requirements of harmonic measurement standard. On the other hand, when the frequency fluctuates to 45.7~50.3 Hz, the measurement error of harmonic parameters is quite small which can also meet the requirements of the harmonic measurement standard.
In conclusion, simulation results reveal the improved performance of the proposed six-term MSOW and the proposed improved algorithm when the frequency fluctuates around the power frequency from 49.5 to 50.5 Hz. As shown in Figure 6, the measurement error of the amplitude and phase parameters are about 10−5% and 10−3%, respectively, which meet the requirement of the harmonic measurement in a practical power grid.

5. Experiment Analysis

In the practical power gird, the harmonic detection is influenced by many factors. Therefore, it is meaningful and significant to carry out an experiment test, in order to validate the practical application of the proposed six-term MSOW and the improved DFT harmonic detection algorithm. In the experiment, the conventional Blackman–Harris window was used for comparison.
In this experiment, the harmonic detection system consisted of a standard power source FLUKE6105A and a signal capture card. The signal with fundamental and harmonic components was generated from the FLUKE6105A standard power source, and the signal capture card was used for signal acquisition. The fundamental frequency of the signal was set to 50.1 Hz, and the number of sampling points was 1024. In the test results, the harmonic parameters set by the standard power source are regarded as true values, and the value measured by the DFT harmonic algorithm is regarded as the measurement value. Comparing the measurement value and the true value, the amplitude parameter is set as relative error, and the phase parameter is set as absolute error for which the unit is set as minute for apparent comparison. Only the results of the first to the seventh harmonic measurements are presented in Table 7.
It can be seen from the data in Table 7 that the proposed six-term MSOW is more accurate than the conventional Blackman–Harris window in terms of amplitude parameter and phase parameter measurement. In particular, for the measurement of the amplitude parameter, the maximum relative error of the six-term MSOW was 0.018%, while the Blackman–Harris window had a maximum measurement error of 0.092%. For the measurement of the phase parameter, the maximum error of the six-term MSOW was 14.0’, while that of the Blackman–Harris window was 15.1’. In conclusion, the experiment test verified that the proposed six-term MSOW and the improved DFT harmonic detection algorithm had improved performance in terms of harmonic detection in practical application.

6. Conclusions

In this paper, the constraints of minimizing the minimum side-lobe optimization window are established by optimizing the parameters of the combined cosine window. According to the optimizing process, a minimum aide-lobe optimization window is derived and proposed to reduce the influence of the spectrum leakage. In addition, an improved DFT harmonic detection algorithm based on the six-term minimum side-lobe optimization window and the four-spectrum-line interpolation method is proposed to improve the harmonic measurement accuracy for harmonic signal with high-order and weak-amplitude components, and when the power frequency fluctuates within a small range. Theoretical analysis, numerical simulation, and experiment test reveal that:
(1)
The proposed minimum side-lobe optimization window has the smallest side-lobe value compared with the cosine windows with the same terms. Besides, the proposed six-term minimum side-lobe optimization window has the smallest side-lobe peak compared with the existing conventional windows, which can effectively suppress the interaction of spectrum leakage and improve the measurement accuracy of the DFT harmonic detection method.
(2)
The simulation under complex harmonic condition proves that the proposed minimum side-lobe optimization window and the proposed improved DFT harmonic detection algorithm for harmonic analysis in an electricity grid exhibit higher measurement accuracy, can resist the influence of frequency fluctuation of the electricity grids, and can meet the standards of harmonic measurement under complex conditions.
With the wide application of nonlinear loads in the power grid, the issue of harmonic pollution caused by nonlinear loads has attracted the attention of researchers, and harmonic detection is the first step for harmonic research and harmonic elimination. Therefore, the measurement of harmonic parameters is of great significance for ensuring the safe and stable operation of the power grid, power quality evaluation, and power measurement. The existing windows and spectrum-line interpolation methods have a limitation in measuring the harmonic contents of a signal with high-order and weak-amplitude components when the power frequency fluctuates within a small range. Thus, the proposal of the MSOW and its practical application in harmonic detection is significantly crucial in power girds.
Theoretical analysis, simulation, and experiment test have shown that the proposed MSOW and the improved DFT algorithm based on six-term MSOW and four-spectrum-line interpolation method have improved performance to analyze harmonics in an electricity grid. Employing the proposed improved DFT algorithm, higher measurement accuracy can be achieved, and the influence of frequency fluctuation of the electricity grids can be reduced greatly. Thus, the issue of harmonic pollution in practical application of power girds caused by nonlinear loads can be greatly improved or ameliorated, and the power quality and power energy loss caused by the inaccurate harmonic detection can be strongly reduced or decreased.

Author Contributions

Z.L. provided the main idea for this paper, designed the proposed minimum side-lobe optimization window and the proposed improved algorithm and wrote the paper. T.H. and A.A.-S. conducted the test data collection and designed the simulation.

Funding

This research was funded by [National Natural Science Foundation of China], grant number [51507091], and [Master’s Degree Paper Foundation of China Gorges University in 2019], grant number [2019SSPY052].

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

DFTDiscrete Fourier transform
CDFTConventional discrete Fourier transform harmonic detection method
WDFTWindowed discrete Fourier transform harmonic detection method
SDFTSpectrum-line interpolation discrete Fourier transform harmonic detection method
MSOWMinimum side-lobe optimization window
Bl-WBlackman window
BH-WBlackman–Harris window
Nut-WNuttall window

References

  1. Taskovski, D.; Koleva, L. Measurement of harmonics in power systems using near perfect reconstruction filter banks. IEEE Trans. Power Deliv. 2012, 27, 1025–1026. [Google Scholar] [CrossRef]
  2. Nguyen, A.; Bui, V.; Hussain, A.; Nguyen, D.; Kim, H. Impact of demand response programs on optimal operation of multi-microgrid system. Energies 2018, 11, 1452. [Google Scholar] [CrossRef]
  3. Li, Z.; Tao, Y.; Abu-Siada, A.; Masoum, M.A.S.; Li, Z.; Xu, Y. A new vibration testing platform for electronic current transformers. IEEE Trans. Instrum. Meas. 2019, 68, 704–712. [Google Scholar] [CrossRef]
  4. López-Martín, V.M.; Azcondo, F.J.; Pigazo, A. Power quality enhancement in residential smart grids through power factor correction stages. IEEE Trans. Ind. Electron. 2018, 65, 8553–8564. [Google Scholar] [CrossRef]
  5. Mcbee, K.D.; Simoes, M.G. Evaluating the long-term impact of a continuously increasing harmonic demand on feeder-level voltage distortion. IEEE Trans. Ind. Appl. 2014, 50, 2142–2149. [Google Scholar] [CrossRef]
  6. Yang, N.; Huang, Y.; Hou, D.; Liu, S.; Ye, D.; Dong, B.; Fan, Y. Adaptive nonparametric kernel density estimation approach for joint probability density function modeling of multiple wind farms. Energies 2019, 12, 1356. [Google Scholar] [CrossRef]
  7. Wu, Z.; Jiang, B.; Kao, Y. Finite-time H∞ filtering for Itô stochastic Markovian jump systems with distributed time-varying delays based on optimisation algorithm. IET Control Theory Appl. 2019, 13, 702–710. [Google Scholar] [CrossRef]
  8. Reljin, I.S.; Reljin, B.D.; Papic, V.D. Extremely flat-top windows for harmonic analysis. IEEE Trans. Instrum. Meas. 2007, 56, 1025–1041. [Google Scholar] [CrossRef]
  9. Orallo, C.M.; Carugati, I.; Maestri, S.; Donato, P.G.; Carrica, D.; Benedetti, M. Harmonics measurement with a modulated sliding Discrete Fourier Transform algorithm. IEEE Trans. Instrum. Meas. 2014, 63, 781–793. [Google Scholar] [CrossRef]
  10. Jin, T.; Chen, Y.; Flesch, R.C.C. A novel power harmonic analysis method based on Nuttall-Kaiser combination window double spectrum interpolated FFT algorithm. J. Electr. Eng. 2017, 68. [Google Scholar] [CrossRef]
  11. Ree, D.L.; Centeno, V.C.; Thorp, J.S.; Phadke, A.G. Synchronized phasor measurement applications power systems. IEEE Trans. Smart Grid 2010, 25, 20–27. [Google Scholar] [CrossRef]
  12. Radil, T.; Ramos, P.M.; Serra, A.C. Spectrum leakage correction algorithm for frequency estimation of power system signals. IEEE Trans. Instrum. Meas. 2009, 58, 1670–1679. [Google Scholar] [CrossRef]
  13. Barros, J.; Diego, R.I. On the use of the Hamming window for harmonic analysis the standard frame-work. IEEE Trans. Power Deliv. 2006, 21, 538–539. [Google Scholar] [CrossRef]
  14. Lin, H.C.; Liu, L.Y. DFT-based recursive group-harmonic energy distribution approach for power interharmonic identification. Comput. Math. Appl. 2012, 64, 1128–1139. [Google Scholar] [CrossRef] [Green Version]
  15. Jain, V.K.; Collins, W.L.; Davis, D.C. High accuracy analog measurements via interpolated FFT. IEEE Trans. Instrum. Means. 1979, 28, 113–122. [Google Scholar] [CrossRef]
  16. Zhang, F.; Geng, Z.; Yuan, W. The algorithm of interpolating windowed FFT for harmonic analysis of electric power system. IEEE Trans. Power Deliv. 2001, 16, 160–164. [Google Scholar] [CrossRef]
  17. Li, Y.; Zhao, T.; Wang, P.; Gooi, H.B.; Wu, L.; Liu, Y.; Ye, J. Optimal operation of multimicrogrids via cooperative energy and reserve scheduling. IEEE Trans. Ind. Inf. 2018, 14, 3459–3468. [Google Scholar] [CrossRef]
  18. Duda, K. DFT Interpolation algorithm for Kaiser-Bessel and Dolph-Chebyshev windows. IEEE Trans. Instrum. Meas. 2011, 2, 784–790. [Google Scholar] [CrossRef]
  19. Testa, A.; Gallo, D.; Langella, R. On the processing of harmonics and interharmonics: Using Hanning window in standard framework. IEEE Trans. Power Deliv. 2004, 19, 28–34. [Google Scholar] [CrossRef]
  20. Harris, F.J. On the use of windows for harmonic analysis with the discrete Fourier transform. Proc. IEEE 1978, 66, 51–83. [Google Scholar] [CrossRef]
  21. Qian, H.; Zhao, R.; Chen, T. Interharmonics analysis based on interpolating windowed FFT algorithm. IEEE Trans. Power Deliver. 2007, 22, 1064–1069. [Google Scholar] [CrossRef]
  22. Wen, H.; Meng, Z.; Guo, S.; Li, F.; Yang, Y. Harmonic estimation using symmetrical interpolation FFT based on triangular self-convolution window. IEEE Trans. Ind. Inform. 2014, 11, 16–26. [Google Scholar] [CrossRef]
  23. Qiu, L.; Li, Y.; Abu-Siada, A.; Xiong, Q.; Li, X.; Li, L.; Su, P.; Cao, Q. Electromagnetic force distribution and deformation homogeneity of electromagnetic tube expansion with a new concave coil structure. IEEE Access 2019. [Google Scholar] [CrossRef]
  24. Su, T.; Yang, M.; Hussain, A.; 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]
  25. Electromagnetic Compatibility (EMC)—Testing and Measurement Techniques—General Guide on Harmonics and Interharmonics Measurements and Instrumentation, for Power Supply Systems and Equipment Connected Thereto. Available online: https://infostore.saiglobal.com/store/PreviewDoc.aspx?saleItemID=2393892 (accessed on 8 May 2019).
Figure 1. Characteristic of the minimum side-lobe optimization window. (a) Time domain characteristic and (b) frequency domain characteristic.
Figure 1. Characteristic of the minimum side-lobe optimization window. (a) Time domain characteristic and (b) frequency domain characteristic.
Energies 12 02619 g001
Figure 2. Comparison of the spectrum characteristics between windows. (a) Comparison between the six-term MSOW and the six-term conventional window and (b) comparison between the six-term MSOW and the existing conventional windows.
Figure 2. Comparison of the spectrum characteristics between windows. (a) Comparison between the six-term MSOW and the six-term conventional window and (b) comparison between the six-term MSOW and the existing conventional windows.
Energies 12 02619 g002
Figure 3. Schematic diagram of harmonic signal spectrum.
Figure 3. Schematic diagram of harmonic signal spectrum.
Energies 12 02619 g003
Figure 4. Flow chart of the proposed improved discrete Fourier transform (DFT) harmonic detection algorithm.
Figure 4. Flow chart of the proposed improved discrete Fourier transform (DFT) harmonic detection algorithm.
Energies 12 02619 g004
Figure 5. Measurement error of the Nuttall window. (a) Amplitude relative error and (b) phase relative error.
Figure 5. Measurement error of the Nuttall window. (a) Amplitude relative error and (b) phase relative error.
Energies 12 02619 g005
Figure 6. Measurement error of the six-term MSOW. (a) Amplitude relative error and (b) phase relative error.
Figure 6. Measurement error of the six-term MSOW. (a) Amplitude relative error and (b) phase relative error.
Energies 12 02619 g006
Table 1. Synopsis of harmonic detection methods. CDFT—conventional discrete Fourier transform harmonic detection method; WDFT—windowed discrete Fourier transform harmonic detection method; and SDFT—spectrum-line interpolation discrete Fourier transform harmonic detection method.
Table 1. Synopsis of harmonic detection methods. CDFT—conventional discrete Fourier transform harmonic detection method; WDFT—windowed discrete Fourier transform harmonic detection method; and SDFT—spectrum-line interpolation discrete Fourier transform harmonic detection method.
MethodAdvantagesDrawbacks
CDFTWidely used in practical applications and is easy to embed into the harmonic measurement systemSignal process belongs to incomplete period cutoff and nonsynchronous sampling, and the harmonic detection accuracy is influenced by spectrum leakage and fence effect
WDFTCan weaken spectrum leakage and reduce the spectrum interference between harmonicsConventional windows show poor performance in measuring the harmonic signal with high-order and weak-amplitude components
SDFTCan reduce the measurement error caused by fence effectOnly two spectrum lines the near peak point are considered for the double-spectrum-line interpolation method but abundant spectrum information near the actual frequency point is ignored
Table 2. Coefficient of the minimum side-lobe optimization window (MSOW).
Table 2. Coefficient of the minimum side-lobe optimization window (MSOW).
K 123456
Window Coefficient1-Term MSOW2-Term MSOW3-Term MSOW4-Term MSOW5-Term MSOW6-Term MSOW
a015.3835539 × 10−14.2438009 × 10−13.6358193 × 10−13.2321538 × 10−12.9355790 × 10−1
a1----4.6164461 × 10−14.9734064 × 10−14.8917744 × 10−14.7149214 × 10−14.5193577 × 10−1
a2--------7.8279271 × 10−21.3659951 × 10−11.7553413 × 10−12.0141647 × 10−1
a3------------1.0641122 × 10−22.8496990 × 10−24.7926109 × 10−2
a4----------------1.2613571 × 10−35.0261964 × 10−3
a5--------------------1.3755557 × 10−4
Table 3. Performance of the minimum side-lobe optimization window.
Table 3. Performance of the minimum side-lobe optimization window.
WindowSide-Lobe Value/dBMain-Lobe Width
2-term MSOW−43 8 π / N
3-term MSOW−72 12 π / N
4-term MSOW−98 16 π / N
5-term MSOW−125 20 π / N
6-term MSOW−153 24 π / N
Table 4. Parameters of the simulated signal.
Table 4. Parameters of the simulated signal.
Harmonic Order (m)1234567891011
Am/V2204.410362.13.21.92.30.81.1
φm/(°)0.053960.5123−52.7146975643.1−194.1
Harmonic Order (m)12131415161718192021
Am/V0.70.850.110.060.40.040.30.0050.01
φm/(°)4010.51152553.1−132850.853−72
Table 5. Harmonic detection error of amplitude parameter with high-order and weak-amplitude component.
Table 5. Harmonic detection error of amplitude parameter with high-order and weak-amplitude component.
Amplitude Relative Error/%
m1234567891011
Bl-W7.04 × 10−53.78 × 10−42.77 × 10−57.72 × 10−51.54 × 10−86.34 × 10−54.00 × 10−51.43 × 10−46.17 × 10−56.49 × 10−43.16 × 10−4
BH-W2.17 × 10−93.07 × 10−72.23 × 10−82.41 × 10−75.99 × 10−81.66 × 10−78.01 × 10−81.89 × 10−72.38 × 10−81.82 × 10−77.14 × 10−8
Nut-W1.11 × 10−93.97 × 10−71.43 × 10−94.22 × 10−72.54 × 10−84.47 × 10−74.66 × 10−86.05 × 10−87.84 × 10−83.08 × 10−83.72 × 10−8
6-term MSOW1.50 × 10−112.96 × 10−101.92 × 10−91.87 × 10−92.30 × 10−106.78 × 10−101.99 × 10−93.47 × 10−92.11 × 10−93.66 × 10−91.64 × 10−9
m12131415161718192021
Bl-W9.58 × 10−72.90 × 10−53.17 × 10−51.60 × 10−50.0021.00 × 10−50.0012.38 × 10−40.0084.79 × 10−4
BH-W1.46 × 10−71.10 × 10−81.76 × 10−74.26 × 10−91.08 × 10−67.01 × 10−94.72 × 10−75.68 × 10−91.56 × 10−63.42 × 10−7
Nut-W8.27 × 10−81.47 × 10−75.77 × 10−73.12 × 10−93.25 × 10−63.11 × 10−81.62 × 10−65.28 × 10−97.25 × 10−64.13 × 10−8
6-term MSOW2.63 × 10−96.40 × 10−113.15 × 10−91.21 × 10−94.35 × 10−91.67 × 10−91.01 × 10−85.75 × 10−105.34 × 10−86.19 × 10−11
Table 6. Harmonic detection error of phase parameter with high-order and weak-amplitude component.
Table 6. Harmonic detection error of phase parameter with high-order and weak-amplitude component.
Phase Relative Error/%
m1234567891011
Bl-W7.04 × 10−53.78 × 10−42.77 × 10−57.72 × 10−51.54 × 10−86.34 × 10−54.00 × 10−51.43 × 10−46.17 × 10−56.49 × 10−43.16 × 10−4
BH-W1.90 × 10−53.26 × 10−52.85 × 10−72.22 × 10−62.38 × 10−66.11 × 10−66.68 × 10−62.05 × 10−51.36 × 10−54.99 × 10−55.41 × 10−6
Nut-W1.14 × 10−51.93 × 10−54.21 × 10−75.55 × 10−68.83 × 10−74.97 × 10−62.48 × 10−69.13 × 10−61.69 × 10−63.59 × 10−54.76 × 10−6
6-term MSOW1.73 × 10−61.44 × 10−73.89 × 10−84.30 × 10−86.27 × 10−83.16 × 10−87.79 × 10−82.37 × 10−72.01 × 10−73.38 × 10−81.62 × 10−6
m12131415161718192021
Bl-W9.58 × 10−72.90 × 10−53.17 × 10−51.60 × 10−50.0021.00 × 10−50.0012.38 × 10−40.0084.79 × 10−4
BH-W2.18 × 10−54.86 × 10−56.10 × 10−52.28 × 10−57.89 × 10−51.26 × 10−53.23 × 10−40.0010.0015.67 × 10−4
Nut-W4.11 × 10−67.02 × 10−66.87 × 10−61.55 × 10−61.65 × 10−41.92 × 10−77.73 × 10−54.53 × 10−55.36 × 10−47.33 × 10−5
6-term MSOW5.76 × 10−78.80 × 10−71.23 × 10−64.80 × 10−75.08 × 10−62.94 × 10−74.60 × 10−62.76 × 10−55.59 × 10−51.30 × 10−5
Table 7. Experiment measurement results.
Table 7. Experiment measurement results.
Window FunctionHarmonic Order 1234567
Blackman–HarrisAmplitude relative error/%0.0120.0320.0300.0780.0160.0920.060
Phase error/’2.13.65.215.110.514.714.0
6-term MSOWAmplitude relative error/%0.0030.0180.0040.0100.0050.0050.004
Phase error/’1.82.24.114.09.813.613.8

Share and Cite

MDPI and ACS Style

Li, Z.; Hu, T.; Abu-Siada, A. A Minimum Side-Lobe Optimization Window Function and Its Application in Harmonic Detection of an Electricity Gird. Energies 2019, 12, 2619. https://doi.org/10.3390/en12132619

AMA Style

Li Z, Hu T, Abu-Siada A. A Minimum Side-Lobe Optimization Window Function and Its Application in Harmonic Detection of an Electricity Gird. Energies. 2019; 12(13):2619. https://doi.org/10.3390/en12132619

Chicago/Turabian Style

Li, Zhenhua, Tinghe Hu, and Ahmed Abu-Siada. 2019. "A Minimum Side-Lobe Optimization Window Function and Its Application in Harmonic Detection of an Electricity Gird" Energies 12, no. 13: 2619. https://doi.org/10.3390/en12132619

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