Skip to main content

Fuzzy logic based on-line fault detection and classification in transmission line


This study presents fuzzy logic based online fault detection and classification of transmission line using Programmable Automation and Control technology based National Instrument Compact Reconfigurable i/o (CRIO) devices. The LabVIEW software combined with CRIO can perform real time data acquisition of transmission line. When fault occurs in the system current waveforms are distorted due to transients and their pattern changes according to the type of fault in the system. The three phase alternating current, zero sequence and positive sequence current data generated by LabVIEW through CRIO-9067 are processed directly for relaying. The result shows that proposed technique is capable of right tripping action and classification of type of fault at high speed therefore can be employed in practical application.


Modern power system is a complex network and requires high-speed, precise, and reliable protective system. Faults in power system are unavoidable and overhead transmission line faults are generally higher compare to other major components. Due to recent technology advances, new and improved devices for protection of power system are being designed and developed. Fault classification in double circuit line with conventional techniques is difficult due to mutual coupling between the two circuits (Jain 2013). This mutual coupling is compensated by taking zero sequence current into account. The goal of system protection includes detection, classification and identification of fault with minimum time delay. In order ensure stability and continuity of service, the faulty area of the circuit should be isolated without time delay. Various methods of fault detection, classification and isolation have been reported in literature. The most commonly used techniques for fault classification are: (1) artificial neural networks (Dalstein and Kuliche 1995; Song et al. 1996; Osman et al. 2005; Mahanty and Gupta 2004; Yadav and Dash 2014; Jamil et al. 2015) (2) wavelet transform techniques (Youssef 2003; Chanda et al. 2005; Liang et al. 1998; Zhao et al. 2000; Eristi 2013; Yadav and Swetapadma 2015a; Saber et al. 2015; Koley et al. 2015) (3) fuzzy and neuro-fuzzy techniques (Nguyen and Liao 2010; Mahanty and Gupta 2006). The neural network approach for fault classification is established as a successful methodology but it requires tedious training effort, hence it is time consuming and adds to the computation complexity. Similarly wavelet transform techniques are computationally complex. The fuzzy logic based fault classification techniques are comparatively simpler as it requires only some linguistic rules. In (Ferrero et al. 1995) identified the nature of fault (whether LG or LLG), but the involved phases in the fault could not been identified and phase fault is not considered. In (Wang and Keerthipala 1998) reported the improved technique based on fuzzy-neural approach and considered both the symmetrical and unsymmetrical fault. But this method required extra effort to obtain training of ANN. In (Dash et al. 2000) showed all the ten types of fault identification by fuzzy-neural approach. In (Das and Reddy 2005; Yadav and Swetapadma 2015b; Saradarzadeh and Sanaye-Pasand 2014) proposed fuzzy logic methodology to identify the ten types of faults.

In this paper fuzzy logic based fault detection and classification on real time has been proposed. Post-fault three phase currents; zero sequence and positive sequence current samples are taken into account for fault classification. The proposed logic detects and classifies the faults at maximum delay of 100 ms or less with higher accuracy and also this speed can be further increased and detection time can be improved. Real time data acquisition ensures control within specified time limit.


The method adopted for the study is applied on single line diagram shown in Fig. 1. 20 numbers of different faults have been created on test-bed for tuning the fuzzy membership function and fuzzy rules. The Data are acquired through CRIO and post fault data generated for different types of fault are used to evaluate the performance of the proposed fuzzy logic based fault classification system. The power system is developed taking into consideration the acquired data as shown in Fig. 1 in Lab view software. The fuzzy logic based fault classification is first experimented i.e. on offline environment for finding the optimal system. This optimal fuzzy logic based classification system is then applied on the system for any fault on real time. It is observed during the analysis of the data that depending on the type of fault i.e. line to ground faults, line to line faults, line to line to ground faults or three phases fault, the waveform changes accordingly. It is significant to mention that during fault the voltage tends to reduce to zero and current tends to rise.

Fig. 1
figure 1

Single line diagram of two bus system

Different types of faults are characterized in terms of δ1, δ2, δ3 and δ4, which calculations are shown below (Susilo et al. 2013). Post fault current samples are solved as below.

$$\delta_{1} = \frac{{{\text{I}}_{\text{a}} - {\text{I}}_{\text{b}} }}{{\hbox{max} \left( {I_{a} ,I_{b} ,I_{c} } \right)}}$$
$$\delta_{2} = \frac{{{\text{I}}_{\text{b}} - {\text{I}}_{\text{c}} }}{{{ \hbox{max} }\left( {I_{a} ,I_{b} ,I_{c} } \right)}}$$
$$\delta_{3} = \frac{{{\text{I}}_{\text{c}} - {\text{I}}_{\text{a}} }}{{{ \hbox{max} }\left( {I_{a} ,I_{b} ,I_{c} } \right)}}$$
$$\delta_{4} = \frac{{{\text{I}}_{0} }}{{{\text{I}}_{1} }}$$

where Ia, Ib, and Ic represent the sample of three phase currents. I0 and I1 are zero sequence and positive sequence current. Fuzzy rule based method for fault classification is developed on the basis of δ1, δ2, δ3, δ4. Zero sequence current, I0 has been taken into account to detect the presence of ground fault and δ4 represents the ground fault detection.

Fuzzy rule base for fault classification:

  • If δ1 is high and δ2 is medium and δ3 is low and δ4 is high it is an La − G fault;

  • If δ1 is low and δ2 is high and δ3 is medium and δ4 is high it is an Lb − G fault;

  • If δ1 is medium and δ2 is low and δ3 is high and δ4 is high it is an Lc − G fault;

  • If δ1 is medium and δ2 is high and δ3 is low and δ4 is low it is an La − Lb fault;

  • If δ1 is low and δ2 is medium and δ3 is high and δ4 is low it is an La − Lc fault;

  • If δ1 is high and δ2 is low and δ3 is medium and δ4 is low it is an Lb − Lc fault;

  • If δ1 is medium and δ2 is high and δ3 is low and δ4 is high it is an La − Lb − G fault;

  • If δ1 is low and δ2 is medium and δ3 is high and δ4 is high it is an La − Lc − G fault;

  • If δ1 is high and δ2 is low and δ3 is medium and δ4 is high it is an Lb − Lc − G fault;

  • If δ1 is medium and δ2 is medium and δ3 is medium and δ4 is low it is an La − Lb − Lc fault;

The triangular membership function has been used to present different fuzzy variables in the antecedent and consequent parts of the fuzzy rules as shown in Fig. 2. Mendal (1995) describes the triangular membership function as triplets with respect to the points A, B and C. It is observed that points A and C have membership value of 0.0 while point B has membership value of 1.0. Extensive study has been carried out to select proper triplets values of triangular membership function of δ1, δ2, δ3 and δ4. The selected triplets for triangular membership function of fuzzy variables in antecedents parts and consequent part are shown in Tables 1, 2 and 3 respectively.

Fig. 2
figure 2

Triangular fuzzy membership function

Table 1 Fuzzy variables in the antecedent parts of fuzzy rules for δ1, δ2, δ3
Table 2 Fuzzy variables in the antecedent parts of fuzzy rules for δ4
Table 3 Fuzzy variables in the consequent parts of fuzzy rules

Block diagram of fuzzy logic based fault classification

Figure 3 presents the block diagram of the proposed methodology. The ADC (analog to digital converter) is connected with FPGA (field-programmable gate array) hardware. The FPGA can directly access the ADC acquired values and send it to RT (real time) processor. The FPGA uses a 40 M Hz clock for its operation. The Sampling rate of FPGA is set at 10 kS/s which give 200 samples for each cycle. For every sample the FPGA acquire value is put into a FIFO (fast in fast out) queue, which can be accessed from the RT processor. The RT processor polls 1000 values for each channel, which means 5 consecutive cycles of 50 Hz signal. Once 5 cycle data is present, the RT processes the data and measures the RMS value of the signal acquired, and also checks for fault conditions. The sampling rate and the number of sample to detect the fault can be varied using the user control; this gives an option to change the parameters of the fault detector leading to improvement of efficiency, accuracy and response time. Three phase current data from test-bed have been acquired through CRIO. The signals acquired are normalized and different faults are characterized in terms of δ1, δ2, δ3 and δ4. After analysis of data obtained, triplet values are selected in antecedent and consequent parts to represent various fuzzy variables. Rules base are then prepared for classifying the fault type. After successful compilation of simulation fuzzy logic, the generated logic is dumped to the Field Programmable Gate array (FPGA) control LabVIEW hardware. In CRIO three modules have been used for high voltage data acquisition modules, high current data acquisition module and relay switch module for protection. The real time, line voltage and current values from the test bed are used as input to the FPGA control. When fault occurs in the system, relay switch module detect fault and the relay will trip after intentional 5 ms delay. The type of fault occurring in the system will be displayed on the host PC.

Fig. 3
figure 3

Block diagram of the proposed methodology

Real time monitoring and controlling

Laboratory Virtual Instrument Engineering Workbench (LabVIEW) is a powerful and flexible instrumentation and analysis software application tool which was developed in 1986 by the National Instruments. LabVIEW is extremely flexible and commonly used for data acquisition, instrument control, data processing and industrial automation. The CRIO device can interface between computers and Test-bed set up. Figure 4 shows schematic of real time monitoring and controlling. The LabVIEW 14.01 and CRIO 9067 systems have been implemented as SCADA to monitor real time parameters of test-bed. CRIO 9067 combines a dual-core processor, a reconfigurable FPGA, and eight slots for C Series I/O modules within one chassis. The CRIO systems consist of a real time processor running Real Time Operating System (RTOS) and also a FPGA backplane for accessing the I/O s. The RTOS and FPGA work mutually to ensure real time performance. C series I/O modules used for the study are—NI 9244, NI 9227, NI 9472, NI 9482, NI 9871, NI 9467. The NI 9244 module has 3 single-ended channels, 50 kS/s per channel simultaneous sample rate with 400 Vrms L-N, 800 Vrms L-L measurement range & 24-bit resolution and NI 9227 C Series current input module was designed to measure 5 A rms nominal and up to 14 A peak on each channel with channel-to-channel isolation with 50 kS/s/ch simultaneous sample rate. The NI 9871 has 4-Port, RS485/RS422 Serial Interface Module and used for RS485 data monitor on MODBUS. NI 9871 has baud rates up to 3.684 Mbaud per port. We can pass up to 1.28 Mbit/s of data between the module and CompactRIO. This ensure that the data monitored by the current and voltage monitor modules are correct and matching with the other measuring systems output. The NI 9467 provides GPS location information for measuring phasor values precisely. The digital output module and relay control module is used for protection of the grid. NI 9482 relay module is used. NI 9482 is a 4-channel, single-pole single throw (SPST) sourcing digital output module for NI Compact DAQ and CompactRIO. Each channel provides an SPST relay for switching signals up to 30 VDC (1.5 A), 60 VDC (1 A), 250 VAC (1.5 A) when all channels are being used. Figure 5 presents front panel of LabVIEW graphical user interface (GUI) created. Figure 6 shows real time program for fuzzy logic based fault classification.

Fig. 4
figure 4

Programmable automation and control technology of test-bed

Fig. 5
figure 5

Front panel of the LabvIEW GUI

Fig. 6
figure 6

The program block diagram of fault classification

Hardware implementation

We have used National Instruments Controller with 667 MHz Dual-Core ARM Cortex-A9 processor running in the NI Linux Real-Time, also integrated Chassis has Artix-7 FPGA. LabVIEW 14 Version has been used for programming and implementation of logics. For the compilation process LabVIEW uses Xilinx Vivado 2013.4 as Compilation Tool. Table 4 shows the compilation result.

Table 4 Logic utilization table

The proposed logic for fault detection and classification has been tested on an experimental transmission line module on 360 km of π-model. The picture of the hardware set-up is shown in the Fig. 7. Table 5 represent the data of the test-bed.

Fig. 7
figure 7

Picture of hardware setup

Table 5 Data of the test-bed

Results and discussion

The hardware set up is connected properly. Ten different faults are created as shown in Fig. 1 on 360 km double circuit line. For fault detection and classification LabVIEW fuzzy logic tool kit has been used and the system is protected at 5 ms delay triggered using LabVIEW through CRIO controller relay module. It is worth to mention that proposed logic is able to detect fault, trip the line as well as classify type of the fault occurred. Figure 8 shows the voltage waveform before introduction of fault in the system.

Fig. 8
figure 8

Voltage waveform of the system before fault

Fig. 9
figure 9

Voltage waveform for La − G fault

Fig. 10
figure 10

Current Waveform for La − G fault

The voltage and current waveforms for La − G fault are presented in Figs. 9 and 10. It is observed that when fault occurs in the system, voltage of La reduces and current increases. Figure 11 presents graphical result of fault classification which follow fuzzy rule base of La − G fault i.e. δ1 is high and δ2 is medium and δ3 is low and δ4 is high.

Fig. 11
figure 11

Output for δ1, δ2, δ3 and δ4 for fault classification during La − G fault

Figures 12 and 13 show voltage and current waveforms for La − Lb − Lc fault. It can be seen that when fault occurs in the system, voltage of La, Lb and Lc reduces and current increases. It is also observed in Fig. 14 that δ1, δ2, δ3 and δ4 satisfy fuzzy rule base for La − Lb − Lc fault.

Fig. 12
figure 12

Voltage waveform for La − Lb − Lc fault

Fig. 13
figure 13

Current waveform for La − Lb − Lc fault

Fig. 14
figure 14

Output for δ1, δ2, δ3 and δ4 for fault classification during La − Lb − Lc fault

The fuzzy logic based fault identification and classification is easy and simple since it only require computation of some ratios and differences of ratios of post fault current samples. When different fault are introduced in the system the corresponding fuzzy logic output are presented in Table 6. All the faults are checked graphically to confirm the accuracy of the proposed scheme. The proposed logic detects and classifies the fault accurately. The results show that the proposed logic is efficient and appropriate.

Table 6 Result of fuzzy logic based fault classification


An approach for fault detection and classification for transmission line based on fuzzy logic is found to be very efficient and effective under different fault conditions. This technique can determine not only fault detection and fault classification but can also give automatic protection in real time. The system operation is fast, reliable, and secure. Proposed logic is simple since it requires only some linguistic rules. The results show that proposed techniques is simple, fast, reliable and secure.


  • Chanda D, Kishore NK, Sinha AK (2005) Application of wavelet multiresolution analysis for identification and classification of faults on transmission lines. Electr Power Syst Res 73:323–333

    Article  Google Scholar 

  • Dalstein T, Kuliche B (1995) Neural network approach to fault classification for high speed protective relaying. IEEE Trans Power Deliv 10(2):1002–1011

    Article  Google Scholar 

  • Das B, Reddy JV (2005) Fuzzy-logic-based fault classification scheme for digital distance protection. IEEE Trans Power Deliv 20(2):609–616

    Article  Google Scholar 

  • Dash PK, Pradhan AK, Panda G (2000) A novel fuzzy neural network based distance relaying scheme. IEEE Trans Power Deliv 15(3):902–907

    Article  Google Scholar 

  • Eristi H (2013) Fault diagnosis system for series compensated transmission line based on wavelet transform and adaptive neuro-fuzzy inference system. Measurement 46(1):393–401

    Article  Google Scholar 

  • Ferrero A, Sangiovanni S, Zapitelli E (1995) A fuzzy set approach to fault type identification in digital relaying. IEEE Trans Power Deliv 10(1):169–175

    Article  Google Scholar 

  • Jain A (2013) Artificial neural network-based fault distance locator for double-circuit transmission lines. Adv Artif Intell 2013:1–12

    Article  Google Scholar 

  • Jamil M, Sharma SK, Singh R (2015) Fault detection and classification in electrical power transmission system using artificial neural network. Springerplus 4(334):1–13

    Google Scholar 

  • Koley E, Verma K, Ghosh S (2015) An improved fault detection classification and location scheme based on wavelet transform and artificial neural network for six phase transmission line using single end data only. Springerplus 4(551):1–22

    Google Scholar 

  • Liang J, Elangovan S, Devotta JBX (1998) A wavelet multiresolution analysis approach to fault detection and classification in transmission lines. Int J Electr Power Energy Syst 20(5):327–332

    Article  Google Scholar 

  • Mahanty RN, Gupta PBD (2004) Application of RBF neural network to fault classification and location in transmission lines. IEEE Proc Gener Transm Distrib 151(2):201–212

    Article  Google Scholar 

  • Mahanty RN, Gupta PBD (2006) A fuzzy logic based fault classification approach using current samples only. Electr Power Syst Res 77(2007):501–507

    Google Scholar 

  • Mendal JM (1995) Fuzzy logic systems for engineering: a tutorial. Proc IEEE 83(3):345–377

    Article  Google Scholar 

  • Nguyen T, Liao Y (2010) Transmission line fault type classification based on novel features and neuro-fuzzy system. Electr Power Compon Syst 38(6):695–709

    Article  Google Scholar 

  • Osman AH, Abdelazim T, Malik OP (2005) Transmission line distance relaying using on line trained neural networks. IEEE Trans Power Deliv 20(2):1257–1264

    Article  Google Scholar 

  • Saber A, Emam A, Amer R (2015) Discrete wavelet transform and support vector machine-based parallel transmission line faults classification. IEE J Trans Electr Electron Eng 11(1):43–48

    Article  Google Scholar 

  • Saradarzadeh M, Sanaye-Pasand M (2014) An accurate fuzzy logic-based fault classification algorithm using voltage and current phase sequence components. Int Trans Electr Energy Syst 25(10):2275–2288

    Article  Google Scholar 

  • Song YH, Johns AT, Xuan QY (1996) Artificial neural-network-based protection scheme for controllable series-compensated EHV transmission lines. IEEE Proc Gener Transm Distrib 143(6):535–540

    Article  Google Scholar 

  • Susilo L, Gu JC, Huang SK (2013) Fault current characterization based on fuzzy algorithm for DOCR application. Energy Power Eng 5:932–936

    Article  Google Scholar 

  • Wang H, Keerthipala WWL (1998) Fuzzy neuro approach to fault classification for transmission line protection. IEEE Trans Power Deliv 13(14):1093–1104

    Article  Google Scholar 

  • Yadav A, Dash Y (2014) An overview of transmission line protection by artificial neural network: fault detection, fault classification, fault location, and fault direction discrimination. Adv Artif Neural Syst 2014:1–21

    Article  Google Scholar 

  • Yadav A, Swetapadma A (2015a) Enhancing the performance of transmission line directional relaying, fault classification and fault location schemes using fuzzy inference system. IET Gener Transm Distrib 9(6):580–591

    Article  Google Scholar 

  • Yadav A, Swetapadma A (2015b) A novel transmission line relaying scheme for fault detection and classification using wavelet transform and linear discriminant analysis. Ain Shams Eng J 6(1):199–209

    Article  Google Scholar 

  • Youssef OAS (2003) A modified wavelet-based fault classification technique. Electr Power Syst Res 64(2):165–172

    Article  Google Scholar 

  • Zhao W, Song YH, Min Y (2000) Wavelet analysis based scheme for fault detection and classification in underground power cable systems. Electr Power Syst Res 53(1):23–30

    Article  Google Scholar 

Download references

Authors’ contributions

SA and TD conducted the research work on the laboratory and data presented is the actual data that was obtained during the experiment. The article was then written by SA and was reviewed by NS. All authors read and approved the final manuscript.

Competing interests

The authors declare that they have no competing interests.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Shuma Adhikari.

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (, which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Adhikari, S., Sinha, N. & Dorendrajit, T. Fuzzy logic based on-line fault detection and classification in transmission line. SpringerPlus 5, 1002 (2016).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: