王嘉宏

个人信息Personal Information

副教授

博士生导师

硕士生导师

教师英文名称:Chia-Hung Wang

教师拼音名称:ChiaHung Wang

所在单位:计算机科学与数学学院

职务:副教授

学历:研究生(博士后)

办公地点:计算机科学与数学学院计算机科学与技术教研室

联系方式:校址:福建省福州市闽侯县上街镇学府南路69号福建理工大学 (邮编: 350118) 教师主页: http://faculty.fjut.edu.cn/wang_chiahung/zh_CN/index.htm ResearchGate Website: https://www.researchgate.net/profile/Chia-Hung_Wang2

学位:博士学位

在职信息:在职

主要任职:副教授

其他任职:研究生导师

毕业院校:(中国台湾)政治大学

学科:计算机科学与技术
电子信息工程
交通运输
信息与计算科学
数据科学与大数据技术

A Transformer-Based Dual-Branch Feature Extraction for Printed Circuit Board Defect Detection with Enhanced Spatial Attention Mechanism

点击次数:

影响因子:6.6

DOI码:10.1016/j.asoc.2025.114072

发表刊物:Applied Soft Computing

关键字:AI in engineering; Defect detection; Spatial attention mechanism; Deep learning; Computer vision; Transformer

摘要:The integrity of Printed Circuit Boards (PCBs) is critical to the performance and reliability of electronic devices. However, existing deep learning-based detection methods often struggle to accurately identify small and complex defects in challenging industrial environments, primarily due to their inability to effectively model irregular defect morphologies, sensitivity to background noise, insufficient multi-scale feature fusion, and difficulties in achieving efficient detection under limited computational resources. To address these issues, we propose a novel object detection framework based on YOLOv8, which integrates a dual-branch feature extraction module, a deformable attention mechanism, and an enhanced spatial attention head. Specifically, we design a Dual-Transformer downsampling module that effectively captures both global context and local details of PCB defects. We also introduce a deformable attention mechanism into the C2f module to handle irregular defect shapes adaptively. Furthermore, we propose a lightweight detection head that employs multi-scale spatial attention and depthwise separable convolutions to enhance feature representation while reducing computational cost. To improve the localization accuracy of small defects, we introduce a new loss function that combines Normalized Wasserstein Distance with Wise-IoUv3. Extensive experiments on the publicly available PKU-Market-PCB dataset demonstrate that YOLO-DTS achieves a precision of 88.4%, a recall of 69.9%, and an mAP50 of 77.5%, outperforming the baseline YOLOv8 by 4.9%, 7.5%, and 7.5%, respectively. The parameters used have been reduced by 13.4% compared to the baseline model. Additional experiments on DeepPCB and aluminum profile defect datasets further validate the strong generalization capability of our method. The results indicate that YOLO-DTS is a robust and efficient solution for PCB defect detection in real-world industrial scenarios.

论文类型:期刊论文

学科门类:工学

文献类型:J

卷号:186

期号:A

页面范围:114072

ISSN号:1568-4946

是否译文:

发表时间:2025-10-21

收录刊物:SCI

发布期刊链接:https://www.sciencedirect.com/science/article/pii/S1568494625013857

第一作者:Yufeng Ou

通讯作者:Chia-Hung Wang