Next Article in Journal
Advancements in Fatigue Detection: Integrating fNIRS and Non-Voluntary Attention Brain Function Experiments
Previous Article in Journal
Hammerstein–Wiener Motion Artifact Correction for Functional Near-Infrared Spectroscopy: A Novel Inertial Measurement Unit-Based Technique
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Pattern Recognition of Partial Discharge Faults in Switchgear Using a Back Propagation Neural Network Optimized by an Improved Mantis Search Algorithm

College of Electrical Engineering, Zhejiang University, Hangzhou 310027, China
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(10), 3174; https://doi.org/10.3390/s24103174
Submission received: 21 March 2024 / Revised: 14 May 2024 / Accepted: 15 May 2024 / Published: 16 May 2024
(This article belongs to the Section Sensor Networks)

Abstract

:
The dependable functioning of switchgear is essential to maintain the stability of power supply systems. Partial discharge (PD) is a critical phenomenon affecting the insulation of switchgear, potentially leading to equipment failure and accidents. PDs are generally grouped into metal particle discharge, suspended discharge, and creeping discharge. Different types of PDs are closely related to the severity of a PD. Partial discharge pattern recognition (PDPR) plays a vital role in the early detection of insulation defects. In this regard, a Back Propagation Neural Network (BPNN) for PDPR in switchgear is proposed in this paper. To eliminate the sensitivity to initial values of BPNN parameters and to enhance the generalized ability of the proposed BPRN, an improved Mantis Search Algorithm (MSA) is proposed to optimize the BPNN. The improved MSA employs some boundary handling strategies and adaptive parameters to enhance the algorithm’s efficiency in optimizing the network parameters of BPNN. Principal Component Analysis (PCA) is introduced to reduce the dimensionality of the feature space to achieve significant time saving in comparable recognition accuracy. The initially extracted 14 feature values are reduced to 7, reducing the BPNN parameter count from 183 with 14 features to 113 with 7 features. Finally, numerical results are presented and compared with Decision Tree (DT), k-Nearest Neighbor classifiers (KNN), and Support Vector Machine (SVM). The proposed method in this paper exhibits the highest recognition accuracy in metal particle discharge and suspended discharge.

1. Introduction

Switchgear is an essential infrastructure in urban power distribution networks. Consequently, the reliability of a power supply is directly related to that of a switchgear. However, a switchgear faces various issues, such as contamination effects, weak insulations, inadequate creepages and air clearances, insufficient manufacturing and assembly qualities, inadequate contact capacities, or poor contacts, in design, manufacturing, installation, and maintenance, resulting in a higher accident rate. Condition-based maintenance is a promising technical means to improve the reliability of power supply equipment. However, due to the large number of high-voltage switchgears and the low equipment cost of a switchgear as compared to the high cost of a monitoring device, it is infeasible to use an online detection approach such as high-voltage transformers for a switchgear to achieve comprehensive and real-time online monitoring.
The dielectrics or insulator in a switchgear is exposed to an electric field in operation. Once the electric field strength in a certain area exceeds the breakdown threshold of the material, discharging will occur in that area in question. Nevertheless, this discharging will not penetrate the entire insulation system between two conductors under the applied voltage. This phenomenon is called the partial discharge (PD). PD can lead to a degradation of the insulation and the vicious cycle of defects in the power equipment; in severe cases, it can even cause insulation accidents. Therefore, PD detection is essential in preventing sudden insulation damage accidents of a power equipment. The partial discharge faults in a switchgear are generally grouped into metal particle discharge, suspended discharge, and creeping discharge. Different types of PD are closely related to the severity of a PD. The partial discharge pattern recognition (PDPR) is thus used to accurately identify and categorize the PD events based on their unique patterns. The output information of PDPR is valuable for condition monitoring and the maintenance of the electrical equipment, as it allows for the early detection of insulation defects and the implementation of appropriate corrective actions to prevent equipment failure and ensure the reliability and safety of the power electrical system. Consequently, the PDPR is of great significance to the reliable operation of a switchgear.
The PDPRs are typically based on the signal characteristics generated in PD events, which can be classified into two major categories: chemical signals and physical signals. Chemical signals are mainly various gas derivatives produced in PD [1,2,3,4]. Muhamad et al., employed the random forest (RF) algorithm to conduct the pattern recognition of a gas insulated switchgear (GIS) using 12 by-product gases, and the performance of RF confirmed the feasibility of eight algorithms [3]. Rao et al., proposed a feature selection and ensemble learning based methodology to diagnose a transformer fault based on dissolved gas analysis data, and the proposed methodology achieved a 100% accuracy in recognizing fault types of the IEC TC 10 database [4]. Physical signals typically encompass heat, electromagnetic, and acoustic signals detected in PDs. Polužanski et al., investigated the influence of the power transformer oil-temperature on the accuracy for PD locations [5]. Lu et al., proposed a defect recognition method for GIS PD based on YOLOv5 and ultra-high frequency (UHF) sensor-detected electromagnetic signals. [6]. He et al., utilized a combination of acoustic and electrical signals for GIS PD localization [7].
In view of the detected PD electrical or transformed electrical signals, the characteristics, such as the amplitude, the frequency, the duration, and the waveform shape, are first analyzed to extract the relevant features, and the relevant features are then used to trained classifiers to recognize and classify the types of PD patterns of a PD. These classifiers can be based on machine learning algorithms like artificial neural networks (ANNs) [8,9], Support Vector Machines (SVM) [10,11], fuzzy logic control [12], or random forest (RF) [13]. The design of the classifier is a crucial part of PDPR. Zhu used an ANN identification method to identify UHF PD patterns in electrical equipment [8]. Li et al., used the least squares SVM (LS-SVM) to analyze the PD development stages of a converter transformer based on the PD statistical characteristics of the phase-resolved partial discharge spectrogram, equivalent time-frequency spectrogram, and discharge pulse waveform [11]. To address the issue of insufficient partial discharge data and the low generalization capability caused by the imbalanced data in field conditions, Zhu et al., proposed an improved WGAN-GP model that generates data samples of different classes conditionally while ensuring the training process stability [14]. This model was used for enhancing PD data in power equipment and detecting PD signals. Xi et al., introduced an attention mechanism (AM) into the PDPR model to improve the recognition accuracy and the computational complexity by emphasizing its effective characteristics and combining the past and future information [15]. They proposed an intelligent partial discharge detection model based on the Bi-directional Long Short-Term Memory (AM-Bi-LSTM) network for identifying partial discharge faults in Insulated Overhead Conductors (IOC)s. Rizzi et al., used a genetic algorithm to extract key features and selected neuro-fuzzy classifiers for PDPR of cable partial discharge [16]. Feng et al., started from the phase resolved partial discharge spectrogram, extracted the moment features and gray level co-occurrence matrix features of the spectrogram, and used a SVM to classify the combined 7-dimensional features [17]. Hao et al., used a logistic pattern tree that combines decision trees and logistic regressions to identify partial discharges in switchgears [18]. Jing et al., applied K-Means clustering for pattern recognition of detected partial discharge signals in oil-paper insulated cables based on polar coordinate spectra, even in the absence of phase information [19]. Lv et al., utilized a particle swarm optimization algorithm to optimize a multiple kernel learning relevance vector machine model for GIS discharge pattern recognitions [20]. Yao et al., extracted features from the PD spectrogram using a three-parameter Weibull model and employed the Grey Wolf Optimization algorithm for fast and accurate determinations of the Weibull model parameters [21]. The obtained model effectively represents the characteristics of the PD occurrence and discharge magnitude distribution spectrogram. Wei et al., used a simulated annealing algorithm and an ant colony algorithm to optimize four different classifiers: decision tree, RF, gradient boosting and SVM, and performed pattern recognitions on ultrasonic inspection data of oil-paper insulations [22]. The results show that the classifier optimized by intelligent algorithms can further improve the recognition accuracy. Li et al., utilized a SVM model based on the differential evolution adaptive bacterial foraging optimization (DEABFO) algorithm to fulfill the GIS PD diagnosis [23]. Phase-resolved pulse sequence signals were used to extract Zernike moment features, and the results proved the effectiveness of the proposed method in PD pattern recognition applications.
Furthermore, methods based on Convolutional Neural Network (CNN) have demonstrated their advantages in the identifications of PD. Sun et al., proposed a CNN based classifier for high-speed electric multiple units [24]. The results demonstrated that the proposed classifier outperformed the two existing NN-based classifiers in accurately identifying signals from four defect types. Jing et al., proposed an improved Generative Adversarial Network (GAN) with an auxiliary classifier to address the challenges of small and unbalanced sample pattern recognition in gas insulated switchgear PD [25]. Aldosari et al., combined the LSTM networks and the CNN to detect the PD patterns, demonstrating that the integrated CNN-LSTM network outperformed standalone CNN or LSTM networks [26]. Yin et al., developed a model to identify the statistical parameters of PD using the Hausdorff-like distances [27]. They also employed an enhanced CNN for PD pattern recognition, then employed the Dempster-Shafer (D–S) evidence theory to merge the outcomes of the two pattern recognition methods, thereby enhancing the accuracy of PD pattern recognition. However, owing to the intricate nature of image processing and the substantial convolution operations and parameters involved, CNNs often entail a higher parameter count and require more computational resources compared to traditional machine learning methods.
A Back Propagation Neural Network (BPNN) is a multi-layer feedforward network with a strong nonlinear approximation capability. Existing researches have demonstrated the effectiveness of BPNN in PDPR [13,28]. Since PD has obvious randomness, and the degree of a discharge is closely related to factors such as the location where the discharge occurs, the local field strength of the discharge, and the applied time instant of a voltage, an identification method oriented to random features should be used, that is, extracting statistical parameter features from PDs. The signal feature quantity determines the appropriate feature space for the PDPR system and provides a good foundation for a classifier design. However, the existing BPNN classification method for PDPR has a certain degree of subjectivity in the selection of feature parameters. It usually relies on an expert experience, has serious information losses, and lacks a certain degree of generalizations, resulting in a low recognition rate [28]. In addition, some studies usually use human trial and error experiments in the selection of statistical feature quantities. However, this requires a large amount of calculations and cannot guarantee that all possibilities are traversed. Moreover, the back propagation (BP) neural network is sensitive to the initial values of network parameters, and the algorithm requires a long training time and is prone to falling into a local minimum [29]. Nevertheless, it is demonstrated that an optimized classifier by an intelligent optimization algorithm will significantly improve its classification performances [10].
In this regard, this article proposes an improved Mantis Search Algorithm (MSA) [30] to optimize BPNN to deal with the shortcomings of the BPNN being sensitive to the initial values of network parameters and uses the optimized BPNN for PDPR in a switchgear. The PDPR procedure is as follows: firstly, the ultrasonic detection approach is used to obtain partial discharge spectrograms under different patterns; then, statistical feature parameters are extracted from the phase resolved partial discharge (PRPD) spectrograms obtained from the ultrasonic detection; next, Principal Component Analysis (PCA) is used to reduce the dimensionality of the statistical feature parameters. The processed features are then input into the BPNN for learning, with four-fifths of the data used as training data and one-fifth as validation and testing data. The improved MSA algorithm is used to optimize the initial values of the neural network parameters. Finally, the trained BPNN, optimized by the improved MSA, is used for the recognition of partial discharge patterns. The contribution of this paper not only addresses a specific limitation of the BPNN, but also offers a novel approach to improving the performance and robustness of neural network optimization, thereby potentially enhancing the applicability of BPNN in various domains.
The rest of the paper is structured as follows. Section 2 presents the acquisition of initial PD signal data, the extraction of statistical features from the initial signals, and the PCA of the extracted features. Section 3 reviews the MSA algorithm and describes the improvements introduced in this paper. Section 4 employs the proposed improved MSA algorithm for PDPR and discusses the recognition results with other different methods. Section 5 concludes the work of this paper.

2. Experimental Data Acquisition and Statistical Feature Extraction

2.1. Switchgear Partial Discharge Data Acquisition

This paper developed a PD defect simulation test device for the switchgear. The components of the prototype include busbars, a circuit breaker, a current transformer, a voltage transformer, an arrester, and an insulator. The test voltage is obtained from the non-partial discharge booster transformer. A high-precision PD detector is used to detect the apparent discharge of partial discharge under simulated defects. The PD spectrogram and amplitude of partial discharge ultrasonic detection signals under simulated defects are obtained by using an ultrasonic sensor. The structure of the test device is shown in Figure 1. In Figure 1, the resistance-capacitance voltage dividing device is composed of coupling capacitance and measuring impedance, and the high-precision PD detector constitutes the PD pulse current test circuit. The ultrasonic sensor installed on the top gap of the switchgear has the function of testing ultrasonic wave spectrogram. The schematic diagrams of three types of PD occurring prototypes are shown in Figure 2. The metal particle discharge occurring prototype is composed of a copper ball electrode and a metal tip. The suspended discharge occurring prototype involves the use of an insulating sheet to secure a metal component between two copper ball electrodes. the surface discharge occurring prototype is achieved by placing an insulating sheet between the two copper ball electrodes.

2.2. Extraction of Statistical Features

Before extracting statistical features, the measured PD signal data need to be analyzed. In this regard, the PRPD spectrogram, describing the correspondence between the charge magnitude q and the phase φ (0°~360°), denoted by H ( q , φ ) , of a discharge, is used. In the following description, H q max ( φ ) and H q mean ( φ ) are, respectively, the maximum magnitude, and the averaged magnitude of the charges in phase φ , for a series discharging tests. The voltage pulse magnitude is used for the discharge charge magnitude in ultrasonic detections since the latter cannot be calibrated directly.
In this paper, the data of discharging for a total of 50 power frequency cycles at every 5° degree, called a phase window, obtained by an ultrasonic detection are used. The recorded PRPD spectrogram distributions of metal particle discharge, suspended discharge, and creeping discharge signals are shown in Figure 3.
From Figure 3, it can be observed that the PRPD spectrograms exhibit significant differences in shapes and magnitudes for different types of partial discharge patterns. The data obtained directly from images or waveforms are quite extensive, making it challenging to perform a direct PDPR. Therefore, it is necessary to extract features from the raw data. Currently, the existing statistical features used to describe PRPD spectrograms primarily include the skewness, the kurtosis, the local peak count [31], which describe the shape differences in the spectrogram, as well as the cross-correlation coefficient, which describes the differences in the positive and negative half-cycle profiles of the spectrogram [32].
Skewness, S k , reflects the left and right skewness of the spectrogram shape relative to the normal distribution, and it is determined from the following:
S k = i = 1 W ( x i μ ) 3 p i Δ x σ 3
where W is the number of phase windows in a half cycle; x i is the phase median of the ith phase window; Δ x is the width of the phase window; y i is the discharge charge magnitude; p i is the discharge probability, defined by p i = y i / i = 1 W y i ; μ and σ are the mean and the standard deviation when the PRPD spectrogram is regarded as a probability density distribution, defined by μ = i = 1 W ( x i p i ) and σ 2 = i = 1 W [ ( x i μ ) 2 p i ] , respectively.
From Equation (1), it is obvious that, the final statistical parameters for skewness include the positive half−cycle skewness S k max + of H u max ( φ ) , the negative half-cycle skewness S k max of H u max ( φ ) , the positive half-cycle skewness S k m e a n + of H u mean ( φ ) , and the negative half-cycle skewness S k m e a n of H u mean ( φ ) . Moreover, S k = 0 means that the spectrogram shape is symmetrical; S k > 0 means that the spectrogram shape is skewed to the left relative to the normal distribution shape; S k < 0 means that the spectrogram shape is skewed to the right.
Kurtosis, K u , describes the degree of the prominence of the shape distribution compared to the shape of a normal distribution, and is calculated by using the following:
K u = i = 1 W [ ( x i μ ) 4 p i Δ x ] σ 4 3
Therefore, the final statistical kurtosis statistical parameters include the positive half-cycle kurtosis K u max + of H u max ( φ ) , the negative half-cycle kurtosis K u max of H u max ( φ ) , the positive half-cycle kurtosis K u m e a n + of H u mean ( φ ) , and the negative half-cycle kurtosis K u m e a n of H u mean ( φ ) . Moreover, K u = 0 indicates that the spectrogram profile is a standard normal distribution; K u > 0 indicates that the spectrogram profile is sharper and steeper than the normal distribution profile, and K u < 0 indicates that the spectrogram profile is flatter than the normal distribution profile.
The local peak, P e , is the number of local peaks of a spectrogram. The point ( φ i , y i ) is a local peak point if the following condition is valid at point ( φ i , y i ) :
d y i 1 d φ i 1 > 0   &   d y i + 1 d φ i + 1 < 0 y i y i 1 φ i φ i 1 > 0   &   y i + 1 y i φ i + 1 φ i < 0
Therefore, the final statistical parameter of the local peak is the summation of the number of the local peak points P e max + in the positive half cycle of H u max ( φ ) , the number of the local peak points P e max in the negative half cycle of H u max ( φ ) , the number of local peak points P e m e a n + in the positive half cycle of H u mean ( φ ) , and the number of local peak points P e m e a n in the negative half cycle of H u mean ( φ ) .
The cross-correlation coefficient, c c , represents the similarity of the shape between the positive and the negative half-cycles of a spectrogram. c c value close to 1 means that the profiles of the positive and negative half cycles of the spectrogram are similar in identity, and c c close to 0 indicates a significant difference in the contour of the spectrogram. c c is given by the following:
c c = i = 1 W ( y i + y i ) i = 1 W y i + i = 1 W y i W i = 1 W ( y i + ) 2 ( i = 1 W y i + ) 2 W i = 1 W ( y i ) 2 ( i = 1 W y i ) 2 W
where y i + and y i are the discharge voltage pulse values within the positive and negative half-cycle phase windows i , respectively. Therefore, the final statistical cross-correlation coefficient statistical parameters include the cross-correlation coefficient c c max of H u max ( φ ) and the cross-correlation coefficient c c m e a n of H u mean ( φ ) .
Using H u max ( φ ) , H u mean ( φ ) , a total of 14 statistical parameters, x 1 x 14 , for the 3600 measured data of discharging are extracted and tabulated in Table 1. To eliminate the influence of different units of the measurement for various statistical parameters, all statistical parameters are subjected to a standardization.

2.3. Principal Component Analysis

If the extracted 14 statistical feature parameters are directly used as the input data of the neural network for PDPR, the dimensionality is extremely large, which is not conducive to network training. Moreover, the structure of the BPNN will be extremely complicated if too many statistical features are used, resulting in a more difficult and time-consuming training process. On the other hand, different statistical parameters may carry overlapping statistical information, and there may be certain correlations between the variables. The existing approach to dress this issue is to select a combination of different features based on an expert experience or artificial selection based on the minimum error rate of the classifier. However, such an approach cannot quickly, accurately, and comprehensively reflect the internal relationship of the statistical parameters. To address the deficiency of the existing approaches, this paper uses PCA on the 14 statistical feature parameters to extract fewer comprehensive indicators to represent various types of information existing in each variable.
PCA is used for analyzing a multivariate statistical distribution of data to reduce the dimensionality of the data. The main idea of PCA is to map the original n dimensional features space onto a new k dimensional orthogonal feature space. The k new dimensions are also known as the principal components of the n dimensional ones. The PCA algorithm is implemented based on an eigenvalue decomposition covariance matrix by sequentially finding a set of mutually orthogonal coordinate axes from the original space. The first new coordinate axis is selected to be the direction with the largest variance in the original data, and the second new coordinate axis is selected to be the plane that is orthogonal to the first coordinate axis, and the third one is the plane that is orthogonal to the 1st and 2nd axes. By repeating this procedure, one can get k coordinate axes. Moreover, most of the variance is contained in the first k coordinate axis, and the variance contained in the subsequent coordinate axes is almost 0. Therefore, one can ignore the remaining coordinate axes and only keep the first k coordinate axis that contain the vast majority of the variance. In fact, this is equivalent to preserving the dimensions of the features that contain the majority of the variance and disregarding the dimensions with almost zero variance, achieving a dimensionality reduction in the data features [33].
The aforementioned PCA is performed on the 14 extracted statistical feature parameters of the three different PD patterns. The sample sizes for metal particle discharge, suspended discharge, and creeping discharge are 485, 397, and 61, respectively. The number of principal components is determined based on the number of the principal components corresponding to eigenvalues that achieved a cumulative contribution rate of 95%. To give an intuitive image of the relationship between the original features and their principal components, the principal coefficients, as defined in [33], for the suspended discharge of this case are given in Table 2, a 95% cumulative contribution rate of eigenvalues resulting in six principal components, z1, z2, z3, z4, z5, and z6.
It can be seen from Table 2 that for the statistical parameter x 3 , only the principal components z 2 and z 5 have positive correlations with it; for the statistical parameter x 10 , the principal components z 1 , z 3 , z 4 , z 5 and z 6 have positive correlations with it, and at the same time, z 1 , z 3 , and z 5 all show strong positive correlations with it. After a comprehensive analysis of the 14 statistical parameters, 3 variables have a positive correlation with at least 4 principal components and at least 3 strong positive correlations, which are as follows: x 4 , x 10 , x 11 . In the same way, variables with a strong positive correlation with the principal components in other PD patterns are obtained, as shown in Table 3.
Based on the above analysis, it can be concluded that for the 14 statistical variables, the seven statistical parameters selected that can better characterize the three PD patterns are: x 1 , x 3 , x 4 , x 9 , x 10 , x 11 , x 12 . The statistical parameters obtained by the above Principal Component Analysis can effectively characterize different types of single PD patterns, which will be used as the input data of the BPNN for training.

3. Mantis Search Algorithm and Its Improvements

3.1. Mantis Search Algorithm

The MSA is a global optimization algorithm inspired by the natural behavior of praying mantises. Praying mantises are capable of capturing prey through camouflage or confrontation. They use camouflage to approach their prey closely and then launch a sudden attack using their highly modified forelegs. When searching for food, mantises can detect prey, evade it, and use their forelegs for targeted attacks. Additionally, in the mantis species, females sometimes cannibalize males in the mating process. Inspired by the unique hunting behavior and cannibalistic nature of mantises, the MSA consists of four phases: initialization, searching for prey (exploration), attacking prey (exploitation), and sexual cannibalism. Equations and definitions for updating the mantis positions in each phase are listed in Table 4. Detailed explanations can be found in [30]. The MSA boasts several advantages: it is easy to implement, preserves the population diversity in optimization, demonstrates a high ability to escape local optima, possesses a strong exploitation operator for solving unimodal functions, and effectively balances between exploration and exploitation searches. The algorithm’s performance is rigorously evaluated across fifty-two optimization problems and three real-world applications, including five engineering design problems, as well as parameter estimation problems related to photovoltaic modules and fuel cells [30]. These tests demonstrate the algorithm’s versatility and adaptability across diverse scenarios.
The main parameters of the MSA include the maximum number of iterations, T; the population size, N; the probability of an attack failure, a ; the probability of exchange between the exploration and the exploitation phases, p ; the probability for the determining sexual phase, P c ; etc. Compared to other heuristic algorithms, MSA is simple to implement and has a sufficient population diversity and a strong global searching ability. However, in practical applications, MSA requires an accurate and deliberate adjustment of the control parameters to maximize its performance. Nevertheless, some parameters, such as parameters p and P c , are kept fixed in the existing algorithms. Furthermore, it is found that the position updating in the MSA algorithm can easily leap out of the search space. To solve this issue, a re-initialization mechanism, that is, to generate a new position through Equation (5) to replace the position that leapt out of the search space after updating, is introduced in the MSA of [30]. However, this will result in a high computational cost and a low search efficiency. In response to the above problems, this paper proposes some improvements to the MSA in parameter tuning and out-of-bounds updating control.

3.2. Improvements on Mantis Search Algorithm

As mentioned above, to address the deficiencies of using fixed control parameters and a lack of search focus in the evolution process of the MSA, this paper proposes adaptive handling mechanisms of the probability p for exchanging between exploration and exploitation phases and the probability P c for determining whether to enter the sexual cannibalism phase. Furthermore, to address the point of easily leaping out of the search space in each step of the original MSA, this paper applies a boundary handling approach to the positions exceeding the feasible space.

3.2.1. Adaptive Updating of Algorithm Parameters

In the MSA, the probability parameter p is used to balance the exploration and the exploitation searches. At the early stage of evolution, p should be large enough to guarantee the diversity of the algorithm while at the late stage of evolution, p should be small enough to bias exploitation searches to speed up the convergence of the algorithm. In this point of view, parameter p is proposed to be adaptively updated by using the following:
p = 1 + e 10 t T 2
where t is the generation index of evolution. Obviously, at the early stage of evolution, p is set to be 1, which is conducive to exploration; at the late stage of evolution p is set to be 0.5 to ensure that the exploration and the exploitation searches have the same probability.
In nature, a mantis will become sexually mature incrementally. In line with this natural law, the probability parameter P c should also increase incrementally. In this regard, the probability P c of entering the sexual cannibalism phase is adaptively updated by using the following:
P c = P c 0 1 + e 10 t T
where P c 0 is a coefficient determined by users. This paper sets it to be 0.2 as in the original MSA. Obviously, this probability during the early stage of evolution is approximately 0.16, while it approaches 0.3 during the later stage. The smaller probability in the early stage aligns with the fact that the mantis population is becoming mature, and the mating probability between male and female mantises is increasing, which is more in line with natural laws.
The adaptive updating curves of p and P c are shown in Figure 4 under T being 100.

3.2.2. Out-of-Bounds Control

Since the existing strategies of updating the mantises’ position based on hunting behaviors and sexual cannibalism characteristics are prone to escape the search space during the optimization, the improved MSA proposes some boundary handling techniques to the position updating for Equations (6)–(13) of Table 4, replacing the original ones used in MSA. By ensuring that the position updating remains within the feasible space while retaining the original movement information, the algorithm’s optimization efficiency is significantly enhanced.
To ease the boundary handling control explanation, one firstly quantitatively analyses the variation rang of the position variable in the equation in question. Taking Equation (6) as an example, for the jth variable of the ith mantis x i , when r 1 r 2 , its value is between [ 3 x j l 2 x j u ,   3 x j u 2 x j l ] ; when r 1 > r 2 , its value is between [ 2 x j l x j u , 2 x j u x j l ] , where r 1 and r 2 are two random numbers between [0, 1], x j l is the lower bound of the value of the jth variable x j , x j u is the upper bound of the value of x j . From the above analysis, Equation (6) will easily jump out of its value range, [ x j l , x j u ] , after mantis position updating. Therefore, after the position updating by using Equation (6), one first determines whether the updated position, x i t + 1 , are out of bounds. For the case that the updated jth variable jumps out of the feasible space, one then combines it with its variation range using Equation (16), that is, normalizes the variables using the current variation range into the interval [ x j l , x j u ] , and the obtained x i t + 1 is the new position of the mantis. Moreover,
x i , j t + 1 = { x j l + x i , j t + 1 + 2 x j u 3 x j l 5 x j u 5 x j l , r 1 r 2 x j l + x i , j t + 1 + x j u 2 x j l 3 x j u 3 x j l , Otherwise  
The (position) variable variation ranges of Equations (6)–(13) are shown in Table 5. When a mantis position jumps out of the search space, it is processed according to these ranges, [ x j min , x j max ] , of its equation, so that it is forced to return to the feasible space, as shown in Equation (17), where x j min is the minimum value of the variable in the equation in question, and x j max is the maximum value of the variable in the equation in question.
x i , j t + 1 = x j l + x i , j t + 1 x j min x j max x j min

3.2.3. Flowchart of Improved Mantis Search Algorithm

To facilitate the implementation of the improved MSA, its flowchart is shown in Figure 5.

4. PDPR of Switchgear Based on Improved Mantis Search Algorithm—Back Propagation Neural Network

4.1. PDPR Process and Parameter Settings

As explained previously, a BPNN is a multi-layer feedforward network with strong nonlinear approximation capabilities. Existing research has demonstrated the effectiveness of BPNNs in PDPR [13,28]. However, the BPNN classification method exhibits some subjectivity in feature selections, often relying on expert experience, resulting in a significant information loss and a lack of generalization, leading to low recognition rates [28]. To address these deficiencies, this paper employs PCA to reduce the dimensionality of the features of the discharge data obtained from ultrasonic detections. The processed features are then input into BPNN for learning, enabling the recognition of partial discharge patterns. Additionally, the BPNN is sensitive to the choice of initial values of network parameters, and the algorithm requires a long training time and is prone to getting stuck in local minima [29]. To overcome the drawback of BPNN potentially converging to local optima, this paper utilizes the improved MSA to conduct a global search for the initial parameters of BPNN. The complete PDPR process is shown in Figure 6.
The node number of the input layer of the BP neural network is equal to the number of statistical feature parameters, and the output layer has three neurons representing three types of discharge patterns [8], i.e., [1 0 0] represents metal particle discharge, [0 1 0] represents suspended discharge, and [0 0 1] represents creeping discharge. Initially, the number of neurons in the hidden layer is initially fixed at 10 according to [34], and experiments are conducted using a data set with 14 statistical features. The number of neurons varies from 5 to 15, and the recognition accuracy is shown in Figure 7. From Figure 7, it can be observed that within the range of experimental neuron numbers, the recognition accuracy does not exhibit a linear proportional relationship with the number of neurons. Specifically, the validation accuracy peaks with 15 neurons, whereas the test accuracy achieves its peak with 10 and 13 neurons. Furthermore, as the number of neurons increases, the computational load of the network inevitably rises. Considering both accuracy and computational load, the number of neurons in the hidden layer of this study is set at 10.
Ultrasonic testing is used for measurements, where four-fifths of each discharge mode’s data are used for training and one-fifth for testing. In the study, there are 388 training data sets and 97 testing data sets for metal particle discharge, 318 training data sets and 79 testing data sets for suspended discharge, 49 training data sets, and 12 testing data sets for creeping discharge.
The objective function is to minimize the root mean square error (RMSE) of the BPNN:
min   f o b j e c t i v e = i = 1 I ( y o u t y t e s t ) 2 I
where y o u t is the measurement output, y t e s t is the neural network output, I is the number of data sets.

4.2. Experimental Results

The optimized results of BPNN parameters using different approaches, including using MSA optimization algorithm and using the proposed improved MSA optimization algorithm, are compared. To further compare the effectiveness of the selected seven features by PCA, the study also compared the training of the BPNN model for partial discharge pattern recognition using the original 14 features. The experiments were conducted using MATLAB R2022b on a system equipped with an AMD Ryzen 7 4800H processor featuring Radeon Graphics operating at 2.90 GHz, coupled with 16.0 GB of RAM. The algorithm parameters for MSA and the improved MSA algorithm are shown in Table 6, and the obtained results are shown in Figure 8. From Figure 8, it can be observed that after 100 iterations of optimizations, the BPNN optimized using the improved MSA gives smaller errors in both the 7 extracted statistical feature parameters and 14 statistical feature parameters. Furthermore, the improved MSA algorithm exhibits a faster convergence and a higher efficiency as compared to the original MSA in optimizing the BPNN.
In the final determination of partial discharge types, the maximum output value will be set to 1, and the other values will be set to 0, corresponding to the three discharge modes. The accuracies of the training data and testing data using different classifiers are shown in Table 7. To demonstrate the efficiency of PCA, the results of testing the training data and testing data using different classifiers trained by all 14 extracted statistical feature parameters are shown in Table 8.
In the PDPR results of the BPNN trained with seven features, both for training and testing data, the recognition accuracy of the BPNN optimized by the improved MSA is higher than that of the BPNN optimized by the original MSA. The same conclusion is drawn from the PDPR results of the BPNN trained with 14 features, as shown in Table 8. Comparing the BPNN training using 7 and 14 features, the accuracy using 14 features is higher on the training data; however, on the testing data set, the recognition efficiency of the two is comparable. Taking the example of using the improved MSA-BPNN, the recognition accuracy for metal particle discharge using 7 features is 92.59%, which is lower than the corresponding model using 14 features. However, the model trained with 7 features for suspended discharge recognition is 64.39%, higher than the 62.88% achieved with 14 features. For surface discharge, both have an equal accuracy of 90% in testing data. Furthermore, when using 7 features, the BPNN has 113 network parameters, while using 14 features, the BPNN has 183 network parameters. From the runtime data in Table 7 and Table 8, it is evident that using a comprehensive but minimal number of features can reduce runtime while ensuring the accuracy of PDPRs.
To assess the merits of the proposed method, this paper also compares the pattern recognition accuracy rates of Decision Tree (DT) [35], k-Nearest Neighbor classifiers (KNN) [36], and Support Vector Machine (SVM) [37,38]. Experiments using fine DT, fine KNN, and cubic SVM are conducted on the Classification Learner App in MATLAB R2022b. The test accuracy results using 7 features and 14 features are shown in Figure 9 and Figure 10, respectively.
From Figure 9 and Figure 10, it is evident that the Improved MSA-BPNN proposed in this paper exhibits the highest overall recognition accuracy. Compared to using the 7 features after PCA, the recognition accuracy using the original 14 features is slightly higher. Specifically, in the case of the suspended discharge with 7 features, the recognition accuracies for Improved MSA-BPNN, MSA-BPNN, DT, KNN, and SVM are 64.39%, 62.88%, 48.1%, 51.9%, and 50.6%, respectively, while with 14 features, the recognition accuracies are 62.88%, 57.58%, 53.2%, 53.2%, and 54.4%. Moreover, the SVM achieves 100% recognition accuracy for creeping discharge when utilizing 7 features. However, with 14 features, the recognition accuracy decreases to 75%. This decline can be attributed in part to the relatively low number of samples associated with creeping discharge, which is the least represented among the three types of discharges. Moreover, this outcome underscores the effectiveness of PCA in reducing the number of features while still maintaining effective recognition accuracy.
It should be pointed out that, the most damage to low- and medium-voltage switchboards comes from the overloads, and the temperature control itself allows us to predict a possible failure in advance. Nevertheless, in this paper, we have focused on using ultrasonic signals to identify types of partial discharge faults in a switchgear. The presented algorithm is still valid if one can abstract the features of the local over heat and use these features as the input of the subsequent procedure of the proposed algorithm.

5. Conclusions

The reliable operation of the switchgear is crucial to the reliability of the power supply of the power system. From this point of view, it is of great significance to perform PDPR on the switchgear. BPNNs are widely used for PDPR. However, the BPNN has its inherent limitations and shortcomings, such as requiring a long training time and converging to local minimums, etc., making it incompetent in engineering applications.
This paper uses PCA to reduce the dimensionality of statistical feature parameters obtained from PRPD spectrograms. It extracts the main features as the inputs of the BPNN for training to recognize the partial discharge patterns. To address the high sensitivity of BPNNs to the initial values of the network parameters, this paper adopts an improved MSA to conduct global searches for the parameters of the BPNN and determine the initial values of the BPNN, thereby reducing the training time and overcoming the drawback of potentially converging to local optima in BPNN. The improved MSA handles boundary conditions in each step of the search when the position is moved out of the search space. By retaining the original movement information, the search is forced back into the feasible space, greatly improving the solution efficiency of the algorithm. Experimental results show that compared to the MSA, the BPNN optimized by the improved MSA has smaller errors. Compared to the utilization of 14 feature parameters, the application of seven features derived through PCA achieves a commensurate recognition accuracy in PDPRs, evidently resulting in time savings. The results of the algorithm are also compared with three commonly used algorithms, DT, KNN, and SVM, in PDPRs. The recognition accuracy results demonstrate the effectiveness of the algorithm proposed in this paper.
In engineering applications, the presented algorithm can be used in a system to monitor if a distribution device has experienced a partial discharge fault and to identify the types of a partial discharge fault (if yes) from the measured ultrasonic signals.
In this study, the primary emphasis is on signals obtained by ultrasonic detection methods, without conducting an experimental analysis of signals acquired from other types of sensors. Our future endeavors will involve applying the algorithm developed in this study to recognize partial discharge patterns using different types of signals to augment the precision of pattern recognitions.

Author Contributions

Conceptualization, Z.F. and S.Y.; methodology, Z.F. and S.Y.; software, Z.F. and Y.L.; validation, Y.L.; formal analysis, Y.L.; investigation, Z.F. and S.Y.; resources, Z.F.; data curation, Z.F.; writing—original draft preparation, Z.F. and Y.L.; writing—review and editing, Z.F., Y.L. and S.Y.; visualization, Z.F. and Y.L.; supervision, S.Y.; project administration, Z.F. and S.Y.; All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.

Acknowledgments

We would like to express our heartfelt gratitude to all those who have contributed to this research project.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Cao, W.; Gui, Y.; Chen, T.; Xu, L.; Ding, Z. Adsorption and Gas-Sensing Properties of Pt2–GaNNTs for SF6 Decomposition Products. Appl. Surf. Sci. 2020, 524, 146570. [Google Scholar] [CrossRef]
  2. Liu, H.; Chen, W.; Zhang, Z.; Wu, K.; Tang, Z. Comparison of Gas-Sensitive Properties of Au, Ag and Cu Metal-Doped GaNNT for SF6 Decomposition Gases. Appl. Surf. Sci. 2023, 620, 156811. [Google Scholar] [CrossRef]
  3. Muhamad, N.A.; Visa Musa, I.; Abdul Malek, Z.; Salah Mahdi, A. Classification of Partial Discharge Fault Sources on SF₆ Insulated Switchgear Based on Twelve By-Product Gases Random Forest Pattern Recognition. IEEE Access 2020, 8, 212659–212674. [Google Scholar] [CrossRef]
  4. Rao, S.; Zou, G.; Yang, S.; Barmada, S. A Feature Selection and Ensemble Learning Based Methodology for Transformer Fault Diagnosis. Appl. Soft Comput. 2024, 150, 111072. [Google Scholar] [CrossRef]
  5. Polužanski, V.; Kartalović, N.; Nikolić, B. Impact of Power Transformer Oil-Temperature on the Measurement Uncertainty of All-Acoustic Non-Iterative Partial Discharge Location. Materials 2021, 14, 1385. [Google Scholar] [CrossRef] [PubMed]
  6. Lu, Y.; Qiu, Z.; Liao, C.; Zhou, Z.; Li, T.; Wu, Z. A GIS Partial Discharge Defect Identification Method Based on YOLOv5. Appl. Sci. 2022, 12, 8360. [Google Scholar] [CrossRef]
  7. He, R.; Yan, J.; Zhao, D.; Lu, L.; Geng, Y. Gas-Insulated Switchgear Partial Discharge Acoustic–Electric Joint Localisation Method Based on the Salp Swarm Algorithm and Least Squares Estimation. Measurement 2024, 225, 114020. [Google Scholar] [CrossRef]
  8. Zhu, R. Research on pattern recognition of Ultra-High Frequency partial discharge in electrical equipment based on artificial neural network. Chin. J. Electron. Devices 2023, 46, 831–835. [Google Scholar]
  9. Mas’ud, A.A.; Stewart, B.G.; McMeekin, S.G. An Investigative Study into the Sensitivity of Different Partial Discharge φ-q-n Pattern Resolution Sizes on Statistical Neural Network Pattern Classification. Measurement 2016, 92, 497–507. [Google Scholar] [CrossRef]
  10. Zhou, Y.; Liu, Y.; Wang, N.; Han, X.; Li, J. Partial Discharge Ultrasonic Signals Pattern Recognition in Transformer Using BSO-SVM Based on Microfiber Coupler Sensor. Measurement 2022, 201, 111737. [Google Scholar] [CrossRef]
  11. Li, S.; Si, W.; Li, Q. Partition and Recognition of Partial Discharge Development Stages in Oil-Pressboard Insulation with Needle-Plate Electrodes under Combined AC-DC Voltage Stress. IEEE Trans. Dielectr. Electr. Insul. 2017, 24, 1781–1793. [Google Scholar] [CrossRef]
  12. Abdel-Galil, T.K.; Sharkawy, R.M.; Salama, M.M.A.; Bartnikas, R. Partial Discharge Pattern Classification Using the Fuzzy Decision Tree Approach. IEEE Trans. Instrum. Meas. 2005, 54, 2258–2263. [Google Scholar] [CrossRef]
  13. Cheng, Y.; Zhang, Z. Multi-source Partial Discharge Diagnosis of Transformer Based on Random Forest. Proc. CSEE 2018, 38, 5246–5256+5322. [Google Scholar] [CrossRef]
  14. Zhu, G.; Zhou, K.; Lu, L.; Fu, Y.; Liu, Z.; Yang, X. Partial Discharge Data Augmentation Based on Improved Wasserstein Generative Adversarial Network With Gradient Penalty. IEEE Trans. Ind. Inform. 2023, 19, 6565–6575. [Google Scholar] [CrossRef]
  15. Xi, Y.; Zhou, F.; Zhang, W. Partial Discharge Detection and Recognition in Insulated Overhead Conductor Based on Bi-LSTM with Attention Mechanism. Electronics 2023, 12, 2373. [Google Scholar] [CrossRef]
  16. Rizzi, A.; Frattale Mascioli, F.M.; Baldini, F.; Mazzetti, C.; Bartnikas, R. Genetic Optimization of a PD Diagnostic System for Cable Accessories. IEEE Trans. Power Deliv. 2009, 24, 1728–1738. [Google Scholar] [CrossRef]
  17. Feng, Q.; Shao, Z.; Yu, Z. Partial discharge pattern recognition of multiple defects in gas insulated switchgear based on PRPD spectrum. Electr. Appl. 2023, 42, 48–54. [Google Scholar]
  18. Hao, Y.; Xu, L.; Yin, Y.; Chen, Z.; Zheng, W.; Huang, C. Recognition of Partial Discharge Pattern in Switchgear Based on Logistic Model Tree. High Volt. Appar. 2014, 50, 80–85. [Google Scholar] [CrossRef]
  19. Jing, X.; Peng, X.; Jiang, W.; Zhou, W.; Zhou, C.; Tang, Z. Phase resolved partial discharge pattern recognition method for online cable condition monitoring system based on K-Means clustering. High Volt. Eng. 2012, 38, 2437–2446. [Google Scholar]
  20. Lv, F.; Jin, H.; Wang, Z.; Zhang, B. GIS Partial Discharge Detection and Recognition Based on the Kernel Combination and Multiple Feature Fusion Method. Trans. China Electrotech. Soc. 2014, 29, 334–340. [Google Scholar]
  21. Yao, W.; Si, W.; Fu, C.; Yan, N.; Wang, X.; Zhou, X.; Wu, X.; Zhou, J.; Li, Q. Feature Extraction of PD Spectrum Based on Three⁃parameter Weibull Model. High Volt. Appar. 2021, 57, 184–190. [Google Scholar] [CrossRef]
  22. Woon, W.L.; El-Hag, A.; Harbaji, M. Machine Learning Techniques for Robust Classification of Partial Discharges in Oil–Paper Insulation Systems. IET Sci. Meas. Technol. 2016, 10, 221–227. [Google Scholar] [CrossRef]
  23. Li, Z.; Qian, Y.; Wang, H.; Zhou, X.; Sheng, G.; Jiang, X. Partial Discharge Fault Diagnosis Based on Zernike Moment and Improved Bacterial Foraging Optimization Algorithm. Electr. Power Syst. Res. 2022, 207, 107854. [Google Scholar] [CrossRef]
  24. Sun, C.; Wu, G.; Pan, G.; Zhang, T.; Li, J.; Jiao, S.; Liu, Y.-C.; Chen, K.; Liu, K.; Xin, D.; et al. Convolutional Neural Network-Based Pattern Recognition of Partial Discharge in High-Speed Electric-Multiple-Unit Cable Termination. Sensors 2024, 24, 2660. [Google Scholar] [CrossRef] [PubMed]
  25. Jing, Q.; Yan, J.; Wang, Y.; Ye, X.; Wang, J.; Geng, Y. A Novel Method for Small and Unbalanced Sample Pattern Recognition of Gas Insulated Switchgear Partial Discharge Using an Auxiliary Classifier Generative Adversarial Network. High Volt. 2023, 8, 368–379. [Google Scholar] [CrossRef]
  26. Aldosari, O.; Aldowsari, M.A.; Batiyah, S.M.; Kanagaraj, N. Image-Based Partial Discharge Identification in High Voltage Cables Using Hybrid Deep Network. IEEE Access 2023, 11, 50325–50333. [Google Scholar] [CrossRef]
  27. Yin, K.; Wang, Y.; Liu, S.; Li, P.; Xue, Y.; Li, B.; Dai, K. GIS Partial Discharge Pattern Recognition Based on Multi-Feature Information Fusion of PRPD Image. Symmetry 2022, 14, 2464. [Google Scholar] [CrossRef]
  28. Basharan, V.; Maria Siluvairaj, W.I.; Ramasamy Velayutham, M. Recognition of Multiple Partial Discharge Patterns by Multi-class Support Vector Machine Using Fractal Image Processing Technique. IET Sci. Meas. Technol. 2018, 12, 1031–1038. [Google Scholar] [CrossRef]
  29. Xi, Y.; Yu, L.; Chen, B.; Chen, G.; Chen, Y. Research on Pattern Recognition Method of Transformer Partial Discharge Based on Artificial Neural Network. Secur. Commun. Netw. 2022, 2022, e5154649. [Google Scholar] [CrossRef]
  30. Abdel-Basset, M.; Mohamed, R.; Zidan, M.; Jameel, M.; Abouhawwash, M. Mantis Search Algorithm: A Novel Bio-Inspired Algorithm for Global Optimization and Engineering Design Problems. Comput. Methods Appl. Mech. Eng. 2023, 415, 116200. [Google Scholar] [CrossRef]
  31. Candela, R.; Mirelli, G.; Schifani, R. PD Recognition by Means of Statistical and Fractal Parameters and a Neural Network. IEEE Trans. Dielect. Electr. Insul. 2000, 7, 87–94. [Google Scholar] [CrossRef]
  32. Li, J.; Sun, C.; Wang, Y.; Yang, J.; Du, J.; Yang, L. PD Pattern Recognition Using Combined Features. In Proceedings of the Conference Record of the 2004 IEEE International Symposium on Electrical Insulation, Indianapolis, IN, USA, 19–22 September 2004; pp. 139–142. [Google Scholar]
  33. Liu, T.; Xue, Y.; Zhao, X.; Zou, L.; Meng, Y.; Cheng, Y.; Zhang, Y.; Li, R. Principal Component Analysis for Statistical Param-eters of Phase Resolved Partial Discharge Spectra of Single Partial Discharge Pattern in Power Transformers. South. Power Syst. Technol. 2014, 8, 33–37. [Google Scholar] [CrossRef]
  34. Shen, H.; Wang, Z.; Gao, C.; Qin, J.; Yao, F.; Xu, W. Determining the number of BP neural network hidden layer units. J. Tianjin Univ. Sci. Technol. 2008, 24, 13–15. [Google Scholar] [CrossRef]
  35. Tang, J.; Liu, F.; Meng, Q.; Zhang, X.; Tao, J. Partial Discharge Recognition through an Analysis of SF6 Decomposition Products Part 2: Feature Extraction and Decision Tree-Based Pattern Recognition. IEEE Trans. Dielect. Electr. Insul. 2012, 19, 37–44. [Google Scholar] [CrossRef]
  36. Harbaji, M.M.O.; Zahed, A.H.; Habboub, S.A.; AlMajidi, M.A.; Assaf, M.J.; El-Hag, A.H.; Qaddoumi, N.N. Design of Hilbert Fractal Antenna for Partial Discharge Classification in Oil-Paper Insulated System. IEEE Sens. J. 2017, 17, 1037–1045. [Google Scholar] [CrossRef]
  37. Jain, U.; Nathani, K.; Ruban, N.; Joseph Raj, A.N.; Zhuang, Z.; Mahesh, V.G. Cubic SVM Classifier Based Feature Extraction and Emotion Detection from Speech Signals. In Proceedings of the 2018 International Conference on Sensor Networks and Signal Processing (SNSP), Xi’an, China, 28–31 October 2018; pp. 386–391. [Google Scholar]
  38. Wang, G.; Yang, F.; Peng, X.; Wu, Y.; Liu, T.; Li, Z. Partial Discharge Pattern Recognition of High Voltage Cables Based on the Stacked Denoising Autoencoder Method. In Proceedings of the 2018 International Conference on Power System Technology (POWERCON), Guangzhou, China, 6–9 November 2018; pp. 3778–3792. [Google Scholar]
Figure 1. The test device of partial discharge detection for switchgear.
Figure 1. The test device of partial discharge detection for switchgear.
Sensors 24 03174 g001
Figure 2. Schematics of three types of PD occurring prototypes, (a) metal particle discharge, (b) suspended discharge, (c) creeping discharge.
Figure 2. Schematics of three types of PD occurring prototypes, (a) metal particle discharge, (b) suspended discharge, (c) creeping discharge.
Sensors 24 03174 g002
Figure 3. PRPD spectrogram of metal particle discharge, suspended discharge, and creeping discharge ultrasonic signals, (ac): Magnitude versus sampling instant, (df) Magnitude versus phase.
Figure 3. PRPD spectrogram of metal particle discharge, suspended discharge, and creeping discharge ultrasonic signals, (ac): Magnitude versus sampling instant, (df) Magnitude versus phase.
Sensors 24 03174 g003
Figure 4. Adaptive updating curves of (a) parameter p, (b) parameter Pc.
Figure 4. Adaptive updating curves of (a) parameter p, (b) parameter Pc.
Sensors 24 03174 g004
Figure 5. Improved MSA flowchart.
Figure 5. Improved MSA flowchart.
Sensors 24 03174 g005
Figure 6. PDPR process based on improved MSA-BPNN.
Figure 6. PDPR process based on improved MSA-BPNN.
Sensors 24 03174 g006
Figure 7. Recognition accuracy with different numbers of neurons in the hidden layer.
Figure 7. Recognition accuracy with different numbers of neurons in the hidden layer.
Sensors 24 03174 g007
Figure 8. Comparison of MSA and Improved MSA algorithms with (a) 7 feature parameters, (b) 14 feature parameters.
Figure 8. Comparison of MSA and Improved MSA algorithms with (a) 7 feature parameters, (b) 14 feature parameters.
Sensors 24 03174 g008
Figure 9. Comparison of test accuracy results of Improved MSA-BPNN, MSA-BPNN, DT, KNN, and SVM, using 7 statistical feature parameters.
Figure 9. Comparison of test accuracy results of Improved MSA-BPNN, MSA-BPNN, DT, KNN, and SVM, using 7 statistical feature parameters.
Sensors 24 03174 g009
Figure 10. Comparison of test accuracy results of Improved MSA-BPNN, MSA-BPNN, DT, KNN, and SVM, using 14 statistical feature parameters.
Figure 10. Comparison of test accuracy results of Improved MSA-BPNN, MSA-BPNN, DT, KNN, and SVM, using 14 statistical feature parameters.
Sensors 24 03174 g010
Table 1. Fourteen statistical parameters.
Table 1. Fourteen statistical parameters.
Statistical Parameters H u max ( φ ) H u mean ( φ )
++
S k x 1 ( S k max + ) x 2 ( S k max ) x 3 ( S k m e a n + ) x 4 ( S k m e a n )
K u x 5 ( K u max + ) x 6 ( K u max ) x 7 ( K u m e a n + ) x 8 ( K u m e a n )
P e x 9 ( P e max + ) x 10 ( P e max ) x 11 ( P e m e a n + ) x 12 ( P e m e a n )
c c x 13 ( c c max ) x 14 ( c c m e a n )
Table 2. Principal coefficients of statistical parameters of suspended discharge.
Table 2. Principal coefficients of statistical parameters of suspended discharge.
Statistical ParametersPrincipal Component Coefficients
z1z2z3z4z5z6
x1−0.0700.203−0.129−0.2040.0600.030
x20.126−0.3960.1590.349−0.100−0.396
x3−0.0800.173−0.118−0.1070.083−0.405
x40.170−0.2840.1160.146−0.1260.577
x5−0.0210.048−0.008−0.0350.0130.075
x6−0.1260.383−0.129−0.2710.0790.409
x7−0.0310.046−0.026−0.0320.025−0.104
x8−0.1410.221−0.080−0.1050.084−0.377
x90.1660.3630.872−0.180−0.202−0.067
x100.310−0.0560.1880.0240.9290.033
x110.4050.590−0.2020.663−0.0760.025
x120.787−0.093−0.265−0.494−0.198−0.116
x130.002−0.0080.0040.008−0.002−0.008
x140.004−0.0060.0040.004−0.0030.012
Table 3. Variables with strong positive correlation with principal components under different PD patterns.
Table 3. Variables with strong positive correlation with principal components under different PD patterns.
Detection ApproachPartial Discharge Mode
Metal Particle DischargeSuspended DischargeCreeping Discharge
Ultrasonic testing x 9 , x 12 x 4 , x 10 , x 11 x 1 , x 3 , x 11 , x 12
Table 4. Position updating equation of MSA.
Table 4. Position updating equation of MSA.
PhaseEquations ExplanationsNumber
Initialization x i t = x l + r * ( x u x l ) Generate initial positions of the population.(5)
Exploration x i t + 1 = { x i t + τ 1 * ( x i t x a t ) + | τ 2 | U * ( x a t x b t ) , r 1 r 2 x i t * U + ( x a t + r 3 * ( x b t x c t ) ) * ( 1 U ) ,   Otherwise   Mantises usually stay motionless on branches or in weeds, waiting for prey to approach an ambush distance before striking.(6)
x i t + 1 = { x i t + α ( x a r x a t ) , r 9 r 10 x a r + ( r 7 * 2 1 ) * μ * ( x l + r 8 × ( x u x l ) ) , Otherwise   Find prey without using camouflage.(7)
Exploitation x i , j t + 1 = ( x i , j t + x j * ) / 2.0 + v s d s i , j t Mantis uses the front legs to attack prey.(8)
x i , j t + 1 = x i , j t + r 12 ( x a , j t x b , j t ) If the mantis fails to attack, it needs to change direction before attacking again.(9)
x i , j t + 1 = x i , j t + e 2 l cos ( 2 l π ) | x i , j t x a r , j | + ( r 13 2 1 ) ( x j u x j l ) Failure of the mantis attack means that the mantis fell into the trap of the local optimal solution. Mantis should escape from the local optimal solution.(10)
Sexual
cannibalism
x i t + 1 = x i t + r 16 * ( x i t x a t ) Female mantises attract male mantises to their location by attracting them.(11)
x i t + 1 = x i t * U + ( x 11 t + r 18 * ( x 11 t + x i t ) ) * ( 1 U ) A male mate and a female to produce a new offspring.(12)
x i t + 1 = x a t cos ( 2 π l ) μ Female eats male.(13)
Table 5. Updated position range.
Table 5. Updated position range.
PhaseEquation NumberVariable Variation Ranges
Exploration(6) [ 3 x j l 2 x j u ,   3 x j u 2 x j l ] ,   r 1 r 2 [ 2 x j l x j u , 2 x j u x j l ] ,   Otherwise
(7) [ 2 x j l x j u ,   2 x j u x j l ] , r 9 r 10 [ x j l x j u ,   2 x j u ] ,   Otherwise  
Exploitation(8) [ - 1 2 x j l , 3 2 x j u ]
(9) [ 2 x j l x j u , 2 x j u x j l ]
(10) [ x j l + ( e 3 1 ) ( x j u x j l ) ,   x j u + ( e 2 + 1 ) ( x j u x j l ) ]
Sexual cannibalism(11) [ 2 x j l x j u ,   2 x j u x j l ]
(12) [ x j l ,   x j u ]
(13) [ - x j l ,   x j u ]
Table 6. MSA and improved MSA algorithm parameter settings.
Table 6. MSA and improved MSA algorithm parameter settings.
ParameterMSAImproved MSA
N 3030
T 100100
p 0.5 p = 1 + e 10 t T 2
a 0.50.5
P c 0.2 P c = P c 0 1 + e 10 t T
Table 7. PD pattern recognition accuracies using 7 statistical feature parameters.
Table 7. PD pattern recognition accuracies using 7 statistical feature parameters.
Classifier ModelDischarge PatternValidation
Accuracy
Test
Accuracy
Runtime
Improved MSA-BPNNmetal particle discharge91.33%92.59%427.4 s
suspended discharge89.81%64.39%
creeping discharge95.12%90.00%
MSA-BPNNmetal particle discharge90.09%90.74%379.6 s
suspended discharge89.06%62.88%
creeping discharge92.68%85.00%
Table 8. PD pattern recognition accuracies using 14 statistical feature parameters.
Table 8. PD pattern recognition accuracies using 14 statistical feature parameters.
Classifier ModelDischarge PatternValidation
Accuracy
Test
Accuracy
Runtime
Improved MSA-BPNNmetal particle discharge98.45%94.44%697.7 s
suspended discharge97.73%62.88%
creeping discharge100.0%90%
MSA-BPNNmetal particle discharge97.83%94.44%610.6 s
suspended discharge97.36%57.58%
creeping discharge100.0%85.00%
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

Fei, Z.; Li, Y.; Yang, S. Pattern Recognition of Partial Discharge Faults in Switchgear Using a Back Propagation Neural Network Optimized by an Improved Mantis Search Algorithm. Sensors 2024, 24, 3174. https://doi.org/10.3390/s24103174

AMA Style

Fei Z, Li Y, Yang S. Pattern Recognition of Partial Discharge Faults in Switchgear Using a Back Propagation Neural Network Optimized by an Improved Mantis Search Algorithm. Sensors. 2024; 24(10):3174. https://doi.org/10.3390/s24103174

Chicago/Turabian Style

Fei, Zhangjun, Yiying Li, and Shiyou Yang. 2024. "Pattern Recognition of Partial Discharge Faults in Switchgear Using a Back Propagation Neural Network Optimized by an Improved Mantis Search Algorithm" Sensors 24, no. 10: 3174. https://doi.org/10.3390/s24103174

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