Determine defects and / or edge roughness in the sample based on a reference image
Through the spatial transformation algorithm of the processor and memory circuit system, the efficiency and accuracy problems of defect detection and edge roughness identification in semiconductor manufacturing are solved, and efficient sample quality control is achieved.
Patent Information
- Application Number
- CN202210027392.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-11
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-01-11
AI Technical Summary
In the semiconductor manufacturing process, it is difficult for existing technologies to efficiently and accurately detect defects and edge roughness in samples. Especially in high-density and high-performance device manufacturing, the accuracy and efficiency of automated inspection systems are insufficient.
Through the processor and memory circuit system, segmented images and reference images of semiconductor samples are obtained, spatial transformation information between elements is determined, used to detect defects and edge roughness, and spatial transformation and weighting algorithms are used to identify matching criteria and local shapes. Information, calculates defect and edge roughness data.
It improves the efficiency and accuracy of defect detection, can effectively identify defects and edge roughness in samples, and improves the quality control capabilities of semiconductor devices.
Smart Images

Figure CN114841912B_ABST
Abstract
Description
Technical Field
[0001] The presently disclosed subject matter relates generally to the field of specimen testing, and more particularly to automating the testing of specimens. Background Art
[0002] The current demand for high density and high performance associated with ultra-large scale integration of manufactured devices requires sub-micron features, increased transistor and circuit speeds, and increased reliability. This demand requires forming device features with high precision and high uniformity, which in turn necessitates careful monitoring of the manufacturing process, including automated inspection of the devices while they are still in the form of semiconductor wafers.
[0003] Inspection processes are used at various steps during semiconductor manufacturing to detect defects on samples and classify them. Inspection efficiency can be improved by automating the process (e.g., automated defect classification (ADC), automated defect review (ADR), etc.). Summary of the invention
[0004] According to certain aspects of the presently disclosed subject matter, a system for inspecting a semiconductor sample is provided, the system comprising a processor and memory circuitry (PMC), the processor and memory circuitry (PMC) being configured to: obtain a segmented image of the semiconductor sample, the image comprising a first structure element; obtain a reference image of the semiconductor sample, the reference image being based on design data and comprising a second structure element; and for at least one pair of elements comprising the first structure element and a corresponding second structure element, determine data D providing information of a spatial transformation required to match the elements of the pair according to a matching criterion. 空间 ; and use at least D 空间 To determine at least one of data providing information about defects in the first structural element and data providing information about edge roughness of the first structural element.
[0005] According to some embodiments, the system is configured to determine, for the at least one pair, data providing information of a corrected element corresponding to the second structure element after applying the same spatial transformation to a plurality of pixels of the second structure element.
[0006] According to some embodiments, the spatial transformation comprises at least one of a translation and a dilation.
[0007] According to some embodiments, the system is configured to: determine data D representing the magnitude of the spatial transformation 幅值 , wherein the same spatial transformation is applied to the pixels of the elements of the pair; and based at least on D 幅值 to determine data providing information about defects in said first structural element.
[0008] According to some embodiments, the system is configured to: obtain, for the at least one pair: data providing information about positions of a first plurality of pixels of the first structural element; obtain data providing information about positions of a second plurality of pixels of the second structural element; determine data D representing a correspondence relationship between the first plurality of pixels and the second plurality of pixels; 对应 ; at least based on data D 对应 , determining data D providing information of the spatial transformation required to match the positions of the first plurality of pixels with the positions of the second plurality of pixels according to a matching criterion 空间 .
[0009] According to some embodiments, D 对应 The information is based on at least one of: positions of at least some of the first plurality of pixels and the second plurality of pixels, and data providing information of a local shape of at least one of the first structure element and the second structure element.
[0010] According to some embodiments, the data providing information on the local shape of at least one of the first and second structure elements comprises: a direction orthogonal to the contour of at least one of the first and second structure elements, and a curvature of at least one of the first and second structure elements.
[0011] According to some embodiments, determining data providing information of the spatial transformation comprises using at least one weight attributed to at least some of the first plurality of pixels and the second plurality of pixels, the weight being based on data D 对应 to be sure.
[0012] According to some embodiments, the system is configured to, for the at least one pair: determine, for each pixel of a plurality of pixels of the first structural element of the pair, a distance between the pixel and a corresponding pixel of the corrected element of the pair; and determine, based on a distribution of the distances for a plurality of pixels, data providing information of a defect in the first structural element.
[0013] According to some embodiments, the system is configured to, for the at least one pair: determine, for each pixel of a plurality of pixels of the first structural element of the pair, a distance between the pixel and a corresponding pixel of the corrected element of the pair; and determine, based on a distribution of the distances for a plurality of pixels, data providing information on an edge roughness of the first structural element.
[0014] According to some embodiments, the system is configured to, for each of a plurality of pairs: determine data providing information of a corrected element corresponding to the second structuring element after applying the same spatial transformation to a plurality of pixels of the second structuring element; determine the likelihood of a defect in the first structuring element based on at least one of: data providing information of a magnitude of the spatial transformation, and a distance between a pixel of the first structuring element and a corresponding pixel of the corrected element of the pair.
[0015] According to some embodiments, the system is configured to: when a defect located at a first position in a first structural element is detected and a defect located at a second position in the first structural element is detected, if the distance between the first position and the second position is below a threshold, output data indicating a single defect for both the first position and the second position.
[0016] According to certain other aspects of the presently disclosed subject matter, a method of inspecting a semiconductor sample is provided, the method comprising, by a processor and memory circuitry (PMC): obtaining a segmented image of the semiconductor sample, the image comprising a first structure element; obtaining a reference image of the semiconductor sample, the reference image being based on design data and comprising a second structure element; and determining, for at least one pair of elements comprising the first structure element and a corresponding second structure element, data D providing information of a spatial transformation required to match the elements of the pair according to a matching criterion. 空间 ; and use at least D 空间 To determine at least one of data providing information about defects in the first structural element and data providing information about edge roughness of the first structural element.
[0017] According to other aspects of the presently disclosed subject matter, the method can include performing one or more operations as described above with reference to the system.
[0018] According to other aspects of the presently disclosed subject matter, a non-transitory computer-readable medium is provided that includes instructions that, when executed by a computer, cause the computer to perform operations according to the method.
[0019] According to some embodiments, the detection of defects may be based on a single image of the sample. According to some embodiments, various types of defects may be detected. According to some embodiments, the efficiency and accuracy of defect detection are improved. According to some embodiments, data providing information on edge roughness is obtained. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to understand the invention and to see how it may be carried out in practice, embodiments will be described by way of non-limiting examples with reference to the accompanying drawings, in which:
[0021] Figure 1 A generalized block diagram of an inspection system in accordance with certain embodiments of the presently disclosed subject matter is shown.
[0022] Figure 2 A method of determining defects and / or data providing information on edge roughness based on a segmented image of a semiconductor sample and a reference image is shown.
[0023] Figure 2A A non-limiting example of a segmented image of a semiconductor sample is shown.
[0024] Figure 2B A non-limiting example of clustering reference images of semiconductor samples is shown.
[0025] Figure 2C A non-limiting example of a reference image of a semiconductor sample is shown.
[0026] Figure 3 A method of determining a spatial transformation required to match a first structure element of a segmented image and a second structure element of a reference image is shown.
[0027] Figure 3A Shows Figure 3 Non-limiting example of a method.
[0028] Figure 3B Shows Figure 2 A specific embodiment of the method.
[0029] Figure 3C Shown based on Figure 3B Non-limiting example of a method for detecting defects.
[0030] Figure 4 A method of determining a corrected element based on a first structure element of a segmented image and a corresponding second structure element of a reference image is shown.
[0031] Figure 4A Shows Figure 4 Non-limiting example of a method.
[0032] Figure 4B Shown on the entire image Figure 4 Non-limiting example of a method.
[0033] Figure 5 A method of determining data providing information about edge roughness and / or defects based on a segmented image of a semiconductor sample and a reference image is shown.
[0034] Figure 5A and Figure 5B Shows Figure 5Non-limiting example of a method.
[0035] Figure 6 A method for detecting defects based on a segmented image of a semiconductor sample and a reference image is shown. Figure 3B Methods and Figure 5 The method combines both. DETAILED DESCRIPTION
[0036] In the following detailed description, many specific details are set forth in order to provide a thorough understanding of the present disclosure. However, those skilled in the art will appreciate that the subject matter disclosed herein can be practiced without these specific details. In other cases, well-known methods, processes, components, and circuits are not described in detail in order to avoid obscuring the subject matter disclosed herein.
[0037] Unless specifically stated otherwise, as will be apparent from the following discussion, it will be understood that throughout the discussion of this specification, terms such as "obtain", "determine", "output", "use", "align", etc. are utilized to refer to the action(s) and / or processing(s) of a processor to manipulate and / or transform data into other data, the data being represented as physical (such as electronic) quantities, and / or the data representing physical objects. The term "processor" encompasses any computing unit or electronic unit having a data processing circuit system that can perform tasks based on instructions stored in a memory (such as a computer, server, chip, hardware processor, etc.). It encompasses a single processor or multiple processors that may be located in the same geographic region or may be located at least partially in different regions and are capable of communicating together.
[0038] The term "sample" used in this specification should be broadly interpreted to cover any kind of wafers, masks and other structures, combinations of the above and / or parts thereof used to manufacture semiconductor integrated circuits, magnetic heads, flat panel displays and other semiconductor products.
[0039] The term "inspection" used in this specification should be broadly interpreted to cover any kind of metrology-related operations and operations related to the detection and / or classification of defects in a sample during sample manufacturing. Inspection is provided by using a non-destructive inspection tool during or after the manufacture of the sample to be inspected. As a non-limiting example, the inspection process may include runtime scanning (in a single scan or in multiple scans), sampling, inspection, measurement, classification and / or other operations provided with respect to the sample or part thereof using the same or different inspection tools. Similarly, the inspection may be provided before the manufacture of the sample to be inspected, and may include, for example, the generation of (multiple) inspection schemes and / or other setup operations. It should be noted that, unless otherwise specifically stated, the term "inspection" or its derivatives used in this specification are not limited in terms of the resolution or size of the inspection area. As non-limiting examples, a variety of non-destructive inspection tools include scanning electron microscopes, atomic force microscopes, optical inspection tools, and the like.
[0040] As a non-limiting example, runtime inspection may employ a two-stage process, e.g., first inspecting a sample and then checking sample locations for potential defects. During the first stage, the surface of the sample is inspected at a high speed and relatively low resolution. In the first stage, a defect map is generated to show suspected locations on the sample with a high probability of being defective. During the second stage, at least some of the suspected locations are more thoroughly analyzed at a relatively high resolution. In some cases, the two stages may be implemented by the same inspection tool, and in some other cases, the two stages are implemented by different inspection tools.
[0041] As used herein, the terms "non-transitory memory" and "non-transitory medium" should be broadly interpreted to cover any volatile or non-volatile computer memory suitable for the presently disclosed subject matter.
[0042] The term "defect" as used in this specification should be interpreted broadly to cover any kind of abnormal or undesirable feature formed on or in a sample.
[0043] The term "design data" as used in this specification should be broadly interpreted to encompass any data indicative of a hierarchical physical design (layout) of a sample. The design data may be provided by a corresponding designer, and / or may be derived from the physical design (e.g., through complex simulations, simple geometry and Boolean operations, etc.). The design data may be provided in different formats, such as, as non-limiting examples, GDSII format, OASIS format, etc. The design data may be presented in a vector format, a grayscale intensity image format, or otherwise.
[0044] Embodiments of the presently disclosed subject matter are not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the presently disclosed subject matter as described herein.
[0045] The present invention contemplates a computer program readable by a computer to perform one or more methods of the present invention. The present invention further contemplates a machine-readable storage tangibly embodying a program of instructions executable by a computer to perform one or more methods of the present invention.
[0046] With this in mind, turn to Figure 1 , shows a functional block diagram of an inspection system according to certain embodiments of the presently disclosed subject matter. As part of the sample manufacturing process, a Figure 1 The inspection system 100 shown in the figure is used to inspect samples (e.g., semiconductor samples, such as wafers and / or portions thereof). The inspection system 100 shown includes a computer-based system 103, which is capable of automatically determining metrology-related and / or defect-related information using images of one or more samples. The system 103 is operably connected to one or more low-resolution inspection tools 101 and / or one or more high-resolution inspection tools 102 and / or other inspection tools. The inspection tools are configured to capture images of samples and / or to inspect (multiple) captured images and / or to perform or provide measurements related to (multiple) captured images. The system 103 may be further operably connected to a CAD (computer-aided design) server 110 and / or a data repository 109.
[0047] System 103 includes processor and memory circuitry (PMC) 104. PMC 104 is configured to provide the processing necessary to operate system 103, as further described in various embodiments described below, and includes a processor (not separately shown) and a memory (not separately shown). Figure 1 In the embodiment, the PMC 104 is operably connected to a hardware-based input interface 105 and a hardware-based output interface 106.
[0048] The processor of PMC 104 may be configured to execute one or more functional modules according to computer readable instructions implemented on a non-transitory computer readable memory included in the PMC. Such functional modules are hereinafter referred to as being included in the PMC. The functional modules included in PMC 104 include a deep neural network (DNN) 112. DNN 112 is configured to implement data processing using a machine learning network / machine learning algorithm for applying relevant data based on sample image output.
[0049] As non-limiting examples, the layers of DNN 112 may be organized according to a convolutional neural network (CNN) architecture, a recurrent neural network architecture, a recursive neural network architecture, a generative adversarial network (GAN) architecture, or in other ways. Optionally, at least some of the layers may be organized in multiple DNN subnets. Each layer of DNN 112 may include multiple basic computing elements (CEs), which are typically referred to in the art as dimensions, neurons, or nodes.
[0050] Generally speaking, the computing elements of a given layer may be connected to the CE of the previous layer and / or the next layer. Each connection between the CE of the previous layer and the CE of the next layer is associated with a weighted value. A given CE may receive input from the CE of the previous layer via a corresponding connection, and each given connection is associated with a weighted value of the input that can be applied to the given connection. The weighted value can determine the relative strength of the connection, and thereby determine the relative influence of the corresponding input on the output of the given CE. A given CE may be configured to calculate an activation value (e.g., a weighted sum of the inputs), and further derive the output by applying an activation function to the calculated activation. The activation function may be, for example, an identity function, a deterministic function (e.g., linear, sigmoid, threshold, etc.), a random function, or other suitable function. The output from a given CE may be transmitted to the CE of the next layer via a corresponding connection. Similarly, as described above, each connection at the output of a CE may be associated with a weighted value that can be applied to the output of the CE before being received as the input of the CE of the next layer. In addition to the weighted value, there may also be a threshold value (including a limit function) associated with the connection and the CE.
[0051] The weight values and / or thresholds of the DNN 112 may be initially selected prior to training, and may be further iteratively adjusted or modified during training to achieve an optimal set of weight values and / or thresholds in the trained DNN 112. After each iteration, a difference (also referred to as a loss function) between the actual output generated by the DNN 112 and the target output associated with the corresponding data training set may be determined. The difference may be referred to as an error value. When the cost or loss function indicating the error value is less than a predetermined value, or when a limited change in performance between iterations is achieved, it may be determined that the training has been completed. Optionally, at least some of the DNN subnets (if any) may be trained separately before training the entire DNN 112.
[0052] The system 103 is configured to receive input data via an input interface 105, which may include data generated by an inspection tool (and / or derivatives thereof and / or metadata associated therewith) and / or data generated and / or stored in one or more data repositories 109 and / or CAD servers 110 and / or other relevant data repositories. It is noted that the input data may include images (e.g., captured images, images derived from captured images, simulated images, synthesized images, etc.) and associated scalar data (e.g., metadata, artifacts, etc.). It is further noted that the image data may include data related to a layer of interest and / or to one or more other layers of the sample.
[0053] After processing the input data (e.g., low-resolution image data and / or high-resolution image data, optionally together with other data (e.g., design data, synthesis data, etc.), the system 103 can send the results (e.g., instruction-related data 123 and / or 124) to any of the inspection tools via the output interface 106, store the results (e.g., defect attributes, defect classification, etc.) in the storage system 107, render the results via the GUI 108, and / or send the results to an external system (e.g., a yield management system (YMS) of the FAB). The GUI 108 can be further configured to implement user-specified input related to the system 103.
[0054] As a non-limiting example, the sample may be inspected by one or more low-resolution inspection machines 101 (e.g., an optical inspection system, a low-resolution SEM, etc.). The resulting data (low-resolution image data 121) providing information of a low-resolution image of the sample may be transmitted to the system 103 directly or via one or more intermediate systems. Alternatively or additionally, the sample may be inspected by a high-resolution machine 102 (e.g., a subset of potential defect locations selected for inspection may be inspected by a scanning electron microscope (SEM) or an atomic force microscope (AFM). The resulting data (high-resolution image data 122) providing information of a high-resolution image of the sample may be transmitted to the system 103 directly or via one or more intermediate systems.
[0055] Note that image data may be received and processed along with metadata associated therewith (eg, pixel size, text description of defect type, parameters of the image capture process, etc.).
[0056] Those skilled in the art will readily appreciate that the teachings of the presently disclosed subject matter are not limited to Figure 1 The system constraints shown in ; equivalent and / or modified functions may be combined or divided in another manner, and may be implemented in any appropriate combination of software and firmware and / or hardware.
[0057] Without limiting the scope of the present disclosure in any way, it should also be noted that the inspection tool can be implemented as various types of inspection machines, such as optical imaging machines, electron beam inspection machines, etc. In some cases, the same inspection tool can provide low-resolution image data and high-resolution image data. In some cases, at least one inspection tool can have metrology capabilities.
[0058] Please note, Figure 1 The inspection system shown in can be implemented in a distributed computing environment, where Figure 1 The aforementioned functional modules shown in the figure may be distributed across several local and / or remote devices and may be linked via a communication network. It should be further noted that in another embodiment, at least some of the inspection tools 101 and / or 102, the data repository 109, the storage system 107 and / or the GUI 108 may be external to the inspection system 100 and operate in data communication with the system 103 via the input interface 105 and the output interface 106. The system 103 may be implemented as (multiple) stand-alone computers for use in conjunction with the inspection tools. Alternatively, the corresponding functions of the system may be at least partially integrated with one or more inspection tools.
[0059] Now turn your attention to Figure 2 A method includes obtaining (reference numeral 200) a segmented image of a sample (eg, from a region of the sample). Figure 2A A non-limiting example of a segmented image 280 is provided in Figure 2A As can be seen in FIG. 2 , the segmented image 280 includes a plurality of first structural elements (281). The structural elements include (the examples provided are not limiting) gates, transistors, contacts, or portions of these elements. The nature and / or shape of the structural elements may be different in the images.
[0060] According to some embodiments, the segmented image is already available and obtained, for example, from a database or from any suitable source. According to some embodiments, operation 200 may include performing segmentation of the image of the sample. This may include segmenting the image of the sample into groups of pixels belonging to the same object, thereby identifying continuous regions corresponding to different structural elements.
[0061] The method includes obtaining (reference numeral 210 ) a reference image of a semiconductor sample. Figure 2BA non-limiting example of a reference image 285 is provided in . The reference image includes a second structural element 286. The reference image is an image of a reference area of a sample (e.g., a die, a unit, etc.), where the corresponding image data is verified to represent a reference area that is free of defects and process variations. In other words, this image can be considered a model / reference. There are many ways to generate a reference image. According to some embodiments, the reference image is generated based on design data. According to some embodiments, the reference image can be simulated using CAD data. According to some embodiments, the reference image may correspond to a segmented image that is verified by a user to be free of defects and process variations. These methods are not limiting.
[0062] The segmented image may be comparable to a reference image (e.g., die to database, etc.) and provide information of a region of a semiconductor sample. The segmented image should provide information of a plurality of defects associated with a region. The region is configured to satisfy similarity criteria with respect to a reference region and may belong to the same or different semiconductor samples. For example, the similarity criteria may define, for example, that a region and a reference region correspond to the same physical component or to similar regions of a semiconductor sample (e.g., similar die, cell, etc.).
[0063] Note that in order to ensure compatibility between the images, at least one segmented image (or an image from which a segmented image has been generated) and the reference image may undergo a registration process.
[0064] Assume that a given pair of elements comprises a first structuring element of the segmented image and a corresponding second structuring element of the reference image. In general, for a given pair, the second structuring element represents the desired shape of the first structuring element, or at least represents a good approximation of such a desired shape.
[0065] The identification of a given pair of elements may comprise, for example, clustering different first structure elements into clusters comprising structure elements having similar shapes.The same process may be applied to the reference image. Figure 2C An illustrative example is provided in where four different clusters have been identified.
[0066] Based on this clustering, and based on the positions of the first and second structuring elements in their respective images, a plurality of element pairs may be identified, each element pair comprising a first structuring element of the segmented image and a corresponding second structuring element of the reference image.
[0067] Return to Figure 2 The method may include, for at least one pair of elements including a first structure element and a corresponding second structure element, determining (operation 220) data D providing information on a spatial transformation required to match the elements of the pair according to a matching criterion 空间The matching criteria may include, for example, that elements should match with a difference less than a threshold value (if such a situation is possible), or that elements should match as closely as possible. 空间 Various embodiments of the present invention.
[0068] According to some embodiments, the method further comprises, for at least one pair of elements, using D 空间 Determining (operation 230) whether a first structural element of the segmented image includes a defect. According to some embodiments, the method includes (operation 230) using at least D 空间 To determine data providing information on the edge roughness of the first structure element. An example will be provided below.
[0069] Now turn your attention to Figure 3 .
[0070] Assume that a given element pair (including a first structure element and a corresponding second structure element) is obtained (see operation 300). According to some embodiments, determine D 空间 The same spatial transformation is included (as explained with reference to operation 220) to be applied to a plurality of pixels of the element of the pair (particularly, to be applied to pixels present on the outline of the element). In other words, all pixels of the element to which the spatial transformation is applied undergo a common and unique spatial transformation (the spatial transformation between the X-axis and the Y-axis may be different).
[0071] According to some embodiments, the spatial transformation may include at least one of a translation and a dilation (wherein the polygon may grow or shrink), or a combination of multiple of these operations.
[0072] According to some embodiments, a spatial transformation to be applied to the second structure element is determined in order to cause the elements of the pair to match. According to other embodiments, a spatial transformation to be applied to the first structure element is determined in order to cause the elements of the pair to match.
[0073] Figure 3A A non-limiting example is provided in , depicting a first structuring element 381 and a corresponding second structuring element 386. A spatial transformation may be determined and applied, for example, to the second structuring element 386. The output of this spatial transformation is a corrected element 387. As shown in Figure 3A As can be seen in , applying the same spatial transformation to the pixels of the outline of the second structure element 386 provides a corrected element 387.
[0074] The corrected element 387 represents the "ideal" shape of the second structuring element 386 (particularly eliminating or at least reducing disturbances present in the outline, such as process variations), and can be used for various applications. For example, since the noise present in the outline of the first structuring element is cancelled or at least reduced, the corrected element can be used to determine the distance between the corrected element and other elements of the image, or to better determine the total area covered by the first structuring element. Other possible applications are described below (particularly the detection of defects, the determination of data providing information on edge roughness).
[0075] Now turn your attention to Figure 3B According to some embodiments, the method may further comprise (in addition to operations 300 and 310 already described above) determining (operation 320) data D representing the magnitude of the spatial transformation 幅值 For example, in Figure 3A In the figure, D along the X axis 幅值 may be represented by data providing information of distance 390 and / or distance 391 (in some embodiments, this distance may be normalized relative to the size of the second structure element before spatial transformation). Similarly, D along the Y axis 幅值 The distance 392 and / or the distance 393 may be represented by data that provides information (in some embodiments, this distance may be normalized relative to the size of the second structure element before the spatial transformation). According to some embodiments, the distance 392 and / or the distance 393 may be represented by data that provides information (in some embodiments, this distance may be normalized relative to the size of the second structure element before the spatial transformation). 幅值 and D along the Y axis 幅值 To determine D 幅值 However, this is not restrictive.
[0076] According to some embodiments, it is assumed that the spatial transformation can be modeled by an affine equation:
[0077] X 校正 =S X X ref +T X
[0078] Y 校正 =S Y X ref +T Y
[0079] In this equation, X ref (Correspondingly, Y ref ) is the position of the pixel of the second structural element along the X axis (respectively, the Y axis), and X 校正 (Correspondingly, Y 校正 ) is the pixel position of the corrected element along the Y axis. X (Correspondingly, S Y) is the scale factor of the spatial transformation along the X-axis (correspondingly, the Y-axis). X (Correspondingly, T Y ) is the translation factor of the spatial transformation along the X-axis (respectively, the Y-axis).
[0080] The method may further include at least based on D 幅值 To determine (operation 330) data providing information about a defect in the first structural element. In particular, if D 幅值 does not meet the criteria (e.g., it is above the threshold or below the threshold, depending on D 幅值 In some embodiments, if D along the X-axis is 幅值 and D along the Y axis 幅值 If at least one of S does not meet the criteria, this may indicate a defect. X , S Y 、T X and T Y At least one of the above is compared with a threshold value to determine whether there is a defect (particularly, a value higher than S X and / or S Y The value of the threshold value may indicate the presence of a defect). According to some embodiments, operation 330 may include providing a first likelihood (eg, probability P1) that a defect exists. D 幅值 According to some embodiments, the first possibility can be determined based on 幅值 The first possibility is generated based on the result of the comparison with a standard (such as a threshold).
[0081] Figure 3B The method can be applied iteratively to a plurality of element pairs (see reference numeral 340), each element pair comprising a first structural element of the segmented image and a corresponding second structural element of the reference image. This provides a first probability that a defect exists in the first structural element for each element pair.
[0082] According to some embodiments, for each of a plurality of pairs of elements, data D representing the magnitude of the spatial transformation required to match the elements of the pair are determined. 幅值 Therefore, we get D 幅值 The distribution of various values of . Generally speaking, the obtained D 幅值 Most of the values of are within the same range, with only a few values outside this range. Defect identification can include identifying D 幅值 Irregular values that are outside the interval of the majority of the population. Figure 3C A non-limiting example is shown in FIG. 幅值 Most of the values of lie in the same interval 360. Two values 340 and 350 are outside the interval 360 and are identified as corresponding to defects.
[0083] Now turn your attention to Figure 4 , depicts a method of determining a spatial transformation required to align two structuring elements of a pair. The method may include obtaining (400) data providing information about the positions of a first plurality of pixels of a first structuring element. In particular, this may correspond to pixels located on a contour of the first structuring element. The method may include obtaining (410) data providing information about the positions of a second plurality of pixels of a second structuring element. In particular, this may correspond to pixels located on a contour of the second structuring element.
[0084] The method may further include determining (420) data D representing a correspondence relationship between the first plurality of pixels and the second plurality of pixels 对应 In other words, for each given pixel of the first structuring element (respectively, the second structuring element), an attempt is made to determine to which pixel of the second structuring element (respectively, the first structuring element) it corresponds.
[0085] According to some embodiments, D 对应 The method is based on at least one of the following items: the position of at least some of the first plurality of pixels and the second plurality of pixels, and data providing information on the local shape of at least one of the first structure element and the second structure element. If a given pixel of the first structure element and a given pixel of the second structure element have positions that correspond according to the standard, there is a possibility that the two pixels correspond to each other. In order to further improve this correspondence, the local shape can also be taken into account. This can be Figure 4A is shown in the non-limiting example of.
[0086] exist Figure 4A In , an attempt is made to determine the pixel of the first structuring element 481 that corresponds to the pixel 450 of the second structuring element 486. If only the relative positions of the pixels are considered, the pixel 460 is the pixel of the first structuring element 481 that best corresponds to the pixel 450. However, as in Figure 4A As can be seen in FIG. 4 , in this particular case, pixel 455 better corresponds to pixel 450. By also taking into account the matching of the shapes of the first and second structuring elements, it can be determined that pixel 455 best corresponds to pixel 450, even though pixel 455 is farther from pixel 450 than pixel 460.
[0087] According to some embodiments, the local shape may include a direction orthogonal to the contour of at least one of the first structure element and the second structure element. This direction is also referred to as the normal to the contour. Figure 4A, the normal line of the contour of the second structural element 486 near the pixel 450 is indicated by an arrow 490, the normal line of the contour of the first structural element 481 near the pixel 455 is indicated by an arrow 491, and the normal line of the contour of the first structural element 481 near the pixel 460 is indicated by an arrow 492. Figure 4A As can be seen, the degree of matching between normal 490 and normal 491 is higher than that between normal 492.
[0088] According to some embodiments, the data providing information about the local shape of at least one of the first and second structuring elements comprises a curvature of at least one of the first and second structuring elements. For example, the local curvature of the contour of the element around the inspected pixel may be determined. Figure 4A 4, where a local curvature 496 is determined for pixel 493, and a local curvature 495 is determined for pixel 494. Other data providing information on the local shape may be determined as desired.
[0089] According to some embodiments, a cost function may be determined in order to determine the correspondence between the first plurality of pixels and the second plurality of pixels. The cost function may express the level of correspondence between pixel P1 (from the first structural element) and pixel P2 (from the second structural element), for example, based on the Euclidean distance between P1 and P2 and the difference between data providing information about the local shape of pixel P1 and data providing information about the local shape of pixel P2.
[0090] return Figure 4A Once D has been determined 对应 , you can use D 对应 Determine D 空间 In fact, due to D 对应 The pixel pairs indicating the first and second structuring elements correspond to each other, and thus D can be determined by determining the spatial transformation required to ensure spatial matching of these pixel pairs. 空间 .
[0091] According to some embodiments, and as described above, the spatial transformation is expressed as a single transformation (e.g., an affine function) to apply similarity to the pixels of the second structure element in order to obtain a corrected element that matches the first structure element. A non-limiting modeling of such a spatial transformation is provided below:
[0092]
[0093] In this expression, X Seg and Y Seg is the spatial coordinate of the first pixel of the first structuring element, X Ref and Y Refis the spatial coordinate of the second pixel of the second structure element, where the first pixel and the second pixel have been 对应 are identified as corresponding to each other. x , S y 、T x and T y are the parameters of the affine transformation to be determined.
[0094] Because based on D 对应 Multiple matching pixel pairs can be obtained, so a global optimization problem can be solved, which can be expressed as follows (not limited to this):
[0095]
[0096] In this expression, for D 对应 For each pair of pixels "p", and are the spatial coordinates of the first pixel of the first structuring element, and and is the spatial coordinate of the second pixel (corresponding to the first pixel) of the second structure element.
[0097] Once the parameters of the spatial transformation have been determined, the method may comprise outputting the corrected element. According to some embodiments, the spatial transformation is applied to the second structure element (of the reference image) in order to obtain the corrected element. For example, in Figure 3A , the second structure element 386 (after the spatial transformation) is transformed into a corrected element 387. This is not limiting, and in other embodiments, a spatial transformation is determined and applied to the first structure element in order to obtain a corrected element.
[0098] For each of a plurality of element pairs including a first structural element of the segmented image and a corresponding second structural element of the reference image, iteratively repeating Figure 4 Thus, a corrected image (including all corrected elements) can be generated. Figure 4B A non-limiting example is shown in , where image 498 is converted into a corrected image 499 .
[0099] Now turn your attention to Figure 5. Assume that for a pair including a first structuring element of a segmented image and a corresponding second structuring element of a reference image, the second structuring element has been modified into a corrected element (operation 500), as explained in the various embodiments above. The method may include determining, for each pixel of a plurality of pixels of the first structuring element of the pair, a distance (e.g., a Euclidean distance) between the pixel and a corresponding pixel of the corrected element of the pair (operation 510). The corresponding pixel is, for example, obtained from the corresponding pixel provided between the first structuring element and the corresponding second structuring element in operation 420 (see Figure 4 ). Since the corrected element includes the pixels of the second structure element after a geometric transformation (e.g., translation / expansion), the corresponding pixels of the first structure element and the corrected element are known. However, this is not limiting.
[0100] According to some embodiments, for each pixel of the plurality of pixels of the first structure element, a distance between the pixel and a corresponding pixel of the corrected element is determined. Thus, a distribution of values of the distances is obtained (hereinafter referred to as “distance distribution”, see e.g. Figure 5B ).
[0101] This distance distribution can be used in various applications.
[0102] According to some embodiments, the distance distribution may be used to determine data providing information about edge roughness of the first structural element (see operation 514). In fact, since the profile of the corrected element is generally free of process variations, it may be used as a reference for determining data providing information about edge roughness in the profile of the first structural element.
[0103] According to some embodiments, the distance distribution may be used to determine data providing information about a defect in the first structure element (operation 515). In some embodiments, this distance distribution may be used to detect that the distance corresponds to an anomaly (defect, see e.g. Figure 5A )’s specific pixels.
[0104] According to some embodiments, the distance distribution may be used both for determining data providing information about an edge roughness of the first structure element and for determining data providing information about defects in the first structure element.
[0105] Figure 5A A non-limiting example is shown in FIG. Assume that a first structure element is denoted as element 520, and assume that a corrected element (associated with the first structure element) is denoted as element 530. A plurality of distances 540 between corresponding pixels are calculated. As described above, this may be performed for a plurality of pairs, each pair comprising the first structure element and the corresponding corrected element. For each pair, a distribution 560 of distances may be obtained, such as Figure 5B shown.
[0106] Since the majority of pixels have a small distance between the first structure element and the corrected element, the distribution is generally centered around a value (main peak) close to zero. Determining data providing information about edge roughness may include, for example, determining a standard deviation (reference numeral 580, or other relevant statistical data) associated with the main peak 561 of the distance distribution 560.
[0107] A second peak 570 is visible in the distribution, centered at a given negative value of the distance. This second peak does not match the distance distribution associated with the majority of the pixels, so it can be identified that all pixels belonging to this second peak correspond to defects. Figure 5A In the specific example of , peak 570 corresponds to pixel 535 (for which there is an intrusion in first structure element 520 relative to corrected element 530 ).
[0108] Identification of pixels that are defects may include determining statistics that provide information about the distances of pixels that are a "majority" of the population. For example, such statistics may include, for example, a standard deviation (STD) 580, such as Figure 5B As shown. The threshold can be set based on statistical data. For example, any pixel with an absolute value of the distance higher than N*STD (N can be selected by the operator, for example, N=3) is considered to be a defect. Figure 5B 5 , where peak 570 corresponds to pixels associated with distances above threshold 590 .
[0109] Already referenced Figure 3B It is explained that the transformation can be determined so as to match the first structure element and the second structure element. The data (D) providing information on the magnitude of the transformation 幅值 ) can be used to detect the presence of a defect in the first structural element. When a defect exists in the first structural element (for example, the defect is a local protrusion), D 幅值 does not necessarily indicate a defect and, therefore, Figure 5 The method of may help detect such local defects. However, this is not limiting.
[0110] Figure 5 The method may provide various information such as, for each pixel identified as being a defect, the distance of the pixel from the pixel of the corrected element, the sign of the distance (which indicates whether there is an intrusion or extrusion), etc. In some embodiments, this information may be output to the user.
[0111] Now turn your attention to Figure 6 As explained with reference to the various embodiments above, once for each first structural element (see e.g. Figure 3 ) Once the corrected elements are obtained (operation 600), various processing tasks may be performed to detect defects.
[0112] According to some embodiments, and as referenced Figure 3B As described above, the data providing the information of the transformation (and in particular the magnitude of the transformation D) required to match the corrected element to the first structure element is 幅值 ) can be used to detect defects. As explained above, for each given first structure element of the plurality of first structure elements, the data providing information of the transformation can be used to determine the likelihood of a defect existing in the given first structure element.
[0113] According to some embodiments, and as explained above, the Figure 5 The method for detecting the presence of defects, wherein the distances between corresponding pixels of a first structure element and a corrected element (generated, for example, after correction of a second structure element) are determined, thereby generating a distance distribution (see, for example Figure 5B ).
[0114] Therefore, and as Figure 6 As shown (see operation 610), for a given pair including a first structure element and a second structure element, a likelihood (e.g., probability) of a defect in the first structure element can be calculated based on the magnitude of the transformation required to match the elements of the pair and / or based on the distribution of distances between corresponding pixels of the first structure element and the corrected element. Based on a comparison between the likelihood and a criterion, a defect can be detected (e.g., if the likelihood is above a threshold, this can indicate a high likelihood of a defect).
[0115] According to some embodiments, assuming that a first defect has been identified at a first location and a second defect has been identified at a second location different from the first location, if the distance between the first location and the second location is below a threshold, the first defect and the second defect may be considered a single defect (a "cluster" of defects) which is output to the user as a single location encompassing both the first location and the second location.
[0116] It should be noted that the various features described in the various embodiments can be combined according to all possible technical combinations. It will be understood that the application of the present invention is not limited to the details set forth in the description contained herein or shown in the accompanying drawings. The present invention can have other embodiments and can be practiced or carried out in various ways. Therefore, it will be understood that the wording and terminology adopted herein are for the purpose of description and should not be regarded as restrictive. Therefore, it will be understood by those skilled in the art that the concepts on which the present disclosure is based can be easily used as the basis for other structures, methods and systems designed for several purposes of carrying out the currently disclosed subject matter. It will be easily understood by those skilled in the art that various modifications and changes can be applied to the embodiments of the present invention as described above without departing from the scope of the present invention in and defined by the appended claims.
Claims
1. A system for semiconductor sample inspection, the system comprising a processor and memory circuit system (PMC), the processor and memory circuit system (PMC) being configured to: obtaining a segmented image of the semiconductor sample, the image comprising a first structure element; A reference image of the semiconductor sample is obtained, the reference image being based on the design data and including a second structural element ; as well as For at least one pair of elements comprising a first structuring element and a corresponding second structuring element: obtaining data providing information of positions of a plurality of pixels of the first structure element; obtaining data providing information of positions of a plurality of pixels of the second structuring element; using at least a portion of the data providing information on positions of a plurality of pixels of the first structural element, at least a portion of the data providing information on positions of a plurality of pixels of the second structural element, and data providing information on a local shape of at least one of the first structural element or the second structural element, to determine data D indicating a correspondence relationship between the plurality of pixels of the first structural element and the plurality of pixels of the second structural element. 对应 , wherein the data providing information on the local shape of at least one of the first structure element or the second structure element comprises at least one of the following: a direction orthogonal to a contour of at least one of the first structure element or the second structure element; or a curvature of at least one of the first structure element or the second structure element; Use Data D 对应 to determine data D providing information of a spatial transformation required to match the positions of the plurality of pixels of the first structure element with the positions of the plurality of pixels of the second structure element according to a matching criterion 空间 ; as well as At least use D 空间 To determine at least one of data providing information about defects in the first structural element or data providing information about edge roughness of the first structural element.
2. The system of claim 1, the system being configured to determine, for the at least one pair, data providing information of a corrected element corresponding to the second structure element after applying the same spatial transformation to a plurality of pixels of the second structure element.
3. The system of claim 2, wherein the spatial transformation comprises at least one of a translation or a dilation.
4. The system of claim 2, wherein the system is configured to: for each pixel of a plurality of pixels of the first structure element of the pair, determining a distance between the pixel and a corresponding pixel of the corrected element of the pair; and Based on the distribution of the distances for a plurality of pixels, data providing information of a defect in the first structure element is determined.
5. The system of claim 2, wherein the system is configured to: for each pixel of a plurality of pixels of the first structure element of the pair, determining a distance between the pixel and a corresponding pixel of the corrected element of the pair; Alternatively, data providing information on edge roughness of the first structure element is determined based on the distribution of the distances for a plurality of pixels.
6. The system of claim 1, wherein the system is configured to: Determine the data D representing the magnitude of the spatial transformation 幅值 , wherein the same spatial transform is applied to the pixels of the elements of the pair; and At least based on D 幅值 to determine data providing information about defects in said first structural element.
7. The system of claim 1 , wherein determining data providing information of the spatial transformation comprises using at least one weight attributed to at least some pixels of the first structure element and the second structure element, the weight being based on data D 对应 to be sure.
8. The system of claim 1, the system being configured to, for each of a plurality of pairs: determining data providing information corresponding to a corrected element of the second structure element after applying the same spatial transform to a plurality of pixels of the second structure element; and The possibility of a defect in the first structural element is determined based on at least one of the following: data providing information on the magnitude of said spatial transformation; Or the distance between a pixel of the first structure element and a corresponding pixel of the corrected element of the pair.
9. The system of claim 1, wherein the system is configured to: When a defect at a first position in a first structural element is detected and a defect at a second position in the first structural element is detected, if the distance between the first position and the second position is below a threshold, data indicating a single defect for both the first position and the second position is output.
10. A method for semiconductor sample inspection, the method comprising: obtaining a segmented image of the semiconductor sample, the image comprising a first structure element; obtaining a reference image of the semiconductor sample, the reference image being based on design data and comprising a second structure element; as well as For at least one pair of elements comprising a first structuring element and a corresponding second structuring element: obtaining data providing information of positions of a plurality of pixels of the first structure element; obtaining data providing information of positions of a plurality of pixels of the second structuring element; using at least a portion of the data providing information on positions of a plurality of pixels of the first structural element, at least a portion of the data providing information on positions of a plurality of pixels of the second structural element, and data providing information on a local shape of at least one of the first structural element or the second structural element, to determine data D indicating a correspondence relationship between the plurality of pixels of the first structural element and the plurality of pixels of the second structural element. 对应 , wherein the data providing information on the local shape of at least one of the first structure element or the second structure element comprises at least one of the following: a direction orthogonal to a contour of at least one of the first structure element or the second structure element; or the curvature of at least one of the first structure element or the second structure element, Use Data D 对应 to determine data D providing information of a spatial transformation required to match the positions of the plurality of pixels of the first structure element with the positions of the plurality of pixels of the second structure element according to a matching criterion 空间 ; as well as At least use D 空间 To determine at least one of data providing information about defects in the first structural element or data providing information about edge roughness of the first structural element.
11. The method of claim 10, comprising determining, for the at least one pair, data providing information corresponding to a corrected element of the second structure element after applying the same spatial transformation to a plurality of pixels of the second structure element.
12. The method of claim 11, comprising, for said at least one pair: for each pixel of a plurality of pixels of the first structure element of the pair, determining a distance between the pixel and a corresponding pixel of the corrected element of the pair; and Based on the distribution of the distances for a plurality of pixels, data providing information of a defect in the first structure element is determined.
13. The method of claim 11, comprising, for said at least one pair: for each pixel of a plurality of pixels of the first structure element of the pair, determining a distance between the pixel and a corresponding pixel of the corrected element of the pair; and Based on the distribution of the distances for a plurality of pixels, data providing information on the edge roughness of the first structure element are determined.
14. The method according to claim 10, include: Determine the data D representing the magnitude of the spatial transformation 幅值 , where the same spatial transformation is applied to the pixels of the elements of the pair; as well as At least based on D 幅值 to determine data providing information about defects in said first structural element.
15. The method of claim 10, comprising being configured to, for each of a plurality of pairs: determining data providing information corresponding to a corrected element of the second structure element after applying the same spatial transform to a plurality of pixels of the second structure element; and The possibility of a defect in the first structural element is determined based on at least one of the following: data providing information on the magnitude of said spatial transformation; Or the distance between a pixel of the first structure element and a corresponding pixel of the corrected element of the pair.
16. A non-transitory computer-readable medium comprising instructions that, when executed by a processor and memory circuitry (PMC), cause the PMC to perform operations comprising: obtaining a segmented image of a semiconductor sample, the image comprising a first structure element; A reference image of the semiconductor sample is obtained, the reference image being based on the design data and including a second structural element ; as well as For at least one pair of elements comprising a first structuring element and a corresponding second structuring element: obtaining data providing information of positions of a plurality of pixels of the first structure element; obtaining data providing information of positions of a plurality of pixels of the second structuring element; using at least a portion of the data providing information on positions of a plurality of pixels of the first structural element, at least a portion of the data providing information on positions of a plurality of pixels of the second structural element, and data providing information on a local shape of at least one of the first structural element or the second structural element, to determine data D indicating a correspondence relationship between the plurality of pixels of the first structural element and the plurality of pixels of the second structural element. 对应 , wherein the data providing information on the local shape of at least one of the first structure element or the second structure element comprises at least one of the following: a direction orthogonal to a contour of at least one of the first structure element or the second structure element; or a curvature of at least one of the first structure element or the second structure element; Use Data D 对应 to determine data D providing information of a spatial transformation required to match the positions of the plurality of pixels of the first structure element with the positions of the plurality of pixels of the second structure element according to a matching criterion 空间 ; as well as At least use D 空间 To determine at least one of data providing information about defects in the first structural element or data providing information about edge roughness of the first structural element.
Citation Information
Patent Citations
Defect detection and classification based on attributes determined from a standard reference image
CN105960702A
Systems and methods for region-adaptive defect detection
CN108352063A
