You are on page 1of 8

510 IEEE Transactions on Power Delivery, Vol. 13, No.

2, April 1998

M.R. Zaman and h4.A Rahman, Fellow IEEE


Faculty of Engineering and Applied Science
Memorial University of Newfoundland
St. John's, Nfld., Canada A1B 3x5, Fax (709)737-4042

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

088.5-8977/98/$10.00 0 1997 IEEE


511

Similarly the net-input value and the output of the kth


output-layer unit can be calculated as:
L
output (3)
I(n -2) 3=1
Algorithm

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

available training patterns and then the whole process is


the supply for a certain period of time. The details of the
done repeatedly until a global error is reached t o a specified
triac switch and the electronic circuit are given in the Ap-
minimum value. The total average error is defined as
pendix. A three phase load is connected to the transformer
secondary through a 15A breaker which can be switched on
for load conditions.
p=l There is a number of faults that can occur either before
where P is the total number of available training patterns. or after the transformer is energized. The current wave-
shapes would be different for these two cases even if the
IV. DATAACQUISITION fault is same. Among many typical faults, the followings
are investigated in this work :
It is required to acquire different inrush and fault current 1. Primary side fault
data for both training and testing purposes. A three phase, a) Phase to phase fault after the energization
5kVA, 23O/55O-575-6O0Vl multi-tap A-Y laboratory pro- b) Phase to phase fault before the energization
totype power transformer is used for all the experiments Tests (a) and (b) are done both for no-load and load
of this work. The schematic diagram of the experimental conditions.
setup with the transformer connections is given in Fig. 2. 2. Secondary side fault
Three identical CTs are used in the primary side and an- i) Phase to phase fault after the energization
other three identical CTs are used in the secondary side ii) Phase to phase fault before the energization
of the transformer. The differential current entering into iii) Phase to ground fault after the energization
the point ‘x’of Fig. 2 is measured throughout the experi- iv) Phase t o ground fault before the energization
ment and the Tektronics probe with its amplifier, TM-503 Tests (i)-(iv) are done for both no-load and load con-
is used to measure this current. ditions.
The magnetizing current may take various forms depend-
ing on the residual magnetism and the point on the voltage For each fault data collection, a resistor is used in series
waveform at the time of switching. It is also important with faulty circuit. The impedance does not change the
to mention here that the magnetizing inrush waveshape overall waveshape, rather just reduces the magnitude of
at no-load is different than that at load. So both cases the fault current.
are considered. To acquire the inrush current data, the For all data in tests l(b), 2(ii) and 2(iv), inrushes oc-
transformer is energized at random at both no-load and curred after the fault. Many readings are taken to take
load conditions. The current is sampled at a frequency of into account the different inrush conditions on the top of
20kHz and stored using a Tektronix 2212 digital storage the fault. Three identical triac switches are used as men-
oscilloscope; which is next down loaded to the P C though tioned before in three lines and those are controlled by
the General Purpose Interface Bus (GPIB). The software three identical controlling circuits with one common push-
package Grab 2212, is used to acquire the data in a format button switch. For taking the other data i.e. l(a), 2(i)
which is later converted to ASCII for further processing. and 2(iii), one triac switch is used in series with the faulty
For each switching, the data obtained is saved in a file. branch.
Three identical triac switches and control circuits for those The data are stored in separate files for each fault type
are used to make the contact between the transformer and and also for different inrush conditions for the same fault
513
which occurred before inrush.

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

and the decision of the ANN. time, ms


Figure 3(a) shows the secondary side phase to phase fault
with load and the fault has been occurred after switching Fig. 3: ANN responses t o different waveshapes - (a) sec-
the transformer. As can be seen from Fig. 3(a), the ANN ondazy side phase to phase fault after inrush with load, (b)
recognizes the fault within one cycle of the fault occurred. secondary side phase t o ground fault before inrush with
Other types of fault are also examined and two of them load, (c) primary side phase to phase fault before inrush
are shown in Figures 3(b) and (c) as examples. In both without load, (d) inrush with load, (yscale: 1 p.u. = 12.5
cases, within three quarter of a cycle, the ANN gives the
A).
trip signal output. Figure 3(d) shows an example of inrush
514

Fig. 4: Functional block diagram of the relaying scheme

waveform. As expected] the A N N did not give a trip sig-


nal output even for the high magnitude of the inrush for
the first few cycles. The A N N based algorithm has been
tested for many other inrush waveform data and the alge
rithm worked perfectly and never gave a trip signal output.

VII. EXPERIMENTAL
RESULTS

The ANN based algorithm is tested on-line using the same


laboratory transformer. The relaying scheme is shown in
Fig. 4. The processing is performed using the DS-1102 0.sv n
digital signal processor (DSP). A program is written in C
language for this purpose. The software loads the values of
the weights and biases of the A N N required for the process-
ing of the tripping decision . When the DSP is started it
continuously takes the differential current sample through
the DSP’s analog channel and converts it to the digital
data using its built-in D/A converter. The digital data is
sent to the DSP’s memory through the host PC. The most
recent data are stored in a circular buffer of size 16 and
the 17th previous sample data is dropped off the buffer.
The 16 current data is processed using the weights and bi-
ases. The decision is sent to the control circuit through the
DSP’s built-in D/A converter. The control circuit drives
1v 2v
the three triac switches which are connected in series with
515
5V to OV which opens the triac switches and thus protects I I
the transformer against the fault.
Using this experimental setup the ANN based algorithm
is tested on-line. In Figures 5(a)-(d), some sample results
are presented. The results are very similar to what have
been shown in the simulation results. As can be seen from I
Figures 5(a)-(c), in all fault cases, the trip signal has been
sent within a cycle and at that point, the control voltage (4
goes down from 5V to zero. On the other hand, for the
inrush case shown in Fig. 5(d), no trip signal has been
sent. It should be noted that like in the fault cases, the
inrush current is also allowed for three cycle time period
The tests are also performed for other two phases, taking
the data of one phase at a time and similar results are ob- 555
TriggerU
Input
tained. The slight delay between the control signal and
o u t p u n
the interruption of the differential current is due to the kT4
switching time of the triac switches because, these types of
switches cannot turn off until the current through the cir- Cl
cuit goes down to zero. However, in practical application,
these switches will be replaced by modern circuit breakers.

VIII. CONCLUSIONS

An ANN based transformer protection algorithm is tested - 6: (a)


Fig. . , Equivalent circuit of the triac switch, (b)
using experimental differential inrush and fault currents Control circuit of the triac switch
data. In this work, a set of two types of primary faults and Liu, P., Malik, O.P., Chen, D., Hope, G.S. and Guo, Y., "kn-
four types of secondary faults with and without loads are proved Operation of Differential Protection of Power Transform-
ers for Internal Faults", IEEE Trans. on Power Dekvery, Vol.
successfully tested using this ANN based algorithm. Both 7, NO. 4, 1992, pp. 1912-1919.
off-line and on-line test results show that the algorithm is Sidhu, T.S., Sachdev, M.S., Wood, H.C. and Nagpal, M., "De-
capable of distinguishing between the internal fault and sign, Implementation and Testing of A Micro-processor-based
High-speed Relay for Detecting Transformer Winding Faults",
magnetizing inrush currents quite satisfactorily and thus ZEEE Trans. on Power Delivery , Vol. 7, No. 1, 1992, pp. 108-
successfully establish the efficacy of the proposed method. 117.
The method neither depends on the transformer equivalent Sidhu, T.S. and Sachdev, M.S., "On-line Identification of Mag-
netizing h h and Internal Faults in Three-phme Transform-
circuit model nor the harmonic contents of the differential ers", IEEE Trans. on Power Delivery, Vol. 7 , No. 4, 1992, pp.
currents, rather makes the decision based on current signa- 1885-1891.
ture verification. Therefore, for modern transformers with Haykin, H., Neural Networks : A Comprehensive Foundation,
unpredictable harmonic components, this method would be IEEE Press, Maanillan College Publishing Company Inc., 1994.
Sultan, A.F., Swift, G.W. and Fedirchuk, D.J., !Detection of
more effective. The method is simple but robust and easy High knpedance Arcing Faults Using a Multi-layer Perceptron" ,
to implement. ZEEE Trans. on Power Delivery, Vol. 7, No. 4, 1992, pp. 1871-
1877.
Zhang, Y., Ding, X. and Liu, Y., "An Artificial Neural Network
APPENDIXTRIAC
SWITCH AND CONTROL CIRCUIT Approach t o Transformer Fault Diagnosis", Power Engineering
In Figure 6(a), +3 and -4 are the input voltage terminals Society Winter Meeting, paper 96WM 225-3-PWRD, Baltimore,
January 21-25, 1996.
fed from the controlling circuit. The output terminals 1 Bastard, P., Meunier, M. and Regal, H.,"Neural Network Based
and 2 are open if there is no voltage at the input terminals Algorithm for Transformer Differential Relay", Proceedings ZEE
and shorted if 3 - 32 dc volts are applied to the input ter- Generation, Transmission and Distribution, Vol. 142, No. 5,
1995, pp. 386392.
minals. The control circuit for the triac switches is shown Perez, L.G., Flechsig, A.J., Meador, J.L. and Obradovic, Z.,
in Fig. 6(b). The pulse width 01 the control voltage is "Training An Artificial Neural Network to Discriminate Be-
calculated by the formula T = 1.1 RI C1. In our case, tween Magnetizing Inrush and Internal Faults", IEEE Trans.
on Power Delivery, Vol. 9, No. 1, 1994, pp. 434441.
all switchings are done for about 3 - 5 cycles. The design Demuth, H. and Beale, M., Neural Network Toolbox : FOTUse
parameters are R1 = 100 K , CI = 0.47 - 1.OpF R = 10 K , with Matlab, The Mathworks Inc., September, 1993.
Cz = 0.01pF.
Marzia Zaman has obtained her B.Sc. degree in Engi-
REFERENCES neering from Bangladesh Institute of Technology, Rajshahi
in 1988 and M.Eng. degree from Memorial University of
[I] Rahman, M.A. and Jeyasurya, B., "A State-of-the-Art Review
of Transformer Protection Algorithms", IEEE Trans. on Power Newfoundland in 1993. As a Ph.D student, she is currently
Delivery, Vol. 3, No. 2, 1988, pp. 534544. working on transformer protection at Memorial University.
[2] %an, M.A., So, B. and Zaman, M.R.,"Experimental Test- M.A. -man (F'88) is the University Research Profes-
ing of a Stand-Alone Digital Relay for Power Transformers",
submitted for ZEEE PES Summer Meeting, 1996. sor at Memorial University of Newfoundland.
516
Discussion olding. What is the motivation for this? What are the
gains?
5. Since the ANN is fed with 16 binary inputs, it may be
J. Thorp (School of Electrical Engineering, Cornell Uni- easily presented by a 16-input logic circuit. Have the
versity, Ithaca, NY): The authors are to be commended authors any idea how this circuit looks We?
for reviewing the power system protection literature on
the use of artificial neural networks for transformer pro-
tection. A recent tutorial [A] has an entire chapter on Manuscript received March 5, 1997,
Artificial Neural Network Based Protection including a
section on Power Transformer Protection. Would the
authors comment on some issues that have been exposed
in applying earlier work in the area. Closure: (M.R. Zaman and M.A. Rahman) The
Many power transformers are three winding with the authors thank Drs. J. Thorp and B. Kasztenny for their
possibility of operating with the primary breaker open. comments and interests on the paper. In response to the
What is the single current used by the ANN for these comments of Dr. Thorp it should be mentioned that the
cases? authors are now aware of the tutorial 97TP120-0 [A].
Previous ANN algorithms perform poorly in the pres- Obviously when the paper was written, reference [A] was
ence of ct saturation. Have the authors tested their algo- not available to the authors. However, artificial neural
rithm in the presence of ct saturation? network (ANN) technique has been successfully studied
Is reference [2] of the paper correct and complete? in the area of Power Transformer Protection by Zhang,
Bastard, Perez, Sachdev, andothers [SI - [IO], [A]. Most
Reference of these earlier works are primarily simulation types. The
difficult issues are experimental verification and on-line
[A] “Advancements in Microprocessor Based Protection implementation of ANN based relays. On-site testings in
and Communication,” IEEE Tutorial Course Spon- utility settings are necessary in order to clearly establish
sored by the Power Engineering Education Commit- the efficacy of these relays.
tee and the Power System Relaying Committee, M.
Sachdev 97TP120-0. This paper provides the laboratory test results
on a small 3-phase two-winding transformer. Thus no
testing was done on the three-winding transformer,
Manuscript received March 4, 1997. including cases when the primary breaker is open. The
authors agree with Dr. Thorp on matters relating CT
saturation. Unlike the model based and harmonic
differential transformer relays, the ANN based relays
B.KASZTENNY (The Technical University of Wroclaw, work on the current signatures recognition. For the
Poland). The following issues are found worth to be further limited laboratory testing cases, no significant effects on
addressed by the authors: CT saturation were observed. Complete reference [2] is
1. The conclusions drawn from the inrush experiments car- given as: M.A. Rahman,B. So, M.R. Zaman and M.A.
ried-out using a small-rating transformers cannot be ex- Hoque, “Testing ofAlgorithms for a Stand-Alone Digital
tended for real power transformers. The time constant of Relay for Power Transformers”, EEE Power
the inrush current in small units is in the range of milli- Engineering Society Winter Meetings New York,
seconds, while in the case of a real power transformer it February 1997, Paper No. PE-202-PWRD-0-1 1-1 996.
may be even in the range of seconds. This becomes par-
ticularly important when testing a relay under energizing In response to Dr. B. Kasztenny’s comments the
of a faulty transformer. authors concur with the time constants of typical power
2. Inrush conditions occur not only when switchng a transformers. The larger the power transformer, longer
transformer on. but also when clearing a near external is the time constant due to the larger values of kductance
fault and during out-of-step synchronization. The inrush in comparison to those of resistance. It is correct that
issues should be also considered when energizing one of inrush currents occur at the other stated conditions.
two parallel transformers. What is the performance of the Switching on inrush, inrush followed by faults with and
presented inrushhternal-fault discriminator under the without loads are considered in the paper. Sympathetic
above conditions? inrushes do occur as noted in the discussion. However,
3. What is the performance of the presented discriminator their severity and frequency of occurances are somewhat
under internal faults during that the current transformers limited. Harmonic based discriminators andor
get saturated? thresholds are not considered in the proposed ANN based
4. When forming the input signals for the ANN the authors differential relay, as they work on the basis of currents
reject a large portion of information by applying thresh- signature recognition. The tolerence for the error
517

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.

You might also like