Nanyang Technological University
FPGA-based machine learning for high-speed image processing and analysis in automated vision inspection
Abstract
dc:description.abstractThis dissertation addresses the need for high-speed, power-efficient wire bonding defect detection in low-contrast X-ray imagery for semiconductor manufacturing. Traditional methods operate below 1 frame per second, while GPU-based deep learning solutions consume excessive power (typically 80–150W during inference), limiting embedded deployment. This research develops an FPGA-based system using YOLOv5s for real-time defect detection. To address the data scarcity challenge inherent in high-yield manufacturing environments, a controlled synthetic defect generation framework is employed, enabling systematic sensitivity analysis across parameterized gap sizes of 3, 5, and 7 pixels. The low-contrast characteristics of X-ray imagery are addressed through image enhancement combined with a dual-class labeling strategy that distinguishes bright-region and dark-region defects, yielding substantial improvement over single-class approaches. The detection model is adapted for FPGA deployment through activation function replacement, INT8 post-training quantization via Vitis AI, and runtime integration on the Xilinx Zynq UltraScale+ MPSoC platform. The GPU baseline achieves 0.981 mAP@0.5 at 100 FPS with measured power consumption of 78.2W during inference. The FPGA implementation achieves 0.965 mAP@0.5 (1.6% reduction) at 10 FPS with 4.9W system power, yielding 1.6× better energy efficiency (2.04 vs 1.28 FPS/Watt). Zero false positives on defect-free samples confirm high specificity. Energy per frame drops from 0.782J (GPU) to 0.49J (FPGA), a 37% reduction. This work demonstrates that FPGA-based CNN inference can achieve sufficient accuracy and real-time throughput for industrial inspection under strict power budgets, providing a deployment workflow for embedded vision systems. The dual-class labeling strategy and quantization-aware adaptation methodology contribute to practical embedded AI deployment in manufacturing.
Degree
thesis:*- College dc:contributor.school
- School of Electrical and Electronic Engineering
- Grantor dc:publisher
- Nanyang Technological University
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Wang, Runyan
- Advisor dc:contributor.supervisor
-
- Poenar Daniel Puiu
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10356/210485