A Random Forest Algorithm for PCB SMD Defect Detection

A printed circuit board (PCB) surface-mounted devices (SMDs) defect detection algorithm based on random forest (RF) was proposed to detect pin defects, resistor defects, and capacitor defects. It can solve the problem of low detection accuracy and low efficiency caused by dense layout and small size of SMD. First, the PCB image is preprocessed, which includes image graying, image stitching, geometric correction, component positioning, and image denoising. Second, the SMD to be tested is divided into subregions. The shape features, gray features, and texture features of the subregions are extracted. Then the RF model is established, and the classification and regression tees (CART) decision tree is selected as the basic classifier. Each decision tree in the RF makes a prediction according to the sample characteristics. Finally, all the decision tree predictions are voted to get the final prediction. The experimental results show that the average accuracy of this method for pin defect, resistor defect, and capacitor defect detection is 97.7%, 97.0%, and 96.7%. The detection time for a PCB board containing 200 SMDs is only 3.78 s.

Authors

Institutions

Publication Details

Journal
IEEE Transactions on Components Packaging and Manufacturing Technology
Published
2025-02-13
DOI
https://doi.org/10.1109/tcpmt.2025.3541214
Citations
3
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
3.73
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Random Forest Algorithm for PCB SMD Defect Detection

Tao Chen, Jingwei Li, Wei Zhang, Yi Lu
3 citations
IEEE Transactions on Components Packaging and Manufacturing Technology
Industrial Vision Systems and Defect Detection
3.73
article

A Random Forest Algorithm for PCB SMD Defect Detection

Tao Chen, Jingwei Li, Wei Zhang, Yi Lu
article en
3 citations

Abstract

A printed circuit board (PCB) surface-mounted devices (SMDs) defect detection algorithm based on random forest (RF) was proposed to detect pin defects, resistor defects, and capacitor defects. It can solve the problem of low detection accuracy and low efficiency caused by dense layout and small size of SMD. First, the PCB image is preprocessed, which includes image graying, image stitching, geometric correction, component positioning, and image denoising. Second, the SMD to be tested is divided into subregions. The shape features, gray features, and texture features of the subregions are extracted. Then the RF model is established, and the classification and regression tees (CART) decision tree is selected as the basic classifier. Each decision tree in the RF makes a prediction according to the sample characteristics. Finally, all the decision tree predictions are voted to get the final prediction. The experimental results show that the average accuracy of this method for pin defect, resistor defect, and capacitor defect detection is 97.7%, 97.0%, and 96.7%. The detection time for a PCB board containing 200 SMDs is only 3.78 s.

IEEE Transactions on Components Packaging and Manufacturing TechnologyVol. 15(5)
Zhejiang Lab (CN), China Jiliang University (CN)
Openalex Percentile: Top 8%
Industrial Vision Systems and Defect Detection
3.73
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A Random Forest Algorithm for PCB SMD Defect Detection — Tao Chen, Jingwei Li, et al. · IEEE Transactions on Components Packaging and Manufacturing Technology (2025) | TGRS Research Map | TGRS