Next Article in Journal
Microbial Conversion of Waste Glycerol from Biodiesel Production into Value-Added Products
Next Article in Special Issue
General and Simple Decision Method for DG Penetration Level in View of Voltage Regulation at Distribution Substation Transformers
Previous Article in Journal
Experimentally Based Model to Size the Geometry of a New OWC Device, with Reference to the Mediterranean Sea Wave Environment
Previous Article in Special Issue
Improved Short-Term Load Forecasting Based on Two-Stage Predictions with Artificial Neural Networks in a Microgrid Environment
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Recursive Pyramid Algorithm-Based Discrete Wavelet Transform for Reactive Power Measurement in Smart Meters

Department of Information and Communication Engineering, Sejong University, 98 Gunja-Dong, Gwangjin-Gu, Seoul 143-747, Korea
*
Author to whom correspondence should be addressed.
Energies 2013, 6(9), 4721-4738; https://doi.org/10.3390/en6094721
Submission received: 11 July 2013 / Revised: 18 August 2013 / Accepted: 29 August 2013 / Published: 9 September 2013
(This article belongs to the Special Issue Smart Grids: The Electrical Power Network and Communication System)

Abstract

:
Measurement of the active, reactive, and apparent power is one of the most fundamental tasks of smart meters in energy systems. Recently, a number of studies have employed the discrete wavelet transform (DWT) for power measurement in smart meters. The most common way to implement DWT is the pyramid algorithm; however, this is not feasible for practical DWT computation because it requires either a log N cascaded filter or O (N) word size memory storage for an input signal of the N-point. Both solutions are too expensive for practical applications of smart meters. It is proposed that the recursive pyramid algorithm is more suitable for smart meter implementation because it requires only word size storage of L × Log (N-L), where L is the length of filter. We also investigated the effect of varying different system parameters, such as the sampling rate, dc offset, phase offset, linearity error in current and voltage sensors, analog to digital converter resolution, and number of harmonics in a non-sinusoidal system, on the reactive energy measurement using DWT. The error analysis is depicted in the form of the absolute difference between the measured and the true value of the reactive energy.

1. Introduction

Energy conservation is currently a highly important and much-discussed field of research. The increase in global energy demand has resulted in almost daily increases in energy prices; therefore, energy conservation is important for both consumers and service providers [1]. Energy conservation can save money for consumers by reducing tariffs; on the other hand, supplying more consumers with lower energy production reduces installation costs for service providers [2].
In this context, the smart grid is one of the most interesting fields of research for next-generation power systems. This type of grid uses a bidirectional flow of electricity and information to create a widely distributed power delivery network. The smart grid offers several advantages, such as renewable energy usage, reduced greenhouse gas emissions, increased energy efficiency due to better balance of supply and demand, improved security and reliability, and fast and effective responses to energy generation, consumption fluctuations, and catastrophic events [3]. The catastrophic events are sudden incidents, which occur due to the occasional failure of the power system component. The achievement of energy conservation in a smart grid, either at the consumer level or at the utility level, requires analysis of the energy provided by the utility, the effectiveness of energy use by the consumer, and the losses. This type of analysis requires energy consumption to be measured at various levels in the smart grid.
Smart meters represent one of the major components of smart grids. Smart meters can be used to measure energy consumption at various points in the smart grid [4]. The smart grid concept has been put into full use by utility companies throughout the World through the installation of smart meters in homes and commercial buildings; by 2015, approximately 60 million smart meters will be installed in the US [5]. The smart meter is an advanced energy meter that measures a consumer’s energy consumption and provides additional information for the utility company not typically available with a regular energy meter. The smart meter can read real-time energy consumption data and securely send those data to the company [6]. The ultimate objective of these meters is to set real-time pricing and establish demand-side management [7].
The functional requirement of electricity for smart meters, in terms of power measurement, is the measurement of active, reactive, and apparent power. Broadly speaking, reactive power is the difference between the power used for real working (active power) and the total consumed power (apparent power). However, some electrical equipment used in industrial and commercial building—especially transformers and motors—requires an amount of reactive power in addition to active power. The reactive power in such equipment is used to generate a magnetic field, which is essential for the inductive elements in these pieces of equipment to operate [8]. Although reactive power is required to operate several pieces of equipment, if supplied in excess, it can also make harmful effects on appliances and installed electrical infrastructure [1].
Power factor is another term associated with power measurement in power systems. Power factor is the relationship between the active and reactive power. It indicates how effectively the electrical power is used. In other words, power factor is the ratio of active power to the apparent power. Typically, homes have power factors in the range of 70%–85%, depending on the appliances being used. However, a power factor correction mechanism can be employed to increase the power factor above 90%. Power factor correction has several benefits. It can: save money by reducing tariff; prevent electric losses; reduce peak energy demand and reduce risk of harm being done to the installed electrical infrastructure [9].
The tremendous increase in the amount and complexity of electrical equipment has provided welcome additions to modern homes, such as electronic ballast lighting, computer monitors, and air conditioners, but these impose an additional energy burden. This has resulted in an electric distribution profile that is completely different from what was observed 50 years ago [10]. This change in the end-user load profile is a disadvantage for the service provider, which generates tariffs based only on active power. The addition of these nonlinear loads to the power lines means that active energy no longer represents the total energy delivered. Therefore, from the above discussion it can be concluded that the reactive power measurement is necessary to bill consumers, design the compensator, power factor correction and monitor power usage.
The aim of this study is to devise a method for practical measurement of reactive power. A reactive power measurement is essential to determine the reactive power demand and to assist in improving the voltage profile introducing power factor correction mechanism. It also enables the service provider to take the proper steps to reduce revenue losses, peak energy demand and increase power generation capacity to serve more consumers [11]. Reactive power overloads the power lines and produces excessive thermal stress on the conductors, and it is also undesirable from the service provider’s perspective. A decrease in the reactive power leads to lower expenses; once the reactive power has been measured, it can be compensated with the help of a suitable capacitor or a number of capacitors [2].
In this paper, we propose a more suitable implementation of the discrete wavelet transform (DWT) that uses a recursive pyramid algorithm (RPA) for reactive energy measurement in smart meters. This paper also investigates the effect of varying different system parameters such as the sampling rate, dc offset, phase offset, linearity error in current and voltage sensors, analog to digital converter resolution, and number of harmonics in a non-sinusoidal system on the reactive energy measurement using DWT. The error analysis is depicted in the form of the absolute difference between the measured and the true value of the reactive energy.
The rest of the paper is organized as follows: Section 2 discusses some of the related work. Section 3 discusses the different methods for measuring reactive power, their categorization, and the challenges involved with each of them. Section 4 describes reactive power measurement using the DWT and Section 5 suggests DWT implementation. Section 6 presents the results for different case studies and shows the impact of various kinds of errors. Section 7 provides some concluding remarks.

2. Related Work

Definitions and approaches for measuring reactive power have been developed in the time domain [12,13], Fourier (frequency domain) [14,15,16], and the wavelet domain (time-frequency domain) [17,18,19]. The limitation of time domain definitions is that they cannot measure the reactive power for a specific frequency component and they also result in loss of temporal insights. Therefore, time-frequency (wavelet domain) analysis emerges as the most appropriate solution for measurements in power systems, because it preserves both temporal and spectral relationships associated with the resulting power [17]. A comprehensive survey of the categories shown in Figure 1 has been presented in [20]. The present paper focuses on wavelet-based power measurement in the smart meter.
Figure 1. Categories of reactive power measurement definitions and approaches.
Figure 1. Categories of reactive power measurement definitions and approaches.
Energies 06 04721 g001
The advantage offered by wavelet domain analysis has been exploited by many studies on power measurement reported in the literature. For example, Yoon and Devaney [21] introduced the concept of power measurement using the DWT. In [2], the same authors proposed a calculation for reactive power using the DWT. That wavelet-based reactive power measurement system requires the phase shift of the input voltage or current signal. In [22], Vatansever and Ozdemir proposed a method for power measurement using the discrete wavelet packet transform and the Hilbert transform. In [2], Morsi summarized the approaches made to power measurement in the wavelet domain by comparing them. In [20], Morsi et al., investigated the usefulness of bio-orthogonal and reverse bio-orthogonal wavelets to measure reactive power. In [19], Morsi et al., proposed a method for measuring reactive power using the wavelet packet transform. In [23], Morsi presented a modified version of reactive power measurement using the DWT, which reduced the computational complexity when compared to the wavelet packet transform.
In this paper, we propose a more suitable implementation of the DWT for reactive power measurement in smart meters. General purpose computers can be used to implement DWT in an efficient algorithm using the pyramid algorithm (PA) proposed by Mallat [24,25]. However, for real time or running implementations of DWT, the PA requires either O(N) storage or N cascade filters together in order to compute the N-point DWT. Both of these alternatives [that is, O (N) memory storage cells and N cascaded filters] are expensive. Hence, a more efficient method for measuring reactive power using DWT is desired for smart meters because real-time reactive power measurement must be computed. In the present study, we present a reformulation of the (PA), called the pyramid recursive algorithm (RPA), for use in reactive power measurement in smart meters. The RPA, first introduced by Vishwanarth [26], computes the N-point DWT using just L × log (N-L) storage cells, where L is the length of the filter and generally L << N. It takes the same number of operations as that required by the PA.

3. Reactive Power Measurement

The notations used in the paper are listed in Table 1.
Reactive power calculation methods of commercially available smart meters can be divided into two types: a time shift approach and a power triangle approach [2]. The following is a brief description of each method, along with its physical interpretation.
Table 1. Nomenclature.
Table 1. Nomenclature.
Sr. NoNotationDescription
1v (t)Voltage waveform
2i (t)Current waveform
3fFundamental frequency
4fsSampling frequency
5Time Window (TW)Observation duration of the waveforms
6VrmsRoot mean square value of the voltage waveform
7IrmsRoot mean square value of the current waveform
8VDWTVrms representation using DWT
9IDWTIrms representation using DWT
10PActive power
11QReactive power
12SApparent power
13αVoltage waveform amplitude scaling factor
14βDC offset in the voltage waveform
15γPhase offset in the current waveform

3.1. Time Shift Approach

A time delay is introduced to shift one of the waveforms by 90° at the fundamental frequency and to multiply the voltage and current waveforms, as shown in Figure 2.
Figure 2. Time shift approach for reactive power calculation.
Figure 2. Time shift approach for reactive power calculation.
Energies 06 04721 g002
In [4], the reactive energy using time shift approach is mathematically expressed as:
Q = 1 T 0 T v ( t ) i ( t + T 4 )
where T is the time period of the fundamental frequency component of the voltage waveform. If the voltage and current waveforms contain harmonic distortion, the time shift approach loses its physical meaning because it is only valid when applied to the fundamental frequency component. Therefore, in the case of non-sinusoidal waveforms, reactive power measured by an electronic energy meter based on the time-shift approach will give a measurement that differs from the actual reactive energy.

3.2. Power Triangle Approach

The block diagram for calculating reactive power is shown in Figure 3. The power triangle method is based on the assumption that apparent, active, and reactive powers form a right angle triangle, as shown in Figure 3.
Figure 3. Power triangle approach for reactive power calculation.
Figure 3. Power triangle approach for reactive power calculation.
Energies 06 04721 g003
In [4], the reactive power is mathematically expressed as:
Q = S 2 P 2
where apparent power is the product of total root mean squared (rms) voltage and rms current:
S = V r m s I r m s
Active power can be written as:
P = 1 T 0 T v ( t ) i ( t ) d t
where T represents the time of interest or the observation time, or for periodic signals, the time period.
In an ideal power system, the voltage and currents are purely sinusoidal with a frequency of 50 Hz or 60 Hz, but in real power systems, current and voltage waveforms are no longer sinusoidal and contain harmonics due to existence of inductive, capacitive components and occurrence of distortions [27].
Unlike the time shift approach, the triangle approach is capable of calculating reactive power under most of the conditions that contribute to the degradation of the electric power quality—such as disturbances, harmonics distortion or losses, etc. However, it is unable to provide reactive power at the fundamental frequency under a non-sinusoidal condition.
Reactive power measurement using the power triangle method first needs to compute active and apparent power. Active power measurement is accurate for most energy meters, but the accuracy of the apparent power is bounded by the accuracy of the rms measurements. Therefore, in this paper, we also investigated the usefulness of the DWT for computing reactive power using the power triangle method under sinusoidal as well as non-sinusoidal cases, and by varying different operating parameters such as sampling rate, dc offset, phase offset, linearity error in current and voltage sensors, analog to digital converter resolution and a number of harmonics in the non-sinusoidal system.

4. Reactive Power Measurement Using the DWT

This section covers the operating principles of the reactive energy meters using the power triangle method and the DWT. Let v(t) and i(t) be the time domain signal of the voltage and the current waveform, respectively. In the time domain, the rms value can be calculated as follows:
V r m s = 1 n m = 1 n v m 2
I r m s = 1 n m = 1 n i m 2
where n is the total number of samples in one period of the waveform; m is the current sample number; and vm and im are the voltage and current values, respectively, defined in the samples.
Using DWT, the rms value of the voltage and current waveforms can be expressed as follows:
V D W T = 1 T k ( c j o v ( k ) ) 2 + 1 T j j o k ( d j v ( k ) ) 2 = V j o 2 + j j o V j 2
I D W T = 1 T k ( c j o j ( k ) ) 2 + 1 T j j o k ( d j i ( k ) ) 2 = I j o 2 + j j o I j 2
where the c’s and d’s represent the scaling/approximation and detail wavelet coefficients; which quantify how closely the wavelet function matches the original waveform at sample time k and frequency sub-band j, with jo as the lowest frequency sub-band; Subscripts j and k refer to the wavelet level/frequency sub-band and the sample time; respectively, while the superscripts v and i represent the voltage and current coefficients, respectively, in the wavelet domain. The apparent power at the approximation level (lowest frequency band) jo, Sjo, and the total apparent power SDWT are as follows:
S j o = V j o × I j o
S D W T = V D W T × I D W T
The reactive power in the wavelet can be calculated as:
Q = S D W T 2 P D W T 2
where PDWT, total active power, is the sum of approximations and detail active power and can be written as:
P D W T = 1 T k c j v ( k ) . c j i ( k ) + 1 T j j o k d j v ( k ) d j i ( k ) = P j o + j j o P j
The reactive power Q contains all the non-active power due to harmonics and any oscillating power that does not contribute to the power transmission. When considering the apparent power at the lowest wavelet decomposition, the reactive power becomes:
Q j o = S j o 2 P j o 2

5. Implementation of the DWT

The wavelet theory was first applied to digital signal processing application following derivation of the PA for the DWT by Mallat [24,25]. Since then, many applications of the DWT have been explored. In recent years, DWT has become a powerful tool for analyzing and measuring power in energy meters. The DWT can be viewed as a multi-resolution decomposition of a sequence. The large-scale study of wavelets for power measurement in energy meters has pointed to the importance of practical implementation of power measurement using the DWT. Figure 4 shows the block diagram of a smart meter in a smart grid, along with a schematic of the energy calculation algorithm using wavelet transform.
Figure 4. Block diagram of an energy meter using wavelet transform in a smart grid.
Figure 4. Block diagram of an energy meter using wavelet transform in a smart grid.
Energies 06 04721 g004
For N points of input sequence x(n), DWT generates a sequence of length N as the output y(n). The output has N/2 values at the highest resolution and N/4 values at next to the highest resolution level, and so on. This mean time resolution is high at high frequency and low at low frequency, whereas frequency resolution is low at high frequency and high at low frequency. Let N = 2J, where J is the number of frequencies. Therefore, the frequency index varies as 1, 2,…, J corresponding to the scales 21, 22,…, 2J. The scaling and detailed wavelet coefficients can be computed as follows:
c j ( k ) = m = 0 L 1 c j 1 ( 2 k m ) w ( m )        1 j log N , 0 k N j 1
d j ( k ) = m = 0 L 1 c j 1 ( 2 k m ) h ( m )        1 j log N , 0 k N j 1
where:
c j ( k ) , d j ( k ) kth approximation and detail coefficient at level j;
w(),h()Low pass and high pass L-tap filters obtained from chosen wavelet transform;
c o ( ) N-sample input signal x(n);
N j = N / 2 j Number of wavelet coefficients in level j.

The Pyramid Algorithm (PA) 

The pseudo code for the Pyramid algorithm can be written as:
Pyramid algorithm for N-point DWT computation
  • begin
  • c0(i) = x(i), i = 1,…N
    fs ← sampling rate
    a.TW ← observation interval for voltage or current waveform
    b. N = fs × TW
  • J = log2N
  • for (j = 1 to J)
  • for (k = 1 to 2J j)
  • c j ( k ) = m = 0 L 1 c j 1 ( 2 k m ) w ( m )
  • d j ( k ) = m = 0 L 1 c j 1 ( 2 k m ) h ( m )
  • end for
  • end for
  • end for
where J is the number of octaves; N = 2J is the length of sequence x; L is the length of the wavelet filter; and w( ) and h( ) are the low pass and high pass filters; respectively, derived from the wavelet. The output for the jth octave is contained in dj(k). The PA algorithm can be implemented using either filter bank architecture or folded architecture, as shown in Figure 5 and Figure 6, respectively.
Figure 5. DWT filter bank architecture for J = 3 octaves.
Figure 5. DWT filter bank architecture for J = 3 octaves.
Energies 06 04721 g005
Figure 6. DWT folded architecture.
Figure 6. DWT folded architecture.
Energies 06 04721 g006

Recursive Pyramid Algorithm (RPA) 

The RPA proposed by Vishwanth is a reformulation of the PA proposed by Mallat for real-time computation of the DWT coefficients. The core aim of the RPA is to make the memory size independent of the input length. The basic idea behind the RPA is to rearrange the computation order of the DWT coefficient. In the RPA, each coefficient computation is scheduled at the earliest possible instance. This schedule for computing the DWT coefficients is based on the precedence rule; i.e., if the earliest instance of the ith octave clashes with the (I + 1)th octave, then the ith octave output is computed first. For the sake of understanding, the scheduling mechanism of the RPA considers a grid of the DWT coefficients as shown in Figure 7. This is now pushed in a way that makes all horizontal lines line up in the form of a single line (RPA output sequence). The order of the output gives the output schedule. The advantages offered by the RPA are:
Because each output of the jth octave is scheduled at the earliest instance, only the latest L words (L is the length of filter) need to be stored. Thus, the total memory size needed for DWT using RPA is L(J − 1), where J is the number of decomposition levels;
The memory size can be small because each output of the different decomposition level is computed at the earliest possible instance. This removes the need to store the whole result of the jth octave for (j + 1)th octave computations;
The input number of samples fed for each subsequent stage is equal to the length of the filter; therefore, it achieves a uniform rate; i.e., a practical rate.
Figure 7. Scheduling diagram for the RPA.
Figure 7. Scheduling diagram for the RPA.
Energies 06 04721 g007
The pseudo code for computing the N-point DWT using the RPA is as follows:
Recursive Pyramid Algorithm for N-Point DWT Computation
  • begin
  • c0(i) = x(i), i = 1,…N
  • fs ← sampling rate
    TW ← observation interval for voltage or current waveform
    N = fs × TW
  • for (I = 1 to N)
  • recursive_dwt (i, 1)
  • end for
  • end
Function recursive_dwt (i, j)
  • begin
  • if(i%2~=0)
  • k = (i + 1)/2
  • c j ( k ) = m = 0 L 1 c j 1 ( 2 k m ) w ( m )
  • d j ( k ) = m = 0 L 1 c j 1 ( 2 k m ) h ( m )
  • else
  • recursive_dwt (i/2, j + 1)
  • end if
  • end
The RPA algorithm architecture is shown in Figure 8. The routing network has to keep track of the latest Llog (N-L) blocks of output. The main disadvantage of implementing the RPA on general purpose computers is that the efforts required by the routing network to keep track of the latest Llog (N-L) block of output might prevail over the reduction in the memory storage because searching for data from a huge memory requires longer access time. Hence, smart meters can be implemented more practically using the DWT with the RPA, which requires fewer memory cells than the PA does.
Although, computing the DWT using the RPA reduces memory requirements quite remarkably, however, still it requires heavy arithmetic computation because it is essentially a two channel filter bank. This arithmetic complexity can be reduced by using lifting scheme implementation of the DWT [28]. Implementation of lifting wavelet transform with an efficient RPA can be realized as an interesting future work for power measurement in smart meters.
Figure 8. RPA implementation architecture.
Figure 8. RPA implementation architecture.
Energies 06 04721 g008

6. Results and Discussion

This section first presents a comparison of the PA and the RPA in terms of the required numbers of memory cells and then provides an error analysis for power measurement using the DWT. Table 2 shows the memory required for the PA and the RPA for an input sequence having different samples, with a filter having 20 and 40 samples.
Table 2. Comparison of required numbers of memory cells for the pyramid algorithm (PA) and the recursive pyramid algorithm (RPA).
Table 2. Comparison of required numbers of memory cells for the pyramid algorithm (PA) and the recursive pyramid algorithm (RPA).
Input size (N)Filter length (L)Required memory cells PA (RPA)
51220512180
1024201024200
2048202048220
51240512360
1024401024400
2048402048440
Two case studies are introduced for error analysis, considering sinusoidal (linear load) and non- sinusoidal (non-linear load) operating conditions to show the performance of power measurement using the DWT under varying parameters. The overall block diagram of the simulated system is shown in Figure 9.
True values of the measurable quantities, such as P, Q, and S, are already predetermined because the input voltage and current waveform are synthesized by known parameters. The true value of Q is computed using the Hilbert transform. However, computing Q using the Hilbert transform at reasonable cost is not practically feasible because it requires a dedicated processor to process the Hilbert transform necessary to compute a constant phase shift of 90° at each harmonic frequency [29]. Hence, the value of Q computed using the Hilbert transform approach is taken as the reference point and compared with the value of Q computed using the DWT and the absolute error is presented in the results.
Figure 9. Block diagram of the power measurement system.
Figure 9. Block diagram of the power measurement system.
Energies 06 04721 g009
The input voltage or current waveforms are defined with parameters such as amplitude, fundamental frequency, and number of harmonics, phase offset, and (direct current) dc component.
The generalized form of sinusoidal voltage and current waveforms for case study 1 is defined as:
v ( t ) = V max α S i n ( 2 π f t ) + β
i ( t ) = I max S i n ( 2 π f t + π / γ )
where Vmax represents the peak voltage and Imax is the peak current; α is the amplitude scaling; β is the dc offset; γ is the phase offset and t is the running time.
For the case study 2, the non-sinusoidal voltage waveform contains n harmonics and can be expressed as:
v ( t ) = V max α S i n ( 2 π f t ) + k = 2 n S i n ( 2 π f t ) + β
These input waveforms pass through an analog to digital converter (ADC); two things are defined here: i.e., sampling rate and the ADC resolution, meaning how many bits a sample represents. These sample sequences are fed to the processing unit where the power calculation is performed using DWT. The mother wavelet chosen for the DWT is Daubechies 10 (db10) and Daubechies 20 (db20). The simulation is conducted in Matlab and the developed GUI interface is shown in Figure 10. The time window (TW) in the figure indicates the observation time of the input waveform and is in multiple of the fundamental time period T.
The impact of sensor linearity error is shown by varying α in Equation (16), the impact of DC offset is shown by varying β, the impact of phase offset is shown by varying γ, the impact of nonlinear load is shown by varying the number of harmonics, the effect of ADC resolution is shown by varying the number of bits used to store a sample, and the impact of sampling rate is shown by varying the sampling frequency fs.
Figure 10. GUI for power measurement system.
Figure 10. GUI for power measurement system.
Energies 06 04721 g010
Case study 1: Let both v(t) and i(t) be sinusoidal, with only a fundamental frequency component, and be given as:
v ( t ) = 220 α sin ( 2 π f t ) + β  and  i ( t ) = 5 sin ( 2 π f t + π / γ )
The sampling frequency fs is taken as 1.92 kHz and a 64 bit floating point numbering system is used. Various values obtained for α, β and γ are shown in Table 3. The values of α, β, and γ for which the error value (ERRQ) is lowest are highlighted.
Case study 2: Let v(t) be a waveform comprising three frequency components; i.e., fundamental frequency, third, and fifth harmonic. Current i(t) contains just the fundamental frequency component. These are given as:
v ( t ) = V max α S i n ( 2 π f t ) + S i n ( 2 π k 1 f t ) + S i n ( 2 π k 2 f t ) + β , k 1 = 2 , k 2 = 3
i ( t ) = 5 S i n ( 2 π f t + π γ )
The sampling frequency fs is taken as 1.92 kHz and a 64 bit (double) floating point numbering system is used. The results of varying values of α, β and γ are shown in Table 4. The values of α, β, and γ for which the error value (ERRQ) is lowest are highlighted.
Table 3. Results for case study 1.
Table 3. Results for case study 1.
Mother waveletInputsOutputs
αβγVrmsIrmsPQSERRQ
db10101155.60993.5366550.32850550.32850
20177.8053.5366275.16420275.16420
102155.60993.5350.79664550.0836550.08410.0736
103155.60993.5332274.4743476.3863549.80010.0823
152160.1163.5350.76768566.0127566.013216.013
1102164.65063.5352.332582.0384582.043132.038
db20101155.60993.5366550.32850550.32850
20177.8053.5366275.16420275.16420
102156.57693.51335.1974549.3550.04720.7
103156.57693.4247248.1128475.3787536.23210.37
153156.42033.42427247.6205475.0306535.69570.0306
1103156.42343.4247247.1282475.299535.70650.299
Table 4. Results for case study 2.
Table 4. Results for case study 2.
Mother waveletInputsOutputs
αβγVrmsIrmsPQSERRQ
db10101155.61463.5366550.33353.5438550.34493.5438
20177.81283.5366275.16923.5438275.19213.5438
102156.32193.5351.2946550.5994552.60090.5994
103156.32193.53322277.5387477.5193552.31552.5193
152160.83423.5352.8589568.5449568.55218.552
1102165.37463.5354.4232584.5856584.602434.5856
db20101155.61463.5366550.33353.5438550.34493.5438
20177.81283.5366275.16923.5438275.19213.5438
102157.333.5131.29825550.5186552.50090.5186
103157.333.4247248.7419477.4517538.81132.45
152157.16873.51336.0938550.9454552.12640.9454
1102157.16643.51336.1766550.9318552.11830.9318
The impact of ADC resolution on the power measurement is shown by conducting measurements under different data types; i.e., double, int32, int16, and int8 for both the sinusoidal and non-sinusoidal cases under Daubechies 10 (db10). Let values of α, β, and γ be 1, 0 and 2, respectively. Table 5 shows the results for both case study 1 and case study 2.
Table 5. Effect of ADC resolution on the power measurement.
Table 5. Effect of ADC resolution on the power measurement.
Data typeCase study 1Case study 2
PQSERRQPQSERRQ
double0.79664550.0836550.08410.8411.2982550.5994552.60090.5994
int320.2737572.9666572.966722.9662.2059572.6717572.675922.67
int160.2737572.9666572.966722.9662.2059572.6717572.675922.67
int81.2933404.0545404.0566146.050.09080405.0339405.0339144.07
The impact of sampling frequency fs on the power measurement is shown by conducting measurements under different sampling rates. Table 6 shows the results for both case study 1 and case study 2.
Table 6. Effect of sampling frequency on power measurement.
Table 6. Effect of sampling frequency on power measurement.
Samp FreqCase study 1Case study 2
fs (KHz)PQSERRQPQSERRQ
1.2143.7319529.1288548.30291.6971146.2492530.9813552.75419.0187
1.689.0456542.4225548.68611.313991.6796544.593552.2565.407
1.811.9928549.9373550.08410.84114.1794552.5994552.57382.5994
1.920.79664550.0836550.0680.681.2946552.3919552.60092.3919

7. Conclusions

This paper presents an investigation of efficient implementation of power measurement using the DWT for practical smart meters. RPA-based DWT computation ideally suits power measurement in smart meters because it requires just L × log (N-L) words of storage for computation of the N-point DWT. The problems associated with the power measurement using the DWT are also discussed in terms of error analysis by varying the number of system parameters. The error in power measurement is investigated for different types of environments; i.e., for both linear and nonlinear loads. These studies have been conducted for a single-phase load, but extending this study to a three-phase system would be a worthwhile future task.

Acknowledgment

This research was supported by the MSIP (Ministry of Science, ICT & Future Planning), Korea, under the C-ITRC (Convergence Information Technology Research Center) support program (NIPA-2013-H0401-13-1003) supervised by the NIPA (National IT Industry Promotion Agency). It was partially supported by Seoul R&BD Program (SS110012C0214831).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Krejcar, O.; Frischer, R. Real time voltage and current phase shift analyzer for power saving applications. Sensors 2012, 12, 11391–11405. [Google Scholar] [CrossRef] [PubMed]
  2. Abdel Aziz, M.; Abou El-Zahab, E.; Zobaa, A. Power factor and your electrical utility bill in Egypt. IEEE Trans. Power Deliv. 2003, 18, 1567–1568. [Google Scholar] [CrossRef]
  3. Fang, X.; Misra, S.; Xue, G.; Yang, D. Smart grid—The new and improved power grid: A survey. IEEE Commun. Surv.Tutor. 2011, 14, 944–980. [Google Scholar] [CrossRef]
  4. Dzafic, I.; Henselmeyer, S.; Neisius, H.T. High Performance State Estimation for Smart Grid Distribution Network Operation. In Proceedings of IEEE Conference on Innovative Smart Grid Technologies (ISGT), Hilton Anaheim, CA, USA, 17–19 January 2011; pp. 1–6.
  5. Sweet, B. The Smart Meter Avalanche. IEEE Spectrum Web Site. Available online: http://spectrum.ieee.org/energywise/energy/renewables/the-smart-meter-avalanche (accessed on 10 June 2013).
  6. Depuru, S.S.S.R.; Wang, L.; Devabhaktuni, V. Smart meters for power grid: Challenges, issues, advantages and status. Renew. Sustain. Energy Rev. 2011, 15, 2736–2742. [Google Scholar] [CrossRef]
  7. Lui, T.J.; Stirling, W.; Marcy, H.O. Get smart. IEEE Power Energy Mag. 2010, 8, 66–78. [Google Scholar] [CrossRef]
  8. You, Y.; Fuchs, E.; Barnes, P. Reactive power demand of transformers with DC bias. IEEE Ind. Appl. Mag. 1994, 2, 45–52. [Google Scholar] [CrossRef]
  9. Basu, S.; Bollen, M.H. A novel common power factor correction scheme for homes and offices. IEEE Trans. Power Deliv. 2005, 20, 2257–2263. [Google Scholar] [CrossRef]
  10. Khajavi, P.; Monsef, H.; Abniki, H. Load Profile Reformation through Demand Response Programs Using Smart Grid. In Proceedings of IEEE International Symposium on Modern Electric Power Systems (MEPS), Wroclaw, Poland, 20–22 September 2010; pp. 1–6.
  11. Morsi, W.G.; Diduch, C.P.; Chang, L.; El-Hawary, M. Wavelet-based reactive power and energy measurement in the presence of power quality disturbances. IEEE Trans. Power Syst. 2011, 26, 1263–1271. [Google Scholar] [CrossRef]
  12. Filipski, P. A new approach to reactive current and reactive power measurement in nonsinusoidal systems. IEEE Trans. Instrum. Meas. 1980, 29, 423–426. [Google Scholar] [CrossRef]
  13. Wyatt, J.L.; Llic, M. Time Domain Reactive Power Concepts for Nonlinear, Hilton Anaheim, Non-Sinusoidal or Non-Periodic Networks. In Proceedings of IEEE International Symposium on Circuits and Systems, New Orleans, LA, USA, 1–3 May 1990; pp. 387–390.
  14. Czarnecki, L.S. Measurement of the individual harmonics reactive power in non-sinusoidal systems. IEEE Trans. Instrum. Meas. 1983, 32, 383–384. [Google Scholar] [CrossRef]
  15. Czarnecki, L.S. New Power Theory of the 3-Phase Non-Linear Asymmetrical Circuits Supplied from Non-Sinusoidal Voltage Sources. In Proceedings of IEEE International Symposium on Circuits and Systems, Espoo, Finland, 7–9 June 1988; pp. 1627–1630.
  16. Czarnecki, L.S.; Swietlicki, T. Powers in nonsinusoidal networks: Their interpretation, analysis, and measurement. IEEE Trans. Instrum. Meas. 1990, 39, 340–345. [Google Scholar] [CrossRef]
  17. Yoon, W.K.; Devaney, M.J. Reactive power measurement using the wavelet transform. IEEE Trans. Instrum. Meas. 2000, 49, 246–252. [Google Scholar] [CrossRef]
  18. Croes, T.; Gherasim, C.; van den Keybus, J.; Ghijselen, J.; Driesen, J.; Belmans, R. Power Measurement Using the Wavelet Transform of Analytic Signals. In Proceedings of 11th IEEE Conference on Harmonics and Quality of Power, Lake Placid, NY, USA, 12–15 September 2004; pp. 338–342.
  19. Morsi, W.G.; El-Hawary, M.E. A new reactive, distortion and non-active power measurement method for nonstationary waveforms using wavelet packet transform. Electr. Power Syst. Res. 2009, 79, 1408–1415. [Google Scholar] [CrossRef]
  20. Morsi, W.G.; El-Hawary, M. Defining power components in nonsinusoidal unbalanced polyphase systems: The issues. IEEE Trans. Power Deliv. 2007, 22, 2428–2438. [Google Scholar] [CrossRef]
  21. Yoon, W.K.; Devaney, M.J. Power Measurement Using the Wavelet Transform. In Proceedings of IEEE Conference on Instrumentation and Measurement Technology, St. Paul, MN, USA, 18–20 May 1998; pp. 801–806.
  22. Vatansever, F.; Ozdemir, A. An alternative approach for calculating/measuring fundamental powers based on wavelet packet transform and its frequency sensitivity analysis. Electr. Eng. 2010, 91, 417–424. [Google Scholar] [CrossRef]
  23. Morsi, W. Electronic reactive energy meters’ performance evaluation in environment contaminated with power quality disturbances. Electr. Power Syst. Res. 2012, 84, 201–205. [Google Scholar] [CrossRef]
  24. Mallat, S.G. Multifrequency channel decompositions of images and wavelet models. IEEE Trans. Acoust. Speech Signal Process. 1989, 37, 2091–2110. [Google Scholar] [CrossRef]
  25. Mallat, S.G. A theory for multiresolution signal decomposition: The wavelet representation. IEEE Trans. Pattern Anal. Mach. Intell. 1989, 11, 674–693. [Google Scholar] [CrossRef]
  26. Vishwanath, M. The recursive pyramid algorithm for the discrete wavelet transform. IEEE Trans. Signal Process. 1994, 42, 673–676. [Google Scholar] [CrossRef]
  27. Svensson, S. Power Measurement Techniques for Nonsinusoidal Conditions. Ph.D. Thesis, Chalmers University of Technology, Goteborg, Sweden, 1999. [Google Scholar]
  28. Sweldens, W. The lifting scheme: A custom-design construction of biorthogonal wavelets. Appl. Comut. Harmon. Anal. 1996, 3, 186–200. [Google Scholar] [CrossRef]
  29. Moulin, E. Measuring reactive power in energy meters. Metering Inter. 2002, 1, 52–54. [Google Scholar]

Share and Cite

MDPI and ACS Style

Ul Hasan, N.; Ejaz, W.; Atiq, M.K.; Kim, H.S. Recursive Pyramid Algorithm-Based Discrete Wavelet Transform for Reactive Power Measurement in Smart Meters. Energies 2013, 6, 4721-4738. https://doi.org/10.3390/en6094721

AMA Style

Ul Hasan N, Ejaz W, Atiq MK, Kim HS. Recursive Pyramid Algorithm-Based Discrete Wavelet Transform for Reactive Power Measurement in Smart Meters. Energies. 2013; 6(9):4721-4738. https://doi.org/10.3390/en6094721

Chicago/Turabian Style

Ul Hasan, Najam, Waleed Ejaz, Mahin K. Atiq, and Hyung Seok Kim. 2013. "Recursive Pyramid Algorithm-Based Discrete Wavelet Transform for Reactive Power Measurement in Smart Meters" Energies 6, no. 9: 4721-4738. https://doi.org/10.3390/en6094721

APA Style

Ul Hasan, N., Ejaz, W., Atiq, M. K., & Kim, H. S. (2013). Recursive Pyramid Algorithm-Based Discrete Wavelet Transform for Reactive Power Measurement in Smart Meters. Energies, 6(9), 4721-4738. https://doi.org/10.3390/en6094721

Article Metrics

Back to TopTop