Deep Learning Based Defect Detection for Solder Joints on Industrial X-Ray Circuit Board Images

Qianru Zhang, Meng Zhang, Chinthaka Gamanayake, Chau Yuen, Zehao Geng, Hirunima Jayasekaraand, Xuewen Zhang, Chia-wei Woo, Jenny Chen Ni Low, Xiang Liu

Introduction

In modern electronics manufacturing, the increasing complexity and miniaturization of Printed Circuit Boards (PCBs) have made solder joint integrity a critical quality concern. To address this, manufacturers rely on 3D Automated X-ray Inspection (AXI) systems. However, these systems are frequently tuned for extreme sensitivity to avoid missing any potential defects, leading to a high "false call" rate. In real-world industrial settings, it is estimated that only about 15% of the joints flagged as defective by AXI are actually flawed. This creates a significant bottleneck, requiring human specialists to manually re-verify thousands of images daily.

This paper introduces a deep learning-based follow-up system designed to act as a high-precision filter, significantly reducing the manual workload by automatically identifying false alarms without compromising the detection of genuine defects.

The Proposed AI-Assisted Framework

The core innovation is the introduction of an AI-assisted follow-up inspection stage positioned between the initial AXI machine and the human specialist. Instead of replacing the existing infrastructure, the AI model processes only the components that the AXI has already flagged as "failed."

Proposed AI-assisted follow-up inspection workflow.

By focusing on this subset of data, the system can be optimized for specific industrial trade-offs. If the AI model confirms a "pass," the component proceeds to the next stage of testing (e.g., In-circuit Test). If the AI confirms a "fail," the image is then passed to a human specialist for final verification. This "filter" philosophy allows for a massive reduction in the number of images requiring human eyes.

Data Representation and Pre-processing

One of the primary challenges in processing 3D X-ray data is the variability in component depth. Different solder joints are captured across a varying number of X-ray "slices," typically ranging from one to six.

Example of 3D X-ray imaging showing multiple slices of a solder joint.

To handle this, the authors implemented a channel-wise pre-processing pipeline:

  1. Padding: All inputs are padded to a fixed depth of six slices using zero-padding for missing layers. This ensures a consistent input shape for the neural networks.
  2. Cropping and Resizing: To mitigate "noisy ROI" issues where the AXI-provided bounding box is off-center, the system crops and resizes the images to a standard 128x128 pixel resolution, ensuring the solder joint is the primary focus.

The study utilized a massive dataset of 518,292 through-hole solder images, split by board type to ensure the models generalize effectively to new PCB designs.

Deep Learning Architectures

The research evaluated two distinct deep learning strategies for analyzing these multi-slice volumes:

  • 3D CNN: This architecture treats the slices as a spatial volume. By using 3D convolutional kernels, the model extracts features across the width, height, and depth (slices) of the solder joint simultaneously, capturing the volumetric characteristics of the solder.
  • LSTM (Long Short-Term Memory): This approach treats the slices as a sequence. A 2D CNN first extracts features from each slice individually, and an LSTM unit then analyzes the relationship between these slices as if they were a sequence in depth.

Results and Industrial Impact

The proposed models demonstrated substantial improvements in inspection efficiency. The 3D CNN achieved an AUROC of 0.9005, while the LSTM followed closely at 0.8916.

From an industrial perspective, the most critical metric is the reduction in manual workload. The system successfully filtered out 66.51% of the false calls generated by the AXI machine. This means specialists only had to review approximately one-third of the images they previously handled. When tuned to a 90% recall rate—a standard industrial benchmark—the 3D CNN maintained a low False Positive Rate (FPR) of 0.3349, proving its robustness in high-stakes manufacturing environments.

Conclusion

By integrating deep learning into the AXI workflow, manufacturers can significantly alleviate the burden on human inspectors. While the 3D CNN excels at general performance, the LSTM provides a robust alternative for scenarios requiring extremely high recall. Future work will focus on optimizing computational complexity for real-time integration and developing automated thresholding methods to adapt to different risk profiles across various PCB technologies.

Summary updated

BibTeX
@inproceedings{zhang2020deep,
  author = {Qianru Zhang and Meng Zhang and Chinthaka Gamanayake and Chau Yuen and Zehao Geng and Hirunima Jayasekaraand and Xuewen Zhang and Chia-wei Woo and Jenny Chen Ni Low and Xiang Liu},
  title = {{Deep Learning Based Defect Detection for Solder Joints on Industrial X-Ray Circuit Board Images}},
  booktitle = {INDIN},
  year = {2020},
  doi = {10.1109/indin45582.2020.9442142},
}
Figure