Download SESCTION-6-Chapter_16_rev1a

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Chirp spectrum wikipedia , lookup

Heterodyne wikipedia , lookup

Standby power wikipedia , lookup

Resistive opto-isolator wikipedia , lookup

Electrical substation wikipedia , lookup

Opto-isolator wikipedia , lookup

Rectifier wikipedia , lookup

Wireless power transfer wikipedia , lookup

Power over Ethernet wikipedia , lookup

Power inverter wikipedia , lookup

Power factor wikipedia , lookup

Mathematics of radio engineering wikipedia , lookup

Electrification wikipedia , lookup

Pulse-width modulation wikipedia , lookup

Variable-frequency drive wikipedia , lookup

Spectral density wikipedia , lookup

Decibel wikipedia , lookup

Metadyne wikipedia , lookup

Stray voltage wikipedia , lookup

Surge protector wikipedia , lookup

Audio power wikipedia , lookup

Utility frequency wikipedia , lookup

Power MOSFET wikipedia , lookup

Amtrak's 25 Hz traction power system wikipedia , lookup

Electric power system wikipedia , lookup

Islanding wikipedia , lookup

Three-phase electric power wikipedia , lookup

History of electric power transmission wikipedia , lookup

Buck converter wikipedia , lookup

Distribution management system wikipedia , lookup

Voltage optimisation wikipedia , lookup

Power engineering wikipedia , lookup

AC adapter wikipedia , lookup

Switched-mode power supply wikipedia , lookup

Mains electricity wikipedia , lookup

Alternating current wikipedia , lookup

Wavelet wikipedia , lookup

Transcript
Chapter 16
Wavelets for the Measurement of
Electrical Energy Signals
Johan Driesen
16.1 Introduction
In modern electrical energy systems, voltages and especially currents become very
irregular due to large numbers of non-linear loads and generators in the grid. More in
particular, power electronic based systems such as adjustable speed drives, power supplies for
IT-equipment and high efficiency lighting and inverters in systems generating electricity from
distributed renewable energy sources are many sources of disturbances. Distortions
encountered are, for instance, harmonics, rapid amplitude variations (flicker) and transients,
which are all elements of ‘power quality’ problems.
In this situation, the registration of electrical energy signals and power related quantities
may become problematic, due to differences in power definitions, extended for nonfundamental frequency content, and non-standardized measurement procedures, which are all
based on sinusoidal voltages and currents, and equipment originally designed for undistorted
signals [1]. In general, voltage and current signals have become less stationary and periodicity is
sometimes completely lost. This fact poses a problem for the correct application of Fourierbased frequency domain power quantities. Practical measurements use the FFT-algorithm for
this purpose, implicitly assuming infinite periodicity of the signal to be transformed. Therefore,
the registered power quantities are often unreliable, and it is not possible to localize distortions
with a higher resolution than the time slot.
16.2 Real Wavelet-Based Power Measurement Approaches
16.2.1 Basic principles
A wavelet transform maps the time-domain signals of voltage(s) and current(s) in a realvalued time-frequency domain (using a notation similar to [2]), where the signals are described
by the wavelet coefficients:
i t  
2 j 0 1

k 0
c jo , k  jo , k t  
N 1 2 j 1
 d
j , k j , k
t 
j  j0 k  0
(16.1)
vt  
2 j0 1

c
k 0
jo ,k  jo ,k
N 1 2 j 1
t    d  j ,k  j ,k t 
j  j0 k 0
(16.2)
with
c jo ,k  it ,  jo ,k t  and d j ,k  it , j ,k t 
(16.3)
c  jo ,k  vt ,  jo ,k t 
and d  j ,k  vt , j ,k t 
(16.4)
(j: wavelet frequency scales, k: wavelet time scale, c and d: wavelet coefficients – the
accent indicates the voltage coefficients).
16.2.2 Active power
The active power is computed as an averaged sum of the physical power transfer over a
certain time interval (T: averaging time interval and N the highest scale):
T
1
P
it u t dt  Pj0 
T

0

2 j0 1
1 
c j ,k c j ,k 
2 N  k 0 o o


N 1
P
j
j  j0
N 1 2 j 1
 d
j  j0 k 0
j ,k d j ,k




(16.5)
In this way it is possible to distinguish the power over the different wavelet scales, to be
interpreted as frequency bands. Most interest usually goes to the base band j0 containing the
fundamental power frequency coefficients.
16.2.3 Reactive Power
Reactive power is computed in a similar way, but the voltage signal first has to pass a
phase shifting filter network, producing a delay or phase shift of 90° in the approach of [3].
T
Q
1
it u t  90 dt  Q j0 
T

0
2 j0 1
1 
 N
c j ,k c jo ,k 
2  k 0 o


N 1
Q
j
j  j0

d j ,k d  j ,k 

j  j0 k 0

N 1 2 j 1

(16.6)
For purely sinusoidal voltages and currents, this results in a correct value, but in the
presence of distortions it is just one of possible definitions of reactive power, still being a topic
of discussion. In the phase shifting implementation approach for reactive powers, often used in
traditional measuring equipment, only the ‘baseband’ value Qj0 is associated to the accepted
fundamental reactive power [4].
The implementation of the 90°-phase shift, actually a time delay, in the time-frequency
domain, after the wavelet transform instead of in the time domain as in (16.6), forms an
interesting, yet simple alternative for a shift in the time domain. Such a delay in the wavelet
domain means a shift of the time-bound wavelet coefficient as calculated in (16.4). Since there
are far less coefficients involved than time samples, this comes down to a rather simple
memory operation.
Hence, no special filter is required, considerably simplifying the computation procedure.
Only an extra vector of memory elements to store the previous wavelet coefficients is required.
The shift M of the coefficients depends on the wavelet transform parameters, more in
particular the number of coefficients describing a fundamental period in the base band:
Q j0 
1
2N
2 j0 1
c
k 0
jo ,k c jo ,k M
(16.7)
with the double accent indicating the delayed coefficients, here the voltage coefficients.
A second alternative is found in a projection operation in which the current is split in a
component, responsible for the active power transfer and a complementary component, the
‘reactive’ current component. Actually, the current is projected on the voltage wave shape,
resulting in a proportional waveform that only transfers active power. The active current
component is:
Pj0  U j0  I act
(16.8)
with the rms value of the voltage U (in the base band j0) filled in, this yields:
P
I act 
1
2
N
 c 
2 j0 1
2
jo ,k
k 0
(16.9)
and P already calculated, e.g. by means of (16.5).
This current rms value is used as a scaling factor for the unity series of voltage wavelet
coefficients:
cP, j ,k  I act
o
c 
c 
jo ,k
jo ,k
(16.10)
Hence, the wavelet transform coefficients of the current proportional to the voltage
(also in the time domain), transmitting the same active power, are obtained.
The current split is obtained for the base band in the time-frequency domain by
computing the complementary ‘reactive’ series of wavelet coefficients:
cQ, j ,k  c j ,k  cP, j ,k 
o
o
o
(16.11)
In this way, the rms value of the reactive current component can be defined.
I act 
1
2
N
2 j 0 1
 c
k 0
Q , jo , k
2
This is then used to compute the reactive power value:
Q j0  U j0  I react
(16.13)
(16.12)
16.3 Application of Real Wavelet Methods
As an example, the two approaches mentioned above are applied on a voltage and
current containing harmonic distortion, mainly fifth order harmonics (Figure 16.3).
Voltage
Current
Figure 16.3. Voltage and current period used for the example calculation.
These waveforms are sampled at 128 samples per period and are wavelet transformed
using a ‘symmlet’ wavelet [5]. Both resulting coefficients are plotted in Figure 16.4.
Wavelet coefficients of voltage
Wavelet coefficients of current
Figure 16.4. Wavelet coefficients at different scales. Top scale is associated with the base band.
Note that the base band is described by only four coefficients. Hence buffering in order
to obtain the 90° shift represents a limited operation, compared to a delay or phase shift in the
time domain in which all 128 samples have to be processed.
The active and reactive powers are calculated and compared to analytically derived
reference quantities in Table 16.1.
Table 16.1. Comparison of computed power quantities.
P
Q
Analytical reference
995.93
575.00
Delay approach
991.80
575.24
Splitting approach
991.80
575.24
It can be noticed that the accuracy of the wavelet approach is rather good: the
processed values are within 0.5 % of the analytical values. The difference is due to numerical
errors and ‘leakage’ between frequency bands.
16.4 Concept Using Complex Wavelet Based Power Definitions
16.4.1 Introduction
The power calculation procedure using real wavelets is less subject to errors due to the
irregularity of signals, but is still based on classical averaging over a designated time interval
(16.5), an idea also present in the derivation of regular frequency domain quantities, where a
sampled interval is covered. Complex wavelets seem only to have rarely been used in power
system analysis, except for [6].
To be able to calculate any power quantities, one needs to be able to analyze
amplitudes and phase differences between the related voltage(s) and current(s). A (complex)
Fourier transform yields the appropriate phasors, but a (real) wavelet transformed signal does
not readily deliver phase information. The ‘hidden’ phase-related information, present in the
time localization property of the wavelet coefficient, influences the average power values as in
[2], [3].
A complex wavelet, however, does yield phase information. It is even possible to
retrieve an instantaneous phase (t) using the polar representation of the complex coefficients
[5]. It is therefore a candidate to serve as a basis in novel power definitions having better time
localization properties. Therefore, this would result in true time-frequency domain power
quantities.
16.4.2 Complex wavelet based power definitions
The relevant voltages and currents are transformed to the time-frequency domain using
a well-chosen complex wavelet (t), with scaling parameter s (setting the frequency range) and
translation parameter t (determining the time localization) [5]:
fW t , s   f , t ,s 

 f t  

1  t  t 

 dt 
s  s 
(16.14)
In a single-phase system this yields two series of complex wavelet coefficients for the
voltage U and for the current I, indicated by a subscript W: UW and IW. From these coefficients,
instantaneous amplitude and phase values are derived for the different subbands.
U W t , s   U W t , s  U ,W t , s 
(16.15)
I W t , s   I W t , s  I ,W t , s 
(16.16)
For most power measurement applications, the most interesting subband is the one
covering the fundamental frequency, here indicated as sf. A complex-wavelet based power
quantity is then defined in a way analogous to the Fourier-based active power definition, now
using the instantaneous voltage and current amplitude and the instantaneous phase difference
between voltage and current:






 
pW t , s f  U W t , s f  I W t , s f  cos  W t , s f

(16.17)
with the phase difference, based on the difference of the instantaneous phases:
 W t , s f    U ,W t , s f    I ,W t , s f

(16.18)
Similarly, a complex wavelet based reactive power quantity can be defined as well:






 
qW t , s f  U W t , s f  I W t , s f  sin  W t , s f

(16.19)
Both pW and qW can be obtained immediately by
p
W
t, s f   pW  jqW  U W t, s f conjI W t, s f 
(16.20)
A ‘momentary’ power factor can be defined using the instantaneous phases.
 
dPFt   cos W t , s f

(16.21)
An apparent power-like is quantity is obtained as well:





sW t , s f  pW t , s f  qW t , s f

(16.22)
16.4.3 Wavelet choice
The complex wavelet (16.14), has to be appropriate for the analysis of power signals.
Therefore, a smooth oscillating function is preferred. The following functions are candidate [5]:
the complex Gaussian wavelet (Cp is a scaling parameter):
 G x   C p  e  x  e  jx
2
(16.23)
and the complex Morlet wavelet (fb: a bandwidth parameter, fc: the center frequency):
 M x   f b  e

x2
fb
 e 2 jf c x
(16.24)
The real and imaginary part of this wavelet, with fb=50 Hz are plotted in Figure 16.5.
real part
imaginary part
Figure 16.5. Real and imaginary part of the Morlet wavelet.
16.4.4 Discussion: Physical interpretation
The physical interpretation of power definitions is always debatable. The only physically
correct value is the time domain based power p(t)=u(t)i(t), containing a DC part as well as
higher frequency oscillations. Its average, global or for a certain harmonic frequency, in case of
periodic signals, is expressed by the frequency domain active powers P or P h [4]. Reactive
power can be regarded in a similar way, as a measure for the power oscillating between source
and user.
The complex wavelet based power rather yields a sort of sliding average power, as the
time window over which it averages is limited to the length of the wavelet function and
determined by the dilation parameter [5]. Due to the decaying shape of the wavelet, this
average is weighted. Thus, this power can be localized in time. The frequency localization is
broader than just a sharp single harmonic as the complex wavelet covers a certain frequency
band.
16.4.5 Comparison with Fourier based approach
A traditional Fourier-based power computation starts with calculating an FFT of a frame
of current or voltage samples. Then, adequate frequencies are selected and processed, yielding
one value per power quantity over the whole frame, resulting in a poor time resolution.
Alternatively, to provide a better time resolution, one can use overlapping frames, causing one
sample to be used more than once. The frequency resolution is equidistant.
A wavelet transform is typically calculated using filters [5]. This yields several
transformed coefficients over the same time frame, depending on the scaling of the wavelet
basis. This provides a better time localization. In return, the frequency resolution is not as
sharp, especially not for the higher frequencies. This poses not as many problems in practical
power systems as one is mainly interested in a sharp distinction of the fundamental frequency
behavior, a relatively good distinction of the low-frequency harmonics, which in practice are
found in pairs (e.g. 5th/7th) and a rough idea about high-frequency phenomena. The typical
wavelet frequency resolution pattern is well-suited for such requirements.
16.5 Examples
16.5.1 Practical implementation aspects
The wavelet function providing the best results, in the sense that similar results for
stationary signals were obtained as with Fourier analysis, was the Morlet function (16.24), with
a pseudo-frequency of 50 Hz, the fundamental power system frequency in the examples
(fb=4.10-4, fc=50 Hz). This wavelet function is limited to 8 periods of the fundamental frequency.
One period contains 128 samples.
In the following examples, the (continuous) wavelet transform is implemented as a
convolution. In a practical implementation a faster filter algorithm is required. To get rid of
boundary effects, an appropriate number of transformed samples is omitted.
Example 1: voltage dip
The first example shows a typical non-periodic distortion, a dip in the voltage (Figure
16.6). This power quality problem may occur due to a sudden change in the load, e.g. the start
of a large motor or an arc furnace. In an FFT, this results in the presence of subharmonic
frequencies and a lower fundamental, without knowing when the dip occurred. The current is
identical to the current in the previous example.
Figure 16.6. Voltage with a dip and current with harmonics.
The resulting powers pW and qW are computed and plotted in Figure 16.7. They clearly
show the sudden drop in transferred power and change in reactive power due to the local
change in phase difference. The small overshoots at the beginning of the power curves are due
to the discontinuous jump in phase angles in this simulated voltage. These will be smaller in
reality as most voltage dips settle in more slowly. Even more, the reaction of the load, usually a
lower current, is not taken into account.
Figure 16.7. pW and qW associated to the waveforms in Figure 16.6.
Example 2: dynamically changing current
The second example contains a continuously rising distorted current, for instance due to
an adjustable speed drive with an increasing mechanical output, for instance due to increasing
speed.
Figure 16.8. Clean voltage and transient harmonically distorted current.
The resulting powers pW and qW are computed and plotted in Figure 16.9. They follow
the smooth rate of change of the current.
Figure 16.9. pW and qW associated to the waveforms in Figure 16.8.
In a Fourier based analysis, the spectrum of this non-periodic current would result again in
some sort of subharmonic occurrences.
16.6 References
[1] J. Driesen, T. Van Craenenbroek, D. Van Dommelen, “The registration of harmonic power by
analog and digital power meters,” IEEE Trans. on Instrumentation and Measurement, Vol.
47, No. 1, February 1998, pp. 195-198.
[2] W.-K. Yoon, M.J. Devaney, “Power Measurement Using the Wavelet Transform,” IEEE Trans.
on Instrumentation and Measurement, Vol. 47, No. 5, October 1998, pp. 1205-1210.
[3] W.-K. Yoon, M.J. Devaney, “Reactive Power Measurement Using the Wavelet Transform,”
IEEE Trans. on Instrumentation and Measurement, Vol. 49, No. 2, April 2000, pp. 246-252.
[4] IEEE Working Group on Nonsinusoidal Situations: Effects on Meter Performance and
Definitions of Power, “Practical Definitions for Powers in Systems with Nonsinusoidal
Waveforms and Unbalanced Loads: A Discussion,” IEEE Trans. on Power Delivery, Vol. 11,
No. 1, January 1996, pp. 79-101.
[5] S. Mallat, A Wavelet Tour of Signal Processing, Academic Press, 1999.
[6] M. Meunier, F. Brouaye, “Fourier transform, Wavelets, Prony analysis: Tools for Harmonics
and Quality of Power,” Proc. 8th Int. Conf. On Harmonics and Quality of Power (ICHQP’98),
Athens, Greece, 14-16 October 1998, pp. 71-76.