{"title":"一种用于PCB表面缺陷检测的改进YOLOv3方法","authors":"Zhuo Lan, Yang Hong, Yuan Li","doi":"10.1109/ICPECA51329.2021.9362675","DOIUrl":null,"url":null,"abstract":"In view of the low detection efficiency and high missed detection rate in the current printed circuit board (PCB), this paper proposes an improved YOLOv3 PCB surface defect detection method. This method is based on the YOLOv3 network model. The improvement of its network structure mainly includes: 1. Combine the batch normalization (BN, Batch Normalization) layer to the convolutional layer, improve the forward reasoning speed of the model, and reduce the model’s PCB defects the training time of the dataset. 2. Aiming at the problem that the objective function and evaluation metric are not uniform in the YOLOv3 object detection algorithm, the GIoU performance metric and loss function are used to improve the detection effect of the model on small and medium targets of PCB defects. 3. Use the K-means++ clustering algorithm to optimize the K-means clustering algorithm, and determine the appropriate anchor boxes for the PCB defect dataset. 4. Multiscale training is used to enhance the robustness of the model for image detection with different resolutions. The experimental results show that mAP (Mean Average Precision) reaches 92.13%, and the detection rate is increased to 63f/s, which is improved compared to the YOLOv3 model, and has a better application prospect in PCB surface defect detection.","PeriodicalId":119798,"journal":{"name":"2021 IEEE International Conference on Power Electronics, Computer Applications (ICPECA)","volume":"49 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-01-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"17","resultStr":"{\"title\":\"An improved YOLOv3 method for PCB surface defect detection\",\"authors\":\"Zhuo Lan, Yang Hong, Yuan Li\",\"doi\":\"10.1109/ICPECA51329.2021.9362675\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In view of the low detection efficiency and high missed detection rate in the current printed circuit board (PCB), this paper proposes an improved YOLOv3 PCB surface defect detection method. This method is based on the YOLOv3 network model. The improvement of its network structure mainly includes: 1. Combine the batch normalization (BN, Batch Normalization) layer to the convolutional layer, improve the forward reasoning speed of the model, and reduce the model’s PCB defects the training time of the dataset. 2. Aiming at the problem that the objective function and evaluation metric are not uniform in the YOLOv3 object detection algorithm, the GIoU performance metric and loss function are used to improve the detection effect of the model on small and medium targets of PCB defects. 3. Use the K-means++ clustering algorithm to optimize the K-means clustering algorithm, and determine the appropriate anchor boxes for the PCB defect dataset. 4. Multiscale training is used to enhance the robustness of the model for image detection with different resolutions. The experimental results show that mAP (Mean Average Precision) reaches 92.13%, and the detection rate is increased to 63f/s, which is improved compared to the YOLOv3 model, and has a better application prospect in PCB surface defect detection.\",\"PeriodicalId\":119798,\"journal\":{\"name\":\"2021 IEEE International Conference on Power Electronics, Computer Applications (ICPECA)\",\"volume\":\"49 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-01-22\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"17\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 IEEE International Conference on Power Electronics, Computer Applications (ICPECA)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICPECA51329.2021.9362675\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE International Conference on Power Electronics, Computer Applications (ICPECA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICPECA51329.2021.9362675","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
An improved YOLOv3 method for PCB surface defect detection
In view of the low detection efficiency and high missed detection rate in the current printed circuit board (PCB), this paper proposes an improved YOLOv3 PCB surface defect detection method. This method is based on the YOLOv3 network model. The improvement of its network structure mainly includes: 1. Combine the batch normalization (BN, Batch Normalization) layer to the convolutional layer, improve the forward reasoning speed of the model, and reduce the model’s PCB defects the training time of the dataset. 2. Aiming at the problem that the objective function and evaluation metric are not uniform in the YOLOv3 object detection algorithm, the GIoU performance metric and loss function are used to improve the detection effect of the model on small and medium targets of PCB defects. 3. Use the K-means++ clustering algorithm to optimize the K-means clustering algorithm, and determine the appropriate anchor boxes for the PCB defect dataset. 4. Multiscale training is used to enhance the robustness of the model for image detection with different resolutions. The experimental results show that mAP (Mean Average Precision) reaches 92.13%, and the detection rate is increased to 63f/s, which is improved compared to the YOLOv3 model, and has a better application prospect in PCB surface defect detection.