You are on page 1of 5

2004 11th International Conference on Harmonics and Quality of Power

A Novel Approach for Spectral Analysis of


Monitored Power Systems
MoisCs V. Ribeiro, SfudentMember, IEEE, Sanjit K. Mitra, L$e Fellow, IEEE, and JoHo Marcos T.
Romano, Senior Member, IEEE

2) a decentralized approach that requires a powerful DSP in


Absfract -This paper presents a novel approach that the PQ monitoring equipment and low bandwidth [6]. In the
combines the adaptive and non-adaptive notch fdters, multilayer second strategy, it is assumed that low-complexity algorithms
perceptron neural network, and warped discrete Fourier are required to get a feasible and low-cost solution in the PQ
transform O F T ) to estimate amplitudes, frequencies and monitoring equipment.
phases of the fundamental and harmonic components in power
systems. Simulation results show that only 1.25 cycles of the As far as PQ is concemed, there has been an increasing
fundamental component are enough to pronde small frequency, interest in the development of feasible, low-cost and accurate
phase and amplitude error estimations. algorithms to estimate amplitudes, frequencies, and phases of
the fundamental and harmonic components during the last
-
Index Terms adaptive filters, amplitude estimation, digital decades. To this end, several techniques such as the FFT,
signal processing, discrete Fourier transform, frequency notch filter, Kalman filter, and PLL have been proposed so far
estimation, power quality. [XI-[13]. However, computational complexity, accuracy and
time-consuming requirements have necessitated the
I. hTRODUCnON
development of new algorithms for real-time DSP-based

R - ECENTLY, increasing efforts are being applied to


provide high level of power quality (PQ) than ever
before. It is well known that problems such as voltage sags,
implementation.
This paper proposes a feasible approach to estimate
amplitudes, 6equencies, and phases of the fundamental and
voltage swells, transients, harmonics, inter harmonics, harmonic components. Essentially, an appropriate
momentary interruptions, and unbalances can cause machine combination of the warped discrete Fourier transform
and equipment malfunctions, lost production and downtimes (WDFT) [13], adaptive and non-adaptive notch filters, and
[l-41. Most of these problems have increased in the market multilayer perceptron neural network (MLPNN) is suggested
deregulation environment due to an increase use of non-linear to perform the aforementioned tasks. Simulation results
loads, and electronic-based equipment in residences, evaluating the performance of the proposed scheme under
commercial centers, and industrial plants; an increase in the several scenarios have shown that only 1.25 cycles of the
connection of independent power producers (IPP's) with fundamental component are sufficient to provide amplitude,
poorly controlled synchronization; and the competition and frequency and phase estimations with high accuracy.
reluctance to exchange information, etc. [l]. As a result, new An outline of this paper is as follows. Section 11 briefly
functions have been introduced in the monitoring equipment discusses the ffequency estimation problem in the power
for PQ analysis enabling further application of appropriate system and the ongoing DSP techniques applied to ffequency
techniques to minimize the PQ problems. It is well known that estimation for PQ. It also provides the motivation for the
this equipment must he able to acquire at high sample rate, development of the proposed approach. Section I11 describes
analyze, store and transmit PQ information concerning the the proposed approach. Section lV includes results of some
monitoring point of the power system to fully characterize the computer simulations. Finally, Section V presents the
ongoing PQ problems [SI-[6]. Two strategies for monitoring conclusions.
systems have been considered for providing continuous
evaluation of PQ parameters, which track the long-term trends 11. PROBLEM FORMULATION
as well as the short-term events: 1) a centralized approach that
The minimal requirement or basic feature for a good
demands a large bandwidth for data transmission and huge
frequency tracker or estimator is the so-called unhiasedness in
computational power in the central processing facility [7]; and
the noise-free setting. In other words, if a monitored discrete

from Brazil. constant, then the angular frequency estimator is expected to


Moists V. Ribeiro and Sanjit K. Mina are witb Depamnent of Electrical
and computer Engineering - university of califomia santa Barbara CA provide an estimate i~,,~ that, at steady state, is exactly as the
93106, USA (e-mail: mribeim@iece.org. mitra@cce.ucsb.edu).
lo.%ohlarcos T. Romano is with DECOMEEECNNICAMP, caTbas, Same as WH,Q. The majority of the frequency estimators
SP 13 081 970, Brazil (e-mail romano@deeom.fee.unicamp.br).

0-7803-8746-5/04/$20.00 02004 IEEE. 255


~

advanced so far (FFT, WDFT, notch filter, Kalman filter,


PLL, etc [8]-[12]) are based on this simple assumption.
However, the efficiency and accuracy of all these prior
methods are influenced by the features of the power line
signal, which is given by [6] Equation (8) demonstrates that the SNR,, value is much
44 = S H ( 4+ SIH (n)+ S r ( 4+ v ( n ) , (1) higher than SNR observed in the presence of high-power
disturbance in the monitored power line. The extension of this
idea to other harmonic components is straightfonvard. We
point out that this idea can be extended to other approaches
based on Kalman filter, PLL, etc.
Another interesting issue concerning frequency estimation
is the use of this information to estimate amplitudes and
phases of the fundamental and barmonic components. To this
end, that FFT technique has been widely used in PQ
applications due to its low-complexity. However, the leakage
problem in the FFT computation can degrade the performance
(4) of this technique. Another drawback associated with FFT is
the high sample rate required to get a reasonable resolution for
the estimation of all harmonic component parameters [12].
and v ( n ) is iid N ( 0 , a ; ) . The terms s H ( n ) , s I H ( n ) ,s r ( n ) , The following section introduces the proposed new approach
and v ( n ) refer to harmonic, inter-harmonic, transient, and for amplitude, frequency and phase estimation purpose in the
background noise components, respectively. A H > , mH, , power systems.
O H , ; , ArH.j, o I H jand
, QIH,j are i-th harmonic and j-th 111. THEPROPOSED
METHOD
inter-harmonic component values of amplitude, angular
Fig. 1 shows the block diagram of the proposed method, to
frequency and phase, respectively. ( n ) is the k-th transient he called notch filter-warped discrete Fourier transform (NF-
component.. As can be seen from (I), the harmonics, inter- WDFT) scheme, for the amplitude, frequency and phase
harmonics, transients and background noise do influence the estimations of the fundamental and harmonic components.
performances and behaviors of all methods for amplitude, This approach can be seen as an improved version of the
frequency and phase estimations. In other words, these noises proposed solution based on DFT and WDFT in [I I], which
decrease the convergence rate and the accuracy of the we call DFT-WDFT approach. The main advantage of NF-
estimation method used because the signal-to-noise ratio WDFT approach is its capability of getting good estimation of
(SNR) value at the input of the estimation algorithm is given fiequencies, phases and amplitudes of several harmonic
by components. In our method, the combination of the WDFT

SNR = I 0 loglo( 51, and MLPNN techniques perform frequency and amplitude
estimations under a less severe SNR condition given by (6).

N-I

p = n=o
kH.0 Cn)p
N '

I
I I

-, "J4

(7)
is high. In (5)-(7) s H , o ( n ) , s H , , ( n ) , and sIH,,(n) are the
fundamental, the i-th harmonic and the j-th inter-harmonic Fig. 1. The NF-WDF? Scheme.
component samples, respectively, of the monitored signal; and
In this scheme, the NFo block implements a second-order
N is the length of the analyzed signal. It is evident that the
adaptive notch filter (ANF) based on higher order statistics
S N R can be increased by eliminating all harmonics, inter-
(HOS) [IO]. The second-order ANF is applied to track a
harmonics and transients components. In such a case, the new
coarse estimation of the frequency of the fundamental
S N R value is given by
component. Thereafter, a better estimation of the amplitude
and frequency of the fundamental component is performed by

256
the WDFTo block. The WDFTo block implements a WDFT uiH,j
<U: because the characteristics of notch filter; and
with N / 4 basis vectors, whose warped frequencies are near
is the phase delay introduced by the previous notch
the coarse estimation obtained by using the second-order
ANF. N is the length of the analyzed signal. Next, a Taylor filters The S N R value of the signal given by (1 I ) is equivalent
expansion of order 2 is fitted to the maximum magnitude of to the SNRNER given by (8). This is a very interesting result
WDFT sample and its left and right neighbors as suggested in because a low-power noise contributes to the improvement of
[Ill. In a final step, a MLPNN technique [I61 is applied to the performance of estimation techniques such as FFT,
estimate the amplitude, frequency and phase values from the WDFT, Kalman, PLL, etc.
warped amplitude, frequency, and phase values obtained by The motivation behind the use of N-point WDFT, which is
using the WDFT. a special case of the NDFT (nonuninform DFT [14]) is that
After that, the second-order notch filter in each NF block is this transform performs a nonuniform mapping of the
configured' based on the frequency of each harmonic analyzed signal on the unit cycle and requires few samples to
component. Note that, the parameter of the second-order notch estimate the frequency of a sinusoidal signal [ 111. The same
filter implemented in the NFo block is based on the Go value, kind of nonuniform mapping can be achieved by using the
chup transform at a higher computational complexity, but
while the NFl,...,NFH blocks implement second-order notch
demands a higher computational complexity. The N-point
filters with notch frequencies equal to
WDFT is given by

51
&H,i = icjH,o< x , i = 1,..., M . The WDFT, ,...,WDFTMblocks
implement a WDFT with only three hasis vectors and make -j-k
2n "
use of the same procedure applied to the WDFT, and MLPNN
X [ k ]"
=4y x ( ~ ) [ ~-j-k* + ~ ,k=O,...,N-1, (14)
blocks to estimate the amplitude and phase of the harmonic
components. The z-transform of the transfer function of the i- l+ae
tb second-order notch filter is given by [12]
where a* denotes the complex conjugate value of a . The
1 + U$ + 2-2 -
-
I-2cos(q)z-' +z-* mapping is controlled by the warping parameter a . By
H , ( z )=
1 + p , a , d + p:z-' 1 - 2p, cos(y)z-' + piz-' selecting a suitably complex-valued warping parameter, we
i = O , ..., M can place a large number of frequency samples in the main
lobe of the signal spectrum resulting in a good estimation of
(9) tbe frequency and amplitude values.
For stability, the constant pi is selected somewhat less The coarse estimation of the coefficient a. of the second-
than a unity. Assuming that the delay is zero and pi is close order adaptive notch filter is obtained by using the linear
to an unity, then it can be seen from Fig. 1 that predictive (LP) method based on the diagonal fourth-order
xi (n) = mixed cumulant slice (FOMCS) of the input signal that is
expressed by [lo]

1
) AH,ocos(nwH,o+
x(n + d H , o - + AOH,,), if i = 0,
cos(nwH,j
Xi-i(n+d~,i-i)-C;.=~A~ ,j + @ ~ +, A
j e~,j),
?*(r)cL)= ? x ( r , r , r ) ( L )I =(c:ibx(n)x'(n
- +r)
L
L-1 1
otherwise, -3z:Ibx(n)x(n + r)z,=,x (n+ TI) (15)
(10) r = 0,..., P- I, 2 5 P 5 L - 1

x(n+dH,O)-xo(n), if i=O, for estimating the second-order ANF coefficient given by


XSH,; ( n )=
{ - x ~ ( n ) , , (11)
~ ~ - ~ ( n + d ~ , ~ - ~ ) otherwise, U, = -2c0swH~,. (16)
=AH,i cos(n@H,i+ o H , i +Ao~,i)+~~H,i(n) Using the estimated diagonal FOMCS values, the least-
square solution of tbe forward linear prediction equations that
relate the coefficient a, to FOMCS values is given by

do = -2Cos&",, = -('DT'D)-'"q, (17)


where 0=[?,(1)'L' ... t z ( P - 2 ) [ 9 ] 7 and
cp = [?,(2)(') + ;=(O)") ... ?,(P- +~x(P-3)'"]'.
Finally, we can point out that the relation between the
where x , ( n ) denotes the output of the i-th notch filter;
amplitudes, frequencies and phases in the warped and
i = 0, ..., M ; dH,iis a delay inserted by the i-th second-order traditional frequency domains are nonlinear and not well
notch filter; xsM,,(n) denotes the signal applied to the WDFT; defined yet. As a result, the phase, amplitude, and frequency
vSH,,(n) is a colored background noise whose power estimations of the i-th harmonic component are given by

251
achieved if the f, is increased. In low SNR condition we
observed that the ANF does not converge. So, in this case, we
consider the coarse frequency estimation equal to 60 Hz and
(19) perform the WDFT implemented in the WDFT, block twice.
In order to analyze the amplitude estimation performance
of the NF-WDFT under the presence of harmonic components
(20) in the monitored power system we considered U: = -20 dB.
-
respectively. Note that A H , i , &,H.i, and
- are the warped 1.25 cycles of fundamental component is used by NF-WDFT
and DFT-WDFT approaches at f, = 60 x 64 Hz while the
amplitude, angular 6equency, and phase values; ASH,i
FFT used 1 (128-point FFT) and 2 (256-point FFT) cycles at
denotes the distortion generated by the previous notch filters; f,=128x60 Hz [7]. Tables 2, 3 and 4 show the real
g A ( . ), ga(.),and go(.) represent the nonlinear mapping
amplitude values of fundamental and harmonic components
performed by the MLPNN, respectively. To get an efficient (first column) as well as their estimated values obtained by
MLPNN we also consider a second-order optimization NF-WDFT, DFT-WDFT and FFT.
method called modified version of the Scaled Conjugated The results in Tables 2, 3 and 4 have been obtained by
Gradient method (MVSCGM) as in [I61 for the MLPNN considering fo equal to 57.0 Hz, 60.01 Hz and 62.50 Hz,
trainiig procedure.
respectively. The data in each table has been obtained by
performing 5000 Monte Carlo simulations. The structure of
W . SIMULATION R!2SULTS
the MLPNN for the amplitude estimation is 2 x 5 x 1 . As it can
This section compares the performances of the NF-WDFT, he observed the NF-WDFT, at low sampling rate, shows
DFT-WDFT and FFT approaches. The harmonic information better amplitude estimation than the 256-point FFT.
was obtained 60m [I51 and synthetically generated using Particularly, we can also observe that for low amplitude
MATLAB. Table 1 shows the results obtained by using the values much better estimation results are attained by using
NF-WDFT and DFT-WDFT (with 64-point DFT) approaches NF-WDFT.
to estimate the frequency of the fundamental component of a With regarding to how the performance of the amplitude
signal given by estimation technique influences the THD evaluation, the last
x ( n ) = sH(n)+ v(n) = AH,ocos(noH,, + e,.,)+ TOW of Table 2, 3 and 4 shows the real and estimated THD.
(21) From these results, it is clear that NF-WDFT provides a
1 ; = 1 A H , k i cos(BkiaH,O + @ H , k i ) + v ( n ) , ki = 3 x i , superior THD estimation than other approaches. At the end, it
is worth mentioning that the NF-WDFT remains a delay to
where i = 0, ...,7 are uniform random variables in the provide a coarse frequency estimation performed by the
interval [0,2x) and v ( n ) is a zero mean Gaussian noise with adaptive notch filter and to get the steady-state conditions of
a variance c:. The values A H , k i ,i = O ,.._, 7 are equal to the notch filters.
To analyze the performance of the (1 x 3 x 1) MLPNN to
1.000, 0.757, 0.426, 0.145, 0.025, 0.009, 0.058, and 0.007,
estimate the phase of the sinusoid component 6 0 m the warped
respectively. The chosen sample rate is f, = 64 x 60 Hz. The
phase values, we consider the signal
OH 0
values for f H , o=-f, are 57.43 Hz,60.11 Hz, and 62.89 x(n) = COs(nOH,O + @H,O) 3 (22)
2rr
Hz,respectively. 1.25 cycles of fundamental component are
used by the NF-WDFT and DFT-WDFT approaches. The where mH,o =- 2n60'11 and So is an uniform random variable
60 x 64
performance is evaluated in terms of S N R value given by (5) in the interval [0,2n). For the training and testing procedures,
and performing 5000 Monte Carlo simulations. Also, we
we generated 3600 and 36000 sequences { x ( n ) } , respectively.
'assume pi =0.9985 and lal=0.9. The structure of the
The length of each sequence {x(rr)} is equal to 1.25 cycles of
MLPNN for the 6equency estimation is 2 x 6 ~ 1 It. means
the fundamental component. The performance of the MLPNN
that the MLPNN has two input, 6 neurons in the hidden layer,
in terms of MSE value is shown in Table 5. As it can be seen,
and one output.
the MLPNN attains very good results. In fact, the second-
As can be seen, in all cases the proposed method
order optimization method provides an efficient and simple
outperforms the DFT-WDFT based method. Also, it can be
MLPNN for this kind of estimation.
observed that under low SNR Conditions the NF-WDFT
provides a much better estimation than the DFT-WDFT [ll].
In fact, an SNR improvement is observed in the input of
WDFTO block of the NF-WDFT approach that results in a
good condition for frequency estimation. Although it is not
showed, we also noticed that better estimation results can be

258
TABLE1. FREQUENCY ESmnONPERFORMANCE

* (I) NF-WDFT
** (II) DFT-WDFT
TABLE
2. AMPLITWOE AND TIu)ESTMATION
PERFORMANCE fundamental and harmonic components. Also, it can be point
out that the proposed method attains better results than
previous approaches for amplitude and frequency estimations.
Issues related to finite-precision implementation with delta
and shift operators as well as comparison with Kalman and
PLL techniques are under investigation by the authors.

VI. REFERENCES
[I] J. Arrillaga, M. H. J. Bolleq and N. R Watson, “Power quality
following deregulation,” Proceedings of the IEEE, vol. 88, no. 2, pp.
246-261, Feb. 2WO.
121 C. Melhom and M. F. M c h a g h m , “Interpretation and analysis of
power quality measurements,” IEEE T r a m on l n d w h y Applications,
TABLE3. AMPLITUDEAND THD ESTIMATIONPERFORMANCE vol. 31,no. 6,pp. 1363-1370, Nov.iDec. 1995.
128 I 256 I 131 M. H. J. Bollen, Power Quolih Problems: Voltaae S q s orrd
Intemptiorts, IEEE Press, NI, 2C€IO.
141 IEEE Recommended oroetice for monitorim eleclric D O W ~ ouolin.
L . ~

lEEE Standard 1159-iS95, 1995.


~ Y . ,I

[SI A. lL Khan, “Monitoring power for the fume,” Power Engineering


.. 81-85,Apr. 2001.
Journol,vol. 15,no. 2,pp.
161 U V. Ribeiro, C . A. Duque, and J. M. T. Romano, ‘‘An improved
method for signal processing and compression in power quality
evaluation,” IEEE Trow. on P o w r Delivery, vol. 19, 2, pp. 464471,
Apr. 2004.
[7] D.J. Won, 1.-Y. C h u g , I.-M. Kim, S.-I. Moon, J:C. Seo, and I.-W.
Chac, “Development of power quality monitoring system with central
processing scheme,” in Proc. lEEE Power Engineerlitg Socieq Summer
Meeting, pp. 915-919, Jul. 2002.
TABLE
4. AWLITWOEAND THD ESTl?dA”fONPERFORMANCE 181 M.K.-Ghartemani and M. Rem Iravani, “A signal processing module for
power system applications,” IEEE Trans. on Power Deliwry, vol. 18,
128 I 256 I no.4,pp. 1118-1126,0ct.2003.
[9] A. Routray, A. K. hadhan, and K. P. Rao, “A novel K a l m filter for
frequency estimation of distorted s i s a l s in power systems,” IEEE
Trans. on I n m and Measurement, vol. 51, no. 3, pp. 469479, Jun.
2002.
[lo] R.R. Gharieb, “Higher order statistics based IIR notch filtering scheme
for enhancing sinusoids in coloured noise,” IEE Proc.-Vis. Image Signal
Processing, vol. 147,no.2,pp. 115-121, Apr. 2000.
[l 11 S. F m , S. K Mitta, and G. Doblinger, ‘Trequency estimation using
warped dismete Fourier fransform,” Sign01 Procersing, vol. 83, pp.
1661-1671,2003.
[I21 S. K. Mitra, Digital Signal Proc&sin~;A Computer-Based Approach,
2“ Edition,~MCC~~~-H~~~~~.2001.
~II.
[I31 A. M a r h and S. K. Mitra, “Warped discrete Fourin transform: theory
TABLE5 . ’THE MSE VALUES AlTANED BY USING THE MLPNN FOR THE and applications,” IEEE Trons. Circuits ond Systems-I: Fundomenrol
PHASEE S m T I O N TheoryondApplicotions, vol. 48, no. 9, pp. 1086-1093, Sept. 2001.
I Training 1 Testing [14] S. K. Mitra, and S. Bagchi, The Nonuni/orm Discrete Foun‘er Trom/om
I MSE(dB) I -64.32 I -55.42 andlts Applications in SignolProeessing, Kluwer Academic Publishen,
.....
1999
[IS] P. J. Moon and 1. E Pormgu2s, “Thc innuenee of personal computer
V . CONCLUDING
REMARKS p ~ ~ e s s i nmode
g an line cment harmonics,” IEEE Trans. on Power
Delivery, vol. 18,no. 4,pp. 1363-1587, Oct. 2003.
This paper introduced a new amplitude, frequency’ and 1161 M. V. Ribcim, J. 0.A. Babedo, 1. M. T. Romano, and A. Lopes,
phase estimation method for PQ applications. The simulation “Fourier-lappcd-multil~y~~ perceptton (FLMLP) method for speech
results have verified that the proposed approach shows quality assessment,(.EWRASIP Jounml on Applied Signal Proceming,
considerable performance under several realistic scenarios for special Issue on Anthropomorphic Processing o/ Audio and Speech,
2003. (submitted)
amplitude, phase, and frequency estimations of the

259

You might also like