BCN-YOLO: A Deep Learning Network for PCB Defect Detection

To address the issues of missed detection and false detection during the defect inspection process of the PCB, an improved YOLOv7-based algorithm for PCB defect detection is proposed. Firstly, the Bi-Former attention mechanism and CARAFE upsampling operator are introduced into the original YOLOv7 backbone network to achieve more flexible computation allocation and content awareness, enabling the network to dynamically perceive sparsity in queries. Secondly, a powerful feature pyramid network, CMPANet, is proposed to extract more shallow features, effectively improving the model’s detection performance on small targets. Finally, the NWD loss function is introduced to optimize the regression loss function in combination with IoU, reducing sensitivity to position deviations of small targets. Experimental results demonstrate that the modified YOLOv7 achieves a [email protected] value of 95.25%. Compared to the original model, the [email protected] and [email protected]:0.9 values are improved by 3.32% and 2.86%, respectively, while the F1 score is enhanced by 3.91%. The detection speed is 44.84 FPS. These improvements effectively enhance the accuracy of detecting small target defects on PCBs. Additionally, the performance on AI-TOD, Tiny-Person, and Wider-Person small target datasets shows improvements over the original network.

Authors

Publication Details

Journal
Journal of Computer and Communications
Published
2025-01-01
DOI
https://doi.org/10.4236/jcc.2025.138002
Citations
1
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
1.24
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

BCN-YOLO: A Deep Learning Network for PCB Defect Detection

Jianqing Liu, Boxiong Li, Junjie Liu, Shuxin Yao
1 citations
Journal of Computer and Communications
Industrial Vision Systems and Defect Detection
1.24
article

BCN-YOLO: A Deep Learning Network for PCB Defect Detection

Jianqing Liu, Boxiong Li, Junjie Liu, Shuxin Yao
article en
1 citations

Abstract

To address the issues of missed detection and false detection during the defect inspection process of the PCB, an improved YOLOv7-based algorithm for PCB defect detection is proposed. Firstly, the Bi-Former attention mechanism and CARAFE upsampling operator are introduced into the original YOLOv7 backbone network to achieve more flexible computation allocation and content awareness, enabling the network to dynamically perceive sparsity in queries. Secondly, a powerful feature pyramid network, CMPANet, is proposed to extract more shallow features, effectively improving the model’s detection performance on small targets. Finally, the NWD loss function is introduced to optimize the regression loss function in combination with IoU, reducing sensitivity to position deviations of small targets. Experimental results demonstrate that the modified YOLOv7 achieves a [email protected] value of 95.25%. Compared to the original model, the [email protected] and [email protected]:0.9 values are improved by 3.32% and 2.86%, respectively, while the F1 score is enhanced by 3.91%. The detection speed is 44.84 FPS. These improvements effectively enhance the accuracy of detecting small target defects on PCBs. Additionally, the performance on AI-TOD, Tiny-Person, and Wider-Person small target datasets shows improvements over the original network.

Journal of Computer and CommunicationsVol. 13(08)
Openalex Percentile: Top 17%
Industrial Vision Systems and Defect Detection
1.24
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.