# Defect detection method of printed circuit boards based on EDF-YOLOv10

**Authors:** Zhijuan Shen, Yonger Yao, Lin Liu, Yiqing Cao, Lijun Lu

PMC · DOI: 10.1371/journal.pone.0343130 · 2026-03-06

## TL;DR

This paper introduces an improved YOLOv10 algorithm, EDF-YOLOv10, for efficient and accurate detection of defects in printed circuit boards.

## Contribution

The novel EDF-YOLOv10 integrates ECA, DSConv, and Focaler-CIoU loss to enhance small object detection and convergence speed in PCB inspection.

## Key findings

- EDF-YOLOv10 achieves 90.6% mAP@0.50 and 48.4% mAP@0.50:0.95 on the experimental dataset.
- The method improves performance by 3.0 and 1.6 percentage points over the baseline model.
- A real-time detection system using EDF-YOLOv10 is developed for industrial PCB inspection.

## Abstract

To address the challenges of inadequate feature representation for small objects and slow model convergence in printed circuit board (PCB) defect detection, this paper proposes an improved YOLOv10 algorithm and develops a real-time detection system with a co-optimized hardware and software architecture. The efficient channel attention (ECA) mechanism is used to enhance the ability of the model to extract key channel features; the dynamic snake convolution (DSConv) in the backbone strengthens the model’s capacity to recognize the geometric structures of small targets through deformable kernels and multi-directional feature fusion; the Focaler-CIoU loss emphasizes samples with low intersection over union (IoU) values to boost hard sample learning and improve convergence efficiency. To simulate real-world industrial environments, multiple data augmentation strategies are utilized to expand the PKU-Market-PCB dataset, thereby enhancing the model’s generalization and robustness in complex scenarios. Experimental results demonstrate that the proposed EDF-YOLOv10 achieves mAP@0.50 of 90.6% and mAP@0.50:0.95 of 48.4% on the experimental dataset, representing improvements of 3.0 and 1.6 percentage points over the baseline, respectively. Furthermore, We also develope a real-time interactive detection system for identifying PCB defects. This system utilizes industrial cameras, a controllable light source, and a graphical user interface developed with the PyQt5 framework, employing the EDF-YOLOv10 model. Our approach serves as a methodological reference for detecting PCB defects in complex industrial environments.

## Full-text entities

- **Genes:** Npepps (aminopeptidase puromycin sensitive) [NCBI Gene 19155] {aka AAP-S, MP100, Psa, goku}, Emg1 (EMG1 N1-specific pseudouridine methyltransferase) [NCBI Gene 14791] {aka C2f, Grcc2f}
- **Diseases:** CIoU (MESH:D006963), bite defects (MESH:D001733), missing (MESH:D000030), PCB defect (MESH:D000013), PKU (MESH:D010661), copper defect (MESH:C535468)
- **Chemicals:** serpentine (MESH:C009244), CIoU (-)
- **Species:** Mus musculus (house mouse, species) [taxon 10090], Homo sapiens (human, species) [taxon 9606]
- **Cell lines:** YOLOv10n — Homo sapiens (Human), Induced pluripotent stem cell (CVCL_VM32), YOLOv10 — Mus musculus (Mouse), Hybridoma (CVCL_C4R4)

## Figures

31 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12965607/full.md

---
Source: https://tomesphere.com/paper/PMC12965607