YOLO-J based PCB defect detection algorithm

被引:0
作者
Su, Jia [1 ]
Jia, Xinyu [1 ]
Hou, Weimin [1 ]
机构
[1] College of Information Science and Engineering, Hebei University of Science and Technology, Shijiazhuang
来源
Jisuanji Jicheng Zhizao Xitong/Computer Integrated Manufacturing Systems, CIMS | 2024年 / 30卷 / 11期
关键词
deep learning; defect detection; small target detection; YOLOv4;
D O I
10.13196/j.cims.2022.0312
中图分类号
学科分类号
摘要
Aiming at the problems of low accuracy and excessive number of model parameters in existing Printed Circuit Boards (PCB) defect detection methods, a PCB defect detection algorithm based on YOLO-J with improved YOLOv4 was proposed. To solve the problern that CSPDarknet53 in YOLOv4 has too many parameters to deploy on mobile, the Resnet50 was used as the feature extraction network for the model. To avoid reducing the detection effect by replacing the feature extraction network, the feature extraction capability of the model for small target PCB defects was enhanced by adding the attention mechanism and improving the PANet structure. The H-Swish activa-tion function was used as the activation function of the neck for the purpose of improving detection accuracy and training speed. In addition, to solve the problem that the initial anchor frame was not suitable for detecting PCB defects, bisecting K-means was used to Cluster the PCB dataset. The PCB defect dataset published by Peking University Laboratory was used for the experiment. The results showed that compared with YOLOv4, the mAP of the proposed method increased by 0. 29% when IOU: 0. 5; when IOU: 0. 5:0. 95, both mAP and recall increased by 6. 7% and the speed increased by 2. 24FPS, and the model size was 132MB, which was about 1/2 of YOLOv4. © 2024 CIMS. All rights reserved.
引用
收藏
页码:3984 / 3998
页数:14
相关论文
共 22 条
[1]  
SHONG Yubin, SHAO Rongwang, HAN Xuming, Et al., PCB detection System based on Computer vision[JJ, Journal of Beihua Institute of Aerospace Technology, 25, 3, pp. 21-23, (2015)
[2]  
MOGANTI M, ERCAL F., Automatic PCB inspection Systems [J], IEEE Potentials, 14, 3, pp. 6-10, (1995)
[3]  
WEN Yuexin, Research and System implementation of PCB surface defect detection method based on machine vision, (2020)
[4]  
WANG Dong, MA Chunyong, CHEN Ge, Fast image registra-tion algorithm for PCB images[j], Computer Science, 43, pp. 152-155, (2016)
[5]  
WANG Yongli, CAO Jiangtao, JI Xiaofei, PCB defect detection and recognition algorithm based on convolutional neural net-work[j], lournal of Electronic Measurement and Instrumentation, 33, 8, pp. 78-84, (2019)
[6]  
YU Wei, Research on the application of AOI technology in PCB defect detection [D], (2007)
[7]  
ZHANG Xuerong, XIANG Feng, LI Hongjun, Et al., Design of rolled stee end defects detection system based on deep learning _J], Computer Integrated Manufacturing Systems, 30, 5, pp. 1847-1855, (2024)
[8]  
SHEN Feiyao, Research on PCB bare board defect detection technology based on deep learning[D], (2020)
[9]  
FAN F L, WANG B Y., ZHU G L, Et al., Efficient faster R-CNN
[10]  
Used in PCB solder Joint defects and components detec-tion[C], Proceedings of the 4th International Conference on Computer and Communication Engineering Technology