A Detection Algorithm for Surface Defects of Printed Circuit Board Based on Improved YOLOv8

Improving detection accuracy is a challenging task when detecting defects in PCBs. To conquer the issue of degradation of recognition performance of existing intelligent detection algorithms in different environments, we present an improved algorithm, IEMA-YOLOv8, based on YOLOv8. First, we design a...

Full description

Saved in:
Bibliographic Details
Published inIEEE access Vol. 12; pp. 170227 - 170242
Main Authors Yao, Lei, Zhao, Bing, Wang, Xihui, Mei, Sihan, Chi, Yulun
Format Journal Article
LanguageEnglish
Published IEEE 2024
Subjects
Online AccessGet full text
ISSN2169-3536
2169-3536
DOI10.1109/ACCESS.2024.3498004

Cover

Abstract Improving detection accuracy is a challenging task when detecting defects in PCBs. To conquer the issue of degradation of recognition performance of existing intelligent detection algorithms in different environments, we present an improved algorithm, IEMA-YOLOv8, based on YOLOv8. First, we design a novel Efficient Multi-Scale Attention (EMA) combined with the Inverted Residual Mobile Block (IRMB) to form a new attention mechanism called IEMA. The IEMA module is subsequently incorporated into the C2f module to boost the model's overall performance. Secondly, the Spatial Pyramid Pooling Enhanced with ELAN (SPPELAN) module is employed to improve the original Spatial Pyramid Pooling Fast (SPPF) module, thereby bolstering the model's capacity to recognize defective regions. Finally, the More Focused Intersection over Union (Focaler-IoU) loss function replaces the original Complete Intersection over Union (CIoU) loss function, aiming to compensate for the limitations of the current bounding box regression methodology, thus further enhancing the efficacy of detection in the task. The experimental results show that our proposed IEMA-YOLOv8 algorithm has precision, recall, mAP50, and mAP50:95 values of 88.8%, 96.8%, 94.6%, and 51%, respectively, provided that the model complexity is kept basically the same and the Frames Per Second (FPS) value reaches 116.2. These values are 1.1%, 3.6%, 4.9%, and 6% higher than the original YOLOv8n algorithm. Compared with the YOLO family of one-stage detection models, our proposed algorithm has significant advantages in defect detection.
AbstractList Improving detection accuracy is a challenging task when detecting defects in PCBs. To conquer the issue of degradation of recognition performance of existing intelligent detection algorithms in different environments, we present an improved algorithm, IEMA-YOLOv8, based on YOLOv8. First, we design a novel Efficient Multi-Scale Attention (EMA) combined with the Inverted Residual Mobile Block (IRMB) to form a new attention mechanism called IEMA. The IEMA module is subsequently incorporated into the C2f module to boost the model's overall performance. Secondly, the Spatial Pyramid Pooling Enhanced with ELAN (SPPELAN) module is employed to improve the original Spatial Pyramid Pooling Fast (SPPF) module, thereby bolstering the model's capacity to recognize defective regions. Finally, the More Focused Intersection over Union (Focaler-IoU) loss function replaces the original Complete Intersection over Union (CIoU) loss function, aiming to compensate for the limitations of the current bounding box regression methodology, thus further enhancing the efficacy of detection in the task. The experimental results show that our proposed IEMA-YOLOv8 algorithm has precision, recall, mAP50, and mAP50:95 values of 88.8%, 96.8%, 94.6%, and 51%, respectively, provided that the model complexity is kept basically the same and the Frames Per Second (FPS) value reaches 116.2. These values are 1.1%, 3.6%, 4.9%, and 6% higher than the original YOLOv8n algorithm. Compared with the YOLO family of one-stage detection models, our proposed algorithm has significant advantages in defect detection.
Author Wang, Xihui
Mei, Sihan
Chi, Yulun
Zhao, Bing
Yao, Lei
Author_xml – sequence: 1
  givenname: Lei
  orcidid: 0000-0001-6791-0330
  surname: Yao
  fullname: Yao, Lei
  organization: School of Electrical Engineering, University of Shanghai for Science and Technology, Shanghai, China
– sequence: 2
  givenname: Bing
  orcidid: 0009-0003-2852-8800
  surname: Zhao
  fullname: Zhao, Bing
  organization: School of Electrical Engineering, University of Shanghai for Science and Technology, Shanghai, China
– sequence: 3
  givenname: Xihui
  orcidid: 0009-0007-1752-3528
  surname: Wang
  fullname: Wang, Xihui
  organization: School of Mechanical Engineering, University of Shanghai for Science and Technology, Shanghai, China
– sequence: 4
  givenname: Sihan
  orcidid: 0009-0003-3953-3920
  surname: Mei
  fullname: Mei, Sihan
  organization: School of Electrical Engineering, University of Shanghai for Science and Technology, Shanghai, China
– sequence: 5
  givenname: Yulun
  orcidid: 0000-0001-7197-2227
  surname: Chi
  fullname: Chi, Yulun
  email: chiyulun@163.com
  organization: School of Mechanical Engineering, University of Shanghai for Science and Technology, Shanghai, China
BookMark eNqFkd1qGzEQhZeSQtM0T9Be6AXs6G_X0qWzTRODwQUnF6UXYvSXKqxXRpJT8vaRu6GE9KJzM8MZvjNw5mNzMsbRNc1ngueEYHmx7Pur7XZOMeVzxqXAmL9rTinp5Iy1rDt5NX9oznN-wLVEldrFafNzib664kwJcUTL4T6mUH7tkI8JbQ_Jg3F17-s-o-jR9xTG4izqQzKHUNBlhGTRJeSqVX6126f4WOcfm_XmUXxq3nsYsjt_6WfN3ber2_5mtt5cr_rlemaYIGVGCbMae2ktx9Z4IUC2HHtLbefoQmgGjLXEa0ylpZporjE2DHdCk04QD-ysWU2-NsKD2qewg_SkIgT1R4jpXkEqwQxOgcMOpOfOtY4zLYRvOy80JaJbSJC8evHJ6zDu4ek3DMNfQ4LVMW8Fxric1TFv9ZJ3xdiEmRRzTs7_Q01fekvJN5QJBY6vKAnC8B_2y8QG59yra4uWSs7ZMyj6oBo
CODEN IAECCG
CitedBy_id crossref_primary_10_1109_ACCESS_2025_3538168
crossref_primary_10_3390_electronics13234626
crossref_primary_10_1007_s11554_025_01664_4
ContentType Journal Article
DBID 97E
ESBDL
RIA
RIE
AAYXX
CITATION
ADTOC
UNPAY
DOA
DOI 10.1109/ACCESS.2024.3498004
DatabaseName IEEE All-Society Periodicals Package (ASPP) 2005–Present
IEEE Xplore Open Access Journals
IEEE All-Society Periodicals Package (ASPP) 1998–Present
IEEE Electronic Library (IEL)
CrossRef
Unpaywall for CDI: Periodical Content
Unpaywall
DOAJ Directory of Open Access Journals
DatabaseTitle CrossRef
DatabaseTitleList

Database_xml – sequence: 1
  dbid: DOA
  name: DOAJ Directory of Open Access Journals
  url: https://www.doaj.org/
  sourceTypes: Open Website
– sequence: 2
  dbid: RIE
  name: IEEE Electronic Library (IEL)
  url: https://proxy.k.utb.cz/login?url=https://ieeexplore.ieee.org/
  sourceTypes: Publisher
– sequence: 3
  dbid: UNPAY
  name: Unpaywall
  url: https://proxy.k.utb.cz/login?url=https://unpaywall.org/
  sourceTypes: Open Access Repository
DeliveryMethod fulltext_linktorsrc
Discipline Engineering
EISSN 2169-3536
EndPage 170242
ExternalDocumentID oai_doaj_org_article_ae0ea9f4ee5e43b88f56f8b218679a94
10.1109/access.2024.3498004
10_1109_ACCESS_2024_3498004
10752944
Genre orig-research
GrantInformation_xml – fundername: National Natural Science Foundation of China
  grantid: 51707121
  funderid: 10.13039/501100001809
GroupedDBID 0R~
4.4
5VS
6IK
97E
AAJGR
ABAZT
ABVLG
ACGFS
ADBBV
AGSQL
ALMA_UNASSIGNED_HOLDINGS
BCNDV
BEFXN
BFFAM
BGNUA
BKEBE
BPEOZ
EBS
EJD
ESBDL
GROUPED_DOAJ
IPLJI
JAVBF
KQ8
M43
M~E
O9-
OCL
OK1
RIA
RIE
RNS
AAYXX
CITATION
ADTOC
UNPAY
ID FETCH-LOGICAL-c381t-213db0f9dd40dcf88a9540fd2d6e278b3a3351fb029d2b1b4b00c3068b1681fa3
IEDL.DBID RIE
ISSN 2169-3536
IngestDate Fri Oct 03 12:43:06 EDT 2025
Sun Sep 07 10:47:47 EDT 2025
Wed Oct 01 03:43:29 EDT 2025
Thu Apr 24 22:59:44 EDT 2025
Wed Aug 27 03:06:49 EDT 2025
IsDoiOpenAccess true
IsOpenAccess true
IsPeerReviewed true
IsScholarly true
Language English
License https://creativecommons.org/licenses/by-nc-nd/4.0
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-c381t-213db0f9dd40dcf88a9540fd2d6e278b3a3351fb029d2b1b4b00c3068b1681fa3
ORCID 0000-0001-7197-2227
0009-0007-1752-3528
0000-0001-6791-0330
0009-0003-2852-8800
0009-0003-3953-3920
OpenAccessLink https://proxy.k.utb.cz/login?url=https://ieeexplore.ieee.org/document/10752944
PageCount 16
ParticipantIDs doaj_primary_oai_doaj_org_article_ae0ea9f4ee5e43b88f56f8b218679a94
crossref_primary_10_1109_ACCESS_2024_3498004
ieee_primary_10752944
unpaywall_primary_10_1109_access_2024_3498004
crossref_citationtrail_10_1109_ACCESS_2024_3498004
ProviderPackageCode CITATION
AAYXX
PublicationCentury 2000
PublicationDate 20240000
2024-00-00
2024-01-01
PublicationDateYYYYMMDD 2024-01-01
PublicationDate_xml – year: 2024
  text: 20240000
PublicationDecade 2020
PublicationTitle IEEE access
PublicationTitleAbbrev Access
PublicationYear 2024
Publisher IEEE
Publisher_xml – name: IEEE
SSID ssj0000816957
Score 2.328861
Snippet Improving detection accuracy is a challenging task when detecting defects in PCBs. To conquer the issue of degradation of recognition performance of existing...
SourceID doaj
unpaywall
crossref
ieee
SourceType Open Website
Open Access Repository
Enrichment Source
Index Database
Publisher
StartPage 170227
SubjectTerms Accuracy
attention mechanism
Attention mechanisms
Computational modeling
Defect detection
Feature extraction
loss function
Neck
PCB defects detection
Printed circuits
Robustness
SPPELAN
Steel
YOLO
YOLOv8
SummonAdditionalLinks – databaseName: DOAJ Directory of Open Access Journals
  dbid: DOA
  link: http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwrV1LT9wwELYQl5ZDRQuoCwX50COB-JHYPu4urFBVdZEACcQh8rMgLVm0yoL67xk76SoIqVx6Sxw7Gc-MMzP26BuEvgfLhNBlgJVmZcZB6pkSRmaitNoJR6NTHLMtfpVnV_zHdXHdK_UVc8JaeOCWccfa516rwL0vPGdGylCUQZpYSkkorRISaC5VL5hK_2BJSlWIDmaI5Op4OB7DjCAgpPyIcQV-En9lihJif1diZQN9WNaP-s-zns161mayiT51biIetuR9Rmu-_oI2euCBW-h2iE98kzKpajyc_Z5DmH_3gMEJxRfLRdDWw_OUrIHnAZ8vIjCEw-P7hV3eN3g0B9XAI7BhDsP4dm8Brm-mP6dPchtdTU4vx2dZVyohs2Bym4wS5kwelHM8dzZIqRW4YsFRV3oqpGGasYIEk1PlqCGGw2qzEC1IQ0pJgmY7aL2e1_4rwi4wS4wNeRk4j4d-jmlHPHesCBpuB4j-5VplOxzxWM5iVqV4IldVy-oqsrrqWD1Ah6tBjy2Mxr-7j6I4Vl0jBnZqAM2oOs2o3tOMAdqOwux9TxRUcWjPVtJ9Q4xOZSpfEbP7P4jZQx_jO9vNm29ovVks_T64M405SJr7Ap0V7aQ
  priority: 102
  providerName: Directory of Open Access Journals
– databaseName: Unpaywall
  dbid: UNPAY
  link: http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwlV1Lb9QwELbQ9oB64FlEgSIfOJIlfsSxj9ktVYVQWwlWasUh8hNWLNkqJFTl1zN2wmoLUgW3xLGTkWesmYnH34fQq2BZWWoRYKVZmXHQeqZKI7NSWO1KR2NQHKstTsTxgr87L85HnO14FmZ7_57k6o1OtIGQx1E-ZVzJhP25IwoIvCdoZ3FyVl1E-jgiVMbSRuTzW0be8D0Jon_kVNlFd_vmUl9f6dVqy70c3R_ObX9PqISxquTrtO_M1P78A7PxHyV_gO6NYSauBrt4iO745hHa3QIffIw-VfjQd6kSq8HV6vO6XXZfvmEIYvGHvg3aenieij3wOuCzNgJLODxftrZfdni2BtPCM_CBDsP44d8EXF-cvj_9IffQ4ujtx_lxNlItZBZcdpdRwpzJg3KO584GKbWCUC446oSnpTRMM1aQYHKqHDXEcFitFrINaYiQJGj2BE2adeOfIuwCs8TYkIvAedw0dEw74rljRdBwu4_obyXUdsQhj3QYqzrlI7mqq_kcjK-OM1ePM7ePXm8GXQ4wHLd3n0XtbrpGDO3UAAqqxyVZa597rQL3vvCcGSlDIYI0kaSrVFrBS_aibWx9ryyo4tCebYzlL2EGrd8Q5tl_9n-BJl3b-wMIdjrzcjTyX6LY9z8
  priority: 102
  providerName: Unpaywall
Title A Detection Algorithm for Surface Defects of Printed Circuit Board Based on Improved YOLOv8
URI https://ieeexplore.ieee.org/document/10752944
https://doi.org/10.1109/access.2024.3498004
https://doaj.org/article/ae0ea9f4ee5e43b88f56f8b218679a94
UnpaywallVersion publishedVersion
Volume 12
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
journalDatabaseRights – providerCode: PRVAFT
  databaseName: Open Access Digital Library
  customDbUrl:
  eissn: 2169-3536
  dateEnd: 99991231
  omitProxy: true
  ssIdentifier: ssj0000816957
  issn: 2169-3536
  databaseCode: KQ8
  dateStart: 20130101
  isFulltext: true
  titleUrlDefault: http://grweb.coalliance.org/oadl/oadl.html
  providerName: Colorado Alliance of Research Libraries
– providerCode: PRVAON
  databaseName: DOAJ Directory of Open Access Journals
  customDbUrl:
  eissn: 2169-3536
  dateEnd: 99991231
  omitProxy: true
  ssIdentifier: ssj0000816957
  issn: 2169-3536
  databaseCode: DOA
  dateStart: 20130101
  isFulltext: true
  titleUrlDefault: https://www.doaj.org/
  providerName: Directory of Open Access Journals
– providerCode: PRVHPJ
  databaseName: ROAD: Directory of Open Access Scholarly Resources
  customDbUrl:
  eissn: 2169-3536
  dateEnd: 99991231
  omitProxy: true
  ssIdentifier: ssj0000816957
  issn: 2169-3536
  databaseCode: M~E
  dateStart: 20130101
  isFulltext: true
  titleUrlDefault: https://road.issn.org
  providerName: ISSN International Centre
link http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV1Lb9QwELZoOUAPPItYHisfOJIlsZ3YPmYXqgqhbSVYqRWHyE9YsSRVlLSCX8_YSVdbEIhbHrYz0Tcjj8fjbxB65Q3lXBUeLM2IhAHqieRaJLwwynJLglMcsi2WxfGKvT_Lz8bD6vEsjHMuJp-5WbiMe_m2MX0IlYGF85xIxvbQHhfFcFhrG1AJFSRkzkdmoSyVb8rFAn4C1oCEzSiT4BqxG7NPJOkfq6ocoDt9faF-XKnNZmeCObqPlteiDXkl32Z9p2fm52-sjf8t-wN0b3Q1cTnoxkN0y9WP0MEOAeFj9LnEb10Xs7FqXG6-NO26-_odgyOLP_atV8bB-5jwgRuPT9tALmHxYt2aft3heQPqhecwD1oM_Yf4BFyfn3w4uRSHaHX07tPiOBnLLSQGpu0uIRm1OvXSWpZa44VQEtw5b4ktHOFCU0VpnnmdEmmJzjQDizWw4hA6K0TmFX2C9uumdk8Rtp6aTBufFp6xsHFoqbKZY5bmXsHtBJFrGCozcpGHkhibKq5JUlkN2FUBu2rEboJebztdDFQc_24-D_humwYe7fgAYKlGs6yUS52SnjmXO0a1ED4vvNChUBeXSsIghwHKne8NKE5QslWXP4RRsdTlDWGe_WWc5-huaDbEdF6g_a7t3Uvwcjo9jdGBadTxKbq9Wp6W578A7y75pg
linkProvider IEEE
linkToHtml http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV1Lb9QwELagHEoPPFux5eUDR7IkfiT2cXehWmDZItFKRRwiP2HFNqmiBAS_nrGTrrYgELc8bGeib0Yej8ffIPTMG1oUKvdgaUYkDFBPZKFFUuRG2cKS4BSHbItlPj9lb8742XBYPZ6Fcc7F5DM3DpdxL9_WpguhMrDwghPJ2HV0gzPGeH9caxNSCTUkJC8GbqEslS8msxn8BqwCCRtTJsE5Ylfmn0jTP9RV2UO7XXWhfnxX6_XWFHN0Gy0vheszS76Ou1aPzc_feBv_W_o76NbgbOJJrx130TVX3UN7WxSE99GnCX7p2piPVeHJ-nPdrNov5xhcWfyha7wyDt7HlA9ce_y-CfQSFs9WjelWLZ7WoGB4CjOhxdC_j1DA9cfjxfE3sY9Oj16dzObJUHAhMTBxtwnJqNWpl9ay1BovhJLg0HlLbO5IITRVlPLM65RIS3SmGdisgTWH0FkuMq_oAdqp6so9QNh6ajJtfJp7xsLWoaXKZo5Zyr2C2xEilzCUZmAjD0Ux1mVclaSy7LErA3blgN0IPd90uujJOP7dfBrw3TQNTNrxAcBSDoZZKpc6JT1zjjtGtRCe517oUKqrkErCIPsByq3v9SiOULJRlz-EUbHY5RVhDv8yzlO0Oz95tygXr5dvH6KboUsf4XmEdtqmc4_B52n1k6jpvwBvIPpO
linkToUnpaywall http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwlV1Lb9QwELbQ9oB64FlEgSIfOJIlfsSxj9ktVYVQWwlWasUh8hNWLNkqJFTl1zN2wmoLUgW3xLGTkWesmYnH34fQq2BZWWoRYKVZmXHQeqZKI7NSWO1KR2NQHKstTsTxgr87L85HnO14FmZ7_57k6o1OtIGQx1E-ZVzJhP25IwoIvCdoZ3FyVl1E-jgiVMbSRuTzW0be8D0Jon_kVNlFd_vmUl9f6dVqy70c3R_ObX9PqISxquTrtO_M1P78A7PxHyV_gO6NYSauBrt4iO745hHa3QIffIw-VfjQd6kSq8HV6vO6XXZfvmEIYvGHvg3aenieij3wOuCzNgJLODxftrZfdni2BtPCM_CBDsP44d8EXF-cvj_9IffQ4ujtx_lxNlItZBZcdpdRwpzJg3KO584GKbWCUC446oSnpTRMM1aQYHKqHDXEcFitFrINaYiQJGj2BE2adeOfIuwCs8TYkIvAedw0dEw74rljRdBwu4_obyXUdsQhj3QYqzrlI7mqq_kcjK-OM1ePM7ePXm8GXQ4wHLd3n0XtbrpGDO3UAAqqxyVZa597rQL3vvCcGSlDIYI0kaSrVFrBS_aibWx9ryyo4tCebYzlL2EGrd8Q5tl_9n-BJl3b-wMIdjrzcjTyX6LY9z8
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=A+Detection+Algorithm+for+Surface+Defects+of+Printed+Circuit+Board+Based+on+Improved+YOLOv8&rft.jtitle=IEEE+access&rft.au=Yao%2C+Lei&rft.au=Zhao%2C+Bing&rft.au=Wang%2C+Xihui&rft.au=Mei%2C+Sihan&rft.date=2024&rft.issn=2169-3536&rft.eissn=2169-3536&rft.volume=12&rft.spage=170227&rft.epage=170242&rft_id=info:doi/10.1109%2FACCESS.2024.3498004&rft.externalDBID=n%2Fa&rft.externalDocID=10_1109_ACCESS_2024_3498004
thumbnail_l http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/lc.gif&issn=2169-3536&client=summon
thumbnail_m http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/mc.gif&issn=2169-3536&client=summon
thumbnail_s http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/sc.gif&issn=2169-3536&client=summon