Tingrui Sun , Zhiwei Li , Xinjie Xiao , Xiangyang Hu , Zhihong Sun
{"title":"Lead frame surface defect detection based on geometric constraints and adaptive dual-branch normality recall for semiconductor manufacturing","authors":"Tingrui Sun , Zhiwei Li , Xinjie Xiao , Xiangyang Hu , Zhihong Sun","doi":"10.1016/j.jmsy.2025.06.016","DOIUrl":null,"url":null,"abstract":"<div><div>Surface defect detection in lead frames using machine vision is crucial for ensuring the quality and reliability of semiconductor manufacturing. While high-resolution industrial cameras are widely used, detecting tiny defects across hundreds of unit cells remains a significant challenge. Additionally, imbalanced defect data distributions in industrial environments exacerbate the detection challenge. To address these, a novel framework specifically designed for lead frame surface defect detection is proposed. The framework consists of two main components: multi-scale geometric constraint matching (MGCM) and dual-branch attention-based normality recall (DB-ANR). MGCM is a specialized algorithm designed for array-structured detection, efficiently extracting unit cells from high-resolution images by leveraging geometric constraints and eliminating redundant matching points, ensuring stable and precise results. DB-ANR addresses data imbalance and normal pattern forgetting by training on normal data to store patterns, which are recalled during inference to enhance detection accuracy. Additionally, the adaptive local–global dual attention module dynamically balances the contributions of local and global features, enabling robust detection across various defect types. Experiments on a self-constructed dataset with five types of lead frames demonstrate the effectiveness of the proposed framework. MGCM reliably extracts unit cells from high-resolution images, while DB-ANR achieves an AUC of 97.76%, PRO of 89.12%, and F1-score of 81.6%. The model also demonstrates efficient memory usage and fast inference speed, meeting deployment requirements in real industrial scenarios. Furthermore, the proposed array-oriented detection framework is not limited to lead frames and can be extended to other semiconductor applications, such as chip and wafer quality detection, where similar array-structured patterns exist.</div></div>","PeriodicalId":16227,"journal":{"name":"Journal of Manufacturing Systems","volume":"82 ","pages":"Pages 1091-1109"},"PeriodicalIF":14.2000,"publicationDate":"2025-08-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Manufacturing Systems","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0278612525001670","RegionNum":1,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ENGINEERING, INDUSTRIAL","Score":null,"Total":0}
引用次数: 0
Abstract
Surface defect detection in lead frames using machine vision is crucial for ensuring the quality and reliability of semiconductor manufacturing. While high-resolution industrial cameras are widely used, detecting tiny defects across hundreds of unit cells remains a significant challenge. Additionally, imbalanced defect data distributions in industrial environments exacerbate the detection challenge. To address these, a novel framework specifically designed for lead frame surface defect detection is proposed. The framework consists of two main components: multi-scale geometric constraint matching (MGCM) and dual-branch attention-based normality recall (DB-ANR). MGCM is a specialized algorithm designed for array-structured detection, efficiently extracting unit cells from high-resolution images by leveraging geometric constraints and eliminating redundant matching points, ensuring stable and precise results. DB-ANR addresses data imbalance and normal pattern forgetting by training on normal data to store patterns, which are recalled during inference to enhance detection accuracy. Additionally, the adaptive local–global dual attention module dynamically balances the contributions of local and global features, enabling robust detection across various defect types. Experiments on a self-constructed dataset with five types of lead frames demonstrate the effectiveness of the proposed framework. MGCM reliably extracts unit cells from high-resolution images, while DB-ANR achieves an AUC of 97.76%, PRO of 89.12%, and F1-score of 81.6%. The model also demonstrates efficient memory usage and fast inference speed, meeting deployment requirements in real industrial scenarios. Furthermore, the proposed array-oriented detection framework is not limited to lead frames and can be extended to other semiconductor applications, such as chip and wafer quality detection, where similar array-structured patterns exist.
期刊介绍:
The Journal of Manufacturing Systems is dedicated to showcasing cutting-edge fundamental and applied research in manufacturing at the systems level. Encompassing products, equipment, people, information, control, and support functions, manufacturing systems play a pivotal role in the economical and competitive development, production, delivery, and total lifecycle of products, meeting market and societal needs.
With a commitment to publishing archival scholarly literature, the journal strives to advance the state of the art in manufacturing systems and foster innovation in crafting efficient, robust, and sustainable manufacturing systems. The focus extends from equipment-level considerations to the broader scope of the extended enterprise. The Journal welcomes research addressing challenges across various scales, including nano, micro, and macro-scale manufacturing, and spanning diverse sectors such as aerospace, automotive, energy, and medical device manufacturing.