[go: up one dir, main page]

CN113538392B - Wafer detection method, equipment and storage medium - Google Patents

Wafer detection method, equipment and storage medium Download PDF

Info

Publication number
CN113538392B
CN113538392B CN202110842583.2A CN202110842583A CN113538392B CN 113538392 B CN113538392 B CN 113538392B CN 202110842583 A CN202110842583 A CN 202110842583A CN 113538392 B CN113538392 B CN 113538392B
Authority
CN
China
Prior art keywords
wafer
image
classification model
defect
features
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.)
Active
Application number
CN202110842583.2A
Other languages
Chinese (zh)
Other versions
CN113538392A (en
Inventor
石强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yangtze Memory Technologies Co Ltd
Original Assignee
Yangtze Memory Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Yangtze Memory Technologies Co Ltd filed Critical Yangtze Memory Technologies Co Ltd
Priority to CN202110842583.2A priority Critical patent/CN113538392B/en
Publication of CN113538392A publication Critical patent/CN113538392A/en
Application granted granted Critical
Publication of CN113538392B publication Critical patent/CN113538392B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Computing Systems (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Biophysics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Molecular Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Health & Medical Sciences (AREA)
  • Evolutionary Biology (AREA)
  • Quality & Reliability (AREA)
  • Testing Or Measuring Of Semiconductors Or The Like (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

The application provides a wafer detection method, which comprises the following steps: acquiring a first image of the wafer, wherein the first image comprises an overall characteristic representing defect information of the wafer; determining a second image of the wafer based on the first image, the second image including detail features representing defect information of the wafer; fusing the overall features and the detail features to generate fused features; and detecting the fused features through the wafer defect classification model. By the method, the accuracy of wafer defect detection can be improved to a certain extent, and the labor cost is reduced.

Description

晶圆的检测方法、设备及存储介质Wafer detection method, equipment and storage medium

技术领域technical field

本申请涉及半导体领域,更具体地,涉及一种晶圆的缺陷检测方法、设备及存储介质。The present application relates to the field of semiconductors, and more specifically, to a wafer defect detection method, device and storage medium.

背景技术Background technique

随着存储器的发展,对存储器的集成程度的要求越来越高,因此晶圆的特征尺寸不断减小,对晶圆的缺陷检测成为提高晶圆良率的重要方法。存储器的生产工艺繁多且复杂,在每一个工艺之后,尤其是刻蚀工艺和沉积工艺之后,都需要对晶圆表面的缺陷进行检测,避免有缺陷的晶圆流向后续制程,影响晶圆的电学性能。With the development of memory, the requirements for the degree of integration of the memory are getting higher and higher, so the feature size of the wafer is continuously reduced, and the defect detection of the wafer has become an important method to improve the yield of the wafer. The production process of memory is various and complicated. After each process, especially after the etching process and deposition process, it is necessary to detect the defects on the surface of the wafer to prevent the defective wafer from flowing to the subsequent process and affecting the electrical properties of the wafer. performance.

目前主要是利用自动缺陷分类(Auto Defect Classification,简称ADC)系统结合机器学习的方法进行晶圆的缺陷检测。ADC系统主要有两个模块:检测模块和分类模块。检测模块通过扫描晶圆表面,确认可能存在缺陷的区域坐标,然后对缺陷区域利用电子扫描显微镜(scanning electron microscope,简称SEM)得到缺陷区域的图像;分类模块利用机器学习方法,构建分类模型,实现缺陷的分类。然而当前的ADC系统缺陷检测的性能很高,而缺陷分类的准确性很差。因此需要通过人工检查对缺陷分类结果进行确认,需要专业人员对缺陷样本进行大量的标记,因此晶圆检测的正确率与节约人力投入是需要快速解决的问题。At present, the defect detection of wafers is mainly performed by using an Auto Defect Classification (ADC for short) system combined with a machine learning method. The ADC system mainly has two modules: a detection module and a classification module. The detection module scans the surface of the wafer to confirm the coordinates of the area where defects may exist, and then uses a scanning electron microscope (SEM) to obtain the image of the defect area; the classification module uses machine learning methods to build a classification model to achieve Classification of defects. However, the defect detection performance of current ADC systems is high, while the accuracy of defect classification is poor. Therefore, it is necessary to confirm the defect classification results through manual inspection, and professionals need to mark a large number of defect samples. Therefore, the correct rate of wafer inspection and the saving of manpower input are problems that need to be solved quickly.

发明内容Contents of the invention

本申请实施例提供了一种可至少部分解决现有技术中存在的上述问题的晶圆的检测方法及系统。Embodiments of the present application provide a wafer detection method and system that can at least partially solve the above-mentioned problems in the prior art.

根据本申请实施例的一个方面,提供一种晶圆的检测的方法,所述方法可包括:获取晶圆的第一图像,所述第一图像包含表示所述晶圆的缺陷信息的整体特征;基于所述第一图像确定所述晶圆的第二图像,所述第二图像包含表示所述晶圆的缺陷信息的细节特征;将所述整体特征与所述细节特征进行融合,以生成融合后的特征;以及通过晶圆缺陷分类模型对所述融合后的特征进行检测。According to an aspect of an embodiment of the present application, a method for inspecting a wafer is provided, the method may include: acquiring a first image of the wafer, the first image including overall features representing defect information of the wafer ; determining a second image of the wafer based on the first image, the second image including detailed features representing defect information of the wafer; fusing the overall features with the detailed features to generate the fused features; and detecting the fused features through a wafer defect classification model.

在本申请一个实施方式中,基于所述第一图像确定所述晶圆的第二图像的步骤可包括:对所述第一图像中的缺陷特征区域进行定位;以及对所定位出的缺陷特征的区域进行截取,以获得目标图像作为所述第二图像。In one embodiment of the present application, the step of determining the second image of the wafer based on the first image may include: locating defect feature regions in the first image; The region is intercepted to obtain the target image as the second image.

在本申请一个实施方式中,基于所述第一图像确定所述晶圆的第二图像的步骤,可包括:对所述目标图像中的缺陷特征的细节区域进行定位;以及对所定位出的细节区域进行截取,以获得细节图像作为所述第二图像。In one embodiment of the present application, the step of determining the second image of the wafer based on the first image may include: locating the detailed region of the defect feature in the target image; and locating the located The detail area is intercepted to obtain a detail image as the second image.

在本申请一个实施方式中,对所定位出的缺陷特征的区域进行截取,以获得目标图像作为所述第二图像的步骤,可包括:基于深度卷积神经网络提取所述晶圆的第一图像的深度特征图谱;确定所述深度特征图谱上每个位置通道中的特征的平均值和所述深度特征图谱的整体通道中的特征的平均值;确认所述深度特征图谱中位置通道中的特征的平均值大于整体通道中的特征的平均值的区域作为目标缺陷区域;截取所述目标缺陷区域的图像作为所述目标图像。In one embodiment of the present application, the step of intercepting the region of the located defect feature to obtain the target image as the second image may include: extracting the first image of the wafer based on a deep convolutional neural network. The depth feature map of the image; determine the average value of the features in each position channel on the depth feature map and the average value of the features in the overall channel of the depth feature map; confirm the position channel in the depth feature map The region whose average value of the feature is greater than the average value of the feature in the whole channel is used as the target defect area; an image of the target defect area is intercepted as the target image.

在本申请一个实施方式中,在确认所述深度特征图谱中位置通道中的特征的平均值大于整体通道中的特征的平均值的区域作为目标缺陷区域之后,可包括:确定所述目标缺陷区域的最小外包矩形并确认其坐标;通过反卷积确定所述目标缺陷区域在所述晶圆的第一图像中的位置坐标;以及根据所述位置坐标截取所述晶圆的第一图像,以作为所述目标图像。In one embodiment of the present application, after confirming that the average value of the features in the position channel in the depth feature map is greater than the average value of the features in the overall channel as the target defect area, it may include: determining the target defect area The minimum enclosing rectangle and confirm its coordinates; determine the position coordinates of the target defect area in the first image of the wafer by deconvolution; and intercept the first image of the wafer according to the position coordinates, to as the target image.

在本申请一个实施方式中,对所定位出的细节区域进行截取以获得细节图像作为所述第二图像的步骤,可包括:基于深度卷积神经网络提取所述目标图像的深度特征图谱;确定所述目标图像的深度特征图谱上每个位置通道的特征的平均值;选取滑动窗口对所述目标图像进行卷积,并根据所述滑动窗口确认至少一个激活窗口,所述激活窗口的深度特征图谱通道的特征的平均值大于所述深度特征图谱上每个位置通道的特征的平均值;以及截取所述至少一个激活窗口对应的所述目标图像作为所述细节图像。In one embodiment of the present application, the step of intercepting the located detail region to obtain the detail image as the second image may include: extracting the depth feature map of the target image based on a deep convolutional neural network; determining The average value of the features of each position channel on the depth feature map of the target image; select a sliding window to convolve the target image, and confirm at least one activation window according to the sliding window, the depth feature of the activation window The average value of the features of the map channel is greater than the average value of the features of each position channel on the depth feature map; and intercepting the target image corresponding to the at least one activation window as the detail image.

在本申请一个实施方式中,选取滑动窗口对所述目标图像进行卷积,并根据所述滑动窗口确认激活窗口之后,对所定位出的细节区域进行截取以获得细节图像的步骤还可包括:采用非极大值抑制的方式选择所述至少一个激活窗口的区域作为晶圆缺陷图像的细节缺陷区域;通过反卷积确定所述细节缺陷区域在所述晶圆的目标图像中的位置坐标;以及截取所述细节缺陷区域的图像作为所述细节图像。In one embodiment of the present application, selecting a sliding window to convolve the target image, and after confirming the activation window according to the sliding window, the step of intercepting the located detail region to obtain the detail image may further include: Selecting the area of the at least one active window as the detailed defect area of the wafer defect image by non-maximum value suppression; determining the position coordinates of the detailed defect area in the target image of the wafer by deconvolution; and intercepting the image of the detail defect region as the detail image.

在本申请一个实施方式中,通过晶圆缺陷分类模型对所述融合后的所述特征进行检测,可包括:对所述晶圆的缺陷进行分类,以确定所述晶圆的缺陷类型。In one embodiment of the present application, detecting the fused features through a wafer defect classification model may include: classifying defects of the wafer to determine a defect type of the wafer.

在本申请一个实施方式中,通过晶圆缺陷分类模型对所述融合后的所述特征进行检测之后,可包括:输出检测结果,所述检测结果包括所述晶圆的缺陷类型,与所述晶圆的缺陷类型对应的置信度。In one embodiment of the present application, after detecting the fused features through the wafer defect classification model, it may include: outputting a detection result, the detection result including the defect type of the wafer, and the The confidence level corresponding to the defect type of the wafer.

在本申请一个实施方式中,晶圆缺陷分类模型可以通过训练得到。所述晶圆缺陷分类模型包括第一分类模型和第二分类模型,所述第一分类模型和所述第二分类模型进行训练的样本不同。In one embodiment of the present application, the wafer defect classification model can be obtained through training. The wafer defect classification model includes a first classification model and a second classification model, and the training samples for the first classification model and the second classification model are different.

在本申请一个实施方式中,所述方法还包括单独训练所述晶圆缺陷分类模型的步骤,可包括:将所述晶圆的粗粒度图像和细粒度图像区分为纯净样本和噪声样本;以及将所述纯净样本输入到所述第一分类模型,所述噪声样本输入到所述第二分类模型,分别对所述第一分类模型和所述第二分类模型进行训练。In one embodiment of the present application, the method further includes the step of separately training the wafer defect classification model, which may include: distinguishing the coarse-grained image and the fine-grained image of the wafer into pure samples and noise samples; and The pure samples are input to the first classification model, the noise samples are input to the second classification model, and the first classification model and the second classification model are trained respectively.

在本申请一个实施方式中,所述纯净样本可包括确认缺陷类型的所述粗粒度图像或所述细粒度图像,用于所述晶圆缺陷分类模型的测试和验证;所述噪声样本可包括待确认缺陷类型的所述粗粒度图像或所述细粒度图像,用于所述晶圆缺陷的分类模型的训练。In one embodiment of the present application, the clean samples may include the coarse-grained image or the fine-grained image for confirming the defect type, for testing and verification of the wafer defect classification model; the noise samples may include The coarse-grained image or the fine-grained image of the defect type to be confirmed is used for training the wafer defect classification model.

在本申请一个实施方式中,对所述第一分类模型和所述第二分类模型分别进行训练后还包括对所述第一分类模型和所述第二分类模型进行混合训练,可包括:将所述噪声样本划分为标记数据集和未标记数据集;利用所述第一分类模型和所述第二分类模型提取所述标记数据集和所述未标记数据集的深度特征图谱;将所述第一分类模型和所述第二分类模型提取的同一样本的深度特征图谱进行融合;将融合后的深度特征图谱输入到分类器,得到所述噪声样本的检测结果;以及根据所述噪声样本的检测结果确认所述晶圆缺陷分类模型的整体损失,完成所述晶圆缺陷的分类模型的训练。In one embodiment of the present application, after training the first classification model and the second classification model, it further includes performing mixed training on the first classification model and the second classification model, which may include: The noise sample is divided into a labeled data set and an unlabeled data set; using the first classification model and the second classification model to extract the depth feature maps of the labeled data set and the unlabeled data set; The first classification model and the depth feature map of the same sample extracted by the second classification model are fused; the fused depth feature map is input to the classifier to obtain the detection result of the noise sample; and according to the noise sample. The detection result confirms the overall loss of the wafer defect classification model, and completes the training of the wafer defect classification model.

在本申请一个实施方式中,将所述噪声样本划分为标记数据集和未标记数据集的步骤可包括:将所述噪声样本中的所述粗粒度图像或所述细粒度图像输入到所述第一分类模型和所述第二分类模型;以及根据所述第一分类模型和所述第二分类模型的预测缺陷类型及置信度将所述噪声样本划分为标记数据集和未标记数据集,其中所述标记数据集的置信度大于设定值,所述未标记数据集的置信度小于设定值。In one embodiment of the present application, the step of dividing the noise sample into a labeled data set and an unlabeled data set may include: inputting the coarse-grained image or the fine-grained image in the noise sample into the a first classification model and the second classification model; and dividing the noise samples into a labeled data set and an unlabeled data set according to the predicted defect types and confidence levels of the first classification model and the second classification model, Wherein the confidence degree of the marked data set is greater than a set value, and the confidence degree of the unmarked data set is less than a set value.

在本申请一个实施方式中,将同一样本的所述第一分类模型和所述第二分类模型提取的同一样本对应的深度特征图谱进行融合之前还可包括:将所述深度特征图谱输入全连接层以得到一维的深度特征图谱。In one embodiment of the present application, before fusing the depth feature maps corresponding to the same sample extracted by the first classification model and the second classification model of the same sample, it may further include: inputting the depth feature maps into the full connection layer to obtain a one-dimensional depth feature map.

在本申请一个实施方式中,根据所述图像的缺陷类型及概率确认所述晶圆缺陷分类模型的整体损失可包括:根据所述第一分类模型和所述第二分类模型得到的所述标记数据集的缺陷类型及概率进行线性组合,作为协同微调损失;根据所述第一分类模型和所述第二分类模型预估的所述未标记数据集的缺陷类型及概率进行合并,作为协同估计损失;对所述第一分类模型和所述第二分类模型进行正则化处理,得到所述第一分类模型和所述第二分类模型的正则化损失;以及将所述协同微调损失、所述协同估计损失和所述正则化损失融合作为所述晶圆缺陷的细粒度分类模型的所述整体损失。In one embodiment of the present application, confirming the overall loss of the wafer defect classification model according to the defect type and probability of the image may include: the marks obtained according to the first classification model and the second classification model The defect types and probabilities of the data sets are linearly combined as a collaborative fine-tuning loss; the defect types and probabilities of the unlabeled data sets estimated according to the first classification model and the second classification model are combined as a collaborative estimation Loss; regularization processing is performed on the first classification model and the second classification model to obtain the regularization loss of the first classification model and the second classification model; and the collaborative fine-tuning loss, the A co-estimation loss and the regularization loss are fused as the ensemble loss for a fine-grained classification model of the wafer defects.

在本申请一个实施方式中,所述第一分类模型和所述第二分类模型根据所述深度特征图谱对所述图像的缺陷模型进行分类,并将分类结果进行融合以得到所述噪声样本的检测结果可包括:利用全连接层对所述标记数据集和所述未标记数据集的深度特征图谱进行处理,得到一维深度特征图谱;以及将所述一维深度特征图谱的特征进行融合后输入到分类器,得到所述晶圆的检测结果。In one embodiment of the present application, the first classification model and the second classification model classify the defect model of the image according to the depth feature map, and fuse the classification results to obtain the noise sample The detection result may include: using a fully connected layer to process the depth feature maps of the marked data set and the unlabeled data set to obtain a one-dimensional depth feature map; and after fusing the features of the one-dimensional depth feature map input to the classifier to obtain the detection result of the wafer.

在本申请一个实施方式中,所述检测结果可包括所述晶圆的缺陷类型与其对应的置信度。In one embodiment of the present application, the detection result may include a confidence level corresponding to a defect type of the wafer.

本申请另一方面提供了一种晶圆的检测系统,所述系统可包括:存储器,用于存储程序指令;以及处理器,用于与所述存储器通信以执行所述程序指令,从而实现上述任一项所述的方法。Another aspect of the present application provides a wafer inspection system, the system may include: a memory, used to store program instructions; and a processor, used to communicate with the memory to execute the program instructions, so as to achieve the above any one of the methods described.

本申请再一方面提供了一种晶圆的检测设备,所述设备可包括上述晶圆的检测系统。Another aspect of the present application provides a wafer inspection device, which may include the above-mentioned wafer inspection system.

在本申请一个实施方式中,所述检测设备还可包括:探测装置,所述探测装置用于采集所述晶圆的图像。In an embodiment of the present application, the detection device may further include: a detection device, the detection device is used to collect an image of the wafer.

在本申请一个实施方式中,所述探测装置可用于采集所述晶圆的第一图像和/或所述晶圆的第二图像。In one embodiment of the present application, the detecting device may be used to collect a first image of the wafer and/or a second image of the wafer.

在本申请一个实施方式中,所述检测设备可包括如下至少一种:计算机、服务器、蜂窝电话、智能电话、可穿戴设备、晶圆加工设备。In one embodiment of the present application, the detection equipment may include at least one of the following: a computer, a server, a cellular phone, a smart phone, a wearable device, and a wafer processing equipment.

本申请又一方面提供了一种存储有计算机指令的非瞬时计算机可读存储介质,所述计算机指令用于使所述计算机执行上述任一项所述的方法。Another aspect of the present application provides a non-transitory computer-readable storage medium storing computer instructions, the computer instructions are used to cause the computer to execute any one of the methods described above.

根据本申请一实施方式的晶圆的检测方法及设备,可对晶圆的表面缺陷进行检测,在关注晶圆表面的整体缺陷特征的同时,也能够关注到晶圆表面的细节缺陷特征,在晶圆检测的过程中,通过将晶圆的整体缺陷特征和细节缺陷特征结合分析,能够在一定程度上提高晶圆缺陷类型分类的准确性。并且通过标记数据集和未标记数据集对模型进行训练,可以使用较少的标记样本完成晶圆缺陷分类模型的训练,在一定程度上节约了人力投入,提高了晶圆的检测效率。According to the wafer detection method and equipment according to an embodiment of the present application, the surface defects of the wafer can be detected, and while paying attention to the overall defect characteristics of the wafer surface, attention can also be paid to the detailed defect characteristics of the wafer surface. In the process of wafer inspection, the accuracy of wafer defect type classification can be improved to a certain extent by combining and analyzing the overall defect characteristics and detailed defect characteristics of the wafer. And by training the model through the labeled data set and the unlabeled data set, the training of the wafer defect classification model can be completed with fewer labeled samples, which saves manpower investment to a certain extent and improves the detection efficiency of the wafer.

附图说明Description of drawings

通过阅读参照以下附图所作的对非限制性实施例的详细描述,本申请的其它特征、目的和优点将会变得更明显。其中:Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings. in:

图1为根据本申请一实施方式的晶圆检测方法的流程示意图;1 is a schematic flow diagram of a wafer detection method according to an embodiment of the present application;

图2为根据本申请一实施方式的获取目标图像的流程示意图;FIG. 2 is a schematic flow diagram of acquiring a target image according to an embodiment of the present application;

图3为根据本申请一实施方式的获取细节图像的流程示意图;FIG. 3 is a schematic flow diagram of acquiring a detailed image according to an embodiment of the present application;

图4A为根据本申请一实施方式的晶圆的粗粒度图像的示意图;4A is a schematic diagram of a coarse-grained image of a wafer according to an embodiment of the present application;

图4B为根据本申请一实施方式的晶圆的目标图像的示意图;4B is a schematic diagram of a target image of a wafer according to an embodiment of the present application;

图4C为根据本申请一实施方式的晶圆的细节图像的示意图;4C is a schematic diagram of a detailed image of a wafer according to an embodiment of the present application;

图5A为根据本申请一实施方式的单独训练第一分类模型和第二分类模型的流程示意图;FIG. 5A is a schematic flow diagram of separately training a first classification model and a second classification model according to an embodiment of the present application;

图5B为根据本申请一实施方式的混合训练第一分类模型和第二分类模型的流程示意图;FIG. 5B is a schematic flowchart of mixed training of the first classification model and the second classification model according to an embodiment of the present application;

图6为本申请一实施方式的用于晶圆的检测系统的示意图;以及6 is a schematic diagram of a detection system for a wafer according to an embodiment of the present application; and

图7为本申请一实施方式的用于晶圆的检测设备的示意图。FIG. 7 is a schematic diagram of a testing device for a wafer according to an embodiment of the present application.

具体实施方式Detailed ways

晶圆表面的缺陷检测工艺,是存储器生产工艺中重要的环节,存储器的生产工艺繁多且复杂,在每一个工艺之后,尤其是刻蚀工艺和沉积工艺之后,都需要对晶圆表面的缺陷进行检测,避免有缺陷的晶圆流向后续制程,影响晶圆的电学性能。发明人发现,传统技术中主要是利用自动缺陷分类(Auto Defect Classification,简称ADC)系统结合机器学习的方法进行晶圆的缺陷检测,缺陷分类的准确性很差。发明人经过创造性劳动发现,传统技术中,主要使用机器学习方法提取缺陷的图像特征,然后再将这些特征组合,输入到分类器中,得到分类结果,这种方式主要是基于图像的浅层特征,例如图像缺陷区域的大小、形状、位置、颜色、平滑度、纹理复杂度、轮廓等,如果图像背景较为复杂,那么小面积的缺陷很容易被忽略或者分类错误。常用的分类器包括支持向量机(SVM)、神经网络、决策树等,常常需要人工对分类结果进行进一步确认。常用的机器学习的方法是基于卷积神经网络的深度学习,由于晶圆表面缺陷情况和芯片的制作过程复杂,缺陷的检测是分层进行,缺陷种类多,电子扫描图像对缺陷的扫描大小不一,并且需要专业人员对缺陷样本进行大量的标记,因此晶圆检测的正确率与节约人力投入是需要快速解决的问题。The defect detection process on the wafer surface is an important link in the memory production process. The memory production process is various and complicated. After each process, especially after the etching process and deposition process, it is necessary to detect the defects on the wafer surface. Detection to prevent defective wafers from flowing to subsequent processes and affecting the electrical properties of the wafers. The inventors found that in the traditional technology, the defect detection of wafers is mainly performed by using an Auto Defect Classification (ADC for short) system combined with a machine learning method, and the accuracy of defect classification is very poor. The inventor found through creative labor that in traditional technologies, machine learning methods are mainly used to extract image features of defects, and then these features are combined and input into a classifier to obtain classification results. This method is mainly based on shallow features of images , such as the size, shape, position, color, smoothness, texture complexity, contour, etc. of the image defect area. If the image background is complex, small area defects are easily overlooked or misclassified. Commonly used classifiers include support vector machines (SVM), neural networks, decision trees, etc., often requiring manual further confirmation of the classification results. The commonly used machine learning method is deep learning based on convolutional neural network. Due to the complexity of wafer surface defects and chip manufacturing process, defect detection is carried out in layers. There are many types of defects, and the scanning size of defects in electronic scanning images is different. One, and requires professionals to mark a large number of defect samples, so the correct rate of wafer inspection and saving manpower input are problems that need to be solved quickly.

基于此,本申请实施例提出一种晶圆的检测方法、系统、设备以及存储有计算机指令的非瞬时计算机可读存储介质。可以对晶圆的缺陷,例如晶圆表面的缺陷进行检测。本申请实施例在关注晶圆的整体缺陷特征的同时,也能够关注到晶圆的细节缺陷特征,在晶圆检测的过程中,通过将晶圆的整体缺陷特征和细节缺陷特征结合分析,能够在一定程度上提高晶圆缺陷类型分类的准确性。并且通过标记数据集和未标记数据集对模型进行训练,可以使用较少的标记样本完成晶圆缺陷分类模型的训练,在一定程度上节约了人力投入,提高了晶圆的检测效率。Based on this, the embodiments of the present application propose a wafer inspection method, system, device, and non-transitory computer-readable storage medium storing computer instructions. Wafer defects, such as defects on the wafer surface, can be detected. In the embodiment of the present application, while paying attention to the overall defect characteristics of the wafer, it is also possible to pay attention to the detailed defect characteristics of the wafer. To a certain extent, the accuracy of wafer defect type classification is improved. And by training the model through the labeled data set and the unlabeled data set, the training of the wafer defect classification model can be completed with fewer labeled samples, which saves manpower investment to a certain extent and improves the detection efficiency of the wafer.

为了更好地理解本申请,将参考附图对本申请的各个方面做出更详细的说明。应理解,这些详细说明只是对本申请的示例性实施方式的描述,而非以任何方式限制本申请的范围。在说明书全文中,相同的附图标号指代相同的元件。表述“和/或”包括相关联的所列项目中的一个或多个的任何和全部组合。For a better understanding of the application, various aspects of the application will be described in more detail with reference to the accompanying drawings. It should be understood that these detailed descriptions are descriptions of exemplary embodiments of the application only, and are not intended to limit the scope of the application in any way. Throughout the specification, the same reference numerals refer to the same elements. The expression "and/or" includes any and all combinations of one or more of the associated listed items.

在附图中,为了便于说明,已稍微调整了元素的大小、尺寸和形状。附图仅为示例而并非严格按比例绘制。如在本文中使用的,用语“大致”、“大约”以及类似的用语用作表近似的用语,而不用作表程度的用语,并且旨在说明将由本领域普通技术人员认识到的、测量值或计算值中的固有偏差。另外,在本申请中,各步骤处理描述的先后顺序并不必然表示这些处理在实际操作中出现的顺序,除非有明确其它限定或者能够从上下文推导出的除外。In the drawings, the size, dimensions, and shapes of elements have been slightly adjusted for illustrative purposes. The drawings are examples only and are not strictly drawn to scale. As used herein, the words "approximately," "approximately," and similar words are used as words of approximation, not of degree, and are intended to describe measurements that would be recognized by those of ordinary skill in the art. Or inherent bias in calculated values. In addition, in the present application, the order of description of the processing of each step does not necessarily indicate the order in which these processes appear in actual operation, unless there is a clear other limitation or can be deduced from the context.

还应理解的是,诸如“包括”、“包括有”、“具有”、“包含”和/或“包含有”等表述在本说明书中是开放性而非封闭性的表述,其表示存在所陈述的特征、元件和/或部件,但不排除一个或多个其它特征、元件、部件和/或它们的组合的存在。此外,当诸如“...中的至少一个”的表述出现在所列特征的列表之后时,其修饰整列特征,而非仅仅修饰列表中的单独元件。此外,当描述本申请的实施方式时,使用“可”表示“本申请的一个或多个实施方式”。并且,用语“示例性的”旨在指代示例或举例说明。It should also be understood that expressions such as "comprises", "comprises", "has", "comprises" and/or "comprising" in this specification are open rather than closed expressions, which mean that there are all The stated features, elements and/or components do not exclude the presence of one or more other features, elements, components and/or combinations thereof. Furthermore, expressions such as "at least one of," when preceding a list of listed features, modify the entire list of features and do not modify just the individual elements of the list. In addition, when describing the embodiments of the present application, the use of "may" means "one or more embodiments of the present application". Also, the word "exemplary" is intended to mean an example or illustration.

除非另外限定,否则本文中使用的所有措辞(包括工程术语和科技术语)均具有与本申请所属领域普通技术人员的通常理解相同的含义。还应理解的是,除非本申请中有明确的说明,否则在常用词典中定义的词语应被解释为具有与它们在相关技术的上下文中的含义一致的含义,而不应以理想化或过于形式化的意义解释。Unless otherwise defined, all terms (including engineering terms and scientific and technical terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. It should also be understood that unless there is an explicit statement in this application, words defined in commonly used dictionaries should be interpreted as having meanings consistent with their meanings in the context of related technologies, and should not be idealized or overly Formal meaning interpretation.

需要说明的是,在不冲突的情况下,本申请中的实施方式及实施方式中的特征可以相互组合。下面将参考附图并结合实施方式来详细说明本申请。It should be noted that, in the case of no conflict, the implementations in the present application and the features in the implementations can be combined with each other. Hereinafter, the present application will be described in detail with reference to the accompanying drawings and in combination with embodiments.

图1为根据本申请一实施方式的晶圆检测方法的流程示意图。如图1所示,本申请提供一种晶圆检测方法1000,包括:FIG. 1 is a schematic flowchart of a wafer inspection method according to an embodiment of the present application. As shown in FIG. 1 , the present application provides a wafer inspection method 1000, including:

步骤S110:获取晶圆的第一图像,第一图像包含表示晶圆的缺陷信息的整体特征;Step S110: Acquiring a first image of the wafer, the first image includes an overall feature representing defect information of the wafer;

步骤S120:基于晶圆的第一图像确定晶圆的第二图像,第二图像中包含表示晶圆的缺陷信息的细节特征;Step S120: determining a second image of the wafer based on the first image of the wafer, the second image including detailed features representing defect information of the wafer;

步骤S130:将整体特征与细节特征进行融合,以生成融合后的特征;Step S130: Fusing the overall feature and the detail feature to generate a fused feature;

步骤S140:通过晶圆缺陷分类模型对融合后的特征进行检测。Step S140: Detect the fused features through the wafer defect classification model.

下面将结合图2至图5详细说明上述制备方法1000的各个步骤的具体工艺。The specific process of each step of the above-mentioned manufacturing method 1000 will be described in detail below with reference to FIG. 2 to FIG. 5 .

步骤S110:获取晶圆的第一图像,第一图像包含表示晶圆的缺陷信息的整体特征;Step S110: Acquiring a first image of the wafer, the first image includes an overall feature representing defect information of the wafer;

首先可以通过对晶圆进行扫描的方式,获取晶圆的第一图像,第一图像包含表示所述晶圆的缺陷信息的整体特征。例如,可以通过扫描电子显微镜(Scanning ElectronMicroscope,简称为SEM)对晶圆进行扫描,以获取晶圆的第一图像。第一图像可包括晶圆的粗粒度图像,在本实施方式中,以第一图像为晶圆的粗粒度图像为例进行说明。晶圆的粗粒度图像可包含晶圆的整体特征,晶圆的整体特征可包括例如缺陷区域的位置、形状、颜色等特征信息。晶圆的缺陷可以包括颗粒(液体、固体颗粒等)、表面划痕等缺陷、不规则连接等。晶圆可以为经过任意工艺步骤后的晶圆,通过图像采集装置获得晶圆的图像,其中图像采集装置可为摄像机、晶圆检测系统(wafer inspect system,简称WIS)自带拍摄设备等,本申请对此不做限制,晶圆的粗粒度图像可如图4A所示。Firstly, a first image of the wafer may be obtained by scanning the wafer, and the first image includes overall features representing defect information of the wafer. For example, the wafer may be scanned by a scanning electron microscope (Scanning Electron Microscope, referred to as SEM) to obtain a first image of the wafer. The first image may include a coarse-grained image of the wafer. In this embodiment, the first image is a coarse-grained image of the wafer as an example for description. The coarse-grained image of the wafer may include the overall features of the wafer, and the overall features of the wafer may include feature information such as position, shape, color, etc. of defect regions. Wafer defects may include particles (liquid, solid particles, etc.), defects such as surface scratches, irregular connections, and the like. The wafer can be a wafer after any process steps, and the image of the wafer can be obtained through an image acquisition device, wherein the image acquisition device can be a camera, a wafer inspection system (wafer inspection system, referred to as WIS) with its own shooting equipment, etc., this paper The application is not limited to this, and the coarse-grained image of the wafer can be as shown in FIG. 4A .

步骤S120:基于晶圆的第一图像确定晶圆的第二图像,第二图像中包含表示晶圆Step S120: Determine a second image of the wafer based on the first image of the wafer, the second image contains 的缺陷信息的细节特征;The detailed characteristics of the defect information;

由于晶圆的扫描图像中缺陷区域的大小不同,因此为了使晶圆的缺陷类型判定更准确,需要获取晶圆的第二图像,第二图像可包含表示晶圆的细节特征。第二图像可包括晶圆的细粒度图像。在本实施方式中,以第二图像为晶圆的细粒度图像为例进行说明。晶圆的细粒度图像中包含用于表示晶圆的缺陷信息的细节特征。细粒度图像分类又可以被称作子类别图像分类,其目的可以是对粗粒度图像的大类别进行更加细致的子类划分。首先对晶圆的粗粒度图像中的缺陷特征区域进行定位,根据定位出的缺陷特征的区域进行截取以获得目标图像作为细粒度图像。基于注意力机制在晶圆的粗粒度图像上获取晶圆的细粒度图像,晶圆的细粒度图像可包括目标图像,目标图像可包含用于表示晶圆的缺陷信息的特征。以图4A为例的粗粒度图像截取的晶圆的目标图像,可如图4B所示。图2为根据本申请一实施方式的获取目标图像的流程示意图,如图2所示,获得目标图像的具体步骤如下:Since the size of the defect area in the scanned image of the wafer is different, in order to determine the defect type of the wafer more accurately, it is necessary to obtain a second image of the wafer, and the second image may include detailed features representing the wafer. The second image may include a fine-grained image of the wafer. In this embodiment, description is made by taking the second image as an example of a fine-grained image of a wafer. The fine-grained image of the wafer contains detailed features used to represent the defect information of the wafer. Fine-grained image classification can also be called subcategory image classification, and its purpose can be to divide the large categories of coarse-grained images into more detailed subcategories. Firstly, the defect feature area in the coarse-grained image of the wafer is located, and the target image is obtained as a fine-grained image by intercepting according to the located defect feature area. The fine-grained image of the wafer is acquired on the coarse-grained image of the wafer based on an attention mechanism. The fine-grained image of the wafer may include a target image, and the target image may contain features for representing defect information of the wafer. Taking FIG. 4A as an example, the target image of the wafer captured by the coarse-grained image may be as shown in FIG. 4B . Fig. 2 is a schematic flow chart of obtaining a target image according to an embodiment of the present application. As shown in Fig. 2, the specific steps for obtaining a target image are as follows:

首先,在步骤S1211中,可基于深度卷积神经网络提取晶圆的粗粒度图像的深度特征图谱。晶圆的粗粒度图像经过卷积核卷积之后可得到多个深度特征图谱,每一个卷积核都可提取特定的特征,不同的卷积核可提取不同的特征。例如使用一个卷积核提取粗粒度图像中缺陷区域的轮廓特征,使用另一个卷积核提取粗粒度图像中缺陷区域的灰度特征,使用又一个卷积核提取粗粒度图像中缺陷区域的位置特征等。本领域的相关人员可知,上述提取的特征为示例性说明,本申请对提取的深度特征图谱不限于此。First, in step S1211, the depth feature map of the coarse-grained image of the wafer may be extracted based on a deep convolutional neural network. After the coarse-grained image of the wafer is convolved by a convolution kernel, multiple depth feature maps can be obtained. Each convolution kernel can extract specific features, and different convolution kernels can extract different features. For example, use one convolution kernel to extract the contour features of the defect area in the coarse-grained image, use another convolution kernel to extract the grayscale features of the defect area in the coarse-grained image, and use another convolution kernel to extract the position of the defect area in the coarse-grained image features etc. Those skilled in the art know that the above extracted features are illustrative, and the depth feature maps extracted in the present application are not limited thereto.

接着在步骤S1212中,计算深度特征图谱上每个位置通道中的特征的平均值和深度特征图谱的整体通道中的特征的平均值。晶圆的粗粒度图像经过深度卷积神经网络特征提取后,对晶圆的深度特征图谱中的每个位置通道的平均值和深度特征图谱的整体通道的平均值进行计算。例如晶圆的深度特征图谱为x*y的特征图谱,则晶圆的每个深度特征图谱包含x*y个位置,其中每个深度特征图谱对应一个通道,将不同的通道中相同位置求平均值和深度特征图谱所有通道的平均值。Then in step S1212, the average value of the features in each position channel on the depth feature map and the average value of the features in the overall channel of the depth feature map are calculated. After the coarse-grained image of the wafer is extracted by a deep convolutional neural network, the average value of each position channel in the depth feature map of the wafer and the average value of the overall channel of the depth feature map are calculated. For example, the depth feature map of the wafer is a feature map of x*y, then each depth feature map of the wafer contains x*y positions, where each depth feature map corresponds to a channel, and the same position in different channels is averaged The value and the average of all channels of the depth feature map.

然后,在步骤S1213,确认深度特征图谱中位置通道中的特征平均值大于整体通道中的特征的平均值的区域作为目标缺陷区域;以及在步骤S1214中截取目标缺陷区域的图像作为目标图像。在一个实施方式中,可将晶圆的深度特征图谱中每个位置通道中的特征平均值与晶圆的深度特征图谱整体通道的平均值进行比较,将深度特征图谱中位置通道中的特征平均值大于整体通道中的特征的平均值的区域作为目标缺陷区域,并对此区域求外包矩形并确认外包矩形的坐标,进一步利用反卷积计算外包矩形对应的目标缺陷区域在晶圆的粗粒度图像中的位置坐标,根据粗粒度图像中的位置坐标可截取对应的粗粒度图像,并将截取的图像作为晶圆的目标图像。其中,对目标缺陷区域求外包矩形并确认外包矩形的坐标的方式,可以包括:对目标缺陷区域求最小外包矩形,并确认该最小外包矩形的坐标。可以采用非极大值抑制(Non-Maximum Suppression,简称NMS)的方法,确定目标缺陷区域的最小外包矩形。这样有利于框选出目标缺陷的准确位置。Then, in step S1213, it is confirmed that the region in which the average value of the features in the position channel in the depth feature map is greater than the average value of the features in the overall channel is taken as the target defect area; and in step S1214, an image of the target defect area is intercepted as the target image. In one embodiment, the average value of features in each position channel in the depth profile of the wafer can be compared with the average value of the overall channel of the depth profile of the wafer, and the feature average value in the position channels in the depth profile The area whose value is greater than the average value of the features in the overall channel is used as the target defect area, and the outer rectangle is calculated for this area and the coordinates of the outer rectangle are confirmed, and the coarse-grained size of the target defect area corresponding to the outer rectangle is calculated on the wafer by deconvolution According to the position coordinates in the image, the corresponding coarse-grained image can be intercepted according to the position coordinates in the coarse-grained image, and the intercepted image can be used as the target image of the wafer. Wherein, the method of finding the enclosing rectangle for the target defect area and confirming the coordinates of the enclosing rectangle may include: calculating the minimum enclosing rectangle for the target defect area, and confirming the coordinates of the minimum enclosing rectangle. A non-maximum suppression (Non-Maximum Suppression, NMS for short) method may be used to determine the minimum enclosing rectangle of the target defect area. This is conducive to frame selection of the exact location of the target defect.

在晶圆缺陷的分类过程中,有些缺陷的区分仅仅是表面细微的差异,为了进一步提升晶圆缺陷分类模型的准确率,在获得晶圆的目标图像之后,可进一步对晶圆的目标图像根据注意力机制进行处理,得到细节图像,通过细节图像进一步对晶圆的缺陷类型进行确认。晶圆的细粒度图像还可包括细节图像,例如,图4C是以图4B为例的目标图像截取的细节图像。In the process of classifying wafer defects, the distinction of some defects is only subtle on the surface. In order to further improve the accuracy of the wafer defect classification model, after obtaining the target image of the wafer, the target image of the wafer can be further classified according to The attention mechanism is used to process the detailed image, and the defect type of the wafer is further confirmed through the detailed image. The fine-grained image of the wafer may also include a detail image, for example, FIG. 4C is a detail image intercepted from the target image in FIG. 4B as an example.

图3为根据本申请一实施方式的获取细节图像的流程示意图,如图3所示,获得细节图像的具体步骤如下:Fig. 3 is a schematic flow diagram of obtaining a detailed image according to an embodiment of the present application. As shown in Fig. 3, the specific steps for obtaining a detailed image are as follows:

首先在步骤S1221中可基于深度卷积神经网络提取目标图像的深度特征图谱。晶圆的目标图像经过卷积核卷积之后可得到多个深度特征图谱,其中目标图像的深度特征图谱可包括目标图像缺陷区域的位置、形状、颜色等特征信息。Firstly, in step S1221, the deep feature map of the target image can be extracted based on the deep convolutional neural network. After the target image of the wafer is convolved by a convolution kernel, multiple depth feature maps can be obtained, wherein the depth feature maps of the target image can include feature information such as the position, shape, and color of the defect area of the target image.

接着在步骤S1222中,计算目标图像的深度特征图谱上每个位置通道的特征的平均值。晶圆的目标图像经过深度卷积神经网络特征提取后,计算目标图像的深度特征图谱中的每个位置通道的特征平均值,例如提取目标图像深度特征图谱为m*n的图谱,则目标图像的深度特征图谱包含m*n个位置,其中每个深度特征图谱对应一个通道,将不同的通道中相同位置求平均值。Next in step S1222, the average value of the features of each position channel on the depth feature map of the target image is calculated. After the target image of the wafer is extracted by a deep convolutional neural network, the feature average value of each position channel in the depth feature map of the target image is calculated. The depth feature map of contains m*n positions, where each depth feature map corresponds to a channel, and the same position in different channels is averaged.

然后在步骤S1223中,选取滑动窗口对目标图像进行卷积,并根据滑动窗口确认至少一个激活窗口,激活窗口的深度特征图谱通道的特征的平均值大于通道的特征的平均值。选取滑动窗口对在目标图像滑动,基于注意力机制确认目标图像中晶圆缺陷区域的细节区域。可设置不同大小和长宽比的窗口在整个目标图像上滑动,例如可选择滑动窗口的大小为3*3~11*11,滑动窗口的数量为3-7个。滑动窗口需遍历目标图像的所有位置,计算滑动窗口在深度特征图谱中通道的特征的平均值,若滑动窗口的深度特征图谱通道的特征的平均值大于一定的阈值,则滑动窗口可作为激活窗口。该一定的阈值,可以包括图像中所有像素的平均值。其中滑动窗口的大小例如为3*3、6*6和9*9,但是本领域相关人员可知,窗口的大小为示例性说明,本申请的滑动窗口的大小不限于此。滑动窗口在遍历目标图像的过程中有一定的步长限制,因此激活窗口可能存在一定的冗余,可在后续过程中采用非极大值抑制的方式选择固定数量的窗口区域作为晶圆缺陷图像的细节缺陷区域,减少后续对晶圆缺陷模型检测性能的影响。本领域的相关人员可以理解,滑动窗口的数量和大小只是示例性说明,本申请滑动窗口的数量和大小不限于此。Then in step S1223, a sliding window is selected to convolve the target image, and at least one active window is confirmed according to the sliding window, and the average value of the channel features of the depth feature map of the active window is greater than the average value of the channel features. The sliding window pair is selected to slide on the target image, and the detailed area of the wafer defect area in the target image is confirmed based on the attention mechanism. Windows with different sizes and aspect ratios can be set to slide on the entire target image. For example, the size of the sliding window can be selected to be 3*3~11*11, and the number of sliding windows can be 3-7. The sliding window needs to traverse all positions of the target image, and calculate the average value of the channel features of the sliding window in the depth feature map. If the average value of the channel features of the depth feature map channel of the sliding window is greater than a certain threshold, the sliding window can be used as the activation window. . The certain threshold may include the average value of all pixels in the image. The size of the sliding window is, for example, 3*3, 6*6, and 9*9, but those skilled in the art know that the size of the window is an example, and the size of the sliding window in the present application is not limited thereto. The sliding window has a certain step size limit in the process of traversing the target image, so there may be some redundancy in the activation window, and a fixed number of window areas can be selected as the wafer defect image in the subsequent process by non-maximum suppression The detailed defect area can reduce the subsequent impact on the detection performance of the wafer defect model. Those skilled in the art can understand that the number and size of the sliding windows are only illustrative, and the number and size of the sliding windows in the present application are not limited thereto.

然后在步骤S1224中,截取至少一个激活窗口对应的目标图像作为细节图像。确认激活窗口的位置和数量之后可通过反卷积计算细节缺陷区域在晶圆的目标图像中的位置坐标,并进一步截取至少一个对应的目标图像作为晶圆的细节图像。Then in step S1224, the target image corresponding to at least one active window is intercepted as the detail image. After confirming the position and number of active windows, the position coordinates of the detailed defect area in the target image of the wafer can be calculated by deconvolution, and at least one corresponding target image can be further intercepted as the detailed image of the wafer.

步骤S130:将整体特征与细节特征进行融合,以生成融合后的特征;Step S130: Fusing the overall feature and the detail feature to generate a fused feature;

将提取晶圆的粗粒度图像特征与晶圆的细粒度图像特征进行融合,将融合后的特征输出到晶圆缺陷分类模型中的分类器中进行进一步判断。例如,将粗粒度图像和细粒度图像中表示缺陷信息的特征进行融合,可将提取晶圆的粗粒度图像特征与晶圆的细粒度图像特征进行串联,作为融合特征,融合的特征可包括图像缺陷区域的大小、形状、位置、颜色、平滑度、纹理复杂度以及轮廓等。The coarse-grained image features of the extracted wafer are fused with the fine-grained image features of the wafer, and the fused features are output to the classifier in the wafer defect classification model for further judgment. For example, if the features representing defect information in the coarse-grained image and the fine-grained image are fused, the coarse-grained image features of the extracted wafer can be connected in series with the fine-grained image features of the wafer. As a fusion feature, the fused features can include image The size, shape, location, color, smoothness, texture complexity, and contour of the defect area.

步骤S140:通过晶圆缺陷分类模型对融合后的特征进行检测。Step S140: Detect the fused features through the wafer defect classification model.

通过采用将晶圆的粗粒度图像和细粒度图像相结合的方式,将提取晶圆的粗粒度图像特征与晶圆的细粒度图像特征进行融合,并采用经过训练后的晶圆缺陷分类模型,对融合后的特征进行检测。从而对不仅关注晶圆缺陷的整体图像,同时也关注缺陷之间的细节差异,从而在晶圆检测的过程中,通过将晶圆的整体缺陷特征和细节缺陷特征结合分析,能够在一定程度上提高晶圆缺陷类型分类的准确性。在通过经过训练后的晶圆缺陷分类模型对融合后的特征进行检测后,可以输出较为精确的晶圆缺陷分类结果,例如,可以输出晶圆缺陷的分类结果,以及相应的置信度。By combining the coarse-grained image and fine-grained image of the wafer, the coarse-grained image features of the extracted wafer are fused with the fine-grained image features of the wafer, and the trained wafer defect classification model is used, Check the fused features. Therefore, not only attention is paid to the overall image of wafer defects, but also the detailed differences between defects, so that in the process of wafer inspection, by combining the analysis of the overall defect characteristics and detailed defect characteristics of the wafer, it is possible to a certain extent Improve the accuracy of wafer defect type classification. After the fused features are detected by the trained wafer defect classification model, a more accurate wafer defect classification result can be output, for example, the wafer defect classification result and the corresponding confidence level can be output.

在本申请一实施方式中,置信度越高,可信程度越高。例如,将一个缺陷图像分到了某一个缺陷分类,置信度是0.99,则认为此时的分类是正确的。如果得到的置信度低于卡控的置信度阈值,该晶圆缺陷分类模型就不进行分类了,而是把置信度低于置信度阈值的粗粒度图像和/或细粒度图像,放在未进行分类定义的类别中。例如卡控的置信度阈值为0.6,那么对于置信度低于0.6的情况,该晶圆缺陷分类模型就不进行分类了,而是把置信度低于0.6的粗粒度图像和/或细粒度图像,放在未进行分类定义的类别中。In an embodiment of the present application, the higher the confidence level, the higher the credibility level. For example, if a defect image is classified into a certain defect category with a confidence level of 0.99, then the classification at this time is considered correct. If the obtained confidence is lower than the confidence threshold of the stuck control, the wafer defect classification model will not classify, but the coarse-grained images and/or fine-grained images with the confidence lower than the confidence threshold are placed in the unidentified In the category where the taxonomy is defined. For example, if the confidence threshold of the card control is 0.6, then for the case where the confidence is lower than 0.6, the wafer defect classification model will not classify, but the coarse-grained image and/or fine-grained image with the confidence lower than 0.6 , placed in a category that is not categorized.

当然,前述的晶圆检测方法,并不限制晶圆的类型。存在缺陷、不存在缺陷的晶圆都可以采用这种晶圆检测方法。即便晶圆本身不存在缺陷,也能够采用这种晶圆检测方法进行检测,并输出检测结果及相应的置信度。例如,当晶圆本身不存在缺陷时,采用这种晶圆检测方法进行检测可以输出“晶圆不存在缺陷”的检测结果,及相应的置信度。Of course, the aforementioned wafer detection method does not limit the type of wafer. Both defective and non-defective wafers can use this wafer inspection method. Even if there is no defect in the wafer itself, this wafer inspection method can be used for inspection, and the inspection result and corresponding confidence level can be output. For example, when there is no defect in the wafer itself, using this wafer inspection method for inspection can output the inspection result of "no defect in the wafer" and the corresponding confidence level.

由于对上述步骤S140中的晶圆缺陷分类模型进行训练的训练样本中混杂了噪声样本,需要将噪声样本区分开来。基于此,此处引入第一分类模型和第二分类模型,以将噪声样本区分开。图5A为根据本申请一实施方式的单独训练第一分类模型和第二分类模型的流程示意图,如图5A所示,单独训练第一分类模型和第二分类模型的具体步骤如下:Since the training samples for training the wafer defect classification model in the above step S140 are mixed with noise samples, it is necessary to distinguish the noise samples. Based on this, the first classification model and the second classification model are introduced here to distinguish noise samples. Fig. 5A is a schematic flow diagram of separately training the first classification model and the second classification model according to an embodiment of the present application. As shown in Fig. 5A, the specific steps of separately training the first classification model and the second classification model are as follows:

首先在步骤S1410中,将晶圆的粗粒度图像和细粒度图像区分为纯净样本和噪声样本。将晶圆的粗粒度图像和细粒度图像的缺陷类型进行标记,一部分粗粒度图像和细粒度图像由此领域的专家或者经验丰富的工程师进行标定,可作为纯净样本,可用于后续对晶圆缺陷分类模型的训练和验证;另一部分粗粒度图像和细粒度图像没有进行标记或者由一线操作人员进行标记的可作为为噪声样本,由于一线操作人员的水平有一定的差异,可能会存在错误标记,因此没有进行标记或者由一线操作人员进行标记的噪声样本可用于后续对晶圆缺陷分类模型的训练。从而可以通过少量的纯净样本和一定量的噪声样本进行对晶圆缺陷分类模型的训练,以减少人力投入,在一定程度上提高晶圆的缺陷类型分类的准确性,降低了生产成本。Firstly, in step S1410, the coarse-grained image and the fine-grained image of the wafer are distinguished into pure samples and noise samples. Mark the defect types of the coarse-grained image and fine-grained image of the wafer, and some of the coarse-grained images and fine-grained images are calibrated by experts in this field or experienced engineers, which can be used as pure samples and can be used for subsequent detection of wafer defects Training and verification of the classification model; another part of the coarse-grained images and fine-grained images that are not marked or marked by front-line operators can be used as noise samples. Due to certain differences in the level of front-line operators, there may be wrong marks. Therefore, noise samples that are not marked or marked by front-line operators can be used for subsequent training of the wafer defect classification model. Therefore, the wafer defect classification model can be trained with a small amount of pure samples and a certain amount of noise samples to reduce manpower input, improve the accuracy of wafer defect type classification to a certain extent, and reduce production costs.

然后在步骤S1420中,将纯净样本输入到第一分类模型,噪声样本输入到第二分类模型,分别对第一分类模型和第二分类模型进行训练。将纯净样本输入到第一分类模型,噪声样本输入到第二分类模型,由于第一分类模型和第二分类模型输入的样本不同,因此训练后的第一分类模型和第二分类模型中包含的参数也不相同,在后续晶圆检测中可能得到相同或者不同的结果。引入第一分类模型和第二分类模型,总体上可以有效的消除噪声样本对于晶圆缺陷分类的干扰。考虑到本实施方式采用的是基于数据驱动的建模方法,且缺陷分类任务中存在大量噪声样本的情况,采用这种方法,可以在模型训练的过程中,在保证模型分类性能的条件下,有效的降低人工校验样本的工作量。Then in step S1420, the pure samples are input into the first classification model, and the noise samples are input into the second classification model, and the first classification model and the second classification model are trained respectively. The pure samples are input to the first classification model, and the noise samples are input to the second classification model. Since the input samples of the first classification model and the second classification model are different, the trained first classification model and the second classification model contain The parameters are also different, and the same or different results may be obtained in subsequent wafer inspections. The introduction of the first classification model and the second classification model can effectively eliminate the interference of noise samples on wafer defect classification on the whole. Considering that this embodiment adopts a data-driven modeling method, and there are a large number of noise samples in the defect classification task, using this method, in the process of model training, under the condition of ensuring the classification performance of the model, Effectively reduce the workload of manual verification samples.

图5B为根据本申请一实施方式的混合训练第一分类模型和第二分类模型的流程示意图,如图5B所示,混合训练第一分类模型和第二分类模型的具体步骤如下:Fig. 5B is a schematic flow diagram of the hybrid training of the first classification model and the second classification model according to an embodiment of the present application. As shown in Fig. 5B, the specific steps of the hybrid training of the first classification model and the second classification model are as follows:

首先在步骤S1421中,将噪声样本划分为标记数据集和未标记数据集。获取的晶圆图像为噪声样本,包含晶圆的粗粒度图像和细粒度图像,将晶圆的粗粒度图像和细粒度图像输入到第一分类模型和第二分类模型中,第一分类模型和第二分类模型对晶圆的缺陷类型进行预测,得到预测缺陷类型及其置信度。然后可利用高斯混合模型进行对样本分布进行混合,尽量模拟晶圆缺陷模型的真实分布,有利于区分标记数据集和未标记数据集。根据置信度划分标记数据集和未标记数据集。标记数据集的置信度大于设定值,未标记数据集的置信度小于设定值。其中设定值可根据工程师的经验进行调整,例如设定值为0.8,即晶圆的缺陷类型的置信度大于0.8可认为是带标记的数据,晶圆的缺陷类型的置信度小于0.8可认为是未带标记的数据。First, in step S1421, the noise samples are divided into labeled datasets and unlabeled datasets. The obtained wafer image is a noise sample, including a coarse-grained image and a fine-grained image of the wafer, and the coarse-grained image and the fine-grained image of the wafer are input into the first classification model and the second classification model, and the first classification model and The second classification model predicts the defect type of the wafer, and obtains the predicted defect type and its confidence level. Then, the Gaussian mixture model can be used to mix the sample distribution, try to simulate the real distribution of the wafer defect model, and help to distinguish between the labeled data set and the unlabeled data set. Partition labeled and unlabeled datasets based on confidence. The confidence of the labeled data set is greater than the set value, and the confidence of the unlabeled data set is less than the set value. The set value can be adjusted according to the engineer’s experience. For example, if the set value is 0.8, the confidence of the wafer’s defect type greater than 0.8 can be regarded as marked data, and the confidence of the wafer’s defect type is less than 0.8. is unlabeled data.

接着在步骤S1422中,利用第一分类模型和第二分类模型提取标记数据集和未标记数据集的深度特征图谱;步骤S1423中,将第一分类模型和第二分类模型提取的同一样本的深度特征图谱进行融合;以及步骤S1424中,将融合后的深度特征图谱输入到分类器,得到噪声样本的检测结果。将同一个噪声样本输入第一分类模型和第二分类模型,第一分类模型和第二分类模型对同一个噪声样本提取深度特征图谱,并将第一分类模型提取的深度特征图谱和第二分类模型提取的深度特征图谱进行融合,将融合后的深度特征图谱输入到分类器,分类器通过对融合后的深度特征图谱进行判定,得到噪声样本的检测结果。其中将第一分类模型和第二分类模型提取的同一样本对应的深度特征图谱进行融合之前还可将深度特征图谱输入全连接层,多个深度特征图谱经过全连接层后得到一维的深度特征图谱,简化后续的数据处理。Then in step S1422, use the first classification model and the second classification model to extract the depth feature maps of the marked data set and the unmarked data set; in step S1423, the depth of the same sample extracted by the first classification model and the second classification model The feature maps are fused; and in step S1424, the fused depth feature maps are input to the classifier to obtain the detection results of the noise samples. The same noise sample is input into the first classification model and the second classification model, the first classification model and the second classification model extract the depth feature map for the same noise sample, and the depth feature map extracted by the first classification model and the second classification model The depth feature maps extracted by the model are fused, and the fused depth feature maps are input to the classifier, and the classifier obtains the detection results of noise samples by judging the fused depth feature maps. Among them, the depth feature map corresponding to the same sample extracted by the first classification model and the second classification model can also be input into the fully connected layer before fusion, and multiple depth feature maps can be obtained after the fully connected layer. One-dimensional depth features Atlas, simplifying subsequent data processing.

然后在步骤S1425中,根据噪声样本的检测结果确认晶圆缺陷分类模型的整体损失,完成第一分类模型和第二分类模型的混合训练。根据噪声样本的检测结果确认晶圆缺陷分类模型的整体损失。通过整体损失可确认晶圆缺陷分类模型的训练效果,整体损失越小,说明晶圆缺陷分类模型对样本预测的缺陷类型准确率越高,因此可通过整体损失确认训练效果。其中,晶圆缺陷分类模型的整体损失包括协同微调损失、协同估计损失和正则化损失。其中协同估计损失是第一分类模型和第二分类模型对未标记数据集中的预测结果进行合并,协同微调损失是第一分类模型和第二分类模型对标记数据集中的实际标记值与预测标记值进行线性组合,通过对该线性组合的评估,实现对第一分类模型和第二分类模型中参数的训练。训练过程还可包括对第一分类模型和第二分类模型进行正则化处理,得到第一分类模型和第二分类模型的正则化损失,正则化处理可防止在晶圆缺陷类型分类中出现过拟合的现象。Then in step S1425, the overall loss of the wafer defect classification model is confirmed according to the detection results of the noise samples, and the hybrid training of the first classification model and the second classification model is completed. Confirm the overall loss of the wafer defect classification model based on the detection results of the noisy samples. The overall loss can be used to confirm the training effect of the wafer defect classification model. The smaller the overall loss, the higher the accuracy of the defect type predicted by the wafer defect classification model for the sample. Therefore, the overall loss can be used to confirm the training effect. Among them, the overall loss of the wafer defect classification model includes co-fine-tuning loss, co-estimation loss and regularization loss. Among them, the collaborative estimation loss is the combination of the first classification model and the second classification model on the prediction results in the unlabeled data set, and the collaborative fine-tuning loss is the combination of the first classification model and the second classification model on the actual label value and the predicted label value in the labeled data set A linear combination is performed, and the training of parameters in the first classification model and the second classification model is realized by evaluating the linear combination. The training process can also include regularization processing on the first classification model and the second classification model to obtain the regularization loss of the first classification model and the second classification model, and the regularization processing can prevent overfitting in the wafer defect type classification. combined phenomenon.

在本申请一实施方式的晶圆检测方法中,通过对晶圆的粗粒度图像和细粒度图像结合的方式,不仅关注晶圆缺陷的整体图像,同时也关注缺陷之间的细节差异;通过少量的纯净样本和一定量的噪声样本可完成对晶圆缺陷分类模型的训练,减少了人力投入,在一定程度上提高了晶圆的缺陷类型分类的准确性,降低了生产成本。In the wafer inspection method of an embodiment of the present application, by combining the coarse-grained image and the fine-grained image of the wafer, not only the overall image of wafer defects is paid attention to, but also the detailed differences between defects; The pure samples and a certain amount of noise samples can complete the training of the wafer defect classification model, reduce manpower input, improve the accuracy of wafer defect type classification to a certain extent, and reduce production costs.

根据本申请的实施例,本申请还提供了一种晶圆的检测系统、晶圆检测设备和一种可读存储介质。晶圆检测设备还可包括加工机台,以及晶圆检测系统,晶圆检测系统设置在加工机台上,用于对晶圆进行检测。According to the embodiments of the present application, the present application also provides a wafer detection system, a wafer detection device and a readable storage medium. The wafer inspection equipment may also include a processing machine, and a wafer inspection system. The wafer inspection system is set on the processing machine for inspecting the wafer.

如图6所示,是根据本申请实施例的用于晶圆的检测系统的示意图。该系统旨在表示设置在各种形式的检测设备中的硬件装置,例如设置在数字计算机中的硬件装置。该检测设备可表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。检测设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备、晶圆加工设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本申请的实现。As shown in FIG. 6 , it is a schematic diagram of a detection system for a wafer according to an embodiment of the present application. The system is intended to represent hardware devices provided in various forms of detection equipment, such as hardware devices provided in digital computers. The detection device may represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. Inspection equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smart phones, wearable devices, wafer processing equipment, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are by way of example only, and are not intended to limit implementations of the applications described and/or claimed herein.

如图6所示,该晶圆的检测系统包括:一个或多个处理器601、存储器602,以及用于连接各部件的接口,包括高速接口和低速接口。各个部件利用不同的总线互相连接,并且可以被安装在公共主板上或者根据需要以其它方式安装。处理器可以对在电子设备内执行的指令进行处理,包括存储在存储器中或者存储器上以在外部输入/输出装置(诸如,耦合至接口的显示设备)上显示GUI的图形信息的指令。在其它实施方式中,若需要,可以将多个处理器和/或多条总线与多个存储器和多个存储器一起使用。同样,可以连接多个电子设备,各个设备提供部分必要的操作(例如,作为服务器阵列、一组刀片式服务器、或者多处理器系统)。图6中以一个处理器601为例。As shown in FIG. 6 , the wafer inspection system includes: one or more processors 601 , memory 602 , and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and can be mounted on a common motherboard or otherwise as desired. The processor may process instructions executed within the electronic device, including instructions stored in or on the memory, to display graphical information of a GUI on an external input/output device such as a display device coupled to an interface. In other implementations, multiple processors and/or multiple buses may be used with multiple memories and multiple memories, if desired. Likewise, multiple electronic devices may be connected, with each device providing some of the necessary operations (eg, as a server array, a set of blade servers, or a multi-processor system). In FIG. 6, a processor 601 is taken as an example.

存储器602即为本申请所提供的非瞬时计算机可读存储介质。其中,存储器存储有可由至少一个处理器执行的指令,以使至少一个处理器执行本申请所提供的晶圆的检测方法。本申请的非瞬时计算机可读存储介质存储计算机指令,该计算机指令用于使计算机执行本申请所提供的用于晶圆的检测方法。The memory 602 is a non-transitory computer-readable storage medium provided in this application. Wherein, the memory stores instructions executable by at least one processor, so that the at least one processor executes the wafer detection method provided in the present application. The non-transitory computer-readable storage medium of the present application stores computer instructions, and the computer instructions are used to make the computer execute the inspection method for wafers provided in the present application.

存储器602作为一种非瞬时计算机可读存储介质,可用于存储非瞬时软件程序、非瞬时计算机可执行程序以及模块。处理器601通过运行存储在存储器602中的非瞬时软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例中的用于晶圆检测的方法。As a non-transitory computer-readable storage medium, the memory 602 can be used to store non-transitory software programs, non-transitory computer-executable programs and modules. The processor 601 executes various functional applications and data processing of the server by running the non-transitory software programs, instructions and modules stored in the memory 602, that is, implements the method for wafer inspection in the above method embodiments.

存储器602可以包括存储程序区和存储数据区,其中存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据用于控制质量的电子设备的使用所创建的数据等。此外,存储器602可包括高速随机存取存储器,还可以包括非瞬时存储器,例如至少一个磁盘存储器件、闪存器件、或其他非瞬时固态存储器件。在一些实施例中,存储器602可包括相对于处理器601远程设置的存储器,这些远程存储器可以通过网络连接至用于晶圆的检测设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 602 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of electronic equipment for quality control, etc. . In addition, the memory 602 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory 602 may include memory located remotely relative to the processor 601, and these remote memories may be connected to inspection equipment for wafers through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

用于晶圆的检测系统还可以包括:输入装置603和输出装置604。处理器601、存储器602、输入装置603和输出装置604可以通过总线或者其他方式连接,图6中以通过总线连接为例。The inspection system for wafers may further include: an input device 603 and an output device 604 . The processor 601, the memory 602, the input device 603, and the output device 604 may be connected through a bus or in other ways. In FIG. 6, connection through a bus is taken as an example.

输入装置603可接收输入的数字或字符信息,以及产生与用于控制质量的电子设备的用户设置以及功能控制有关的键信号输入,例如触摸屏、小键盘、鼠标、轨迹板、触摸板、指示杆、一个或者多个鼠标按钮、轨迹球、操纵杆等输入装置。输出装置604可以包括显示设备、辅助照明装置(例如,LED)和触觉反馈装置(例如,振动电机)等。该显示设备可以包括但不限于,液晶显示器(LCD)、发光二极管(LED)显示器和等离子体显示器。在一些实施方式中,显示设备可以是触摸屏。在本申请的实施方式中,输入装置603还可包括探测装置,用于采集晶圆的图像,采集的图像可包括晶圆的粗粒度图像和细粒度图像。The input device 603 can receive input numbers or character information, and generate key signal inputs related to user settings and function control of electronic equipment for quality control, such as touch screens, keypads, mice, trackpads, touchpads, and pointers , one or more mouse buttons, trackballs, joysticks, and other input devices. The output device 604 may include a display device, an auxiliary lighting device (eg, LED), a tactile feedback device (eg, a vibration motor), and the like. The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display, and a plasma display. In some implementations, the display device may be a touch screen. In an embodiment of the present application, the input device 603 may further include a detection device for collecting an image of the wafer, and the collected image may include a coarse-grained image and a fine-grained image of the wafer.

如图7所示,是根据本申请实施例的用于晶圆的检测设备的示意图。该检测设备701可包括上述任一实施例中的检测系统,该检测设备701可表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。检测设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备、晶圆加工设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本申请的实现。As shown in FIG. 7 , it is a schematic diagram of a detection device for a wafer according to an embodiment of the present application. The detection device 701 may include the detection system in any of the above-mentioned embodiments, and the detection device 701 may represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade Servers, mainframes, and other suitable computers. Inspection equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smart phones, wearable devices, wafer processing equipment, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are by way of example only, and are not intended to limit implementations of the applications described and/or claimed herein.

此处描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、专用ASIC(专用集成电路)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described herein can be implemented in digital electronic circuitry, integrated circuit systems, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpreted on a programmable system including at least one programmable processor, the programmable processor Can be special-purpose or general-purpose programmable processor, can receive data and instruction from storage system, at least one input device, and at least one output device, and transmit data and instruction to this storage system, this at least one input device, and this at least one output device an output device.

这些计算程序(也称作程序、软件、软件应用、或者代码)包括可编程处理器的机器指令,并且可以利用高级过程和/或面向对象的编程语言、和/或汇编/机器语言来实施这些计算程序。如本文使用的,术语“机器可读介质”和“计算机可读介质”指的是用于将机器指令和/或数据提供给可编程处理器的任何计算机程序产品、设备、和/或装置(例如,磁盘、光盘、存储器、可编程逻辑装置(PLD)),包括接收作为机器可读信号的机器指令的机器可读介质。术语“机器可读信号”指的是用于将机器指令和/或数据提供给可编程处理器的任何信号。These computing programs (also referred to as programs, software, software applications, or codes) include machine instructions for a programmable processor and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine language calculation program. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or means for providing machine instructions and/or data to a programmable processor ( For example, a magnetic disk, optical disk, memory, programmable logic device (PLD)), including machine-readable media that receive machine instructions as machine-readable signals. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.

为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者触觉输入)来接收来自用户的输入。To provide for interaction with the user, the systems and techniques described herein can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user. ); and a keyboard and pointing device (eg, a mouse or a trackball) through which a user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and can be in any form (including Acoustic input, voice input or tactile input) to receive input from the user.

可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., as a a user computer having a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system. The components of the system can be interconnected by any form or medium of digital data communication, eg, a communication network. Examples of communication networks include: Local Area Network (LAN), Wide Area Network (WAN) and the Internet.

计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以为分布式系统的服务器,或者是结合了区块链的服务器。服务器也可以是云服务器,或者是带人工智能技术的智能云计算服务器或智能云主机。服务器可以为分布式系统的服务器,或者是结合了区块链的服务器。服务器也可以是云服务器,或者是带人工智能技术的智能云计算服务器或智能云主机。A computer system may include clients and servers. Clients and servers are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other. The server can be a server of a distributed system, or a server combined with a blockchain. The server can also be a cloud server, or an intelligent cloud computing server or an intelligent cloud host with artificial intelligence technology. The server can be a server of a distributed system, or a server combined with a blockchain. The server can also be a cloud server, or an intelligent cloud computing server or an intelligent cloud host with artificial intelligence technology.

应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本发申请中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本申请公开的技术方案所期望的结果,本文在此不进行限制。It should be understood that steps may be reordered, added or deleted using the various forms of flow shown above. For example, the steps described in the present application may be executed in parallel, sequentially, or in a different order, as long as the desired result of the technical solution disclosed in the present application can be achieved, no limitation is imposed herein.

如上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明。应理解的是,以上所述仅为本发明的具体实施方式,并不用于限制本发明。凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等均应包含在本发明的保护范围之内。The purpose, technical solution and beneficial effects of the present invention are further described in detail in the specific implementation manner described above. It should be understood that the above descriptions are only specific embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (24)

1. A method for detecting a wafer is characterized by comprising the following steps:
acquiring a first image of a wafer, wherein the first image comprises an overall characteristic representing defect information of the wafer;
determining a second image of the wafer based on the first image, the second image including detail features representing defect information of the wafer;
fusing the overall features and the detail features in series to generate fused features; and
and detecting the fused features through a wafer defect classification model.
2. The method of claim 1, wherein determining a second image of the wafer based on the first image comprises:
locating a defect feature region in the first image; and
and intercepting the area of the positioned defect feature to obtain a target image as the second image.
3. The method of claim 2, wherein determining the second image of the wafer based on the first image comprises:
positioning a detail area of a defect feature in the target image; and
and intercepting the located detail area to obtain a detail image as the second image.
4. The method according to claim 2, wherein the step of intercepting the located defect feature area to obtain a target image as the second image comprises:
extracting a depth feature map of a first image of the wafer based on a depth convolution neural network;
determining an average of the features of each location channel on the depth feature map and an average of the features of the global location channels of the depth feature map;
confirming a region of the depth feature map, wherein the average value of the features of the position channels is larger than the average value of the features of the whole position channels, as a target defect region; and
and intercepting the image of the target defect area as the target image.
5. The method according to claim 4, wherein after confirming, as the target defect region, a region in the depth feature map in which an average value of the features of the position channels is larger than an average value of the features of the overall position channels, comprising:
determining the minimum outer-wrapping rectangle of the target defect area and confirming the coordinates of the minimum outer-wrapping rectangle;
determining the position coordinates of the target defect region in the first image of the wafer through deconvolution; and
and intercepting a first image of the wafer according to the position coordinate to serve as the target image.
6. The method according to claim 3, wherein the step of intercepting the located detail area to obtain a detail image as the second image comprises:
extracting a depth feature map of the target image based on a depth convolutional neural network;
determining an average value of the features of each position channel on the depth feature map of the target image;
selecting a sliding window to carry out convolution on the target image, and confirming at least one activation window according to the sliding window, wherein the average value of the characteristics of the whole position channel in the depth feature map of the activation window is larger than the average value of the characteristics of each position channel on the depth feature map; and
and intercepting the target image corresponding to the at least one activation window as the detail image.
7. The method of claim 6, wherein the step of selecting a sliding window to convolve the target image and after confirming the active window according to the sliding window, truncating the located detail region to obtain a detail image further comprises:
selecting the area of the at least one activation window as a detail defect area of the wafer defect image in a non-maximum suppression mode;
determining the position coordinates of the detail defect area in the target image of the wafer through deconvolution; and
and intercepting an image of the detail defect area as the detail image.
8. The method of claim 1, wherein detecting the fused features through a wafer defect classification model comprises:
and classifying the defects of the wafer to determine the defect type of the wafer.
9. The method of claim 1, wherein detecting the merged feature by a wafer defect classification model comprises:
and outputting a detection result, wherein the detection result comprises the defect type of the wafer and the confidence corresponding to the defect type of the wafer.
10. The method of claim 1, wherein the wafer defect classification model comprises a first classification model and a second classification model, and the first classification model and the second classification model are different in training samples.
11. The method of claim 10, further comprising the step of individually training the wafer defect classification model, comprising:
dividing the first image and the second image of the wafer into a clean sample and a noise sample; and
and inputting the pure samples into the first classification model, inputting the noise samples into the second classification model, and respectively training the first classification model and the second classification model.
12. The method of claim 11, wherein the clean sample comprises the first image or the second image identifying a defect type for testing and verification of the wafer defect classification model; the noise sample comprises the first image or the second image of the defect type to be confirmed and is used for training the wafer defect classification model.
13. The method of claim 11, wherein training the first classification model and the second classification model separately further comprises hybrid training the first classification model and the second classification model, comprising:
dividing the noise samples into labeled and unlabeled datasets;
extracting depth feature maps of the labeled data set and the unlabeled data set using the first classification model and the second classification model;
fusing the depth feature maps of the same sample extracted by the first classification model and the second classification model;
inputting the fused depth feature map into a classifier to obtain a detection result of the noise sample; and
and confirming the overall loss of the wafer defect classification model according to the detection result of the noise sample, and finishing the training of the wafer defect classification model.
14. The method of claim 13, wherein the step of partitioning the noise samples into labeled and unlabeled datasets comprises:
inputting the first image or the second image in the noise samples to the first classification model and the second classification model; and
and dividing the noise sample into a marked data set and an unmarked data set according to the predicted defect types and the confidence degrees of the first classification model and the second classification model, wherein the confidence degree of the marked data set is greater than a set value, and the confidence degree of the unmarked data set is less than the set value.
15. The method according to claim 13, wherein before fusing the depth feature maps extracted from the same sample by the first classification model and the second classification model of the same sample, the method further comprises:
and inputting the depth feature map into a full connection layer to obtain a one-dimensional depth feature map.
16. The method of claim 13, wherein determining the global penalty of the wafer defect classification model based on the defect type and probability of the image comprises:
performing linear combination according to the defect types and the probabilities of the marked data sets obtained by the first classification model and the second classification model to obtain collaborative fine tuning loss;
merging the defect types and the probabilities of the unmarked data sets estimated by the first classification model and the second classification model to be used as collaborative estimation loss;
regularizing the first classification model and the second classification model to obtain regularization losses of the first classification model and the second classification model; and
and fusing the collaborative fine tuning loss, the collaborative estimation loss and the regularization loss to serve as the overall loss of the fine-grained classification model of the wafer defects.
17. The method of claim 16, wherein the first classification model and the second classification model classify the defect models of the images according to the depth feature maps, and the fusing the classification results to obtain the detection results of the noise samples comprises:
processing the depth feature maps of the marked data set and the unmarked data set by using a full connection layer to obtain a one-dimensional depth feature map; and
and fusing the characteristics of the one-dimensional depth characteristic map and inputting the fused characteristics into a classifier to obtain the detection result of the wafer.
18. The method of claim 13, wherein the inspection result comprises a confidence level that the defect type of the wafer corresponds to.
19. An inspection system for a wafer, comprising:
a memory for storing program instructions; and
a processor in communication with the memory for executing the program instructions to implement the method of any of claims 1 to 18.
20. An apparatus for inspecting a wafer, comprising: the detection system of claim 19.
21. The detection apparatus of claim 20, further comprising: and the detection device is used for acquiring the image of the wafer.
22. The inspection apparatus of claim 21, wherein the probing device is configured to capture a first image of the wafer and/or a second image of the wafer.
23. The detection apparatus of claim 20, wherein the detection apparatus comprises at least one of: computers, servers, cell phones, smart phones, wearable devices, wafer processing devices.
24. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-18.
CN202110842583.2A 2021-07-26 2021-07-26 Wafer detection method, equipment and storage medium Active CN113538392B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110842583.2A CN113538392B (en) 2021-07-26 2021-07-26 Wafer detection method, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110842583.2A CN113538392B (en) 2021-07-26 2021-07-26 Wafer detection method, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113538392A CN113538392A (en) 2021-10-22
CN113538392B true CN113538392B (en) 2022-11-11

Family

ID=78120775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110842583.2A Active CN113538392B (en) 2021-07-26 2021-07-26 Wafer detection method, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113538392B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114170153A (en) * 2021-11-20 2022-03-11 上海微电子装备(集团)股份有限公司 Wafer defect detection method and device, electronic equipment and storage medium
TWI802174B (en) * 2021-12-24 2023-05-11 環球晶圓股份有限公司 Ingot evaluating method and detecting apparatus
CN114821194B (en) * 2022-05-30 2023-07-25 深圳市科荣软件股份有限公司 Equipment running state identification method and device
CN116071349A (en) * 2023-02-27 2023-05-05 长鑫存储技术有限公司 Wafer defect detection method, storage medium and data processing device
CN116485795B (en) * 2023-06-19 2023-09-01 湖南隆深氢能科技有限公司 Coil coating production line flaw detection method and system
CN117437455B (en) * 2023-09-20 2024-11-12 上海朋熙半导体有限公司 A method, device, equipment and readable medium for determining wafer defect mode
CN117455897B (en) * 2023-11-30 2024-04-30 魅杰光电科技(上海)有限公司 Wafer scratch detection method, device, equipment and storage medium
CN117853464B (en) * 2024-01-15 2024-08-30 普雷赛斯(苏州)智能科技有限公司 Method for establishing wafer defect detection model, detection method, equipment and medium
CN118115496B (en) * 2024-04-25 2024-08-13 深圳新视智科技术有限公司 Wafer defect detection method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019160999A (en) * 2018-03-13 2019-09-19 株式会社アイテス Defect inspection device, and defect inspection method
SG11202009105YA (en) * 2018-03-20 2020-10-29 Tokyo Electron Ltd Self-aware and correcting heterogenous platform incorporating integrated semiconductor processing modules and method for using same
CN112270722B (en) * 2020-10-26 2024-05-17 西安工程大学 Digital printing fabric defect detection method based on deep neural network
CN112529873B (en) * 2020-12-09 2021-11-30 深圳市芯汇群微电子技术有限公司 Wafer defect detection method based on ART neural network
CN112651961A (en) * 2021-01-06 2021-04-13 华虹半导体(无锡)有限公司 Wafer defect identification method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
K-means clustering with morphological filtering for silicon wafer grain defect detection;Xiaoyan Chen;《2020 IEEE 4th Information Technology》;20201231;全文 *

Also Published As

Publication number Publication date
CN113538392A (en) 2021-10-22

Similar Documents

Publication Publication Date Title
CN113538392B (en) Wafer detection method, equipment and storage medium
US12020417B2 (en) Method and system for classifying defects in wafer using wafer-defect images, based on deep learning
US10818000B2 (en) Iterative defect filtering process
US11307150B2 (en) Automatic optimization of an examination recipe
US11915406B2 (en) Generating training data usable for examination of a semiconductor specimen
CN113920096B (en) A method for detecting defects in integrated circuit metal packaging
US7424146B2 (en) Defect inspection method
CN111784663B (en) Method and device for detecting parts, electronic equipment and storage medium
CN113439276B (en) Defect Classification in Semiconductor Samples Based on Machine Learning
KR20210020112A (en) Pattern grouping method based on machine learning
CN113538376B (en) Defect positioning method, device and equipment of storage array and readable storage medium
CN113241310B (en) Wafer defect detection method, detection device, detection device and readable storage medium
Choi et al. Deep learning based defect inspection using the intersection over minimum between search and abnormal regions
Wu et al. GAN-based statistical modeling with adaptive schemes for surface defect inspection of IC metal packages
Zhang et al. SF-YOLO: Designed based on tiny feature for PCB surface defect detection and deployment in embedded systems
KR102797429B1 (en) Segmentation of an image of a semiconductor specimen
CN110232370A (en) A kind of transmission line of electricity Aerial Images fitting detection method for improving SSD model
CN114724037A (en) A classification method of high-voltage cable insulation cross-section under complex background
Jia et al. YOLO-BiNWD: Small Object Detection Algorithm for Screen Defect Based on Improved YOLOv10
WO2022126865A1 (en) Defect classification method, apparatus and device, and storage medium
CN120677436A (en) Method and system for identifying the center of a pattern using automatic thresholding
CN117523216A (en) Image processor, image processing method and wafer defect detection device
CN117523164A (en) MiniLED foreign body detection and positioning method and related devices

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
GR01 Patent grant
GR01 Patent grant