# FoSSA Optimization-Based SVM Classifier for the Recognition of Partial Discharge Patterns in HV Cables

Authors: Kang Sun; Yuxuan Meng; Shuchun Dong
Journal: Computational Intelligence and Neuroscience
 (2022)

---

## Abstract

In order to enhance the classification accuracy and the generalization performance of the SVM classifier in cable partial discharge (PD) pattern recognition, a firefly optimized sparrow search algorithm (FoSSA) is proposed to optimize its kernel function parameters and penalty factors. First, the Circle-Gauss hybrid mapping model is employed in the population initialization stage of the sparrow search algorithm (SSA) to eliminate the uneven population distribution of random mapping. Sparrows tend to fall into local extremums during the search process, while the firefly algorithm has a fast optimization speed and strong local search ability. Thus, a firefly disturbance is added in the sparrow search process, and the fitness value is recalculated to update the sparrow position to enhance the sparrow’s local optimization ability and accuracy. Finally, based on the SSA, a dynamic step-size strategy is adopted to make the step size dynamically decrease with the number of iterations and improve the accuracy of convergence. Six benchmark functions are employed to evaluate the optimization performance of the FoSSA quantitatively. Experiment results show that the recognition accuracy of the PD patterns using the SVM optimized by the FoSSA could reach 97.5%.


---

## Body

## 1. Introduction

Power cable is the key infrastructure equipment for urban distribution networks and large-scale clean energy access, and its reliability is vital to the safe and stable operation of the power system [1]. The defects of insulation material, manufacturing process, and structural defects, coupled with the aging of insulation material caused by harsh electrical, thermal, and mechanical stresses environment, will result in a partial discharge (PD) and even dielectric breakdown, which lead to insulation failure [2]. Accurate and instant identification of the fault pattern by mining and analyzing operation fault records and all types of test data of the power cable can significantly improve the efficiency for the maintenance and overhaul of a cable system.Due to the low frequency of faults during operation, imperfect records of fault, and abnormal information, the size of fault samples is usually limited. Benefitting from the structural risk minimization (SRM) criteria and the kernel methods, support vector machines (SVMs) [3] have shown significant superiority to deal with the classification problems of few samples and nonlinear high-dimensional data. Thus, it has been widely applied in the fault pattern recognition of large-scale electrical equipment, such as cables, transformers, and power grids [4–7]. However, the classification performance of the SVM is highly dependent on the selection of kernel function parameters and penalty factors, so how to optimize the parameters is crucial for its further applications.For deterministic optimization algorithms, such as sequential minimal optimization (SMO) [8] and stochastic gradient descent (SGD) [9], if the objective function is discontinuous and nondifferentiable, their convergence speed is usually slow and they will easily fall into the local optimum. As a stochastic optimization method, the swarm intelligence optimization methods introduce a brand new path to solve global optimization problems by taking advantage of randomness. The particle swarm optimization (PSO) algorithm [10] and the ant colony optimization (ACO) algorithm [11] are the most representative of these.The PSO algorithm has few parameters and a fast convergence speed, but it tends to fall into local extremes due to premature convergence. This can be improved partly by introducing inertial weighting factors and taboo detection mechanisms. However, for complex high-dimensional problems, usually, it is impossible to guarantee convergence to the global optimum. The ACO algorithm uses the positive feedback mechanism of ant colony pheromones to strengthen the learning ability. Its heuristic probabilistic search mode makes it not easy to trap in the local optimum. However, the parameter settings are complicated and searching speed is slow; furthermore, the convergence property is pretty poor. In order to further strike a balance between the search range and the convergence accuracy in optimization algorithms, a series of bionic intelligent optimization algorithms, such as gray wolf optimization algorithm [12] (GWO), artificial bee colony algorithm [13] (ABC), and the bacterial foraging algorithm [14] (BFA), have been proposed in recent years. Sparrow search algorithm (SSA) [15] is a novel swarm intelligence optimization algorithm that is inspired by foraging and antipredation behaviors of sparrows. Testing results on unimodal and multimodal functions demonstrate its superiority over PSO, ACO, and GWO in terms of accuracy, convergence speed, stability, and robustness.This paper proposes a FoSSA-optimized SVM for the recognition of partial discharge patterns in HV cables. First, the feature vector is constructed based on the partial dischargeφ−q−n pattern. Second, in the standard SSA, the Circle-Gauss hybrid mapping model is introduced to initialize the population to improve the diversity. In the sparrow search process, the dynamic step strategy and the firefly interference strategy are introduced to make the sparrow escape from the local optimum and find the global optimal combination of support vector machine parameters. Finally, an optimized SVM classification framework is constructed for the partial discharge recognition in the HV power cables.


## 2. Problem Description

The basic principle of a nonlinear SVM is to map the input spacex to a feature space Φx through a nonlinear transformation which results in a hyperplane model in the feature space corresponding to the hypersurface model in the input space. The hyperplane in the feature space is divided as follows:(1)fx=ωΤΦx+b,where ω is the weighting vector and b is the threshold.For a given nonlinear separable data set, considering the existence of errorsξ, the optimization problem with the constraint conditions is as follows:(2)min12ω⟶Τω+c∑i=1lξi,st.yiω⟶ΤΦxi−b≥1−ξiξi>0.The optimization of equation (2) can be transformed into a dual problem by introducing the Lagrange factor, and the solution of equation (1) can be obtained as follows:(3)fx=∑i=1lαiκx,xi+b,where αi is the Lagrange factor, l is the number of support vectors, and κx,xi is the kernel function. A radial basis function (RBF) in equation (4) is generally adopted.(4)κx,xi=exp−gx−xi2.It can be seen from the derivation that the parameter selection ofc and g directly affects the classification performance of SVM. In the traditional SVM model, they are usually selected according to expert experience or k-fold cross verification. In the process of cable fault classification, the input data are diverse and complex. The parameter selection based on experience not only takes time but also brings some randomness to the calculation process. The K-fold cross-verification method is dependent on the parameter range; if this range is inappropriate, it is impossible to determine the optimal parameters.


## 3. Firefly Optimized Sparrow Search Algorithm (FoSSA)

### 3.1. SSA Principle

SSA is a novel swarm intelligence algorithm that has evolved from the foraging and antipredation behaviors of sparrows. The algorithm is simple and efficient, and it can achieve global convergence. According to the mathematical model of the algorithm, virtual sparrows are used for foraging behavior and the position of sparrows can be expressed as follows:(5)X=X1X2⋮Xn=x1,1x1,2⋯x1,dx2,1x2,2⋯x2,d⋮⋮⋮⋮xn,1xn,2⋯xn,d,where d is the dimension of the variable in the optimization question, n is the number of sparrows, and xi,j is the position of the i-th sparrow of the j-th dimension.The fitness value of all sparrows can be calculated as the following vector:(6)Fx=fx1,1,x1,2,...,x1,dfx2,1,x2,2,…,x2,d⋮fxn,1,xn,2,…,xn,d,where f represents the individual fitness value.A sparrow population can be divided into producer and scrounger according to the relative role of each sparrow. Producers are in charge of looking for food for the whole population; they provide foraging directions for the scroungers. Producers can obtain a larger foraging area than the scroungers. According to the foraging rules of sparrow population, the moving position of the producer is calculated as follows:(7)Xit+1=Xit⋅e−i/α.tmaxifVa<Vs,Xit+rd⋅UifVa≥Vs,where Xit is the position of the i-th sparrow in j-dimension space at iteration t, i∈1,2,…,n, t indicates the current iteration, tmax is the maximum iteration number, α∈0,1 is a random number, rd is a random number that obeys a normal distribution, U represents a unit matrix of 1×d, and Va∈0,1 and Vs∈0.5,1 are the alarm and safety value relative to the predators, respectively, and they determine the sparrow’s moving range.During the foraging process, the scroungers keep eyes on the producers. Once the producers find something better, they fight for it immediately. According to the rules, their moving position can be updated as follows:(8)Xit=rd⋅eXwstt−Xit/i2ifi>n/2,Xopt+1+Xi−Xopt+1⋅A+⋅Uothers,where Xop is the optimal location of the producers, Xwstt is the current global worst location, A is the matrix of 1×d with elements are all 1 or −1 randomly, and A+=AΤAAΤ−1.In the search process, some sparrows called guards will be aware of the danger from the predators, according to the antipredation rule, and the mathematical expression of their moving positions can be obtained as follows:(9)Xit+1=Xbstt+β.Xit−Xbsttiffi>fb,Xit+γ.Xit−Xwsttfi−fw+εiffi=fb,where Xbstt is the current global optimal value, β is a random parameter obeying standard normal distribution that constraints step size, γ∈−1,1 is a random number, fi is the fitness value of the current sparrow, fb and fw are the best and worst fitness value, and ε is a regulatory factor.


### 3.2. Initialization by Circle-Gauss Hybrid Mapping

The distribution of the initial population is important for SSA. A uniform and fully mapped initial distribution will effectively improve the convergence speed of the optimization process. Due to the lack of initialization strategy for uniform population distribution in SSA, simple random distribution cannot guarantee the breadth of the search range, and it is easy to produce “super sparrows” in the iterative process that cause other individuals to gather to them, resulting in a “premature” phenomenon and reducing the diversity of the population.In this study, a Circle-Gauss hybrid mapping model is introduced to initialize the SSA. By combining the advantage of the regularity and uniformity of Circle mapping and the randomness and ergodicity of Gauss mapping, the chaotic sequence can be transformed into the solution space of the SSA algorithm to replace the original population by Circle-Gauss hybrid mapping model. The Circle-Gauss hybrid mapping model not only avoids the overdensity of the population but also retains the diversity of the population to a large extent, which is the key factor for the global optimization of the SSA algorithm. The mathematical expression of the Circle-Gauss hybrid mapping model is as follows:(10)Mi+1=Mi+a−modb2πsin2πMi,1ifi=2k;1Mi−1Miifi=2k+1;,where Mi∈ℝ1×d is the mapping position of i-th sparrow, M=M1,M2,…,MnT∈ℝn×d is the mapping position of the whole population, n and d have the same meaning as in equation (5). a is 0.5, b is 2.2, and k=0,1,2.... mod() and [] represent modulation and rounding operation.Figure1 shows the 2D scatter diagram generated by the Circle-Gauss hybrid mapping model and the other two mappings in (0, 1). As shown in Figure 1, the Circle-Gauss hybrid mapping model combines the characteristics of both uniformity and randomness, improves the ergodicity and effectiveness of the initialization, and ensures the diversity of the population.Figure 1
Population initialization scatter plot of three methods. (a) Circle map. (b) Gauss map. (c) Circle-Gauss map.
(a)(b)(c)


### 3.3. Firefly Perturbation

Firefly perturbation is introduced in SSA here to improve its global convergence ability while the sparrow falls into the local extremum. In the two-dimensional solution space of SVM parameter combinationc,g, analogous to the idea of the firefly algorithm, each sparrow is initialized by the attractiveness of ρ0. During the disturbance process, the degree of attraction decreases with the increase of the spatial distance. When the sparrow traps in a local optimum, the perturbation will be introduced as follows:(1)
The spatial distancer between the sparrow position Xit and the optimal position Xbstt is calculated as follows:(11)r=dmbl−buXit−Xbstt.In the expression,bl and bu represent the lower and upper boundary, respectively, and dm is the space dimension.(2)
The attractiveness valueρ of each individual sparrow is calculated:(12)ρ=ρ0e−θr2.In the expression,ρ0 is the maximum attractiveness and θ is the attractiveness coefficient.(3)
The sparrow position with perturbationsXit′ can be obtained as follows:(13)Xit′=Xit+ρXit−Xbstt+τRd−0.5.Here, τ is the step-size factor and Rd∈ℝ1×d is a matrix with all elements obeying uniform distribution within 0,1.


### 3.4. Dynamic Step-Size Updating

In the SSA, the step-size control parameters are constant, which cannot make the SSA achieve a balance between the local optimization and the global optimization in the iterative process. It will affect the effect and speed of the optimization.In the initialization process, a longer step-size factor is adopted to enhance the algorithm’s global search capability. In the later process, a smaller step is adopted to enhance the local optimization capability. Therefore, in this study, a dynamic updating strategy of step size is adopted to make the step size decrease nonlinearly with the increase of iteration number for the guards in equation (9). The dynamic step size can be optimized as follows:(14)λt+1=imλtet/imλ0lnt+rd1−λ0,where λ0 is the initial step-size factor and im is the maximum iteration number.


## 3.1. SSA Principle

SSA is a novel swarm intelligence algorithm that has evolved from the foraging and antipredation behaviors of sparrows. The algorithm is simple and efficient, and it can achieve global convergence. According to the mathematical model of the algorithm, virtual sparrows are used for foraging behavior and the position of sparrows can be expressed as follows:(5)X=X1X2⋮Xn=x1,1x1,2⋯x1,dx2,1x2,2⋯x2,d⋮⋮⋮⋮xn,1xn,2⋯xn,d,where d is the dimension of the variable in the optimization question, n is the number of sparrows, and xi,j is the position of the i-th sparrow of the j-th dimension.The fitness value of all sparrows can be calculated as the following vector:(6)Fx=fx1,1,x1,2,...,x1,dfx2,1,x2,2,…,x2,d⋮fxn,1,xn,2,…,xn,d,where f represents the individual fitness value.A sparrow population can be divided into producer and scrounger according to the relative role of each sparrow. Producers are in charge of looking for food for the whole population; they provide foraging directions for the scroungers. Producers can obtain a larger foraging area than the scroungers. According to the foraging rules of sparrow population, the moving position of the producer is calculated as follows:(7)Xit+1=Xit⋅e−i/α.tmaxifVa<Vs,Xit+rd⋅UifVa≥Vs,where Xit is the position of the i-th sparrow in j-dimension space at iteration t, i∈1,2,…,n, t indicates the current iteration, tmax is the maximum iteration number, α∈0,1 is a random number, rd is a random number that obeys a normal distribution, U represents a unit matrix of 1×d, and Va∈0,1 and Vs∈0.5,1 are the alarm and safety value relative to the predators, respectively, and they determine the sparrow’s moving range.During the foraging process, the scroungers keep eyes on the producers. Once the producers find something better, they fight for it immediately. According to the rules, their moving position can be updated as follows:(8)Xit=rd⋅eXwstt−Xit/i2ifi>n/2,Xopt+1+Xi−Xopt+1⋅A+⋅Uothers,where Xop is the optimal location of the producers, Xwstt is the current global worst location, A is the matrix of 1×d with elements are all 1 or −1 randomly, and A+=AΤAAΤ−1.In the search process, some sparrows called guards will be aware of the danger from the predators, according to the antipredation rule, and the mathematical expression of their moving positions can be obtained as follows:(9)Xit+1=Xbstt+β.Xit−Xbsttiffi>fb,Xit+γ.Xit−Xwsttfi−fw+εiffi=fb,where Xbstt is the current global optimal value, β is a random parameter obeying standard normal distribution that constraints step size, γ∈−1,1 is a random number, fi is the fitness value of the current sparrow, fb and fw are the best and worst fitness value, and ε is a regulatory factor.


## 3.2. Initialization by Circle-Gauss Hybrid Mapping

The distribution of the initial population is important for SSA. A uniform and fully mapped initial distribution will effectively improve the convergence speed of the optimization process. Due to the lack of initialization strategy for uniform population distribution in SSA, simple random distribution cannot guarantee the breadth of the search range, and it is easy to produce “super sparrows” in the iterative process that cause other individuals to gather to them, resulting in a “premature” phenomenon and reducing the diversity of the population.In this study, a Circle-Gauss hybrid mapping model is introduced to initialize the SSA. By combining the advantage of the regularity and uniformity of Circle mapping and the randomness and ergodicity of Gauss mapping, the chaotic sequence can be transformed into the solution space of the SSA algorithm to replace the original population by Circle-Gauss hybrid mapping model. The Circle-Gauss hybrid mapping model not only avoids the overdensity of the population but also retains the diversity of the population to a large extent, which is the key factor for the global optimization of the SSA algorithm. The mathematical expression of the Circle-Gauss hybrid mapping model is as follows:(10)Mi+1=Mi+a−modb2πsin2πMi,1ifi=2k;1Mi−1Miifi=2k+1;,where Mi∈ℝ1×d is the mapping position of i-th sparrow, M=M1,M2,…,MnT∈ℝn×d is the mapping position of the whole population, n and d have the same meaning as in equation (5). a is 0.5, b is 2.2, and k=0,1,2.... mod() and [] represent modulation and rounding operation.Figure1 shows the 2D scatter diagram generated by the Circle-Gauss hybrid mapping model and the other two mappings in (0, 1). As shown in Figure 1, the Circle-Gauss hybrid mapping model combines the characteristics of both uniformity and randomness, improves the ergodicity and effectiveness of the initialization, and ensures the diversity of the population.Figure 1
Population initialization scatter plot of three methods. (a) Circle map. (b) Gauss map. (c) Circle-Gauss map.
(a)(b)(c)


## 3.3. Firefly Perturbation

Firefly perturbation is introduced in SSA here to improve its global convergence ability while the sparrow falls into the local extremum. In the two-dimensional solution space of SVM parameter combinationc,g, analogous to the idea of the firefly algorithm, each sparrow is initialized by the attractiveness of ρ0. During the disturbance process, the degree of attraction decreases with the increase of the spatial distance. When the sparrow traps in a local optimum, the perturbation will be introduced as follows:(1)
The spatial distancer between the sparrow position Xit and the optimal position Xbstt is calculated as follows:(11)r=dmbl−buXit−Xbstt.In the expression,bl and bu represent the lower and upper boundary, respectively, and dm is the space dimension.(2)
The attractiveness valueρ of each individual sparrow is calculated:(12)ρ=ρ0e−θr2.In the expression,ρ0 is the maximum attractiveness and θ is the attractiveness coefficient.(3)
The sparrow position with perturbationsXit′ can be obtained as follows:(13)Xit′=Xit+ρXit−Xbstt+τRd−0.5.Here, τ is the step-size factor and Rd∈ℝ1×d is a matrix with all elements obeying uniform distribution within 0,1.


## 3.4. Dynamic Step-Size Updating

In the SSA, the step-size control parameters are constant, which cannot make the SSA achieve a balance between the local optimization and the global optimization in the iterative process. It will affect the effect and speed of the optimization.In the initialization process, a longer step-size factor is adopted to enhance the algorithm’s global search capability. In the later process, a smaller step is adopted to enhance the local optimization capability. Therefore, in this study, a dynamic updating strategy of step size is adopted to make the step size decrease nonlinearly with the increase of iteration number for the guards in equation (9). The dynamic step size can be optimized as follows:(14)λt+1=imλtet/imλ0lnt+rd1−λ0,where λ0 is the initial step-size factor and im is the maximum iteration number.


## 4. Cable PD Pattern Recognition Based on FoSSA-SVM

### 4.1. Feature Vector Extraction

Phase resolved partial discharge (PRPD) spectrum reveals the relationship between the number of PD signals with different peak values and the phase angle. Since the PRPD spectra of different defects achieve different distribution characteristics, statistical characteristic parameters based on PRPD can be used to recognized different insulation faults. In this study, 14 statistical characteristic parameters are employed for the feature extraction of the PD data. The expressions and the meanings of the characteristic parameters are shown in Table1.Table 1
Expressions of characteristic parameters.
Symbol of parametersMeaningskm+φ−qmax pos(+) half-cycle skewnessskm−φ−qmax neg(−) half-cycle skewnessskmφ−qmax full-cycle skewnesssskn+φ−qmean pos(+) half-cycle skewnessskn−φ−qmean neg(−) half-cycle skewnesssknφ−qmean full-cycle skewnessktm+φ−qmax pos(+) half-cycle kurtosisktm−φ−qmax neg(−) half-cycle kurtosisktmφ−qmax full-cycle kurtosisktn+φ−qmean pos(+) half-cycle kurtosisktn−φ−qmean neg(−) half-cycle kurtosisktnφ−qmean full-cycle kurtosisrmφ−qmax ratio of the sum of pos(+) and neg(−) half-cycle discharge amplitudesrnφ−qmean ratio of the sum of pos(+) and neg(−) half-cycle discharge amplitudesAccording to the calculation of statistical characteristic parameters, 9 key features are extracted as PD patterns, as shown in Table2.Table 2
Symbol definition of characteristic quantity.
CharacteristicSymbol descriptionMeanμVarianceσ2SkewnessSkSteepnessKuLocal peak numberPeDischarge factorQDegree of phase asymmetry∅Cross-correlation coefficientCcCorrected cross-correlation coefficientmcThe skewnessSk reflects the skewness of the spectrum shape compared with the normal distribution. The steepness Ku is used to describe the protrusion degree of the distribution of a shape compared with the normal distribution shape. The factor Q reflects the difference of the average discharge in the pos(+) and neg(-) half-cycle of the φ−q spectrum. The phase asymmetry degree ∅ reflects the difference of the initial phase of the discharge within different half-cycles of the φ−q spectrum. The cross-correlation coefficient Cc reflects the degree of shape similarity of the spectra in different half-cycles.


### 4.2. PD Pattern Recognition Based on the FoSSA-SVM Model

The FoSSA-optimized SVM model for cable PD pattern recognition proposed in this paper is shown in Figure2. The whole scheme can be divided into feature extraction, parameter optimization, and pattern recognition:(1)
Four kinds of PD defects are manually prepared for data acquisition on a test platform. Then, the 3D PRPD spectrum is drawn for key feature extraction using statistical characteristics.(2)
The parameters of FoSSA and SVM are initialized, and the penalty factor and kernel function parameters of SVM are taken as the optimization objective of FoSSA. During the initialization stage, the Circle-Gauss hybrid mapping model is employed to initialize the population of sparrows.(3)
FoSSA algorithm is used for parameter optimization. The recognition error rate is set as the objective function for iterative calculation. The optimal parameter combination obtained is imported into the SVM model and verified by the test set. The detailed steps of the FoSSA to optimize the combination parameters are as follows:Figure 2
Flow chart of PD pattern recognition based on FoSSA-SVM.Step 1: the size of sparrow population, number of iterations, producer and scrounger ratios, step-size parameters, and SVM parameters are initialized.Step 2: the Circle-Gauss hybrid mapping model is used to generate the initial population of sparrows.Step 3: the fitness value is computed and sorted.Step 4: the positions of producers and scroungers are updated according to equation (7) and equation (8), respectively.Step 5: the step size of the guards is updated according to equation (14).Step 6: the position of the guards is updated according to equation (9).Step 7: update the sparrow positions taking consideration of firefly disturbance according to equation (13).Step 8: the fitness value is recalculated and the sparrow's position is updated.Step 9: if the stop conditions are met, the algorithm is exited and the results are output. Otherwise, repeat Steps 3–8.


## 4.1. Feature Vector Extraction

Phase resolved partial discharge (PRPD) spectrum reveals the relationship between the number of PD signals with different peak values and the phase angle. Since the PRPD spectra of different defects achieve different distribution characteristics, statistical characteristic parameters based on PRPD can be used to recognized different insulation faults. In this study, 14 statistical characteristic parameters are employed for the feature extraction of the PD data. The expressions and the meanings of the characteristic parameters are shown in Table1.Table 1
Expressions of characteristic parameters.
Symbol of parametersMeaningskm+φ−qmax pos(+) half-cycle skewnessskm−φ−qmax neg(−) half-cycle skewnessskmφ−qmax full-cycle skewnesssskn+φ−qmean pos(+) half-cycle skewnessskn−φ−qmean neg(−) half-cycle skewnesssknφ−qmean full-cycle skewnessktm+φ−qmax pos(+) half-cycle kurtosisktm−φ−qmax neg(−) half-cycle kurtosisktmφ−qmax full-cycle kurtosisktn+φ−qmean pos(+) half-cycle kurtosisktn−φ−qmean neg(−) half-cycle kurtosisktnφ−qmean full-cycle kurtosisrmφ−qmax ratio of the sum of pos(+) and neg(−) half-cycle discharge amplitudesrnφ−qmean ratio of the sum of pos(+) and neg(−) half-cycle discharge amplitudesAccording to the calculation of statistical characteristic parameters, 9 key features are extracted as PD patterns, as shown in Table2.Table 2
Symbol definition of characteristic quantity.
CharacteristicSymbol descriptionMeanμVarianceσ2SkewnessSkSteepnessKuLocal peak numberPeDischarge factorQDegree of phase asymmetry∅Cross-correlation coefficientCcCorrected cross-correlation coefficientmcThe skewnessSk reflects the skewness of the spectrum shape compared with the normal distribution. The steepness Ku is used to describe the protrusion degree of the distribution of a shape compared with the normal distribution shape. The factor Q reflects the difference of the average discharge in the pos(+) and neg(-) half-cycle of the φ−q spectrum. The phase asymmetry degree ∅ reflects the difference of the initial phase of the discharge within different half-cycles of the φ−q spectrum. The cross-correlation coefficient Cc reflects the degree of shape similarity of the spectra in different half-cycles.


## 4.2. PD Pattern Recognition Based on the FoSSA-SVM Model

The FoSSA-optimized SVM model for cable PD pattern recognition proposed in this paper is shown in Figure2. The whole scheme can be divided into feature extraction, parameter optimization, and pattern recognition:(1)
Four kinds of PD defects are manually prepared for data acquisition on a test platform. Then, the 3D PRPD spectrum is drawn for key feature extraction using statistical characteristics.(2)
The parameters of FoSSA and SVM are initialized, and the penalty factor and kernel function parameters of SVM are taken as the optimization objective of FoSSA. During the initialization stage, the Circle-Gauss hybrid mapping model is employed to initialize the population of sparrows.(3)
FoSSA algorithm is used for parameter optimization. The recognition error rate is set as the objective function for iterative calculation. The optimal parameter combination obtained is imported into the SVM model and verified by the test set. The detailed steps of the FoSSA to optimize the combination parameters are as follows:Figure 2
Flow chart of PD pattern recognition based on FoSSA-SVM.Step 1: the size of sparrow population, number of iterations, producer and scrounger ratios, step-size parameters, and SVM parameters are initialized.Step 2: the Circle-Gauss hybrid mapping model is used to generate the initial population of sparrows.Step 3: the fitness value is computed and sorted.Step 4: the positions of producers and scroungers are updated according to equation (7) and equation (8), respectively.Step 5: the step size of the guards is updated according to equation (14).Step 6: the position of the guards is updated according to equation (9).Step 7: update the sparrow positions taking consideration of firefly disturbance according to equation (13).Step 8: the fitness value is recalculated and the sparrow's position is updated.Step 9: if the stop conditions are met, the algorithm is exited and the results are output. Otherwise, repeat Steps 3–8.


## 5. Experimental Results and Analysis

### 5.1. PD Sample Set Construction

According to the designed experiment, the cable PD data are acquired. The sampling rate of the oscilloscope used in the experiment is set at 10 MS/s, and the sampling length is 1s each time; that is, the signal containing 50 power frequency cycles is taken as one sample. The number of samples from each type of defect is 50; that is, each PD defect contains 50 samples. The voltage levels corresponding to the measurement of the four PD defects are shown in Table3. After the collection of sampling points, the PRPD spectra with four defects are drawn, as shown in Figure 3. The training set is 80% of these defect samples and the test set is 20%.Table 3
Discharge voltage of different defects.
Defect typeDischarge voltageOuter semiconductive layer creepage5.6 kV, 6.6 kVInternal air gap5.3 kV, 11.3 kV, 18.3 kVScratch of insulation surface5.6 kV, 9.6 kV, 13.6 kVMetallic filth on insulation surface6 kV, 20 kV, 34 kVFigure 3
PRPD spectra of four type defects. (a) Outer semiconductive layer creepage (5.6 kV). (b) Internal air gap (5.3 kV). (c) Scratch of the insulation surface (5.6 kV). (d) Metallic filth (6 kV).
(a)(b)(c)(d)


### 5.2. Comparison and Analysis of Convergence Performance

#### 5.2.1. Transverse Comparison and Analysis

Compared with other traditional algorithms such as PSO and GA, the FoSSA has obvious improvements in the convergence speed and optimization accuracy. In this study, three thirty-dimensional test functions are used to compare the convergence speed and optimization ability of FoSSA, GA, PSO, and GWO algorithms. The expressions of the test functions are shown in Table4.Table 4
Test function expressions and their range.
Test functionRangef1x=∑i=1n−1100xi+1−xi22+xi−12[−30, 30]f2x=∑i=1nixi4+random[0,1)[−1.28, 1.28]f3x=−20exp−0.21/n∑i=1nxi2−exp1/n∑i=1ncos2πxi+20+e[−32, 32]To make the results more convincing, each test function is tested 30 times independently. The population is set to 100 and the maximum number of iterations is 1000. For FoSSA, the accounts of producers and sparrows aware of danger are set as 20% and 10% of the whole population andvs is 0.8. Crossover probability c is 0.9, mutation probability μ is 0.03 in GA, ω=0.728 and c1=c2=1.49442 in PSO, r1,r2=random0,1, and a∈0,2 with a linear decrease in GWO. The optimization results of the four algorithms on the test function are shown in Figure 4.Figure 4
Convergence results of test functions. (a) Convergence results off1x. (b) Convergence results of f2x. (c) Convergence results of f3x.
(a)(b)(c)The minimum values of the test functions are all zero. The results show that the PSO method has a fast convergence speed, but the convergence accuracy is very low. The GA and GWO are prone to local optimality. The FoSSA achieves the best convergence speed and convergence accuracy at the same time.


#### 5.2.2. Longitudinal Comparison and Analysis

SSA, LevySSA[16], RandSSA [17], and tSSA [18] are studied separately to compare with our FoSSA to demonstrate the optimization effect and convergence ability. For SSA, the accounts of producers and sparrows aware of danger are set as 20% and 10% of the whole population and the safety threshold value Vs is 0.8. For FoSSA, additional parameters of the step-size factor τ is 0.2 and the maximum attractiveness ρ0 is 2. The parameter β in LevySSA is 1.5. The parameter rt in RandSSA is set as 0 or 1 randomly. The parameter p in t-SSA is 0.5.In this study, a six-dimensional single-peak function is employed to test the optimization ability of the function, and two thirty-dimensional multimodal functions are employed to test the ability to escape from the local optimum. The three test functions are shown in Table5.Table 5
Function expressions and their range.
Test functionRangef4x=∑i=1n−xisinxi[−500, 500]f5x=∑i=1n−xicosxi[−500, 500]f6x=−∑i=14ciexp−∑j=16aijxj−pij2[0, 1]Figure5 shows the comparative analysis effect of five optimization algorithms on the minimum optimization of the test function. It is obvious that the FoSSA achieves the fastest convergence speed for the single-peak function of f6x and the strongest ability to transfer from local optimum for the multipeak functions of f4x and f5x.Figure 5
Convergence rate and optimal contour of test functions. (a) Convergence rate and optimal contour off4x. (b) Convergence rate and optimal contour of f5x. (c) Convergence rate and optimal contour of f6x.
(a)(b)(c)Each method optimizes 100 times for test functions, and the mean value, optimal value, and worst value are recorded, as shown in Table6.Table 6
Comparison of optimization results.
FunctionOptimizerOptimal valueWorst valueMeanf4xSSA−10139.98−6154.46−8145.43FoSSA−36168.05−28325.41−34049.27LevySSA−30725.72−26342.56−28072.35tSSA−29325.62−23210.74−28705.26RandSSA−23257.82−19072.23−21072.43f5xSSA−15642.13−13425.62−14568.18FoSSA−35653.03−31971.04−34895.24LevySSA−16725.12−14236.42−15742.84tSSA−16732.45−14584.72−15643.72RandSSA−17325.42−14346.28−16435.65f6xSSA−3.2432−3.0898−3.1042FoSSA−3.8947−3.8628−3.8725LevySSA−3.7243−3.2649−3.4634tSSA−3.7254−3.6234−3.6927RandSSA−3.3274−3.1324−3.2736After comparing the FoSSA with the other four optimizers, it is found that the FoSSA obtains the strongest performance to get over the local optimum for the multipeak function and the fastest convergence speed of the single-peak function. The optimal value, worst value, and mean value of the FoSSA are the smallest, which means the best performance.


### 5.3. PD Pattern Recognition Results and Analysis

Based on the FoSSA algorithm, in order to find the optimal kernel function parametersg and the penalty factor c, the corresponding combination which achieves the minimum classification error rate after 30 iterations is chosen as the optimal parameter combination of g and c. The optimal parameter combination of different optimization algorithms is shown in Table 7.Table 7
Optimal parameter combination of different classification models.
ClassifiercgSSA-SVM0.1214.50FoSSA-SVM4.450.76LevySSA-SVM6.3114.56tSSA-SVM1.778.11RandSSA-SVM0.148.34The SSA-SVM, LevySSA-SVM, tSSA-SVM, RandSSA-SVM, and FoSSA-SVM classification models described in this paper are employed to recognize cable defects patterns with their optimal parameter combination. The results are shown in Figure6 and Table 8.Figure 6
Classification results of different classification models. (a) FoSSA-SVM. (b) LevySSA-SVM. (c) RandSSA-SVM. (d) tSSA-SVM. (e) SSA-SVM.
(a)(b)(c)(d)(e)Table 8
Comparison of accuracy and times consumption of different models.
ClassifierAccuracyt (ms)SSA-SVM90%512FoSSA-SVM97.5%362LevySSA-SVM95%494tSSA-SVM93.75%394RandSSA-SVM92.5%402Compared with the SSA-SVM, FoSSA-SVM improves the classification accuracy by 7.5%, and with the other classification models, it improves the accuracy by 2%–5%. In terms of time, the FoSSA-SVM requires the shortest iteration time, which is 32–150 ms shorter than that of other algorithms. In short, the FoSSA-SVM achieves a faster optimization speed and the highest recognition accuracy at the same time.In order to further verify the prediction accuracy, the FoSSA-SVM model is compared with PSO-SVM and GA-SVM models. 80 samples are used for testing, and each model is employed to predict 30 times; the optimal prediction result is taken into account. The final results are shown in Table9, in which it is obvious that the FoSSA-SVM model achieves a predictive accuracy of 97.5%, which is better than that of the other two algorithms.Table 9
Prediction accuracy of different models.
ClassifierFoSSA-SVMPSO-SVMGA-SVMError number279Accuracy97.5%91.25%88.75%The results of the experiment demonstrate that the proposed FoSSA-SVM model improves the prediction accuracy significantly in cable PD pattern recognition and it achieves obvious advantages in potential applications.


## 5.1. PD Sample Set Construction

According to the designed experiment, the cable PD data are acquired. The sampling rate of the oscilloscope used in the experiment is set at 10 MS/s, and the sampling length is 1s each time; that is, the signal containing 50 power frequency cycles is taken as one sample. The number of samples from each type of defect is 50; that is, each PD defect contains 50 samples. The voltage levels corresponding to the measurement of the four PD defects are shown in Table3. After the collection of sampling points, the PRPD spectra with four defects are drawn, as shown in Figure 3. The training set is 80% of these defect samples and the test set is 20%.Table 3
Discharge voltage of different defects.
Defect typeDischarge voltageOuter semiconductive layer creepage5.6 kV, 6.6 kVInternal air gap5.3 kV, 11.3 kV, 18.3 kVScratch of insulation surface5.6 kV, 9.6 kV, 13.6 kVMetallic filth on insulation surface6 kV, 20 kV, 34 kVFigure 3
PRPD spectra of four type defects. (a) Outer semiconductive layer creepage (5.6 kV). (b) Internal air gap (5.3 kV). (c) Scratch of the insulation surface (5.6 kV). (d) Metallic filth (6 kV).
(a)(b)(c)(d)


## 5.2. Comparison and Analysis of Convergence Performance

### 5.2.1. Transverse Comparison and Analysis

Compared with other traditional algorithms such as PSO and GA, the FoSSA has obvious improvements in the convergence speed and optimization accuracy. In this study, three thirty-dimensional test functions are used to compare the convergence speed and optimization ability of FoSSA, GA, PSO, and GWO algorithms. The expressions of the test functions are shown in Table4.Table 4
Test function expressions and their range.
Test functionRangef1x=∑i=1n−1100xi+1−xi22+xi−12[−30, 30]f2x=∑i=1nixi4+random[0,1)[−1.28, 1.28]f3x=−20exp−0.21/n∑i=1nxi2−exp1/n∑i=1ncos2πxi+20+e[−32, 32]To make the results more convincing, each test function is tested 30 times independently. The population is set to 100 and the maximum number of iterations is 1000. For FoSSA, the accounts of producers and sparrows aware of danger are set as 20% and 10% of the whole population andvs is 0.8. Crossover probability c is 0.9, mutation probability μ is 0.03 in GA, ω=0.728 and c1=c2=1.49442 in PSO, r1,r2=random0,1, and a∈0,2 with a linear decrease in GWO. The optimization results of the four algorithms on the test function are shown in Figure 4.Figure 4
Convergence results of test functions. (a) Convergence results off1x. (b) Convergence results of f2x. (c) Convergence results of f3x.
(a)(b)(c)The minimum values of the test functions are all zero. The results show that the PSO method has a fast convergence speed, but the convergence accuracy is very low. The GA and GWO are prone to local optimality. The FoSSA achieves the best convergence speed and convergence accuracy at the same time.


### 5.2.2. Longitudinal Comparison and Analysis

SSA, LevySSA[16], RandSSA [17], and tSSA [18] are studied separately to compare with our FoSSA to demonstrate the optimization effect and convergence ability. For SSA, the accounts of producers and sparrows aware of danger are set as 20% and 10% of the whole population and the safety threshold value Vs is 0.8. For FoSSA, additional parameters of the step-size factor τ is 0.2 and the maximum attractiveness ρ0 is 2. The parameter β in LevySSA is 1.5. The parameter rt in RandSSA is set as 0 or 1 randomly. The parameter p in t-SSA is 0.5.In this study, a six-dimensional single-peak function is employed to test the optimization ability of the function, and two thirty-dimensional multimodal functions are employed to test the ability to escape from the local optimum. The three test functions are shown in Table5.Table 5
Function expressions and their range.
Test functionRangef4x=∑i=1n−xisinxi[−500, 500]f5x=∑i=1n−xicosxi[−500, 500]f6x=−∑i=14ciexp−∑j=16aijxj−pij2[0, 1]Figure5 shows the comparative analysis effect of five optimization algorithms on the minimum optimization of the test function. It is obvious that the FoSSA achieves the fastest convergence speed for the single-peak function of f6x and the strongest ability to transfer from local optimum for the multipeak functions of f4x and f5x.Figure 5
Convergence rate and optimal contour of test functions. (a) Convergence rate and optimal contour off4x. (b) Convergence rate and optimal contour of f5x. (c) Convergence rate and optimal contour of f6x.
(a)(b)(c)Each method optimizes 100 times for test functions, and the mean value, optimal value, and worst value are recorded, as shown in Table6.Table 6
Comparison of optimization results.
FunctionOptimizerOptimal valueWorst valueMeanf4xSSA−10139.98−6154.46−8145.43FoSSA−36168.05−28325.41−34049.27LevySSA−30725.72−26342.56−28072.35tSSA−29325.62−23210.74−28705.26RandSSA−23257.82−19072.23−21072.43f5xSSA−15642.13−13425.62−14568.18FoSSA−35653.03−31971.04−34895.24LevySSA−16725.12−14236.42−15742.84tSSA−16732.45−14584.72−15643.72RandSSA−17325.42−14346.28−16435.65f6xSSA−3.2432−3.0898−3.1042FoSSA−3.8947−3.8628−3.8725LevySSA−3.7243−3.2649−3.4634tSSA−3.7254−3.6234−3.6927RandSSA−3.3274−3.1324−3.2736After comparing the FoSSA with the other four optimizers, it is found that the FoSSA obtains the strongest performance to get over the local optimum for the multipeak function and the fastest convergence speed of the single-peak function. The optimal value, worst value, and mean value of the FoSSA are the smallest, which means the best performance.


## 5.2.1. Transverse Comparison and Analysis

Compared with other traditional algorithms such as PSO and GA, the FoSSA has obvious improvements in the convergence speed and optimization accuracy. In this study, three thirty-dimensional test functions are used to compare the convergence speed and optimization ability of FoSSA, GA, PSO, and GWO algorithms. The expressions of the test functions are shown in Table4.Table 4
Test function expressions and their range.
Test functionRangef1x=∑i=1n−1100xi+1−xi22+xi−12[−30, 30]f2x=∑i=1nixi4+random[0,1)[−1.28, 1.28]f3x=−20exp−0.21/n∑i=1nxi2−exp1/n∑i=1ncos2πxi+20+e[−32, 32]To make the results more convincing, each test function is tested 30 times independently. The population is set to 100 and the maximum number of iterations is 1000. For FoSSA, the accounts of producers and sparrows aware of danger are set as 20% and 10% of the whole population andvs is 0.8. Crossover probability c is 0.9, mutation probability μ is 0.03 in GA, ω=0.728 and c1=c2=1.49442 in PSO, r1,r2=random0,1, and a∈0,2 with a linear decrease in GWO. The optimization results of the four algorithms on the test function are shown in Figure 4.Figure 4
Convergence results of test functions. (a) Convergence results off1x. (b) Convergence results of f2x. (c) Convergence results of f3x.
(a)(b)(c)The minimum values of the test functions are all zero. The results show that the PSO method has a fast convergence speed, but the convergence accuracy is very low. The GA and GWO are prone to local optimality. The FoSSA achieves the best convergence speed and convergence accuracy at the same time.


## 5.2.2. Longitudinal Comparison and Analysis

SSA, LevySSA[16], RandSSA [17], and tSSA [18] are studied separately to compare with our FoSSA to demonstrate the optimization effect and convergence ability. For SSA, the accounts of producers and sparrows aware of danger are set as 20% and 10% of the whole population and the safety threshold value Vs is 0.8. For FoSSA, additional parameters of the step-size factor τ is 0.2 and the maximum attractiveness ρ0 is 2. The parameter β in LevySSA is 1.5. The parameter rt in RandSSA is set as 0 or 1 randomly. The parameter p in t-SSA is 0.5.In this study, a six-dimensional single-peak function is employed to test the optimization ability of the function, and two thirty-dimensional multimodal functions are employed to test the ability to escape from the local optimum. The three test functions are shown in Table5.Table 5
Function expressions and their range.
Test functionRangef4x=∑i=1n−xisinxi[−500, 500]f5x=∑i=1n−xicosxi[−500, 500]f6x=−∑i=14ciexp−∑j=16aijxj−pij2[0, 1]Figure5 shows the comparative analysis effect of five optimization algorithms on the minimum optimization of the test function. It is obvious that the FoSSA achieves the fastest convergence speed for the single-peak function of f6x and the strongest ability to transfer from local optimum for the multipeak functions of f4x and f5x.Figure 5
Convergence rate and optimal contour of test functions. (a) Convergence rate and optimal contour off4x. (b) Convergence rate and optimal contour of f5x. (c) Convergence rate and optimal contour of f6x.
(a)(b)(c)Each method optimizes 100 times for test functions, and the mean value, optimal value, and worst value are recorded, as shown in Table6.Table 6
Comparison of optimization results.
FunctionOptimizerOptimal valueWorst valueMeanf4xSSA−10139.98−6154.46−8145.43FoSSA−36168.05−28325.41−34049.27LevySSA−30725.72−26342.56−28072.35tSSA−29325.62−23210.74−28705.26RandSSA−23257.82−19072.23−21072.43f5xSSA−15642.13−13425.62−14568.18FoSSA−35653.03−31971.04−34895.24LevySSA−16725.12−14236.42−15742.84tSSA−16732.45−14584.72−15643.72RandSSA−17325.42−14346.28−16435.65f6xSSA−3.2432−3.0898−3.1042FoSSA−3.8947−3.8628−3.8725LevySSA−3.7243−3.2649−3.4634tSSA−3.7254−3.6234−3.6927RandSSA−3.3274−3.1324−3.2736After comparing the FoSSA with the other four optimizers, it is found that the FoSSA obtains the strongest performance to get over the local optimum for the multipeak function and the fastest convergence speed of the single-peak function. The optimal value, worst value, and mean value of the FoSSA are the smallest, which means the best performance.


## 5.3. PD Pattern Recognition Results and Analysis

Based on the FoSSA algorithm, in order to find the optimal kernel function parametersg and the penalty factor c, the corresponding combination which achieves the minimum classification error rate after 30 iterations is chosen as the optimal parameter combination of g and c. The optimal parameter combination of different optimization algorithms is shown in Table 7.Table 7
Optimal parameter combination of different classification models.
ClassifiercgSSA-SVM0.1214.50FoSSA-SVM4.450.76LevySSA-SVM6.3114.56tSSA-SVM1.778.11RandSSA-SVM0.148.34The SSA-SVM, LevySSA-SVM, tSSA-SVM, RandSSA-SVM, and FoSSA-SVM classification models described in this paper are employed to recognize cable defects patterns with their optimal parameter combination. The results are shown in Figure6 and Table 8.Figure 6
Classification results of different classification models. (a) FoSSA-SVM. (b) LevySSA-SVM. (c) RandSSA-SVM. (d) tSSA-SVM. (e) SSA-SVM.
(a)(b)(c)(d)(e)Table 8
Comparison of accuracy and times consumption of different models.
ClassifierAccuracyt (ms)SSA-SVM90%512FoSSA-SVM97.5%362LevySSA-SVM95%494tSSA-SVM93.75%394RandSSA-SVM92.5%402Compared with the SSA-SVM, FoSSA-SVM improves the classification accuracy by 7.5%, and with the other classification models, it improves the accuracy by 2%–5%. In terms of time, the FoSSA-SVM requires the shortest iteration time, which is 32–150 ms shorter than that of other algorithms. In short, the FoSSA-SVM achieves a faster optimization speed and the highest recognition accuracy at the same time.In order to further verify the prediction accuracy, the FoSSA-SVM model is compared with PSO-SVM and GA-SVM models. 80 samples are used for testing, and each model is employed to predict 30 times; the optimal prediction result is taken into account. The final results are shown in Table9, in which it is obvious that the FoSSA-SVM model achieves a predictive accuracy of 97.5%, which is better than that of the other two algorithms.Table 9
Prediction accuracy of different models.
ClassifierFoSSA-SVMPSO-SVMGA-SVMError number279Accuracy97.5%91.25%88.75%The results of the experiment demonstrate that the proposed FoSSA-SVM model improves the prediction accuracy significantly in cable PD pattern recognition and it achieves obvious advantages in potential applications.


## 6. Conclusion

FoSSA is proposed in this paper to optimize the kernel function parameters and penalty factors of SVM for PD pattern recognition of cables. A novel Circle-Gauss hybrid mapping model used in the initialization stage of SSA improved the diversity of the sparrow population. Dynamic step-size and firefly disturbance strategy help SSA out of local optimum and then improve the convergence accuracy. Compared with SVM optimized by SSA, the classification accuracy is increased by 7.5% and the time consumption is shortened by 150 ms. The introduction of firefly perturbation and dynamic step strategy enhances the global convergence ability of SSA.



---

*Source: 7566731-2022-03-25.xml*