Documente Academic
Documente Profesional
Documente Cultură
2, April 2015
Le Kim Hung
Danang University of Technology, Da Nang, Viet Nam
Email: lekimhung@dut.udn.vn
Abstract—This paper presents an application of Anfis inference system (ANFIS) which have been used to
approach for fault classification and fault location on improve the accuracy in fault location [7].
transmission lines using measured data from one line This paper presents an application of ANFIS for fault
terminal. The input data of the Anfis derived from the estimation along with fault location on 220kV
fundamental values of the voltage and current
transmission line Hoa Khanh – Hue by Matlab Simulink.
measurements using digital signal processing via Discrete
Fourier Transform. The Anfis was trained and tested using The Anfis has been successfully applied for fault locator
various sets of field data, which was obtained from the (FL) where the information of the voltage and current
simulation of faults at various fault scenarios (fault types, data of protection relay and CB are available. The effects
fault locations and fault resistance) of 220kV transmission of varying fault location, fault time, fault resistance and
line Hoa Khanh - Hue in Viet Nam using a computer remote source infeed have been considered in this work.
program based on Matlab/Simulink. Detailed explanation The obtained results clearly show that the proposed
and results indicate that the Anfis can determine the technique can accurately classify the fault type and locate
location of the fault upon its occurrence in order to speed up faults on transmission lines under various fault conditions.
the repair service and restore the power supply.
Index Terms—protection relay, fault classification, fault II. ADAPTIVE NETWORK-BASED FUZZY INFERENCE
location, transmission line, anfis, matlab/simulink SYSTEM
Rule 1: if x is A1 and y is B1 then f1 = p1x + q1y + of membership functions on linguistic label Ai. In fact,
r1. any continuous and piecewise differentiable functions,
Rule 2: if x is A2 and y is B2 then f2 = p2x + q2y + such as commonly used trapezoidal or triangular-shaped
r2. membership functions, are also qualified candidates for
node functions in this layer. Parameters in this layer are
referred to as premise parameters.
Layer 2: Every node in this layer is a fixed node
labeled π, which multiplies the incoming signals and
sends the product out. For instance,
wi Ai ( x) Bi ( y) i = 1, 2 (4)
Each node output represents the firing strength of a
rule.
Layer 3: Every node in this layer is a fixed node
labeled N. The ith node calculates the ratio of the ith rule’s
firing strength to the sum of all rules’ firing strengths:
wi i = 1, 2 (5)
wi
w1 w2
For convenience, outputs of this layer will be called
normalized firing strengths.
Layer 4: Every node i in this layer is an adaptive node
with a node function:
Oi4 wi f i wi ( pi x qi y ri ) (6)
Oi5 overalloutput wi f i
wfi i i (7)
Figure 1. (a) Fuzzy reasoning and (b) equivalent ANFIS i w i i
learning epochs result in non-monotonic changes in error. Hoa Khanh is 4.93% (higher than 2.5%) and AREVA
E / is calculated using the chain rule. P437 at 220kV substation Hue is 13.1% (higher than
2.5%).
III. POWER SYSTEM UNDER STUDY
3) Three phase fault block to deduce fault types and the transmission line. The goal of this paper is to propose
specify the parameters. an integrated method to perform each of these tasks by
4) Three-phase measuring blocks to measure the three using Anfis. For each of the different kinds of faults,
phase line and load current and voltage values. separate Anfis have been employed for the purpose of
5) An ANN based relay FL is located at bus S, which fault location.
has been developed for fault detection and fault This fault locator utilizes voltage and current of the
distance location. It will be presented detail in fault data at the fault locator end of the line only.
section IV. Components of voltages and currents change to linguistic
6) Preprocessing of voltage and current signals: variable and suitable Membership Functions (MFs)
Preprocessing is a useful method that significantly should be chosen for them. The design process of the
reduces the size of the neural network and improves ANFIS fault classifier and locator go through the
the performance and speed of training process. following steps [10], [11]:
Three phase voltages and three phase current input Step 1: Generation a suitable training data
signals were sampled at a sampling frequency of 1 To classify the fault, the following methodology has
kHz and further processed by simple 2nd-order low- been adopted. In order to represent the fault type
pass Butterworth filter with cut-off frequency of 400 correctly, a binary coding system has been developed.
Hz. Subsequently, one full cycle Discrete Fourier The complete binary coding system and equivalent
transform is used to calculate the fundamental decimal numbers for representing all possible types of
component of voltages and currents. The input faults are given in Table I.
signals were normalized in order to reach the Anfis
input level (0, 1) [9]. TABLE I. ANFIS NETWORK DESIRED OUTPUTS
Fault type A B C G Output
IV. PROPOSED ANFIS BASED FAULT LOCATOR AG 1 0 0 1 1
BG 0 1 0 1 2
CG 0 0 1 1 3
AB 1 1 0 0 4
BC 0 1 1 0 5
AC 1 0 1 0 6
ABG 1 1 0 1 7
BCG 0 1 1 1 8
ACG 1 0 1 1 9
ABC 1 1 1 0 10
Figure 7. Flowchart Depicting the Outline of the Proposed Scheme. Step 2: Selection of a suitable ANFIS structure for a
given application, with consist of determining number of
To implement a novel application of ANFIS approach inputs and outputs, choosing membership functions for
to fault classification and location in transmission lines a each input and output and defining If-Then rules.
proposed computer program based on Matlab software to
calculate all ten types of faults that may occur in a Fault curent
(Ia, Ib, Ic, Io)
transmission line. In this aspect, the main goal of this
section is to design, develop, test and implement a
complete strategy for the fault diagnosis as shown in Fig. ANFIS 1
7. The first step in the process is fault detection. Once we
know that a fault has occurred on the transmission line, FD
the next step is to classify the fault into the different
categories based on the phases those are faulted. Then, Figure 8. Block Diagram of Single ANFIS Based Fault Detector and
Classifier
the third step is to pin-point the position of the fault on
Structure of Anfis for fault detection and classification: Then the tuned FIS is used on-line to accurately locate
A single ANFIS for fault detection and classification of faults on the line.
all the ten type of faults in the transmission line under
varying power system operating conditions has been
developed. The block diagram of the proposed single
ANFIS based fault detector and classifier approach is
shown in Fig. 8.
The ANFIS’s inputs chosen here are the magnitudes of
the fundamental components (50 Hz) of three phase
currents measured at the relay location. Only the
magnitudes recorded at one end of the line are used. Thus,
the ANFIS’s inputs are four: Ia, Ib, Ic and Io. One output
should be 1 to 10 in the corresponding phases and/or in
neutral according to the types of faults on transmission
lines.
Structure of ANFIS for fault location: Based on the Figure 10. Membership Function of Input Variables for Fault
fault type, appropriate network detects and classifies the Classification.
fault. Ten different ANFIS modules were developed to
process different fault type. Single phase to ground faults Step 3: Training the ANFIS
has 4 inputs; double phase to ground faults and phase to Choosing the FIS model parameter optimization
phase faults has 5 inputs; and three phase faults has 6 method is the hybrid method, the number of training
inputs. The inputs are the magnitudes of the fundamental epochs (20 epochs) and the training error tolerance (0).
components (50 Hz) of three phase voltages and currents Train the FIS model by clicking the Train Now button.
measured at the relay location. All modular ANFIS based This action adjusts the membership function parameters
fault location is 1 output that present distance to fault. In and displays the error plots as shown in Table III. After
the present study, namely of ANFIS modules based fault the FIS is trained, it needs to save into the
location is shown in Fig. 9. folder HoaKhanh that uses for running the simulation.
Fault voltage and curent Fault voltage and curent TABLE III. STRUCTURE OF ANFIS FOR FAULT CLASSIFICATION AND
(Ua, Ub, Uc, Ia) (Ua, Ub, Uc, Ib) LOCATION
Anfis information
Type
ANFIS 2 ANFIS 3 Input RMSE Epochs
No anfis Inputs Outputs
mfs
1 AG 4 14 1 2.41e-3 20
AG BG 2 BG 4 14 1 1.16e-3 20
Fault voltage and curent Fault voltage and curent
3 ABG 5 12 1 4.22e-3 20
(Ua, Ub, Uc, Ia, Ib) (Ua, Ub, Uc, Ib, Ic)
4 BCG 5 12 1 3.12e-4 20
5 FD 4 3 1 1.14e-3 20
ANFIS 4 ANFIS 5
Then other type of faults on transmission line
ABG BCG combines: AnfisA.fis, AnfisB.fis, AnfisABG.fis,
AnfisBCG.fis, which are perform similarly as steps above.
Figure 9. Block Diagram of ANFIS Based Fault Location
Step 4: Evaluation of the trained ANFIS using test
patterns until its performance is satisfactory. Simulation
Generate an initial FIS model using the options in the
results using data from the power system model are
Generate FIS portion of the Matlab GUI. There are two
presented in section V.
partition methods: grid partitioning for classification fault
and subtractive clustering for fault location to initialize
V. ANALYS TEST RESULTS AND DISCUSTION
your FIS using ANFIS. Moreover, the rule base contains
the fuzzy if-then rules of Takagi and Sugeno type, in The trained ANFIS based Fault detector and locator
which And Method: prod, Or Method: max, Implication modules were then extensively tested using independent
Method: min, Aggregation Method: max, Defuzzification data sets consisting of fault scenarios never used
Method: wtaver (weighted average). On the other hand, previously in training. Fault type, fault location and fault
the MF’s type (gaussmf). For classify the fault, we time were changed to investigate the effects of these
choose constant for the output membership function. For factors on the performance of the proposed algorithm.
the fault location, we choose linear for the output In practice, current and voltage get from record of
membership function. ABB REL521 at 220kV substation Hoa Khanh that uses
For example, the Fig. 10 shows the scheme of the to investigate the effects of these factors on the
system generated by ANFIS Editor GUI in Matlab for performance of the proposed algorithm. The results
fault classification. compare the accuracy obtained of REL521 with Anfis
To tune the parameters of the FIS based fault locator, that based fault classifier and fault locator module for AG,
an adaptive network is trained based on with off-line data. BG, ABG and BCG fault which are provided in Table IV.
TABLE IV. RESULTS COMPARE THE ACCURACY OBTAINED OF RELAY method, which requires the same amount of measured
ABB REL521 WITH ANFIS
data, has significantly outperformed the one-terminal
ANFIS REL521 method of ABB REL521.
Actual
Estimated
Fault fault
Fault time fault Error Error
type location VI. CONCLUSTION
location [%] [%]
[km]
[km]
1/6/2009 ABG 29.36 29.46 0.36 2.24
This paper has presented an application of Anfis for
16/10/2010 BG 27.4 22.95 1.38 3.97 locating faults in transmission line. The proposed method
2/8/2010 BG 35.9 36.08 0.03 0.12 as an Anfis is trained to classify the fault type, and
12/8/2010 ABG 63.1 61.3 2.16 4.93 separate Anfis are designed to accurately locate the actual
17/5/2011 BCG 25.4 27.55 1.38 1.20 fault position on a transmission line. The obtained results
20/5/2011 AG 81.8 83.22 0.02 1.68 show that the primary advantages of the proposed
19/8/2012 ABG 26.4 24.80 1.81 1.44
algorithm can be summarized in three aspects. Firstly, it
does not depend on the effect of the errors in CT and VT
In Table IV, the maximum deviation of the estimated signals, fault resistance.... Secondly, the accuracy of the
distance Le measured from the relay location and the fault location does not rely on the accuracy of the
actual fault location Lf is calculated and the resulting algorithm type, as in the case of the one-terminal
estimated error “Error” is expressed as a percentage of algorithm of ABB REL521. Thirdly, the method yields
total line length L of that section as: accurate results; the errors in locating the fault are from
L f - Le 0.02% to 2.16%. Anfis is easily trained in personal
% Error 100 (10) computer.
L The only disadvantage of the method is that the
Reviews: When using current and voltage from relay obtained accuracy is amount of practical fault data in
ABB REL521, the prediction capability of Anfis is relay protection and actual fault location, which may
extremely good. Output of Anfis for ABG fault on depend on system operating conditions. Nevertheless, this
12/8/2010 is the highest error. The estimated fault issue can be addressed by the current technology such as
location is 61.3km as against the actual fault location supervisory control and data acquisition (SCADA), wide
63.1km, thus it is located accurately with the max error area monitoring (WAM), and Automation Substation.
which is 2.16% of the line’s length (lower than 4.93% of Future work will focus on online taking of the fault
ABB REL521). This result may simply reflect the fact information on relay protection, and actual fault location
that the input (voltage or current) was more directly in central control company, to obtain even better fault
correlated with the parameter being predicted. It can be location accuracy.
clearly seen from the test results that the proposed
APPENDIX A. RESULTS DISTANCE TO FAULT COLLECTS ON THE RELAY AND ACTUAL LINE FROM YEAR 2008 TO 2013
220kV Hoa Khanh Substation 220kV Hue Substation
Estimated fault Reason/
No Fault time Actual fault Error Estimated fault Actual fault Error
location on Fault type
location [km] [%] location on P437[km] location [km] [%]
REL521[km]
1 08/05/2008 22,33 22 0.40 - - - BG
2 01/06/2009 27.5 29.36 2.24 49.4 53.84 5.34 ABG
3 30/08/2009 6.9 7.9 1.20 64.4 75.3 13.1 BG
4 10/11/2009 18.3 can't find - 62 can't find - lightning
5 16/10/2010 24.1 27.4 3.97 48.3 55.8 9.01 BG
6 02/08/2010 35.8 35.9 0.12 46.6 47.3 0.84 BG
7 12/08/2010 67.2 63.1 4.93 14.7 20.1 6.49 ABG
8 16/12/2010 10.2 can't find - - - - lightning
9 17/5/2011 25.4 26.4 1.20 51 56.8 6.97 BCG
10 20/5/2011 83.2 81.8 1.68 0.9 1.4 0.60 AG
11 12/9/2011 38.4 39.4 1.20 - - - ABG
12 26/9/2011 52.8 can't find - 59.72 can't find - lightning
13 26/9/2011 52.8 can't find - - - - storm
14 19/8/2012 25.2 26.4 1.44 - - - ABG
15 30/09/2013 11.7 can't find - - - - storm
[6] Areva, Technical Manual, Fast Multifunction Distance Protection Currently, he is an Associate Professor at the Electrical Engineering
Relays P43x, 2010. Department at Da Nang University of Technology, Viet Nam. His
[7] M. Joorabian and M. Monadi, “Anfis based fault location for EHV research interests include power system protection and control.
transmission lines,” Aupec2005 – Australia, 2005.
[8] J. Sadeh and H. Afradi, “A new and accurate fault location
algorithm for combined transmission lines using adaptive
network-based fuzzy inference system,” Electric Power Systems Nguyen Hoang Viet received the B.E. (1977)
Research, vol. 79, pp. 1538-1545, 2009. degree in electrical engineering from Ho Chi
[9] A. A. Elbaset and T. Hiyama, “A novel integrated protective Minh City University of Technology, Viet
scheme for transmission line using ANFIS,” in International Nam, and D.E. (1988) degrees in electrical
Journal of Electrical Power and Energy Systems, No.: IJEPES-D- engineering from Politecnical University,
08-00112, 2009. Leningrag, Russia. Currently, he is an
[10] T. S. Kamel and M. A. M. Hassan, “Adaptive neuro fuzzy Associate Professor at the Power System
inference system (ANFIS) for fault classification in the Department at Ho Chi Minh City University of
transmission lines,” The Online Journal on Electronics and Technology, Viet Nam. His research interests
Electrical Engineering, vol. 2, no. 1, 2009. include power system protection and new
[11] Mathworks. [Online]. Available: energy.
http://www.Mathworks.Com/Help/Fuzzy/Anfis-And-The-Anfis-
Editor-Gui.Html.