CN118822960A - A wafer surface defect detection method, device and computer equipment - Google Patents
A wafer surface defect detection method, device and computer equipment Download PDFInfo
- Publication number
- CN118822960A CN118822960A CN202410805054.9A CN202410805054A CN118822960A CN 118822960 A CN118822960 A CN 118822960A CN 202410805054 A CN202410805054 A CN 202410805054A CN 118822960 A CN118822960 A CN 118822960A
- Authority
- CN
- China
- Prior art keywords
- image
- features
- defect detection
- wafer surface
- correlation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0004—Industrial image inspection
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/764—Arrangements for image or video recognition or understanding using pattern recognition or machine learning using classification, e.g. of video objects
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/77—Processing image or video features in feature spaces; using data integration or data reduction, e.g. principal component analysis [PCA] or independent component analysis [ICA] or self-organising maps [SOM]; Blind source separation
- G06V10/774—Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30108—Industrial image inspection
- G06T2207/30148—Semiconductor; IC; Wafer
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Multimedia (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Evolutionary Computation (AREA)
- Databases & Information Systems (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Quality & Reliability (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
- Testing Or Measuring Of Semiconductors Or The Like (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及一种晶圆表面缺陷检测技术,特别是涉及一种晶圆表面缺陷检测方法、装置及计算机设备。The present invention relates to a wafer surface defect detection technology, and in particular to a wafer surface defect detection method, device and computer equipment.
背景技术Background Art
集成电路晶圆是半导体工业的基础,它直接决定了芯片及电子元器件的质量和性能。晶圆的生产和制造极其复杂,多达上百个工艺步骤,每一个流程的处理都可能导致表面缺陷的产生。任由有缺陷的晶圆继续参与芯片后续的制造流程,不仅会制造出性能和质量都有所缺失的芯片,而且会无意义的浪费人力和物力。提升和改进生产工艺技术固然能降低缺陷的发生概率,却无法完全避免,并且随着边际效用的叠加,这种方式所带来的成本将会十分巨大。因此,在晶圆生产和制造的每一步流程中进行相应的检测,对提高芯片及电子元器件的质量和可靠性尤为关键。Integrated circuit wafers are the foundation of the semiconductor industry, and they directly determine the quality and performance of chips and electronic components. The production and manufacturing of wafers are extremely complex, with up to hundreds of process steps, and the processing of each process may lead to surface defects. Allowing defective wafers to continue to participate in the subsequent manufacturing process of chips will not only produce chips with poor performance and quality, but also waste manpower and material resources meaninglessly. Improving and improving production process technology can certainly reduce the probability of defects, but it cannot be completely avoided, and with the accumulation of marginal benefits, the cost of this method will be very huge. Therefore, it is particularly critical to carry out corresponding inspections in each step of wafer production and manufacturing to improve the quality and reliability of chips and electronic components.
现有检测手段多是基于人眼视觉进行目检,检测依据主要依赖于经验判断,这种方式在检测效率和可靠性方面具有明显的劣势。此外,随着图像处理和深度学习理论的发展,也衍生出了一些基于机器视觉的自动化检测方案。然而传统图像处理检测算法需要大量的先验知识,且通常只针对单一类型的晶圆进行检测,其泛化和通用能力较为有限。基于深度学习的检测算法和模型在泛化能力上具有突出的优点,但又需要大量的样本进行训练,其计算量和数据量又对硬件设备和成本提出了很高的要求,限制了该种方案在实际检测场景中的应用和部署。Most existing detection methods are based on visual inspection by human eyes, and the basis for detection mainly relies on experience and judgment. This method has obvious disadvantages in terms of detection efficiency and reliability. In addition, with the development of image processing and deep learning theory, some automated detection solutions based on machine vision have also been derived. However, traditional image processing detection algorithms require a lot of prior knowledge, and usually only detect a single type of wafer, and their generalization and general capabilities are relatively limited. Deep learning-based detection algorithms and models have outstanding advantages in generalization capabilities, but they require a large number of samples for training. The amount of calculation and data volume puts high demands on hardware equipment and costs, limiting the application and deployment of this solution in actual detection scenarios.
发明内容Summary of the invention
本发明的目的在于提供一种晶圆表面缺陷检测方法、装置及计算机设备,本发明提出了一种新的检测晶圆表面缺陷的方案,对于现有人工检测效率低下、可靠性差,深度学习检测算法计算量和数据量过大的问题都有极大的改善。在自动化检测的基础上,着重于提高检测结果的准确性,并大幅降低了检测过程中计算开销和硬件成本。The purpose of the present invention is to provide a wafer surface defect detection method, device and computer equipment. The present invention proposes a new solution for detecting wafer surface defects, which greatly improves the problems of low efficiency and poor reliability of existing manual detection, and excessive calculation and data volume of deep learning detection algorithms. On the basis of automated detection, it focuses on improving the accuracy of detection results and greatly reduces the calculation overhead and hardware cost in the detection process.
在本发明的第一方面,本发明提供了一种晶圆表面缺陷检测方法,所述方法包括:In a first aspect of the present invention, the present invention provides a method for detecting wafer surface defects, the method comprising:
获取目标图像和参考图像;所述参考图像为无缺陷的晶圆表面图像,所述目标图像为待检测缺陷的晶圆表面图像;Acquire a target image and a reference image; the reference image is a defect-free wafer surface image, and the target image is a wafer surface image with defects to be detected;
提取所述目标图像的图像特征;所述图像特征包括灰度共生矩阵特征、直方图统计特征、图像互相关特征、傅里叶谱互相关特征、Hu不变矩特征以及低频集中特征;所述图像互相关特征和所述傅里叶谱互相关特征基于所述参考图像确定;Extracting image features of the target image; the image features include gray level co-occurrence matrix features, histogram statistical features, image cross-correlation features, Fourier spectrum cross-correlation features, Hu invariant moment features and low frequency concentration features; the image cross-correlation features and the Fourier spectrum cross-correlation features are determined based on the reference image;
将所述目标图像的图像特征输入到预先训练好的机器学习模型中,对所述图像特征进行缺陷检测处理,输出所述目标图像的缺陷检测结果。The image features of the target image are input into a pre-trained machine learning model, defect detection processing is performed on the image features, and the defect detection result of the target image is output.
在本发明的第二方面,本发明还提供了一种晶圆表面缺陷检测装置,所述装置包括:In a second aspect of the present invention, the present invention further provides a wafer surface defect detection device, the device comprising:
获取模块,获取目标图像和参考图像;所述参考图像为无缺陷的晶圆表面图像,所述目标图像为待检测缺陷的晶圆表面图像;An acquisition module acquires a target image and a reference image; the reference image is a defect-free wafer surface image, and the target image is a wafer surface image with defects to be detected;
提取模块,提取所述目标图像的图像特征;所述图像特征包括灰度共生矩阵特征、直方图统计特征、图像互相关特征、傅里叶谱互相关特征、Hu不变矩特征以及低频集中特征;所述图像互相关特征和所述傅里叶谱互相关特征基于所述参考图像确定;An extraction module, extracting image features of the target image; the image features include gray level co-occurrence matrix features, histogram statistical features, image cross-correlation features, Fourier spectrum cross-correlation features, Hu invariant moment features and low frequency concentration features; the image cross-correlation features and the Fourier spectrum cross-correlation features are determined based on the reference image;
预测模块,将所述目标图像的图像特征输入到预先训练好的机器学习模型中,对所述图像特征进行缺陷检测处理,输出所述目标图像的缺陷检测结果。The prediction module inputs the image features of the target image into a pre-trained machine learning model, performs defect detection processing on the image features, and outputs the defect detection results of the target image.
在本发明第三方面,本发明提出了一种计算机设备,所述装置包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器与所述存储器之间通过所述总线进行通信,所述机器可读指令被所述处理器运行时执行如本发明第一方面所述的晶圆表面缺陷检测方法的步骤。In the third aspect of the present invention, a computer device is proposed, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the wafer surface defect detection method as described in the first aspect of the present invention.
本发明为一种晶圆表面缺陷检测方法、装置及计算机设备。本申请实施例针对晶圆表面缺陷的检测,提供了一种具有高检测准确率和低计算开销的方法。该方法由晶圆图像采集、特征点计算、分类模型训练与测试数据验证三个部分组成,本实施例将分类模型训练和测试数据验证均视可为缺陷检测过程。The present invention is a method, device and computer equipment for detecting wafer surface defects. The embodiment of the present application provides a method with high detection accuracy and low computational overhead for detecting wafer surface defects. The method consists of three parts: wafer image acquisition, feature point calculation, classification model training and test data verification. In this embodiment, classification model training and test data verification are both considered as defect detection processes.
其核心在于使用特定的模式对晶圆表面图像进行特征提取,从而将整个图像的上百个乃至上千个像素信息集中为具有高度代表性的8个特征点。这8个特征点的计算结果来自于样本图像的多种特征分析,主要包括:灰度共生矩阵、直方图统计、图像互相关、傅里叶谱互相关、Hu不变矩以及低频集中特征。特征点的计算实际上是对晶圆图图像特征信息的高度集中和加速提取。此外由于缺陷在晶圆图像上的分布具有稀疏性的特性,特征点的计算过程也实现了对整幅图像的数据降维,从而过滤了大量冗余数据,实现有效信息的提取。The core of this method is to use a specific pattern to extract features from the wafer surface image, thereby concentrating hundreds or even thousands of pixels of the entire image into eight highly representative feature points. The calculation results of these eight feature points come from a variety of feature analyses of the sample image, mainly including: grayscale co-occurrence matrix, histogram statistics, image cross-correlation, Fourier spectrum cross-correlation, Hu invariant moment, and low-frequency concentrated features. The calculation of feature points is actually a highly concentrated and accelerated extraction of feature information of the wafer image. In addition, due to the sparse distribution of defects on the wafer image, the calculation process of feature points also realizes the data dimensionality reduction of the entire image, thereby filtering out a large amount of redundant data and extracting effective information.
本发明的有益效果:Beneficial effects of the present invention:
本发明提出了一种晶圆表面缺陷检测方法、装置及计算机设备,本发明不再依赖于人眼观察的传统检测模式,立足于机器视觉的研究方向,具有高度自动化,高可靠性,准确率高和效率高的特点。本发明使用多种图像特征分析的方法对晶圆表面图像进行计算,整合形成8个特征点,实现了对样本图像特征的集中和提取,将整幅图像多达上百个乃至上千个的像素点信息大幅减少至8个独立的特征数据点,从而极大的避免了现有深度学习和机器学习的检测方案需要的极大计算量和数据量的难点。该方法在不降低检测结果准确性的基础上,大幅优化了实际检测过程中的硬件开销和部署难度。并且该方法中的特征提取过程适用于多种机器学习模型,在多种机器学习模型的测试中都表现出了良好的检测性能,具备广泛的应用前景和高度的泛化能力。The present invention proposes a method, device and computer equipment for wafer surface defect detection. The present invention no longer relies on the traditional detection mode of human eye observation, but is based on the research direction of machine vision, and has the characteristics of high automation, high reliability, high accuracy and high efficiency. The present invention uses a variety of image feature analysis methods to calculate the wafer surface image, integrates to form 8 feature points, realizes the concentration and extraction of sample image features, and greatly reduces the information of hundreds or even thousands of pixels in the entire image to 8 independent feature data points, thereby greatly avoiding the difficulties of the huge amount of calculation and data required by the existing deep learning and machine learning detection schemes. The method greatly optimizes the hardware overhead and deployment difficulty in the actual detection process without reducing the accuracy of the detection results. In addition, the feature extraction process in this method is applicable to a variety of machine learning models, and has shown good detection performance in the tests of a variety of machine learning models, with broad application prospects and high generalization capabilities.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本发明实施例检测方案总体框图;FIG1 is an overall block diagram of a detection scheme according to an embodiment of the present invention;
图2为本发明实施例的WM-811K部分晶圆样本图像;FIG2 is a partial wafer sample image of WM-811K according to an embodiment of the present invention;
图3为本发明实施例特征点计算方案示意图;FIG3 is a schematic diagram of a characteristic point calculation scheme according to an embodiment of the present invention;
图4为本发明实施例随机森林模型下测试结果混淆矩阵。FIG4 is a confusion matrix of test results under the random forest model according to an embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
晶圆是半导体器件和集成电路的基础,其质量直接影响最终产品的性能。通过晶圆图像缺陷检测,可以确保晶圆在生产过程中不含有坏点、裂纹、污染等缺陷,从而保证产品的质量和可靠性。Wafers are the basis of semiconductor devices and integrated circuits, and their quality directly affects the performance of the final product. Through wafer image defect detection, it can be ensured that the wafer does not contain defects such as bad spots, cracks, and contamination during the production process, thereby ensuring the quality and reliability of the product.
晶圆缺陷主要可以分为表面缺陷、结构缺陷、杂质缺陷、加工缺陷和绝缘体附着缺陷、封装缺陷、运输和存储过程中引入的缺陷等。对于晶圆表面缺陷而言,表面缺陷通常包括在晶圆成型、清洗、外延生长以及转运过程中所产生的划痕、晶点、氧化膜、表面冗余物等缺陷:划痕:晶圆表面出现的线状缺陷,通常由于切割工艺不当或清洗过程中的机械损伤引起。划痕会影响晶圆表面的平整度,进而影响光刻和薄膜沉积等工艺的精度和稳定性。晶点:晶圆表面出现的小点状缺陷,通常由杂质或异物在制造过程中附着在晶圆表面引起。晶点会影响晶圆的电性能和光学性能,降低晶圆的可靠性和可用性。氧化膜缺陷:晶圆表面氧化膜上出现的不符合要求的缺陷,通常由于氧化过程中控制不当或杂质引入导致。氧化膜缺陷会影响晶圆的绝缘性能和介电常数,从而影响器件的电性能和可靠性。表面冗余物:包括微小颗粒、灰尘、晶圆加工前一个工序的残留物等。这些冗余物会严重影响到晶圆表面的完整性等。Wafer defects can be mainly divided into surface defects, structural defects, impurity defects, processing defects, insulator adhesion defects, packaging defects, defects introduced during transportation and storage, etc. For wafer surface defects, surface defects usually include scratches, crystal points, oxide films, surface redundancy and other defects generated during wafer molding, cleaning, epitaxial growth and transportation: Scratches: Linear defects on the surface of the wafer, usually caused by improper cutting process or mechanical damage during cleaning. Scratches will affect the flatness of the wafer surface, and then affect the accuracy and stability of processes such as lithography and thin film deposition. Crystal points: Small point-shaped defects on the surface of the wafer, usually caused by impurities or foreign matter attached to the surface of the wafer during the manufacturing process. Crystal points will affect the electrical and optical properties of the wafer, reducing the reliability and availability of the wafer. Oxide film defects: Defects that do not meet the requirements on the oxide film on the surface of the wafer, usually caused by improper control during the oxidation process or the introduction of impurities. Oxide film defects will affect the insulation properties and dielectric constant of the wafer, thereby affecting the electrical performance and reliability of the device. Surface redundancy: including tiny particles, dust, residues from the previous process of wafer processing, etc. These redundancies will seriously affect the integrity of the wafer surface.
对于图1所示的技术方案,以半导体器件(如存储芯片,功率器件等)的制造工序为例,通常会针对作为制造基底的每张晶圆均进行缺陷检测,从而能够检测并筛选获得无缺陷的晶圆或者有少量缺陷但不存在致命(killer)缺陷的晶圆以进行后续的半导体器件的制造工序,因此,通常会对晶圆进行非破坏检测,即不由于检测而对后续半导体器件的制造工序产生影响。为了实现非破坏检测,本发明实施例优选采用电路探针对晶圆各模块进行电气测试后得到的可视化图像作为晶圆表面缺陷检测图像。完成图1所示的缺陷检测过程。本发明实施例的一种晶圆表面缺陷检测方法,如图1所示,所述方法包括:For the technical solution shown in FIG1 , taking the manufacturing process of semiconductor devices (such as memory chips, power devices, etc.) as an example, defect detection is usually performed on each wafer used as a manufacturing substrate, so that defect-free wafers or wafers with a small number of defects but no killer defects can be detected and screened to obtain wafers for subsequent semiconductor device manufacturing processes. Therefore, wafers are usually subjected to non-destructive testing, that is, the subsequent semiconductor device manufacturing process is not affected by the testing. In order to achieve non-destructive testing, an embodiment of the present invention preferably uses a circuit probe to perform electrical testing on each module of the wafer to obtain a visualized image as a wafer surface defect detection image. The defect detection process shown in FIG1 is completed. A wafer surface defect detection method according to an embodiment of the present invention, as shown in FIG1 , comprises:
101、获取目标图像和参考图像;所述参考图像为无缺陷的晶圆表面图像,所述目标图像为待检测缺陷的晶圆表面图像;101. Acquire a target image and a reference image; the reference image is a defect-free wafer surface image, and the target image is a wafer surface image with defects to be detected;
102、提取所述目标图像的图像特征;所述图像特征包括灰度共生矩阵特征、直方图统计特征、图像互相关特征、傅里叶谱互相关特征、Hu不变矩特征以及低频集中特征;所述图像互相关特征和所述傅里叶谱互相关特征基于所述参考图像确定;;102. Extract image features of the target image; the image features include gray level co-occurrence matrix features, histogram statistical features, image cross-correlation features, Fourier spectrum cross-correlation features, Hu invariant moment features, and low frequency concentration features; the image cross-correlation features and the Fourier spectrum cross-correlation features are determined based on the reference image;
103、将所述目标图像的图像特征输入到预先训练好的机器学习模型中,对所述图像特征进行缺陷检测处理,输出所述目标图像的缺陷检测结果。103. Input the image features of the target image into a pre-trained machine learning model, perform defect detection processing on the image features, and output the defect detection result of the target image.
在本实例中,采用公开的晶圆表面缺陷图像数据集WM-811K对所提出的方法进行测试和测试结果的展示。该数据集源自于真实检测环境下的晶圆表面图像,具有很强的代表性,是目前最大的可公开访问的晶圆图像数据之一,包括晶圆的物理特性、生产过程中的工艺参数、设备状态、生产环境等信息,以及晶圆测试时得到的电学、光学和物理性能的测量数据。该数据集还包括晶圆的缺陷和瑕疵数据,这些数据有助于分析师检测晶圆的质量问题,并定位和解决生产过程中可能存在的缺陷源。如图2所示,WM-811K数据集部分晶圆样本的图像。根据WM-811K数据集自带的数据标签,在本实例中将样本分为有缺陷和无缺项两种情况。由于WM-811K数据集采集自多个批次,多个分辨率的检测场景,因此数据集中各类型和各分辨率下的样品图像数量极为不平衡。为了兼顾缺陷样品和缺陷样品图像之间的平衡,本实例中选择数据集里分辨率为25×27的图像作为待测样品,并随机选取了2500张无缺陷,2500张有缺陷的图像,将其中只有一张无缺陷的图像作为参考图像,其他2499张无缺陷和2500张有缺陷的的图像都可以作为待测的目标图像。In this example, the proposed method is tested and the test results are presented using the public wafer surface defect image dataset WM-811K. This dataset is derived from wafer surface images in a real inspection environment and is highly representative. It is one of the largest publicly accessible wafer image data. It includes information such as the physical properties of the wafer, process parameters in the production process, equipment status, and production environment, as well as measurement data of electrical, optical, and physical properties obtained during wafer testing. The dataset also includes wafer defect and flaw data, which helps analysts detect wafer quality problems and locate and resolve possible defect sources in the production process. As shown in Figure 2, images of some wafer samples in the WM-811K dataset. According to the data labels of the WM-811K dataset, the samples are divided into two cases: defective and intact in this example. Since the WM-811K dataset is collected from multiple batches and multiple resolution inspection scenes, the number of sample images of each type and resolution in the dataset is extremely unbalanced. In order to strike a balance between defective samples and defective sample images, this example selects images with a resolution of 25×27 in the data set as samples to be tested, and randomly selects 2500 defect-free images and 2500 defective images. Only one defect-free image is used as a reference image, and the other 2499 defect-free images and 2500 defective images can be used as target images to be tested.
本发明的核心是使用特征提取的方式将整幅图像的像素信息集中和压缩至8个特征数据点,以减少检测过程中计算开销和硬件成本;特征提取的方法主要包括了灰度共生矩阵(Gray-level Co-occurrence Matrix,GLCM)、直方图统计、图像互相关、傅里叶谱互相关、Hu不变矩以及低频集中特征等多个方面的衡量。The core of the present invention is to use feature extraction to concentrate and compress the pixel information of the entire image to 8 feature data points to reduce the computational overhead and hardware cost in the detection process; the feature extraction method mainly includes the measurement of gray-level co-occurrence matrix (GLCM), histogram statistics, image cross-correlation, Fourier spectrum cross-correlation, Hu invariant moment and low-frequency concentrated features.
如图3所示,是本发明所述8个特征点的具体选取和计算方案:As shown in FIG3 , this is a specific selection and calculation scheme of the eight feature points described in the present invention:
特征点1源自于图像的灰度共生矩阵,灰度共生矩阵是描述图像的纹理特征的方式,它主要对图像对比度、自相关、能量和均匀性四个分量进行计算和统计。在获得四个分量的值之后,对各分量分别赋予不同的权重进行特征点1的计算,计算公式如下:Feature point 1 is derived from the gray level co-occurrence matrix of the image. The gray level co-occurrence matrix is a way to describe the texture features of an image. It mainly calculates and counts four components: image contrast, autocorrelation, energy, and uniformity. After obtaining the values of the four components, different weights are assigned to each component to calculate feature point 1. The calculation formula is as follows:
Point1=a1*GLCM1+a2*GLCM2+a3*GLCMs+a4*GLCM4 Point 1 =a 1 *GLCM 1 +a 2 *GLCM 2 +a 3 *GLCM s +a 4 *GLCM 4
其中:Point1表示特征点1的计算结果;a1,a2,a3,a4为各个分量的权重,四个权重值的和为1;GLCM1,GLCM2,GLCM3,GLCM4为各个分量计算结果。Wherein: Point 1 represents the calculation result of feature point 1; a 1 , a 2 , a 3 , a 4 are the weights of each component, and the sum of the four weight values is 1; GLCM 1 , GLCM 2 , GLCM 3 , GLCM 4 are the calculation results of each component.
特征点2源自于对图像的直方图统计,直方图统计是对图像灰度色阶占据像素数量和比例的计算,它能反映出图像各灰度的分布情况。由于WM-811K中的样本图像只有三个灰度色阶,因此特征点2的计算结果来自于对三个灰度色阶分量的统计和权重计算,计算公式如下:Feature point 2 is derived from the histogram statistics of the image. The histogram statistics is the calculation of the number and proportion of pixels occupied by the grayscale levels of the image, which can reflect the distribution of each grayscale of the image. Since the sample image in WM-811K has only three grayscale levels, the calculation result of feature point 2 comes from the statistics and weight calculation of the three grayscale components. The calculation formula is as follows:
Point2=b1*H1+b2*H2+b3*H3 Point 2 =b 1 *H 1 +b 2 *H 2 +b 3 *H 3
其中:Point2表示特征点2的计算结果;b1,b2,b2为各个分量的权重,三个权重值的和为1;H1,H2,H3为各个分量计算结果。Wherein: Point 2 represents the calculation result of feature point 2; b 1 , b 2 , b 2 are the weights of each component, and the sum of the three weight values is 1; H 1 , H 2 , H 3 are the calculation results of each component.
特征点3是图像的互相关,其计算过程为先在所有无缺陷的样本中随机选择一个图像样本作为参考图像,然后将待测样本依次与参考样本进行相关性的计算。通常而言,由于参考取自于无缺陷的样本图像,因此与无缺陷的样本的计算结果会有更高的相关性,相对的,缺陷的存在则会导致与参考图像的相关系数降低。相关系数的计算过程采用皮尔逊相关系数计算法,计算公式如下:Feature point 3 is the cross-correlation of the image. The calculation process is to first randomly select an image sample from all defect-free samples as the reference image, and then calculate the correlation between the sample to be tested and the reference sample in turn. Generally speaking, since the reference is taken from the defect-free sample image, the calculation result with the defect-free sample will have a higher correlation. Conversely, the presence of defects will lead to a lower correlation coefficient with the reference image. The correlation coefficient calculation process uses the Pearson correlation coefficient calculation method, and the calculation formula is as follows:
其中,Point3表示特征点3的计算结果;A和B分别表示相关系数计算的输入分量,即参考图像和目标图像;μA和μB分别表示两分量的均值;σA和σB分别表示两分量的标准差,N表示输入分量的长度,可以是图像的像素数。Among them, Point 3 represents the calculation result of feature point 3; A and B represent the input components of the correlation coefficient calculation, namely the reference image and the target image respectively; μ A and μ B represent the means of the two components respectively; σ A and σ B represent the standard deviations of the two components respectively, and N represents the length of the input component, which can be the number of pixels of the image.
特征点4是图像傅里叶谱的互相关,其计算过程与特征点3的计算过程一致,只是将输入分量从图像替换为图像的傅里叶谱,可以表示为:Feature point 4 is the cross-correlation of the Fourier spectrum of the image. Its calculation process is the same as that of feature point 3, except that the input component is replaced from the image to the Fourier spectrum of the image, which can be expressed as:
其中,Point4表示特征点4的计算结果;FA和FB分别表示相关系数计算的傅里叶谱,即参考图像和目标图像的傅里叶谱;μFA和μFB分别表示两分量的均值;σFA和σFB分别表示两分量的标准差;N表示输入分量的长度,可以是傅里叶谱长度。Among them, Point 4 represents the calculation result of feature point 4; FA and FB represent the Fourier spectra of correlation coefficient calculation, that is, the Fourier spectra of the reference image and the target image respectively; μ FA and μ FB represent the means of the two components respectively; σ FA and σ FB represent the standard deviations of the two components respectively; N represents the length of the input component, which can be the Fourier spectrum length.
特征点5到6是基于对图像的Hu不变矩的分析,Hu不变矩对图像的特征具有高度的浓缩和集中特性,Hu不变矩是通过计算多个不同阶数的Hu矩,并对其进行归一化处理,得到的一组数值,这些数值构成了图像的特征向量。Hu不变矩通常包含7个矩特征。在分析WM-811K数据集特征和进行重要度排序之后,本实例中选择了将第一不变矩,第二不变矩的计算结果赋给特征点5,特征点6。Feature points 5 to 6 are based on the analysis of the Hu invariant moments of the image. The Hu invariant moments have a high degree of concentration and centralization characteristics on the features of the image. The Hu invariant moments are obtained by calculating multiple Hu moments of different orders and normalizing them. These values constitute the feature vector of the image. The Hu invariant moments usually contain 7 moment features. After analyzing the features of the WM-811K dataset and sorting the importance, this example chooses to assign the calculation results of the first invariant moment and the second invariant moment to feature points 5 and 6.
图像的频率是表征图像中灰度变化剧烈程度的指标,是灰度在平面空间上的梯度。如:连续的海洋或者沙漠在图像中是一片灰度变化缓慢的区域,对应的频率值很低;而起伏的山川或者河流在图像中则是一片灰度变化剧烈的区域,对应的频率值较高。通常来说,图像的低频部分代表了图像的轮廓、结构、纹理等特征,而高频部分则代表着更多的细节信息。此外,傅里叶谱具有能量集中的特性,会把图像的大部分信息集中在低频部分。The frequency of an image is an indicator of how drastically the grayscale changes in the image, and is the gradient of the grayscale in the plane space. For example, a continuous ocean or desert is an area with slow grayscale changes in the image, and the corresponding frequency value is very low; while undulating mountains or rivers are an area with drastic grayscale changes in the image, and the corresponding frequency value is higher. Generally speaking, the low-frequency part of an image represents the image's contour, structure, texture and other features, while the high-frequency part represents more detailed information. In addition, the Fourier spectrum has the characteristic of concentrated energy, which will concentrate most of the image information in the low-frequency part.
晶圆表面紧密排布着一个个一模一样的小方块,这些方块被称为晶粒,每一个都是独立的单元,代表被刻蚀出来的电子元器件,虽然晶圆表面分布着晶粒和可能的定位结构,但整体而言,晶圆表面是相对平滑的,这也就导致了晶圆表面图像的信息集中在低频区域。因此,本发明将晶圆图像所特有的低频信息进行处理,也即这两者是对频谱两轴中心点到一次波峰之间的低频区域进行的处理,得出相应的特征点7和特征点8。The surface of the wafer is closely arranged with identical small squares, which are called grains. Each of them is an independent unit, representing the etched electronic components. Although the surface of the wafer is distributed with grains and possible positioning structures, the surface of the wafer is relatively smooth as a whole, which leads to the concentration of the information of the wafer surface image in the low-frequency area. Therefore, the present invention processes the low-frequency information unique to the wafer image, that is, the two processes the low-frequency area between the center point of the two axes of the spectrum and the primary peak, and obtains the corresponding feature points 7 and 8.
特征点7和8基于以下两个公式进行计算:Feature points 7 and 8 are calculated based on the following two formulas:
其中,F表示傅里叶谱,即当前图像的频谱;u和v是频率域坐标系上的两个轴向,对应时域空间中笛卡尔坐标系下的x和y方向,um和vn表示频谱中过中心点两轴上一次波峰的在u和v方向的坐标,在本发明实施例中,m和n分别代表过中心点两轴上一次波峰的坐标距离。Among them, F represents the Fourier spectrum, that is, the spectrum of the current image; u and v are two axes in the frequency domain coordinate system, corresponding to the x and y directions in the Cartesian coordinate system in the time domain space, um and vn represent the coordinates of the peak on the two axes passing through the center point in the spectrum in the u and v directions. In the embodiment of the present invention, m and n respectively represent the coordinate distances of the peak on the two axes passing through the center point.
其中,傅里叶谱函数的公式如下:Among them, the formula of Fourier spectrum function is as follows:
其中,f(x,y)表示目标图像的矩阵元素,其所在坐标系为空间域,M和N表示目标图像的尺寸,F(u,v)所在坐标系为频域。Among them, f(x, y) represents the matrix element of the target image, and its coordinate system is the spatial domain. M and N represent the size of the target image, and the coordinate system of F(u, v) is the frequency domain.
在本发明的一些优选实施例中,本发明还可以对目标图像进行预处理,由于本发明获取的晶圆表面图像是通过电路探针得到的,而电路探针测试中可以获取晶粒的电气特性,将这些晶粒的电气特性进行可视化处理进而得到本发明的晶圆表面图像,从而可以评估其性能和质量,因此,本发明可以对获取的晶圆表面图像包括目标图像和参考图像进行高斯预处理,高斯预处理可以尽可能地消除晶圆表面图像中的噪声,让晶圆表面变得光滑,消除噪声影响,提高晶圆表面图像检测的精度。In some preferred embodiments of the present invention, the present invention can also pre-process the target image. Since the wafer surface image acquired by the present invention is obtained by a circuit probe, and the electrical characteristics of the grains can be obtained in the circuit probe test, the electrical characteristics of these grains are visualized to obtain the wafer surface image of the present invention, so that its performance and quality can be evaluated. Therefore, the present invention can perform Gaussian pre-processing on the acquired wafer surface images including the target image and the reference image. Gaussian pre-processing can eliminate the noise in the wafer surface image as much as possible, make the wafer surface smooth, eliminate the influence of noise, and improve the accuracy of wafer surface image detection.
在本发明的一些优选实施例中,考虑到获取的目标图像可能会存在电气连接问题、机械损伤问题、材料缺陷问题、图案缺陷问题、尺寸和位置偏差问题、污染和冗余物问题以及边缘缺陷问题等,而这些问题在图像中的表现程度和表现形式有所不同,例如当出现机械损伤问题时,在图像上可能为会以不规则的形状、深色或浅色斑点、线条等形式出现。例如当出现污染和冗余物问题时,在图像可能表现为白色或灰色的斑点,两者的斑点表现程度不同,在提取出图像特征时,有可能会出现提取出的特征并不显著的问题,影响后续的检测结果。基于上述分析,本发明还可以对提取出的图像特征中这8个特征点进行增强处理,以突出目标图像的信息;更进一步的,考虑到每个目标图像需要增强的图像信息可能是不一样的,因此,本实施例可以对这8个特征点分别进行增强处理,得到同一目标图像的8个增强图像,将这个目标图像以及对应的8个增强图像一并输入到预先训练好的机器学习模型中,可以输出每张图像的缺陷检测结果,将这9张图像的缺陷检测结果进行整合,得到最终的缺陷检测结果。In some preferred embodiments of the present invention, it is considered that the acquired target image may have electrical connection problems, mechanical damage problems, material defects, pattern defects, size and position deviation problems, pollution and redundancy problems, and edge defects, etc., and these problems may appear in different degrees and forms in the image. For example, when mechanical damage occurs, it may appear in the form of irregular shapes, dark or light spots, lines, etc. For example, when pollution and redundancy problems occur, they may appear in the form of white or gray spots in the image, and the degree of expression of the spots in the two is different. When extracting image features, the extracted features may not be significant, affecting the subsequent detection results. Based on the above analysis, the present invention can also enhance the 8 feature points in the extracted image features to highlight the information of the target image; further, considering that the image information that needs to be enhanced for each target image may be different, the present embodiment can enhance the 8 feature points separately to obtain 8 enhanced images of the same target image, and input the target image and the corresponding 8 enhanced images into a pre-trained machine learning model, and output the defect detection results of each image, and integrate the defect detection results of these 9 images to obtain the final defect detection results.
在本发明的一些优选实施例中,在特征点的计算完成后,将所有样本分为两个部分:训练集和测试集。使用基于机器学习的多个模型对训练集样本所对应的特征点进行是否存在缺陷的分类,从而实现对模型的构建。再使用测试集样本对每个训练好的模型进行测试,分析比较各模型的检测性能表现,选择具有最佳检测性能的模型作为该样本条件下的最终的模型。In some preferred embodiments of the present invention, after the calculation of the feature points is completed, all samples are divided into two parts: a training set and a test set. Multiple models based on machine learning are used to classify whether the feature points corresponding to the training set samples have defects, thereby realizing the construction of the model. Then, each trained model is tested using the test set samples, and the detection performance of each model is analyzed and compared, and the model with the best detection performance is selected as the final model under the sample condition.
可以理解的是,本发明实施例在将目标图像输入到预先训练好的机器学习模型中,以使得所述预先训练好的机器学习模型根据提取获得的图像特征识别所述目标图像是否具有缺陷;本发明实施例还可以对历史缺陷检测过程所积累的各种缺陷类型对应的图像特征进行记录,并根据这些记录的历史缺陷检测数据训练机器学习模型直至达到设定的检测准确度阈值。当机器学习模型训练完毕之后,就能够根据输入的图像特征识别是否具有缺陷。It is understandable that the embodiment of the present invention inputs the target image into a pre-trained machine learning model so that the pre-trained machine learning model can identify whether the target image has defects based on the extracted image features; the embodiment of the present invention can also record the image features corresponding to various defect types accumulated during the historical defect detection process, and train the machine learning model based on these recorded historical defect detection data until the set detection accuracy threshold is reached. After the machine learning model is trained, it can identify whether there are defects based on the input image features.
在一些实施例中,机器学习模型所采用的机器学习技术可以包括回归模型(例如,用于估计变量之间的关系的一组统计过程)、分类模型和/或现象模型中的一或多个;另外,机器学习技术可包含二次回归分析、逻辑回归分析、支持向量机、高斯过程回归、集合模型或任何其它回归分析;此外,在另外其它实施例中,机器学习技术可包含决策树学习、回归树、增强树、梯度增强树、多层感知器、一对一、朴素贝叶斯、K最邻近、关联规则学习、神经网络、深度学习、图案辨识或任何其它类型的机器学习;在另外其它例子中,机器学习技术可包含多元插值分析。In some embodiments, the machine learning technology used by the machine learning model may include one or more of a regression model (e.g., a set of statistical processes for estimating the relationship between variables), a classification model and/or a phenomenon model; in addition, the machine learning technology may include quadratic regression analysis, logistic regression analysis, support vector machine, Gaussian process regression, ensemble model or any other regression analysis; furthermore, in other embodiments, the machine learning technology may include decision tree learning, regression tree, boosted tree, gradient boosted tree, multilayer perceptron, one-to-one, naive Bayes, K nearest neighbor, association rule learning, neural network, deep learning, pattern recognition or any other type of machine learning; in other examples, the machine learning technology may include multivariate interpolation analysis.
在本发明实施例中,本发明实施例还提供了一种晶圆表面缺陷检测装置,所述装置包括:In an embodiment of the present invention, the embodiment of the present invention further provides a wafer surface defect detection device, the device comprising:
获取模块,获取目标图像和参考图像;所述参考图像为无缺陷的晶圆表面图像,所述目标图像为待检测缺陷的晶圆表面图像;An acquisition module acquires a target image and a reference image; the reference image is a defect-free wafer surface image, and the target image is a wafer surface image with defects to be detected;
提取模块,提取所述目标图像的图像特征;所述图像特征包括灰度共生矩阵特征、直方图统计特征、图像互相关特征、傅里叶谱互相关特征、Hu不变矩特征以及低频集中特征;所述图像互相关特征和所述傅里叶谱互相关特征基于所述参考图像确定;An extraction module, extracting image features of the target image; the image features include gray level co-occurrence matrix features, histogram statistical features, image cross-correlation features, Fourier spectrum cross-correlation features, Hu invariant moment features and low frequency concentration features; the image cross-correlation features and the Fourier spectrum cross-correlation features are determined based on the reference image;
预测模块,将所述目标图像的图像特征输入到预先训练好的机器学习模型中,对所述图像特征进行缺陷检测处理,输出所述目标图像的缺陷检测结果。The prediction module inputs the image features of the target image into a pre-trained machine learning model, performs defect detection processing on the image features, and outputs the defect detection results of the target image.
在本发明实施例中,本发明还提供了一种计算机设备,所述装置包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器与所述存储器之间通过所述总线进行通信,所述机器可读指令被所述处理器运行时执行所述的晶圆表面缺陷检测方法的步骤。In an embodiment of the present invention, the present invention also provides a computer device, which includes: a processor, a memory and a bus, the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the wafer surface defect detection method.
在一些实施例中,在对所选出的5000个样本都进行特征点计算之后,每幅表面晶圆的图像将化简为一个由8个特征点组成的特征序列。将5000个特征序列分为两个部分,80%的数据用于训练机器学习的模型,20%的数据用于模型训练完成后的测试。本实例选取7种机器学习模型(K最邻近、支持向量机、随机森林、逻辑回归、神经网络、决策树、朴素贝叶斯)对4000条序列数据进行学习和训练,而后使用1000条预留测试数据进行测试,测试结果如表1所示。In some embodiments, after the feature points of the selected 5000 samples are calculated, each image of the surface wafer will be simplified into a feature sequence consisting of 8 feature points. The 5000 feature sequences are divided into two parts, 80% of the data is used to train the machine learning model, and 20% of the data is used for testing after the model training is completed. This example selects 7 machine learning models (K nearest neighbor, support vector machine, random forest, logistic regression, neural network, decision tree, naive Bayes) to learn and train 4000 sequence data, and then uses 1000 reserved test data for testing. The test results are shown in Table 1.
表1机器学习模型测试结果Table 1. Machine learning model test results
由表可知,所有被使用的机器学习最终的测试准确率都超过了99%,这说明了本发明中提出的特征提取和缺陷检测方法具备良好的性能和很强的泛化能力。其中,神经网络的模型表现出了最好的检测性能结果,在测试数据中取得了99.9%的检测准确率,具备优异的性能。如图4所示,是神经网络模型下检测结果的混淆矩阵。As can be seen from the table, the final test accuracy of all machine learning used exceeds 99%, which shows that the feature extraction and defect detection method proposed in the present invention has good performance and strong generalization ability. Among them, the neural network model showed the best detection performance results, achieving a detection accuracy of 99.9% in the test data, with excellent performance. As shown in Figure 4, it is the confusion matrix of the detection results under the neural network model.
尽管已经示出和描述了本发明的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本发明的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由所附权利要求及其等同物限定。Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410805054.9A CN118822960A (en) | 2024-06-21 | 2024-06-21 | A wafer surface defect detection method, device and computer equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410805054.9A CN118822960A (en) | 2024-06-21 | 2024-06-21 | A wafer surface defect detection method, device and computer equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN118822960A true CN118822960A (en) | 2024-10-22 |
Family
ID=93071705
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202410805054.9A Pending CN118822960A (en) | 2024-06-21 | 2024-06-21 | A wafer surface defect detection method, device and computer equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN118822960A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119827520A (en) * | 2024-12-27 | 2025-04-15 | 视拓(苏州)工业自动化有限公司 | Method and system for improving defect detection sensitivity of semiconductor wafer |
-
2024
- 2024-06-21 CN CN202410805054.9A patent/CN118822960A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119827520A (en) * | 2024-12-27 | 2025-04-15 | 视拓(苏州)工业自动化有限公司 | Method and system for improving defect detection sensitivity of semiconductor wafer |
| CN119827520B (en) * | 2024-12-27 | 2025-08-05 | 视拓(苏州)工业自动化有限公司 | Method and system for improving semiconductor wafer defect detection sensitivity |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109977808B (en) | Wafer surface defect mode detection and analysis method | |
| Yuan-Fu | A deep learning model for identification of defect patterns in semiconductor wafer map | |
| TWI750553B (en) | Method of defect detection on a specimen and system thereof | |
| CN118196555B (en) | Generating training data usable for inspection of semiconductor samples | |
| JP2021174980A (en) | Methods and systems for classifying wafer defects using wafer defect images based on deep learning | |
| US9170211B2 (en) | Design-based inspection using repeating structures | |
| KR20150140349A (en) | Adaptive sampling for semiconductor inspection recipe creation, defect review, and metrology | |
| CN112805719B (en) | Classifying defects in semiconductor samples | |
| US12223641B2 (en) | Defect detection of a semiconductor specimen | |
| CN117522871B (en) | Semiconductor wafer detection method and system based on visual image interaction | |
| CN116485779B (en) | Adaptive wafer defect detection method, device, electronic equipment and storage medium | |
| CN118822960A (en) | A wafer surface defect detection method, device and computer equipment | |
| CN118038454A (en) | Wafer defect root cause analysis method and device based on proprietary large model | |
| US12423800B2 (en) | Machine learning based defect examination for semiconductor specimens | |
| CN119381280B (en) | Silicon wafer quality assessment method based on image features | |
| Kögel et al. | Machine learning assisted signal analysis in Acoustic Microscopy for non-destructive defect identification | |
| CN115063385A (en) | A Machine Vision Method for Wafer Inspection | |
| CN113947561A (en) | Image segmentation of semiconductor samples | |
| CN118794948A (en) | A polyurethane waterproof coating construction quality detection method, medium and system | |
| CN114529515B (en) | A method for automatically identifying internal defects of solar cells | |
| CN115690026A (en) | Two-stage defect detection method based on generation of countermeasure network | |
| Chen et al. | An auto-adjusting weight model for imbalanced wafer defects recognition | |
| CN120318227B (en) | A wafer surface smoothness detection method and system for visual inspection machine | |
| CN119226667B (en) | Measurement method of ship waterline based on dynamic segmentation of point cloud freeboard of laser radar | |
| Askar et al. | A New Hybrid Model for Artificial Intelligence Assisted Tire Defect Detection: CTLDF+ EnC |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |