Scholay

学术搜索 · AI 审稿 · LaTeX 协作

Enhanced PCB defect detection via HSA-RTDETR on RT-DETR

作者:Yesong Wang, Binbin Wu, Lihua Zhang, Zhenyao Wang, Junwei Liu, Junjun Dong, Jing Shi · 发表于:Scientific Reports · 年份:2025 · DOI:10.1038/s41598-025-11394-z · 被引用次数:15 · 研究领域:Industrial Vision Systems and Defect Detection、Integrated Circuits and Semiconductor Failure Analysis、Advanced Neural Network Applications

Common PCB (Printed Circuit Board) defects include missing holes, shorts, spurs, etc., which may lead to product performance degradation, malfunction or safety hazards. Within the framework of Smart Manufacturing and Industry 4.0, industry strives to achieve automated and intelligent PCB defect inspection by using advanced machine vision systems and artificial intelligence algorithms. However, PCB defect detection faces challenges such as high density and miniaturization, complex background interference, and multiscale targets. For this reason, this paper proposes a new method for PCB defect detection according to a hierarchical scale-aware attention (HSA) mechanism based on RT-DETR (Real-Time Detection Transformer), and thus the method is coded as HSA-RTDETR. The core of the new method resides in the enhancement of feature information of small target defects in a feature fusion network. Firstly, a new backbone network, R18-Faster-EMA, is designed to make the overall model more efficient; Secondly, the AIFI (Attention-based Intra-scale Feature Interaction) module is redesigned to replace the original multihead self-attention mechanism with cascaded group attention to highlight important features. Thirdly, a hierarchical scale-aware pyramid attention network (HS-PAN) is designed to realize multi-scale feature fusion and learn more comprehensive feature arrays. Finally, to improve the efficiency of the model, a new loss function is designed to speed up convergence and prioritiz...