2025-11-12T22:43:10.796337

Detection of High Impedance Faults in Microgrids using Machine Learning

Bera, Kumar, Pani et al.
This article presents differential protection of the distribution line connecting a wind farm in a microgrid. Machine Learning (ML) based models are built using differential features extracted from currents at both ends of the line to assist in relaying decisions. Wavelet coefficients obtained after feature selection from an extensive list of features are used to train the classifiers. Internal faults are distinguished from external faults with CT saturation. The internal faults include the high impedance faults (HIFs) which have very low currents and test the dependability of the conventional relays. The faults are simulated in a 5-bus system in PSCAD/EMTDC. The results show that ML-based models can effectively distinguish faults and other transients and help maintain security and dependability of the microgrid operation.
academic

Detection of High Impedance Faults in Microgrids using Machine Learning

Basic Information

  • Paper ID: 2211.02776
  • Title: Detection of High Impedance Faults in Microgrids using Machine Learning
  • Authors: Pallav Kumar Bera, Vajendra Kumar, Samita Rani Pani, Vivek Bargate
  • Classification: eess.SP (Electrical Engineering and Systems Science - Signal Processing)
  • Publication Time/Conference: IEEE Green Energy and Smart Systems Conference, Long Beach, CA (2022)
  • Paper Link: https://arxiv.org/abs/2211.02776

Abstract

This paper proposes a machine learning-based method for detecting high impedance faults (HIFs) in microgrids through differential protection principles applied to distribution lines connected to wind farms. The method constructs machine learning models by extracting differential features from three-phase currents at both ends of the line to assist relay protection decision-making. Selected wavelet coefficients are used to train classifiers to distinguish between internal faults and external faults with current transformer (CT) saturation. Internal faults include high impedance faults (HIFs) with minimal fault currents, which pose challenges to the reliability of traditional relays. Fault simulations are conducted on a 5-node system in PSCAD/EMTDC, demonstrating that the machine learning-based model effectively differentiates faults from other transients, contributing to the safety and reliability of microgrid operation.

Research Background and Motivation

Problem Definition

  1. High Impedance Fault Detection Challenge: High impedance faults (HIFs) in distribution networks produce minimal fault currents that frequently bypass traditional overcurrent relays without detection
  2. Microgrid Protection Challenges: Fault currents in microgrids vary with distributed generation types, operating conditions, and network topology, making traditional overcurrent relays unreliable
  3. Safety Hazards: Contact between energized conductors and ground poses dangers to fauna and flora and causes economic losses

Importance Analysis

  • With the growth and development of distributed generation, the occurrence of low-current faults will only increase
  • Reliable and fast protection systems are needed to address these challenges
  • Microgrids are significant in reducing distribution losses, providing generation at consumption points, and improving reliability

Limitations of Existing Methods

  • Traditional overcurrent protection exhibits reduced reliability in microgrid environments
  • Existing HIF detection methods are mostly based on single features or algorithms, lacking comprehensiveness
  • Insufficient adaptability to complex operating modes (grid-connected/islanded) in microgrids

Core Contributions

  1. Proposed a machine learning-based differential protection scheme for microgrids: Combining differential protection principles with machine learning technology to improve HIF detection accuracy
  2. Established a comprehensive fault simulation dataset: Generated 2,175 fault samples in a 5-node microgrid system covering multiple operating conditions
  3. Implemented multi-algorithm comparative analysis: Evaluated 7 different machine learning algorithms, with support vector machines achieving 100% accuracy
  4. Validated the effectiveness of wavelet transform features: Through feature selection, wavelet coefficients were identified as optimal features, improving classification performance

Methodology Details

Task Definition

Input: Three-phase differential current signals collected by CTs at both ends of the line Output: Fault type classification (internal fault vs. external fault) Constraints: Need to distinguish high impedance internal faults from external faults with CT saturation

System Modeling

Microgrid System Architecture

The study employs a 5-node microgrid system containing:

  • Distributed Energy Resources: Diesel generator (DG2, 2MW), photovoltaic (DG3, 0.25MW), wind farm (DG4, 2.5MW)
  • Distribution Lines: T21 (10km), T23 (20km), T24 (30km), T45 (10km)
  • Transformers: 4 transformers of different capacities (1-100MVA)
  • Loads: 4 load nodes (0.05-0.95MW)

High Impedance Fault Modeling

A model employing two anti-parallel DC sources connected through two diodes and two variable resistors:

During positive half-cycle: Vph > Vp
During negative half-cycle: Vph < Vn
When Vn < Vph < Vp: Current is zero

where variable resistors simulate dynamic arcs, and varying DC sources simulate the asymmetry of fault currents.

Feature Extraction and Selection

Continuous Wavelet Transform

Using the Mexican hat wavelet as the mother wavelet:

ψ(t,p,q)=23pπ1/4(1(tq)2p2)exp((tq)22p2)\psi(t, p, q) = \frac{2}{\sqrt{3p\pi^{1/4}}}(1 - \frac{(t-q)^2}{p^2})\exp(-\frac{(t-q)^2}{2p^2})

The continuous wavelet transform is defined as:

Y(y(t),p,q,ψ(t))=+y(t)ψ(t,p,q)dtY(y(t), p, q, \psi(t)) = \int_{-\infty}^{+\infty} y(t)\psi^*(t, p, q)dt

Feature Selection Process

  1. Feature Extraction: Extracted 2,289 features from three-phase differential currents, including:
    • Spectral features (FFT coefficients, etc.)
    • Time-frequency features (wavelet coefficients)
    • Information-theoretic features (entropy, approximate entropy, etc.)
    • Statistical features (autocorrelation, extrema, mean, etc.)
  2. Feature Selection: Used information gain to calculate feature importance, selecting wavelet coefficients as optimal features

Machine Learning Algorithms

Evaluated 7 classification algorithms:

  • Decision Tree
  • Random Forest
  • Gradient Boost
  • Multi Layer Perceptron
  • Naive Bayes
  • K-Nearest Neighbor
  • Support Vector Machine

Experimental Setup

Dataset Construction

Fault Types and Parameters

Internal Faults:

  • Type 1 (Non-HIF): LG, LLG, LL, LLLG, LLL faults, 875 samples
  • Type 2 (HIF): Phase-to-ground faults, 300 samples

External Faults:

  • External faults with CT saturation, 1,000 samples

Simulation Parameters

  • Fault Resistance: 0.01-300Ω (HIF: 50-300Ω)
  • Fault Inception Angle: 0°-360°
  • Operating Modes: Grid-connected, islanded, low voltage conditions
  • Load Conditions: Balanced/unbalanced loads

Evaluation Metrics

  • Balanced Accuracy: ηˉ=12(TPTP+FN+TNTN+FP)\bar{\eta} = \frac{1}{2}(\frac{TP}{TP+FN} + \frac{TN}{TN+FP})
  • Dependability: Dependability=TPTP+FNDependability = \frac{TP}{TP+FN}
  • Security: Security=TNTN+FPSecurity = \frac{TN}{TN+FP}

Hyperparameter Optimization

Grid search was used to optimize hyperparameters for each algorithm, with cross-validation employed to avoid overfitting.

Experimental Results

Main Results

Performance comparison of various algorithms:

ClassifierBalanced AccuracyDependabilitySecurity
Decision Tree99.68%99.72%99.64%
Random Forest99.23%99.17%99.29%
Gradient Boost99.68%99.72%99.64%
Multi Layer Perceptron99.85%99.7%100%
Naive Bayes56.3%12.6%100%
K-Nearest Neighbor99.86%99.72%100%
Support Vector Machine100%100%100%

Key Findings

  1. Support Vector Machine Performs Optimally: Achieves 100% on all evaluation metrics
  2. Naive Bayes Shows Poor Performance: Dependability of only 12.6%, unsuitable for this task
  3. Most Algorithms Perform Excellently: Except for Naive Bayes, other algorithms achieve accuracy exceeding 99%

Feature Effectiveness Validation

Wavelet coefficients were identified as the most discriminative features through feature selection, effectively capturing the time-frequency characteristics of fault signals.

Traditional HIF Detection Methods

  • Mathematical Morphology: Extracting information from voltage and current
  • Harmonic Analysis: Utilizing even, odd, and interharmonic components in fault currents
  • Wavelet Transform: Time-frequency analysis methods
  • Genetic Algorithms: Optimizing detection parameters

Machine Learning Methods

  • Neural Networks: Early applications in HIF detection
  • Decision Trees: Rule-based classification methods
  • Support Vector Machines: Kernel-based classification
  • Expert Systems: Knowledge-based fault detection

Microgrid Protection Research

  • Intelligent Fault Detection: Combining wavelet transform and deep learning
  • Predictive Analysis: Distinguishing internal faults from inrush currents
  • Characteristic Distance Protection: For transmission line protection connected to wind farms

Conclusions and Discussion

Main Conclusions

  1. Machine Learning Methods Are Effective: ML-based models successfully distinguish between internal and external faults
  2. Wavelet Features Are Superior: Wavelet coefficients demonstrate excellent performance in fault classification
  3. High-Precision Detection: ML methods accurately identify HIFs even with low-amplitude fault currents
  4. Multi-Algorithm Applicability: Multiple ML algorithms achieve high detection accuracy

Limitations

  1. Simulation Environment Constraints: Research is based on simulated data; actual field conditions may be more complex
  2. System Scale Limitations: Validation only on a 5-node system; applicability to large-scale systems remains to be verified
  3. Feature Computation Complexity: Real-time computation of wavelet transforms may affect response speed
  4. Data Dependency: ML model performance depends on the quality and completeness of training data

Future Directions

  1. Real System Validation: Verify algorithm performance in actual microgrid environments
  2. Online Learning Mechanisms: Develop adaptive algorithms capable of accommodating system changes
  3. Computational Optimization: Improve real-time performance of feature extraction and classification
  4. Multi-Source Information Fusion: Incorporate multiple electrical quantities such as voltage and power

In-Depth Evaluation

Strengths

  1. Strong Methodological Innovation: Combining differential protection with machine learning provides new insights for microgrid protection
  2. Comprehensive Experimental Design: Considers multiple operating conditions and fault types with well-constructed datasets
  3. Sufficient Algorithm Comparison: Evaluation of 7 different algorithms provides selection basis for practical applications
  4. Complete Performance Metrics: Simultaneous consideration of dependability and security aligns with power system protection requirements

Weaknesses

  1. Lack of Theoretical Analysis: Insufficient theoretical explanation for why wavelet features are effective
  2. Computational Complexity Not Discussed: No analysis of computational complexity and real-time requirements for each algorithm
  3. Insufficient Robustness Verification: Lacks robustness analysis against noise, measurement errors, and other practical factors
  4. Missing Engineering Implementation Details: Does not discuss implementation of the method in actual protection devices

Impact

  1. Academic Contribution: Provides new technical pathways for microgrid protection research
  2. Practical Value: Potentially addresses limitations of traditional protection in microgrids
  3. Reproducibility: Detailed method descriptions provide reasonable reproducibility
  4. Promotion Potential: Methods are extensible to other power system protection problems

Applicable Scenarios

  1. Distributed Generation Dense Areas: Suitable for microgrids with multiple types of distributed energy resources
  2. High HIF Frequency Regions: Particularly applicable to distribution networks prone to HIFs
  3. Smart Grid Construction: Can serve as an important component of intelligent protection systems
  4. Renewable Energy Integration Points: Applicable to protection at wind and solar integration points

References

The paper cites 24 relevant references, primarily covering:

  • Traditional and emerging HIF detection methods
  • Machine learning applications in power system protection
  • Microgrid protection research
  • Wavelet transform and feature extraction techniques

Overall Assessment: This is an application-oriented research paper with clear technical approach and reasonable experimental design. While limited in theoretical innovation, it provides an effective technical solution to the practical engineering problem of HIF detection in microgrids, demonstrating good practical value and promotion potential.