Next Article in Journal
Comprehensive Insights into the Molecular Basis of HIV Glycoproteins
Previous Article in Journal
Improvement on Compressible Multiple-Reference-Frame Solver in OpenFOAM for Gas Turbine Flow Analysis
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Fast Fault Line Selection Technology of Distribution Network Based on MCECA-CloFormer

College of Electrical Engineering and New Energy, China Three Gorges University, Yichang 443002, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2024, 14(18), 8270; https://doi.org/10.3390/app14188270
Submission received: 8 July 2024 / Revised: 27 August 2024 / Accepted: 11 September 2024 / Published: 13 September 2024

Abstract

:
When a single-phase grounding fault occurs in resonant ground distribution network, the fault characteristics are weak and it is difficult to detect the fault line. Therefore, a fast fault line selection method based on MCECA-CloFormer is proposed in this paper. Firstly, zero-sequence current signals were converted into images using the moving average filter method and motif difference field to construct fault data set. Then, the ECA module was modified to MCECA (MultiCNN-ECA) so that it can accept data input from multiple measurement points. Secondly, the lightweight model CloFormer was used in the back end of MCECA module to further perceive the feature map and complete the establishment of the line selection model. Finally, the line selection model was trained, and the information such as model weight was saved. The simulation results demonstrated that the pre-trained MCECA-CloFormer achieved a line selection accuracy of over 98% under 10 dB noise, with a remarkably low single fault processing time of approximately 0.04 s. Moreover, it exhibited suitability for arc high-resistance grounding faults, data-missing cases, neutral-point ungrounded systems, and active distribution networks. In addition, the method was still valid when tested with actual field recording data.

1. Introduction

The distribution network, serving as the vital link between the transmission system and users, plays a crucial role in ensuring power supply reliability. According to statistics, approximately 80% of all faults are attributed to single-phase grounding issues [1]. In small-current grounding systems, these faults exhibit weak characteristics and susceptibility to noise interference, which hampers fault line identification. Failure to promptly address such faults may lead to inter-phase faults and pose potential risks to personnel safety. Therefore, conducting research on rapid and accurate fault line selection holds significant practical significance.
In small-current grounding systems, the amplitude of the fault transient component is several times larger than that of the steady-state component, and the method based on the transient electrical signal is not easily affected by the grounding mode, so many scholars choose the transient electrical signal for in-depth research [2,3,4,5,6]. Gong proposed to use db6 wavelet to carry out three-scale wavelet packet decomposition for zero-sequence current of each line, extract the wavelet coefficients of the characteristic frequency band for comparison, and select the fault line with the largest amplitude and different phase from other lines [7]. However, the selection of wavelet basis function requires certain professional knowledge and experience, and improper selection would cause misjudgment. Hou et al. used modified complementary ensemble empirical mode decomposition (MCEEMD) to divide the zero-sequence current into a series of intrinsic mode functions (IMF), then selected the optimal IMF for signal reconstruction, and input the reconstructed signal into the Duffing system for fault line selection [8]. But during signal reconstruction, there may be signal reconstruction errors, resulting in distortion of the original signal, which would further affect the subsequent fault line selection process. Li et al. employed fast Fourier transform (FFT) to analyze the transient zero-sequence current to determine the decomposition scale of variational modal decomposition (VMD), then performed VMD and combined it with the energy method to quantitatively describe the decomposition results to achieve fault line selection [9]. Notwithstanding, the FFT method has the problem of spectrum leakage. Some scholars have combined machine learning to achieve fault line selection [10,11]. Li et al. extracted pure transient electrical quantities based on the improved Hilbert–Huang transform (IHHT), constructed feature vectors by combining standard deviation, energy entropy and amplitude distortion, and established the fault line selection model through a random forest classifier, transforming the fault line selection problem into a binary classification problem and realizing automatic identification of fault lines [10]. Liu et al. used ensemble empirical mode decomposition to decompose zero-sequence currents before and after faults into five kinds of IMFs with different components, and obtained the energy entropy of transient zero-sequence currents via Hilbert transformation. Then, the feature vectors were input to STOA-SVM for training to achieve fault line selection [11]. However, this method is affected by the parameter selection of the sooty tern optimization algorithm. In general, the above methods all require feature extraction of signals, and the result of this feature extraction directly affects the accuracy of line selection, so the robustness of these methods is poor.
In recent years, deep learning methods have been extensively studied due to their ability to significantly reduce the accumulation of errors inherent in manual feature extraction processes, coupled with their end-to-end advantages and strong generalization capabilities [12]. Guo et al. concatenated the transient zero-sequence currents, measured at both ends of the line section after a single-line-to-ground fault occurrence by the digital fault indicator, to construct characteristic waveforms. Thereafter, they employed a one-dimensional convolutional neural network (1-D CNN) to adaptively extract features from these waveforms, facilitating the localization of the faulty section [13]. Wang proposed a fault line selection method grounded in a modified artificial bee colony optimization deep neural network (ACB-DNN), which could reduce training time [14]. Cheng et al. improved the complete ensemble empirical mode decomposition adaptive noise algorithm (CEEMDAN) to decompose the zero-sequence current of each line into a series of intrinsic mode functions, converted it into image form, and then processed it through wavelet transform and used a convolutional neural network to output the fault probability, so as to locate the fault line [15]. Nonetheless, data-driven deep learning methodologies are inherently susceptible to the constraints imposed by the quantity and caliber of their training samples. Insufficient sample numbers or failure to meet requisite quality standards can impinge upon the ultimate accuracy of the models’ predictions. In order to solve the problem of deep learning requiring a large amount of training data, transfer learning has gradually attracted the attention of scholars [16,17,18]. A. Anbarasi et al. used the pre-trained VGG-16 as the backbone model, and then fine-tuned the model using less than 900 public chest CT images to achieve the identification of COVID-19 patients [16]. Through a large number of experiments, Karim A.A. Mahmoud et al. found that fine-tuned pre-trained convolutional neural network models can effectively classify thermal images captured by switchgear units and achieve higher accuracy [17]. Jintao Hu et al. proposed a continuous domain distribution adversarial network (CDDAN) based on deep domain adversarial network, which can realize transfer learning to a continuous and multi-dimensional target domain, and verified the feasibility and superiority of the method on datasets generated based on twin-spool turbofan engines [18]. Liu et al. used domain adaptive transfer learning to complete variable condition migration to achieve fault line selection in the target domain, but a large number of target domain samples were still needed in the migration process [19]. Su et al. extracted similar fault features from other substation instances and migrated these features to target substation instances with limited samples [20]. This method achieved higher fault line selection accuracy than other methods in cases with small sample sizes, but this method was affected by the similarity between substation instances.
To address the above problems, a fault line selection method without samples from the target distribution network is proposed, which centers on training the model based on domain knowledge. Specifically, the main contributions of this paper can be summarized as follows:
  • A method based on moving average filter (MAF) and motif difference field (MDF) for converting time series into images is proposed. The method starts with a moving average denoising of the one-dimensional zero-sequence current signal and then encodes it into a two-dimensional image using the motif difference field. The color distributions in MDF images are more intuitive and contain richer information than time-series data, and the image data can also be used directly as input for deep learning-based visual models.
  • A faulty line selection model based on MCECA-CloFormer is proposed. The line selection model utilizes the MCECA module to fuse fault images from multiple measurement points and the CloFormer module with a two-branch structure to sense the difference between fault and non-fault feature maps. It has been demonstrated that the model can achieve fast and accurate fault line selection in target distribution networks under different operating conditions and line parameters.
The rest of this paper is organized as follows: Section 2 briefly analyzes the single-phase ground fault characteristics; Section 3 presents the MAF-MDF based imaging method; Section 4 introduces the MCECA-CloFormer based line selection model; the validity of the proposed method is verified and discussed in Section 5; and finally, Section 6 presents conclusions and future directions.

2. Characteristics Analysis of Single-Phase Grounding Fault

The simplified equivalent network of a resonant grounding system during a single-phase grounding fault occurrence is illustrated in Figure 1, for a distribution network comprising n feeders, with the fault taking place on the ith feeder. Here, u0 represents the zero-sequence voltage of the bus bar, u0i denotes the zero-sequence voltage of the power supply, and iL signifies the equivalent zero-sequence current of the arc suppression coil. The variables i01, …, i0n denote the zero-sequence currents of respective feeders, while C01, …, C0n represent the zero-sequence capacitances of these feeders. The directions of zero-sequence currents in faulted and healthy lines, as illustrated in the figure, indicate their respective flow patterns.
From the diagram, expressions for the zero-sequence currents in both the faulty and healthy feeders can be derived, as represented by the following equations:
i 0 m = C 0 m d u 0 d t
i 0 i = ( i L + m = 1 , m i n i 0 m ) = ( i L + m = 1 , m i n C 0 m d u 0 d t )
As Equation (1) illustrates, the healthy feeders, being under the same zero-sequence voltage condition, exhibit identical expressions for their zero-sequence currents and display a high degree of waveform similarity. Equation (2), on the other hand, reveals that the magnitude of the zero-sequence current in the faulty feeder equals the sum of the zero-sequence currents from all healthy feeders combined with the current from the arc suppression coil. Comparing this with Equation (1), it becomes evident that there exists a disparity in the waveforms of the zero-sequence currents between the healthy and faulty feeders. The subsequent work in this paper will focus on exploring these waveform discrepancies.

3. Imaging Method Based on MAF-MDF

3.1. Moving Average Filter

Data collected by actual measuring devices for fault events often contain noise and may occasionally suffer from missing data issues [21], which can degrade the accuracy of fault line selection algorithms. Consequently, preprocessing is essential before mapping the zero-sequence currents into a two-dimensional representation. The moving average filter (MAF) possesses a certain degree of noise reduction capability and, in cases of data absence, can endeavor to fill gaps using neighboring data points. Compared to methods such as modal decomposition and wavelet transformation, its implementation is simpler and does not rely on subjective, experience-based parameter tuning. Since there are not enough sampling points to complete the average calculation of a complete window when processing the data at the beginning and end of the sequence by the method of moving mean filtering, a formula suitable for the complete sequence is given in this paper, as shown in Equation (3).
y ( n ) = 1 2 m + 1 k = n m n + m x ( k ) ,       N + 1 2 n T N 1 2 1 2 n 1 k = 1 2 n 1 x ( k ) ,                                         n < N + 1 2 1 2 ( T n ) + 1 k = 2 n T T x ( k ) ,                 n > T N 1 2
where y(n) denotes the filtered signal value; n represents the index of the signal sequence; 2m + 1 signifies the width of the sliding filter window, with the window width set as an odd number; x(k) is the value of the original signal; and T represents the length of the time series.

3.2. Motif Difference Field

The motif difference field (MDF) is a methodology that encodes one-dimensional time series into two-dimensional images, effectively conveying structural information inherent in the time series. Compared to the Gramian angular field (GAF), MDF boasts a simpler implementation and is more straightforward to construct [22].
Suppose a discrete-time signal X = (xt, t = 1,2,3,…, T) of total duration T is given. The image set of signal X in the time domain can be defined as follows:
M d n = { M d , s n , s = 1 , 2 , , T ( n 1 ) d }
where M d , s n = (xt, t = s, s + d, s + 2d, …, s + (n − 1)d); n represents the length of the subsequence sampled from X using a sliding window, satisfying 1 < nT; s denotes the initial time index corresponding to the subsequence within X; and d is the sampling interval size between two data points from X, an integer that fulfills 1 ≤ d ≤ [(T − 1)/(n − 1)].
M d n measures the complexity of a time series only by comparing the values of adjacent points in the time series. However, the relative amplitude in the time series contains more structural information in the series, so the sequence of motif differences is further defined.
dM d n = { d M d , s n , s = 1 , 2 , , T ( n 1 ) d }
d M d , s n = x s + d x s , x s + 2 d x s + d , , x s + ( n 1 ) d x s + ( n 2 ) d
Due to the variation in the length of dM d n with respect to d, zero padding is necessary to ensure uniform sequence lengths. Consequently, a new sequence I d n is defined as:
I d n = { I d , s n , s = 1 , 2 , , T ( n 1 ) }
I d , s n = d M d , s n ,   1 s T ( n 1 ) d 0 ,               T ( n 1 ) d < s T ( n 1 )
Then, the motif difference field (MDF) is defined as the stack of I d n with all possible delay values d from 1 to dmax.
MDF n = { I 1 n , I 2 n , , I d max n }
I d n denotes the set of n − 1 collections corresponding to when the spacing is d, thereby generating n − 1 channel images. For the ith channel, an image array is defined as follows:
G i n = [ I 1 n ( i ) , I 2 n ( i ) , , I d n ( i ) , , I d max n ( i ) ] T
I d n ( i ) = [ I d , 1 n ( i ) , I d , 2 n ( i ) , , I d , T n + 1 n ( i ) ] T
where the superscript ‘T’ denotes transpose; 1 ≤ in − 1.
To address the multitude of zero elements in G i n , each channel of the MDF image is defined as follows:
IMG i n = G i n + K n G i n
where ⊙ is the Hadamard product, and G i n is the 180-degree rotation of G i n . In order to prevent the overlap of two arrays, K n is defined as:
K d , s n = 0 ,       1 s T - ( n - 1 ) d 1 ,       T - ( n - 1 ) d < s T - ( n - 1 )  
In this paper, n in Equation (13) is set to three to produce two fault differential images, which are then stacked vertically to form a composite fault image. Figure 2 illustrates the process of generating an MDF image from the zero-sequence current signal.

3.3. MAF-MDF

In practical distribution networks, noise present in the waveforms recorded by phasor measurement units (PMUs) can interfere with fault line selection. To tackle this issue, the zero-sequence current signals collected at each measurement point from 10 milliseconds before to 20 milliseconds after the fault event are first subjected to a moving average denoising process. These signals are then subjected to normalization, ensuring noise reduction while preserving the inherent pattern of signal variation. Subsequently, the normalized current sequences are transformed into two-dimensional images via the motif difference field (MDF) methodology.
Figure 3 illustrates the zero-sequence current waveforms at the primary endpoints of each feeder in a four-terminal distribution network during a single-phase grounding fault on Feeder 1, along with the imaging results. On the left side of the figure are the original signals, the center portion displays waveforms after undergoing moving average denoising and normalization, and the rightmost section presents the MDF images.
Observably from the figure, following denoising and MDF transformation of the zero-sequence current sequences captured at various points, the MDF fault images of non-faulty feeders exhibit nearly uniform color distributions, whereas there is a conspicuous distinction in color distribution between the faulty and healthy feeders. By mapping one-dimensional zero-sequence current data into a two-dimensional space, waveform disparities are visually translated into discernible color variations.

4. Fault Line Selection Model Based on MCECA-CloFormer

It can be seen from the analysis in Section 3.3 that the MDF images of faulty feeders and non-faulty feeders have obvious color differences. Accordingly, this paper proposes the MCECA-CloFormer fault line selection model, which improves the ECA model to MCECA (MultiCNN-ECA) so that it can accept and integrate multiple measuring point information. Then, the two-branch structure of the lightweight model CloFormer is used to perceive color distribution differences to achieve fault line selection.

4.1. Efficient Channel Attention

Attention mechanisms can significantly enhance model performance, yet most of them increase model complexity and computational cost alongside optimization. The efficient channel attention (ECA), however, employs a lightweight architecture that requires no dimensionality reduction, enabling effective cross-channel interactions locally with minimal parameters [23].
The structure of the ECA module is depicted in Figure 4, where W, H, and C denote the width, height, and channel dimensions of the input feature map X, respectively. Initially, global average pooling (GAP) is applied to the input features, yielding a feature vector of shape 1 × 1 × C. Subsequently, a one-dimensional convolution with kernel size K is employed to efficiently facilitate local cross-channel interactions, where K is adaptively determined by Equation (14) based on the total channel count C. The convolution outcome is normalized via the sigmoid function to obtain weights for each channel. Finally, these weights are element-wise multiplied with the original input feature X to yield the weighted feature X′. The computation formula for the kernel size K is as follows:
K = ψ ( C ) = log 2 ( C ) γ + b γ o d d
where |t|odd denotes the nearest odd integer to t; γ is the scaling coefficient for the global average pooling output; and b represents the bias value when adaptively determining the convolution kernel size.

4.2. CloFormer

CloFormer is a lightweight vision transformer designed with a dual-branch architecture, incorporating both local and global pathways. In the global branch, standard attention mechanisms are employed to capture the global low-frequency information of the input, whereas the local branch combines context-aware weights with shared weights to extract high-frequency local information from the input. This dual-branch configuration facilitates the model’s enhanced perception of both high and low-frequency components in the input feature maps. Experimental evidence demonstrates its superior performance across a range of visual tasks, including image classification, object detection, and semantic segmentation [24], as illustrated in Figure 5. The overarching architecture consists of four main components: the Conv stem, Clo blocks, ConvFFN, and the Output module.
  • Conv stem. This component primarily comprises five convolutional layers, with the detailed structure illustrated in Figure 5a.
  • Clo block. This part is constituted by a local branch and a global branch. As shown in Figure 5b, within the global branch, K and V are initially downsampled, followed by the execution of a standard attention process on Q, K, and V to extract global low-frequency information, as outlined in Equation (15).
X g l o b a l = Attntion ( Q g , Pool ( K g ) , Pool ( V g ) )
In the local branch, linear transformations are first applied to obtain Q, K, and V. Subsequently, depthwise convolution (DWConv) with shared weights is employed on V for local feature extraction, as illustrated in Equations (16) and (17).
Q , K , V = FC ( X i n )
V s = DWconv ( V )
where FC denotes a fully connected layer.
Meanwhile, local information aggregation for Q and K is performed using deep convolutions, following which the Hadamard product of the aggregated Ql and Kl is computed. This product undergoes a series of non-linear transformations to yield context-aware weights within the range of −1 to 1. These generated context weights are then employed to enhance the local features Vs. The entire process is outlined in Equation (18).
Q l = DWconv ( Q ) K l = DWconv ( K ) A t t n t = FC ( Swish ( FC ( Q l K l ) ) ) A t t n = Tanh ( A t t n t d ) X l o c a l = A t t n V s
where d is the number of token’s channels, ⊙ is the Hadamard product.
Finally, the outputs from the global and local branches are concatenated along the channel dimension, followed by passing through a fully connected layer to yield the final output of the Clo block, as illustrated in Equation (19).
X t = Concat ( X l o c a l , X g l o b a l ) X o u t = FC ( X t )
where Concat(·,·) denotes the concatenation of two tensors along the channel dimension.
  • ConvFFN. This component primarily bolsters its local information aggregation capacity by introducing depthwise convolution following the GELU activation function. Two modes are adopted: one without downsampling (depicted on the left in Figure 5c), which is utilized in all layers except the last, and another incorporating a downsampling module (shown on the right in Figure 5c), which is employed in the final layer of the CloFormer architecture.
  • Output module. The output module consists of a global average pooling layer and a linear classifier. The overall structure of CloFormer is depicted in Figure 5d, wherein a CloLayer is composed of a combination of two Clo blocks and a ConvFFN, with downsampling incorporated in the ConvFFN of the final layer.

4.3. MCECA-CloFormer

To fully leverage the distinctions between faulted and healthy power line MDF images, as well as the high similarity among healthy line images, this paper constructs MCECA (MultiCNN-ECA), a module designed to accept multiple image inputs. Specifically, it begins by employing a convolutional layer with a kernel size of 1 × 1 to map the two-dimensional images generated by measurement points deployed at the head ends of each feeder into feature maps, which are then concatenated along the channel dimension. Subsequently, the ECA (efficient channel attention) mechanism is utilized to capture cross-channel interaction information from the concatenated tensor, assigning different weights for attention-guided feature fusion. Finally, the features are fed into the CloFormer model, which employs a dual-branch structure to perceive the color distribution of signals, thereby facilitating fault line identification. The detailed architecture is illustrated in Figure 6.

4.4. Implementation Flow of Line Selection Method

The specific route selection process designed in this paper is as follows: when the zero sequence voltage of the bus is monitored to be greater than 0.15 times the phase voltage, the zero-sequence current signals recorded by the PMU device deployed at the head-end of each feeder from 10 ms before the fault to 20 ms after the fault are first extracted. The signals are then converted into images using the MAF-MDF method and finally inputted into the pretrained MCECA-CloFormer model for fault line selection.
In this study, the specific parameters of MAF-MDF and MCECA-Cloformer are shown in Table 1.

5. Simulation Results and Discussion

5.1. Dataset

The proposed method in this paper primarily learns color differences in images to discern faulty lines, with the intention of being unaffected by line parameters or line length. Consequently, two distinct 10 kV distribution network models with small current grounding were constructed using PSCAD/EMTDC. These models are depicted in Figure 7, while their line parameters are detailed in Table 2 and Table 3 respectively. Each feeder’s head in both distribution network models was equipped with a PMU device to collect zero-sequence current data. The transformers had a capacity of 50 MVA and a voltage ratio of 110 kV/10.5 kV. In Figure 7, Model 1 is depicted as a resonant grounding system, utilized for creating the training dataset. In Figure 7, Model 2 is utilized for generating the test set. Within Model 2, when the switch at the busbar was open, it represented a neutral ungrounded system (NUS), whereas when the switch was closed, it signified a neutral resonant grounding system (NES). In the resonant grounding systems, an overcompensation strategy was uniformly employed, with the compensation degree set to 10%.
A dataset was constructed by simulating various fault scenarios across each line in the distribution grid models, encompassing different fault locations, initial fault angles, and fault grounding resistances. The specific scenarios are detailed in Table 4.
In Table 4, ’Emanuel’ refers to an arc high resistance model [25], illustrated in Figure 8, which comprises two diodes, two voltage sources, and two resistors connected in inverse parallel. This model was designed to mimic the random fluctuations in arc voltage and arc resistance observed in real-world situations, where Up, Un, Rp, and Rn fluctuate randomly over time within a range of ±10% of their set central values. By adjusting these parameters, simulations of diverse grounding medium conditions could be achieved. The specific parameters for this model are listed in Table 5.
Based on the scenarios outlined in Table 4 and Table 5, training, validation, and test datasets—namely, NES training set, NES test set, and NUS test set—were generated. Each of these datasets comprised 2520 fault sample groups, with each group containing data from four measurement points. Ultimately, the time-domain datasets were transformed into image datasets using the methodology outlined in Section 3.2.

5.2. Training and Testing of the Model

The color image dataset generated by Model 1 was divided into a new training set and a validation set at a ratio of 4:1. There were 2016 sets of images in the training set and 504 sets of images in the validation set. Subsequently, the MCECA-CloFormer model was constructed, with training samples from the training set being fed into the model for training. The training process was deemed complete when the accuracy rate stabilized. At this point, the optimal hyperparameters and weights of the model were saved. Employing the pretrained model, tests were conducted on the test set. Experimental validation confirmed that the line selection neural network based on MCECA-CloFormer achieved an accuracy rate of 100% in both the resonant grounding distribution networks and the ungrounded neutral point distribution networks of Model 2. This led to the conclusion that the method proposed in this paper was insensitive to variations in operating conditions.
The testing results on the NES and NUS datasets were visualized using t-SNE, with the outcomes presented in Figure 9.
In Figure 9, four distinct colors correspond to the four feeders, demonstrating that the MCECA-CloFormer model possesses remarkable clustering capability.
In order to verify the influence of inverter interfaced distributed generation (IIDG) on the algorithm proposed in this paper, the IIDG model was added to the distribution network model, which adopts PQ control during normal operation and employs a low voltage crossing and negative sequence suppression strategy during fault operation [26]. Because IIDG grid-connected transformer adopts star triangle connection, that is, IIDG is not in zero-sequence network, it has little influence on the method presented in this paper. In Figure 7, 50% of lines L1 and L2 of the resonant grounding system are connected to the IIDG with a capacity of 2 MW. The fault points were set at 25% and 75% of each line, respectively. After testing, the accuracy rate was 100%.
In order to verify the influence of fault phase angle, fault resistance, and fault location on the algorithm, the test scenario shown in Table 6 was set up. After testing, the accuracy rate was 100%.

5.3. Noise Resistance Test and Algorithm Comparison Analysis

In this paper, MCloFormer-ECA, MCECA-MobileNetV2, MCNN-CloFormer, and MCECA-ECANET are used to compare with the proposed algorithm. MCEA-CloFormer adopts the early fusion strategy, MCloFormer-ECA adopts the late fusion strategy, and the model structure is shown in Figure 10a. MCNN-CloFormer is a model that does not use ECA’s attention mechanism, and the model structure is shown in Figure 10b.
In order to test the anti-noise ability of the algorithm, 300 groups of samples were randomly selected from the NES test set for testing, including 100 groups of arc high-resistance grounding samples. Different degrees of Gaussian white noise were added to test the noise resistance of the algorithm. The test results are shown in Table 7.
As can be seen from Table 7, the accuracy rate of all algorithms decreased at a noise intensity of 10 dB, with the accuracy rate of MCECA-MobileNetV2 decreasing to 96.33%. However, based on the performance of the algorithms at various noise intensities, MCECA-CloFormer, MCloFormer-ECA, and MCECA-ECANet demonstrated better anti-noise capability than other algorithms.
Rapid and accurate fault line selection can significantly reduce maintenance time and ensure power supply reliability. Therefore, the fault line selection time of the above algorithms were compared. Table 8 shows the time required by the different models to process a single fault.
It can be seen that the time required for line selection of lightweight models MCECA-CloFormer, MCNN-CloFormer, and MCECA_MobileNetV2 was much shorter than other algorithms.
By integrating the data from Table 7 and Table 8, it is evident that while MCECA-MobileNetV2 and MCNN-CloFormer demanded shorter durations for fault line identification, they exhibited weaker noise tolerance capabilities. Conversely, MCECA-ECANet and MCloFormer-ECA, while demonstrating superior resilience against noise interference, necessitated longer periods for line selection. Consequently, upon consolidating these dual metrics, the proposed algorithm, MCECA-CloFormer, manifests a prominent advantage, excelling in both efficiency and noise robustness.

5.4. The Impact of Missing Data on Algorithm Performance

As described in Section 3.3, data from 10 ms before the fault to 20 ms after the fault is used for fault line selection. Considering that the zero-sequence current before the fault is approximately zero, in order to test the influence of data loss on the line selection accuracy, the zero-sequence current after the fault is introduced into the random data loss. Specifically, 300 samples were randomly selected from the NES test set. For each corresponding fault event, two lines were randomly selected, and the missing data event was imposed on the zero-sequence current data sampled from these two lines. The experimental outcomes are presented in Table 9.
In Table 9, the data missing rate is calculated as the number of missing sample points after the fault occurrence divided by the total number of sample points after the fault occurrence. From the table above, it can be concluded that the algorithm proposed in this paper exhibits a certain tolerance to situations involving missing data.

5.5. Analysis and Testing of Actual Waveform Recordings

To further illustrate the feasibility of the method proposed in this paper, actual waveform data collected on-site were used to test the algorithm. Figure 11 shows a simplified topology diagram of the actual 10 kV distribution network test site, where the fault occurred in line L1. Figure 12 displays the zero-sequence current waveform exported from the waveform viewing software (CAAP2008X) and the fault image generated using the MAF-MDF method.
From Figure 12, it is evident that the zero-sequence current signals acquired from actual measurement points contained noise, with varying levels of intensity across different lines. In particular, the signals collected by the measuring device from line L3 exhibited notably prominent noise. However, after the application of moving average denoising to both healthy and faulty feeder signals, the resulting MDF images still displayed significant differences. There was a high degree of similarity observed between MDF images of healthy feeders. Testing shows that the pre-trained MCECA-CloFormer model can accurately select fault lines.

5.6. Discussion

The discussion on the methodology of this paper could be divided into two main parts: data preprocessing and model applicability.
In terms of data preprocessing, the imaging method based on MAF-MDF avoids the process of subjective parameter selection, such as the wavelet packet function in wavelet transform [2] and the number of decomposition layers of VMD [5]. It only requires setting the filter window size of MAF according to the sampling frequency, offering certain end-to-end advantages.
In terms of model applicability, the training data and test data used in this paper were collected from distribution networks with different working conditions and different line parameters, which better simulate data distribution changes in actual distribution networks. Compared to methods where both the training set and the test set are taken from the same distribution network simulation model [1,15], the proposed method demonstrates more generalization ability. Meanwhile, compared to the transfer learning method [19], the proposed method does not require target distribution network samples, which has been verified by NES test set, NUS test set, and actual wave recording data.

6. Conclusions and Future Work

The proposed methods, including the MAF-MDF-based image generation approach and the MCECA-CloFormer model capable of processing information from multiple measurement points, address the challenge of identifying difficult fault lines in low-current grounding systems due to the subtle characteristics of single-phase ground faults. After denoising the zero-sequence current data through moving average filtering and subsequently transforming it into images using MDF, noticeable color differences between the faulted and healthy feeder fault images were observed. Furthermore, high similarity among images of healthy feeders was also revealed. The fault line selection model was adapted to receive and process fault data collected from measurement devices on each feeder of the distribution network through the enhancement of the ECA module to the MCECA module.
To address the challenge of deep learning methods requiring a large volume of samples, a strategy was proposed that entailed obtaining data from simulation models to train the line selection model and employing pre-trained models for actual line selection tasks. The testing results on both simulated and actual recorded data demonstrated that the pre-trained MCECA-CloFormer model was insensitive to fault resistance, fault location, initial fault angle, missing data, line parameters, and length variations, rendering it applicable across NES, NUS, and ADN.
In comparison to various deep learning models, MCECA-CloFormer demonstrates a high level of noise immunity and accomplishes fault line selection in a shorter time frame, indicating substantial practical significance for its application.
Future work could involve studying how to localize single-phase ground faults based on line selection. Specifically, it is necessary to first collect a large amount of literature on distribution network localization to study the distribution pattern of zero-sequence current, then construct a localization dataset combined with actual distribution network scenarios, propose a localization method that does not require or only requires a small number of target distribution network samples, and finally conduct a large number of tests and comparative experiments on the proposed localization method.

Author Contributions

Conceptualization, P.M. and C.D.; methodology, P.M. and C.D.; software, P.M.; validation, P.M. and C.J.; investigation, P.M. and F.W.; resources, C.D.; writing—original draft preparation, P.M.; writing—review and editing, P.M. and C.D.; visualization, P.M.; supervision, P.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the corresponding author on request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Hao, S.; Zhang, X.; Ma, R.; Wen, H.; Ma, X.; An, B.; Li, J. Fault Line Selection Method for Small Current Grounding System Based on Improved GoogLeNet. Power Syst. Technol. 2022, 46, 361–368. [Google Scholar] [CrossRef]
  2. Wei, X.; Yang, D. An Adaptive Fault Line Selection Method Based on Wavelet Packet Comprehensive Singular Value for Small Current Grounding System. In Proceedings of the 2015 5th International Conference on Electric Utility Deregulation and Restructuring and Power Technologies (DRPT), Changsha, China, 26–29 November 2015; IEEE: New York, NY, USA; pp. 1110–1114. [Google Scholar]
  3. Hao, Q.; Tianyou, L. High Impedance Fault Line Selection Method for Resonant Grounding System Based on Wavelet Packet Analysis. In Proceedings of the 2018 China International Conference on Electricity Distribution (CICED), Tianjin, China, 17–19 September 2018; IEEE: New York, NY, USA; pp. 1174–1179. [Google Scholar]
  4. Song, J.; Li, Y.; Zhang, Y. Faulty Line Detection Method Based on Improved Hilbert-Huang Transform for Resonant Grounding Systems. Int. Trans. Electr. Energ. Syst. 2021, 31, e12760. [Google Scholar] [CrossRef]
  5. Cao, W.; Li, C.; Li, Z.; Wang, S.; Pang, H. Research on Low-Resistance Grounding Fault Line Selection Based on VMD with PE and K-Means Clustering Algorithm. Math. Probl. Eng. 2022, 2022, 5360302. [Google Scholar] [CrossRef]
  6. Chen, B.; Sun, Y.; Song, X.; Wang, B. Regionalized Fault Line in Distribution Networks Based on an Improved SSA-VMD and Multi-Scale Fuzzy Entropy. Electr. Eng. 2023, 105, 4399–4408. [Google Scholar] [CrossRef]
  7. Gong, J. Wavelet Packet Coefficient of Transient First Half Wave Line Selection Method for Single-Phase Grounding Fault. IOP Conf. Ser. Earth Environ. Sci. 2022, 983, 012012. [Google Scholar] [CrossRef]
  8. Hou, S.; Guo, W. Optimal Denoising and Feature Extraction Methods Using Modified CEEMD Combined with Duffing System and Their Applications in Fault Line Selection of Non-Solid-Earthed Network. Symmetry 2020, 12, 536. [Google Scholar] [CrossRef]
  9. Li, J.; Yan, J.; Huang, L. Research on Fault Line Selection Algorithm for Economic Operation of Power Grids Based on Improved Variational Modal Decomposition. In Proceedings of the 2023 International Conference on Advances in Electrical Engineering and Computer Applications (AEECA), Dalian, China, 18 August 2023; IEEE: New York, NY, USA; pp. 6–11. [Google Scholar]
  10. Li, Z.; Li, W.; Peng, W.; Lei, L.; Liang, L. Single-phase-to-ground Fault Line Selection Method of Distribution Network Based on IHHT-RF. J. Electr. Power Sci. Technol. 2024, 39, 171–182. [Google Scholar] [CrossRef]
  11. Liu, Y.; Liu, X.; Fan, S.; Ma, X.; Deng, S. Single-Phase-to-Ground Fault Line Selection Method Based on STOA-SVM. J. Phys. Conf. Ser. 2021, 2095, 012029. [Google Scholar] [CrossRef]
  12. Wang, F.; Zhang, Z.; Wu, K.; Jian, D.; Chen, Q.; Zhang, C.; Dong, Y.; He, X.; Dong, L. Artificial Intelligence Techniques for Ground Fault Line Selection in Power Systems: State-of-the-Art and Research Challenges. Math. Biosci. Eng. 2023, 20, 14518–14549. [Google Scholar] [CrossRef]
  13. Guo, M.-F.; Gao, J.-H.; Shao, X.; Chen, D.-Y. Location of Single-Line-to-Ground Fault Using 1-D Convolutional Neural Network and Waveform Concatenation in Resonant Grounding Distribution Systems. IEEE Trans. Instrum. Meas. 2021, 70, 1–9. [Google Scholar] [CrossRef]
  14. Wang, N. Fault Line Selection of Power Distribution System via Improved Bee Colony Algorithm Based Deep Neural Network. Energy Rep. 2022, 8, 43–53. [Google Scholar] [CrossRef]
  15. Cheng, X.-R.; Cui, B.-J.; Hou, S.-Z. Fault Line Selection of Distribution Network Based on Modified CEEMDAN and GoogLeNet Neural Network. IEEE Sens. J. 2022, 22, 13346–13364. [Google Scholar] [CrossRef]
  16. Anbarasi, A.; Nithyasree, K.C. Nithyasree COVID-19 Detection in CT Images Using Deep Transfer Learning. Int. Trans. Electr. Eng. Comput. Sci. 2022, 1, 1–7. [Google Scholar] [CrossRef]
  17. Mahmoud, K.A.A.; Badr, M.M.; Elmalhy, N.A.; Hamdy, R.A.; Ahmed, S.; Mordi, A.A. Transfer Learning by Fine-Tuning Pre-Trained Convolutional Neural Network Architectures for Switchgear Fault Detection Using Thermal Imaging. Alex. Eng. J. 2024, 103, 327–342. [Google Scholar] [CrossRef]
  18. Hu, J.; Chen, M.; Tang, H.; Zhang, J. An Adversarial Transfer Learning Method Based on Domain Distribution Prediction for Aero-Engine Fault Diagnosis. Eng. Appl. Artif. Intell. 2024, 133, 108287. [Google Scholar] [CrossRef]
  19. Liu, C.; Wang, X.; Shang, B.; Luo, G.; Liu, Z. Fault Line Selection for Active Distribution Network Based on Domain Adaptive Transfer Learning. High Volt. Eng. 2024, 50, 3050–3059. [Google Scholar] [CrossRef]
  20. Su, X.; Wei, H. A Fault-Line Selection Method for Small-Current Grounded System Based on Deep Transfer Learning. Energies 2022, 15, 3467. [Google Scholar] [CrossRef]
  21. Guo, L.; Qu, X.; Wang, X.; Wang, Y.; Tian, Y.; Zhang, F. A Novel Fault Feeder Selection Method for Resonant Grounding Distribution Networks Based on Improved Hough Transform. Electric Power. 2024, 57, 132–142. [Google Scholar]
  22. Zhang, Y.; Gan, F.; Chen, X. Motif Difference Field: An Effective Image-Based Time Series Classification and Applications in Machine Malfunction Detection. In Proceedings of the 2020 IEEE 4th Conference on Energy Internet and Energy System Integration (EI2), Wuhan, China, 30 October 2020; IEEE: New York, NY, USA; pp. 3079–3083. [Google Scholar]
  23. Wang, Q.; Wu, B.; Zhu, P.; Li, P.; Zuo, W.; Hu, Q. ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networks. In Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 13–19 June 2020; IEEE: New York, NY, USA; pp. 11531–11539. [Google Scholar]
  24. Fan, Q.; Huang, H.; Guan, J.; He, R. Rethinking Local Perception in Lightweight Vision Transformer. arXiv 2023, arXiv:2303.17803. [Google Scholar]
  25. Gautam, S. Brahma Detection of High Impedance Fault in Power Distribution Systems Using Mathematical Morphology. IEEE Trans. Power Syst. 2013, 28, 1226–1234. [Google Scholar] [CrossRef]
  26. Jiang, W.; Wu, Z.; Li, W.; She, Y.; Hu, Y. Control Strategy of Suppressing Negative Sequence Current of Grid-Connected Inverter Base on Asymmetric Grid. Trans. China Electrotech. Soc. 2015, 30, 77–84. [Google Scholar] [CrossRef]
Figure 1. Simplified zero-sequence equivalent network of a resonant grounding system.
Figure 1. Simplified zero-sequence equivalent network of a resonant grounding system.
Applsci 14 08270 g001
Figure 2. Schematic diagram of MDF transformation principle.
Figure 2. Schematic diagram of MDF transformation principle.
Applsci 14 08270 g002
Figure 3. Comparison of MDF images of feeders when single-phase ground fault occurs.
Figure 3. Comparison of MDF images of feeders when single-phase ground fault occurs.
Applsci 14 08270 g003
Figure 4. ECA module structure.
Figure 4. ECA module structure.
Applsci 14 08270 g004
Figure 5. CloFormer structure diagram.
Figure 5. CloFormer structure diagram.
Applsci 14 08270 g005
Figure 6. Fault line selection model based on MCECA-CloFormer.
Figure 6. Fault line selection model based on MCECA-CloFormer.
Applsci 14 08270 g006
Figure 7. Simulation models of 10 kV distribution system.
Figure 7. Simulation models of 10 kV distribution system.
Applsci 14 08270 g007
Figure 8. Emanuel model.
Figure 8. Emanuel model.
Applsci 14 08270 g008
Figure 9. Visualization results.
Figure 9. Visualization results.
Applsci 14 08270 g009
Figure 10. Structure diagram of models. (a) MCloFormer-ECA. (b) MCNN-CloFormer.
Figure 10. Structure diagram of models. (a) MCloFormer-ECA. (b) MCNN-CloFormer.
Applsci 14 08270 g010
Figure 11. Topology of actual 10 kV distribution network test site.
Figure 11. Topology of actual 10 kV distribution network test site.
Applsci 14 08270 g011
Figure 12. MDF images of actual fault data.
Figure 12. MDF images of actual fault data.
Applsci 14 08270 g012
Table 1. Parameters for each algorithm component.
Table 1. Parameters for each algorithm component.
AlgorithmParameters
MAFWindow width = 19
MDFn = 3
ECAγ = 2; b =1
CloFormerChannels: [32, 64, 128, 256]; Heads: [4, 4, 8, 16]; Kernel Size: [3, 5, 7, 9]
Table 2. Line parameters for Model 1.
Table 2. Line parameters for Model 1.
TypeSequenceResistance/(Ω/km)Inductance/(mH/km)Capacitance/(μF/km)
Linepositive0.12730.93370.0127
zero0.38644.12640.0078
Cablepositive0.26500.25500.1700
zero2.54001.10190.1530
Table 3. Line parameters for Model 2.
Table 3. Line parameters for Model 2.
TypeSequenceResistance/(Ω/km)Inductance/(mH/km)Capacitance/(μF/km)
Linepositive0.17001.01700.1150
zero0.32003.56000.0060
Cablepositive0.27000.25500.3760
zero2.70001.10900.2760
Table 4. Scenario settings for simulation training set.
Table 4. Scenario settings for simulation training set.
TypeParameter
faulty lineL1, L2, L3, L4
fault location10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%
fault ground resistance0.1 Ω, 1 Ω, 10 Ω, 100 Ω, 1000 Ω, 3000 Ω, 5000 Ω, Emanuel
initial fault phase angle0°, 30°, 60°, 90°, 120°, 150°, 180°
Table 5. Parameters for Emanuel model.
Table 5. Parameters for Emanuel model.
ModelUp/kVUn/kVRpRn
HIF 123350350
HIF 21.31.6450450
HIF 32.43.4650650
Table 6. Test scenario settings.
Table 6. Test scenario settings.
TypeFaulty LineFault
Location
Fault Ground
Resistance
Initial Fault
Phase Angle
Test Content
parameterL1, L2,
L3, L4
15%, 35%, 75%10 ΩEffect of fault location
50%2 Ω, 200 Ω, 4000 ΩEffect of fault ground resistance
50%10 Ω20°, 45°, 160°Effect of Initial fault phase angle
Table 7. Results of line selection accuracy under different noise intensities.
Table 7. Results of line selection accuracy under different noise intensities.
ModelSNR = 40 dBSNR = 30 dBSNR = 20 dBSNR = 10 dB
MCECA-CloFormer100%100%100%99.33%
MCloFormer-ECA100%100%99.67%98.33%
MCNN-CloFormer99.00%99.00%99.00%98.33%
MCECA-MobileNetV298.00%97.67%98.00%96.33%
MCECA-ECANet100%100%100%99.01%
Table 8. Comparison of single fault line selection time of different models.
Table 8. Comparison of single fault line selection time of different models.
ModelTime
MCECA-CloFormer0.0420 s
MCloFormer-ECA0.1290 s
MCNN-CloFormer0.0350 s
MCECA-MobileNetV20.0220 s
MCECA-ECANet0.1800 s
Table 9. Data missing test results.
Table 9. Data missing test results.
Data Missing RateAccuracy
5%99.67%
10%100%
20%99.00%
30%94.68%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Ding, C.; Ma, P.; Jiang, C.; Wang, F. Fast Fault Line Selection Technology of Distribution Network Based on MCECA-CloFormer. Appl. Sci. 2024, 14, 8270. https://doi.org/10.3390/app14188270

AMA Style

Ding C, Ma P, Jiang C, Wang F. Fast Fault Line Selection Technology of Distribution Network Based on MCECA-CloFormer. Applied Sciences. 2024; 14(18):8270. https://doi.org/10.3390/app14188270

Chicago/Turabian Style

Ding, Can, Pengcheng Ma, Changhua Jiang, and Fei Wang. 2024. "Fast Fault Line Selection Technology of Distribution Network Based on MCECA-CloFormer" Applied Sciences 14, no. 18: 8270. https://doi.org/10.3390/app14188270

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop