Bing He, Jinxuan Zhuo, Xusheng Zhuo, Siyuan Peng, Tong-lu Li, Hong Wang
{"title":"Defect detection of printed circuit board based on improved YOLOv5","authors":"Bing He, Jinxuan Zhuo, Xusheng Zhuo, Siyuan Peng, Tong-lu Li, Hong Wang","doi":"10.1109/AICIT55386.2022.9930318","DOIUrl":null,"url":null,"abstract":"Aiming at the problems of low efficiency, poor universality and high false detection rate in the existing PCB defect detection methods, a PCB defect detection algorithm P-YOLOv5 based on improved YOLOv5 is proposed. Firstly, the convolution block attention module is embedded in the backbone network to improve the feature extraction ability of the model; Secondly, a larger detection scale is added to the model network to expand the detection range of the model and improve the detection effect of PCB small target defects; Finally, the EIoU loss function is used to replace the GIoU loss function as the bounding box regression loss function to improve the detection accuracy of the model. The model training part uses the PCB-DATASET dataset published by Beijing University. The results show that the mean average precision of P-YOLOv5 algorithm can reach 99.03%, which is 2.52% higher than the original YOLOv5 algorithm. At the same time, the detection speed reaches 47.62 FPS, which can meet the requirements of PCB real-time detection.","PeriodicalId":231070,"journal":{"name":"2022 International Conference on Artificial Intelligence and Computer Information Technology (AICIT)","volume":"28 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-09-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 International Conference on Artificial Intelligence and Computer Information Technology (AICIT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/AICIT55386.2022.9930318","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3
Abstract
Aiming at the problems of low efficiency, poor universality and high false detection rate in the existing PCB defect detection methods, a PCB defect detection algorithm P-YOLOv5 based on improved YOLOv5 is proposed. Firstly, the convolution block attention module is embedded in the backbone network to improve the feature extraction ability of the model; Secondly, a larger detection scale is added to the model network to expand the detection range of the model and improve the detection effect of PCB small target defects; Finally, the EIoU loss function is used to replace the GIoU loss function as the bounding box regression loss function to improve the detection accuracy of the model. The model training part uses the PCB-DATASET dataset published by Beijing University. The results show that the mean average precision of P-YOLOv5 algorithm can reach 99.03%, which is 2.52% higher than the original YOLOv5 algorithm. At the same time, the detection speed reaches 47.62 FPS, which can meet the requirements of PCB real-time detection.