Next Article in Journal
An Intelligent Multi-Floor Navigational System Based on Speech, Facial Recognition and Voice Broadcasting Using Internet of Things
Previous Article in Journal
From Optical Tracking to Tactical Performance via Voronoi Diagrams: Team Formation and Players’ Roles Constrain Interpersonal Linkages in High-Level Football
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A New Approach to Optimize SVM for Insulator State Identification Based on Improved PSO Algorithm

1
School of Electrical Engineering, Chongqing University of Science and Technology, Chongqing 401331, China
2
The School of Electronic Information and Electrical Engineering, Shanghai Jiao Tong University, Shanghai 200240, China
*
Author to whom correspondence should be addressed.
Sensors 2023, 23(1), 272; https://doi.org/10.3390/s23010272
Submission received: 23 August 2022 / Revised: 22 December 2022 / Accepted: 23 December 2022 / Published: 27 December 2022
(This article belongs to the Section Remote Sensors)

Abstract

:
The failure of insulators may seriously threaten the safe operation of the power system, where the state detection of high-voltage insulators is a must for the normal and safe operation of the power system. Based on the data of insulators in aerial images, this work explored an enhanced particle swarm algorithm to optimize the parameters of the support vector machine. A support vector machine model was therefore established for the identification of the normal and defective states of the insulators. This methodology works with the structure minimization principle of SVM and the characteristics of particle swarm fast optimization. First, the aerial insulator image was segmented as a target by way of the seed region growth based on double-layer cascade morphological improvements, and then, HOG features plus GLCM features were extracted as sample data. Finally, an ameliorated PSO-SVM classifier was designed to realize insulator state identification. Comparisons were made between PSO-SVM and conventional machine learning algorithms, SVM and Random Forest, and an optimization algorithm, Gray Wolf Optimization Support Vector Machine (GWO-SVM), and advanced neural network CNN. The experimental results showed that the performance of the algorithm proposed in this paper touched the top level, where the recognition accuracy rate was 92.11%, the precision rate 90%, the recall rate 94.74%, and the F1-score 92.31%.

1. Introduction

In the continuous expansion of power grid construction scale, there is a need to take more care of the safety and reliability of transmission lines, which is directly associated with the stability of power transmission. As one of the important components in transmission lines, insulators are of various types and quite often work in the wild for a long period, being vulnerable to environmental pollution, lightning strikes and flashovers. Situations such as string drop and flashover indicate that deteriorated insulators may be found from time to time. Failure of the insulators would cause the power system to fail to operate normally, and even cause grid paralysis in severe cases, bringing great hidden dangers to the safe power supply of the transmission line.
In the past few decades, the detection of insulator faults relies on manual inspection, at regular intervals or yearly inspection on deteriorating insulators. Although faulty insulators can be detected and replaced in time, the work intensity is high, and the efficiency is low. This is complicated with the detection location at high altitude, which somehow affects the personal safety of the detection personnel, as shown in Figure 1a.
In recent years, IT technology has been widely popularized, making it possible to have unmanned aerial vehicle (UAV) [1,2,3,4] as a core means of power transmission line inspection. This is a kind of inspection methodology highlighted as accurate, safe and efficient, as shown in Figure 1b. The inspectors may shoot and store a large amount of image and video data through the camera mounted on the drone, including digital image information, infrared image information, etc. Owing to this, the application of digital image technology has contributed a lot in the power safety system. These pictures processed by image technology may perform state detection on the basis of automatic positioning of insulators and diagnose insulator faults in a timely and effective manner.
The state detection of insulators is taken as one of the important links to ensure the normal operation of transmission lines. Due to the special working environment of insulators and the complex background of aerial photographs, accurate identification and segmentation of target insulators and background images can be the primary prerequisite for detecting their states. When segmenting insulators, Ke et al. [5] designed an image segmentation method based on weighted variable FCM, following pixel differences to separate the insulators and transmission lines. Wu et al. [6] Proposed a global minimum frame (GMAC) for insulator segmentation using texture features. Yu et al. [7] set their focus on its shape and texture characteristics; then, the segmentation of insulators was achieved by alternating texture and shape driving curves. Yin et al. [8] worked out a new edge detection operator based on double-parity morphological gradients to segment infrared insulator images, and the average success rates of segmenting insulators with voltage levels of 110 and 220 KV reached 98.3% and 96.4%, respectively. As to the same infrared image, Wang et al. [9] used Mask R-CNN to achieve insulator segmentation. Cui et al. [10] extracted the features of different levels of insulators and added the ED network to make sure that the feature fusion module works better, thereby realizing the segmentation of insulators.
At present, neural networks are extensively applied in the fault identification and classification of insulators. Prates et al. [11] elaborated a convolutional neural network (CNN) to identify defects in insulators, and the defect detection accuracy was as good as 85.48%. Guo et al. [12] started with a deep convolutional neural network to extract features and then turned to an enhanced AlexNet model and SVM to detect and classify transmission line anomalies. Jiang et al. [13] constructed a multi-layer perception architecture for fault detection on insulators missing a cap, obtaining an accuracy rate of 91.23. There are still many researchers that have made efforts in detecting faults of insulators by improving Faster RCNN [14,15,16,17,18]. Han et al. [19] and Liu et al. [20] made different improvements on the yolo network to achieve fault detection of insulators. Yu et al. [21] extracted features that were fused with five CNN networks, followed by combining with RF to detect foreign objects in transmission lines; additionally, semi-protocol deep neural network [22], echo state network [23], Kear model [24], and fully convolutional neural network (u-net) [25,26] have all brought out some impressive outputs in insulator defect detection.
Despite that positive feedback from various studies based on deep learning and long-term training still needs a large amount of data, for small data samples, machine learning is believed to have a better outcome. For instance, in the identification of cable faults, Wang et al. [27] proposed to use an improved particle swarm optimization support vector machine (IPSO-SVM) algorithm with a 91.9% identification accuracy. Pernebayeva et al. [28] classified the surface images of insulators in different environments and compared them with neural networks to select reasonable features. The conventional machine learning algorithm presented higher classification accuracy. Machine learning methods were also very successful in the recognition of handwritten characters. Kundu et al. [29] realized the recognition of handwritten keywords by extracting angle features through Hough transform. Kang et al. [30] proposed an unsupervised redundant co-clustering algorithm (FCMSC) based on multi-center fuzzy c-means clustering (FCM) and spectral clustering (SC) in the detection of mildew distribution of corn kernels, with an accuracy of 93.47%. Corso et al. [31] investigated the application of machine vision features and classified the degree of contamination of insulators based on k-nearest neighbors (k-NN) with an average accuracy of over 82%. Yao et al. [32] explored the classification of insulation defects in gas-insulated switchgear and then operated SVM to identify the classification, gaining its accuracy rate of 93.75%. Sun et al. [33] applied SVM to abnormal conductive faults in conductive copper rods recognition, bringing the accuracy rate up to 90%.
In insulator defect identification research, SVM is one of the most commonly used methods for small-sample insulator datasets. Murthy et al. [34] extracted the features of insulators by means of wavelet transform and then used SVM to identify the state of insulators. Reddy et al. [35] obtained the features of insulators with the help of discrete orthogonal transform (DOST), allowing SVM to identify insulators. Yan et al. [36] first fused HOG and LBP features after PCA dimensionality reduction and then counted on SVM to detect and classify insulators. Sun et al. [37] employed the EFA method to reduce the factor variables of insulator pollution, taking the simplified factor variables as new input variables, and the LSSVM model was established to predict the pollution degree of insulators. Ma et al. [38] introduced the gray level co-occurrence matrix and Tamura features that were applied in the SVM classifier to identify the discharge degree of pollution flashover insulators, getting the classification accuracy as high as 90.6%.
SVM application can be found in extensive research fields. Scholars have made various improvements on the conventional SVM classifier, so that the corresponding research has achieved good results. The SVM research in different fields is shown in Table 1.
As for the defect detection research of insulators, there are few representative and public datasets, and the background of aerial insulator images appears to be very complex. For conventional machine learning, the segmentation target insulator image must be identified first, which is relatively difficult. Third, compared with aerial images, the shedding defects of the insulator strings are too small, and it is difficult to accurately extract and detect the modified features. In this paper, targeting at a few aerial insulator pictures, an enhanced particle swarm algorithm (PSO) is proposed to optimize the SVM to obtain the training model and identify and classify the insulator state. The contributions of this work to the state detection of insulators in high-voltage transmission lines are summarized as follows:
(1) In the segmentation of insulator images, the segmentation of insulators under complex backgrounds was accomplished by introducing a double-layer cascaded morphological structure into the conventional seed region growing algorithm.
(2) These features of HOG and GLCM were extracted and fused each other. The fused features were input into the boosted PSO-SVM training model to successfully develop a novel method for insulator fault identification and classification. This method enforced the generalization performance of SVM and may be applied to the field of high-voltage transmission lines.
(3) As to small data aerial insulator images, the proposed model, e.g., the boosted PSO-SVM model, showed impressive accuracy when compared with deep learning models such as CNN and BP, as well as other conventional machine learning algorithms such as SVM and Random Forest.
The structure of the rest of this paper is organized as follows: Section 2 presents the overall architecture of insulator state detection. Section 3 describes the specific process of insulator fault diagnosis. Section 4 reveals how experiments and results analysis were performed. Finally, Section 5 gives the conclusion.

2. Research Methods

In this section, the framework and related algorithm theory for the state detection of transmission line insulators are presented. The overall framework of this paper is shown in Figure 2. Due to the complex background of aerial insulator images, the first step is to separate the insulator image and the background image. As proposed in this paper, the seed region growing algorithm is improved to effectively segment the insulator, then extract the features of the insulator image, use the feature data to train the particle swarm parameters to optimize the support vector (PSO-SVM) classifier, and finally the trained PSO-SVM classifier may accurately complete the state detection of insulators.

2.1. Region Algorithm Segmentation Based on Morphological Improvements

The aerial insulator images often come with a complex background. To ensure the effectiveness of feature extraction, it is necessary to separate the background and retain only the insulator region. The insulator image had obvious regional characteristics, and the seed region growing algorithm was therefore selected to realize the segmentation of the insulator image. Note that the direct use of this algorithm may retain the large or small background that is similar to the gray value of the insulator region. To tackle this issue, this work adopted a novel algorithm for seed region segmentation based on morphological improvements, and its overall block diagram is shown in Figure 3.
The insulator segmentation algorithm proposed in this work firstly reduced the dimension of the original image, selected the appropriate color component model, then performed morphological processing on it, and finally used the seed region growth algorithm to segment to achieve effective segmentation of the insulator region. The specific process is shown in Figure 4.
The aerial insulator images were colored and stored in RGB. Since most of the insulators in this work were red relative to the background and displayed high saturation, the color in the HSI space was more conducive to image recognition than that in this work. Then, the insulator image was converted from the RGB model to HSI color model for processing purposes. By observing the HSI component image, it was found that the insulator area in the S component image was prominent. Subsequently, the S component of the insulator was extracted for image segmentation to ensure the segmentation effect while reducing the image dimension and improving the operation speed.
Morphological processing is a series of image processing operations based on shape, which produces an output image by applying structural elements to the input image. The most basic morphological processing is the erosion and dilation operations, and the expressions are as follows:
X Θ S = { x | S [ x ] X }
X S = { x | S [ x ] X Φ }
Here, X is the target image; S is the structural element; x indicates the current position. The corrosion operation is mainly used to extract the backbone information of the insulator, and the expansion is used to fill in the edge information of the insulator.
This work was processed with a two-layer cascade morphological structure, which cascaded two structural elements with different structures and different sizes to process images. This promoted the segmentation effect of the conventional seed region growing algorithm: first, to choose a 4 × 4 square structure to perform the corrosion operation on the S-component image, and then to perform the expansion operation on the etched image with a 3 × 3 circular structure to obtain the double-layer cascaded morphological structure. Then, the seed region growing method is used to segment the image.

2.2. Feature Extraction

In the computer vision-based insulator identification method, the insulator features refer to those including the insulator image. Features are used to distinguish the states of insulators, mainly including Histogram of Oriented Gradients (HOG) and Gray Level Co-occurrence Matrix (GLCM). These are not newly proposed features, which are present in many fields. In this work, advanced features were mainly used in the identification and classification of insulator states, aiming to improve the accuracy of the classifier.

2.2.1. HOG Feature Extraction

HOG is a local region-based feature descriptor. In past studies, HOG always had a place in many recognitions, such as the recognition and classification of ships and vessels [50], human detection [51], face recognition [52], and note recognition [53]. The HOG feature refers to the use of the gradient information of the local area to represent the edge features of the object, which may well describe the edge features of the insulator. How the insulator HOG feature was extracted is shown in Figure 5.
The formula for calculating the gradient size and direction of an image is as follows:
G x ( x , y ) = H ( x + 1 , y ) H ( x 1 , y )
G y ( x , y ) = H ( x , y + 1 ) H ( x , y 1 )
G ( x , y ) = G x ( x , y ) 2 + G y ( x , y ) 2
α ( x , y ) = arctan [ G y ( x , y ) / G x ( x , y ) ]
where G ( x , y ) , G x ( x , y ) , G y ( x , y ) , and H ( x , y ) are the gradient value, horizontal gradient, vertical gradient and pixel value of the current pixel, respectively, and α ( x , y ) is the gradient direction.

2.2.2. GLCM Feature Extraction

GLCM described the texture features of objects by means of five statistics, including energy, entropy, moment of inertia, correlation, and local stationarity. The grayscale co-occurrence matrix indicated the joint frequency distribution of two grayscale pixels with a distance of ( Δ x , Δ y ) in the image, and it can reflect the overall information of the image grayscale in various directions, adjacent intervals, and amplitude changes.
Normalizing the grayscale matrix:
P ( i , j , d , θ ) = P ( i , j ) i = 0 j = 0 p ( i , j )
In the formula, P ( i , j ) indicates how many adjacent paired points there were in the image gray-level of i and j . θ means four directional values of 0°, 45°, 90°, and 135°. The GLCM characteristics of the insulator were obtained by calculating the values of five statistics in four different directions and offsets and by taking their mean and variance.

2.3. PSO-SVM

2.3.1. Support Vector Machine Algorithm

Support Vector Machine (SVM) is an algorithm that can intelligently classify data based on supervised learning, providing better solutions to the problems of small samples. The main idea of SVM is to find an optimal hyperplane that maximizes the distance between two different classes of data points, as shown in Figure 6.
In two-dimensional space, a data sample set is ( x i , y i ) , i = 1 , 2 , , l , where the input vector x i R n , y i [ 1 , 1 ] is the output category and is the number of samples. When the data are linearly separable, there are: y i ( w x i + b ) 1 i = 1 , 2 , , l ; now, the optimization problem of SVM is transformed into:
{ min 1 2 w 2 s . t .   y i ( w x i + b ) 1
where w is the weight vector of the hyperplane; b is the bias term.
When the data samples are linearly inseparable, slack variables ε i 0 and penalty parameters C need to be introduced on the basis of the above formula to construct the optimal classification plane. Thus, the optimization problem is transformed into:
{ min 1 2 w 2 + C i = 1 l ε i s . t .   y i ( w x i + b ) 1 ε i
To solve the optimization problem, the Lagrangian function may be introduced and then transformed into the corresponding dual problem. The Laplace function is expressed as follows:
L ( w , b , ε i , α , β ) = 1 2 w 2 + C i = 1 l ε i + i = 1 l α i [ 1 ε i y i ( w x i + b ) ] i = 1 l β i ε i
In the above formula, α i and β i are Lagrange multipliers, and α i 0 , β i 0 . The optimization problem is changed to the value of w , b when the Lagrangian function obtains the minimum value; thus, the following formula can be obtained by derivation of w , b , ε i in the Lagrangian function:
{ w = i = 1 l α i y i x i i = 1 l α i y i = 0 C = α i + β i
Putting the above formula into the Lagrangian function expression, the following expression can be obtained by simplification:
L ( w , b , ε i , α , β ) = 1 2 i = 1 l j = 1 l α i α j y i y j x i x j + i = 1 l α i
At this point, the Lagrangian function can be converted into a dual problem, that is, to maximize the above formula. The constraints of the dual problem are:
{ i = 1 l α i β i = 0 0 α i C
At this point, according to the combination of the KKT conditions and the existing conditions, we can obtain:
{ w = i = 1 l α i y i x i b = y i x j i = 1 l α i y i x i
The values of w and b are obtained, and the optimal hyperplane decision function is:
f ( x i ) = sgn ( w x i + b ) = sgn ( i = 1 l α i y i ( x i x ) + b )
Support Vector Machines usually solve the case where the data samples are separable, but things are different when faced with the problem of nonlinear data samples. Here, it is necessary to convert the low-dimensional space into a high-dimensional feature space through a nonlinear transformation φ into a linear problem. Of course, in the process of spatial transformation, the problem of data dimensionality disaster requires the introduction of a kernel function. As long as the kernel function satisfies the Mercer condition k ( x i , x ) = ( φ ( x i ) φ ( x ) ) , the nonlinear decision function will become:
f ( x i ) = sgn ( i = 1 l α i y i K ( x i , x ) + b )

2.3.2. Improved PSO Algorithm

As one of the common optimization algorithms of particle swarm, proposed by Kennedy and Eberhart in 1995, it works by simulating the foraging behavior of birds to achieve the group optimization. Reference [54] describes the PSO algorithm in detail. During the optimization process, the velocity and position of the updated particles are as follows:
v = w v + c 1 r 1 ( p b e s t p ) + c 2 r 2 ( g b e s t p )
p = p + β v
where g b e s t : global optimal solution; p b e s t : individual optimal solution; p is the current position of the particle; v is the velocity of the particle; β is the constraint factor; c 1 and c 2 are two positive numbers, respectively, called acceleration factors; r 1 and r 2 are two independent random numbers between values [0, 1]; w is the inertia weight.
In practical applications, PSOs tend to fall into local extreme points. To deal with such problems, the inertia weight was improved by absorbing the control idea of adaptive adjustment. Meanwhile, the current number of iterations and the number of populations during the algorithm update iteration were also taken into account with the formula of inertia weight w as follows:
w = ( w max w min ) × ( max g e n × s i z e p o p q × p ) max g e n × s i z e p o p + w min
where w max represents the maximum inertia weight value, w min represents the minimum inertia weight value. max g e n indicates the maximum number of iterations, s i z e p o p is the population number, and q , p respectively represent the current iteration and the current population.

2.3.3. Building the PSO-SVM Classifier

Common kernel functions of SVM include: linear kernel function, RBF (radial basis) kernel function, polynomial kernel function and multi-layer perceptual kernel function. In this work, the RBF kernel function was selected as the inner product kernel function. Since the RBF kernel function provides great flexibility for nonlinear mapping of input data, it is useful for complex, nonlinear and inseparable classification problems. It is expressed as:
K ( x , x k ) = { x x k 2 2 σ 2 }
where x x k = k = 1 n ( x k x i k ) 2 and σ are the core widths.
Penalty factor C and kernel parameter σ are vital parameters that may affect the accuracy of SVM. In this work, the improved PSO algorithm was used to select the SVM parameters, and thus, the PSO-SVM classifier was obtained, along with the improved PSO optimization SVM parameter process as follows:
Step 1: Initialization settings, including group size, number of iterations, and randomly given C and σ as the initial positions of particles;
Step 2: Using the C and σ corresponding to the individual particle, the SVM classifier to predict the output value of the test sample was taken as the fitness value of the individual particle y i ;
Step 3: Compare the optimal adaptive values of the particles y i and y p b e s t i themselves. If y i < y p b e s t i , replace, respectively, the previous adaptive value and particle with the new adaptive value, namely y p b e s t i = y i , x p b e s t i = x i ;
Step 4: Compare the optimal adaptive values of all particles y p b e s t i and y g b e s t i . If y p b e s t i < y g b e s t , replace y g b e s t with y p b e s t i , and keep the current state;
Step 5: Determine whether the adaptive value or the number of iterations meets the required value. If not, update the state through Equations (17) and (18), and then, return to Step 3, or complete the calculation to find the most suitable parameters for SVM C and σ .

3. State Recognition Method of Insulator Based on PSO-SVM

The insulator state identification method based on the improved PSO-SVM proposed in this paper is shown in Figure 7. The specific implementation is as follows:
Step 1: Preprocess the aerial insulator image to obtain the segmented insulator image;
Step 2: Extract the HOG and GLCM features of the insulator to obtain the sample feature set data, followed by correcting and preprocessing the sample data, and divide the sample data into two parts: training samples and test samples;
Step 3: Use the training samples to train the PSO-SVM classifier to obtain the best PSO-SVM classifier;
Step 4: The test sample was served as the input data of the optimal PSO-SVM classifier, and the insulator state was detected. The completed PSO-SVM is used to evaluate the insulator classification state.
Figure 7. Overall flow chart of insulator status identification.
Figure 7. Overall flow chart of insulator status identification.
Sensors 23 00272 g007

4. Experiment and Result Analysis

4.1. Dataset and Experimental Environment

In this work, insulator images were chosen for simulation experiments. The insulator dataset was obtained partly from the GitHub website and partly by post-processing in the field, and the insulator dataset mainly contained images of insulators in normal and damaged states, as shown in Figure 8. This experiment mainly selected 212 random images from the website for the training model and then selected 76 random images taken in the field for the model test; the dataset samples are shown in Table 2.
The experimental software platform was MATLAB, mainly based on the LIBSVM software package developed by Professor Lin Zhiren of National Taiwan University for programming experiments. The specific experimental environment configuration is shown in Table 3.

4.2. Image Segmentation

The result of segmentation of the insulator example image is shown in Figure 9. Here, the image segmentation algorithm proposed in this paper was tested, that is, the region segmentation method based on morphological improvements was compared with the conventional seed region growing method and the maximum inter-class variance threshold segmentation method.
Figure 9 shows the segmentation results of normal insulator images and defective insulator images under different algorithms. Image (1) in (a) and (b) is the original image; (2) is the image segmented by means of the maximum inter-class variance threshold. Image (3) is the image segmented by the conventional seed region growing algorithm; (4) is the image segmented by the region segmentation method based on morphological improvements as proposed in this paper. It is clear from the two sets of images in Figure 4 that the segmentation method given in this work was able to effectively segment the insulator image and the background, while the other two methods failed to effectively identify the target image.

4.3. Feature Fusion Results and Analysis

To verify the effectiveness of the proposed fusion of HOG and GLCM features in insulator state recognition and classification, a comparative experiment with a single HOG feature and GLCM feature was conducted. During the experiment, the parameters of the particle swarm algorithm were set as follows: the number of particle swarms was 10; the vector dimension was 2; the maximum number of iterations was set to 200; c 1 = 1.6 ; c 2 = 1.7 ; the search range of the parameter C was [0.1, 100]; the search range of σ was [0.1, 100]. The experimental results are shown in Table 4.
In the process of insulator classification, the choice of penalty factor C and kernel function of the σ SVM plays a very important role in the classification accuracy of the model. If the value of parameter C is too large, the data will be “over-fitted” and the generalization performance of the model will be reduced, while if the value of parameter C is too small, the model will be “under-fitted”; for σ , too large a value will result in “underfitting” of the data, and too small a value will result in “overfitting”.
In order to avoid the phenomenon of two important parameters of the SVM being too large or too small, the PSO algorithm performs an intelligent search for the SVM parameters. From the performance comparison between the single feature algorithm and the fused feature algorithm for the identification and classification of insulators in PSO-SVM given in Table 4, it can be seen that the HOG, GLCM and fused features used in the classification model yield different combinations of SVM parameters, and thus, different classification results were obtained. The accuracies of HOG, GLCM and fused features are 78.95%, 50.00% and 92.11%, respectively. It can be concluded from the accuracy of the model classification that the fused features algorithm is more effective and accurate than single features in insulator classification.
From the above experimental results, it can be concluded that the fusion features of the test samples are used in the PSO-SVM insulator classification model with certain accuracy. In total, 76 images were randomly selected from 200 test images at a time during the testing process, but since the data of the whole process are small, it is difficult to judge whether the model has overfitting phenomenon; therefore, the model fitting problem is described here by the learning curves so as to judge whether the model has overfitting or underfitting phenomenon.
From the learning curve in Figure 10, we can see that the accuracy of the training set increases and then decreases as the training set increases, and finally stabilizes at around 94%, while the accuracy on the cross-validation set keeps increasing and finally stabilizes at around 92%. The difference between the classification accuracy of the classifier in the training and validation sets is very small, and the accuracy of the test set in the model is 92.11%; thus, the generalization ability of the PSO-SVM model is good and there is no overfitting phenomenon.

4.4. Model Classification Comparison

The comparison of PSO-SVM with other models was mainly involved with three aspects: machine learning, adding optimized models and deep learning. Machine learning methods, such as conventional SVM and Random Forest (RF), were compared with the algorithm PSO-SVM in this work; in optimization, the SVM model (GWO-SVM) was optimized by the gray wolf algorithm and compared with the PSO-SVM model; the PSO-SVM algorithm was also put in contrast with the classic classification models Convolutional Neural Network (CNN) in deep learning.

4.4.1. Model Evaluation

In machine learning, the classification model is mainly evaluated with four indicators: accuracy, precision, also known as sensitivity, recall, also known as specificity, and F1-score.
A c c u r a c y = T P + T N T P + F N + F P + T N
Precison = T P T P + F P
Re c a l l = T P T P + F N
F 1 _ s c o r e = 2 × P × R P + R
where TP is the number of normal samples predicted to be normal; FN is the number of normal samples predicted to be dropped; FP is the number of dropped samples predicted to be normal; TN is the number of dropped samples predicted to be dropped.

4.4.2. Comparison of PSO-SVM and Machine Learning Models

The test set samples were used to validate the model in SVM, Random Forest and the proposed model in this study, respectively. As seen in Table 5 and Figure 11, the classification result of the PSO-SVM model is more accurate than that of SVM and Random Forest, the overall performance of SVM was higher than that of Random Forest, while the accuracy rate of the PSO-SVM model went up to 92.11%, and the precision rate, recall rate and F1-score also increased to 90%, 94.74% and 92.31%, respectively. This is significantly better than the conventional SVM algorithm and RF classification algorithm. The overall classification performance of the model proposed in this work excelled in all.
In order to see the classification results of each model more clearly and intuitively, Figure 12 shows the comparison of the recognition and classification results on three models, SVM, Random Forest and PSO-SVM, for the same image selected randomly from the test set.
As can be seen from Figure 12, (a1), (b1) and (c1) are the results of a normal insulator picture identified in each of the three models, of which the SVM and PSO-SVM models identify and classify correctly; (a2), (b2) and (c2) are a defective insulator picture, and all three models can identify and classify correctly; (a3), (b3) and (c3) are the results of the same defective insulator picture for classification, of which only the PSO-SVM can identify and classify correctly.

4.4.3. Comparison of Optimization Algorithms

This paper focuses on the optimization of SVMs using the improved PSO algorithm. The Gray Wolf algorithm (GWO) is one of the many intelligent optimization algorithms that are used to optimize the SVM model for comparison with the improved PSO-SVM model in this paper. In the PSO search for optimization of SVM parameters, the cross-validation fold k = 5, and the minimum error rate of the model is the objective function; for a more effective comparison, the parameters of the gray wolf algorithm are set in the same way as the PSO parameters, such as a wolf pack size of 10, a maximum number of iterations of 200, a search range of [0.1, 100] for all parameters, a cross-validation fold k = 5, and an objective function: minimum error rate, etc. The model performance results of the gray wolf algorithm and the two algorithms after optimizing the SVM are shown in Table 6.
Table 6 shows the classification results of the test set data on the GWO-SVM model and the PSO-SVM model in terms of accuracy, precision, recall, F1 score and average time. Except for the time cost where the PSO-SVM model performs lower than the GWO-SVM model, the PSO-SVM model outperforms the GWO-SVM model in terms of overall performance analysis. The confusion matrix for the test set classification on the PSO-SVM model and the GWO-SVM model is shown in Table 7.
Figure 13 shows the comparison of the recognition and classification results of the same image on the two models. The comparison of specific images provides a more intuitive and effective demonstration of the effectiveness of the algorithm. Images (a1) and (b1) are images of the same normal insulator and are incorrectly identified and classified by both models; (a2) and (b2) are the identification results of a normal insulator image on both models, where the PSO-SVM model completes the correct identification and classification; (a3) and (b3) are images of defective insulators and are correctly identified and classified by both GWO-SVM and PSO-SVM; (a4) and (b4) are comparisons of the results of the same defective insulator image run on the two models, where only the PSO-SVM model is able to recognize and classify correctly.

4.4.4. Comparison of PSO-SVM and Convolutional Neural Network Model

The PSO-SVM model is used in this paper for state recognition classification of insulators. For comparison in other ways, the PSO-SVM model is compared here with convolutional neural networks (CNN). The comparison is made by accuracy (Ac), sensitivity (SP) and specificity (SE). The network architecture of CNN is as follows: an input layer, mainly used for color image input, with an image size of 256 × 256 × 3. Three convolution blocks are used to extract image features. Each convolution block consists of a convolution layer, a normalization layer, a ReLU layer and a pooling layer. The convolution core size of the three convolution layers is 3 × 3. The first layer has 8 convolution cores with a step size of 1, the second layer uses 64 convolution cores, the third layer uses 128 convolution cores, and each of them has a pool layer with a core size of 2 × 2. The last three layers are full connection layer, SoftMax layer and an output layer for classification. The results of the comparison of the two models are shown in Table 8 and Figure 14.
It is clear from Figure 14 and Table 8 that the performance of CNN in insulator recognition and classification is significantly lower than that of PSO-SVM model. The comparative experiments show that the algorithm proposed in this paper is feasible. One normal and one defective image each were randomly selected from the test set to compare the recognition and classification effects of the two models, which are shown in Figure 15, (a1) and (b1) are normal insulator images, which can be correctly identified and classified only by PSO-SVM; (a2) and (b2) show that the defective insulator images run on CNN and PSO-SVM, respectively, and both models can be identified and correctly classified.

5. Conclusions and Next Steps

At present, the identification of insulator shedding state is largely the job of conventional manual detection and a neural network. Manual detection of insulator shedding involves a large workload and high risk. The neural network method usually requires a large number of samples for training. In the case of limited samples or small samples, the neural network is incapable of performing the entire identification work. The support vector machine algorithm (SVM) is able to handle the issues in nonlinear, high-dimensional small sample classification, with the recognition accuracy being much higher than the neural network. The only holdback is the selection of the kernel parameters and penalty factors of the support vector machine. PSO is an optimization algorithm that works with particle swarms to optimize the parameters of support vector machines. Nevertheless, due to the problems of convergence speed and local minimum in the PSO algorithm, there are advanced PSO algorithms that have overcome the problems of the original PSO algorithm. Therefore, this paper proposes an insulator state identification method based on the improved PSO algorithm to optimize the support vector machine. This work is concluded as follows:
  • By collecting insulator pictures, preprocessing, feature extraction and selection, the insulator state recognition dataset was obtained. From the recognition results of the model, it can be concluded that this dataset stood out with excellent training performance.
  • The improved PSO was used to optimize the parameters of SVM, which solved the problem that the PSO tended to fall into a local minimum. By avoiding the inappropriate selection of SVM parameters, the performance of the SVM recognition model was optimized.
  • The results showed that the PSO-SVM insulator state recognition and classification model, as proposed in this paper, were compared with machine learning methods, neural network models and optimization algorithms. The final results proved that the PSO-SVM model was proud of the highest classification performance.
Currently, deep learning is widely used in machine vision research and has achieved very good results. There are many mature network models that can achieve better results in image recognition, such as the classical ResNet network and Yolo network. Therefore, the focus of our next research will shift to known architectures, such as ResNet and Yolo, and will use the existing data to conduct deeper research on top of these traditional classical networks.

Author Contributions

L.S. and H.H. conceived and designed the state detection of high-voltage insulators; Q.L. and H.C. designed an ameliorated PSO-SVM classifier; Y.L. (Yu Luo) and Y.L. (Yanling Luo) performed the experiment; L.S. and Q.L. built an experimental system; Q.L. analyzed the experimental results. All authors have read and agreed to the published version of the manuscript.

Funding

This research is supported by the National Natural Science Foundation of China (61873043, 61903054), China; Research Foundation of Chongqing Education Committee (grant no. KJQN201801516, KJQN201901536, and KJQN202001531), China; Natural Science Foundation of Chongqing (grant no. cstc2018jcyjAX0336), China; and in part by the graduate innovation program of Chongqing University of Science and Technology under grant no. YKJCX2020403 and YKJCX2020402.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available due to restriction of privacy.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Azevedo, F.; Dias, A.; Almeida, J.; Oliveira, A.; Ferreira, A.; Santos, T.; Martins, A.; Silva, E. LiDAR-Based Real-Time Detection and Modeling of Power Lines for Unmanned Aerial Vehicles. Sensors 2019, 19, 1812. [Google Scholar] [CrossRef] [Green Version]
  2. Ma, Y.; Li, Q.; Chu, L.; Zhou, Y.; Xu, C. Real-Time Detection and Spatial Localization of Insulators for UAV Inspection Based on Binocular Stereo Vision. Remote Sens. 2021, 13, 230. [Google Scholar] [CrossRef]
  3. Alhassan, A.B.; Zhang, X.; Shen, H.; Xu, H. Power transmission line inspection robots: A review, trends and challenges for future research. Int. J. Electr. Power Energy Syst. 2020, 118, 105862. [Google Scholar] [CrossRef]
  4. Lopez Lopez, R.; Batista Sanchez, M.J.; Perez Jimenez, M.; Arrue, B.C.; Ollero, A. Autonomous UAV System for Cleaning Insulators in Power Line Inspection and Maintenance. Sensors 2021, 21, 8488. [Google Scholar] [CrossRef]
  5. Ke, H.; Hui, W.; Li, B. Image Segmentation Method of Insulator in Transmission Line Based on Weighted Variable Fuzzy C-Means. J. Eng. Sci. Technol. Rev. 2017, 10, 115–123. [Google Scholar] [CrossRef]
  6. Wu, Q.; An, J.; Lin, B. A texture segmentation algorithm based on PCA and global minimization active contour model for aerial insulator images. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2012, 5, 1509–1518. [Google Scholar] [CrossRef]
  7. Yu, Y.; Hui, C.; Wang, Z.; Li, Y.; Li, K.; Xie, S. Texture-and-Shape Based Active Contour Model for Insulator Segmentation. IEEE Access 2019, 7, 78706–78714. [Google Scholar] [CrossRef]
  8. Yin, J.; Lu, Y.; Gong, Z.; Jiang, Y.; Yao, J. Edge Detection of High-Voltage Porcelain Insulators in Infrared Image Using Dual Parity Morphological Gradients. IEEE Access 2019, 7, 32728–32734. [Google Scholar] [CrossRef]
  9. Wang, B.; Dong, M.; Ren, M.; Wu, Z.; Guo, C.; Zhuang, T.; Pischler, O.; Xie, J. Automatic Fault Diagnosis of Infrared Insulator Images Based on Image Instance Segmentation and Temperature Analysis. IEEE Trans. Instrum. Meas. 2020, 69, 5345–5355. [Google Scholar] [CrossRef]
  10. Cui, Z.; Yang, C.; Wang, S. Insulator Semantic Segmentation in Aerial Images Based on Multiscale Feature Fusion. Complexity 2022, 2022, 2468431. [Google Scholar] [CrossRef]
  11. Prates, R.M.; Cruz, R.; Marotta, A.P.; Ramos, R.P.; Simas Filho, E.F.; Cardoso, J.S. Insulator visual non-conformity detection in overhead power distribution lines using deep learning. Comput. Electr. Eng. 2019, 78, 343–355. [Google Scholar] [CrossRef]
  12. Guo, Y.; Pang, Z.; Du, J.; Jiang, F.; Hu, Q. An Improved AlexNet for Power Edge Transmission Line Anomaly Detection. IEEE Access 2020, 8, 97830–97838. [Google Scholar] [CrossRef]
  13. Jiang, H.; Qiu, X.; Chen, J.; Liu, X.; Miao, X.; Zhuang, S. Insulator Fault Detection in Aerial Images Based on Ensemble Learning with Multi-Level Perception. IEEE Access 2019, 7, 61797–61810. [Google Scholar] [CrossRef]
  14. Liang, H.; Zuo, C.; Wei, W. Detection and Evaluation Method of Transmission Line Defects Based on Deep Learning. IEEE Access 2020, 8, 38448–38458. [Google Scholar] [CrossRef]
  15. Wen, Q.; Luo, Z.; Chen, R.; Yang, Y.; Li, G. Deep Learning Approaches on Defect Detection in High Resolution Aerial Images of Insulators. Sensors 2021, 21, 1033. [Google Scholar] [CrossRef] [PubMed]
  16. Li, X.; Su, H.; Liu, G. Insulator Defect Recognition Based on Global Detection and Local Segmentation. IEEE Access 2020, 8, 59934–59946. [Google Scholar] [CrossRef]
  17. Zhang, Z.; Huang, S.; Li, Y.; Li, H.; Hao, H. Image Detection of Insulator Defects Based on Morphological Processing and Deep Learning. Energies 2022, 15, 2465. [Google Scholar] [CrossRef]
  18. Li, F.; Xin, J.; Chen, T.; Xin, L.; Wei, Z.; Li, Y.; Zhang, Y.; Jin, H.; Tu, Y.; Zhou, X.; et al. An Automatic Detection Method of Bird’s Nest on Transmission Line Tower Based on Faster-RCNN. IEEE Access 2020, 8, 164214–164221. [Google Scholar] [CrossRef]
  19. Han, J.; Yang, Z.; Xu, H.; Hu, G.; Zhang, C.; Li, H.; Lai, S.; Zeng, H. Search Like an Eagle: A Cascaded Model for Insulator Missing Faults Detection in Aerial Images. Energies 2020, 13, 713. [Google Scholar] [CrossRef] [Green Version]
  20. Liu, C.; Wu, Y.; Liu, J.; Sun, Z.; Xu, H. Insulator Faults Detection in Aerial Images from High-Voltage Transmission Lines Based on Deep Learning Model. Appl. Sci. 2021, 11, 4647. [Google Scholar] [CrossRef]
  21. Yu, Y.; Qiu, Z.; Liao, H.; Wei, Z.; Zhu, X.; Zhou, Z. A Method Based on Multi-Network Feature Fusion and Random Forest for Foreign Objects Detection on Transmission Lines. Appl. Sci. 2022, 12, 4982. [Google Scholar] [CrossRef]
  22. Stefenon, S.F.; Singh, G.; Yow, K.-C.; Cimatti, A. Semi-ProtoPNet Deep Neural Network for the Classification of Defective Power Grid Distribution Structures. Sensors 2022, 22, 4859. [Google Scholar] [CrossRef]
  23. Stefenon, S.F.; Seman, L.O.; Neto, N.F.S.; Meyer, L.H.; Nied, A.; Yow, K.C. Echo state network applied for classification of medium voltage insulators. Int. J. Electr. Power Energy Syst. 2020, 134, 107336. [Google Scholar] [CrossRef]
  24. Stefenon, S.F.; Corso, M.P.; Nied, A.; Perez, F.L.; Yow, K.C.; Gonzalez, G.V.; Leithardt, V.R.Q. Classification of insulators using neural network based on computer vision. IET Gener. Transm. Distrib. 2021, 16, 1096–1107. [Google Scholar] [CrossRef]
  25. Sampedro, C.; Rodriguez-Vazquez, J.; Rodriguez-Ramos, A.; Carrio, A.; Campoy, P. Deep Learning-Based System for Automatic Recognition and Diagnosis of Electrical Insulator Strings. IEEE Access 2019, 7, 101283–101308. [Google Scholar] [CrossRef]
  26. Tao, X.; Zhang, D.; Wang, Z.; Liu, X.; Zhang, H.; Xu, D. Detection of Power Line Insulator Defects Using Aerial Images Analyzed with Convolutional Neural Networks. IEEE Trans. Syst. Man Cybern. Syst. 2020, 50, 1486–1498. [Google Scholar] [CrossRef]
  27. Wang, M.; Yang, C.; Chen, W.Y.; Lin, H. Power Cable Fault Classification Using Improved Bayesian Decision Algorithm. Int. J. Adv. Comput. Technol. 2012, 4, 108–115. [Google Scholar]
  28. Pernebayeva, D.; Irmanova, A.; Sadykova, D.; Bagheri, M.; James, A. High voltage outdoor insulator surface condition evaluation using aerial insulator images. High Volt. 2019, 4, 178–185. [Google Scholar] [CrossRef]
  29. Kundu, S.; Malakar, S.; Geem, Z.W.; Moon, Y.Y.; Singh, P.K.; Sarkar, R. Hough Transform-Based Angular Features for Learning-Free Handwritten Keyword Spotting. Sensors 2021, 21, 4648. [Google Scholar] [CrossRef]
  30. Kang, Z.; Huang, T.; Zeng, S.; Li, H.; Dong, L.; Zhang, C. A Method for Detection of Corn Kernel Mildew Based on Co-Clustering Algorithm with Hyperspectral Image Technology. Sensors 2022, 22, 5333. [Google Scholar] [CrossRef]
  31. Corso, M.P.; Perez, F.L.; Stefenon, S.F.; Yow, K.C.; García Ovejero, R.; Leithardt, V.R.Q. Classification of Contaminated Insulators Using k-Nearest Neighbors Based on Computer Vision. Computers 2021, 10, 112. [Google Scholar] [CrossRef]
  32. Yao, W.; Xu, Y.; Qian, Y.; Sheng, G.; Jiang, X. A Classification System for Insulation Defect Identification of Gas-Insulated Switchgear (GIS), Based on Voiceprint Recognition Technology. Appl. Sci. 2020, 10, 3995. [Google Scholar] [CrossRef]
  33. Sun, R.; Qin, G.; Li, G.; Hu, J.; Xiong, J.; Xu, H. Abnormal Conductive State Identification of the Copper Rod in a Nickel Electrolysis Procedure Based on Infrared Image Features and Position Characteristics. Appl. Sci. 2022, 12, 3691. [Google Scholar] [CrossRef]
  34. Murthy, V.S.; Tarakanath, K.; Mohanta, D.K.; Gupta, S. Insulator condition analysis for overhead distribution lines using combined wavelet support vector machine (SVM). IEEE Trans. Dielectr. Electr. Insul. 2010, 17, 89–99. [Google Scholar] [CrossRef]
  35. Reddy, M.J.B.; Chandra, B.K.; Mohanta, D.K. Condition monitoring of 11 kV distribution system insulators incorporating complex imagery using combined DOST-SVM approach. IEEE Trans. Dielectr. Electr. Insul. 2013, 20, 664–674. [Google Scholar] [CrossRef]
  36. Yan, T.; Yang, G.; Yu, J. Feature fusion-based insulator detection for aerial inspection. In Proceedings of the 2017 36th Chinese Control Conference (CCC), Dalian, China, 26–28 July 2017; pp. 10972–10977. [Google Scholar]
  37. Sun, J.; Zhang, H.; Li, Q.; Liu, H.; Lu, X.; Hou, K. Contamination degree prediction of insulator surface based on exploratory factor analysis-least square support vector machine combined model. High Volt. 2021, 6, 264–277. [Google Scholar] [CrossRef]
  38. Ma, D.; Jin, L.; He, J.; Gao, K. Classification of partial discharge severities of ceramic insulators based on texture analysis of UV pulses. High Volt. 2021, 6, 986–996. [Google Scholar] [CrossRef]
  39. Zhao, Z.; Xu, G.; Qi, Y. Representation of binary feature pooling for detection of insulator strings in infrared images. IEEE Trans. Dielectr. Electr. Insul. 2016, 23, 2858–2866. [Google Scholar] [CrossRef]
  40. Zhao, Z.; Fan, X.; Xu, G.; Zhang, L.; Qi, Y.; Zhang, K. Aggregating Deep Convolutional Feature Maps for Insulator Detection in Infrared Images. IEEE Access 2017, 5, 21831–21839. [Google Scholar] [CrossRef]
  41. Wang, X.; Guan, S.; Hua, L.; Wang, B.; He, X. Classification of spot-welded joint strength using ultrasonic signal time-frequency features and PSO-SVM method. Ultrasonics 2019, 91, 161–169. [Google Scholar] [CrossRef]
  42. Wang, D.; Zhou, L.; Dai, C.; Guo, L.; Liao, W. Insulation Defect Diagnostic Method for OIP Bushing Based on Multiclass LS-SVM and Cuckoo Search. IEEE Trans Instrum. Meas. 2020, 69, 163–172. [Google Scholar] [CrossRef]
  43. Cho, B.-H.; Kim, Y.-H.; Lee, K.-B.; Hong, Y.-K.; Kim, K.-C. Potential of Snapshot-Type Hyperspectral Imagery Using Support Vector Classifier for the Classification of Tomatoes Maturity. Sensors 2022, 22, 4378. [Google Scholar] [CrossRef] [PubMed]
  44. Zhang, Y.; Liu, B.; Shi, Q. Energy Entropy Feature and Diagnosis of Partial Discharge Wavelet Packet in GIS Based on Support Vector Machine. In Proceedings of the 2020 12th IEEE PES Asia-Pacific Power and Energy Engineering Conference (APPEEC), Nanjing, China, 20–23 September 2020; pp. 1–5. [Google Scholar]
  45. Van, M.; Hoang, D.T.; Kang, H.J. Bearing Fault Diagnosis Using a Particle Swarm Optimization-Least Squares Wavelet Support Vector Machine Classifier. Sensors 2020, 20, 3422. [Google Scholar] [CrossRef] [PubMed]
  46. Chen, H.; Li, S. Multi-Sensor Fusion by CWT-PARAFAC-IPSO-SVM for Intelligent Mechanical Fault Diagnosis. Sensors 2022, 22, 3647. [Google Scholar] [CrossRef] [PubMed]
  47. Li, N.; Zhu, L.; Ma, W.; Wang, Y.; He, F.; Zheng, A.; Zhang, X. The Identification of ECG Signals Using WT-UKF and IPSO-SVM. Sensors 2022, 22, 1962. [Google Scholar] [CrossRef] [PubMed]
  48. Moon, H.G.; Jung, Y.; Shin, B.; Lee, D.; Kim, K.; Woo, D.H.; Lee, S.; Kim, S.; Kang, C.-Y.; Lee, T.; et al. Identification of Chemical Vapor Mixture Assisted by Artificially Extended Database for Environmental Monitoring. Sensors 2022, 22, 1169. [Google Scholar] [CrossRef] [PubMed]
  49. Li, X.; Ba, Y.; Zhang, M.; Nong, M.; Yang, C.; Zhang, S. Sugarcane Nitrogen Concentration and Irrigation Level Prediction Based on UAV Multispectral Imagery. Sensors 2022, 22, 2711. [Google Scholar] [CrossRef] [PubMed]
  50. Zhang, T.; Zhang, X.; Ke, X.; Liu, C.; Zhan, X.; Wang, C.; Ahmad, I.; Zhou, Y.; Pan, D.; Li, J.; et al. HOG-ShipCLSNet: A Novel Deep Learning Network with HOG Feature Fusion for SAR Ship Classification. IEEE Trans. Geosci. Remote Sens. 2022, 60, 1–22. [Google Scholar] [CrossRef]
  51. Chen, P.; Huang, C.; Lien, C.Y.; Tsai, Y.H. An Efficient Hardware Implementation of HOG Feature Extraction for Human Detection. IEEE Trans. Intell. Transp. Syst. 2014, 15, 656–662. [Google Scholar] [CrossRef]
  52. Xiang, Z.; Tan, H.; Ye, W. The excellent properties of a dense grid-based HOG feature on face recognition compared to Gabor and LBP. IEEE Access 2018, 6, 29306–29319. [Google Scholar] [CrossRef]
  53. Ahmed, M.; Rasool, A.G.; Afzal, H.; Siddiqi, I. Improving handwriting based gender classification using ensemble classifiers. Expert Syst. Appl. 2017, 85, 158–168. [Google Scholar] [CrossRef]
  54. Poli, R.; Kennedy, J.; Blackwell, T. Particle swarm optimization. Swarm Intell. 2007, 1, 33–57. [Google Scholar] [CrossRef]
Figure 1. Insulator inspection. (a) Manual inspection. (b) UAV inspection.
Figure 1. Insulator inspection. (a) Manual inspection. (b) UAV inspection.
Sensors 23 00272 g001
Figure 2. Schematic diagram of the proposed method for insulator state detection.
Figure 2. Schematic diagram of the proposed method for insulator state detection.
Sensors 23 00272 g002
Figure 3. Region segmentation algorithm based on morphological improvements.
Figure 3. Region segmentation algorithm based on morphological improvements.
Sensors 23 00272 g003
Figure 4. Flow chart of seed region segmentation based on morphological improvement.
Figure 4. Flow chart of seed region segmentation based on morphological improvement.
Sensors 23 00272 g004
Figure 5. Way to extract the insulator HOG feature.
Figure 5. Way to extract the insulator HOG feature.
Sensors 23 00272 g005
Figure 6. Schematic diagram of the optimal classification surface.
Figure 6. Schematic diagram of the optimal classification surface.
Sensors 23 00272 g006
Figure 8. Example of insulator dataset.
Figure 8. Example of insulator dataset.
Sensors 23 00272 g008
Figure 9. Comparison of image segmentation results of insulator example images. (a) Segmentation of normal insulator images. (b) Segmentation of defective insulator images.
Figure 9. Comparison of image segmentation results of insulator example images. (a) Segmentation of normal insulator images. (b) Segmentation of defective insulator images.
Sensors 23 00272 g009
Figure 10. PSO-SVM model learning curve.
Figure 10. PSO-SVM model learning curve.
Sensors 23 00272 g010
Figure 11. Comparison of classification performance between PSO-SVM and other models.
Figure 11. Comparison of classification performance between PSO-SVM and other models.
Sensors 23 00272 g011
Figure 12. Classification results of each model for image recognition (a) SVM; (b) Random Forest; (c) PSO-SVM.
Figure 12. Classification results of each model for image recognition (a) SVM; (b) Random Forest; (c) PSO-SVM.
Sensors 23 00272 g012aSensors 23 00272 g012b
Figure 13. Image recognition classification results: (a) GWO-SVM; (b) PSO-SVM.
Figure 13. Image recognition classification results: (a) GWO-SVM; (b) PSO-SVM.
Sensors 23 00272 g013
Figure 14. Classification comparison of PSO-SVM and neural network model.
Figure 14. Classification comparison of PSO-SVM and neural network model.
Sensors 23 00272 g014
Figure 15. Classification results of each model test set: (a) CNN; (b) PSO-SVM.
Figure 15. Classification results of each model test set: (a) CNN; (b) PSO-SVM.
Sensors 23 00272 g015
Table 1. Literature summary of SVM studies.
Table 1. Literature summary of SVM studies.
Literature
(Year)
AuthorResearch ObjectResearch MethodsExperimental Results
[39]
(2016)
Zhao et al.Image recognition of infrared insulators with complex backgroundsBinary feature pools represent insulator shape features, which are identified under SVM.Accuracy: 89.1026%
[40]
(2017)
Zhao et al.Insulator Pipe InspectionAn advanced discriminative convolutional neural network (CNN) extracted the features of the insulators and trained an SVM for classification.Accuracy rate: 93%
[41]
(2019)
Wang et al.Classifications of Welding Quality of 100 Resistance Spots Feature extraction in time domain, frequency domain and wavelet domain were performed on the detected signal, and a particle swarm optimization support vector machine (PSO-SVM) classifier was constructed.Accuracy rate: 95%
[42]
(2020)
Wang et al.Diagnosis of insulation defects in OIP bushings (defects such as aging, moisture)The cuckoo search (CS) algorithm optimized the parameters of the multi-class LS-SVM, used the frequency domain dielectric spectroscopy (FDS) method to obtain the data features, and built the multi-class LS-SVM model.Accuracy rate: 96.25%
[43]
(2022)
Cho et al.Tomato maturity classification in hydroponic greenhouses (green, broken, turned, pink, light red and red)PCA processed the tomato data and allowed a support vector machine (SVC) to train the model.Accuracy rate: 75%
F1 score: 86%.
[44]
(2020)
Zhang et al.Identification of GIS fault type in insulation faultThe energy entropy features of partial discharge wavelet packets of gas-insulated switchgear (GIS) on high-voltage guide rods are extracted for fault identification under SVM.Accuracy: 98.125%
[45]
(2020)
Van et al.Bearing Fault DiagnosisThe Max-Relevance and Min-Redundancy (mRMR) method was used to establish feature subsets, and the particle swarm optimization least square wavelet support vector machine (PSO-LSWSVM) classifier was constructed.Accuracy: 95.33%
[46]
(2022)
Chen et al.Centrifugal Pump TroubleshootingContinuous wavelet transform (CWT) was performed to obtain data, and parallel factor analysis (PARAFAC) method was employed to extract features for training the IPSO-SVM model.Correct rate: 100%
[47]
(2022)
Li et al.ECG signal recognitionUnscented Kalman filter denoising was combined with wavelet localization method to detect feature points and compose feature data for training IPSO-SVM model.Average accuracy: 95.17%
[48]
(2022)
Moon et al.Identification of single target vapors of NO2, HCHO and NH3 and their mixturesSVM classifier trained with artificial steam database.Recognition rate: 95.24%
[49]
(2022)
Li et al.Irrigation level classification of sugarcaneFive spectral features highly correlated with irrigation level were used as feature input to construct SVM classifier.Accuracy rate: 80.6%
Table 2. Dataset samples.
Table 2. Dataset samples.
DatasetTraining SetTest SetTotal
Normal image10638144
Defect image10638144
Total21276288
Table 3. Experimental environment configuration.
Table 3. Experimental environment configuration.
DesignationVersion
Operating systemWindows 10 64 bi
CPU11th Gen Intel(R) Core (TM) i5-1135G7 @ 2.40 GHz 2.42 GHz
Memory16.0 GB
MATLABR2020a
LIBSVM3.24
Table 4. Classification performance of three features in PSO-SVM.
Table 4. Classification performance of three features in PSO-SVM.
Feature Extraction AlgorithmHOGGLCMHOG + GLCM
C3.734.7717.90
σ 0.109.800.53
Average time80.28 s85.35 s92.58 s
Accuracy78.95%50.00%92.11%
Table 5. Classification results of test sets on different models.
Table 5. Classification results of test sets on different models.
ModelsNumber of Misclassifications/NumbersAccuracy Rate/%Precision Rate/%Recall Rate/%F1-Score/%
Normal SampleDefective Sample
SVM2689.4785.7194.7490
Random Forest41180.2675.5689.4781.93
PSO-SVM2492.119094.7492.31
Table 6. Comparison of different optimization methods.
Table 6. Comparison of different optimization methods.
ModelAccuracy RatePrecision RateRecall RateF1-ScoreAverage Time
GWO-SVM81.58%81.58%81.58%81.58%78.24 s
PSO-SVM92.11%90%94.74%92.31%92.58 s
Table 7. Insulator image classification results.
Table 7. Insulator image classification results.
GWO-SVMPSO-SVM
Normal Insulator DiagramDefective Insulator DiagramNormal Insulator DiagramDefective Insulator Diagram
Normal Insulator Diagram317362
Defective insulator diagram731434
Table 8. Classification results of the test set on different models.
Table 8. Classification results of the test set on different models.
ModelAccuracy RateSensitivitySpecificityAverage Time
CNN78.95%86.67%68.42%98.77 s
PSO-SVM92.11%90%94.74%92.58 s
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

Song, L.; Liang, Q.; Chen, H.; Hu, H.; Luo, Y.; Luo, Y. A New Approach to Optimize SVM for Insulator State Identification Based on Improved PSO Algorithm. Sensors 2023, 23, 272. https://doi.org/10.3390/s23010272

AMA Style

Song L, Liang Q, Chen H, Hu H, Luo Y, Luo Y. A New Approach to Optimize SVM for Insulator State Identification Based on Improved PSO Algorithm. Sensors. 2023; 23(1):272. https://doi.org/10.3390/s23010272

Chicago/Turabian Style

Song, Lepeng, Qin Liang, Hui Chen, Hao Hu, Yu Luo, and Yanling Luo. 2023. "A New Approach to Optimize SVM for Insulator State Identification Based on Improved PSO Algorithm" Sensors 23, no. 1: 272. https://doi.org/10.3390/s23010272

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