Professional Documents
Culture Documents
Varaprasad2014 PDF
Varaprasad2014 PDF
Abstract - Fast Fourier Transform (FFT) is used to obtain leakage and picket fence effect, windowed Interpolated FFT
the Fourier spectrum of a periodic signal, but it is well known (WIFFT) algorithms have been introduced [2]-[4].
that special care must be taken to avoid severe distortions
introduced by the sampling process. The major errors Several papers in the literature presents different
associated with this algorithm are spectral leakage and picket windowed interpolation techniques used for reduction of
fence effect. This paper discusses the advancement in FFT spectral leakage and picket fence effect [6]-[13]. It is also
algorithms for harmonic analysis in power system by applying reported that the WIFFT algorithms have the advantages of
windowed interpolation techniques. It is observed that the
application of different WIFFT algorithms has different effects robustness toward signal model inaccuracies and low
on the measuring accuracy. The advanced minimized sidelobe computational effort [5], [14], [15]. It has been observed
window (MSW) algorithm has better performance that the performances of the WIFFT algorithms are mainly
characteristics when compared to the conventional hanning effected by the data windows. WIFFT can be implemented
and hamming windows adopted for harmonic analysis. By with an easy calculation formula when the classical
considering the practical harmonic data the hanning, hamming windows are used. However, when the window function is
and MSW algorithms are validated using matlab complex, the WIFFT algorithms involve solving high-order
programming. The simulation results demonstrate the
effectiveness of hanning, hamming and MSW by considering
equations on the harmonic parameter estimation. Different
the magnitude and phase angle error variations with respect to solving methods, presented in the literature suffer from
the harmonic order. complex computation [5], [13].
Keywords—Harmonic Analysis; Hamming; Hanning; The selection of a window with good sidelobe behaviour
Minimized sidelobe window (MSW); Picket Fence effect; is of immense significance for the precise harmonic analysis
Spectral Leakage; Windowed Interpolated Fast Fourier because the width of the major lobe in a window’s spectrum
Transform (WIFFT) relates to the frequency resolution, while the amplitude and
I. INTRODUCTION decay of the sidelobe determine leakage effect. The
minimized sidelobe windows (MSWs), proposed by Wen
Electrical power systems are scattering to a huge area et.al. have low-peak sidelobe levels along with high
and ample array of loads are connected to power system. sidelobe-decaying rates, to attain desirable performance for
During the planning and management of power systems, the suppression of spectral leakage [5]. Hence, this paper
precise analysis of load characteristics that are connected to analyzed the characteristic of MSW interpolated FFT
the power system is very important. Thus power system algorithm, which can greatly increase the accuracy of FFT
problems that may occur can be pre-determined and to meet the precision and its effectiveness, is verified by
precautions must be taken against them. Especially with the comparing with classical windows such as hanning and
emergent semi-conductor technology, harmonics have hamming using matlab simulation.
become one of the most popular power quality issues in
power system. Therefore, for avoiding the harmful effects of
harmonics and maintaining the secure operation of power II. HARMONIC ANALYSIS USING FFT
system, it is necessary to measure the real-time content of A. Synchronous sampling
harmonics that are present in the power system network [1].
If the signal has to be analysed is an analog signal, it
The harmonic analysis of power system is achieved by should processed through an anti aliasing filter and then
the Fast Fourier Transform (FFT). The FFT-based harmonic sample it at a rate of fs > 2B, where B is bandwidth of the
analysis can be accurate under synchronous sampling. filtered signal. Thus the highest frequency that is contained
However, it is complicated to execute exact synchronous in the sample signal is fs/2. By assuming that the Nyquist
sampling, even when using the discrete phase-locked loop frequency fmax = 1/(2Ts) is larger than all of the fh , the
technique. This is due to the fundamental frequency offset aliasing effects that arise from finite sampling rate can be
and harmonic interferences that are inevitable in practical neglected. Here, we considered the sampled multi frequency
application. Without proper synchronization, the direct use signal of length N (n = 0, 1,..., (N – 1)):
of FFT suffers major drawbacks, i.e., the spectral leakage
and picket fence effect. Hence to eliminate the spectral
∑ ( −1)
m
H am = 0. (7)
X (k ) = ∑ ⎡⎣ e
h =1
jϕ h
W f (k − kh ) − e − jϕ h
W f ( k + k h ) ⎤⎦ (3) m=0
A. Formulas of the Interpolated FFT Algorithm [5] Taking the derivative of Ip with respect to α and β setting
them to zero gives the following equation:
The complex spectrum of the lhth spectral line
representing the hth harmonic can be written as [5] ∂I L −1 ⎛ J −1 ⎞ (22)
p
= 2 ∑ ⎜⎜ ∑v j β i j − α i ⎟⎟ β i j
∂v j i=0 ⎝ j=0 ⎠
A h jϕ h
X (ξ h ) = e W M S (ξ h − k h ) (12)
2j and then the coefficients v0, v1 , ...,vJ−1 can be obtained by
for ξ h = 0,1, ......, N − 1. solving (22). The order J of the polynomial α = S(β) should
As mentioned above, suppose the two maximum be determined according to the accuracy requirement. Once
amplitude spectral lines corresponding to the hth harmonic α is calculated, the parameters fh , Ah , and h of the signal
are obtained at lh1 and lh2 (lh2 = lh1 + 1, lh1 < kh < lh2 ). can be obtained by using the following formulas
Hence y1 = |X (lh1 )| and y2 = |X (lh2 )| can be written as
k h = α + lh1 + 0.5 ( 23 )
y1 = X ( lh1 ) = Ah · WMS ( 2π ( lh1 − kh ) / N ) (13)
f h = kh f s / N ( 24 )
y2 = X ( lh2 ) = Ah · WMS ( 2π ( lh2 − kh ) / N ) (14) 2 y1
Ah = ( 25 )
wMS (2 Π ( lh1 − k h ) / N
The ratio of the two magnitudes y1 and y2 can be used for
interpolated algorithm and the fractional part ζh caused by π
ϕ h = a r g ⎡⎣ X ( l h 1 ) ⎤⎦ + − a r g ⎡⎣ W M S ( l h 1 − k h ) ⎤⎦ (26)
the non synchronous sampling can thus be solved. However, 2
the solution of the fractional part ζh may include division of
polynomials. Here a polynomial-fitting procedure based on V. VALIDATION OF WIFFT ALGORITHMS USING
the least-square method is used for easy calculation. MATLAB SIMULTION
Since 0 ≤ kh − lh1 ≤ 1, here a symmetrical coefficient α
defined as To authenticate the effectiveness of the Advanced MSW
Interpolated FFT algorithm, simulations are done in
α = kh − lh1 − 0.5, for − 0.5 ≤ α ≤ 0.5 (15) MATLAB programming. The mathematical representation
Then y1 and y2 are both an even and symmetrical on α, of the simulated signal is as follows:
which can be expressed as 9
⎛ f ⎞
y1 = X (lh1 ) = Ah · WMS ( 2π ( −α + 0.5 ) / N ) (16 )
x (n ) = ∑A h sin ⎜ 2 π h 0 n + ϕ h ⎟
fs
(27)
h =1 ⎝ ⎠
y2 = X (lh 2 ) = Ah · WMS ( 2π ( −α − 0.5 ) / N ) (17 ) Where the fundamental frequency f1 is set as 50.5Hz, the
sampling frequency fs is 1500 Hz, window length N is 512,
An odd and symmetrical coefficient β as a function of α can and the value of the amplitude and phase of the fundamental
then the defined as and harmonic component are given in Table I. The
fundamental frequency can also set to 49.5Hz as there is
β = ( y2 − y1 ) / ( y2 + y1 ) . (18) +0.5 or -0.5 variations in 50Hz practically. Simulations are
done for different frequencies to observe the magnitude and
Substituting y1 and y2 into (18), β can be rewritten as phase angle errors variation with respect to the harmonic
order.
TABLE I From Fig.1. to Fig.8. shows the response of magnitude and
PRACTICAL SAMPLED SIGNAL VOLTAGE MAGNITUDE AND PHASE phase angle error variation for frequency 50.5Hz and
ANGLE 49.5Hz where Table II shows only for 50.5Hz. These results
Harmonic orders shows that based on the frequency variation there will be
Parameters considerable amount of variation in the magnitude and
1 2 3 4 5
Amplitude/V 1 0.02 0.1 0.05 0.05 phase angle errors.
Phase angle/o -23 115.6 59.3 52.4 123.8 In this simulation study hanning and hamming windows,
Harmonic orders which are common window techniques adopted for
Parameters
6 7 8 9 harmonic analysis in electrical power system are considered
Amplitude/V 0 0.02 0 0.01 to compare the performance of MSW.
Phase angle/o - -31.8 - -63.7
Fig.6. Phase angle Error plot for Hamming Window for f1=50.5Hz
Fig.8. Phase angle Error plot for Hamming Window for f1=49.5Hz
From the simulation results, the percentage relative error [11] C. Offelli and D. Petri, ‘‘Interpolation techniques for real-time
multifrequency waveform analysis,’’ IEEE Trans. on Instrum. Meas.,
of the fundamental frequency is 2.385×10-8 % for improved vol. 39, no. 1, pp. 106---111, Feb. 1990.
MSW 4(II) window function presented in this paper,
whereas the percentage relative error of the fundamental [12] D. Agrez, ‘‘Weighted multipoint interpolated FFT to improve
amplitude estimation of multifrequency signal,’’ IEEE Trans. on
frequency of MSW proposed by Wen et.al. has 1.3×10−6%. Instrum.Meas., vol. 51, no. 2, pp. 287---292, Apr. 2002.
Hence the presented MSW algorithm is more accurate than
[13] J. Wu and W. Zhao, ‘‘A simple interpolation algorithm for measuring
the previously cited MSW interpolated algorithm. multifrequency signal based on FFT,’’ IEEE Trans. on Instrum.
Meas., vol. 42, pp. 322--- 327, Feb. 2009.
VI. CONCLUSION [14] D. Belega and D. Dallet, ‘‘Frequency estimation via weighted
multipoint interpolated FFT,’’ IET Sci., Meas. Technol., vol. 2, pp. 1---
Harmonics analysis of electrical power system based on 8, Jan. 2008.
the FFT algorithm suffers from spectral leakage and picket
[15] D. Belega and D. Dallet, ‘‘Amplitude estimation by a multipoint
fence effect. To overcome these effects this paper interpolated FFT approach,’’ IEEE Trans. on Instrum. Meas., vol. 58,
demonstrated the MSW interpolated FFT algorithm for no. 5,pp. 1316---1323, May 2009.
accurate harmonic analysis in electrical power systems. Its
[16] D.Lyon, “The Discrete Fourier Transform, Part 4: Spectral Leakage”,
effectiveness is verified by the existing classical hanning Journal of Object Technology, vol. 8, no. 7, pp. 23-34, Nov 2009.
and hamming WIFFT algorithms. The MSW Interpolated
FFT algorithm analyse harmonic parameters by the
polynomial approximation theory without solving high-
order equations. By observing the estimation results for the
simulated signals, it is observed that the MSW based
interpolated FFT algorithm is more accurate and needs less
computation than the existing WIFFT algorithms.
REFERENCES
[1] Ahmed Zobaa, “Power Quality Issues” Intech Publishers 2013.
[2] A. Ferrero, S. Salicone, and S. Toscani, ‘‘A Fast, simplified frequency
domain interpolation method for the evaluation of the frequency and
amplitude of spectral components,’’ IEEE Trans. on Instrum. Meas.,
vol. 60, no. 5, pp. 1579---1587, May 2011.
[3] H. Wen, Z. S. Teng, S. Y. Guo, J. X. Wang, B. M. Yang, Y. Wang,
and T. Chen, ‘‘Hanning self-convolution window and its application
to harmonic analysis,’’ Sci. China Ser. E, vol. 52, no. 2, pp. 467---476,
Feb. 2009.
[4] G.W. Chang, C. I. Chen, Y. J. Liu, and M. C.Wu, ‘‘Measuring power
system harmonics and interharmonics by an improved fast Fourier
transform based algorithm,’’ IET Generation. Transmission.
Distriution., vol. 2, no. 2, pp. 193---201, Mar. 2008.
[5] He Wen, Zhaosheng Teng, Yong Wang, Bo Zeng, and Xiaoguang
Hu“Simple Interpolated FFT Algorithm Based on Minimize Sidelobe
Windows for Power-Harmonic Analysis” IEEE Trans. on Power
Electronics, vol. 26, no. 9, pp.2570-2579, September 2011.
[6] F. C. Harris, ‘‘On the use of windows for harmonic analysis with the
discrete Fourier transform,’’ in Proc. IEEE, vol. 66, pp. 51---83, Jan,
1978.
[7] Z. Fusheng, G. Zhongxing, and Y. Wei, ‘‘The algorithm of
interpolating windowed FFT for harmonic analysis of electric power
system,’’ IEEE Trans. on Power Delivery, vol. 16, no. 2, pp. 160---164,
Apr. 2001.