Slide 1 of 51
To implement a novel application of ANFIS approach to fault detection, classification and location in transmission lines a proposed computer program based on Matlab software to calculate all ten types of shunt faults that may occur in a transmission line should be presented first. This work divided into two papers The first paper concerns with Modeling and Computer Simulation of Fault Calculations for Transmission Lines. The second paper concerns with A Novel Integrated Protective Scheme for Transmission Line Using ANFIS.
Slide 2 of 51
In the first paper: Part I This paper presents a proposed computer program based on Matlab software to calculate all ten types of shunt faults that may occur in a transmission line. Various fault scenarios (fault types, fault locations and fault impedance) are considered in this paper. The inputs of the proposed program are line length, source voltage, positive, negative and zero sequence for source impedance, line charging, and transmission line impedance. The output of the algorithm is used to train an artificial intelligence networks to detect, classify and locate transmission lines faults. Simulation results have shown the effectiveness of the algorithm under the condition of all types of shunt faults.
Slide 3 of 51
Presents a novel application of ANFIS approach to fault detection, classification and location in transmission. Three ANFISs have been proposed to provide an integrated protective scheme for the transmission line. The first ANFIS has been proposed to detect all shunt faults. The second faults. ANFIS has been proposed to identify the type of
The last one has been proposed to determine the distance of the fault from sending end.
Slide 4 of 51
Methodology
Lf Bus 3 Point F
L-L f Bus 2
Reciving End R
Ss, Vs, Is
Figure 1. Faulted Transmission Line
Sr, Vr, Ir
The fault formula for balanced and various unbalanced faults are summarized below:II-I Modeling of SLG Faults Using Zbus
Bus 1 Z.Lf Vsa Ia Z.Lf Vsb Ib Z.Lf Vsc Ic Ifc Ifb Z.(L-Lf) c Ifa Zf Z.(L-Lf) b Bus 3 Bus 2 Z.(L-Lf) a
The conditions at the fault bus 3 (point F) are expressed by the following equations:Ifb=0 , Ifc=0 (1)
The following equations give relationships between sequence components of fault currents at the fault point.
VPref(0): The prefault voltage at point F (bus 3) and can be calculated by using two port network as shown in Fig. 3
Slide 6 of 51
Zs
Vsa
Zr
Vra
C(L-Lf) D(L-Lf)
A(L-Lf) B(L-Lf)
C1(Lf) D1(Lf)
A1(Lf) B1(Lf) Zf
Slide 7 of 51
The symmetrical components of fault current is II-III Modeling of DL Faults Using Zbus [2,5] (15) Bus 1
Bus 3 Z.Lf Vsa Ia Z.Lf Vsb Ib Z.Lf Vsc Ic Ifc Ifb
Zf
Bus 2 Z.(L-Lf) a
Ifa Z.(L-Lf)
b Z.(L-Lf) c
Figure 4. Double line fault at point F The following relations must be satisfied at the fault point Ifa=0 , Ifb= -Ifc The symmetrical components of fault current is
Slide 8 of 51
Zf
Slide 9 of 51
Slide 10 of 51
The symmetrical components of fault current are given by the following Equation:-
II-V Modeling of Sending Voltage and Line current during Fault [5] Using sequence components of the fault currents the symmetrical components of the sending end bus voltage during fault can be obtained by the following Equations
Slide 11 of 51
Where Z1, Z2 and Z0 : The matrix impedance of transmission line per unit length. Vsa (0): The prefault phase voltage at sending end. The phase voltages at sending end during fault are
Slide 12 of 51
The line fault currents from Bus 1 to Bus 3 (point F) can be obtained as follows:-
Slide 13 of 51
Computer Simulation of Fault Calculation The flow chart of the proposed computer program is shown in Fig. 7. The proposed computer program simulates various faults for different fault conditions. i.e. a-g, b-g, c-g, ab, bc, ca, ab-g, bc-g, ca-g, and abc fault) based on Zbus. The condition parameters that have been taken into account for each fault type are: 1) Variation of fault impedance, [0: 200] (). 2) Variation of fault angle, [0: 90] (degree). 3) Variation fault locator [1:200] km.
Slide 14 of 51
Start
Input Line length, Source voltages, +ve, -ve and Zero Source impedance (both sources), +ve, ve and Zero Line charging, +Ve, Ve and Zero Transmission line impedance, Compute +ve ,-ve and Zero Source impedance , +ve, ve and Zero Line charging, +Ve, Ve and Zero transmission line impedance per unit length
Lf=1:1:Line_Length =0:30*pi/180:pi/2 Zf=0:20:200 Vo(3)=1.01(cos()+jsin()) Z13=Z1*Lf;Z23=Z1*(Line_length-Lf); Zo13=Zo*Lf; Zo23=Zo*(Line_length-Lf); Compute Positive, Negative and Zero Zbus
Compute +Ve, -Ve and zero Sequence Current for SLG fault Ia0=V0(3)/(Zbus1(3,3)+Zbus2(3,3)+Zbus0(3,3)+j*3*Zf); Ia1=Ia0;Ia2=Ia0;
Compute +Ve, -Ve and zero Sequence Current for DLG Fault Ia1 = V0(3)/(Zbus1(3,3)+Z11); Ia2 =-(V0(3) - Zbus1(3, 3)*Ia1)/Zbus2(3,3); Ia0 =-(V0(3) - Zbus1(3, 3)*Ia1)/(Zbus0(3,3)+j*3*Zf); Compute +Ve, -Ve and zero Sequence Current for DL Fault Ia0=0; Ia1 = V0(3)/(Zbus1(3,3)+Zbus2(3, 3)+j*Zf); Ia2=-Ia1;
Compute +Ve, -Ve and zero Sequence Current for Symmetrical fault If = V0(3)/(j*Zf + Zbus(3, 3));
a; 1 a
Calculate voltage at each bus due to SLG,DLG, DL and Three-phase fault calculate current from Sending bus to fault bus due to SLG,DLG, DL and Three-phase fault Stored Voltage and current Data in matlab File
End
Slide 15 of 51
Slide 16 of 51
Figure 8. Influence of Fault Impedance, Fault distance at Fault current For Single Line-to-ground Fault at =10o.
Slide 17 of 51
Figure 9. Influence of Fault Impedance, Fault distance at Fault voltage For DLG Fault at =10o
Slide 18 of 51
Figure 10. Influence of Fault Impedance and Fault distance at Fault current For DL Fault at =10o.
Slide 19 of 51
Figure 11. Influence of Fault Impedance, Fault distance at Fault current For Three phase Fault at =10o.
Slide 20 of 51
Figure 15. Influence of Fault Impedance, Fault distance at Fault voltage For Three phase Fault at =10o
Slide 21 of 51
Figure 25. Influence of Fault distance and Fault inception angle at Fault current For DLG Fault at Zf =30 ohm.
Slide 22 of 51
Figure 20. Influence of Fault Impedance and Fault distance at Fault voltage For SLG Fault at Lf =5km.
Slide 23 of 51
Figure 21. Influence of Fault Impedances and Fault distance at Fault voltage For DLG Fault at Lf =5km.
Slide 24 of 51
Figure 22. Influence of Fault Impedance and Fault distance at Fault voltage For DL Fault at Lf=5km.
Slide 25 of 51
Figure 27. Influence of Fault distance, Fault inception angle at Fault current For Three phase Fault at Zf =30 ohm.
Slide 26 of 51
Figure 29. Influence of Fault distance and Fault inception angle at Fault voltage For DLG Fault at Zf=30 ohm.
Slide 27 of 51
CONCLUSIONS This paper presents a computer package to perform transmission line fault analysis based on Zbus methods along with the symmetrical components method. From the results obtained, the salient conclusions of this paper are:1. Calculates the fault conditions and to provide protective equipment designed to isolate the faulted zone from the reminder of the system in the appropriate time. 2. Presents a highly accurate transmission line simulation technique which utilized to calculate voltages and currents at the relay location (Sending end S) for different fault types, fault conditions and different power system data.
3. Calculate faults along different line lengths. The results show that the method is suitable for design a protective scheme for transmission line based on artificial intelligence. As the method is easy applicable and it is flexible, it can be used for modeling other any transmission lines
Slide 28 of 51
This paper presents a novel application of ANFIS approach to fault detection, classification and location in transmission lines using measured data from one terminal of the transmission line. Three ANFISs have been proposed to provide an integrated protective scheme for the transmission line. The first ANFIS has been proposed to detect all shunt faults. The second ANFIS has been proposed to identify the type of faults. The last one has been proposed to determine the distance of the fault from sending end.
Slide 29 of 51
ANFIS Algorithm The ANFIS is a fuzzy Sugeno model of integration where the final fuzzy inference system is optimized via the ANNs training. The ANFIS makes use of a hybrid learning rule to optimize the fuzzy system parameters of firstorder Sugeno system, which can be graphically represented by Fig. 1. It maps inputs through input membership functions and associated parameters, and then through output membership functions to outputs.
x1 x2
A1
x1
A2 B1
x2
w1
w1
y1=w1f1
w2
B2
w2 x1 x2
y2=w2f2
Layer 1 Layer 2 Layer 3 Layer 4 Layer 5 Fig. 1. ANFIS architecture for a two-input, two-rule first-order Sugeno model .
For a first-order Sugeno fuzzy model, a typical rule set with two fuzzy if-then rules can be expressed as [18]: Rule 1 If x1 is A1 and x2 is B1, then y1= p1x1 + q1x2+r1, Rule 2 If x1 is A2 and x2 is B2, then y2= p2x1 + q2x2+r2,
Where [A1,A2, B1, B2] are called the premise parameters. [pi, qi, ri] are called the consequent parameters, i =1,2. The consequent parameters (p, q, and r) of the nth rule contribute through a first order polynomial of the form:
Slide 30 of 51
ANFIS constructs a fuzzy inference system (FIS) whose membership function parameters are tuned (adjusted) using either a back propagation algorithm alone, or in combination with a least squares type of method. ANFIS is much more complex than the fuzzy inference systems, and is not available for all of the fuzzy inference system options. The following is a layer by layer description of a two input two rule first-order Sugeno system. Layer 1. Generate the membership grades:
Layer 2. Generate the firing strengths. Each node in this layer calculates the firing strengths of each rule The outputs of this layer can be represented as
Layer 3. Normalize the firing strengths. The ith node of this layer calculates the ratio of the ith rules firing strength to the sum of all rules firing strengths:
Slide 31 of 51
Layer 4. Calculate rule outputs based on the consequent parameters. The output of each node in this layer is simply the product of the normalized firing strength and a first-order polynomial. Thus, the outputs of this layer are given by
Layer 5. Sum all the inputs from layer 4. There is only single fixed node labeled with . This node performs the summation of all incoming signals. Hence, the overall output of the model is given by
Slide 32 of 51
FAULT DETECTION, CLASSIFICATION AND LOCATION ALGORITHM Power System under Study To evaluate the performance of the proposed ANFIS integrated protective scheme, Let us consider a faulted transmission line extending between two sources as shown in Fig. 2 is considered in this study
Sending End S Bus 1 CT Ss, Vs, Is Data Acquisition Unit FD ANFIS 1 ANFIS 2 ANFIS 3 CB Lf Bus 3 Point F Sr, Vr, Ir L-L f Bus 2 Reciving End R
PT
FC FL
Fig. 2. Faulted transmission line. PT: Potential Transformer, CT: Current Transformer, CB: Circuit-Breaker, FD: Fault Detector, FC: Fault Classification, FL: Fault Locator.
Slide 33 of 51
Fault Detection, Classification and Location Methodology Using ANFIS In Fig. 2, the input data are measured based-on RMS values for current in phase a , phase b and measured RMS values for voltage for phase a and phase b. ANFIS employ the theory of fuzzy sets and fuzzy if-then rules to derive outputs. The outputs extracted form ANFIS used not only in discriminating between transmission line healthy and/or faulty states but also used in classifying fault type and determine its location. Three ANFISs were trained and tested in this paper to provide fault detection, classification and location for the transmission line. The process of generating outputs of the ANFISs are depicted in Fig. 3.
Sending End S Data Acquisition Vs, Is Unit ANFIS 1 ANFIS 2 ANFIS 3 FD 1: Fault or 0: No Fault FC SLG, DLG, LL, LLL FL Distace fault from Sending
Slide 34 of 51
The first ANFIS used for fault detector (FD). The ANFIS for fault detector output is indexed with either a value of 1 (the presence of a fault) or 0 (the non-faulty situation). The second ANFIS is used to identify the type of fault located in the first protection zone of the transmission line covering 100% of the line length from the sending end data only and classify the fault (i.e., a-g, b-g, c-g, a-b, b-c, c-a, a-b-g, b-c-g, c-a-g). To classify the fault, the following methodology has been adopted. Initially, in order to represent the fault type correctly, a binary coding system has been developed. In this coding system, a 4-b binary number is used to represent the type of fault. Thus, for a line-to-ground (a-g) fault, the 4-b number would be 00-0-1. Similarly, for a line-to-line (b-c) fault, the corresponding 4-b number would be 0-1-1-0. Similarly, this 4-b binary number also represents the other types of fault. The complete binary coding system and equivalent decimal numbers for representing all possible types of faults is given in Table 1
Slide 35 of 51
Slide 36 of 51
Typically an ANFIS scheme performs its action in several steps including. - Fuzzification (comparing the input values with membership functions to obtain membership values of each linguistic term for computing the truth values of the premise of each rule in the rule base. - Fuzzy reasoning (firing the rules and generating their fuzzy or crisp consequents), - Defuzzification (aggregating rule consequents to produce a crisp output).
Fig. 4. Fuzzy inference systems for Fault detection, Classification and location
Slide 37 of 51
4- Evaluation of the trained ANFIS using test patterns until its performance is satisfactory.
When Network is trained, ANFISs should be given an acceptable output for unseen data. When output of test pattern and networks error reached an acceptable range then, fuzzy system is adjusted in the best situation which means the membership functions and fuzzy rules are well adjusted. All of these steps above are done off-line and when the structure and parameters of ANFIS are adjusted, it can be used as an on-line fault detector, classifier and locator.
Slide 38 of 51
Fig. 10. Relation between RMS Error and Number of Test cases
Slide 39 of 51
Slide 40 of 51
The structure of an ANFIS with four inputs and one output is shown in Fig. 12. The ANFIS has the following design parameters: -Type - Sugeno, -Gaussian and Generalized bell-shaped membership functions, -Two linguistic terms for each input membership function, -16 linear terms for output membership functions, -16 rules (resulting from number of inputs and membership function terms), -Fuzzy operators: product (and), maximum (or), product (implication), maximum (aggregation), average weight (defuzzification).
There are 16 rules which are sufficient to assign a detector using ANFIS. Some of these rules are as follows: 1-If (Ia is in1mf1) and (Ib is in2mf1) and (Va is in3mf1) and (Vb is in4mf1) then (Output is out1mf1) (1) 2-If (Ia is in1mf1) and (Ib is in2mf1) and (Va is in3mf1) and (Vb is in4mf2) then (Output is out1mf2) (1) 3-If (Ia is in1mf1) and (Ib is in2mf1) and (Va is in3mf2) and (Vb is in4mf1) then (Output is out1mf3) (1) 4-If (Ia is in1mf1) and (Ib is in2mf1) and (Va is in3mf2) and (Vb is in4mf2) then (Output is out1mf4) (1) 5- If (Ia is in1mf1) and (Ib is in2mf2) and (Va is in3mf1) and (Vb is in4mf1) then (Output is out1mf5) (1)
15-If (Ia is in1mf1) and (Ib is in2mf1) and (Va is in3mf2) and (Vb is in4mf2) then (Output is out1mf15) (1) 16- If (Ia is in1mf1) and (Ib is in2mf2) and (Va is in3mf1) and (Vb is in4mf1) then (Output is out1mf16) (1)
Slide 41 of 51
Fig. 14. Relation between RMS Error and Number of Test cases for Fault classification
Slide 42 of 51
Slide 43 of 51
Slide 44 of 51
The ANFIS has the following design parameters: Type - Sugeno, Gaussian and Generalized bell-shaped membership functions, Two and three linguistic terms for each input membership function, 36 linear terms for output membership functions, 36 rules (resulting from number of inputs and membership function terms), Fuzzy operators: product (and), maximum (or), product (implication), maximum (aggregation), average weight (defuzzification). There are 36 rules which are sufficient to assign a detector using ANFIS.
is is is is is
is out1mf1) (1) is out1mf2) (1) is out1mf3) (1) is out1mf4) (1) is out1mf5) (1)
If (Ia is in1mf1) and (Ib is in2mf1) and (Va is in3mf2) and (Vb is in4mf2) then (Output is out1mf35) (1) If (Ia is in1mf1) and (Ib is in2mf2) and (Va is in3mf1) and (Vb is in4mf1) then (Output is out1mf36) (1)
Slide 45 of 51
Fig. 18. Relation between RMS Error and Number of Test cases for Fault Locator
Slide 46 of 51
CONCLUSION This paper presented a novel application based on ANFIS for fault detection, classification and location in transmission line for integrated protective scheme. The proposed system consists of four procedures as in Fig. 1, Data acquisition and three ANFISs.
In this work, the measured of RMS currents and voltages are utilized for detecting, classifying and locating the faults occurs on transmission line.
From results obtained above, the following are the salient conclusions that can be drown from this paper: 1- A new computer program to simulate transmission line and calculated voltages and currents for each type of fault which used in training/testing ANFIS has been proposed. 2- Various tests in different fault condition of transmission line illustrate that this method is an accurate and has error less than 0.20%. The obtained results show that the proposed method gives good estimations.
Slide 48 of 51
3- The proposed ANFISs can be implemented for all types of shunt fault including high impedance and low impedance fault. 4- The ANFIS has the following design parameters for the configuration for detecting fault are: Type - Sugeno, Gaussian and Generalized bell-shaped membership functions, Two linguistic terms for each input membership function, 16 linear terms for output membership functions, 16 rules (resulting from number of inputs and membership function terms), 4- The ANFIS, which used for fault classification has the following design parameters: Type - Sugeno, Gaussian and Generalized bell-shaped membership functions, Two and three linguistic terms for each input membership function, 36 linear terms for output membership functions, 36 rules (resulting from number of inputs and membership function terms),
Slide 49 of 51
5- The ANFIS, which used for fault location has the following design parameters: Type - Sugeno, Gaussian membership functions, Three and Four linguistic terms for each input membership function, 144 linear terms for output membership functions, 144 rules (resulting from number of inputs and membership function terms),
6- The proposed methodology for output based on ANFIS can be used for integrated protective scheme of transmission line.
Slide 50 of 51
Slide 51 of 51