You are on page 1of 6

1730 IEEE Transactions on Power Systems, Vol. 11, No.

4, November 1996

AN ADAPTIVE LINEAR COMBINER FOR ON-LINE TRACKING


OF POWER SYSTEM HARMONICS
A.C.Liew Saifur Rahman
P.K..Dash, D.P.Swain Dept. of Electrical Engineering, Dept. of Electrical Engg.
Dept. of Electrical Engg, National University of Singapore, Virginia Polytechnic Institute & State
Regional Engineering Republic of Singapore. University
College,Rourkela 769 008 U.S.A.
INDIA

Abstract : In tracking harmonics for the large power system, where it is


The paper presents a new approach for the difficult to locate the magnitude of the unknown
estimation of harmonic components of a power system using harmonic sources, a new algorithm based on learning
a linear adaptive neuron called Adaline. The learning principles is used by Hartana and Richards [7]. This method
parameters in the proposed neural estimation algorithm are uses Neural networks to make initial estimates of harmonic
adjusted to force the error between the actual and desired source in the power system with nonlinear loads. To predict
outputs to satisfy a stable difference error equation. The the voltage harmonics, Mori et.al, [SI have used the artrficial
estimator tracks the Fourier coefficients of the signal data neural network based on the backpropagation learning
corrupted with noise and decaying dc components very technique. An analog neural method of calculating harmonics
accurately. Adaptive tracking of harmonic components of a is presented by S. Osowski [9] which basically uses the
power system can easily be done using this algorithm. Several optimization technique to minimize error and this is an
numerical tests have been conducted for the adaptive interesting application from the point of view of VLSI
estimation of harmonic components of power system signals implementation.
mixed with noise and decaying dc components. The present paper proposes a new approach for the
Key words : Power system harmonics, Neural network, adaptive estimation of harmonics using a Fourier linear
Adaline, Estimation. combiner. The linear combiner is realised using a linear
1. Introduction adaptive neural network called Adaline[lO]. An Adaline has
Estimation of the harmonic components in a power an input sequence, an output sequence, and a desired
system is a standard approach for the assessment of the response-signal sequence. It has also a set of adjustable
quality of the delivered power. There is a rapid increase in parameters called the weight vector. The weight vector of the
harmonic currents and voltages in the present AC systems Adaline generates the Fourier coefficients %
0 signal using
due to large introduction of solid state power switching a nonlinear weight adjustment algorithm based on a stable
devices. Transformer saturation in a power network produces difference error equation. This approach [111 is substantially
an increased amount of current harmonics. Consequently, to different from the backpropagation approach and allows one
provide the quality of the delivered power, it is imperative to to better control the stability and speed of convergence by
know the harmonic parameters such as magnitude and phase. appropriate choice of parameters of the error difference
This is essential for designing filters for eliminating and equation. Several computer simulation tests are conducted to
reducing the effects of harmonics in a power system. Many estimate the magnitude and phase angle of the harmonic
algorithms are available to evaluate the harmonics of which components from power system signals embedded in noise
the Fast Fourier Transforms W T ) developed by Cooley and very accurately. Further, the estimation technique is highly
Tukey[ 1,2] is widely used. Other algorithms include, adaptive and is capable of tracking the variations of
recursive DFT, spectral observer, Hartley transform[3,4] for amplitude and phase angle of the harmonic components. The
selecting the range of harmonics The use of a more robust performance of this algorithm is compared with the well-
algorithm is described by Dash and Sharaf [5] and Girgis known Kalman filtering algorithm showing its superiority
et a1[6] which provides a simple linear Kalman filter for over the later in tracking power system harmonics on-line.
estimating the magnitudes of sinusoids of known frequencies
embedded in an unknown measurement noise, which can be 2. Problem formulation
a mixture of both stochastic and deterministic signals. Let us assume the waveform of the voltage or current
of the power system with a fundamental angular frequency,o,
as the sum of harmonics of unknown magnitudes and phases.
96 W 181-8 PWRS A paper recommended and approved by the IEEE The general form of the waveform is
Power System Engineering Committee of the IEEE Power Engineering N
Society for presentation at the 1996 IEEEIPES Winter Meeting, January 21-
25, 1996, Baltimore, MD. Manuscript submitted July 11, 1995; madel
y(t>= C
1=1
Asin(lai
~ + bl)+ E(t) (1)
available for printing January 10, 1996.
where the A,'s and $l's are the amplitude and phase of the
harmonics, respectively; N is the total number of harmonics,
and ~ ( tis)the noise and t is the instant of measurement.
0885-8950/96/$05.OO 0 1996 IEEE
1731

The discrete-time version of the signal represented Ttus error will be brought down to zero, when
by- equation
- ( 1 ) is perfect learning is attained and the signal y ( k ) becomes
N
y ( k ) = C A Isin(
I= 1
?+ h)+E ( k ) =
N
I= 1
CAld 2 nik
cos$hl.sin-
NS
equal to
y ( k ) = w,Tx(k) (7)
N 2d k where WO is the weight vector after final convergence is
+CA,, sin#l.cos-t ~ ( k )
attained, so that the neural model exactly predicts the
I= 1 NS
where N , is the sample rate given by incoming signal.
To study the convergence of the learning rule, the
N, = f,l f o , where fo = nominal power system
following positive definite function in the way of Lyapunov is
frequency and f, = sampling frequency. used :
To obtain the solution for on-line estimation of the V ( k )= IIJV -)61
12
harmonics, we propose the use of an adaptive neural network
and (8)
comprising linear adaptive neuron called "Adaline". The A Y ( k ) = Y ( k +I) - Y ( k )
block diagram of the Adaline is shown in Fig. 1. The input to
By using weight adjustment algorithm (5) and with some
the Adaline is given by
manipulations. it can be proved that

F o r O < a ! < 2 , a n d R>Oi, A Y ( k ) l O


Therefor, if y ( k ) $ y ( k ) , the adjustment law reduces the
Euclidean distance between W ( k ) and WOand ensures the
weight error vector (W(k ) - W,)going to zero as k +=
00.

The practical range of a is between .1 and 1 for making the


error between the computed and measured signals to
converge asymptotically to zero at a rate (1-a).Further the
udat10n value of h is chosen very nearly zero (h = .01) so that

Fig.1 Block diagram for harmonic estimation


A+XT(k)X(k)#O (10)
using an Adaline (e= 2 Irk / N,) After the tracking error converges to zero, the
weight vector yields the Fourier coefficients as
% = [ [ ~ , c o s 4 ~ ~ s i ...
n ~4 ~~ c o ~s ~4 s~ i ,qdc
n 4 ~
The amplitude and phase of the Nth harmonic is given by
sin-
6nk 6 d
cos- .... sin-. 2Nnk co-]'
2Nd
(3) A, =J$(2"-1)+%2(2N)
N, N, N, N,
T = transpose of a quantity. and (12)
If a decaying dc quantity is added to the signal #iv =tan-'(W,(2N-l)/W,(ZN)]
model given in equation (2), the input vector X becomes After discussing the Widrow-Hoff delta rule, another
adaptation algorithm is considered for this application. This
algorithm for the weight adaptation of Adaline produces a
In this equation the decaying dc component is fast convergence and introduces nonlinearity to the learning
represented as Adc - Ad#kq technique. The weight vector of the Adaline is adapted as
where, P=decaying coefficient, = 2 7c/ UN,
The weight vector of the Adaline is updated using
Widrow-Hoff delta rule 1131 as where 8, (X)is chosen as a SGN function anid is given by

[ [
B k ( X ) = SGN sin-
3 [) : ;
SGN cos-

where k = the time index or iteration,


W k ) = [ W )%@)wJ(&(@. 4 wzN-l(k) w z N ( k ) 4 N + , ( Q
is the weight vector at time k .
wzN+Z(k)]T

where
[ y)
... SGN sin- SFN[cOsy) 1 -4
X ( k ) = input vector at time k,
+1 ifx, > 0
e ( k ) = y ( k ) - f ( k ) is the error at time k,
a = reduction factor (a learning parameter)
f( k ) = estimated signal amplitude at time k, and
{
S G N ( x , ) = -1 ifx, < O
i = 1,2,......, 2N
(15)

y ( k ) = actual signal amplitude at time k. The learning parameter a can be made adaptive by using the
following expression
On the kth iteration, the error is
e ( k ) = y ( k )-EW (6) a!= a ! o / ( l + k / k i ) (16)
1732
where kl is to be chosen suitably for the best performance. data acquisition interface and processing system. The test
This qlgorithm is much simpler and faster in comparison to results will be reported in a future paper.
the 3-layer ANN approach using backpropagation technique 5.Conclusions
as the later takes large training time and suffers from The paper presents a new approach for estimation of
convergence problem. amplitude and phase angles of harmonics in power systems.
4. Numerical Experimentation The approach is based on the weight vector estimation of an
In order to evaluate the perfomance of the adaptive Adaline using Least Mean squares and a nonlinear weight
perceptron in estimating amplitude and phase of the adjustment algorithm Several computer simulation tests
harmonic components, numerical experiments using have been conducted to estimate harmonics of power system
MATLAB software have been performed. The voltage signals corrupted with random noise and decaying dc
waveform of known harfionic contents is taken for components to assess the speed of convergence and tracking
estimation accuracy of the new approacH using an adaptive linear
~ ( t=)1.0 sin(& + 10') +0.1sin(3wt +20')+.08sin(5wt + 30') combiner. The results presented in this paper indicate the
+.OS sin(9wt + 40')+.06 sin( 1lwt -I-50') excellent accuracy and convergence speed of the new
+.05 sin(13wt +60')+. 03sin(19wt +70') algorithm in 'comparison with the DFT based algorithm.
Further the adaptive nature of the algorithm is suitable for
The sampling frequency is chosen as I.6kHz based tracking harmonics with time varying amplitude and phase
on a 50 Hz voltage waveform. The estimated amplitude and
angles. An adaptive learning parameter a is used in this
phase of 3rd and 1lth harmonic are shown in Fig.2.
paper in bringing a faster convergence and noise rejection in
The effect of frequency drift of the fundamental by
tracking the harmonic components.
1.0 Hz is considered on the magnitudes of the estimates and
6. References
Fig3 shows these values for the same 3rd and 11th harmonic
1. J.W.Cooley, and J.W.Tukey, "An algorithm for machine
components of the voltage waveform.
calculation of complex Fourier series", Journal Math.
The voltage signal is then corrupted with an
Comput. vo1.19, 1965, pp.297-301.
exponentially decaying dc component represented by 0.1 exp 2. E.Oran Brigham, "The Fast Fourier Transform and its
(-3) and a random noise of variance .02. The results of the applications", Prentice Hall International, 1988.
estimation of amplitude and phase of 3rd and 5th harmonic 3. G.H.Hostetter, "Recursive discrete Fourier
components (Fig.4) show excellent accuracy in the presence transformation", IEEE Trans, on ASSP, vol.ASSP-28,
of noise and decaying dc component. A comparison is made
1980, pp.184-180.
with the Kalman filtering (KF) algorithm 171, which is better
4. G.T.Heydt, D.J.Kish, F.Holcomb, and Y.Hil1, "A
than the discrete fourier transform (DFT) technique and the
methodology for assessment of harmanic impact and
results are presented in Fig.4. Each element of the process compliance with standards for Distribution systems",
noise covariance matrix Q (diagonal) is chosen as .01 and the
IEEE Trans. on Power Delivery, vo1.6, 110.4, 1991,
measurement noise variance, R is set equal to ,001. From the
pp. 1748-1754.
figure it is observed that the Adaline produces fast and
5. P.K.Dash and A.M.Sharxf, "A Kalinan filtering approach
accurate tracking of harmonic components on-line in the
for estimation of Power system harmonics", Proceeding
presence of noise and other spurious signals like decaying dc
3rd international conference on Harmonics in Power
components in comparison to the KF technique. ~

Systems, Nashville, Indiana, Sept.28, 1988, pp.34-40.


4.1 Tracking of time varying amplitude and 6. Adly A.Girgis, W.Bin Chang, Elham B.Markram, "A
phase of harmonics digital Recursive measurment scheme for on-line tracking
The proposed neural estimator is used to track the of power system harmomcs", IEEE Trans. on Power
time varying harmonic currents during no-fault and fault
Delivery, Vol.6, No.3, July 1991, pp. 1153-1160.
conditions in a parallel AC-DC power system. The parallel
7. RKHartana, and G.H.Richards, "Harmonic source
AC-DC system is simulated using EMTDC software package,
monitoring using Neural Networks", IEEE Trans. on
which provides realistic representation of various subsystem
Power Systems, vo1.5, no.4, 1990, pp. 1098-1104.
models of the AC-DC system. The inverter ac system is made
8. H.Mori, "An artificial neural network based method for
weak and the fault occurs on the inverter ac-bus The
power system voltage harmonics", IEEE Trans. on Power
amplitudes of 3rd, 7th, 11th and 13th harmonic components delivery, vo1.7, no.1, 1992, pp.402-409.
are shown in Fig.5 without noise and Fig.6 shows the 3rd and
9. S.Osowski, "Neural network for estimation of harmonic
7th harmonic components when a random noise of variance
components in a power system", IEE Proceeding-C,
.02 is added to the current waveform of A-phase ac system.
~01.139,no.2, 1992, pp.129-135.
On comparison with Fig.5, it is found that the performance of
lO.B.Widrow, and M.A.Lehr, "30 years of adaptive neural
the neural estimation algorithm is excellent when the noise
networks: perceptrons, madaline and backpropagation",
level is lawer than the estimated magnitude of the harmonic
Proc. IEEE, vo1.78, 1990, pp. 1415-1442.
component. The performance deteriorates with time, as the
11.J.G.Kuschewski, S.Hui, and S.H.Zak, "Application of feed
magnitude of the harmonic component decreases and the
forward neural networks to dynamical system
noise predominates. identification and controlt8, IEEE Trans. on Control
The Adaline has been also tested in real-time using
System Technology, vol.1, no.1, 1993, pp 37-49.
the data from a SCR fed drive system through a PCbased
1733
09 80

###3
Third Harmonic . a Third Harmonic
08 e,
3 07
-
2
40

'.s
,d 0 6 -
0 5 1

04
- a,20
-20
-3&4 2o

$ 03: ~ estimated
actual
-
-
-40

-60

- 80
0 -100

14 70

Eleventh Harmonic 60
12-
n 50
CO
1
A
8
;
4 O8
- 8 3 0
w
40

\
3 06-
e, 20
2
c IO
04- estimated -&
0

actual -10-

0 -20

04-
?2 -40-
cd
O - -60-
----estimated
1734

KALMAN FILTER LINEAR COMBINER


0.7
Third Harmonic
0.6 d
\

’\

0 0.01 0.04 0.08 0.08 0.1 0.12 0.14 0.16 0.18 0 0.02 0.04 008 0.08 0.1 012 0.14 0.16 0.18

Bo

60
10

n
n M ln
rA,
a
g 20
3 2
a,* E. -a0
4 -20
s2:
a,
-40
-40
-60
-60

-80 -80
o on2 004 oafi 008 01 012 014 016 018 0 0.01 004 0.06 008 01 ,012 014 016 018

1.2
Fiftli Harmonic
i 0.8
1

0.6

0.4

0.2

0
o 0.02 0.04 0.06 0.08 0.1 a.12 0.14 0.16 18

84 30

60 20

40
n ‘- 10
VJ
a, 20
M
0

E
Y o 5 O
‘0, -10
9
a, -20 m
a,

2
ln
-40
3 -20

e,
nl
-30
-60

-40

-10 -50
0 0.01 0.04 0.08 0.08 O t 0.12 0.t4 0.16 0.18 0 0.02 0.04 0.08 0.08 0.1 012 0.14 0.18 0.18

Fig 4:Estimationof harmonic components in presence of d.c. components and random noise
1735
1, 0.08 I ' F

Third Harmonic ThirdHarmonic .

05

4 0
-3
$-05

z
-1

-1 5
028 03 032 034 036 038 04 oe2 028 03 032 034 036 038 04 042

time(sec) time(sec)
3, 0 158

Fifth Harmonic Seventh Harmonic


2- 01-

-1
4 '-
0-
4
-1z
005-

E -1-
-OO5
0:

-2 - -0 1 ~

&a 0.3 032 0.34 036 038 04 042 DZB 03 0 32 034 0.36 0.38 0.4 0.42

time(sec) time(sec)
3
Seventh Harmonic Fig.6 Estimation of Harmonic components of
2 , II AC-DC Sytem with random noise.

P.KDash was educated at the Utkal University and LLSc.,


Bangalore. He was a post-doctoral fellow at the University of
Calgary, Canada and held several visiting appointments with
North-American Universit.ies, BBC Brown Boveri,
Switzerland, and Bristol Aerospace, Canada. His recent
collaborations are with Virginia Polytechnic Institute and State
0.28 0.3 0.32 0.34 0.36 0.38 0.4 0.42
University, U.S.A. and the National University of Singapore.
time(sec)
3 Ah.Choy Liew received the B.E. and Ph.D. Degree from the
Eleventh Harmonic University of Queensland, Australia in 1969 and 1972
2 I respectively. From 1972 to 1979, he was with the Electrical
Engineering Department of the university of Pdalaya. He is
presently with the National 1Jniversity of Singapore where he
is associate professor and head of department. 13s man areas
of interest are lightning and lightning protection, high voltage
and power systems engineering.
Debi P Swain received B.E. degree in 1993 and Continuing
M.E. degree in Regional Engineering College, Rourkela,
India. Presently he is working as Research Associate in the
-3'
028 03 032 034 036 038 0 4
I
042
Centre for Intelligent Systems, Electrical Engineering
time(sec) Department, Regional Engineering College, Rourkela, India.
Fig.5 Estimating the harmonic components of Saifur Rahman graduated from tlie Bangladesh.University of
Engineering and Technology in 1973 with a B S c degree in
a AC-DCsystem Electrical Engineering. He obtained M.S. degree in Electrical
Sciences from SUNY at stony brook in 1975 and Ph.D. from
VPSU, Blacksburg in 1978. He has taught ait Bangladesh
University of Engineering and Technology, the Texas A&M
University, WSU, Blacksburg.

You might also like