EH-YOLO: Dimensional Transformation and Hierarchical Feature Fusion-Based PCB Surface Defect Detection
Source abstract
Abstract
Small surface defects in printed circuit boards (PCBs) severely affect the reliability of electronic devices, making PCB surface defect detection crucial for ensuring the quality of electronic products. However, the existing detection methods often struggle with insufficient accuracy and the inherent trade-off between detection precision and inference speed. To address these problems, we propose a novel ESDM-HNN-YOLO (EH-YOLO) network based on the improved YOLOv10 for efficient detection of small PCB defects. Firstly, an enhanced spatial-depth module (ESDM) is designed, which transforms spatial-dimensional features into depth-dimensional representations while integrating spatial attention module (SAM) and channel attention module (CAM) to highlight critical features. This dual mechanism not only effectively suppresses feature loss in micro-defects but also significantly enhances detection accuracy. Secondly, a hybrid neck network (HNN) is designed, which optimizes the speed–accuracy balance through hierarchical architecture. The hierarchical structure uses a computationally efficient weighted bidirectional feature pyramid network (BiFPN) to enhance multi-scale feature fusion of small objects in the shallow layer and uses a path aggregation network (PAN) to prevent feature loss in the deeper layer. Comprehensive evaluations on benchmark datasets (PCB_DATASET and DeepPCB) demonstrate the superior performance of EH-YOLO, achieving mAP@50-95 scores of 45.3% and 78.8% with inference speeds of 166.67 FPS and 158.73 FPS, respectively. These results significantly outperform existing approaches in both accuracy and processing efficiency.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Industrial Vision Systems and Defect Detection · Advanced Surface Polishing Techniques · Integrated Circuits and Semiconductor Failure Analysis
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
School of Information Engineering, Jiangxi University of Water Resources and Electric Power, Nanchang 330099, China
Funding
National Natural Science Foundation of China · Jiangxi Provincial Key Research and Development Program
References (34)
Show source-provided references
1. Review of Vision-Based Defect Detection Research and Its Perspectives for Printed Circuit Board10.1016/j.jmsy.2023.08.019 ↗
2. Chen, Y., Ding, Y., Zhao, F., Zhang, E., Wu, Z., and Shao, L. (2021). Surface Defect Detection Methods for Industrial Products: A Review. Appl. Sci., 11.10.3390/app11167657 ↗
3. Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks10.1109/TPAMI.2016.2577031 ↗
4. He, K., Gkioxari, G., Dollár, P., and Girshick, R. (2018). Mask R-CNN. arXiv.10.1109/ICCV.2017.322 ↗
5. Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. (2016). You Only Look Once: Unified, Real-Time Object Detection. arXiv.10.1109/CVPR.2016.91 ↗
6. Redmon, J., and Farhadi, A. (2017, January 21–26). YOLO9000: Better, Faster, Stronger. Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.690 ↗
7. Redmon, J., and Farhadi, A. (2018). YOLOv3: An Incremental Improvement. arXiv.
8. Bochkovskiy, A., Wang, C.-Y., and Liao, H.-Y.M. (2020). YOLOv4: Optimal Speed and Accuracy of Object Detection. arXiv.
9. Li, C., Li, L., Jiang, H., Weng, K., Geng, Y., Li, L., Ke, Z., Li, Q., Cheng, M., and Nie, W. (2022). YOLOv6: A Single-Stage Object Detection Framework for Industrial Applications. arXiv.
10. Wang, C.-Y., Bochkovskiy, A., and Liao, H.-Y.M. (2023, January 17–24). YOLOv7: Trainable Bag-of-Freebies Sets New State-of-the-Art for Real-Time Object Detectors. Proceedings of the 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada.10.1109/CVPR52729.2023.00721 ↗
11. Wang, C.-Y., Yeh, I.-H., and Liao, H.-Y.M. (2024). YOLOv9: Learning What You Want to Learn Using Programmable Gradient Information. arXiv.10.1007/978-3-031-72751-1_1 ↗
12. Wang, A., Chen, H., Liu, L., Chen, K., Lin, Z., Han, J., and Ding, G. (2024). YOLOv10: Real-Time End-to-End Object Detection. arXiv.
13. Tian, Y., Ye, Q., and Doermann, D. (2025). YOLOv12: Attention-Centric Real-Time Object Detectors. arXiv.
14. Lin, T.-Y., Goyal, P., Girshick, R., He, K., and Dollár, P. (2017, January 22–29). Focal Loss for Dense Object Detection. Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV), Venice, Italy.10.1109/ICCV.2017.324 ↗
15. TDD-Net: A Tiny Defect Detection Network for Printed Circuit Boards10.1049/trit.2019.0019 ↗
16. K-Means Clustering Algorithms: A Comprehensive Review, Variants Analysis, and Advances in the Era of Big Data10.1016/j.ins.2022.11.139 ↗
17. Automatic Visual Inspection for Printed Circuit Board via Novel Mask R-CNN in Smart City Applications
18. YOLO-HMC: An Improved Method for PCB Surface Defect Detection10.1109/TIM.2024.3351241 ↗
19. Shao, Q., Liu, J., and Hu, D. (2023, January 26–28). FFDR-Net: Feature Fusion Deeper RetinaNet for PCB Defect Detection. Proceedings of the 2023 IEEE 3rd International Conference on Electronic Technology, Communication and Information (ICETCI), Changchun, China.10.1109/ICETCI57876.2023.10177038 ↗
20. Sunkara, R., and Luo, T. (2022). No More Strided Convolutions or Pooling: A New CNN Building Block for Low-Resolution Images and Small Objects. arXiv.10.1007/978-3-031-26409-2_27 ↗
21. Tan, M., Pang, R., and Le, Q.V. (2020, January 13–19). EfficientDet: Scalable and Efficient Object Detection. Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA.10.1109/CVPR42600.2020.01079 ↗
22. Li, H., Xiong, P., An, J., and Wang, L. (2018). Pyramid Attention Network for Semantic Segmentation. arXiv.
23. Tang, J., Liu, S., Zhao, D., Tang, L., Zou, W., and Zheng, B. (2023). PCB-YOLO: An Improved Detection Algorithm of PCB Surface Defects Based on YOLOv5. Sustainability, 15.10.3390/su15075963 ↗
24. Luo, S., Wan, F., Lei, G., Xu, L., Ye, Z., Liu, W., Zhou, W., and Xu, C. (2024). EC-YOLO: Improved YOLOv7 Model for PCB Electronic Component Detection. Sensors, 24.10.3390/s24134363 ↗
25. Xiao, G., Hou, S., and Zhou, H. (2024). PCB Defect Detection Algorithm Based on CDI-YOLO. Sci. Rep., 14.10.1038/s41598-024-57491-3 ↗
26. A Design of Bare Printed Circuit Board Defect Detection System Based on YOLOv810.54097/hset.v57i.10002 ↗
27. Neubeck, A., and Van Gool, L. (2006, January 20–24). Efficient Non-Maximum Suppression. Proceedings of the 18th International Conference on Pattern Recognition (ICPR’06), Hong Kong, China.10.1109/ICPR.2006.479 ↗
28. A High-Performance Small Target Defect Detection Method for PCB Boards Based on a Novel YOLO-DFA Algorithm
29. FDDC-YOLO: An Efficient Detection Algorithm for Dense Small-Target Solder Joint Defects in PCB Inspection10.1007/s11554-025-01664-4 ↗
30. Li, Z., Zhan, J., Qu, C., Chen, X., and Zhang, L. (2024, January 12–14). Lightweight PCB Defect Detection Algorithm and Deployment Based on ASF-YOLO. Proceedings of the 2024 7th International Conference on Computer Information Science and Application Technology (CISAT), Hangzhou, China.10.1109/CISAT62382.2024.10695334 ↗
31. Liao, L., Song, C., Wu, S., and Fu, J. (2025). A Novel YOLOv10-Based Algorithm for Accurate Steel Surface Defect Detection. Sensors, 25.10.3390/s25030769 ↗
32. MING: An interpretative support method for visual exploration of multidimensional data10.1177/14738716221079589 ↗
33. Colange, B., Vuillon, L., Lespinats, S., and Dutykh, D. (2019, January 20–25). Interpreting Distortions in Dimensionality Reduction by Superimposing Neighbourhood Graphs. Proceedings of the 2019 IEEE Visualization Conference (VIS), Vancouver, BC, Canada.10.1109/VISUAL.2019.8933568 ↗
34. Woo, S., Park, J., Lee, J.-Y., and Kweon, I.S. (2018). CBAM: Convolutional Block Attention Module. arXiv.10.1007/978-3-030-01234-2_1 ↗