Chapter 1 - Using Wavelet for Visualization and …pribeiro/Book-Final/SECTION-6-Chapter 20.doc ·...

22

Click here to load reader

Transcript of Chapter 1 - Using Wavelet for Visualization and …pribeiro/Book-Final/SECTION-6-Chapter 20.doc ·...

Page 1: Chapter 1 - Using Wavelet for Visualization and …pribeiro/Book-Final/SECTION-6-Chapter 20.doc · Web viewUsing Wavelet for Visualization and Understanding of Time-Varying Waveform

Section 6 - Chapter 1 – Chapter 20

Using Wavelet for Visualization and

Understanding of Time-Varying

Waveform Distortions in Power

Systems

Paulo M. Silveira, Paulo F. Ribeiro

1.1 Introduction

Harmonic distortion assumes steady state condition and is consequently inadequate to

address 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 for the inadequate traditional

harmonic analysis and still maintain some of the physical interpretation of harmonic distortion

viewed from a time-varying perspective. In recent years, utilities and industries have focused

much attention in methods of analysis to determine the state of health of electrical systems.

The ability to get a prognosis of a system is very useful, because attention can be brought to

any problems a system may exhibit before they cause the system to fail. Besides, considering

the increased use of the 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.

Page 2: Chapter 1 - Using Wavelet for Visualization and …pribeiro/Book-Final/SECTION-6-Chapter 20.doc · Web viewUsing Wavelet for Visualization and Understanding of Time-Varying Waveform

Traditionally, harmonic analyses of time-varying harmonics have been done using a

probabilistic approach and assuming that harmonics components vary too slowly to affect the

accuracy of the analytical process [1][2][3]. Another paper has suggested a combination of

probabilistic and spectral methods also referred as evolutionary spectrum [4]. The techniques

applied rely on Fourier Transform methods that implicitly assume stationarity and linearity of

the signal components.

In reality, however, distorted waveforms are varying continuously and in some case (during

transients, notches, etc) quite fast for the traditional probabilistic approach.

The ability to give a correct assessment of time-varying waveform / harmonic distortions

becomes crucial for control and proper diagnose of possible problems. The issue has been

analyzed before and a number time-frequency techniques have been used [5]. Also, the use of

the wavelet transform as a harmonic analysis tool in general has been discussed [6]. But they

tend to concentrate on determining equivalent coefficients and do not seem to quite satisfy the

engineer’s physical understanding given by the concept of harmonic distortion.

In general, harmonic analysis can be considered a trivial problem when the signals are in

stead state. However, it is not simple when the waveforms are non-stationary signals whose

characteristics make Fourier methods unsuitable for analysis.

To address this concern, this chapter reviews the concept of time-varying waveform

distortions, which are caused by different operating conditions of the loads, sources, and other

system events, and relates it to the concept of harmonics (that implicitly imply stationary

nature of signal for the duration of the appropriate time period). Also, the chapter presents

how Multi-Resolution Analysis with Wavelet transform can be useful to analyze and visualize

voltage and current waveforms and unambiguously show graphically the harmonic components

varying with time. Finally, the authors emphasize the need of additional investigations and

applications to further demonstrate the usefulness of the technique.

1.2 State, and time-varying Waveform Distortions and Fourier Analysis

Page 3: Chapter 1 - Using Wavelet for Visualization and …pribeiro/Book-Final/SECTION-6-Chapter 20.doc · Web viewUsing Wavelet for Visualization and Understanding of Time-Varying Waveform

To illustrate the concept of time-varying waveform Figure 1 shows two signals. The first

is a steady state distorted waveform, whose harmonic content (in this case 3, 5 and 7th) is

constant along the time or, in other words, the signal is a periodic one. The second signal

represents a time varying waveform distortion in which magnitude and phase of each harmonic

vary during the observed period of time.

In power systems, independently of the nature of the signal (stationary or not), they

need to be constantly measured and analyzed by reasons of control, protection, and

supervision. Many of these tasks need specialized tools to extract information in time, in

frequency or both.

(a)

(b)

Figure 1 - (a) Steady state distorted waveform; (b) time-varying waveform distortion.

The most well-known signal analysis tool used to obtain the frequency representation is

the Fourier analysis which breaks down a signal into constituent sinusoids of different

frequencies. Traditionally it is very popular, mainly because of its ability in translating a signal in

the time domain for its frequency content. As a consequence of periodicity these sinusoids are

very well localized in the 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.

Page 4: Chapter 1 - Using Wavelet for Visualization and …pribeiro/Book-Final/SECTION-6-Chapter 20.doc · Web viewUsing Wavelet for Visualization and Understanding of Time-Varying Waveform

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 non-stationary information is transformed into the frequency domain, most of the

information about the non-periodic events contained on the signal is lost.

In order to demonstrate the FFT lack of ability with dealing with time-varying signals, let

us consider the hypothetical signal represented by (1), in which, during some time interval, the

harmonic content assumes variable amplitude.

(1)

Fourier transform has been used to analyze this signal and the result is presented in

Figure 2. Unfortunately, as it can be seen, this classical tool is not enough to extract features

from this kind of signal, firstly 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 5th harmonic has been indicated as only 0.152 pu.

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.

Page 5: Chapter 1 - Using Wavelet for Visualization and …pribeiro/Book-Final/SECTION-6-Chapter 20.doc · Web viewUsing Wavelet for Visualization and Understanding of Time-Varying Waveform

0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5-2

-1

0

1

2Signal

Time [s]

Mag

nitu

de

0 100 200 300 400 500 600 700 800 9000

0.2

0.4

0.6

0.8

1Discrete Fourier Transform

Frequency [Hz]

Mag

nitu

de

Figure 2 – Time-Varying Harmonic and its Fourier (FFT) analysis.

1.3 Dealing with Time-Varying Waveform Distortions

Frequently a particular spectral component occurring at a certain instant can be of

particular interest. In these cases it may be very beneficial to know the behavior of those

components during a given interval of time. Time-frequency analysis, thus, plays a central role

in signal processing signal analysis. Harmonics or high frequency bursts for instance cannot be

identified. Transient signals, which are evolving in time in an unpredictable way (like time-

varying harmonics) needs the notion of frequency analysis that is local in time.

Over the last 40 years, a large effort has been made to efficiently deal the drawbacks

previously cited and represent a signal jointly in time and frequency. As result a wide variety of

possible time-frequency representations can be found in specialized literature, as for example

in [5]. The most traditional approaches are the short time Fourier transform (STFT) and Wigner-

Ville Distribution [7]. For the first case, (STFT), whose computational effort is smaller, the signal

is divided into short pseudo-stationary segments by means of a window function and, for each

portion of the signal, the Fourier transform is found.

0.152 pu

Page 6: Chapter 1 - Using Wavelet for Visualization and …pribeiro/Book-Final/SECTION-6-Chapter 20.doc · Web viewUsing Wavelet for Visualization and Understanding of Time-Varying Waveform

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 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 stationary signal within the window.

1.4 Wavelet Multi—Resolution Decomposition

Wavelet transforms provide a way to overcome the problems cited previously by means

of short width windows at high frequencies and long width windows at low frequencies. In

being so, the use of wavelet transform is particularly appropriate since it gives information

about the signal both in frequency and time domains.

The continuous wavelet transform of a signal f(t) is then defined as

(2)

where

(3)

being the mother wavelet with two characteristic parameters, namely, dilation (a) and

translation (b), which vary continuously.

The results of (2) are 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 Fourier transform, so can a

discrete wavelet transform 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 4.

Page 7: Chapter 1 - Using Wavelet for Visualization and …pribeiro/Book-Final/SECTION-6-Chapter 20.doc · Web viewUsing Wavelet for Visualization and Understanding of Time-Varying Waveform

(4)

where j, k, nZ and a0 > 1.

The simpler choice is to make a = 2 and b = 1. In this case the Wavelet transform is

called dyadic-orthonormal. With this approach the DWT can be easily and quickly implemented

by filter bank techniques normally known as Multi-Resolution Analysis (MRA) [8].

The multi-resolution property of wavelet analysis allows for both good time resolution

at high frequencies and good frequency resolution at low frequencies.

The Figure 3 shows a MRA diagram, which is built and performed by means of two

filters: a high-pass filter with impulse response h(n) and its low-pass mirror version with impulse

response g(n). These filters are related to the type of mother wavelet () and can be chosen

according to the application. The relation between h(n) and g(n) is given by:

( ) ( 1) ( 1 )nh n g K n (5)

where k is the filter length and .nZ

Each high-pass filter produces a detailed version of the original signal and the low-pass a

smoothed version.

The same Figure 3 summarizes several kinds of power systems application using MRA,

which has been published in the last decade [9]-[13]. The sampling rate (fs) showed in this

figure represents just only a typical value and can be modified according to the application with

the faster time-varying events requiring higher sampling rates.

Page 8: Chapter 1 - Using Wavelet for Visualization and …pribeiro/Book-Final/SECTION-6-Chapter 20.doc · Web viewUsing Wavelet for Visualization and Understanding of Time-Varying Waveform

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 processing time.

Applications which require detection of fast transients, like traveling waves [10][11], normally

have a very short time of processing. Another aspect to be considered is sampling rate and the

frequency response of the conventional CTs and VTs.

g

h

g

h

g

h

g

h

g

h

Fault identification

fs = 200 kHz

0 – 50 kHz

0 – 25 kHz 0 – 12,5 kHz

0 – fs/(2j+1 ) Hz

50 – 100 kHz

25 – 50 kHz 12,5 – 25 kHz

6,25 – 12,5 kHz

fs/(2j+1) – fs/(2j) Hz

fs = 100 kHz

fs = 50 kHz fs = 25 kHz

Surge capture

Detection of insipient failures

Fault location

Intelligent events records for power quality

Harmonic Analyses

..............

....

Page 9: Chapter 1 - Using Wavelet for Visualization and …pribeiro/Book-Final/SECTION-6-Chapter 20.doc · Web viewUsing Wavelet for Visualization and Understanding of Time-Varying Waveform

Figure 3 – Multi-Resolution Analysis and Applications in

Power Systems.

1.5 The Selection of the Mother Wavelet

Unlike the case of Fourier transform, there exists a large selection of wavelet families

depending on the choice of the mother wavelet. However, not all wavelet mothers are suitable

for assisting with the visualization of time-varying (harmonic) frequency components.

For example, the celebrated Daubechies wavelets (Figure 4a) are orthogonal and have

compact support, but they do not have a closed analytic form and the lowest-order families do

not have continuous derivatives everywhere. On the other hand, wavelets like modulated

Gaussian function or harmonic waveform are particularly useful for harmonic analysis due to its

smoothness. This is the case of Morlet and Meyer (Figure 4b) which are able to show amplitude

information [14].

Figure 4 – (a) Daubechies-5 and (b) Meyer wavelets.

The "optimal" choice of the wavelet basis will depend on the application. For discrete

computational the Meyer wavelet is a good option to visualization of time-varying frequency

components because the MRA can clearly indicate the oscillatory nature of time-varying

frequency components or harmonics in the Fourier sense of the word.

Page 10: Chapter 1 - Using Wavelet for Visualization and …pribeiro/Book-Final/SECTION-6-Chapter 20.doc · Web viewUsing Wavelet for Visualization and Understanding of Time-Varying Waveform

In order to exemplify such an application the MRA has been performed to decompose

and visualize a signal composed by 1 pu of 60 Hz, 0.3 pu of 7th harmonic, 0.12 pu 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 5 shows the results of a MRA in six level of decomposition, firstly using

Daubechies length 5 (Db5) and next the Meyer wavelet (dmey). It is clear that even a high

order wavelet (Db5 – 10 coefficients) the output signals will be distorted when using

Daubechies wavelet and, otherwise, will be perfect sinusoids with Meyer wavelet as it can be

seen at level 3 (13th ) and in level 4 (7th).

Some of the detail levels are not the concern because they result represent only noise and

transitions state.

Page 11: Chapter 1 - Using Wavelet for Visualization and …pribeiro/Book-Final/SECTION-6-Chapter 20.doc · Web viewUsing Wavelet for Visualization and Understanding of Time-Varying Waveform

Figure 5 – MRA with six level of decomposition using (a) Daubechies 5 wavelet and (b) Meyer wavelet.

1.6 Impact of Sampling Rate and Filter Characteristic

It is important to recognize that the sampling rate and the characteristic of filter in the

frequency domain, will affect the ability of the MRA to separate the frequency components and

avoid frequency crossing in two different detail levels as previously recognized [15]. This

problem can be better clarified with the aid of Figure 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 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.

Page 12: Chapter 1 - Using Wavelet for Visualization and …pribeiro/Book-Final/SECTION-6-Chapter 20.doc · Web viewUsing Wavelet for Visualization and Understanding of Time-Varying Waveform

1.250.6250.3120.156

d3d4d5a5

0.1800.300

0.420 0.5400.660 0.780 0.900

0.060kHz

1.260

1.250.6250.3120.156

d3d4d5a5

0.1800.300

0.420 0.5400.660 0.780 0.900

0.060kHz

1.260

Figure 6 – MRA Filters: Frequency Support.

In order to illustrate this question let us consider a 60 Hz signal in which a 5th harmonic

is present and whose sampling rate is 10 kHz. A MRA is performed with a ‘dmey’ filter.

According to the Figure 6 the 5th harmonic is located in the crossing between detail levels d4

and d5. The result can be seen in Figure 7 where the 5th harmonic appears as a beat frequency

in levels d4 and d5.

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 the 5th 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 be sometimes easily overcome as shown in

Figure 5 where the 5th and 7th harmonics (two of the most common components found in

power systems distortions) can be easily separated if an adequate sampling rate and number of

scales / detail coefficients are used.

Page 13: Chapter 1 - Using Wavelet for Visualization and …pribeiro/Book-Final/SECTION-6-Chapter 20.doc · Web viewUsing Wavelet for Visualization and Understanding of Time-Varying Waveform

Figure 7 – MRA with five decomposition levels. The 5th harmonic is revealed on level d4 and d5.

1.7 Time-Varying Waveform Distortions with Wavelets

Let us consider the same signal of the equation (2), whose variable amplitude of the 5th

harmonic is not revealed by Fourier transform. By performing the MRA with Mayer wavelet in

six decomposition levels the 5th harmonic has been revealed in d5 (fifth detailed level) during

all the time of analysis, including the correct amplitude of the contents.

As it can be seen from Figure 8 this decomposition can be very helpful to visualize time-

varying waveform distortions in which both frequency / magnitude (harmonics) and time

information is clearly seen. This can be very helpful for understanding the behavior of

distortions during transient phenomena as well as to be used for possible control and

protection action.

Page 14: Chapter 1 - Using Wavelet for Visualization and …pribeiro/Book-Final/SECTION-6-Chapter 20.doc · Web viewUsing Wavelet for Visualization and Understanding of Time-Varying Waveform

Figure 8 – MRA of the signal (equation (1)) showing time-varying 5th harmonic in level d5.

It is important to remark that other information such as rms value and phase can be

extract 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.

1.8 Application to Shipboard Power Systems Time-Varying Distortions

In order to apply the concept a time-varying voltage waveform, resulting from a pulse in

a shipboard power system [16], is decomposed by MRA using a Meyer mother wavelet with five

levels (only detail levels 5 and 4 and the approximation coefficients are shown) is shown in

Figure 9. The approximation coefficient A5 shows the behavior of the fundamental frequency

whereas D5 and D4 show the time-varying behavior of the 5th and 7th harmonics respectively.

The time-varying behavior of the fundamental, 5th and 7th “harmonics” can be easily followed.

Page 15: Chapter 1 - Using Wavelet for Visualization and …pribeiro/Book-Final/SECTION-6-Chapter 20.doc · Web viewUsing Wavelet for Visualization and Understanding of Time-Varying Waveform

Figure 9 – Time-varying voltage waveform caused by pulsed load in a shipboard power system : MRA Decomposition using Meyer mother wavelet.

1.9 Conclusions

This chapter attempts 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 sampling rate / location of the filters for the successful

tracking of a particular frequency behavior, the significance of the wavelet mother type for the

Page 16: Chapter 1 - Using Wavelet for Visualization and …pribeiro/Book-Final/SECTION-6-Chapter 20.doc · Web viewUsing Wavelet for Visualization and Understanding of Time-Varying Waveform

meaningful information provided by the different detail levels decomposition, and the number

of detail levels.

A shipboard system simulation voltage output during a pulsed load application is then

used to verify the usefulness of the method. The MRA decomposition applying Meyer mother

wavelet is used and the transient behavior of the fundamental, 5 th and 7th harmonic clearly

visualized and properly tracked from the corresponding MRA.

1.10 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, Vol. 11, No. 1, 1996, pp. 452-465

[2] Probabilistic Aspects Task Force of Harmonics Working Group (Y. Baghzouz Chair): Time-Varying

Harmonics: Part II Harmonic Summation and Propagation – IEEE Trans. on Power Delivery, No. 1,

January 2002, pp. 279-285

[3] R. E. Morrison, “Probabilistic Representation of Harmonic Currents in AC Traction Systems”, IEE

Proceedings, Vol. 131, Part B, No. 5, September 1984, pp. 181-189.

[4] P.F. Ribeiro; “A novel way for dealing with time-varying harmonic distortions: the concept of

evolutionary spectra” Power Engineering Society General Meeting, 2003, IEEE, Volume: 2 , 13-17

July 2003, Vol. 2, pp. 1153

[5] P. Flandrin, Time-Frequency/Time-Scale Analysis. London, U.K.: Academic, 1999.

[6] Newland D. E., ‘Harmonic Wavelet Analysis,’ Proc. R. Soc., London, A443, pp. 203-225, 1993.

[7] G. Matz and F. Hlawatsch, “Wigner Distributions (nearly) everywhere: Time-frequency Analysis of

Signals, Systems, Random Processes, Signal Spaces, and Frames,” Signal Process., vol. 83, no. 7,

2003, pp. 1355–1378.

[8] C. S. Burrus; R. A. Gopinath; H. Guo; Introduction to Wavelets and Wavelet Transforms - A Primer. 10

Ed. New Jersey: Prentice-Hall Inc., 1998.

[9] O. Chaari, M. Meunier, F. Brouaye. : Wavelets: A New Tool for the Resonant Grounded Power

Distribution Systems Relaying. IEEE Transaction on Power System Delivery, Vol. 11, No. 3, July

1996. pp. 1301 – 1038.

Page 17: Chapter 1 - Using Wavelet for Visualization and …pribeiro/Book-Final/SECTION-6-Chapter 20.doc · Web viewUsing Wavelet for Visualization and Understanding of Time-Varying Waveform

[10]F. H. Magnago; A. Abur; Fault Location Using Wavelets. IEEE Transactions on Power Delivery, New

York, v. 13, n. 4, October 1998, pp. 1475-1480.

[11]P. M. Silveira; R. Seara; H. H. Zürn; An Approach Using Wavelet Transform for Fault Type

Identification in Digital Relaying. In: IEEE PES Summer Meeting, June 1999, Edmonton, Canada.

Conference Proceedings. Edmonton, IEEE Press, 1999. pp. 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., Vol. 146, No. 3, May 1999.

[13]O. A. S. Youssef; A wavelet-based technique for discrimination between faults and magnetizing

inrush currents in transformers,” IEEE Trans. Power Delivery, vol. 18, Jan. 2003, pp. 170–176.

[14]Norman C. F. Tse, Practical Application of Wavelet to Power Quality Analysis; CEng, MIEE, MHKIE,

City University of Hong Kong; 1-4244-0493-2/06/2006 IEEE.

[15]Math H.J. Bollen and Irene Y.H. Gu, “ Signal Processing of Power Quality Disturbances,” IEEE Press

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 (ESTS 2007) will be held from May 21 to May 23, 2007

at the Hyatt Regency Crystal City, Arlington, Virginia, USA.