基于DSDN-YOLO的PCB表面缺陷检测方法

By constructing a DSDN-YOLO model and utilizing DADC, SCGSFM, and DNI modules to enhance feature representation and fusion, combined with SA-Loss optimized regression, the problems of texture interference and uneven localization of small targets in PCB surface defect detection are solved, achieving high-precision defect detection.

CN122415463APending Publication Date: 2026-07-17SUQIAN COLLEGE

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SUQIAN COLLEGE
Filing Date
2026-04-07
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing technologies struggle to effectively suppress texture interference in complex backgrounds during PCB surface defect detection. This leads to the dilution of unstructured micro-defect discrimination features, blurred boundaries of slender defects, and uneven regression of small targets, all of which affect positioning accuracy.

Method used

We construct a deformable attention-based dynamic convolution module (DADC) to reconstruct C3k2 units, introduce a spatial-channel collaborative guided fusion module (SCGSFM) and a dynamic structure-aware interpolation strategy (DNI), and design a size-aware regression loss (SA-Loss) to enhance the network's ability to perceive small targets and geometric deformations, suppress background texture interference, and improve the expression of slender defect boundaries.

Benefits of technology

It improves the discriminativeness and stability of feature fusion in complex scenarios, enhances the positioning accuracy and detection accuracy of minute defects, and adapts to the inspection needs of high-density and miniaturized PCBs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122415463A_ABST
    Figure CN122415463A_ABST
Patent Text Reader

Abstract

本发明涉及目标检测技术领域,公开一种基于DSDN‑YOLO的PCB表面缺陷检测方法,DSDN‑YOLO模型在YOLOv11n的基础上,在骨干网络中构建可变形注意力动态卷积模块DADC,并用于重构C3k2单元,通过自适应空间采样强化对缺陷形态与位置变化的特征表征;在颈部融合路径中引入空间‑通道协同引导融合模块SCGSFM,提升缺陷响应并抑制背景噪声,通过多层级语义重标定增强关键区域激活;并在颈部上采样阶段引入动态结构感知邻域插值DNI策略,以优化特征恢复过程,提高细长缺陷与边界区域的定位稳定性。进一步构建尺寸感知损失(SA‑Loss),利用动态梯度重加权改善小目标样本的回归学习效果。与现有技术相比,本发明在保持轻量化的同时有效提升了检测精度,可为PCB产线实时自动质检提供可靠方案。
Need to check novelty before this filing date? Find Prior Art