A Lightweight Modified YOLOX Network Using Coordinate Attention Mechanism for PCB Surface Defect Detection

被引:54
作者
Wang Xuan [1 ]
Gao Jian-She [1 ]
Hou Bo-Jie [1 ]
Wang Zong-Shan [2 ]
Ding Hong-Wei [2 ]
Wang Jie [1 ]
机构
[1] Zhengzhou Univ, Sch Mech & Power Engn, Zhengzhou 450001, Peoples R China
[2] Yunnan Univ, Sch Informat Sci & Engn, Kunming 650500, Yunnan, Peoples R China
关键词
Convolution; Sensors; Feature extraction; Surface treatment; Proposals; Training; Production; Coordinate attention (CA); modified CSPDarknet (MC); printed circuit board (PCB); small defect detection;
D O I
10.1109/JSEN.2022.3208580
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Surface defect detection for the printed circuit board (PCB) is essential in PCB manufacturing. Existing defect detection networks have several problems: low detection efficiency, high memory consumption, and low sensitivity to small defects. To address these issues, we propose a new lightweight deep-learning-based defect detection network, YOLOX with a modified CSPDarknet and coordinate attention (YOLOX-MC-CA). YOLOX-MC-CA is developed on the YOLOX and uses the coordinate attention (CA) mechanism to improve the recognition capability of small PCB surface defects. The backbone network in YOLOX is also modified into a new CSPdarknet structure with some inverted residual blocks. The modified CSPDarknet (MC) backbone network helps the YOLOX decrease the number of parameters on the premise of guaranteeing the feature extraction ability. We evaluated the YOLOX-MC-CA with an augmented dataset based on a public PCB surface defect dataset. Compared to the squeeze-and-excitation (SE) module, convolutional block attention module (CBAM), and other approaches in previous research, the CA mechanism improves the network with more detection precision for the small PCB surface defects. The experimental results demonstrate that our network is superior to other state-of-the-art (SOTA) networks for PCB surface defect detection, scoring 99.13% on mean average precision (mAP) and 47.6 frames per second (FPS) on detection speed, only occupying a parameter space of 3.79 million (M). It demonstrates that the proposed network is more suitable for deployment on embedded systems.
引用
收藏
页码:20910 / 20920
页数:11
相关论文
共 33 条
[1]   Improved Normalized Cross-Correlation for Defect Detection in Printed-Circuit Boards [J].
Annaby, M. H. ;
Fouda, Y. M. ;
Rushdi, M. A. .
IEEE TRANSACTIONS ON SEMICONDUCTOR MANUFACTURING, 2019, 32 (02) :199-211
[2]  
Bochkovskiy A, 2020, Arxiv, DOI [arXiv:2004.10934, DOI 10.48550/ARXIV.2004.10934]
[3]   A Survey of the Four Pillars for Small Object Detection: Multiscale Representation, Contextual Information, Super-Resolution, and Region Proposal [J].
Chen, Guang ;
Wang, Haitao ;
Chen, Kai ;
Li, Zhijun ;
Song, Zida ;
Liu, Yinlong ;
Chen, Wenkai ;
Knoll, Alois .
IEEE TRANSACTIONS ON SYSTEMS MAN CYBERNETICS-SYSTEMS, 2022, 52 (02) :936-953
[4]  
[陈仁祥 Chen Renxiang], 2021, [仪器仪表学报, Chinese Journal of Scientific Instrument], V42, P167
[5]   TDD-net: a tiny defect detection network for printed circuit boards [J].
Ding, Runwei ;
Dai, Linhui ;
Li, Guangpeng ;
Liu, Hong .
CAAI TRANSACTIONS ON INTELLIGENCE TECHNOLOGY, 2019, 4 (02) :110-116
[6]  
Howard AG, 2017, Arxiv, DOI [arXiv:1704.04861, DOI 10.48550/ARXIV.1704.04861]
[7]   An efficient similarity measure approach for PCB surface defect detection [J].
Gaidhane, Vilas H. ;
Hote, Yogesh V. ;
Singh, Vijander .
PATTERN ANALYSIS AND APPLICATIONS, 2018, 21 (01) :277-289
[8]  
Ge Z, 2021, Arxiv, DOI [arXiv:2107.08430, DOI 10.48550/ARXIV.2107.08430]
[9]   Fast R-CNN [J].
Girshick, Ross .
2015 IEEE INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV), 2015, :1440-1448
[10]   Rich feature hierarchies for accurate object detection and semantic segmentation [J].
Girshick, Ross ;
Donahue, Jeff ;
Darrell, Trevor ;
Malik, Jitendra .
2014 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2014, :580-587