Académique Documents
Professionnel Documents
Culture Documents
QUALITY ASSESSMENT
Authorized licensed use limited to: Bapatla Engineering College. Downloaded on July 04,2010 at 04:27:21 UTC from IEEE Xplore. Restrictions apply.
(3); it is represented as sequences of numbers and can be kept through a greater sampled rate. Generally, the data acquisition
using hardware medium. system doesn’t permit this fact. The sampled rate can be
t ∈ {t 0 , t1 , t 2 ,..., t n ,..., t N } (2) increase artificially, using numeric methods to approximating
the time function among the sampled points. The easily
x (t 0 ) ≡ x 0 , x (t1 ) ≡ x1 ,..., x (t n ) ≡ x n ,..., x (t N ) ≡ x N (3) practical method to reduce the Gibbs effect to the time window
The discrete-time signals are approximations of analog ones. edges is to choose the rectangular time window so that the
In order to hold the experimentally measured electrical signals, periodic signal values are zero or near zero at their edges.
current and/or voltage transducers and data acquisition systems - Leakage phenomenon [3,8], if the window length is not an
are therefore needed. The quality of the sampled signal integer multiple of the period of each harmonic component of
depends on both the transducers response time and the sampled the time varying signal. It consists in parasitic harmonic
rate of the data acquisition system which limit the order of the components, computed by DFT, which accompany the true
fastest harmonic component that can be measured. Generally, component. In addition, the phenomenon occurs if the time
the sampled period is constant, being a characteristic of data signal contains harmonic frequencies which are not integer
acquisition system (4): multiple of the fundamental component, but this situation is
generally not achieved in power electronics applications. In
∆t = t n +1 − t n or t n = n∆t , ∀n = 0,..., N − 1 (4)
order to reduce this phenomenon and improve the precision of
The study of some signals in the frequencies domain is harmonic decomposition, many authors recommend replacing
possible using the DFT applied to its corresponding discrete- the rectangular time windowing by other types of functions
time functions. If the signal is periodic and the sampled [2,6,7]. The merits of a given time window depend on the
sequence corresponds to one period T = t N − t 0 = 1 f (this application. One may not use such windowing automatically.
fact is equivalent to a windowing of length T applied to the The results can be poorer in most cases, depending on the
time signal [1-4,6,7]), the DFT is expressed as Riemann sum signal. The authors experience shows that in power electronics
with N terms starting from the analog Fourier transform: applications the rectangular window with a good estimation of
N −1 the fundamental period offers the best results. If the sampled
X d (k ) ≡ X d (kf ) = ∆t ¦ x(t n )e − j 2π (kf ) tn (5) rate of the used data acquisition system is not an integer
n =0 multiple of the fundamental frequency, the window edges are
Therefore, the series in expression (1) is truncated in N terms with: between samples, where the signal values are not known;
N −1 therefore, one can’t use the best windowing. Our solution is to
1 2
C0 = ¦ xn ; Ck = (Re[X d (k )])2 + (Im[X d (k )])2 increase the sampled rate artificially in order to estimate values
T n =0 T (6) of signal between samples, as we are already invoking for
Re[X d ( k )] Gibbs phenomenon.
γ k = arctan
Im[X d ( k )] - Aliasing effect [2,9], appears if the signal contains
The highest harmonic component that can be computed from harmonic components faster than half of the sampled rate
N-point per cycle sampling has the frequency f max = k max ⋅ f (Nyquist frequency); therefore, the original signal is strongly
named Nyquist frequency, equal to half of sampled rate distorted through sampling. These components are not
f s = 1 ∆t in accordance to the Nyquist theorem [2]: theoretically viewed, but they appear in the harmonic spectrum
computed by DFT as parasitic components (named alias
f max = f s 2 (7)
components); if the analog signal contains a component of
having the maximum order of k max = f s (2 f ) = N 2 . order N 2 + m , then it appears as order N 2 − m in the DFT
computed spectrum. The best method to minimize this effect is
3 Errors in harmonic decomposition to eliminate the harmonic components faster than the Nyquist
The sampled signal is an approximation of the analog one; frequency from the time signal, using analog lowpass filters
therefore, the harmonic decomposition computed by the DFT before sampling. We performed numeric filtering of sampled
is an approximation of the real harmonic spectrum of the signal in combination with an interpolation method to
analog signal. Applying DFT the errors can be unacceptable in minimize both Gibbs and leakage phenomena, as we shall
many cases. One can minimize the errors only by knowing present lather.
their sources and their manifestation, as follows: 4 Method of Ideal Lowpass Filters (ILF)
- Gibbs effect [2-4], due to the signal discontinuities. If the
periodic signal is a continuous time function, it becomes We shall perform a processing of the sampled signal using a
discontinuities through the time windowing. Discontinuities digital filter; it is an ideal lowpass filter with the cutoff
have theoretically an infinite number of harmonic components frequency equal to the half of sampled rate (fig. 1). It has unity
and the DFT offers only truncated series that is an inaccurate attenuation for all frequency components less than Nyquist
approximation of discontinuities. A weak sampled rate can frequency and allows a high precision interpolation of the
cause important discontinuities for continuous, real, signals; signal between sampled points in order to reconstruct a
the corresponding Gibbs effect can be strongly reduced continuous-time signal.
1959
Authorized licensed use limited to: Bapatla Engineering College. Downloaded on July 04,2010 at 04:27:21 UTC from IEEE Xplore. Restrictions apply.
Sampled signal Analog signal it assures the reduction of all sources of errors in harmonic
xn Lowpass x(t) decomposition based on DFT. The method can be used
filter successfully if adequate hardware computation resources are
available and if the computation time is not critique.
Fig. 1. Sampled signal filtering 25
20
n =0 n =0 π¨ − n¸
© ∆t ¹ 850
for a short sequence of a sampled signal. The sampled signal is 0.0168 0.0168 0.0168 0.0168 0.0168 0.0168 0.0168 0.0168 0.0168
marked by points (six points) and the reconstructed one is
Fig. 4. ILF interpolation starting from the sampled signal
marked as solid line. For each visible sampled point the figure
shows (as dashed and thin lines) the associated term of (9),
already known from fig. 2. 5 Experimental results
In order to find the harmonic spectrum of the filtered signal
in analog form (9) one can use the Fourier transform. This is Let us consider two artificially created signals i(t) and u(t)
only a theoretic assumption, because the calculus effort is synthesized from many ideal harmonic components:
unacceptably high. Practically, equation (9) can be used to § π· § π·
i (t ) = 50 + 500 sin¨120πt + ¸ + 100 sin¨ 3 ⋅ 120πt + ¸ +
compute intermediary points between the initial samples; © 4 ¹ © 6¹
therefore, the Fourier coefficients can be estimated using DFT § π· § π·
+ 150 sin¨ 5 ⋅ 120πt + ¸ + 50 sin¨ 7 ⋅ 120πt + ¸ +
(FFT) and equations (6). © 3¹ © 4¹
The method of ideal lowpass filter offers high precision § π· § π·
+ 200 sin¨11 ⋅ 120πt + ¸ + 25 sin¨ 2000 ⋅ 120πt + ¸ A
results if the number of intermediary points is sufficiently high; © 2¹ © 6¹
1960
Authorized licensed use limited to: Bapatla Engineering College. Downloaded on July 04,2010 at 04:27:21 UTC from IEEE Xplore. Restrictions apply.
u(t ) = 50 + 1000 sin(120πt ) + 200 sin (3 ⋅ 120πt ) + 300 sin (5 ⋅ 120πt ) + image of harmonic spectrum (both magnitudes and phases) and
+ 100 sin (7 ⋅ 120πt ) + 300 sin(11 ⋅ 120πt ) + 50 sin (2000 ⋅ 120πt ) V an immediate examination on the recomposed signal. In
The fundamental frequency is 60 Hz and the order of the addition, numerical values of computed harmonics are given in
highest harmonic component is 2000 . According to Nyquist table 1 and table 2. Values of RMS, THD, maxima, peak factor
theorem, the sampling frequency should be at most for both voltage and current are computed. The software has
2 ⋅ 2000 ⋅ 60 = 240 kHz . We chose fs = 250 kHz . the capabilities to compute energy related components such as:
Using our dedicated MATLAB application, based on the active and reactive powers for each harmonic component, as
above presented method, we have obtained results that are well as total active, reactive, apparent and distorting powers.
shown in fig. 5. This graphic representation offers a suggestive
Voltage - recomposed signal / original signal Current - rec omposed signal / original signal
1000
1000
0 0
-1000
-1000
0 0.002 0.004 0.006 0.008 0.01 0.012 0.014 0.016 0.018 0 0.002 0.004 0.006 0.008 0.01 0.012 0.014 0.016 0.018
Time [secs] Time [secs]
Magnitude [% ]
Magnitude [% ]
30 Harm.no.1=100% 40
Harm.no.1=100%
20
20
10
0 0
0 1 3 5 7 11 2000 0 1 3 5 7 11 2000
3 100
Phase [deg.]
Phase [deg.]
2
50
1
0 0
Harmonic order Harmonic order
Table 1 - Voltage harmonic decomposition lot of other numeric algorithms are opportunely combined.
Order Magnitude [V] Phase [deg] Percentage [%] The excellent accuracy of this method has the price of a
0 5.0000e+001 0 5.0000e+000 considerable great amount of calculus, required by lowpass
1 1.0000e+003 1.4388e-003 1.0000e+002 filtering process. It increases the total analysis time so that a
3 2.0000e+002 4.3138e-003 2.0000e+001 real-time analysis is not possible.
5 3.0000e+002 7.1958e-003 3.0000e+001
7 9.9994e+001 1.0068e-002 9.9994e+000 Acknowledgement
11 2.9999e+002 1.5836e-002 2.9999e+001 The authors wish to thanks Canada research chair and AUF for
2000 4.9979e+001 2.8800e+000 4.9979e+000 supporting this work
Table 2 - Current harmonic decomposition References
Order Magnitude [A] Phase [deg] Percentage [%]
0 5.0006e+001 0 1.0001e+000 [1] C.H.Chen, SIGNAL PROCESSING HANDBOOK, Marcel Dekker,
1 5.0001e+002 4.5002e+001 1.0000e+002 Inc., New York, 1988
3 1.0000e+002 3.0008e+001 2.0000e+001 [2] A.V. Oppenheim, R.W. Schafer, J.R. Buck, DISCRETE-TIME
5 1.5000e+002 6.0009e+001 3.0000e+001 SIGNAL PROCESSING, Prentice Hall, New Jeresey, 1999
7 5.0000e+001 4.5016e+001 9.9999e+000 [3] P.A. Lynn, W. Fuerst, DIGITAL SIGNAL PROCESSING WITH
11 2.0000e+002 9.0016e+001 4.0000e+001 COMPUTER APPLICATIONS, John Wiley and Sons, West Sussex, 1997
[4] R.W. Ramirez, THE FFT, FUNDAMENTALS AND CONCEPTS,
2000 2.4989e+001 3.2880e+001 4.9978e+000
Englewood Cliffs, N.J., Prentice-Hall, 1985
[5] R.N. Bracewell, THE FOURIER TRANSFORM AND ITS
APPLICATIONS, McGraw-Hill, New York, 1986
6 Conclusions [6] J.A. de la O Serna, “On the use of amplitude shaping pulses as
windows for harmonic analysis”, IEEE Transactions on Inst. and
The presented method assures best conditions for Measurement, Volume: 50, Issue: 6, Dec. 2001, pp. 1556 – 1562
minimization of Gibbs, leakage and aliasing effects through an [7] T.L.J. Ferris, A.J. Grant, “Frequency domain method for
appropriate increasing of sampling rate. It is suitable to process windowing in Fourier analysis”, IEEE Electronics Letters, Volume:
experimentally measured electric signals using a data 28, Issue: 15, 16 July 1992, pp. 1440
acquisition system in power electronics equipments; [8] D. Elliott, K.R. Rao, FAST TRANSFORMS: ALGORITHMS,
ANALYSES, APPLICATIONS, Academic Press, Orlando, 1982
synthesized signals in the previous example are chosen only to
[9] R.B. Randall, B.A. Tech, FREQUENCY ANALYSIS, Bruel and
prove the remarkable accuracy. Kjaer, Danenmark, 1987
The known method of filtering, fast Fourier transform and a
1961
Authorized licensed use limited to: Bapatla Engineering College. Downloaded on July 04,2010 at 04:27:21 UTC from IEEE Xplore. Restrictions apply.