CN108537780A - A kind of insulator breakdown detection method based on the full convolutional neural networks of second order - Google Patents

A kind of insulator breakdown detection method based on the full convolutional neural networks of second order Download PDF

Info

Publication number
CN108537780A
CN108537780A CN201810260456.XA CN201810260456A CN108537780A CN 108537780 A CN108537780 A CN 108537780A CN 201810260456 A CN201810260456 A CN 201810260456A CN 108537780 A CN108537780 A CN 108537780A
Authority
CN
China
Prior art keywords
image
insulator
fcn
reconstruction
marker
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810260456.XA
Other languages
Chinese (zh)
Inventor
雷涛
李云彤
周鑫
张琦
加小红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shaanxi University of Science and Technology
Original Assignee
Shaanxi University of Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shaanxi University of Science and Technology filed Critical Shaanxi University of Science and Technology
Priority to CN201810260456.XA priority Critical patent/CN108537780A/en
Publication of CN108537780A publication Critical patent/CN108537780A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20081Training; Learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20084Artificial neural networks [ANN]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Image Analysis (AREA)

Abstract

A kind of insulator breakdown detection method based on the full convolutional neural networks of second order, is first marked to obtain a large amount of label images insulation subregion, is learnt to characteristics of image using single order FCN, and then is split to complex background insulation subregion;Then operation Optimized Segmentation is rebuild using mathematical morphology as a result, to obtain the accurate positionin of insulation subregion;Based on the segmentation result of region insulation, insulator breakdown region detection is carried out using second-order F CN networks, realizes the accurate positionin of fault zone, characteristics of image need not artificially be extracted, calculation amount is effectively reduced, and can effectively inhibit the interference of complex background, improves the accuracy rate of insulator breakdown identification.

Description

一种基于二阶全卷积神经网络的绝缘子故障检测方法A Fault Detection Method for Insulators Based on Second-Order Fully Convolutional Neural Network

技术领域technical field

本发明属于图像分割及处理技术领域,特别涉及一种基于二阶全 卷积神经网络的绝缘子故障检测方法。The invention belongs to the technical field of image segmentation and processing, in particular to an insulator fault detection method based on a second-order fully convolutional neural network.

背景技术Background technique

为了保证整条输电线路的安全可靠运行,必须及时有效地对输 电线路绝缘子进行巡检并发现排除故障。随着智能电网技术的发展, 无人机巡检技术在输电线路巡检中的应用越来越成熟,航拍绝缘子图 像识别成为判断输电线路运行状态的重要依据。目前,对于航拍绝缘 子图像故障检测已有相关研究成果,传统的方法主要分为以下两类, 一类是基于轮廓、颜色、纹理以及形态的阈值分割方法;另一类是基 于有监督学习的绝缘子分割。并有学者提出了第三类基于深度学习的 绝缘子故障识别方法。In order to ensure the safe and reliable operation of the entire transmission line, it is necessary to conduct timely and effective inspections of the transmission line insulators and find out the faults. With the development of smart grid technology, the application of UAV inspection technology in transmission line inspection has become more and more mature, and aerial insulator image recognition has become an important basis for judging the operation status of transmission lines. At present, there are relevant research results on the fault detection of aerial insulator images. The traditional methods are mainly divided into the following two categories, one is the threshold segmentation method based on contour, color, texture and shape; the other is the insulator based on supervised learning. segmentation. And some scholars have proposed a third type of insulator fault identification method based on deep learning.

在第一类分基于阈值的分割方法中,通过提取绝缘子图像的轮廓、 颜色、纹理特征进行绝缘子故障检测。Li Bing-feng等人,提出将 原始图片二值化,对绝缘子所在位置进行定位,提取二值图像中的绝 缘子轮廓。然而,该方法只能检测出绝缘子的整体轮廓,不能提取绝 缘子的细节轮廓,不利于后期的故障识别。因此,林聚财等人提出基 于彩色图像的玻璃绝缘子缺陷诊断方法,利用玻璃绝缘子蓝绿颜色特 征,将彩色绝缘子图像转换到HSV视觉度量空间,通过搜索包含蓝绿 像素的连通区域识别绝缘子故障,然而该方法对环境变化较为敏感, 且仅适用于玻璃绝缘子,通用性较差。因此,杨翠茹等人提出利用灰 度共生矩阵提取绝缘子的纹理特征来实现绝缘子识别,该方法虽然避 免了环境因素对绝缘子特征的影响,能实现绝缘子故障的检测,但仅 依据单一的纹理特征进行绝缘子故障识别,对于纹理不明显的绝缘子 识别率较低。对此,姜云土等人提出基于多特征融合的绝缘子故障识 别,通过融合轮廓、颜色、纹理和形态等多种特征,以检测绝缘子故 障,提高了故障识别准确率,然而该方法对参数较为敏感。In the first category, the threshold-based segmentation method is used to detect insulator faults by extracting the contour, color, and texture features of the insulator image. Li Bing-feng et al. proposed to binarize the original image, locate the position of the insulator, and extract the insulator outline in the binary image. However, this method can only detect the overall outline of the insulator, but cannot extract the detailed outline of the insulator, which is not conducive to later fault identification. Therefore, Lin Jucai et al. proposed a glass insulator defect diagnosis method based on color images, using the blue-green color features of glass insulators, transforming the color insulator image into the HSV visual metric space, and identifying insulator faults by searching for connected regions containing blue-green pixels. The method is sensitive to environmental changes, and is only applicable to glass insulators, and has poor versatility. Therefore, Yang Cuiru and others proposed to use the gray level co-occurrence matrix to extract the texture features of insulators to realize insulator recognition. Although this method avoids the influence of environmental factors on the characteristics of insulators and can realize the detection of insulator faults, it only uses a single texture feature to detect insulators. For fault identification, the identification rate of insulators with inconspicuous textures is low. In this regard, Jiang Yuntu et al. proposed an insulator fault identification based on multi-feature fusion, which can detect insulator faults by fusing various features such as contour, color, texture and shape, and improve the accuracy of fault identification. However, this method is sensitive to parameters.

针对第二类基于有监督学习的绝缘子分割方法,单成等人提出结 合形态学特征和BP神经网络的绝缘子缺陷检测。相比无监督学习, 有很强的自适应自学习能力。尽管该方法从训练样本中学习绝缘子的 特征,实现绝缘子的分类识别,但该方法收敛速度较慢,容易陷入局 部最优。因此,程海燕等人利用正负样本的绝缘子图像的不变矩训练AdaBoost分类器。利用AdaBoost分类器实现绝缘子的定位与识别, 将多个弱分类器累加成强分类器,以提高分类精度。尽管有监督学习 能有效提升绝缘子故障检测准确率,但仍需要人为提取绝缘子图像特 征,当图像背景复杂多变时,特征描述子难以有效提取图像特征,导 致故障识别率低。For the second type of insulator segmentation method based on supervised learning, Shan Cheng et al. proposed the insulator defect detection combined with morphological features and BP neural network. Compared with unsupervised learning, it has a strong adaptive self-learning ability. Although this method learns the characteristics of insulators from training samples and realizes the classification and recognition of insulators, the convergence speed of this method is slow and it is easy to fall into local optimum. Therefore, Cheng Haiyan et al. used the invariant moments of the insulator images of the positive and negative samples to train the AdaBoost classifier. AdaBoost classifier is used to locate and identify insulators, and multiple weak classifiers are accumulated into a strong classifier to improve classification accuracy. Although supervised learning can effectively improve the accuracy of insulator fault detection, it still needs to manually extract the image features of insulators. When the image background is complex and changeable, it is difficult for feature descriptors to effectively extract image features, resulting in a low fault recognition rate.

针对第三类基于深度学习的绝缘子故障识别方法,陈庆等人将 CNN应用于绝缘子故障识别中,相比以上两类传统方法,CNN能够自 动分层进行学习,其中较浅的卷积层感知域较小,用来进行局部区域 特征的学习;较深的卷积层感知域大,用来学习较为抽象的高层语义 特征,深层卷积网络考虑了图像的局部和整体信息。同时较深的卷积 层所学习到的抽象特征对物体的大小、位置和方向等敏感性更低,从 而有助于绝缘子故障识别。尽管如此,但该方法本质上是对图像像素 进行分类,利用该像素周围的图像块作为CNN的输入进行训练和预测, 间接得到分割结果。由于相邻像素块中存在冗余,导致图像输入数据 量过大、处理速度较慢;同时像素邻域大小难以确定、无法考虑到图 像中的空间位置信息,不能很好地识别出物体的具体轮廓难以做到精 确分割。对此,Jonathan Long等人提出了基于全卷积神经网络(FCN) 的分割方法,相比传统的CNN分割方法,FCN是一种端到端的网络,不限制输入图像大小,能够在不含有全连接层的情况下能进行密集预 测,生成任意大小的分割图谱,提高了处理速度。但由于FCN网络中 池化层感受视野的扩大,导致目标位置等细节信息的丢失,对于复杂 背景的绝缘子图像,直接进行故障检测时,难以准确定位区域绝缘子, 造成部分背景误检为前景,从而难以有效提升绝缘子的故障识别准确 率。For the third type of insulator fault identification method based on deep learning, Chen Qing et al. applied CNN to insulator fault identification. Compared with the above two traditional methods, CNN can automatically learn in layers, and the shallower convolution layer perceives The domain is small, which is used to learn local area features; the deep convolutional layer has a large perceptual domain, which is used to learn more abstract high-level semantic features. The deep convolutional network considers the local and overall information of the image. At the same time, the abstract features learned by the deeper convolutional layer are less sensitive to the size, position and direction of the object, which is helpful for insulator fault identification. Nevertheless, this method essentially classifies image pixels, uses the image blocks around the pixel as the input of CNN for training and prediction, and indirectly obtains segmentation results. Due to the redundancy in adjacent pixel blocks, the amount of image input data is too large and the processing speed is slow; at the same time, the size of the pixel neighborhood is difficult to determine, and the spatial position information in the image cannot be taken into account, so it cannot be well identified. It is difficult to accurately segment the contour. In this regard, Jonathan Long et al. proposed a segmentation method based on a fully convolutional neural network (FCN). Compared with the traditional CNN segmentation method, FCN is an end-to-end network that does not limit the size of the input image and can be used without full convolutional neural networks. In the case of connected layers, dense prediction can be performed, and segmentation maps of arbitrary sizes can be generated, which improves the processing speed. However, due to the expansion of the field of view of the pooling layer in the FCN network, the detailed information such as the target position is lost. For the insulator image with a complex background, it is difficult to accurately locate the insulator in the area when the fault detection is performed directly, causing part of the background to be falsely detected as the foreground, thus It is difficult to effectively improve the accuracy of fault identification of insulators.

总而言之,传统的绝缘子故障检测方法依赖于图像的底层特征提 取及分类器选择,对具有复杂背景的绝缘子图像难以实现有效的故障 检测,经典的深度学习(CNN、FCN)方法,受复杂背景干扰较大,对 识别率提升有限。All in all, traditional insulator fault detection methods rely on the underlying feature extraction and classifier selection of images, and it is difficult to achieve effective fault detection for insulator images with complex backgrounds. Classical deep learning (CNN, FCN) methods are less affected by complex background interference. Large, the improvement of the recognition rate is limited.

发明内容Contents of the invention

为了克服上述现有技术的缺点,本发明的目的在于提供一种基于 二阶全卷积神经网络的绝缘子故障检测方法,不需要人为提取图像特 征,有效降低计算量,并能够有效抑制复杂背景的干扰,提高绝缘子 故障识别的准确率。In order to overcome the shortcomings of the above-mentioned prior art, the object of the present invention is to provide a method for detecting insulator faults based on a second-order fully convolutional neural network, which does not require artificial extraction of image features, effectively reduces the amount of calculation, and can effectively suppress complex backgrounds. Interference, improve the accuracy of insulator fault identification.

为了达到上述目的,本发明采取的技术方案为:In order to achieve the above object, the technical scheme that the present invention takes is:

一种基于二阶全卷积神经网络的绝缘子故障检测方法,包括以下 步骤:A kind of insulator fault detection method based on second-order fully convolutional neural network, comprising the following steps:

步骤1:输入复杂背景的航拍绝缘子图像,将图像归一化为400 ×600大小;Step 1: Input the aerial insulator image with complex background, and normalize the image to 400×600 size;

步骤2:初始化全卷积(FCN)网络,其中卷积核大小为3×3, 学习率为10-14,迭代次数为10万次;Step 2: Initialize the fully convolutional (FCN) network, where the convolution kernel size is 3×3, the learning rate is 10 -14 , and the number of iterations is 100,000;

步骤3:将训练集、训练集标签、测试集以及测试集标签输入一 阶FCN网络进行训练、测试;Step 3: Input the training set, training set label, test set and test set label into the first-order FCN network for training and testing;

步骤4:对初步分割的绝缘子图像进行重建滤波得到区域绝缘子 图像;Step 4: Reconstruct and filter the preliminary segmented insulator image to obtain the regional insulator image;

步骤5:将重建滤波后的图像与原图相乘得到去除背景的区域绝 缘子图像;Step 5: Multiply the reconstructed and filtered image with the original image to obtain the regional insulator image with the background removed;

步骤6:将区域绝缘子图像和故障标签作为二阶FCN网络的输入 进行训练及测试;Step 6: Use the regional insulator images and fault labels as the input of the second-order FCN network for training and testing;

步骤7:输出绝缘子故障检测结果。Step 7: Output the insulator fault detection result.

所述步骤3的FCN网络进行训练包括如下过程:The FCN network of described step 3 is trained and comprises the following process:

(a)FCN网络训练前向传播过程:(a) FCN network training forward propagation process:

FCN的前向传播过程,即计算训练样本进过逐层传输后的实际输 出,具体计算公式如下:The forward propagation process of FCN is to calculate the actual output after the training samples are transmitted layer by layer. The specific calculation formula is as follows:

zl+1=wl+1αl+bl+1 z l+1 =w l+1 α l +b l+1

αl+1=f(zl+1)α l+1 =f(z l+1 )

其中,l为网络层数,zl+1为第l+1层神经元的加权输入,α为 相应图像的每一层的输入数据,w、b为全卷积神经网络每一层神经 元的权重与偏置,f为线性修正函数ReLU。Among them, l is the number of network layers, z l+1 is the weighted input of the neurons of the l+1 layer, α is the input data of each layer of the corresponding image, w, b are the neurons of each layer of the fully convolutional neural network The weight and bias of , f is the linear correction function ReLU.

(b)FCN网络训练反向传播过程:(b) FCN network training backpropagation process:

FCN的反向传播过程,即为梯度或误差的反向传递过程,具体计 算公式如下:The backpropagation process of FCN is the backpropagation process of gradient or error, and the specific calculation formula is as follows:

其中,J(w,b)为目标函数,m为样本个数,hw,bxi为标准输出,yi为预测值,通过随机梯度下降法寻找最优w、b使得目标函数最小。Among them, J(w, b) is the objective function, m is the number of samples, h w, b x i is the standard output, y i is the predicted value, and the optimal w and b are found by the stochastic gradient descent method to minimize the objective function.

所述步骤4的具体实现步骤如下:The concrete implementation steps of described step 4 are as follows:

(a)初始化;B1是尺寸为(2i+1)×(2i+1)的圆形结构元素, i=1,k=1;其中i圆形结构元素的半径,k为重建次数;(a) initialization; B 1 is a circular structural element with a size of (2i+1)×(2i+1), i=1, k=1; wherein the radius of the i circular structural element, k is the number of reconstructions;

(b)定义掩膜图像为fmask,标记图像fmarker;重建的圆形结构 元素输入图像为f,(b) Define the mask image as f mask , mark the image f marker ; the reconstructed circular structural element The input image is f,

fmask=ff mask =f

fmarker=fΘBi f marker = fΘB i

h1=fmarker h 1 =f marker

其中,fmarker为初次腐蚀重建的标记图像记为h1Among them, f marker is the marked image reconstructed by the initial corrosion and recorded as h 1 ;

(c)腐蚀重构运算,具体计算公式如下:(c) Corrosion reconstruction operation, the specific calculation formula is as follows:

其中,hk为第k次腐蚀重建后结果,作为第k+1次重建的标记 图像,hk+1为第k+1次腐蚀重建后结果;Among them, h k is the result after the kth corrosion reconstruction, as the marked image of the k+1th reconstruction, and h k+1 is the result after the k+1th corrosion reconstruction;

(d)判断,如果hk+1=hk,则得到腐蚀重建结果fε=hk;否则, k=k+1,返回步骤(c);(d) Judgment, if h k+1 =h k , then get the corrosion reconstruction result f ε =h k ; otherwise, k=k+1, return to step (c);

(e)变换掩膜图像fmask和标记图像fmarker;i=1,k=1;(e) transform the mask image f mask and the marker image f marker ; i=1, k=1;

f′mask=(fε)c f′ mask =(f ε ) c

f′marker=(fε)cΘBi f′ marker =(f ε ) c ΘB i

h′1=f′marker h′ 1 = f′ marker

其中,(fε)c为fε的补运算,f′marker为初次膨胀重建的标记图像, 记为h′1Among them, (f ε ) c is the complement operation of f ε , and f′ marker is the marked image reconstructed by the first expansion, denoted as h′ 1 ;

(f)膨胀重建运算,具体计算公式如下:(f) Dilation reconstruction operation, the specific calculation formula is as follows:

其中,h′k为第k次膨胀重建后结果,作为第k+1次重建的标记 图像,h′k+1为第k+1次膨胀重建后结果;Among them, h′ k is the result of the k-th expansion and reconstruction, as the marked image of the k+1-th reconstruction, and h′ k+1 is the result of the k+1-th expansion and reconstruction;

(g)判断,如果h′k+1=h′k,则得到开重建结果frec;否则,k=k+ 1,返回步骤(f)。(g) Judgment, if h′ k+1 =h′ k , get the open reconstruction result f rec ; otherwise, k=k+ 1, return to step (f).

本发明与现有技术相比的有益效果为:The beneficial effects of the present invention compared with prior art are:

针对传统绝缘子故障检测方法需要人为提取特征、选择分类器的 问题,本发明采用的二阶FCN故障检测模型,能够自动分层提取绝缘 子图像的有效特征,不需要人为提取图像特征,降低了计算量的同时, 提高了故障识别准确率;针对经典的CNN、FCN分割方法容易受复杂 背景干扰,部分背景被误检为绝缘子区域的缺陷,本发明对一阶FCN 分割出的绝缘子图像进行数学形态学重建,能够有效滤除复杂背景的 干扰,得到绝缘子区域的准确定位,从而提高了故障识别准确率。本 发明可以应用于电力网络输电线路故障巡检中,为实现电力网络智能 化奠定理论基础。In view of the problem that traditional insulator fault detection methods need to manually extract features and select classifiers, the second-order FCN fault detection model adopted in the present invention can automatically extract effective features of insulator images in layers, without manual extraction of image features, reducing the amount of calculation At the same time, the accuracy of fault identification is improved; for the classic CNN and FCN segmentation methods are easily disturbed by complex backgrounds, and some backgrounds are misdetected as defects in the insulator region, the present invention performs mathematical morphology on the insulator image segmented by the first-order FCN The reconstruction can effectively filter out the interference of the complex background and obtain the accurate positioning of the insulator area, thereby improving the accuracy of fault identification. The present invention can be applied to power network transmission line fault inspection, and lays a theoretical foundation for realizing the intelligence of the power network.

附图说明Description of drawings

图1(a)是本发明实验中的绝缘子测试图像1。Fig. 1(a) is an insulator test image 1 in the experiment of the present invention.

图1(b)是采用对比方法CNN对绝缘子图像1的故障分割结果。Fig. 1(b) is the result of fault segmentation on insulator image 1 using the contrastive method CNN.

图1(c)是将CNN方法下绝缘子图像1的故障分割结果与原图 叠加。Figure 1(c) is the superimposition of the fault segmentation result of the insulator image 1 under the CNN method and the original image.

图1(d)是采用对比方法FCN对绝缘子图像1的故障分割结果。Fig. 1(d) is the fault segmentation result of insulator image 1 using the contrastive method FCN.

图1(e)是将FCN方法下绝缘子图像1的故障分割结果与原图 叠加。Figure 1(e) is the superimposition of the fault segmentation results of the insulator image 1 under the FCN method and the original image.

图1(f)是采用本发明方法对绝缘子图像1的故障分割结果。Fig. 1(f) is the fault segmentation result of the insulator image 1 using the method of the present invention.

图1(g)是将本发明方法下绝缘子图像1的故障分割结果与原 图叠加。Fig. 1(g) is the fault segmentation result of the insulator image 1 under the method of the present invention and the original image superimposed.

图2(a)是本发明实验中的绝缘子测试图像2。Fig. 2(a) is an insulator test image 2 in the experiment of the present invention.

图2(b)是采用对比方法CNN对绝缘子图像2的故障分割结果。Fig. 2(b) is the result of fault segmentation on insulator image 2 using the contrastive method CNN.

图2(c)是将CNN方法下绝缘子图像2的故障分割结果与原图 叠加。Figure 2(c) is the superimposition of the fault segmentation results of the insulator image 2 under the CNN method and the original image.

图2(d)是采用对比方法FCN对绝缘子图像2的故障分割结果。Fig. 2(d) is the fault segmentation result of insulator image 2 using the contrastive method FCN.

图2(e)是将FCN方法下绝缘子图像2的故障分割结果与原图 叠加。Figure 2(e) is the superimposition of the fault segmentation results of the insulator image 2 under the FCN method and the original image.

图2(f)是采用本发明方法对绝缘子图像2的故障分割结果。Fig. 2(f) is the fault segmentation result of the insulator image 2 using the method of the present invention.

图2(g)是将本发明方法下绝缘子图像2的故障分割结果与原 图叠加。Fig. 2 (g) is the fault segmentation result of the insulator image 2 under the method of the present invention and the original image superimposed.

具体实施方式Detailed ways

下面结合附图和实施例对本发明做进一步详细说明。The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

实施例一:Embodiment one:

为了测试本发明对彩色图像分割的有效性和优越性,本发明实验 环境为IW4206-2Q深度学习工作站,Ubuntu 16.0464位操作系统, 62.8GB内存,NVIDIA GeForce GTX1080*2显卡,CPU E5-1602V4, 最终在caffe深度学习框架下实现二阶fcn网络模型的搭建。In order to test the effectiveness and superiority of the present invention for color image segmentation, the experimental environment of the present invention is IW4206-2Q deep learning workstation, Ubuntu 16.0464-bit operating system, 62.8GB memory, NVIDIA GeForce GTX1080*2 graphics card, CPU E5-1602V4, and finally The construction of the second-order fcn network model is realized under the caffe deep learning framework.

首先利用一阶FCN网络进行绝缘子区域的初步分割,对于分割出 的绝缘子图像进行数学形态重建滤波,得到区域绝缘子;在区域绝缘 子图像的基础上利用二阶FCN进行故障识别。具体实现步骤如下:Firstly, the first-order FCN network is used to segment the insulator area, and the segmented insulator image is mathematically reconstructed and filtered to obtain the regional insulator; on the basis of the regional insulator image, the second-order FCN is used for fault identification. The specific implementation steps are as follows:

步骤1:输入复杂背景的航拍绝缘子图像,将图像归一化为400 ×600大小。Step 1: Input the aerial insulator image with complex background, and normalize the image to 400×600 size.

步骤2:初始化全卷积(FCN)网络,其中卷积核大小为3×3, 学习率为10-14,迭代次数为10万次。Step 2: Initialize the fully convolutional (FCN) network, where the convolution kernel size is 3×3, the learning rate is 10 -14 , and the number of iterations is 100,000 times.

步骤3:将训练集、训练集标签、测试集以及测试集标签输入一 阶FCN网络进行训练、测试,具体过程如下:Step 3: Input the training set, training set label, test set and test set label into the first-order FCN network for training and testing. The specific process is as follows:

(a)FCN网络训练前向传播过程:(a) FCN network training forward propagation process:

FCN的前向传播过程,即计算训练样本进过逐层传输后的实际输 出,具体计算公式如下:The forward propagation process of FCN is to calculate the actual output after the training samples are transmitted layer by layer. The specific calculation formula is as follows:

zl+1=wl+1αl+bl+1 z l+1 =w l+1 α l +b l+1

αl+1=f(zl+1)α l+1 =f(z l+1 )

其中,l为网络层数,zl+1为第l+1层神经元的加权输入,α为 相应图像的每一层的输入数据,w、b为全卷积神经网络每一层神经 元的权重与偏置,f为线性修正函数ReLU。Among them, l is the number of network layers, z l+1 is the weighted input of the neurons of the l+1 layer, α is the input data of each layer of the corresponding image, w, b are the neurons of each layer of the fully convolutional neural network The weight and bias of , f is the linear correction function ReLU.

(b)FCN网络训练反向传播过程:(b) FCN network training backpropagation process:

FCN的反向传播过程,即为梯度或误差的反向传递过程,具体计 算公式如下:The backpropagation process of FCN is the backpropagation process of gradient or error, and the specific calculation formula is as follows:

其中,J(w,b)为目标函数,m为样本个数,hw,bxi为标准输出,yi为预测值,通过随机梯度下降法寻找最优w、b使得目标函数最小。Among them, J(w, b) is the objective function, m is the number of samples, h w, b x i is the standard output, y i is the predicted value, and the optimal w and b are found by the stochastic gradient descent method to minimize the objective function.

步骤4:对初步分割的绝缘子图像进行重建滤波得到区域绝缘子 图像,具体步骤如下:Step 4: Reconstruct and filter the preliminary segmented insulator image to obtain the regional insulator image. The specific steps are as follows:

(a)初始化;B1是尺寸为(2i+1)×(2i+1)的圆形结构元素, i=1,k=1;其中i圆形结构元素的半径,k为重建次数;(a) initialization; B 1 is a circular structural element with a size of (2i+1)×(2i+1), i=1, k=1; wherein the radius of the i circular structural element, k is the number of reconstructions;

(b)定义掩膜图像为fmask,标记图像fmarker;为重建的圆形结 构元素输入图像为f,(b) Define the mask image as f mask , and mark the image as f marker ; it is the reconstructed circular structural element The input image is f,

fmask=ff mask =f

fmarker=fΘBi f marker = fΘB i

h1=fmarker h 1 =f marker

其中,fmarker为初次腐蚀重建的标记图像记为h1Among them, f marker is the marked image reconstructed by the initial corrosion and recorded as h 1 ;

(c)腐蚀重构运算,具体计算公式如下:(c) Corrosion reconstruction operation, the specific calculation formula is as follows:

其中,hk为第k次腐蚀重建后结果,作为第k+1次重建的标记 图像,hk+1为第k+1次腐蚀重建后结果;Among them, h k is the result after the kth corrosion reconstruction, as the marked image of the k+1th reconstruction, and h k+1 is the result after the k+1th corrosion reconstruction;

(d)判断,如果hk+1=hk,则得到腐蚀重建结果fε=hk;否则, k=k+1,返回步骤(c);(d) Judgment, if h k+1 =h k , then get the corrosion reconstruction result f ε =h k ; otherwise, k=k+1, return to step (c);

(e)变换掩膜图像fmask和标记图像fmarker;i=1,k=1;(e) transform the mask image f mask and the marker image f marker ; i=1, k=1;

f′mask=(fε)c f′ mask =(f ε ) c

f′marker=(fε)cΘBi f′ marker =(f ε ) c ΘB i

h′1=f′marker h′ 1 = f′ marker

其中,(fε)c为fε的补运算,f′marker为初次膨胀重建的标记图像, 记为h′1Among them, (f ε ) c is the complement operation of f ε , and f′ marker is the marked image reconstructed by the first expansion, denoted as h′ 1 ;

(f)膨胀重建运算,具体计算公式如下:(f) Dilation reconstruction operation, the specific calculation formula is as follows:

其中,h′k为第k次膨胀重建后结果,作为第k+1次重建的标记 图像,h′k+1为第k+1次膨胀重建后结果;Among them, h′ k is the result of the k-th expansion and reconstruction, as the marked image of the k+1-th reconstruction, and h′ k+1 is the result of the k+1-th expansion and reconstruction;

(g)判断,如果h′k+1=h′k,则得到开重建结果frec;否则,k=k+ 1,返回步骤(f)。(g) Judgment, if h′ k+1 =h′ k , get the open reconstruction result frec; otherwise, k=k+ 1, return to step (f).

步骤5:将重建滤波后的图像与原图相乘得到去除背景的区域绝 缘子图像。Step 5: Multiply the reconstructed and filtered image with the original image to obtain the regional insulator image with the background removed.

步骤6:将区域绝缘子图像和故障标签作为二阶FCN网络的输入 进行训练及测试。Step 6: Use the regional insulator images and fault labels as the input of the second-order FCN network for training and testing.

步骤7:输出绝缘子故障检测结果。Step 7: Output the insulator fault detection result.

参见图1(a),本发明实验中的绝缘子测试图像1。利用三种对 比方法:CNN、FCN和本发明方法分别对测试图像1进行分割。在仿 真实验中,为了统一参数,CNN分割方法、FCN分割方法均采用3×3 大小的卷积核,学习率为10-14,迭代次数为10万次。实验结果参见 图2(b)和2(c),由于CNN分割方法,是利用预测像素周围的图像 块作为CNN的输入进行训练和预测,间接得到分割结果;由于相邻像 素块中存在冗余,像素邻域大小难以确定,不能考虑到空间位置信息, 故障分割结果粗糙,尤其是当两处故障距离比较接近时,容易被误检 为一处故障。Referring to Fig. 1(a), the insulator test image 1 in the experiment of the present invention. The test image 1 is segmented by using three comparison methods: CNN, FCN and the method of the present invention. In the simulation experiment, in order to unify the parameters, both the CNN segmentation method and the FCN segmentation method use a 3×3 convolution kernel, the learning rate is 10 -14 , and the number of iterations is 100,000 times. The experimental results are shown in Figure 2(b) and 2(c). Because of the CNN segmentation method, the image blocks around the predicted pixels are used as the input of CNN for training and prediction, and the segmentation results are obtained indirectly; due to the redundancy in adjacent pixel blocks , the size of the pixel neighborhood is difficult to determine, the spatial position information cannot be considered, and the result of fault segmentation is rough, especially when the distance between two faults is relatively close, it is easy to be misdetected as one fault.

参见图2(d)和图2(e),相比之下FCN分割方法,融合了高维 特征和低层特征信息,提高了分割精度,但由于池化层感受视野的扩 大,导致目标位置等细节信息的丢失,部分背景被误检为故障部分。See Figure 2(d) and Figure 2(e). In contrast, the FCN segmentation method combines high-dimensional features and low-level feature information to improve segmentation accuracy, but due to the expansion of the pooling layer's sensory field of view, the target position, etc. Loss of detailed information, part of the background is falsely detected as a faulty part.

参见图2(f),相比之下,本发明方法利用数学形态学重建运算 滤除一阶FCN分割结果中的复杂背景,从而得到绝缘子区域的准确定 位;基于区域绝缘子的分割结果,利用二阶FCN网络进行绝缘子故障 区域检测,实现故障区域的准确定位,与经典的CNN、FCN分割方法相 比,能够有效抑制复杂背景的干扰,提升绝缘子故障识别准确率。Referring to Figure 2(f), in contrast, the method of the present invention uses mathematical morphology reconstruction operations to filter out complex backgrounds in the first-order FCN segmentation results, thereby obtaining accurate positioning of insulator regions; based on the segmentation results of regional insulators, using two The first-order FCN network is used to detect the insulator fault area and realize the accurate positioning of the fault area. Compared with the classic CNN and FCN segmentation methods, it can effectively suppress the interference of complex backgrounds and improve the accuracy of insulator fault identification.

Claims (3)

1.一种基于二阶全卷积神经网络的绝缘子故障检测方法,其特征在于,包括如下步骤:1. a kind of insulator fault detection method based on second-order full convolutional neural network, is characterized in that, comprises the steps: 步骤1:输入复杂背景的航拍绝缘子图像,将图像归一化为400×600大小;Step 1: Input the aerial insulator image with complex background, and normalize the image to 400×600 size; 步骤2:初始化全卷积(FCN)网络,其中卷积核大小为3×3,学习率为10-14,迭代次数为10万次;Step 2: Initialize the fully convolutional (FCN) network, where the convolution kernel size is 3×3, the learning rate is 10 -14 , and the number of iterations is 100,000; 步骤3:将训练集、训练集标签、测试集以及测试集标签输入一阶FCN网络进行训练、测试;Step 3: Input the training set, training set label, test set and test set label into the first-order FCN network for training and testing; 步骤4:对初步分割的绝缘子图像进行重建滤波得到区域绝缘子图像;Step 4: Reconstruct and filter the preliminary segmented insulator image to obtain the regional insulator image; 步骤5:将重建滤波后的图像与原图相乘得到去除背景的区域绝缘子图像;Step 5: Multiply the reconstructed and filtered image with the original image to obtain the regional insulator image with the background removed; 步骤6:将区域绝缘子图像和故障标签作为二阶FCN网络的输入进行训练及测试;Step 6: Use the regional insulator images and fault labels as the input of the second-order FCN network for training and testing; 步骤7:输出绝缘子故障检测结果。Step 7: Output the insulator fault detection result. 2.根据权利要求1所述的一种基于二阶全卷积神经网络的绝缘子故障检测方法,其特征在于,所述步骤3的FCN网络进行训练包括如下过程:2. a kind of insulator fault detection method based on second-order full convolutional neural network according to claim 1, is characterized in that, the FCN network of described step 3 is trained and comprises following process: (a)FCN网络训练前向传播过程:(a) FCN network training forward propagation process: FCN的前向传播过程,即计算训练样本进过逐层传输后的实际输出,具体计算公式如下:The forward propagation process of FCN is to calculate the actual output after the training samples are transmitted layer by layer. The specific calculation formula is as follows: zl+1=wl+1αl+bl+1 z l+1 =w l+1 α l +b l+1 αl+1=f(zl+1)α l+1 =f(z l+1 ) 其中,l为网络层数,zl+1为第l+1层神经元的加权输入,α为相应图像的每一层的输入数据,w、b为全卷积神经网络每一层神经元的权重与偏置,f为线性修正函数ReLU。Among them, l is the number of network layers, z l+1 is the weighted input of the neurons of the l+1 layer, α is the input data of each layer of the corresponding image, w, b are the neurons of each layer of the fully convolutional neural network The weight and bias of , f is the linear correction function ReLU. (b)FCN网络训练反向传播过程:(b) FCN network training backpropagation process: FCN的反向传播过程,即为梯度或误差的反向传递过程,具体计算公式如下:The backpropagation process of FCN is the backpropagation process of gradient or error. The specific calculation formula is as follows: 其中,J(w,b)为目标函数,m为样本个数,hw,bxi为标准输出,yi为预测值,通过随机梯度下降法寻找最优w、b使得目标函数最小。Among them, J(w, b) is the objective function, m is the number of samples, h w, b x i is the standard output, y i is the predicted value, and the optimal w and b are found by the stochastic gradient descent method to minimize the objective function. 3.根据权利要求1所述的一种基于二阶全卷积神经网络的绝缘子故障检测方法,其特征在于,所述步骤4的具体实现步骤如下:3. a kind of insulator fault detection method based on second-order full convolutional neural network according to claim 1, is characterized in that, the specific implementation steps of described step 4 are as follows: (a)初始化;B1是尺寸为(2i+1)×(2i+1)的圆形结构元素,i=1,k=1;其中i圆形结构元素的半径,k为重建次数;(a) initialization; B 1 is a circular structural element whose size is (2i+1)×(2i+1), i=1, k=1; wherein the radius of the i circular structural element, k is the number of reconstructions; (b)定义掩膜图像为fmask,标记图像fmarker;重建的圆形结构元素输入图像为f,(b) Define the mask image as f mask , mark the image f marker ; the reconstructed circular structural element The input image is f, fmask=ff mask = f fmarker=fΘBi f marker = fΘB i h1=fmarker h 1 =f marker 其中,fmarker为初次腐蚀重建的标记图像记为h1Among them, f marker is the marked image reconstructed by the initial corrosion and recorded as h 1 ; (c)腐蚀重构运算,具体计算公式如下:(c) Corrosion reconstruction operation, the specific calculation formula is as follows: 其中,hk为第k次腐蚀重建后结果,作为第k+1次重建的标记图像,hk+1为第k+1次腐蚀重建后结果;Among them, h k is the result after the kth corrosion reconstruction, as the marked image of the k+1th reconstruction, and h k+1 is the result after the k+1th corrosion reconstruction; (d)判断,如果hk+1=hk,则得到腐蚀重建结果fε=hk;否则,k=k+1,返回步骤(c);(d) Judgment, if h k+1 =h k , then get the corrosion reconstruction result f ε =h k ; otherwise, k=k+1, return to step (c); (e)变换掩膜图像fmask和标记图像fmarker;i=1,k=1;(e) transform the mask image f mask and the marker image f marker ; i=1, k=1; f′mask=(fε)c f′ mask =(f ε ) c f′marker=(fε)cΘBi f′ marker =(f ε ) c ΘB i h′1=f′marker h′ 1 = f′ marker 其中,(fε)c为fε的补运算,f′marker为初次膨胀重建的标记图像,记为h′1Among them, (f ε ) c is the complement operation of f ε , and f′ marker is the marked image reconstructed by the first expansion, denoted as h′ 1 ; (f)膨胀重建运算,具体计算公式如下:(f) Dilation reconstruction operation, the specific calculation formula is as follows: 其中,h′k为第k次膨胀重建后结果,作为第k+1次重建的标记图像,h′k+1为第k+1次膨胀重建后结果;Among them, h′ k is the result of the k-th expansion and reconstruction, as the marked image of the k+1-th reconstruction, and h′ k+1 is the result of the k+1-th expansion and reconstruction; (g)判断,如果h′k+1=h′k,则得到开重建结果frec;否则,k=k+1,返回步骤(f)。(g) Judgment, if h′ k+1 =h′ k , get the open reconstruction result f rec ; otherwise, k=k+1, return to step (f).
CN201810260456.XA 2018-03-27 2018-03-27 A kind of insulator breakdown detection method based on the full convolutional neural networks of second order Pending CN108537780A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810260456.XA CN108537780A (en) 2018-03-27 2018-03-27 A kind of insulator breakdown detection method based on the full convolutional neural networks of second order

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810260456.XA CN108537780A (en) 2018-03-27 2018-03-27 A kind of insulator breakdown detection method based on the full convolutional neural networks of second order

Publications (1)

Publication Number Publication Date
CN108537780A true CN108537780A (en) 2018-09-14

Family

ID=63485301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810260456.XA Pending CN108537780A (en) 2018-03-27 2018-03-27 A kind of insulator breakdown detection method based on the full convolutional neural networks of second order

Country Status (1)

Country Link
CN (1) CN108537780A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109377483A (en) * 2018-09-30 2019-02-22 云南电网有限责任公司普洱供电局 Porcelain insulator crack detecting method and device
CN110008901A (en) * 2019-04-04 2019-07-12 天津工业大学 A method for insulator fault identification and location based on Mask R-CNN
CN110148136A (en) * 2019-04-10 2019-08-20 南方电网科学研究院有限责任公司 Insulator image segmentation method and device and computer readable storage medium
CN111289854A (en) * 2020-02-26 2020-06-16 华北电力大学 3D-CNN and LSTM for evaluating the insulation state of insulators based on UV video
CN111598778A (en) * 2020-05-13 2020-08-28 云南电网有限责任公司电力科学研究院 A method for super-resolution reconstruction of insulator images
CN112183667A (en) * 2020-10-31 2021-01-05 哈尔滨理工大学 A collaborative deep learning method for insulator fault detection
CN112233092A (en) * 2020-10-16 2021-01-15 广东技术师范大学 A deep learning method for intelligent defect detection of UAV power inspection
CN112434695A (en) * 2020-11-20 2021-03-02 哈尔滨市科佳通用机电股份有限公司 Upper pull rod fault detection method based on deep learning
CN112906620A (en) * 2021-03-09 2021-06-04 唐山职业技术学院 Unmanned aerial vehicle-assisted insulator fault detection method and device and electronic equipment
CN114418964A (en) * 2021-12-28 2022-04-29 广东电网有限责任公司 Insulator defect detection method and system based on local rotation feature learning
CN117422935A (en) * 2023-12-13 2024-01-19 深圳市鑫思诚科技有限公司 Motorcycle fault non-contact diagnosis method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336224A (en) * 2013-07-03 2013-10-02 同济大学 Complex information based insulator temperature rise fault comprehensive diagnosis method
CN107680090A (en) * 2017-10-11 2018-02-09 电子科技大学 Based on the electric transmission line isolator state identification method for improving full convolutional neural networks

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336224A (en) * 2013-07-03 2013-10-02 同济大学 Complex information based insulator temperature rise fault comprehensive diagnosis method
CN107680090A (en) * 2017-10-11 2018-02-09 电子科技大学 Based on the electric transmission line isolator state identification method for improving full convolutional neural networks

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
房友盼: "基于图像识别的实木板材优选系统研究", 《中国优秀博硕士学位论文全文数据库(硕士) 工程科技Ⅰ辑》 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109377483A (en) * 2018-09-30 2019-02-22 云南电网有限责任公司普洱供电局 Porcelain insulator crack detecting method and device
CN110008901A (en) * 2019-04-04 2019-07-12 天津工业大学 A method for insulator fault identification and location based on Mask R-CNN
CN110148136A (en) * 2019-04-10 2019-08-20 南方电网科学研究院有限责任公司 Insulator image segmentation method and device and computer readable storage medium
CN111289854A (en) * 2020-02-26 2020-06-16 华北电力大学 3D-CNN and LSTM for evaluating the insulation state of insulators based on UV video
CN111598778A (en) * 2020-05-13 2020-08-28 云南电网有限责任公司电力科学研究院 A method for super-resolution reconstruction of insulator images
CN111598778B (en) * 2020-05-13 2023-11-21 云南电网有限责任公司电力科学研究院 Super-resolution reconstruction method for insulator image
CN112233092A (en) * 2020-10-16 2021-01-15 广东技术师范大学 A deep learning method for intelligent defect detection of UAV power inspection
CN112183667B (en) * 2020-10-31 2022-06-14 哈尔滨理工大学 Insulator fault detection method in cooperation with deep learning
CN112183667A (en) * 2020-10-31 2021-01-05 哈尔滨理工大学 A collaborative deep learning method for insulator fault detection
CN112434695A (en) * 2020-11-20 2021-03-02 哈尔滨市科佳通用机电股份有限公司 Upper pull rod fault detection method based on deep learning
CN112906620A (en) * 2021-03-09 2021-06-04 唐山职业技术学院 Unmanned aerial vehicle-assisted insulator fault detection method and device and electronic equipment
CN114418964A (en) * 2021-12-28 2022-04-29 广东电网有限责任公司 Insulator defect detection method and system based on local rotation feature learning
CN117422935A (en) * 2023-12-13 2024-01-19 深圳市鑫思诚科技有限公司 Motorcycle fault non-contact diagnosis method and system
CN117422935B (en) * 2023-12-13 2024-03-08 深圳市鑫思诚科技有限公司 Motorcycle fault non-contact diagnosis method and system

Similar Documents

Publication Publication Date Title
CN108537780A (en) A kind of insulator breakdown detection method based on the full convolutional neural networks of second order
CN109118479B (en) Capsule network-based insulator defect identification and positioning device and method
CN109934200B (en) RGB color remote sensing image cloud detection method and system based on improved M-Net
CN107133943B (en) A kind of visible detection method of stockbridge damper defects detection
CN113205063A (en) Visual identification and positioning method for defects of power transmission conductor
CN104050471B (en) Natural scene character detection method and system
CN113643268B (en) Industrial product defect quality inspection method and device based on deep learning and storage medium
CN107886133A (en) A kind of underground piping defect inspection method based on deep learning
CN107944396A (en) A kind of disconnecting link state identification method based on improvement deep learning
CN108520516A (en) A Crack Detection and Segmentation Method for Bridge Pavement Based on Semantic Segmentation
CN105447530A (en) Power transmission line hidden risk and fault detection method based on image identification technology
CN107203781A (en) A kind of object detection method Weakly supervised end to end instructed based on conspicuousness
CN111428550A (en) Vehicle detection method based on improved YO L Ov3
Chen et al. Fault Detection of Insulators Using Second‐order Fully Convolutional Network Model
CN111797712A (en) Remote sensing image cloud and cloud shadow detection method based on multi-scale feature fusion network
Wang et al. Railway insulator detection based on adaptive cascaded convolutional neural network
CN110046617A (en) A kind of digital electric meter reading self-adaptive identification method based on deep learning
CN115112669A (en) A small sample-based non-destructive testing and identification method for pavement
CN114758133B (en) Image defect segmentation method based on superpixel active learning and semi-supervised learning strategy
CN114529821B (en) A method for offshore wind power safety monitoring and early warning based on machine vision
CN112270317A (en) Traditional digital water meter reading identification method based on deep learning and frame difference method
CN113537173A (en) A Face Image Authenticity Recognition Method Based on Facial Patch Mapping
CN104077612A (en) Pest image recognition method based on multi-feature sparse representation technology
CN111310690A (en) Forest fire recognition method and device based on CN and three-channel capsule network
Lien et al. Product surface defect detection based on deep learning

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180914