Professional Documents
Culture Documents
Visualization of Time-Varying Waveform Distortions With Wavelets
Visualization of Time-Varying Waveform Distortions With Wavelets
Visualization of time-varying
waveform distortions
with wavelets
P. M. Silveira and P. F. Ribeiro
15.1 Introduction
Harmonic distortion assumes steady-state conditions and is consequently inadequate to deal
with time-varying waveforms. Even the Fourier transform is limited in conveying information
about the nature of time-varying signals. The objective of this chapter is to demonstrate and
encourage the use of wavelets as an alternative to the inadequate traditional harmonic analysis
and still maintain some of the physical interpretation of harmonic distortion viewed from a
time-varying perspective. The chapter shows how wavelet multiresolution analysis (MRA)
can be used to help in the visualization and physical understanding of time-varying waveform
distortions. The approach is then applied to waveforms generated by high-fidelity simulation
using a real time digital simulator of an isolated power system.
In recent years, utilities and industries have focused much attention on methods of analysis
to determine the state of health of electrical systems. The ability to obtain a prognosis for a
system is very useful, because attention can then be brought to any problem a system may
exhibit before it causes the system to fail. Considering the increased use of power electronic
devices, utilities have experienced – in some cases – a higher level of voltage and current
harmonic distortions. A high level of harmonic distortions may lead to failures in equipment
and systems, which can be inconvenient and expensive.
(a)
(b)
Figure 15.1 (a) Steady-state distorted waveform; (b) time-varying waveform distortion
VISUALIZATION OF TIME-VARYING WAVEFORM DISTORTIONS 177
Power systems, independent of the nature of the signal (stationary or not), need to be
constantly measured and analyzed for reasons of control, protection and supervision. Many of
these tasks need specialized tools to extract information in time, in frequency or both.
The most well-known signal analysis tool used to obtain the frequency representation is
Fourier analysis which breaks down a signal into constituent sinusoids of different frequencies.
Traditionally it is very popular, mainly because of its ability to translate a signal in the time
domain for its frequency content. As a consequence of periodicity these sinusoids are very
well localized in frequency, but not in time, since their support has an infinite length. In other
words, the frequency spectrum essentially shows which frequencies are contained in the
signal, as well as their corresponding amplitudes and phases, but does not show at which times
these frequencies occur.
Using the Fourier transform one can perform a global representation of a time-varying
signal but it is not possible to analyze the time localization of frequency contents. In other
words, when nonstationary information is transformed into the frequency domain, most of the
information about the nonperiodic events contained on the signal is lost.
In order to demonstrate the lack of ability of FFT in dealing with time-varying signals, let
us consider the hypothetical signal represented by Equation (15.1) in which, during some time
interval, the harmonic content assumes variable amplitude.
8
< sinð2p60tÞ þ 0:2 sinð10p60tÞ ¼> 0 < t 0:2 s
f ¼ sinð2p60tÞ þ 0:2:t:sinð10p60tÞ ¼> 0:2 < t 2 s : ð15:1Þ
:
sinð2p60tÞ þ 0:2 sinð10p60tÞ ¼> 2 < t 5 s
Fourier transform has been used to analyze this signal and the result is presented in
Figure 15.2. Unfortunately, as can be seen, this classical tool is not enough to extract features
from this kind of signal, first because the information in time is lost and, secondly, the harmonic
magnitude and phase will be incorrect when the entire data window is analyzed. In this
example the magnitude of the fifth harmonic has been indicated as 0.152 p.u.
Considering the simplicity of the case, the result may be adequate for some simple
application; however, large errors will result when detailed information of each frequency is
required.
Magnitude 0
-1
-2
0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Time [s]
0.8
Magnitude
0.6
0.4 0.152 pu
0.2
0.0
0 100 200 300 400 500 600 700 800 900
Frequency [Hz]
Figure 15.2 (a) Time-varying harmonic and (b) its Fourier (FFT) analysis
However, even these techniques are not suitable for the analysis of signals with complex
time–frequency characteristics. For the STFT, the main reason is the width of the fixed data
window. If the time-domain analysis window is made too short, frequency resolution will
suffer, and lengthening it could invalidate the assumption of a stationary signal within the
window.
where
1 tb
cab ðtÞ ¼ pffiffiffi c a; b 2 R; a 6¼ 0 ð15:3Þ
a a
VISUALIZATION OF TIME-VARYING WAVEFORM DISTORTIONS 179
c being the mother wavelet with two characteristic parameters, namely dilation (a) and
translation (b), which vary continuously.
The results of Equation (15.2) give many wavelet coefficients, which are a function of
a and b. Multiplying each coefficient by the appropriately scaled and shifted wavelet yields the
constituent wavelets of the original signal.
Just as a discrete Fourier transform can be derived from a continuous Fourier transform, so
a discrete wavelet transform can be derived from a continuous wavelet transform. The scales
and positions are discretized based on powers of two while the signal is also discretized. The
resulting expression is shown in Equation (15.4)
" #
1 X
¥
na j
kb
DWTfc ð j; kÞ ¼ qffiffiffiffiffi
0
f ðnÞ c 0
j ð15:4Þ
j n¼¥
a0 a 0
fs= 25 kHz
fs= 50 kHz
.............. j+1
fs= 100 kHz 0 – fs/(2 ) Hz
0 – 12.5 kHz
50 – 100 kHz
Fault identification
where k is the filter length and n 2 Z. Each high-pass filter produces a detailed version of the
original signal and the low-pass a smoothed version.
The same Figure 15.3 summarizes several kinds of power system applications using MRA,
which have been published in the last decade [9–13]. The sampling rate ( fs) showed in this
figure represents just a typical value and can be modified according to the application with the
faster time-varying events requiring higher sampling rates.
It is important to notice that several of these applications have not been comprehensively
explored yet. This is the case of harmonic analysis, including sub-harmonic, inter-harmonic
and time-varying harmonic. And the reason for that is the difficulty to physically understand
and analytically express the nature of time-varying harmonic distortions from a Fourier
perspective. The other aspect, from the wavelet perspective, is that not all wavelet mothers
generate physically meaningful decomposition.
Another important consideration, mainly for protection applications, is the computational
speed. The time of the algorithm is essentially a function of the phenomena (the sort of
information needed to be extracted), the sampling rate and the processing time. Applications
which requirethedetectionoffast transients– liketraveling waves[10,11]–normallyhave avery
short processing time. Another aspect to be considered is the sampling rate and the frequency
response of the conventional current transformers (CTs) and voltage transformers (VTs).
(a) (b)
Figure 15.4 (a) Daubechies-10 coefficients (db5) and (b) Meyer wavelets
VISUALIZATION OF TIME-VARYING WAVEFORM DISTORTIONS 181
Figure 15.5 An MRA with six levels of decomposition using (a) a Daubechies five wavelet
and (b) a Meyer wavelet
In order to exemplify such an application the MRA has been performed to decompose and
visualize a signal composed of 1 p.u. of 60 Hz, 0.3 p.u. of seventh harmonic, 0.12 p.u. of 13th
harmonic and some noise. The original signal has a sampling rate of 10 kHz and the harmonic
content has not been present all the time.
Figure 15.5 shows the results of an MRA with six levels of decomposition, first using
Daubechies length five (Db5) and next the Meyer wavelet (dmey). It is clear that even for a
high-order wavelet (Db5 – 10 coefficients) the output signals will be distorted when using
Daubechies wavelet and, otherwise, will be perfect sinusoids with a Meyer wavelet as it can be
seen at level three (13th) and at level four (7th). Some of the detail levels are not the concern
because they represent only noise and transition states.
a5 d5 d4 d3
This problem can be clarified more with the aid of Figure 15.6. The pass-band filters’ location
is defined by the sampling rate and the frequency support of each filter (g[n] and h[n]) by the
mother wavelet. If a certain frequency component of interest is positioned inside the crossing
range of the filters, this component will be impacted by the adjacent filters. As a consequence,
the frequency component will appear distorted in two different levels of decomposition.
In order to illustrate this question let us consider a 60 Hz signal in which a fifth harmonic
is also present and whose sampling rate is 10 kHz. An MRA is performed with a ‘dmey’ filter.
According to Figure 15.6 the fifth harmonic is located in the crossing between detail levels
d4 and d5. The result can be seen in Figure 15.7 where the fifth harmonic appears as a beat
frequency in levels d4 and d5.
Figure 15.7 MRA with five decomposition levels; the fifth harmonic is revealed on level
d4 and d5
VISUALIZATION OF TIME-VARYING WAVEFORM DISTORTIONS 183
This problem previously cited may reduce the ability of the technique to track the behavior
of a particular frequency in time. However, artificial techniques can be used to minimize this
problem. For example, the simple algebraic sum of the two signals (d4 þ d5) will result in the
fifth harmonic. Of course, if other components are present in the same level, a more complex
technique must be used.
As a matter of practicality the problem can sometimes be easily overcome as shown in
Figure 15.5 where the fifth and seventh harmonics (two of the most common components
found in power system distortions) can easily be separated if an adequate sampling rate and
number of scales/detail coefficients are used.
Figure 15.8 MRA of the signal (Equation (15.1)) showing a time-varying fifth harmonic
in level d5
184 ADVANCED TECHNIQUES
time information is clearly seen. This can be very helpful for understanding the behavior of
distortions during transient phenomena as well as being used for possible control and
protection action.
It is important to remark that other information, such as rms value and phase, can be
extracted from the detailed and the approximation levels. For the previous example the rms
value during the interval from 0.2 to 2 s has been easily achieved.
Figure 15.9 Time-varying voltage waveform caused by a pulsed load in an isolated power
system: MRA decomposition using a Meyer mother wavelet
VISUALIZATION OF TIME-VARYING WAVEFORM DISTORTIONS 185
15.9 Conclusions
This chapter has attempted to demonstrate the usefulness of wavelet MRA to visualize
time-varying waveform distortions and track independent frequency component variations.
This application of MRA can be used to further the understanding of time-varying waveform
distortions without losing the physical meaning of frequency components (harmonics)
variation with time. It is also possible that this approach could be used in control and
protection applications.
The chapter recognizes that the successful tracking of the filters is dependent on the
adequate selection of the sampling rate and location of the filters. Also the wavelet mother
type and the number of detail levels of decomposition may have an impact on the clarity of the
information provided.
An isolated power system simulation with a pulsed load was then used to verify the
usefulness of the method. The MRA decomposition applying a Meyer mother wavelet was
used and the transient behavior of the fundamental, fifth and seventh harmonic were clearly
visualized and properly tracked from the corresponding MRA.
References
[1] IEEE Task Force on Harmonics Modeling and Simulation, ‘Modeling and Simulation of the
Propagation of Harmonics in Electric Power Networks – Part I: Concepts, Models and Simulation
Techniques’, IEEE Trans. on Power Delivery, 11, 1996, 452–465.
[2] Probabilistic Aspects Task Force of Harmonics Working Group, ‘Time-Varying Harmonics: Part II
Harmonic Summation and Propagation’, IEEE Trans. on Power Delivery, 17, 2002, 279–285.
[3] R. E. Morrison, ‘Probabilistic Representation of Harmonic Currents in AC Traction Systems’, IEE
Proceedings, 131, 1984, 181–189.
[4] P. F. Ribeiro, ‘A novel way for dealing with time-varying harmonic distortions: the concept
of evolutionary spectra’, IEEE Power Engineering Society General Meeting, 2003, Volume 2,
July 2003, pp. 1151–1153.
[5] P. Flandrin, Time-Frequency/ Time-Scale Analysis, Academic Press, London, UK, 1999.
[6] D. E. Newland, ‘Harmonic Wavelet Analysis’, Proc. R. Soc., London, A443, 1993, 203–225.
[7] G. Matz and F. Hlawatsch, ‘Wigner Distributions (nearly) everywhere: Time-frequency Analysis of
Signals, Systems, Random Processes, Signal Spaces, and Frames’, Signal Process., 83, 2003,
1355–1378.
[8] C. S. Burrus, R. A. Gopinath and H. Guo, Introduction to Wavelets and Wavelet Transforms - A
Primer, 10th edition, Prentice-Hall Inc., New Jersey, USA, 1998.
[9] O. Chaari, M. Meunier and F. Brouaye, ‘Wavelets: A New Tool for the Resonant Grounded
Power Distribution Systems Relaying’, IEEE Trans. on Power System Delivery, 11, 1996,
1301–1038.
[10] F. H. Magnago and A. Abur, ‘Fault Location Using Wavelets’, IEEE Trans. on Power Delivery, 13,
1998, 1475–1480.
[11] P. M. Silveira, R. Seara and H. H. Z€urn, ‘An Approach Using Wavelet Transform for Fault Type
Identification in Digital Relaying’, IEEE PES Summer Meeting, Edmonton, Canada, 1999,
937–942.
[12] V. L. Pham and K. P. Wong, ‘Wavelet-transform-based Algorithm for Harmonic Analysis of Power
System Waveforms’, IEE Proc. – Gener. Transm. Distrib., 146, 1999, 249–254.
186 ADVANCED TECHNIQUES
[13] O. A. S. Youssef, ‘A wavelet-based technique for discrimination between faults and magnetizing
inrush currents in transformers’, IEEE Trans. Power Delivery, 18, 2003, 170–176.
[14] N. C. F. Tse, ‘Practical Application of Wavelet to Power Quality Analysis’, IEEE 1-4244-
0493-2/06/2006.
[15] M. H. J. Bollen and I. Y. H. Gu, Signal Processing of Power Quality Disturbances, IEEE Press,
New York, USA, 2006.
[16] M. Steurer, S. Woodruff, M. Andrus, J. Langston, L. Qi, S. Suryanarayanan and P. F. Ribeiro,
‘Investigating the Impact of Pulsed Power Charging Demands on Shipboard Power Quality’,
The IEEE Electric Ship Technologies Symposium, Arlington, Virginia, USA, 2007.