Professional Documents
Culture Documents
2, April 1998
Abstvact- This work presents a novel technique t o distin- tial current is an internal fault or inrush including over
guish between magnetizing inrush and internal fault cur- excitation. Recent study reports that in certain cases, the
rents of a power transformer. The proposed differential al-
gorithm is based on artificial neural network ( A N N ) and internal fault current might contain cpnsiderable amount of
unlike the existing relaying techniques, this method is in- second'and fifth harmonics too [3]. Moreover, it has been
dependent of the harmonic contents of the differential cur- also reported that the low-loss amorphous core materials
rent. A novel neural network is designed and trained using
back-propagation algorithm with experimental data. After in modern transformer produces lower harmonic contents
training the network, simulation and on-line tests are car- in magnetizing inrush currents [4].Considering these fac-
ried out to evaluate the performance of the A N N based tors, many researchers continued their work to develop new
algorithm under different fault and energization conditions.
Both simulation and experimental results are quite satisfac- algorithms for transformer protection [3]-[5]. However, all
tory. these algorithms are either based on the transformer equiv-
alent circuit model and/or require some transformer data
and thus may become susceptible to parameter variations.
I. INTRODUCTION There are extensive researches and applications of arti-
In power systems, transformer is one of the essential ele- ficial neural network over the last five years, particularly
ments and thus transformer protection is of critical impor- in the field of pattern recognition. The main advantage
tance. In general, differential relays are used t o detect the of the A N N method over the conventional method is the
internal faults of a transformer which involves converting non-algorithmic parallel distributed architecture for infor-
the primary current and secondary currents in a common mation processing [SI. The A N N algorithm has been suc-
base and comparing them. The magnetizing inrush cur- cessfully implemented in many pattern or signature recog-
rent makes the transformer protection a challenge to the nition problems. Since this particular problem can also be
researchers. The magnetizing inrush occurs during the en- considered as a current waveform recognition problem, the
ergization of the transformer which sometimes results in a use of A N N seems to be a good choice. The A N N is be-
high current in the order of 10 times the full load current. coming a powerful tool in various fields of for power system
This high current might cause the relay to mal-operate. protection [7]. In recent years, few works which investigate
In order to avoid mal-operation of the relay, distinguish- the feasibility of using A N N for transformer protection has
ing between the magnetizing inrush current and the fault also been reported [S]-[lO].
current is required. In the present work, a novel A N N based method is de-
There are many existing algorithms based on the second signed and trained with experimental inrush and fault cur-
harmonic and sometimes also the fifth harmonic restraint rent data obtained from a laboratory prototype power trans-
concept [l, 21. Among these algorithms Walsh function, former. The A N N based algorithm is tested both off-line
rectangular transform, Harr function, Fourier, least square and on-line to evaluate the performance of the proposed
algorithm, etc. are worth mentioning [2]. In reference method in terms of accuracy and speed.
[2], the authors experimentally compared six such exist-
ing methods to find out the best one in terms of speed and 11. THEPROPOSED A N N DESIGN
reliability.
In all the algorithms described in reference [a], the sec- One of the difficult tasks in applying A N N technique to any
ond and fifth harmonics have been chosen so far as the particular problem 1s to formulate the problem. The first
indication for determining whether the measured differen- step to formulate the problem is to find out what would be
the inputs and outputs. In this particular problem, the in-
puts are the differential current samples. For a three phase
PE-045-PWRD-0-11-1996 A paper recommended and approved
by the IEEE Transformers Committee of the IEEE Power transformer, there will be three differential currents at each
Engineering Society for publication in the IEEE Transactions on instant. However, for training purpose, it is not required
Power Delivery. Manuscript submitted March 26, 1996; made to sample all of them, rather the current of one of the three
available for printing November 25, 1996. phases may be be adequate. At each instant a window of
16 consecutive current samples is taken as depicted in Fig.
1. Thus the input vector of the A N N is of length 16. The
choice of output in this particular problem is very straight
forward. A binary output is sufficient to indicate whether
Ln-4U
I ( n - 15
where the superscript o stpnds for the output layer, Wij’s
are the weights associated with the connections between
hidden layer and output layer and Bi’s are the biases as-
U sociated with the hidden-layer neurons and
Fig. 1: The ANN Inputs and Output
Opk = fO(sumik) (4)
the measured current is an inrush or an internal fault. In The output Opk is then compared with the desired or tar-
this work, a value of 0 indicates magnetizing inrush and 1 get output Tpk and depending on the error between the
indicates an internal fault. obtained output and desired output, the weight of each
After the inputs and output are defined, the next task connection and the bias of each processing unit are up-
is t o incorporate hidden layer(s) in the network. The se- dated. To update the weights and biases, delta rule is
lection of hidden layer is a matter of trial and error [6]. applied [6]. A cost function is first defined as:
However, it has been observed that in most applications,
one hidden layer is sufficient [SI. In this case also, one hid-
den layer is chosen. The number of units in the hidden (5)
layer is varied over a range of 12 to 2. Finally the ANN
with 3 hidden units are found to be the smallest structure The main objective of ANN training is to minimize the cost
with reasonably good result for this particular application function. Steepest descent method is used to do this where
of transformer protection. Associated with each neuron the change in weights are proportional to the negative slope
in the hidden layer and output layer is a transfer function. of the cost function i.e. ApWij ci -*. After some
k?
Usually nonlinear sigmoidal functions are used as the trans- deductions and manipulations, the changes in weights and
fer functions. In this work, log-sigmoidal functions are used biases are found to be :
for both the hidden layer’s and output layer’s neurons.
Once the ANN is designed it is required to train it. As ApWLj = 7 6 i k l p j (6)
mentioned, back propagation algorithm is used to train the
ApWk = 96:jXpi (7)
network. The algorithm is described in the following sec-
tion. ApBi = 76& (8)
A~B; = ~6;~ (9)
111. TRAINING ALGORITHM
where 6p“k and 6ij are called the error terms for output
The training of the ANN involves two phases of “propagate- layer and hidden layer, respectively and are calculated as
adapt” learning cycles [6]. The network learns a given shown below:
input-output example patterns. Each input pattern is ap-
plied to the network which propagates forward through (10)
each upper level until the output is reached. In each pro-
cessing unit the net sum is calculated first and then the sum k
is passed through the corresponding transfer function with
appropriate bias for that unit t o obtain the output of that and 7 is the learning rate which is chosen by trial and
unit. Thus for a given pattern Xp = (Xpl,X p 2 , ...,X p ~ ) t ,error. The learning rate, 7 is an important factor. Too
the net-input value of the j t h hidden-layer unit is: small a value of 97 slows the learning process i.e. a large
cumber of iterations is required; on the other hand, too
N
big a value of 17 although speeds up the learning process
h
sumpj =
i=l
+
W: Xp; Bj” (1) might cause instability. A simple method helps speeding
up the learning process to some extent and yet avoiding the
where the subscript p and superscript h stand for the pat- danger of instability is to introduce a momentum factor cy
tern and the hidden layer, respectively, Wk’s are the weights in the delta rule. The hidden layer weight change equation
associated with the connections between input layer and can be written according to the modified delta rule as :
hidden layer and Bjh’s are the biases associated with the
hidden-layer neurons. And the output of the j t h hidden +
AWk(n) = cyW:(n - 1) q6phjXpj (12)
layer is found just by applying the transfer function on the
net-input as given below: Although the above procedure is described for one hid-
den layer, however, this can be extended for multiple hid-
Ipj = fh(sum;j) (2) den layers. The above procedure has been done for all
512
V. DATA PROCESSING
AND ANN TRAINING 2
?
a 1- trip
The data files need to be processed before it can be used
Y
for the ANN training. The data obtained after converting c
them to ASCII format is a series of current samples for h
L
about five cycles taken at 20 kHz. At first, these data are J
0
down sampled by a factor which gives the resulting data
a sampling frequency of 960 Hz. As mentioned earlier the 0 20 40 60 80
input pattern is consisted of 16 consecutive current sam-
time, m s
ples. A window of 16 samples per cycle is slided over the
data of about five-cycle time period. However, each value
is not taken as it is, rather at first the absolute value of
each sample is taken and then this value is compared to
the predefined threshold which gives a binary value of ei- 21
ther 0 or 1, depending on whether the value is smaller or
greater than the threshold, respectively. The threshold is
taken as ten times the value of rated differential current
under normal condition which is about 5% of the rated
current of the transformer. Thus each pattern becomes a
16 bit binary number. Among the possible 216 = 65536
different combinations of 0 and 1, it is expected that the
inrush and the fault would not be taking the same combi-
nations. However, there would be multiple Sam6 patterns time, ms
(combinations of 0 and 1)in each file and also between same
type (either inrush or fault) of data-files. The redundant
and duplicate data have been removed after windowing and
a unique set of inrush patterns and a unique set of fault 2r 1
patterns are found. Once the input and target vectors are
ready, the ANN is trained with improved back-propagation
algorithm with specified momentum constant and adaptive
learning rate [Ill.
VI. SIMULATION
RESULTS
‘
-1
0 20 40 60
I
80
Once the ANN is trained, it was tested using appropriate
set of weights and biases on a different set of input patterns. time, m s
As can be seen from Figures 3(a)-(d), for different inrush
and fault waveforms, the ANN based algorithm responds
accurately according to the input pattern. The decision
in all cases are made within one cycle. It is worth men-
tioning here that the fault data are originally taken with
an impedance. However, the impedance during the fault
may be unknown in real time. So the algorithm is verified
with different fault levels by scaling down the original data
upto 50% of the original value. The ANN can recognize
the faults in all cases. In this paper, few examples are pre-
sented which shows the fault and inrush current waveforms
-1 ’
0 20 40 60 80
I
VII. EXPERIMENTAL
RESULTS
VIII. CONCLUSIONS
function was set at a value of 0.0 1. Three full cycles of measured and later scaled before processed by the ANN
input cun-ent signals are taken for this ANN based relay. algorithms as shown in Fig. 4.
This is primarily due to shortning of the on-line
computation time of the weights and biases in the DSP More analytical and experimental works on the
board. One of the gains of such truncation of data ANN based digital relay are being carried out by another
procesSing is to attain high speed of operation of the relay graduate student. The results will be published in the
without losing system security. The relay operated within near future.
8-12 ms as shown in Fig. 5 . High speed is a criterion of
fast operation of the present digital relay. In real time
implementation of a laboratory small three phase
transformer, three phase differential currents have been Manuscript received June 12, 1997.