Next Article in Journal
An Enhanced Map-Matching Algorithm for Real-Time Position Accuracy Improvement with a Low-Cost GPS Receiver
Previous Article in Journal
Bistatic Forward-Looking SAR Moving Target Detection Method Based on Joint Clutter Cancellation in Echo-Image Domain with Three Receiving Channels
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Robust Powerline Equipment Inspection System Based on a Convolutional Neural Network

1
Department of Computer Science & Engineering, Sogang University, 35 Baekbeom-ro, Mapo-gu, Seoul 04107, Korea
2
Department of Electronic Engineering, NED University of Engineering & Technology, Karachi-75270, Pakistan
3
Department of Software, Gachon University, 1342 Seongnamdae-ro, Sujeong-gu, Seongnam 13120, Korea
4
Smart Distribution Lab. SW Platform Center, KEPCO Research Institute, 105 Moonji-ro, Daejeon 34056, Korea
5
ST Vision, 35 Baekbeom-ro, Mapo-gu, Seoul 04107, Korea
*
Author to whom correspondence should be addressed.
Sensors 2018, 18(11), 3837; https://doi.org/10.3390/s18113837
Submission received: 4 October 2018 / Revised: 3 November 2018 / Accepted: 6 November 2018 / Published: 8 November 2018
(This article belongs to the Section Sensor Networks)

Abstract

:
Electric power line equipment such as insulators, cut-out-switches, and lightning-arresters play important roles in ensuring a safe and uninterrupted power supply. Unfortunately, their continuous exposure to rugged environmental conditions may cause physical or electrical defects in them which may lead to the failure to the electrical system. In this paper, we present an automatic real-time electrical equipment detection and defect analysis system. Unlike previous handcrafted feature-based approaches, the proposed system utilizes a Convolutional Neural Network (CNN)-based equipment detection framework, making it possible to detect 17 different types of powerline insulators in a highly cluttered environment. We also propose a novel rotation normalization and ellipse detection method that play vital roles in the defect analysis process. Finally, we present a novel defect analyzer that is capable of detecting gunshot defects occurring in electrical equipment. The proposed system uses two cameras; a low-resolution camera that detects insulators from long-shot images, and a high-resolution camera which captures close-shot images of the equipment at high-resolution that helps for effective defect analysis. We demonstrate the performances of the proposed real-time equipment detection with up to 93% recall with 92% precision, and defect analysis system with up to 98% accuracy, on a large evaluation dataset. Experimental results show that the proposed system achieves state-of-the-art performance in automatic powerline equipment inspection.

1. Introduction

Powerline equipment such as insulators, cut-out-switches, and lightning arresters plays vital roles, on either the power generation or the distribution side, for the safe delivery of electricity to the end user [1]. Since these equipment has to bear severe weather conditions, high mechanical tension, and extreme voltage power, they are easily damaged, in which case they must be replaced or repaired before their electrical life end [2]. Due to the uncertainty of the life of these insulators, electric companies must take preventive measures to monitor these insulators. Traditional monitoring methods require electric repairmen to climb the pole and visually or electrically analyze the defects, which is time-consuming, labor-intensive and dangerous. Nowadays, some electric companies have started using patrolling helicopters for high power lines in remote areas and ground vehicles in urban areas to take high-resolution pictures or videos of the power lines, poles, and insulators, and then analyze them for their potential defects [3].
Recent studies and advancements in the field of image processing and computer vision, especially the development of Convolutional Neural Networks (CNN) have enabled improving the performance of image analysis at the level of near human intelligence. On the other hand, with the rapidly expanding scale of power grids, traditional methods of manual inspection using electromagnetic field meters is far from satisfying the growing demand, due to the vulnerability to bad weather conditions and high prices [4,5,6]. Consequently, in recent years, many researchers have developed image processing techniques to detect electrical facilities including power lines [7,8,9,10], electric poles [11,12,13] and insulators [14,15,16,17] and analyze their defects [18] using aerial or ground images. Based on the availability of a large database of electromagnetic signals emitted by defected and healthy insulators, automatic signal classification using neural networks [19,20] can also help to detect defective electrical equipment.
Zhang et al. [17] presented a simple method to detect insulators from aerial images by binarizing the intensity image and then applying morphological operations. However, the detection is limited to tempered glass insulators only, and the selection criteria of the adaptive threshold for various lighting conditions is not addressed. Some researchers have also suggested the use of color features for the insulator detection [14,15], which is only applicable to glass insulators.
Edge-based feature extractors were proposed in [16,21] to detect porcelain insulators from images taken from unmanned aerial vehicles (UAVs) and high-voltage live-line cleaning robots (HLCRs), respectively. Neither of the two studies presented sufficient experimental results to support the robustness of their proposed methods against the cluttered background.
Zhao et al. [22] proposed an insulator lattice model by grouping the appearance similarities of the glass and porcelain insulator and subsequently performing lattice finding using the Markov Random Field (MRF) model, combined with the spatial context information to localize multiple insulators jointly. Although the proposed method is robust against the complex background, its effectiveness is guaranteed only when a group of insulators appears together in the image, which limits the application of this method. Liao and An [23] proposed a robust multiscale and multi-feature (MSMF) descriptor based on local features and spatial orders for insulator detection in aerial images. In [24], Haar-like rectangular features and AdaBoost were used for the insulator detection. They used synthesized 3D insulator images as positive samples to train the classifier and showed significant improvement in the recognition accuracy. However, both methods [23,24] can only detect insulators in long-distance low-resolution images that are inapt for further defect analysis.
Li et al. [25] used vertical profile projection curves as the insulators’ shape features, and a SVM classifier to detect them. Wang et al. [26] proposed a Gabor features and SVM-based insulator detection method. Both shape features [25,26] rely upon the repeating pattern on the insulator, which is well observed only when the insulator images are taken at near frontal viewpoint. Consequently, insulator images with out-of-plane rotation remain unhandled by these methods. Li et al. [2] proposed to use local and global saliency map for segmenting insulators. However, their method only works when the texture and intensity of the background and the foreground regions are distinctive. This condition normally occurs only when aerial images of insulators are taken from a closer proximity.
Even though there are several proposed systems for automatic insulator detection from aerial images, the high price, and low stability make them less practical. Moreover, aerial vehicles are more susceptible to ill weather conditions (e.g., strong winds). Therefore, the ground vehicle-based systems were proposed for insulator detection [16,27,28,29] and subsequent defect analysis. Li et al. [16] used the improved MPEG-7 edge histogram descriptor (EHD) to recognize insulators from videos taken from the ground. Murthy et al. [27] computed wavelet-transform-based features and used a SVM classifier for the analysis of insulator condition. In their other work [28], they extracted features by applying a wavelet transform and subsequently utilized a hidden Markov model to segregate the damaged insulators from good ones. However, the insulator detection mechanisms in both studies [27,28] were not clearly described. Moreover, the pole detection method in [28] is based on simple edge template matching, which only works well when the poles are located against a clear background.
Oberweger et al. [30] presented a novel approach to detect insulators in aerial images based on discriminative training of local gradient-based descriptors and a RANSAC-based voting scheme. However, their scheme cannot detect multiple insulators from a single image. Jabid and Uddin [29] used a classical sliding window-based detection method with local directional pattern (LDP) feature and SVM classifier. Their method not only scales the input image to multiple sizes but also rotates the input image at multiple orientations in order to address the size and rotation variations, which slows down the detection process.
Developing a successful insulator monitoring system is a challenging problem due to the large variations in the appearances of insulators caused by scale, viewpoint, color and occlusion [22]. Cluttered backgrounds also increase the complexity of the problem and often increase the computational cost and decrease the detection rate. Most of the existing insulator detection methods address only a subset of the variations without having the capability of handling all of them. In contrast, features extracted from pre-trained CNN such as OverFeat have been successfully used in computer vision tasks such as scene recognition, object attribute detection and achieves improved results compared to handcrafted features [31]. This is the major motivation of using CNN for the detection of electrical equipment in our work. Given the power of CNN features, our work aims to automatically select the best features for various types of equipment in the CNN training routine.
In this paper, we propose a complete real-time electrical equipment monitoring system which can detect various types of insulators from live video, taken from a dual camera system mounted on the rooftop of a ground vehicle, and subsequently analyze the images for potential defects. Since most of the electrical equipment discussed in this paper are insulators, we will use the term insulator to represent all other electrical equipment throughout this paper. The camera system contains two cameras inside its casing: (1) a low-resolution (LR) camera that takes a long shot image covering many objects of interests (i.e., insulators), and (2) a high-resolution (HR) camera that focus on to these objects of interest by panning, tilting and zooming. In order to assist the camera system to detect insulators in low-resolution and high-resolution images, we trained multiple CNN-based insulator detectors. To the best of our knowledge, there has been no study where CNN was effectively used to detect and classify different types of powerline insulators (reference [32] used CNN for defect analysis, not insulator detection). The CNN-based insulator detector first detects many insulators from the low-resolution images by reading frames from the memory of the LR-camera and then passes the locations of those insulators to the HR-camera. The HR-camera then zooms into those locations and takes high-resolution images of the insulators. Another CNN-based insulator detector helps to accurately crop the high-resolution images of the insulator and passes those images to the defect analysis module. The proposed insulator detection and defect analysis system is highly robust against the cluttered background, occlusion, arbitrary orientations, diverse lighting conditions, and viewpoint changes.
To contrast the proposed scheme, the pros and cons of the previous work are summarized in Table 1. We list the number of electrical equipment that can be detected, variations and amount of complexity in the background of the images that can be handled, and the major drawbacks inherited by the previous work.
One of the most salient features of the proposed scheme is the ability to detect 17 different types of electrical equipment. Moreover, most of the existing methods present naïve approaches of thresholding the color or intensity image using a single threshold [1,14,15,16,17,25,26,33,34,35,36], and hence these methods are sensitive to color and lighting variations. In order to show the robustness of the our proposed method, we evaluated our method on a large dataset of 644 cluttered insulator images, while the methods described by [17,22,24,26,33,36] used small datasets of 2, 3, 4, 5, 10, and 74 images, respectively, and the methods in [2,21] tested their algorithm on a single image. Although [23] used 100 images for training their model, they tested their system on the same 100 images, hence the robustness of these algorithms cannot be guaranteed.
Lastly, by looking at Table 1, we can observe that only the proposed scheme provides robustness against all four types of variations, while the schemes in [29,30,37] guarantee partial robustness against out-of-plane rotation. Out of these four, the proposed scheme is the one that provides the highest precision and recall. Moreover, the scheme in [30] cannot detect multiple insulators in one image, while the proposed method can detect 17 different types of insulators in a single image. The scheme in [29] can only detect one type of insulator, and also suffers from low detection speed as discussed earlier. The scheme in [37] requires a camera with LED illuminators to illuminate extra light on the insulators so that they can be easily distinguished from the background. Moreover, their setup is only feasible for railway systems, where the distance between camera and insulators is small as compared with the distance between ground vehicle and powerline insulators.
After the detailed review of the related work and introduction of the proposed method, we highlight the main contributions of this study as the following:
(1)
Unlike earlier studies that use handcraft features, we explore the robustness of the CNN features and use them for the task of multi-type insulator detection in a highly cluttered environment.
(2)
We present an ellipse detection method specifically designed for segmenting the caps from various types of insulators.
(3)
We propose a novel insulator rotation normalization method that normalizes the in-plane rotation of insulators, irrespective of their types.
(4)
We propose a novel defect analysis method that can detect gunshot defect in polymer insulators.
(5)
We present a complete automatic real-time multi-type insulator detection and defect analysis system.
The rest of this paper is organized as follows: in Section 2, we provide a detailed overview of the proposed system and discuss the multi-type insulator detection mechanism and the experimental setups used to train those detectors. We also present a novel rotation normalization method for various types of insulators, whereas in Section 3 we describe the proposed defect analysis system and its components, along with the ellipse detector algorithm. With the comparison to the state-of-the-arts in Section 4, we provide the experimental results and performance analysis of the complete insulator detection and defect analysis system. Finally, we draw the conclusion of our study with future directions in Section 5.

2. Overview of the Proposed System

This section presents a detailed overview of the proposed system. A brief introduction to the types of insulators our system can detect is given in Figure 1. In every insulator type, the repeating circular shaped part is called the “Cap” and the rod passing through the center of these caps is called the “Core” or “Sheath.” As shown in Figure 1, the proposed system can detect 17 different types of electrical equipment, having different shapes, sizes, and colors. Depending upon the availability of image data, the proposed system can be trained to detect more equipment with minor modifications in the training and detection routines.
The overall system diagram of the proposed real-time multi-type insulator detection and defect analysis system is shown in Figure 2. In the first stage, the video acquisition module (ground vehicle with the proposed camera system mounted on its rooftop) captures the video of the top part of the poles (where the insulators are installed) on the streets. This video is captured by the low-resolution camera. In the LR detection stage, the frames of this video are processed by a CNN-based rotation invariant multi-type insulator detector. As the insulator images captured by the fixed camera are of low-resolution, hence we refer to this detector as LR (low-resolution) detector throughout this paper. The LR detector passes the coordinates of the bounding boxes of the detected insulators to the HR-camera module, which takes the high-resolution close shot of all the insulators. As the vehicle is continuously moving, and the camera system has some delay in taking pictures, the HR-camera covers some extra area around the detected insulator to compensate for vehicle movement and capturing delay. For defect analysis, we need a tighter window around the insulators, so we pass the high-resolution images to another CNN-based rotation-invariant multi-type insulator detector named HR_1 (high-resolution) detector which provides more precise bounding box around the insulator body, as shown in Figure 2. The detected insulators can appear in any arbitrary orientation, hence in order to normalize the rotation of the insulators, we apply a rotation normalization method, which rotates (all types of) insulators such that the line passing through the core/shed of the insulator becomes parallel to the horizontal axis.
The rotated high-resolution images still contain extra space around the insulators, therefore, another CNN-based multi-type insulator detector named HR_2 is applied to the rotated high-resolution images, which finally give the precise bounding boxes around different types of insulators, as shown in Figure 2. The tightly cropped insulator is passed to the ellipse detector for segmenting each cap from the insulator, as shown in Figure 2. Finally, the cropped caps are passed to the defect analysis module which computes the percentage of defects in each cap. In the later subsections, we give the implementation details of the various steps shown in the system diagram of Figure 2.

2.1. CNN-Based Robust Insulator Detector

In contrast with the handcraft features used in the previous studies, the proposed system uses CNN for the detection of different types of powerline insulators. We believe that the lack of availability of the annotated insulator images is one of the reasons why CNN was not used in previous studies. In our work, we acquired and annotated a large and diverse set of insulator images (i.e., both, long-shot low-resolution and close-shot high-resolution images) to train the CNN-based multi-type insulator detectors.
We used Darknet’s open source neural network framework and object detection system, You Look Only Once (YOLO) version 2 [39], which is the state-of-the-art, real-time object detection method, written in C and CUDA (Compute Unified Device Architecture) programming languages. The high detection speed of YOLO reaches 50–60 frames per second on NVIDIA GeForce 1080 GPU (NVIDIA Corporation, Santa Clara, CA, USA), which makes it a suitable candidate to develop real-time applications. The high detection speed comes from the fact that YOLO divides the whole image into fixed sized regions and predicts bounding boxes and probabilities or confidence scores for each region, rather than generating the region proposals first and then applying the detection network to those regions separately [40]. As described earlier, the proposed system contains three CNN-based multi-type insulator detectors, LR, HR_1, and HR_2. In the following subsections, we explain the training and detection processes of each detector.

2.1.1. Rotation Invariant Multi-Type LR Insulator Detector

The LR detector is trained to detect different types of insulators from long shot low-resolution images taken by the LR camera. The detector divides the entire image into fixed sized B × B regions to detect objects. We clustered the ground truth bounding box sizes into 5 groups and set the size of B = 7 based on the average size of the bounding boxes in the major clusters. Different types of COS insulators (i.e., porcelain type, polymer type, etc.) appear very similar in the long shot images of low-resolution, as different types of LP, LA and add-on insulators. Moreover, the class information is ignored by the next step in the pipeline (as shown in Figure 2), because the class information is only used at the defect analysis step. Therefore, we combined the sub-classes of COS (Figure 1(d-1)–(d-3)), LA (Figure 1(c-1)–(c-3)), LP (Figure 1(e-1)–(e-4)) and add-on (Figure 1(f-1)–(f-5)) into their base classes, respectively. Finally, LR detector is trained with 6 classes, i.e., polymer insulator, porcelain insulator, COS, LA, LP, and add-on, denoted by Ins_L, C_Ins_L, COS_L, LA_L, LP_L, and COS_Ins_L, respectively in Figure 3. We divide the entire image set into training and test sets. We kept a steady learning rate of 0.001 throughout the 45,000 training epochs. Figure 3 shows some of the example detection results in long-shot low-resolution images.
It can be seen in Figure 3, the CNN-based rotation invariant multi-type LR insulator detector is robust against various viewing angles, scales, aspect ratios, partial occlusions, lighting variations, and cluttered environment. The background becomes more complex as we deal with close-shot high-resolution images due to the presence of other types of insulators in the background, which is discussed next.

2.1.2. Rotation Invariant Multi-Type HR_1 Insulator Detector

The image resolutions of the insulators detected by the LR detector is not sufficiently high to be used for defect analysis, hence the bounding boxes detected by the LR detector are passed to the HR camera module, which in turn guides the HR camera to pan and/or tilt and/or zoom in order to take high-resolution images of different types of insulators. Although HR_1 detector is trained to detect all the 17 different types of insulators shown in Figure 1, we combine the detection information (i.e., class labels) of each insulator into their base class (similar to what we did for training the LR detector) because the class information is ignored by the next step in the pipeline (see Figure 2). The HR_1 detector is learned with a faster learning rate for the first half of the network training process so that the network can quickly learn to distinguish between different types of insulators. In the second half of the training process, the learning rate is slowed down by a factor of 10 in order for the network to slowly learn the details of the shape, color, and context of the different types of insulators. The HR_1 detector is also robust against lighting conditions, viewpoint variations, partial occlusion, rotation, insulator sizes, and cluttered background, which is evident from the example detection results shown in Figure 4.

2.1.3. Multi-Type HR_2 Insulator Detector

As can be seen in Figure 4, the bounding boxes around the detected insulators do not tightly enclose the insulators because the insulators appear at arbitrary orientations. The proposed ellipse detection method (see Figure 2) requires that; (a) the insulator bodies must lie horizontal and, (b) the bounding boxes around the insulators’ bodies are as tight as possible for accurate ellipse detection. Hence, we apply a novel rotation normalization method (covered in Section 2.2), capable of estimating and normalizing the in-plane rotations of insulators of all types. Once the in-plane rotations of insulators are normalized, the HR_2 detector detects the bounding boxes that tightly enclose insulators. In order to train HR_2, we use rotation normalized insulator images. During annotation of the training images, we rotate and tag the bounding boxes around the insulators. The amount of rotation is used to generate the rotation normalized images for training HR_2 detector, whereas the same training images without rotation normalization are utilized for training HR_1 detector. We kept the value of parameter B = 5 for training HR_2 detector and trained the network with the same method as we used to train HR_1 detector. Each type of CNN-based detector returns a confidence score [ 0 ,   1 ] along with the bounding box coordinates of the detected equipment. In order to reject detection results with a low confidence score, we applied a detection threshold for each type of CNN-based detectors, i.e., LR, HR_1, and HR_2. The detection results of the HR_2 detector are shown in Figure 5. The average detection time of the HR_2 detector (20 ms) is negligible, so it does not negatively affect the real-time performance of the proposed system. The novel rotation normalization approach is explained in the following subsection.

2.2. Insulator Rotation Normalization Method

Rotation normalization of insulator images is an essential process in our proposed system. The novel rotation normalization algorithm is designed in such a way that it can estimate the orientation of the insulators regardless of their types. We exploited the appearance symmetry property of the insulators’ shape and the spatial context information to design a robust algorithm for estimating the orientation of the insulators. The algorithm is comprised of the following steps:
(1)
In order to find the best rotation angle, the edge map of the detected insulator in the high-resolution image is computed using the Canny edge detector. The edge map is rotated to all possible angles between 1 to 180 degrees.
(2)
Low-level visual features of all the edge maps are analyzed exhaustively; feature points are extracted and clustered by their appearance similarities.
(3)
The appearance similarity between any two feature points is computed by folding the edge map with respect to the center of the two feature points and then applying convolution.
(4)
High convolution score implies that the feature points in the two folds have high appearance similarity. Hence, we do max voting on convolution scores to find candidate point cluster which is consistent with the geometrical relationship of the insulator shape.
(5)
Finally, a tight bounding box encapsulating the maximum voted point cluster is returned, whose longest side represents the final orientation of the insulator.
The rotation normalized images are fed to HR_2 detector, which returns a tighter bounding box around the insulator body. The tightly cropped insulator image is then passed to the novel ellipse detector module for individual cap segmentation, which is covered in the next section.

3. Defect Analyzer

3.1. The Ellipse Detector

In order to find the defects on insulator caps, we need to analyze each and every cap separately, for which the caps of the insulator are segmented. In contrast with the color [26] based segmentation schemes which is sensitive to color and lighting variations, we propose the segmentation of the caps of the insulators using ellipse detector. Ellipse detection based cap segmentation is not only robust against color and lighting variations but also able to detect caps under major occlusion which is also unhandled by the scheme in [26]. However, traditional ellipse detection methods tend to suffer from high false positive detections due to the noisy edge map of the insulator images, and they do not take into account the appearance symmetry (same sized, equally spaced caps/sheds) prior inherited by the different insulators which can be utilized for more accurate ellipse detection. We present an ellipse detection method which takes into account the structural symmetry, number of caps, shape and other prior information for the cap detection. The overall algorithm can be broken down into three steps, i.e., (i) pre-processing the edge map and labeling the arcs, (ii) selecting proper arcs and fitting ellipse onto them, and finally, (iii) some post-processing steps to refine detection results. Even though these three basic steps are similar to the one proposed in [41,42], but we made significant changes in the underlying algorithm. The detailed steps involved in the ellipse detection algorithm are described in the following subsections.

3.1.1. Adaptive Thresholding

Our ellipse detection algorithm starts with finding the edge map of the insulator image. We use the Canny Edge Detector with adaptive thresholding. In contrast with automatic thresholding used by [41,42], we formulate the adaptive threshold as a function of two terms, i.e., the total number of edges remaining in the edge map, and the minimum allowed length of the edges. Let the total number of edges in the edge map be N , l i be the length of the ith edge, t h e l be the minimum allowed edge length, t h c a n n y be the threshold in Canny edge detection, and N be the number of remaining edges when an edge length threshold is applied to the edge map, then:
N =   i = 0 N l i ,   where   l i >   t h e l
It is obvious that N depends on t h c a n n y and t h e l . We fixed the value of t h e l = 30 pixels based on the prior information of the sizes of caps in various insulators, hence N only depends on t h c a n n y . For ellipse detection in insulator images, we must have a minimum number of remaining edges ( N m i n ) in the edge map, for better ellipse detection. Hence, in order to adaptively adjust the t h c a n n y , we iteratively search the proper value of t h c a n n y in a gradient decent manner, until N     N m i n . Figure 6a shows the intermediate results of the iteration process. A different automatic thresholding method is used in [41,42], which is removing 20% of the edge pixels first, and then finding the bin index of maximum count from the histogram of edge gradients.

3.1.2. Insulator Core Removal

One prior information about all the types of insulators is that a core passes through the center of the caps. The core has horizontal edges in the edge map that are sometimes connected with the edges of the caps, as shown in Figure 6a, which negatively affects the ellipse/cap detection. Hence, we remove the center part of the insulator that contains the core from edge map, which consequently removes the noisy edges at the center as shown in Figure 6b. The prior information about the sizes of insulators decides the amount of area to be removed from the center part of the edge map. Neither of [41,42] removes parts of the object for noise removal, before ellipse detection.

3.1.3. Edge Refinement

Next we apply edge refinement steps to obtain arcs of good quality for robust ellipse detection. Let e i be the ith edge point in the edge map, characterized by its position and edge gradient as e i = ( x i ,     y i ;   θ i ) . Also, let I x ,   I y , I x y represent the first order derivatives in x, y, and xy directions, respectively, then D x ( e i ) = s i g n ( I x ) represents the direction of the edge gradient. Firstly, we remove the edges that are bigger in size but their contour is flat, i.e., D x y = | c o n s t a n t | . This type of edge normally shows up when insulator is partly occluded by a powerline. Secondly, we remove the edge points that lie on horizontal ( D y = 0 ) or vertical ( D x = 0 ) edge gradients. Thirdly, we remove the edge points that form a local minima, and local maxima as shown in Figure 6c,d, respectively. Finally, we remove the edge points that forms a junction between three or more edges, as shown in Figure 6e. Edge refinement method given in [41,42] only removes smaller edges and edges forming horizontal and/or vertical lines.

3.1.4. Arc Labeling

Next, we compute the convexities and directions of all the arcs according to [41], and label all the arcs with the quadrants they belong to, based on the values of their convexities and edge gradients directions. Let C : α k ( + , ) ,   then   C ( α k ) = + denotes that the kth arc represented by α k is upper convex, and vice versa. Let the quadratic labels are represented by Q I , Q I I , Q I I I and Q I V , and consider the edge gradient directions are computed in an anti-clock wise manner, then the quadratic labels are assigned using Equation (2) as shown in Figure 6f:
Q ( α k ) =   { Q I i f   ( C ( α k ) ,   D y ( α k ) ) = ( + ,   + ) Q I I i f   ( C ( α k ) ,   D y ( α k ) ) = ( + ,   ) Q I I I i f   ( C ( α k ) ,   D y ( α k ) ) = ( ,   ) Q I V i f   ( C ( α k ) ,   D y ( α k ) ) = ( ,   + )
where Q is a function that maps α k to one of the four quadrants, i.e., Q :   α k { Q I ,   Q I I ,   Q I I I ,   Q I V } .

3.1.5. Arc Triplet Selection-Constraint 1

It is clear from Figure 6f that an ellipse can be formed if and only if we combine the arcs having non-overlapping quadratic labels. Let us define the arc triplet as ζ a b c = ( α a , α b , α c ), then the arc triple ζ a b c is selected, if and only if, ( α a , α b , α c ) maps to one of the triplets of ( Q I ,   Q I I ,   Q I I I ) , ( Q I ,   Q I I ,   Q I V ) , ( Q I ,   Q I I I ,   Q I V ) , or ( Q I I , Q I I I , Q I V ) .

3.1.6. Arc Triplet Selection-Constraint 2

The tightly cropped insulator image returned by the HR_2 detector helps in the implementation of the second constraint which allows the selection of the arc triplet, present within a possible geometrical proximity. As shown in Figure 6g, depending upon the viewpoint of the image, value of the length of the minor axis of the caps can take values in a certain range, which gives an upper limit of the possible geometrical proximity of the arcs triplet. As the methods in [41,42] are proposed for ellipse detection in general cases, they do not consider constraint 2 as in our case.
Let e a and e b denote the lengths of major and minor axes of an ellipse. Due to the tight cropping on insulator image by the HR_2 detector, h i = e a , where h i represents the height of the image. Also the maximum possible e b , e b m a x , is equal to h i or e a . Let P a ( x a ,   y a ) , P b ( x b ,   y b ) and P c ( x c ,   y c ) be the center points of the arcs α a , α b and α c , respectively, then according to the second constraint, we select the candidate arc triplet ζ a b c if and only if, it satisfies one of the following conditions:
(i)
ζ a b c   =   ( Q I ,   Q I I ,   Q I I I ) if ( ( x a x b ) < h i ( x a   x c ) <   h i )
(ii)
ζ a b c = ( Q I ,   Q I I , Q I V ) if ( ( x a x b ) < h i ( x c   x b ) <   h i )
(iii)
ζ a b c =   ( Q I I ,   Q I I I ,   Q I V ) if ( ( x c x a ) < h i   ( x c   x b ) <   h i )
(iv)
ζ a b c     ( Q I ,   Q I I I ,   Q I V ) if ( ( x a x b ) < h i   ( x c   x b ) <   h i )
The two constraints imposed by the algorithm not only enable better arc selection but also cut down tremendous processing time.

3.1.7. Ellipse Parameter Estimation and Candidate Ellipse Selection

Next, we fit an ellipse with direct least square fitting of ellipses method [43] using a set of points P from the three selected arcs. Let us represent a general conic by a second order polynomial:
F ( , x ) = . x = a x 2 + b x y + c y 2 + d x + e y + f = 0
where   =   [ a   b   c   d   e   f ] T and x = [ x 2   x y   y 2   x   y   1 ] T . F ( ; x i ) is called the algebraic distance of a point ( x , y ) to the conic F ( , x ) =   0 . The fitting of the general conic may be realized by minimizing the sum of the squared distances of the curve to the M data points, x i .
Once the proposed algorithm selects arc triplet, we pick five equally spaced points from each of the three arcs. Let S p and T P be the sampled and true points of an ellipse respectively, and S p   T P , where p = 15 (selected points) and P is the total number of points in all the three arcs, and compute an ellipse using Equation (3). Readers are encouraged to refer [43] for more details about solving Equation (3).
If the set S p does not form a single ellipse or includes non-arc parts (e.g., noisy edges), the ellipse will not fit all the points T P on the three arcs as shown with red markers in Figure 6h. This gives us a final constraint to validate the ellipse. In order to find the overlap between the predicted ellipse E and the points T P , we compute the goodness-of-fit. Let T i n be the ith point on nth arc triple, E o represent the oth predicted ellipse, then we define a function f ( T i n ,   E o ) that returns a point ( x i , y i ) on the predicted ellipse E o , that has the minimum distance from T i n such that the Euclidian distance f ( T i n ,   E o ) , T i n   2   t h d i s t . The goodness-of-fit can be computed as:
G o F =   i = 1 P f ( T i n ,   E o ) , T i n   2 P
We empirically set t h d i s t = 5 pixels. We reject the ellipse if G o F t h G o F , where t h G o F is the threshold for goodness-of-fit. We fixed the value of t h G o F = 0.7. This step is repeated for all the candidate arc triplets.

3.1.8. Combining Multiple Detections

Next, we combine multiple detections by computing the similarity between the ellipses, as:
E c o m b i n e d =   A v g (   F ( n 1 , x ) ,   F ( n 2 , x ) ) ,             i f   η = 1 ,
where A v g denotes averaging operation, and:
η = ( | e a n 1 e a n 2 | t h e a ) ( | e b n 1 e b n 2 | t h e b ) ( | e c e n t e r n 1 e c e n t e r n 2 | t h c e n t e r )
η represents the measure of similarity between candidate ellipses n 1 and n 2 , and t h e a , t h e b and t h c e n t e r represent the thresholds for difference between; the length of major axis ( e a ) , length of minor axis ( e b ) and centers of the two ellipses ( e c e n t e r ) , respectively.

3.1.9. Clustering Detected Ellipses

The final step again exploits the symmetric structure of insulators. As same sized caps are regularly spaced to form an insulator, we cluster the candidate ellipses into a number of groups based on their similarity intervals. The cluster with the largest number of candidate ellipses is selected as the final cluster, and candidate ellipses in the cluster are considered as the detected ellipses. Again, the methods in [41,42] do not cluster the ellipses based on their physical arrangement.
In Figure 7, we show some of the example ellipse detection results that prove the robustness of the proposed ellipse detection algorithm against the color and lighting variations, viewpoint changes, shadows, occlusion, and cluttered environment. The detected caps are segmented and then passed to the defect analyzer, which is presented next.

3.2. The Novel Bullet Shot Defect Analyzer

Defects in powerline insulators can occur due to inferior design, use of low quality materials in manufacturing, improper manufacturing processes, misapplication of the insulator or extreme stresses from weather (e.g., rain, storms, snow, hails, humidity, extreme cold or hot temperature, UV rays, etc.), vandalism, wildlife, extreme electrical activity or mishandling. These defects can alter the appearances of insulators, such, as color, shape and texture. The proposed defect analyzer provides quantitative measures of defects with insulators. Since we use optical images for the defect analysis, we only address the defects that alter the appearance of the insulators. To be more specific, those defects occurring internally without changing the outer appearance are out of the scope of this paper.
Figure 8 shows example images of insulators with the bullet shot defects. As the name suggests, this type of defect is caused when an insulator is hit by a bullet due to aerial gunshots. This defect reduces the electrical properties of the insulator, may lead to flashovers. Reduced electrical strengths and concerns for potential reduction of the mechanical strength are justifications for insulator replacement [44]. With the help of Figure 9, we illustrate the proposed bullet shot defect analyzer.
The defect analyzer performs the following steps to detect gunshot damage:
(1)
Ellipse detection to segment caps from insulators.
(2)
Masking to remove the extra background.
(3)
Edge detection followed by some morphological operations to remove noisy edges.
(4)
Labeling all the edges inside the cap.
(5)
Connected component analysis for blob detection.
(6)
The bullet shots normally create circular shaped holes on insulator caps. Hence, in order to differentiate between noisy edges and edges caused by gunshots, we compute the circularity [46] of every closed contour as:
circularity = ρ =   4 π A c o n t o u r Ψ 2
where A c o n t o u r and Ψ are the area and perimeter of a closed contour, respectively. The circularity of a perfect circle is equal to 1. The perimeter Ψ is a scalar quantity defined as the distance around the boundary of the contour, computed by summing together the positive distance between each adjoining pair of pixels around the border of the contour. If there are total I points on the curve, then Ψ can be computed as:
Ψ = i = 1 I 1 ( x i + 1   x i ) 2 +   ( y i + 1   y i ) 2
(7)
A priori information related to the color intensity of the hole created by bullet shot puts a final constraint in classifying the detected contour as bullet shot or not. We observed that in every insulator image with bullet shot damage, the color intensity of the area inside the hole of bullet shot is lower than the surroundings.
(8)
Let μ h o l e I and μ b o u n d a r y I represent the mean intensity of the hole and boundary pixels, respectively, then the final detected contour is classified as a bullet shot if:
( ρ t h ρ ) ( A c o n t o u r / A c a p t h A r e a ) ( μ h o l e I < μ b o u n d a r y I )
where t h A r e a represents the minimum ratio of the area of bullet shot hole divided by the size of the cap in pixels, and t h ρ denotes the minimum value of circularity of the detected hole to be considered as a bullet shot defect.
(9)
If there are total G contours classified as gunshot damage, then the final percentage of damage per cap due to the gunshot is computed as:
D g u n s h o t =   i = 1 G A c o n t o u r i A c a p
where A c o n t o u r i represents the area of ith gunshot contour.

4. Experimental Results and Discussion

In this section, we present experimental results of the proposed insulator detection and defect analyzer system.

4.1. Database Acquisition

There is no publicly available insulator image dataset and only few studies presented quantitative evaluation result of the system performance using self-acquired small databases. In our work, we gathered a large, unconstrained dataset of insulator images and presented our evaluation results based on that. We believe that the dataset is unbiased, unconstrained and sufficiently large enough to validate the reliability and effectiveness of the proposed system. We acquired a large dataset of long-shot low resolution and close-shot high-resolution images of equipment. Among them, we manually annotated 667 low resolution and 5533 high-resolution images (6200 images, in total). Detailed numbers of each insulator types used for training and test are provided in Table 2.

4.2. Insulator Detection Results

We used the well-known Pascal Score [47] to evaluate the performances of the three CNN-based multi-type insulator detectors. The Pascal score is calculated by taking the Intersection-over-Union ( I o U ) of the detected bounding box B B d e t e c t e d and the ground-truth bounding box B B g t as:
I o U =   P ( B B d e t e c t e d ,   B B g t ) = A r e a ( B B d e t e c t e d   B B g t ) A r e a ( B B d e t e c t e d   B B g t )
According to the criteria in [47], an object is considered correctly detected if P ( B B d e t e c t e d ,   B B g t ) t h I o U where t h I o U is typically set as 0.5. In the following subsections, we present the detection accuracies of the different CNN-based detectors and the proposed rotation normalizer.

4.2.1. Rotation Invariant Multi-Type Low Resolution Insulator Detector (LR)

For long-shot low-resolution images, our objective is to detect as many insulators as possible. We keep the detection threshold lower (= 0.10) to allow some false positive detections because the false positives are removed at later stages by the high-resolution detectors. Moreover, even if the detection returns a wrong classification label, the detected insulator has a high chance to be correctly classified by the high-resolution classifiers. Since the high-resolution classifiers are trained with high-resolution images, they learn a better shape model as compared with low-resolution classifiers. We found that most of the false positives detected by LR detector are corrected by HR_1 detector, and only 0.001% of the false positives detected by LR detector remain after HR_2 detector. We used 70% of images of each type of equipment for the training and the rest for the test.
Table 2 summarizes the detection performance of the CNN-based low-resolution (LR) detector. As can be seen in Table 2, the LR detector performs best for polymer insulator. The performances of other types of equipment appear relatively lower, possibly due to the smaller number of training samples. As LR detector is trained with low-resolution images, it requires more training data to develop a better shape model for different types of the insulators.
Moreover, we found that the P ( B B d e t e c t e d ,   B B g t ) > 0.5 criteria is very strict for the LR detector as the trained CNN model struggles with the localization of smaller objects in low-resolution images [40]. Considering the aforementioned aspects, the results in Table 2 can be considered as a promising towards the ultimate goal.

4.2.2. Rotation Invariant Multi-Type High-Resolution Insulator Detector 1 (HR_1)

The purpose of rotation invariant HR_1 detector is to detect insulators in the close-shot high-resolution images taken by the camera module. Similar to LR detector, we keep the detection threshold low (= 0.30) to allow more detections. As our rotation normalization method utilizes symmetry property of the shape of insulators, the false positives that contain asymmetric shapes, such as trees, pole edges, wires, insulator covers, etc. can also be suppressed in the rotation normalization step. We verified that 95% of the false positives detected by HR_1 detector are suppressed by our rotation normalization step, while out of the all false positives detected by HR_1 detector, none is passed to the defect analyzer.
Table 2 also summarizes the statistics of the detection results of the HR_1 detector. As compared with the performance of LR detector, the HR_1 performs much better even with the smaller number of training samples. We believe that this is due to the fact that HR_1 detector is trained with high-resolution images, and hence it learns the shape of the insulators in more detail compared to the LR detector.

4.2.3. Multi-Type High-Resolution Insulator Detector 2 (HR_2)

The final CNN-based detector is responsible to detect insulators in rotation normalized images. The performance of HR_2 detector is summarized in Table 2. Training images used to train HR_1 detector are reutilized to train HR_2 detector, with their orientations are normalized. The average performance of HR_2 detector is slightly lower than the average performance of HR_1 detector due to the reason that Pascal criterion is very strict for rotated bounding boxes, which is not originally intended [47]. As can be observed from Figure 5, the HR_2 detector returns much tighter bounding boxes (intended to be used in post-processing steps) which sometimes fails to fulfill the P ( B B d e t e c t e d ,   B B g t ) > 0.5 criteria. Regardless of this limitation, average precision and recall values of the HR_2 detector are sufficiently high enough to be used in the insulator inspection system.
In order to find the accuracy of the rotation normalizer, we used the ground truth orientation information saved during the annotation process of close-short high-resolution images. We allow a tolerance of ± 5 ° degrees, under which we consider the estimated orientation as correct estimation. We evaluated our insulator normalizer on all the samples shown in Table 2 and found an average accuracy of 88.20%. The average time to compute the rotation is 18.56 milliseconds.

4.3. Comparison with the State-of-the-Art

Unavailability of publicly available dataset restricts the comparison of our results with those of state-of-the-art methods. Among the published studies, only [29,30] presented their detection performance on polymer insulator using the same standard metric as used in this paper, i.e., Pascal score. The Precision-Recall curve (PR curve) given in [29,30] represents the detection evaluation of only one type of insulator, i.e., polymer insulator, hence for the fair comparison, we also compute the PR curve by evaluating the proposed CNN-based detectors on polymer insulator only.
As mentioned in Section 3, all three types of CNN-based detectors return confidence values [ 0 ,   1 ] along with the bounding box coordinates of the detected insulator, hence we generate the precision and recall values of the three types of detectors by sliding a threshold over all confidence values to obtain different true positives/false negative rates. In addition, we also compared the performance of the published insulator detector algorithms (wherever reported in terms of precision and recall) with the proposed CNN-based detectors and summarized them in Table 3.
The PR curve shown in Figure 10 and the performance statistics in Table 3 clearly depicts the superior performance of all the three proposed CNN-based insulator detectors. Although the size of the evaluation dataset we used (high-resolution images) is bigger than the evaluation datasets used by [3,23,29,30], yet the robust CNN-based detectors outperform the handcraft features used in [3,23,29,30].

4.4. Defect Analyzer Results

We present the performance of the defect analyzer in Table 4. The evaluation dataset consists of 70 polymer insulator images, including four images of defective insulators. After ellipse detection, 547 caps were retrieved including 24 caps with bullet shot defects. Table 4 shows the values of precision and recall at different values of t h A r e a and t h ρ .
The two thresholds also prove to be a strong geometrical constraint in the detection of true bullet holes and significant rejection the false positives (noisy edges), because, usually the bullet shots leave a circular hole in caps, and the size of that hole is relatively small as compared with the size of the cap. If bullet shots break/tear off the major portion of the cap, then we consider this case as a separate defect, called broken shed/cap, which is not covered in this manuscript. As shown in Table 4, reducing the values of these thresholds allow more detections at the cost of reduced precision. In general, a high recall value is desired in the defect analyzing systems designed for electrical safety to prevent electric failure. Subsequent visual verification can be carried out to remove false alarms manually. In either case, the sensitivity of the defect analyzer can be tweaked with the help of the two thresholds, as mentioned in Table 4. Table 4 shows that the proposed bullet shot defect analyzer is robust against noisy edges due to shadows, notches on caps surface, diverse illumination conditions and improper cap detections.

4.5. Discussion about the Results and Challenges of the Proposed System

Even though, the proposed CNN-based electrical equipment inspection system present state-of-the-art detection performances, it contains room for improvement. Hence in the following subsections, we discuss the presented results along with the challenges and limitations faced by the proposed system.

4.5.1. Availability of Annotated Data

The CNN-based detection frameworks usually (and other machine learning framework in general) require a large amount of training data to properly learn the convolution filters. We observed an overall performance improvement of 3% in precision and 0.7% in recall when using 50% of the augmented data (by horizontally flipping the images) [48] in our experiments. The amount of required train data also depends upon the complexity of the problem, e.g., the shape, color, and size of the object to detect, number of classes, the relationship between the classes, etc. As shown in Figure 1 and Figure 3, Figure 4, Figure 5, the powerline equipment exhibits extreme shape, color, size, aspect-ration, lighting, viewpoint variations, we feel the need to gather more annotated training and testing data to further improve the results.

4.5.2. Train Data Class Imbalance

The potential cause of the less precision and recall values for the ceramic insulator, LP, COS, LA and add-on in Table 2 is the fact that there is a high class imbalance between the number of samples of polymer insulators and other equipment. In fact, polymer insulator images are about 82% of the total training data, and hence during the training process, when the training optimizer computes the overall training loss, it appears to be very small because the validation process can easily achieve 82% accuracy by simply predicting polymer insulators. And that is one of the reasons why the precision and recall of the polymer insulator is better than the precision and recall of the other equipment. We believe that if we train the network with more training samples for equipment other than polymer insulators, or build a cost-sensitive loss function, we can achieve better overall detection results.

4.5.3. Training Time

As the CNN-framework used in this paper does not contain a region proposal network (RPN, [40], p. 6518), rather it tries to find objects in the fixed sized grid, so its detection time is very fast as compared to the CNN-frameworks containing RPN, while it takes a longer time to learn the possible size and positions of the objects in the dataset, hence the training time of our CNN-based detector is more than the training time of RPN based network. Our CNN-based detector takes an average of 48 h to train, but shows a detection time of 0.023 s per frame (~43 frames per seconds), while the network with RPN roughly takes 16 h to train, but it offers a detection time of seven frames per second [40] (p. 6521), which is far from meeting the needs of a real-time inspection system.

4.5.4. Valid False Positives

Our training routine automatically extracts negative regions from the input image by considering the region other than the ground truth bounding box as negative. In order not to detect the equipment whose body is occluded more than 50% (because highly occluded equipment cannot be effectively tested for defects), during the annotation process, we marked such occluded equipment as “ignore” (not used as positive or negative samples during the training process). But the trained CNN network is highly robust against occlusion, and it still detects occluded objects with high confidence. Although, these detections are valid (i.e., detects the right object), our testing routine consider these detections as false positives, and hence reduce the overall reported performance of the system. Figure 11 shows some of these detection results.

4.5.5. Limitations in the Ellipse Detection Algorithm

As discussed earlier, our ellipse detector algorithm requires that the rotation of the input insulator image be normalized, and the insulator body tightly cropped, due to which we use a rotation normalizer and HR_2 detector. Hence, in the proposed system, there is a trade-off between the accurate ellipse detection and the computational resources used by the additional rotation normalizer and the HR_2 detector.
Furthermore, even though the proposed ellipse detector is robust against noisy edges, still the ellipse detector algorithm relies on the quality of edges. As the ground vehicle taking the videos of the electrical equipment is continuously moving, there are cases where the detected electrical equipment is blurred out or occluded in such a way that their important edges are not retrieved. In such cases, the ellipse detector struggles to detect the caps, as shown with some example cases in Figure 12.

4.5.6. Availability of Defected Cap Images

Images of caps damaged by gunshots or any other damage are scarce and due to this reason, our testing set is highly imbalanced (95% of the segmented caps have no gunshot defect). Consequently, the precision drops more drastically as we try to improve the recall. A 100% precision and 75% recall shown by the gunshot defect analyzer means that the system is able to reject 100% false positives in 523 healthy caps, at the cost of rejecting only six faulty caps as false negatives, which is one false negative per 87 images (still a quite good ratio).

5. Conclusions and Future Directions

In this paper, a novel automatic electrical equipment detect and inspection system has been proposed. The proposed system can detect 17 different types of electric power line equipment from videos taken by a ground vehicle and analyze one type of defects in polymer insulators. Compared to previous methods, the proposed system is superior in many aspects: (a) powerful CNN-based insulator detection versus handcrafted features, (b) capability to detect 17 types of insulators, (c) use of close-shot high-resolution images for defect analysis, enabling more precise defect analysis of insulators, (d) evaluation of detection performance on a large diverse dataset of long-shot (204 test samples) and close-shot images (807 test samples), which proves the robustness of the proposed system against occlusion, lighting conditions, in-and-out of plane rotations, viewpoint changes, color, shape, texture and cluttered environment.
The proposed insulator rotation normalization and ellipse detection methods enable the system to recognize cap level defects. In order to support real-time operations, the proposed system is accelerated by a GTX1080 GPU (NVIDIA Corporation, Santa Clara, CA, USA) and uses OpenCV, CUDA and cuDNN libraries along with Darknet’s CNN framework. The proposed system is tested on a large, unbiased, unconstrained evaluation dataset of insulator images and state-of-the-art results are presented. Comparisons with previous studies verified the superior performance of the proposed system.
The system pipeline presented in this work provides a natural guide to future research, which includes pushing existing CNN models to learn different types of insulators at deeper levels and formalizing for detection of additional types of insulator defects. The future research will also consider studying a specific and unified CNN architecture for insulator detection and insulator defect analysis.

Author Contributions

Conceptualization, U.P. and J.-H.S.; methodology, U.P. and S.-W.L.; software, Z.A.S.; validation, Z.A.S., J.-H.S. and U.P.; formal analysis, U.P.; investigation, J.-H.S. and U.P.; data curation, J.-H.S.; writing—original draft preparation, Z.A.S.; writing—review and editing, U.P., S.-W.L. and C.L.; supervision, U.P.; project administration, N.-J.J., M.C. and C.L.; funding acquisition, N.-J.J., M.C. and C.L.

Funding

This research was funded by the “Study for Diagnosis and Life Cycle Evaluation of Polymer Insulator” project supported by 2017 Main R&D Projects performed by Korea Electric Power Corporation and the “Basic Science Research Program” through the National Research Foundation of Korea funded by the Ministry of Education, Science and Technology (NRF-2018R1D1A1B07049388).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Mei, X.; Lu, T.; Wu, X.; Zhang, B. Insulator surface dirt image detection technology based on improved watershed algorithm. In Proceedings of the 2012 Asia-Pacific Power and Energy Engineering Conference, Shanghai, China, 27–29 March 2012; pp. 1–5. [Google Scholar] [CrossRef]
  2. Li, J.; Li, M.; Wang, Q. A novel insulator detection method for aerial images. In Proceedings of the 9th International Conference on Computer and Automation Engineering, Sydney, Australia, 18–21 February 2017; pp. 141–144. [Google Scholar] [CrossRef]
  3. Wu, Q.; An, J. An active contour model based on texture distribution for extracting inhomogeneous insulators from aerial images. IEEE Trans. Geosci. Remote Sens. 2014, 52, 3613–3626. [Google Scholar] [CrossRef]
  4. Jiang, X.; Yuan, J.; Shu, L.; Zhang, Z.; Hu, J.; Mao, F. Comparison of DC pollution flashover performances of various types of porcelain, glass, and composite insulators. IEEE Trans. Power Deliv. 2008, 23, 1183–1190. [Google Scholar] [CrossRef]
  5. Oliveira, S.C.; Fontana, E. Optical detection of partial discharges on insulator strings of high-voltage transmission lines. IEEE Trans. Instrum. Meas. 2009, 58, 2328–2334. [Google Scholar] [CrossRef]
  6. Shong, K.M.; Kim, Y.S.; Kim, S.G. Images detection and diagnosis of corona discharge on porcelain insulators at 22.9kV D/L. In Proceedings of the IEEE International Symposium on Diagnostics for Electric Machines, Power Electronics and Drives, Cracow, Poland, 6–8 September 2007; pp. 462–466. [Google Scholar] [CrossRef]
  7. Yang, T.W.; Yin, H.; Ruan, Q.Q.; da Han, J.; Qi, J.T.; Yong, Q.; Wang, Z.T.; Sun, Z.Q. Overhead power line detection from UAV video images. In Proceedings of the 19th International Conference on Mechatronics and Machine Vision in Practice (M2VIP), Auckland, New Zealand, 28–30 November 2012; pp. 74–79. [Google Scholar]
  8. Yetgin, Ö.E.; Şentürk, Z.; Gerek, Ö.N. A comparison of line detection methods for power line avoidance in aircrafts. In Proceedings of the 9th International Conference on Electrical and Electronics Engineering (ELECO), Bursa, Turkey, 26–28 November 2015; pp. 241–245. [Google Scholar] [CrossRef]
  9. Liu, Y.; Mejias, L.; Li, Z. Fast power line detection and localization using steerable filter for active UAV guidance. In Proceedings of the 12th International Society for Photogrammetry and Remote Sensing (ISPRS2012), Melbourne, Australia, 25 August–1 September 2012; pp. 491–496. [Google Scholar] [CrossRef]
  10. Cerón, A.; Mondragón, B.I.F.; Prieto, F. Towards visual based navigation with power line detection. In Advances in Visual Computing, ISVC 2014, Lecture Notes in Computer Science; Bebis, G., Boyle, R., Parvin, B., Koracin, D., McMahan, R., Jerald, J., Zhang, H., Drucker, S.M., Kambhamettu, C., Choubassi, M.E., et al., Eds.; Springer: Berlin, Germany, 2014; Volume 8887, pp. 827–836. ISBN 978-3-319-14249-4. [Google Scholar]
  11. Sampedro, C.; Martinez, C.; Chauhan, A.; Campoy, P. A supervised approach to electric tower detection and classification for power line inspection. In Proceedings of the 2014 International Joint Conference on Neural Networks (IJCNN), Beijing, China, 6–11 July 2014; pp. 1970–1977. [Google Scholar] [CrossRef]
  12. Han, B.; Wang, X. Learning for tower detection of power line inspection. DEStech Trans. Comput. Sci. Eng. 2016, 216–220. [Google Scholar] [CrossRef]
  13. Martinez, C.; Sampedro, C.; Chauhan, A.; Campoy, P. Towards autonomous detection and tracking of electric towers for aerial power line inspection. In Proceedings of the International Conference on Unmanned Aircraft Systems (ICUAS), Orlando, FL, USA, 27–30 May 2014; pp. 284–295. [Google Scholar] [CrossRef]
  14. Lin, J.; Han, J.; Chen, F. Defects detection of glass insulator based on color image. Power Syst. Technol. 2011, 35, 127–133. [Google Scholar]
  15. Huang, X.; Zhang, Z. A method to extract insulator image from aerial image of helicopter patrol. Power Syst. Technol. 2010, 34, 194–197. [Google Scholar]
  16. Li, W.G.; Ye, G.; Huang, F.; Wang, S.; Chang, W.Z. Recognition of insulator based on developed MPEG-7 texture feature. In Proceedings of the 3rd International Congress on Image and Signal Processing, Yantai, China, 16–18 October 2010; pp. 265–268. [Google Scholar] [CrossRef]
  17. Zhang, X.; An, J.; Chen, F. A simple method of tempered glass insulator recognition from airborne image. In Proceedings of the 2010 International Conference on Optoelectronics and Image Processing, Haikou, China, 11–12 November 2010; pp. 127–130. [Google Scholar] [CrossRef]
  18. Prasad, D.S.; Reddy, B.S. Digital image processing techniques for estimating power released from the corona discharges. IEEE Trans. Dielectr. Electr. Insul. 2017, 24, 75–82. [Google Scholar] [CrossRef]
  19. Dudczyk, J.; Kawalec, A. Adaptive forming of the beam pattern of microstrip antenna with the use of an artificial neural network. Int. J. Antennas Propag. 2012, 2012, 1–13. [Google Scholar] [CrossRef]
  20. Matuszewski, J.; Sikorska-Łukasiewicz, K. Neural network application for emitter identification. In Proceedings of the 2017 18th International Radar Symposium (IRS), Prague, Czech Republic, 28–30 June 2017; pp. 1–8. [Google Scholar] [CrossRef]
  21. Zhang, J.; Yang, R. Insulators recognition for 220kv/330kv high-voltage live-line cleaning robot. In Proceedings of the 18th International Conference on Pattern Recognition (ICPR’06), Hong Kong, China, 20–24 August 2006; pp. 630–633. [Google Scholar] [CrossRef]
  22. Zhao, J.; Liu, X.; Sun, J.; Lei, L. Detecting insulators in the image of overhead transmission lines. In Intelligent Computing Technology. ICIC 2012. Lecture Notes in Computer Science; Huang, D.S., Jiang, C., Bevilacqua, V., Figueroa, J.C., Eds.; Springer: Berlin/Heidelberg, Germany, 2012; Volume 7389, ISBN 978-3-642-31588-6. [Google Scholar]
  23. Liao, S.; An, J. A robust insulator detection algorithm based on local features and spatial orders for aerial images. IEEE Geosci. Remote Sens. Lett. 2015, 12, 963–967. [Google Scholar] [CrossRef]
  24. Zhai, Y.; Wu, Y.; Chen, H.; Zhao, X. A method of insulator detection from aerial images. Sens. Transducers 2014, 177, 7. [Google Scholar]
  25. Li, B.; Wu, D.; Cong, Y.; Xia, Y.; Tang, Y. A method of insulator detection from video sequence. In Proceedings of the 2012 Fourth International Symposium on Information Science and Engineering, Shanghai, China, 14–16 December 2012; pp. 386–389. [Google Scholar] [CrossRef]
  26. Wang, X.; Zhang, Y. Insulator identification from aerial images using support vector machine with background suppression. In Proceedings of the 2016 International Conference on Unmanned Aircraft Systems (ICUAS), Arlington, VA, USA, 7–10 June 2016; pp. 892–897. [Google Scholar] [CrossRef]
  27. Murthy, V.S.; Tarakanath, K.; Mohanta, D.K.; Gupta, S. Insulator condition analysis for overhead distribution lines using combined wavelet and support vector machine (SVM). IEEE Trans. Dielectr. Electr. Insul. 2010, 17, 89–99. [Google Scholar] [CrossRef]
  28. Murthy, V.S.; Gupta, S.; Mohanta, D.K. Digital image processing approach using combined wavelet hidden Markov model for well-being analysis of insulators. IET Image Process. 2011, 5, 171–183. [Google Scholar] [CrossRef]
  29. Jabid, T.; Uddin, M.Z. Rotation invariant power line insulator detection using local directional pattern and support vector machine. In Proceedings of the 2016 International Conference on Innovations in Science, Engineering and Technology (ICISET), Dhaka, Bangladesh, 28–29 October 2016; pp. 1–4. [Google Scholar] [CrossRef]
  30. Oberweger, M.; Wendel, A.; Bischof, H. Visual recognition and fault detection for power line insulators. In Proceedings of the 19th Computer Vision Winter Workshop, Krtiny, Czech Republic, 1 January 2014; pp. 1–8. [Google Scholar]
  31. Razavian, A.S.; Azizpour, H.; Sullivan, J.; Carlsson, S. CNN features off-the-shelf: An astounding baseline for recognition. In Proceedings of the Computer Vision and Pattern Recognition Workshops, Columbus, OI, USA, 23 March 2014. [Google Scholar] [CrossRef]
  32. Zhao, Z.; Xu, G.; Qi, Y.; Liu, N.; Zhang, T. Multi-patch deep features for power line insulator status classification from aerial images. In Proceedings of the 2016 International Joint Conference on Neural Networks (IJCNN), Vancouver, BC, Canada, 24–29 July 2016; pp. 3187–3194. [Google Scholar] [CrossRef]
  33. Zhai, Y.; Chen, R.; Yang, Q.; Li, X.; Zhao, Z. Insulator fault detection based on spatial morphological features of aerial images. IEEE Access 2018, 6, 35316–35326. [Google Scholar] [CrossRef]
  34. Zhai, Y.; Cheng, H.; Chen, R.; Yang, Q.; Li, X. Multi-saliency aggregation-based approach for insulator flashover fault detection using aerial images. Energies 2018, 11, 340. [Google Scholar] [CrossRef]
  35. Huang, X.; Zhang, H.; Zhang, Y. Automatic identification and location technology of glass insulator self-shattering. J. Electron. Imaging 2017, 26, 1–12. [Google Scholar] [CrossRef]
  36. Zhao, Z.; Liu, N.; Wang, L. Localization of multiple insulators by orientation angle detection and binary shape prior knowledge. IEEE Trans. Dielectr. Electr. Insul. 2015, 22, 3421–3428. [Google Scholar] [CrossRef]
  37. Han, Y.; Liu, Z.; Lee, D.; Liu, W.; Chen, J.; Han, Z. Computer vision–based automatic rod-insulator defect detection in high-speed railway catenary system. Intern. J. Adv. Robot. Syst. 2018, 2018, 1–15. [Google Scholar] [CrossRef]
  38. Iruansi, U.; Tapamo, J.R.; Davidson, I.E. An active contour approach to insulator segmentation. In Proceedings of the AFRICON 2015, Addis Ababa, Ethiopia, 14–17 September 2015; pp. 1–5. [Google Scholar] [CrossRef]
  39. Redmon, J. Darknet: Open Source Neural Networks in C. Available online: http://pjreddie.com/darknet/ (accessed on 2 October 2018).
  40. Redmon, J.; Farhadi, A. YOLO9000: Better, faster, stronger. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA, 21–26 July 2017. [Google Scholar] [CrossRef]
  41. Fornaciari, M.; Prati, A.; Cucchiara, R. A fast and effective ellipse detector for embedded vision applications. Patten Recognit. 2014, 47, 3693–3708. [Google Scholar] [CrossRef]
  42. Kwon, B.K.; Teng, Z.; Roh, T.J.; Kang, D.J. Fast ellipse detection based on three point algorithm with edge angle information. Int. J. Control Autom. Syst. 2016, 14, 804–813. [Google Scholar] [CrossRef]
  43. Fitzgibbon, A.; Pilu, M.; Fisher, R.B. Direct least square fitting of ellipses. IEEE Trans. Patten Anal. Mach. Intell. 1999, 21, 476–480. [Google Scholar] [CrossRef] [Green Version]
  44. Burnham, J.T.; Waidelich, R.J. Gunshot damage to ceramic and non-ceramic insulators. IEEE Trans. Power Deliv. 1997, 2, 1651–1656. [Google Scholar] [CrossRef]
  45. Electric Power Research Institute. Field Guide: Visual Inspection of Polymer Insulators. EPRI, 2014. Available online: https://www.epri.com/#/pages/product/3002003720/ (accessed on 8 November 2018).
  46. Roussillon, T.; Sivignon, I.; Tougne, L. Measure of circularity for parts of digital boundaries and its fast computation. Patten Recognit. 2010, 43, 37–46. [Google Scholar] [CrossRef] [Green Version]
  47. Everingham, M.; Gool, L.J.V.; Williams, C.K.I.; Winn, J.M.; Zisserman, A. The pascal visual object classes (VOC) challenge. Intern. J. Comput. Vis. 2010, 88, 303–338. [Google Scholar] [CrossRef]
  48. Pietrow, D.; Matuszewski, J. Objects detection and recognition system using artificial neural networks and drones. In Proceedings of the Signal Processing Symposium (SPSympo), Jachranka, Poland, 12–14 September 2017; pp. 1–5. [Google Scholar] [CrossRef]
Figure 1. Example images of various types of electrical equipment that can be detected by our proposed system. Insulators of (a) polymer and (b) porcelain; Lightning-Arrester (LA) of (c-1) porcelain with uniform cap sizes, (c-2) polymer, (c-3) porcelain with non-uniform cap sizes; Cut-out-Switches (COS) of (d-1) porcelain, (d-2) polymer with uniform cap sizes, (d-3) polymer with non-uniform cap sizes; Line-Post (LP) of (e-1) porcelain with uniform cap sizes, (e-2) porcelain with non-uniform cap sizes, (e-3) polymer, (e-4) porcelain of white color; and COS or LA’s add-ons of (f-1) polymer, (f-2) porcelain with four caps, (f-3) square shaped, (f-4) porcelain with two caps and (f-5) polymer with two caps. For training CNN, we grouped the equipment into 6 base classes, i.e., (a) polymer insulator, (b) porcelain insulator, (c) LA, (d) COS, (e) LP, and (f) add-on.
Figure 1. Example images of various types of electrical equipment that can be detected by our proposed system. Insulators of (a) polymer and (b) porcelain; Lightning-Arrester (LA) of (c-1) porcelain with uniform cap sizes, (c-2) polymer, (c-3) porcelain with non-uniform cap sizes; Cut-out-Switches (COS) of (d-1) porcelain, (d-2) polymer with uniform cap sizes, (d-3) polymer with non-uniform cap sizes; Line-Post (LP) of (e-1) porcelain with uniform cap sizes, (e-2) porcelain with non-uniform cap sizes, (e-3) polymer, (e-4) porcelain of white color; and COS or LA’s add-ons of (f-1) polymer, (f-2) porcelain with four caps, (f-3) square shaped, (f-4) porcelain with two caps and (f-5) polymer with two caps. For training CNN, we grouped the equipment into 6 base classes, i.e., (a) polymer insulator, (b) porcelain insulator, (c) LA, (d) COS, (e) LP, and (f) add-on.
Sensors 18 03837 g001
Figure 2. Overall system diagram of the proposed CNN-based electrical equipment inspection system.
Figure 2. Overall system diagram of the proposed CNN-based electrical equipment inspection system.
Sensors 18 03837 g002
Figure 3. Detection results generated by our rotation invariant multi-type LR insulator detector in long-shot low-resolution images. (here symbols Ins_L, COS_L, COS_ins_L and LP represent polymer insulator, Cut-out-Switch, COS add-on and Line Post, respectively).
Figure 3. Detection results generated by our rotation invariant multi-type LR insulator detector in long-shot low-resolution images. (here symbols Ins_L, COS_L, COS_ins_L and LP represent polymer insulator, Cut-out-Switch, COS add-on and Line Post, respectively).
Sensors 18 03837 g003
Figure 4. Different electrical equipment detection results by our CNN-based rotation invariant HR_1 detector. These detection results show that the used CNN-framework is very good at detecting different shapes in the cluttered environment under partial occlusion, and it is invariant against view-point, shape, size, color and lighting variations.
Figure 4. Different electrical equipment detection results by our CNN-based rotation invariant HR_1 detector. These detection results show that the used CNN-framework is very good at detecting different shapes in the cluttered environment under partial occlusion, and it is invariant against view-point, shape, size, color and lighting variations.
Sensors 18 03837 g004
Figure 5. Detection results of the CNN-based multi-type HR_2 detector. The orientation of the insulator image is normalized before feeding it to the HR_2 detector. The tight and precise detection of the insulators helps in better cap segmentation by our novel ellipse detector, which is a robust alternative to the color-based segmentation [26].
Figure 5. Detection results of the CNN-based multi-type HR_2 detector. The orientation of the insulator image is normalized before feeding it to the HR_2 detector. The tight and precise detection of the insulators helps in better cap segmentation by our novel ellipse detector, which is a robust alternative to the color-based segmentation [26].
Sensors 18 03837 g005
Figure 6. Pictorial representation of the different steps in the ellipse detection algorithm.
Figure 6. Pictorial representation of the different steps in the ellipse detection algorithm.
Sensors 18 03837 g006
Figure 7. Results of the ellipse detection on different types of insulators. Green ellipses are the detected boundaries of the shed/caps. The ellipse detector makes use of repeating pattern in the insulator body and consequently less influenced by the noisy edges that are caused by shadow and overlapping shed/caps.
Figure 7. Results of the ellipse detection on different types of insulators. Green ellipses are the detected boundaries of the shed/caps. The ellipse detector makes use of repeating pattern in the insulator body and consequently less influenced by the noisy edges that are caused by shadow and overlapping shed/caps.
Sensors 18 03837 g007
Figure 8. Example images of polymer insulators having bullet shot defect [45]. When hit by bullet shots, polymer insulators do not shatter like ceramic insulators because polymer is not brittle.
Figure 8. Example images of polymer insulators having bullet shot defect [45]. When hit by bullet shots, polymer insulators do not shatter like ceramic insulators because polymer is not brittle.
Sensors 18 03837 g008
Figure 9. Proposed gunshot defect analysis algorithm. (a) Ellipse detection, (b) cap mask generated using the detected ellipse, (c) masked cap, (d) edge map of the masked cap, (e) morphologically enhanced edge map, (f) final detection result. A detected bullet shot marked with red color, while the numerical values in yellow color represent circularity values, in (f).
Figure 9. Proposed gunshot defect analysis algorithm. (a) Ellipse detection, (b) cap mask generated using the detected ellipse, (c) masked cap, (d) edge map of the masked cap, (e) morphologically enhanced edge map, (f) final detection result. A detected bullet shot marked with red color, while the numerical values in yellow color represent circularity values, in (f).
Sensors 18 03837 g009
Figure 10. The precision-recall curve for insulator detection. The comparison is drawn between Uddin [29], Oberweger et al. [30], and the three types of CNN-based insulator detectors proposed in this paper.
Figure 10. The precision-recall curve for insulator detection. The comparison is drawn between Uddin [29], Oberweger et al. [30], and the three types of CNN-based insulator detectors proposed in this paper.
Sensors 18 03837 g010
Figure 11. Robustness of CNN-based electrical equipment detector leads to the detection of occluded equipment, which is treated as false positive by our testing routine. Examples of these false positive detections are marked with red circles in this figure.
Figure 11. Robustness of CNN-based electrical equipment detector leads to the detection of occluded equipment, which is treated as false positive by our testing routine. Examples of these false positive detections are marked with red circles in this figure.
Sensors 18 03837 g011
Figure 12. Robustness of ellipse detector depends upon the edges response. The figure shows two ellipse detection results along with their input edge responses. (a) The edges of the caps are occluded by the wire passing in front of the insulator, (b) while the blurry image resulted in a noisy edge map, and subsequent noisy detection results.
Figure 12. Robustness of ellipse detector depends upon the edges response. The figure shows two ellipse detection results along with their input edge responses. (a) The edges of the caps are occluded by the wire passing in front of the insulator, (b) while the blurry image resulted in a noisy edge map, and subsequent noisy detection results.
Sensors 18 03837 g012
Table 1. Summary of the related work.
Table 1. Summary of the related work.
MethodPublished Year# of Equip. that Can Be DetectedCan Handle Variations inBackground TypeMajor Drawback
ColorLightingShapeView-Point
[2]‘171 Saliency only works when the main object is close to the camera. Single image used for training and test which cannot prove the robustness of the system
[14,15]’111 High dependency upon color pixel values
[16]‘101 Simple template matching based approach
[17]‘101 Works only when there is low intensity bg and high intensity fg
[25]‘121 Works with close shot images only. Whole technique depends upon naïve approach of binarizing the intensity image.
[33]‘182 Naïve color thresholding
[35]‘171 Color based detection is severely affected by lighting variations. Assumption of structural symmetry fails when view-point-changes.
[36]‘151 Whole technique depends upon naïve binarizing the intensity image.
[26]‘161 Whole technique depends upon color thresholding. Single image for testing and training which cannot prove the robustness of the system.
[21]‘061 Single image is used to train and test, so robustness of the scheme cannot be proved
[38]‘151 Active contour model only works when the main object is very close to camera and bg color is discriminant with respect to fg. Testing dataset contains only 12 images.
[22]‘122 Algorithm completely depends upon structural symmetry, which is lost when viewing angle changes, Detection results are shown on only two images
[34]‘181 Saliency only works when main object is close to the camera and bg is far from the main object. Color and structural feature are effected by lighting and view point changes
[23]‘155 Cannot handle out-of-plane rotation
[24]‘141 Low precision and recall, Small testing data (only 10 images)
[27,28] 1 Segmentation algorithm is not given so the results are implausible
[30]‘141Par.Cannot detect multiple instances of insulator in an image, precision is also very low
[29]‘171Par.Sliding window based detection, as well as detection at multiple rotation angles limits the real-time processing
[37]‘181Par.Only applicable to rod-insulator in railway catenary system. System require special type of camera module. Precision is very low, almost 1 false positive per image.
Our 17Require GPU for real-time processing. Takes 3~4 days for training with large dataset. Require two cameras.
fg = foreground, bg = background, ⬤ = simple background, △ = complex but discriminative background, ⌘ = complex background, Par. = Partially handle.
Table 2. Summary of performances of the proposed LR, HR_1 and HR_2 detectors.
Table 2. Summary of performances of the proposed LR, HR_1 and HR_2 detectors.
Equipment TypeLR DetectorHR_1 and HR_2 DetectorsLR DetectorHR_1 DetectorHR_2 Detector
#Train Samples#Test SamplesTotal #Samples#Train Samples#Test SamplesTotal #SamplesPrecision (%)Recall (%)Precision (%)Recall (%)Precision (%)Recall (%)
Polymer Insulator7302049342745644338999.0589.9498.1192.6996.9493.76
Porcelain Insulator64208450136311.6329.4192.3197.3079.4981.58
COS132231551483918749.2168.8985.54100.0088.7385.14
LP117451621403217276.3254.7475.8693.6250.4696.49
LA1271914665269129.033660.0094.7486.4972.73
Add-on112281402085326160.0058.8298.8887.1376.1948.98
Total #Samples1282339162133568074163
Avg. 77.0877.3792.1492.9888.3987.18
Table 3. Summary of performance comparison (Polymer Insulator Only).
Table 3. Summary of performance comparison (Polymer Insulator Only).
MethodEvaluation Dataset SizeRecall (%)Precision (%)
Jabid [29]50094.2489.54
Wu and An [3]5086.4785.59
Liao and An [23]1009187
Oberweger et al. [30]3759833
Proposed LR20499.0589.94
Proposed HR_164497.9292.16
Proposed HR_264495.9191.57
Table 4. Performance results of the defect analyzer.
Table 4. Performance results of the defect analyzer.
Defect TypePrecision (%)Recall (%) t h A r e a t h ρ
Bullet shot defect (results at different values of t h A r e a and t h ρ )10075.000.0070.4
77.8787.50.00450.3
65.921000.0010.2

Share and Cite

MDPI and ACS Style

Siddiqui, Z.A.; Park, U.; Lee, S.-W.; Jung, N.-J.; Choi, M.; Lim, C.; Seo, J.-H. Robust Powerline Equipment Inspection System Based on a Convolutional Neural Network. Sensors 2018, 18, 3837. https://doi.org/10.3390/s18113837

AMA Style

Siddiqui ZA, Park U, Lee S-W, Jung N-J, Choi M, Lim C, Seo J-H. Robust Powerline Equipment Inspection System Based on a Convolutional Neural Network. Sensors. 2018; 18(11):3837. https://doi.org/10.3390/s18113837

Chicago/Turabian Style

Siddiqui, Zahid Ali, Unsang Park, Sang-Woong Lee, Nam-Joon Jung, Minhee Choi, Chanuk Lim, and Jang-Hun Seo. 2018. "Robust Powerline Equipment Inspection System Based on a Convolutional Neural Network" Sensors 18, no. 11: 3837. https://doi.org/10.3390/s18113837

APA Style

Siddiqui, Z. A., Park, U., Lee, S. -W., Jung, N. -J., Choi, M., Lim, C., & Seo, J. -H. (2018). Robust Powerline Equipment Inspection System Based on a Convolutional Neural Network. Sensors, 18(11), 3837. https://doi.org/10.3390/s18113837

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