Next Article in Journal
Efficiency Analysis of GaN Based LLC Resonant Converter for PV Applications
Previous Article in Journal
Design Procedure for Motor Selection in Custom-Made Multi-Axis CNC Machines
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

A Protection Technique for Microgrid Using Wavelet Packet Transform and Data Mining Classifier †

by
Shazia Baloch
1,*,
Saeed Zaman Jamali
1 and
Syed Ali Raza Shah
2
1
Electrical Engineering Department, Balochistan University of Engineering and Technology, Khuzdar 89100, Pakistan
2
Mechanical Engineering Department, Balochistan University of Engineering and Technology, Khuzdar 89100, Pakistan
*
Author to whom correspondence should be addressed.
Presented at the 7th International Electrical Engineering Conference, Karachi, Pakistan, 25–26 March 2022.
Eng. Proc. 2022, 20(1), 33; https://doi.org/10.3390/engproc2022020033
Published: 4 August 2022
(This article belongs to the Proceedings of The 7th International Electrical Engineering Conference)

Abstract

:
In electrical power systems, the popularity of the microgrid is significantly increasing because of its remarkable advantages. However, the microgrid often exhibits protection problems and seriously affects the reliability of power system. Hence, a proper protection strategy is extremely necessary to solve the protection issues. Therefore, this manuscript proposes a protection strategy against the faults in microgrids using a wavelet packet transform and data mining classifier. MATLAB/SIMULINK and Python are used to investigate the proposed scheme performance. It was found that the proposed technique can detect and classify different types of faults for the islanded and grid-associated modes of the microgrid.

1. Introduction

Microgrid integration with traditional systems has enhanced the capability of the modern power system to perform more efficiently. Microgrids reduce dependency on conventional systems by providing uninterrupted power against the high load [1]. Despite its immense advantages, it also produces implementation, operational, control, and protection problems [2,3]. One cause of the protection issue is that the traditional system is usually radial with unidirectional (from source to consumers) power flow; however, in the microgrid, power flows bidirectionally. The other reason for the protection problem is associated with the fault current level. In grid-linked mode, the fault current is fed from the main utility and distributed generators (DGs); hence, the fault current is relatively higher. Conversely, in islanded mode, the fault current is low, as DGs in the microgrid are of low capacity [4,5,6,7]. The difference in the operation and control of a microgrid with conventional systems causes failures of overcurrent-based protection strategies. Thus, protection design and operation are challenged [8,9].
The protection issues of a microgrid are addressed through different techniques in the literature. In [10,11], the authors addressed the protection strategies by utilizing signal processing and data mining techniques. A discrete wavelet transforms (DWT) combined with an artificial neural network is proposed in [12]. A wavelet transforms (WT) and decision tree-based methodology is described in [13].
Recently, most of the research has addressed data mining approaches. Hence, in our proposed scheme, a combined signal processing and data mining technique is employed to detect the fault in a microgrid and then determine its classification. The main objectives of this study are as follows:
  • To protect the microgrid using the wavelet packet transform (WPT) and data mining technique.
  • To collect the input dataset by extracting the statistical indices of total harmonic distortion (THD).
  • To validate the proposed technique’s effectiveness for both operating modes of the microgrid.

2. Proposed Technique

This study provides a solution to the protection issues by utilizing WPT and data mining techniques. The proposed strategy block diagram is presented in Figure 1. First, the sample voltage and current are preprocessed to calculate the THD through WPT. Then, statistical indices (standard deviation, min, and max) of the THD are extracted to collect the input dataset. Once the dataset is collected, it is fed to the random forest classifier to develop the data mining model for fault detection and classification. While collecting the dataset, several fault and no-fault (NF) aspects are considered to perform the simulation, as shown in Table 1 and Table 2 [11], for both operating modes and configurations of the microgrid.

Wavelet Packet Transform

In DWT, the decomposition of an obtained signal is in non-uniform frequency bands. However, for the analysis of harmonics, it is good to evaluate uniform frequency sub-bands which can be obtained through WPT. The main difference between the WPT and DWT is the decomposition process. In DWT, after the first level, either approximation or detailed coefficients are used for further decomposition, whereas in WPT, after the first level, both detailed and approximation coefficients are decomposed to extract the fault information. Hence, through WPT, more fault information can be gathered compared to DWT. The decomposition of a signal y[m] is given as:
y [ m ] = i Z (   j Z A i , j [ m ] + j Z D i , j [ m ] ) ,
where A i , j [ m ] and D i , j [ m ] represents the approximation and detailed coefficients decomposed at i level, gained from
A i + 1 , j [ m ] = j Z ( g [ j ] A i [ 2 m j ] + h [ j ] A i [ 2 m j ] ) ,  
D j + 1 , i [ m ] = j Z ( g [ j ] D i [ 2 m j ] + h [ j ] D i [ 2 m j ] ) ,  
where g [ j ]   and   h [ j ] are the frequency bands for low-pass and high-pass filters.

3. Test System

Figure 2 represents the test system of the microgrid, modeled in the MATLAB/SIMULINK. A 25 kV, 15 MVA, and 60 Hz grid is connected with a microgrid at the PCC through a switch, which is used to change the operating modes either into grid-connected or islanded mode. It contains one synchronous-based DG(DER4) of 7 MVA, with one 2 MVA (DGR2) and two 3 MVA (DER1 and DER3) IIDGs. It comprised of five distributed sections (DL1, DL2, DL3, DL4, DL5), with a 20 km line length. It contains six loads linked to each bus. A 120/25 kV Dyn transformer connects the microgrid with the grid, and a 0.630/25 kV transformer is used to connect all DG sources [11].

4. Results Discussion

Figure 3 represents the flowchart of the proposed algorithm. Accuracy, precision, and recall are the basic indices applied to find out the capability of the proposed strategy.
(1)
To measure the dependability of the predicted and actual fault events for fault and NF cases for the proposed technique, accuracy is considered as follows:
A = ( ψ ^ + ψ = ) T ( ψ + ψ ¯ ) T
where ψ ^ and ψ = = predicted fault and NF events; ψ and ψ ¯ = actual fault and NF events.
(2)
Precision gives the relation between the predicted and actual fault events, given as:
P = ψ ^ T ψ T
where ψ ^ T = predicted fault events; ψ T = actual fault events.
(3)
Recall precisely measures the predicted and actual NF events as follows:
R = ψ = T ψ ¯ T
where ψ = T = predicted NF events; ψ ¯ T = actual NF events.

4.1. Fault Detection

The study considered overall 9088 cases (8800 fault and 288 NF) for the detection of faults in the microgrid. Here, 75% of the cases are considered for training and 25% for testing to build the data mining model. The fault detection is performed by assuming two different values for both of the cases, given as:
fault detection = { if   1 , fault   events if   0 , NF   events
Figure 4 represents the fault detection confusion matrix. From the figure, it can be observed that the proposed scheme randomly selected 2272 cases (70 NF, 2202 fault events). The figure further shows that the proposed scheme accurately detected 2202 fault and 69 NF cases with an accuracy of 99.95%. The comparative analysis of the proposed technique with DT and SVM is tabulated in Table 3. It is demonstrated in the table that the accuracy of the proposed technique is 99.95% (with a precision level of 100%, and a recall level of 98.57%), whereas SVM has an accuracy level of 99.42% (99.68% precision and 91.43% recall), and DT has an accuracy level of 99.56% (with a precision level of 99.72% and a recall level of 94.28%). The comparative analysis can also be seen in Figure 5.

4.2. Fault Classification

The next task after fault detection is the classification of the fault. For fault classification while training, the values assumed are given as:
Fault Classification = {   0   for       SLG   faults   1   for       LL   faults   2   for       LLG   faults         3   for       LLLG   faults
For fault classification, 75% of the cases are used for training and 25% for testing. Figure 6 represents the confusion matrix for fault classification. From the figure, it can be observed that the proposed scheme has arbitrarily considered 2200 fault cases. With seven misclassifications, it has classified 596 SLG cases accurately. Further observation shows that for LL faults it has accurately classified 582 cases, for LLG faults 590 cases, and for LLLG faults 417 cases with 98.84%, 99.32%, 100%, and 99.05% accuracy, respectively. Hence, this leads to an overall accuracy of 99.32%. Table 4 and Figure 7 show a comparative analysis of the proposed scheme with DT and SVM. The comparative analysis verifies that the proposed scheme can effectively classify the faults with 99.32% accuracy compared to SVM and DT having accuracy levels of 97.78% and 98.27%, respectively.

5. Conclusions

Microgrids cause many protection problems in power systems. Therefore, this scheme proposes a fault protection solution by using wavelet packet transform and random forest-based techniques. The proposed scheme is investigated in MATLAB to validate its performance. The results indicate improved results over the existing data mining techniques.

Author Contributions

S.B. conceptualized the proposed protection scheme and drafted the original article. S.Z.J. reviewed, edited the first draft and provided the resources and valuable comments during the simulation process. S.A.R.S. revised the paper. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Patnaik, B.; Mishra, M.; Bansal, R.C.; Jena, R.K. Ac microgrid protection—A review: Current and future prospective. Appl. Energy 2020, 271, 115210. [Google Scholar] [CrossRef]
  2. Sharma, N.K.; Samantaray, S.R. Pmu assisted integrated impedance angle-based microgrid protection scheme. IEEE Trans. Power Deliv. 2020, 35, 183–193. [Google Scholar] [CrossRef]
  3. Sarangi, S.; Sahu, B.K.; Rout, P.K. Distributed generation hybrid ac/dc microgrid protection: A critical review on issues, strategies, and future directions. Int. J. Energy Res. 2020, 44, 3347–3364. [Google Scholar] [CrossRef]
  4. Chaitanya, B.; Yadav, A.; Pazoki, M. An improved differential protection scheme for micro-grid using time-frequency transform. Int. J. Electr. Power Energy Syst. 2019, 111, 132–143. [Google Scholar] [CrossRef]
  5. Tabatabaei, N.M.; Kabalci, E.; Bizon, N. Microgrid Architectures, Control, and Protection Methods; Springer: Berlin/Heidelberg, Germany, 2019. [Google Scholar]
  6. Abdulwahid, A.H.; Wang, S. A novel approach for microgrid protection based upon combined anfis and hilbert space-based power setting. Energies 2016, 9, 1042. [Google Scholar] [CrossRef]
  7. Baloch, S.; Jamali, S.Z.; Mehmood, K.K.; Bukhari, S.B.A.; Zaman, M.S.U.; Hussain, A.; Kim, C.-H. Microgrid protection strategy based on the autocorrelation of current envelopes using the squaring and low- pass filtering method. Energies 2020, 13, 2350. [Google Scholar] [CrossRef]
  8. Saad, S.M.; El-Naily, N.; Mohamed, F.A. A new constraint considering maximum psm of industrial over-current relays to enhance the performance of the optimization techniques for microgrid protection schemes. Sustain. Cities Soc. 2019, 44, 445–457. [Google Scholar] [CrossRef]
  9. Mishra, M.; Panigrahi, R.R.; Rout, P.K. A combined mathematical morphology and extreme learning machine techniques-based approach to micro-grid protection. Ain Shams Eng. J. 2019, 10, 307–318. [Google Scholar] [CrossRef]
  10. Baloch, S.; Muhammad, M.S. An intelligent data mining-based fault detection and classification strategy for microgrid. IEEE Access 2021, 9, 22470–22479. [Google Scholar] [CrossRef]
  11. Baloch, S.; Sunil, S.S.; Muhammad, M.S. Fault Protection in Microgrid Using Wavelet Multiresolution Analysis and Data Mining. IEEE Access 2021, 9, 86382–86391. [Google Scholar] [CrossRef]
  12. Hong, Y.-Y.; Cabatac, M.T.A.M. Fault detection, classification, and location by static switch in microgrids using wavelet transform and taguchi-based artificial neural network. IEEE Syst. J. 2020, 14, 2725–2735. [Google Scholar] [CrossRef]
  13. Mishra, D.P.; Samantaray, S.R.; Joos, G. A combined wavelet and data mining based intelligent protection scheme for microgrid. IEEE Trans. Smart Grid 2016, 7, 2295–2304. [Google Scholar] [CrossRef]
Figure 1. Proposed technique block diagram.
Figure 1. Proposed technique block diagram.
Engproc 20 00033 g001
Figure 2. Microgrid test system.
Figure 2. Microgrid test system.
Engproc 20 00033 g002
Figure 3. Flowchart of the proposed scheme.
Figure 3. Flowchart of the proposed scheme.
Engproc 20 00033 g003
Figure 4. Fault detection confusion matrix.
Figure 4. Fault detection confusion matrix.
Engproc 20 00033 g004
Figure 5. Comparative analysis of proposed technique, DT and SVM.
Figure 5. Comparative analysis of proposed technique, DT and SVM.
Engproc 20 00033 g005
Figure 6. Fault classification confusion matrix.
Figure 6. Fault classification confusion matrix.
Engproc 20 00033 g006
Figure 7. Proposed scheme comparative analysis with DT and SVM.
Figure 7. Proposed scheme comparative analysis with DT and SVM.
Engproc 20 00033 g007
Table 1. Simulated fault cases.
Table 1. Simulated fault cases.
ParametersFault DetailsNumbers
Mode of operation Islanded or grid-associated2
TopologyMeshed or radial 2
Fault typesAG, BG, CG, ABG, BCG, CAG, AB, BC, CA, ABC, ABCG11
Resistance (Ω) at fault0.01–10010
Inception angle of fault0°, 30°, 60°, 90°4
Fault lineDL1, DL2, DL3, DL4, DL5,5
Total fault cases8800
Table 2. Simulated NF cases.
Table 2. Simulated NF cases.
ParametersNumbers
Mode of operation (Islanded or grid-associated)2
Topology (Meshed or radial)2
Switching of the capacitor (buses and PCC)6
Load switching6
DG1 and DG3 outage2
Overall NF events288
Table 3. Proposed scheme comparative analysis with DT and SVM for fault detection.
Table 3. Proposed scheme comparative analysis with DT and SVM for fault detection.
Data Mining TechniquesAccuracy %Precision %Recall %
SVM99.4299.6891.43
DT99.5699.7294.28
Proposed scheme99.9510098.57
Table 4. Comparative analysis of accuracy measurement for fault classification.
Table 4. Comparative analysis of accuracy measurement for fault classification.
Data Mining TechniquesAccuracy %
SVM97.78
DT98.27
Proposed method99.32
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Baloch, S.; Jamali, S.Z.; Shah, S.A.R. A Protection Technique for Microgrid Using Wavelet Packet Transform and Data Mining Classifier. Eng. Proc. 2022, 20, 33. https://doi.org/10.3390/engproc2022020033

AMA Style

Baloch S, Jamali SZ, Shah SAR. A Protection Technique for Microgrid Using Wavelet Packet Transform and Data Mining Classifier. Engineering Proceedings. 2022; 20(1):33. https://doi.org/10.3390/engproc2022020033

Chicago/Turabian Style

Baloch, Shazia, Saeed Zaman Jamali, and Syed Ali Raza Shah. 2022. "A Protection Technique for Microgrid Using Wavelet Packet Transform and Data Mining Classifier" Engineering Proceedings 20, no. 1: 33. https://doi.org/10.3390/engproc2022020033

Article Metrics

Back to TopTop