Skip to main content
Log in

Transmission Line Insulator Defect Detection Based on Swin Transformer and Context

  • Research Article
  • Published:
Machine Intelligence Research Aims and scope Submit manuscript

Abstract

Insulators are important components of power transmission lines. Once a failure occurs, it may cause a large-scale blackout and other hidden dangers. Due to the large image size and complex background, detecting small defect objects is a challenge. We make improvements based on the two-stage network Faster R-convolutional neural networks (CNN). First, we use a hierarchical Swin Transformer with shifted windows as the feature extraction network, instead of ResNet, to extract more discriminative features, and then design the deformable receptive field block to encode global and local context information, which is utilized to capture key clues for detecting objects in complex backgrounds. Finally, the filling data augmentation method is proposed for the problem of insufficient defects and more images of insulator defects under different backgrounds are added to the training set to improve the robustness of the model. As a result, the recall increases from 89.5% to 92.1%, and the average precision increases from 81.0% to 87.1%. To further prove the superiority of the proposed algorithm, we also tested the model on the public data set Pascal visual object classes (VOC), which also yields outstanding results.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Y. J. Zhai, R. Chen, Q. Yang, X. X. Li, Z. B. Zhao. Insulator fault detection based on spatial morphological features of aerial images. IEEE Access, vol. 6, pp. 35316–35326, 2018. DOI: https://doi.org/10.1109/ACCESS.2018.2846293.

    Article  Google Scholar 

  2. X. Wang, Y. M. Zhang. Insulator identification from aerial images using support vector machine with background suppression. In Proceedings of International Conference on Unmanned Aircraft Systems, IEEE, Arlington, USA, pp. 892–897, 2016. DOI: https://doi.org/10.1109/ICUAS.2016.7502544.

    Google Scholar 

  3. T. T. Yan, G. D. Yang, J. Z. Yu. Feature fusion based insulator detection for aerial inspection. In Proceedings of the 36th Chinese Control Conference, IEEE, Dalian, China, pp. 10972–10977, 2017. DOI: https://doi.org/10.23919/ChiCC.2017.8029108.

    Google Scholar 

  4. T. Y. Lin, P. Goyal, R. Girshick, K. M. He, P. Dollár. Focal loss for dense object detection. In Proceedings of IEEE International Conference on Computer Vision, Venice, Italy, pp. 2980–2988, 2017. DOI: https://doi.org/10.1109/ICCV.2017.324.

  5. J. Redmon, A. Farhadi. YOLOv3: An incremental improvement. [Online], Available: https://arxiv.org/abs/1804.02767, 2018.

  6. Y. Y. Qin, J. T. Cao, X. F. Ji. Fire detection method based on depthwise separable convolution and YOLOv3. International Journal of Automation and Computing, vol. 18, no. 2, pp. 300–310, 2021. DOI: https://doi.org/10.1007/s11633-020-1269-5.

    Article  Google Scholar 

  7. X. B. Fu, S. L. Yue, D. Y. Pan. Camera-based basketball scoring detection using convolutional neural network. International Journal of Automation and Computing, vol. 18, no. 2, pp. 266–276, 2021. DOI: https://doi.org/10.1007/s11633-020-1259-7.

    Article  Google Scholar 

  8. S. Q. Ren, K. M. He, R. B. Girshick, J. Sun. Faster R-CNN: Towards real-time object detection with region proposal networks. In Proceedings of Advances in Neural Information Processing Systems, Montreal, Canada, pp. 91–99, 2015.

  9. H. G. Liang, C. Zuo, W. M. Wei. Detection and evaluation method of transmission line defects based on deep learning. IEEE Access, vol. 8, pp. 38448–38458, 2020. DOI: https://doi.org/10.1109/ACCESS.2020.2974798.

    Article  Google Scholar 

  10. W. G. Wan, Z. L. Wang, B. Liu, Y. C. Yang, X. B. Sun. Typical defect detection technology of transmission line based on deep learning. In Proceedings of Chinese Automation Congress, IEEE, Hangzhou, China, pp. 1185–1189, 2019. DOI: https://doi.org/10.1109/CAC48633.2019.8996643.

    Google Scholar 

  11. W. Liu, D. Anguelov, D. Erhan, C. Szegedy, S. Reed, C. Y. Fu, A. C. Berg. SSD: Single shot multibox detector. In Proceedings of the 14th European Conference on Computer Vision, Springer, Amsterdam, The Netherlands, pp. 21–37, 2016. DOI: https://doi.org/10.1007/978-3-319-46448-0_2.

    Google Scholar 

  12. D. Sadykova, D. Pernebayeva, M. Bagheri, A. James. INYOLO: Real-time detection of outdoor high voltage insulators using UAV imaging. IEEE Transactions on Power Delivery, vol. 35, no. 3, pp. 1599–1601, 2020. DOI: https://doi.org/10.1109/TPWRD.2019.2944741.

    Article  Google Scholar 

  13. X. Tao, D. P. Zhang, Z. H. Wang, X. L. Liu, H. Y. Zhang, D. Xu. Detection of power line insulator defects using aerial images analyzed with convolutional neural networks. IEEE Transactions on Systems, Man, and Cybernetics: Systems, vol. 50, no. 4, pp. 1486–1498, 2020. DOI: https://doi.org/10.1109/TSMC.2018.2871750.

    Article  Google Scholar 

  14. Z. N. Ling, R. C. Qiu, Z. J. Jin, Y. H. Zhang, X. He, H. C. Liu, L. Chu. An accurate and real-time self-blast glass insulator location method based on faster R-CNN and U-Net with aerial images, [Online], Available: https://arxiv.org/abs/1801.05143, 2018.

  15. Y. L. Wang, J. Wang, F. Gao, P. F. Hu, L. Xu, J. Zhang, Y. L. Yu, J. Xue, J. Q. Li. Detection and recognition for fault insulator based on deep learning. In Proceedings of the 11th International Congress on Image and Signal Processing, BioMedical Engineering and Informatics, IEEE, Beijing, China, 2018. DOI: https://doi.org/10.1109/CISP-BMEI.2018.8633245.

    Book  Google Scholar 

  16. X. F. Li, H. S. Su, G. H. Liu. Insulator defect recognition based on global detection and local segmentation. IEEE Access, vol. 8, pp. 59934–59946, 2020. DOI: https://doi.org/10.1109/ACCESS.2020.2982288.

    Article  Google Scholar 

  17. S. Q. Wang, Y. F. Liu, Y. H. Qing, C. X. Wang, T. Z. Lan, R. T. Yao. Detection of insulator defects with improved resnest and region proposal network. IEEE Access, vol. 8, pp. 184841–184850, 2020. DOI: https://doi.org/10.1109/ACCESS.2020.3029857.

    Article  Google Scholar 

  18. S. N. Xie, R. Girshick, P. Dollár, Z. W. Tu, K. M. He. Aggregated residual transformations for deep neural networks. In Proceedings of IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, USA, pp. 1492–1500, 2017. DOI: https://doi.org/10.1109/CVPR.2017.634.

  19. H. Zhang, C. R. Wu, Z. Y. Zhang, Y. Zhu, H. B. Lin, Z. Zhang, Y. Sun, T. He, J. Mueller, R. Manmatha, M. Li, A. Smola. ResNeSt: Split-attention networks. In Proceedings of IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, IEEE, New Orleans, USA, pp. 2735–2745, 2022. DOI: https://doi.org/10.1109/CVPRW56347.2022.00309.

    Google Scholar 

  20. X. Y. Xie, H. Liu, Z. X. Na, X. Luo, D. Wang, B. Leng. DPiT: Detecting defects of photovoltaic solar cells with image transformers. IEEE Access, vol. 9, pp. 154292–154303, 2021. DOI: https://doi.org/10.1109/ACCESS.2021.3119631.

    Article  Google Scholar 

  21. Z. Liu, Y. T. Lin, Y. Cao, H. Hu, Y. X. Wei, Z. Zhang, S. Lin, B. N. Guo. Swin transformer: Hierarchical vision transformer using shifted windows. In Proceedings of IEEE/CVF International Conference on Computer Vision, IEEE, Montreal, Canada, pp. 9992–10002, 2021. DOI: https://doi.org/10.1109/ICCV48922.2021.00986.

    Google Scholar 

  22. T. Y. Lin, P. Dollár, R. Girshick, K. M. He, B. Hariharan, S. Belongie. Feature pyramid networks for object detection. In Proceedings of IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, USA, pp. 2117–2125, 2017. DOI: https://doi.org/10.1109/CVPR.2017.106.

  23. A. Dosovitskiy, L. Beyer, A. Kolesnikov, D. Weissenborn, X. H. Zhai, T. Unterthiner, M. Dehghani, M. Minderer, G. Heigold, S. Gelly, J. Uszkoreit, N. Houlsby. An image is worth 16x16 words: Transformers for image recognition at scale, [Online], Available: https://arxiv.org/abs/2010.11929, 2020.

  24. H. Touvron, M. Cord, M. Douze, F. Massa, A. Sablayrolles, H. Jegou. Training data-efficient image transformers & distillation through attention. In Proceedings of the 38th International Conference on Machine Learning, pp. 10347–10357, 2021.

  25. N. Carion, F. Massa, G. Synnaeve, N. Usunier, A. Kirillov, S. Zagoruyko. End-to-end object detection with transformers. In Proceedings of the 16th European Conference on Computer Vision, Springer, Glasgow, UK, pp. 213–229, 2020. DOI: https://doi.org/10.1007/978-3-030-58452-8_13.

    Google Scholar 

  26. X. Z. Zhu, W. J. Su, L. W. Lu, B. Li, X. G. Wang, J. F. Dai. Deformable DETR: Deformable transformers for end-to-end object detection, [Online], Available: https://arriv.org/abs/2010.04159, 2020.

  27. S. T. Liu, D. Huang, Y. H. Wang. Receptive field block net for accurate and fast object detection. In Proceedings of the 15th European Conference on Computer Vision, Springer, Munich, Germany, pp. 385–400, 2018. DOI: https://doi.org/10.1007/978-3-030-01252-6_24.

    Google Scholar 

  28. J. F. Dai, H. Z. Qi, Y. W. Xiong, Y. Li, G. D. Zhang, H. Hu, Y. C. Wei. Deformable convolutional networks. In Proceedings of IEEE International Conference on Computer Vision, Venice, Italy, pp. 764–773, 2017. DOI: 10.1109/ICCV.2017.89.

  29. A. Paszke, S. Gross, F. Massa, A. Lerer, J. Bradbury, G. Chanan, T. Killeen, Z. M. Lin, N. Gimelshein, L. Antiga, A. Desmaison, A. Köpf, E. Yang, Z. DeVito, M. Raison, A. Tejani, S. Chilamkurthy, B. Steiner, L. Fang, J. J. Bai, S. Chintala. Pytorch: An imperative style, high-performance deep learning library. In Proceedings of the 33rd International Conference on Neural Information Processing Systems, ACM, Vancouver, Canada, pp. 8024–8035, 2019.

    Google Scholar 

  30. D. P. Kingma, J. Ba. Adam: A method for stochastic optimization, [Online], Available: https://arxiv.org/abs/1412.6980, 2014.

  31. A. Bochkovskiy, C. Y. Wang, H. Y. M. Liao. YOLOv4: Optimal speed and accuracy of object detection. [Online], Available: https://arxiv.org/abs/2004.10934, 2020.

  32. L. C. Chen, Y. K. Zhu, G. Papandreou, F. Schroff, H. Adam. Encoder-decoder with atrous separable convolution for semantic image segmentation. In Proceedings of the 15th European Conference on Computer Vision, Springer, Munich, Germany, pp. 833–851, 2018. DOI: https://doi.org/10.1007/978-3-030-01234-2_49.

    Google Scholar 

  33. S. Woo, J. Park, J. Y. Lee, I. S. Kweon. CBAM: Convolutional block attention module. In Proceedings of the 15th European Conference on Computer Vision, Springer, Munich, Germany, pp. 3–19, 2018. DOI: https://doi.org/10.1007/978-3-030-01234-2_1.

    Google Scholar 

  34. J. Hu, L. Shen, G. Sun. Squeeze-and-excitation networks. In Proceedings of IEEE/CVF Conference on Computer Vision and Pattern Recognition, IEEE, Salt Lake City, USA, pp. 7132–7141, 2018. DOI: https://doi.org/10.1109/CVPR.2018.00745.

    Google Scholar 

  35. A. G. Roy, N. Navab, Wachinger, C. Concurrent spatial and channel “squeeze & excitation” in fully convolutional networks. In Proceedings of the 21st International Conference on Medical Image Computing and Computer-assisted Intervention, Springer, Granada, Spain, pp. 421–429, 2018. DOI: https://doi.org/10.1007/978-3-030-00928-1_48.

    Google Scholar 

  36. S. F. Zhang, L. Y. Wen, X. Bian, Z. Lei, S. Z. Li. Single-shot refinement neural network for object detection. In Proceedings of IEEE/CVF Conference on Computer Vision and Pattern Recognition, IEEE, Salt Lake City, USA, pp. 4203–4212, 2018. DOI: https://doi.org/10.1109/CVPR.2018.00442.

    Google Scholar 

  37. C. Y. Fu, W. Liu, A. Ranga, A. Tyagi, A. C. Berg. DSSD: Deconvolutional single shot detector, [Online], Available: https://arxiv.org/abs/1701.06659, 2017.

  38. J. F. Dai, Y. Li, K. M. He, J. Sun. R-FCN: Object detection via region-based fully convolutional networks. In Proceedings of the 30th International Conference on Neural Information Processing Systems, ACM, Barcelona, Spain, pp. 379–387, 2016.

    Google Scholar 

Download references

Acknowledgements

This work was supported by China Southern Power Grid Corporation Key Science and Technology Project: Research and Application of Key Technologies for Information Governance of the Smart Substations Secondary System (No. GZKJXM20191312).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jing-Yi Zhang.

Ethics declarations

The authors declared that they have no conflicts of interest to this work.

Additional information

Colored figures are available in the online version at https://link.springer.com/journal/11633

Yu Xi received the B. Sc. and M. Sc. degrees in electrical engineering from South China University of Technology, China in 2014 and 2017, respectively. He is currently an engineer in Digital Grid Research Institute, China Southern Power Grid, China.

His research interests include smart grid and intelligent substation.

Ke Zhou received the B. Sc. degree in automation from Central South University, China in 2001, received the M. Sc. degree in control theory and control engineering from Central South University, China in 2004, and received the Ph. D. degree in electrical engineering from Hunan University, China in 2007. He is currently a professorate senior engineer in Electric Power Research Institute of Guangxi Power Grid Co., Ltd., China.

His research interests include smart grid and intelligent substation.

Ling-Wen Meng received the B. Sc. and M. Sc. degrees in electrical engineering from Shandong University, China in 2009 and 2012, respectively. She is currently a senior engineer in Institute of Electric Power Research of Guizhou Power Grid, China.

Her research interests include smart grid and intelligent substation.

Bo Chen received the B. Sc. and M. Sc. degrees in electrical engineering from Wuhan Electric Power University, China in 1992 and 1995, respectively, the Ph. D. degree from South China University of Technology, China in 2010. He is currently a professor level senior engineer in Digital Grid Research Institute, China Southern Power Grid, China.

His research interests include smart grid and intelligent substation.

Hao-Min Chen received the B. Sc. and M. Sc. degrees in electrical engineering from South China University of Technology, China in 2000 and 2003, respectively. He is currently a professor level senior engineer in Digital Grid Research Institute, China Southern Power Grid, China.

His research interests include smart grid and intelligent substation.

Jing-Yi Zhang received the B. Sc. degree in automation from School of Electronic Information, Jiangsu University of Science and Technology, China in 2016, and the M. Sc. degree in control engineering from School of Electrical and Information Engineering, Tianjin University, China in 2020. She is currently a Ph. D. degree candidate in control science and engineering at School of Electrical and Information Engineering, Tianjin University, China.

Her research interests include machine learning and data driven control.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Xi, Y., Zhou, K., Meng, LW. et al. Transmission Line Insulator Defect Detection Based on Swin Transformer and Context. Mach. Intell. Res. 20, 729–740 (2023). https://doi.org/10.1007/s11633-022-1355-y

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11633-022-1355-y

Keywords

Navigation