DEFECT DETECTION APPARATUS, DEFECT DETECTION METHOD, IMAGE PROCESSING APPARATUS, AND IMAGE PROCESSING PROGRAM
The defect detection device improves sensitivity in die-to-die inspection by using image processing techniques to differentiate between minute defects and pseudo defects through cluster ratio analysis, enhancing detection accuracy and reducing false positives.
Patent Information
- Application Number
- JP2021066331
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-04-09
- Publication Date
- 2024-09-19
- Estimated Expiration
- 2041-04-09
AI Technical Summary
In die-to-die inspection, minute defects are often misdetected as pseudo defects due to equipment or process differences, reducing the sensitivity for detecting actual minute defects.
A defect detection device and method that utilizes an imaging optical system and image processing to generate difference images, binary maps, and area filter maps, calculating a cluster ratio to distinguish between minute defects and pseudo defects using a specific formula.
Enhances the detection sensitivity for minute defects by accurately distinguishing them from pseudo defects, allowing for real-time detection and suppression of false positives.
Smart Images

Figure 0007554154000003 
Figure 0007554154000011 
Figure 0007554154000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a defect detection device, a defect detection method, an image processing device, and an image processing program. [Background technology]
[0002] As semiconductor process nodes become finer, there is an urgent need to further improve the sensitivity of mask inspection. Methods for inspecting masks for foreign particles include die-to-die inspection and mask-to-mask inspection.
[0003] Die-to-Die inspection is a method of detecting defects from the difference in brightness between a normal die image and a die image containing a defect, for example. The difference in brightness is also called a difference. In the die-to-die inspection, adjacent dies in a plurality of dies provided on a mask may be compared to detect defects from the difference. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2018-084587 A [Patent Document 2] JP 2018-084588 A [Patent Document 3] JP 2017-003274 A Summary of the Invention [Problem to be solved by the invention]
[0005] In die-to-die inspection, differences other than foreign matter, such as differences caused by equipment and processes, may be erroneously detected as false defects. Specifically, in die-to-die inspection, large defects can be detected relatively easily because the differences between images and the sizes (difference distribution) are large. However, since the differences between images and the sizes of small defects are small, when attempting to detect them, minute differences caused by equipment are detected as false defects. This reduces the detection sensitivity for minute defects.
[0006] The object of the present invention is to solve such problems, and to provide a defect detection device, a defect detection method, an image processing device, and an image processing program that can eliminate false defects caused by minute differences due to the device and improve the detection sensitivity of minute defects. [Means for solving the problem]
[0007] A defect detection device according to one aspect of the present embodiment includes an imaging optical system that images a sample, and an image processing device that processes an image captured by the imaging optical system. The image processing device includes an image acquisition unit that acquires a first image that images a defect candidate region of the sample and a second image that images a region corresponding to the defect candidate region, a difference image generation unit that calculates a difference between each luminance of a plurality of pixels included in the first image and each luminance of a plurality of pixels included in the second image to generate a difference image including a plurality of pixels having each difference value, and a binary map generation unit that converts the difference values of the plurality of pixels included in the difference image into a first value greater than a predetermined difference threshold or a second value equal to or less than the difference threshold to generate a binary map. an area filter map generation unit that generates an area filter map in which an area is output as a cluster when a number of pixels of the first value in the area to which the area filter is applied is equal to or greater than a number set as an area count number when performing convolution using an area filter over the plurality of pixels included in the binary map in order for each area including a plurality of adjacent pixels set as an area size number; and a cluster ratio calculation unit that calculates a cluster ratio according to the following formula (A) when the number of the clusters in the area filter map is set as a cluster number and a correction coefficient is set as a coefficient proportional to a ratio of the area count number to the area size number: Cluster ratio = (number of clusters × correction coefficient) / (number of pixels with the first value in the binary map) (A) a defect determination unit that determines that a defect exists in the defect candidate area when the following formula (B) is satisfied; 0<cluster ratio≦predetermined ratio upper limit (B) has.
[0008] In the above-mentioned defect detection device, the area may include the pixels arranged in the same number in the row direction and the column direction, and the area filter may perform convolution by moving one row or one column at a time in at least one of the row direction and the column direction.
[0009] In the above defect detection apparatus, the upper limit of the proportion may be set using a sample on which the number of micro defects has been detected in advance.
[0010] The above-mentioned defect detection device may further include a defect candidate detection section that detects the defect candidate area including pixels having a predetermined difference value from the image captured by the imaging optical system.
[0011] A defect detection processing method according to one aspect of the present embodiment includes an imaging step of imaging a sample, and an image processing step of processing the imaged image, the image processing step including an image acquisition step of acquiring a first image of a defect candidate area of the sample and a second image of an area corresponding to the defect candidate area, a difference image generation step of generating a difference image including a plurality of pixels having respective difference values by calculating differences between the luminance of each of a plurality of pixels included in the first image and the luminance of each of a plurality of pixels included in the second image, and a binary map generation step of converting the difference values of the plurality of pixels included in the difference image into a first value greater than a predetermined difference threshold or a second value equal to or less than the difference threshold to generate a binary map. a generating step, an area filter map generating step of generating an area filter map in which an area is output as a cluster when a number of pixels of the first value in the area to which the area filter is applied is equal to or greater than a number set as an area count number when convolution using an area filter is performed over the plurality of pixels included in the binary map in order for each area including a plurality of adjacent pixels set as an area size number, and a cluster ratio calculating step of calculating a cluster ratio according to the following formula (A) when the number of the clusters in the area filter map is set as a cluster number and a correction coefficient is set as a coefficient proportional to a ratio of the area count number to the area size number, Cluster ratio = (number of clusters × correction coefficient) / (number of pixels with the first value in the binary map) (A) a defect determination step of determining that a defect exists in the defect candidate area when the following formula (B) is satisfied; 0<cluster ratio≦predetermined ratio upper limit (B) has.
[0012] An image processing device according to one aspect of the present embodiment includes an image acquisition unit that acquires a first image of a defect candidate area of a sample and a second image of an area corresponding to the defect candidate area, a difference image generation unit that calculates differences between the luminance of each of a plurality of pixels included in the first image and the luminance of each of a plurality of pixels included in the second image to generate a difference image including a plurality of pixels having each difference value, a binary map generation unit that converts the difference values of the plurality of pixels included in the difference image into a first value that is greater than a predetermined difference threshold or a second value that is equal to or less than the difference threshold to generate a binary map, and a plurality of adjacent pixels set as an area size number. an area filter map generating unit that generates an area filter map in which an area is output as a cluster when the number of pixels of the first value in the area to which the area filter is applied is equal to or greater than a number set as an area count number when convolution using an area filter is performed over the plurality of pixels included in the binary map in order for each area including a pixel having a first value; and a cluster ratio calculating unit that calculates a cluster ratio according to the following formula (A) when the number of the clusters in the area filter map is set as a cluster number and a correction coefficient is set as a coefficient proportional to a ratio of the area count number to the area size number: Cluster ratio = (number of clusters × correction coefficient) / (number of pixels with the first value in the binary map) (A) a defect determination unit that determines that a defect exists in the defect candidate area when the following formula (B) is satisfied; 0<cluster ratio≦predetermined ratio upper limit (B) Equipped with.
[0013] A defect detection processing program according to one aspect of the present embodiment includes an image acquisition step of acquiring a first image of a defect candidate area of a sample and a second image of an area corresponding to the defect candidate area, a difference image generation step of generating a difference image including a plurality of pixels having each difference value by calculating a difference between each luminance of a plurality of pixels included in the first image and each luminance of a plurality of pixels included in the second image, a binary map generation step of converting the difference values of the plurality of pixels included in the difference image into a first value greater than a predetermined difference threshold or a second value equal to or less than the difference threshold to generate a binary map, and an area filter map generating step of generating an area filter map in which an area is output as a cluster when the number of pixels of the first value in the area to which the area filter is applied is equal to or greater than a number set as an area count number when convolution using an area filter is performed over the plurality of pixels included in the binary map in order for each area including a number of adjacent pixels; and a cluster ratio calculating step of calculating a cluster ratio according to the following formula (A) when the number of the clusters in the area filter map is set as a cluster number and a correction coefficient is set as a coefficient proportional to a ratio of the area count number to the area size number. Cluster ratio = (number of clusters × correction coefficient) / (number of pixels with the first value in the binary map) (A) a defect determination step of determining that a defect exists in the defect candidate area when the following formula (B) is satisfied; 0<cluster ratio≦predetermined ratio upper limit (B) to be executed by the computer. Effect of the Invention
[0014] According to the present invention, it is possible to provide a defect detection device, a defect detection method, an image processing device, and an image processing program that can eliminate false defects due to minute differences caused by the device and improve the detection sensitivity of minute defects. [Brief description of the drawings]
[0015] [Figure 1] 1 is a configuration diagram illustrating a defect detection device according to an embodiment; [Diagram 2] 1 is a block diagram illustrating an image processing apparatus according to an embodiment. [Diagram 3] 5A to 5C are diagrams illustrating images acquired by an image acquisition unit and a difference image generated by a difference image generation unit according to the embodiment. [Figure 4] 4A to 4C are diagrams illustrating an example of a difference image generated by a difference image generation unit and a binary map generated by a binary map generation unit according to the embodiment; [Diagram 5] 11A and 11B are diagrams illustrating a binary map generated by a binary map generating unit and an area filter map generated by an area filter map generating unit according to an embodiment. [Figure 6] 11 is a diagram illustrating a differential distribution of micro defects according to the embodiment; [Figure 7] 11A and 11B are diagrams illustrating a difference distribution due to defocus according to the embodiment. [Figure 8] FIG. 4 is a flowchart illustrating a defect detection method of the defect detection device according to the embodiment. [Figure 9] 1 is a flowchart illustrating an image processing method of an image processing device according to an embodiment. [Figure 10] 1 is a graph illustrating a simulation result according to an embodiment, in which the horizontal axis indicates the upper limit ratio setting value, and the vertical axis indicates the number of false defects that remain without being removed and the number of micro defects that remain without being removed. [Figure 11] 1 is a graph illustrating a simulation result according to an embodiment, in which the horizontal axis indicates the upper limit ratio setting value, and the vertical axis indicates the number of false defects that remain without being removed and the number of micro defects that remain without being removed. [Figure 12] 1 is a graph illustrating a simulation result according to an embodiment, in which the horizontal axis indicates the upper limit ratio setting value, and the vertical axis indicates the number of false defects that remain without being removed. [Figure 13] 1 is a graph illustrating a simulation result according to an embodiment, in which the horizontal axis indicates the upper limit ratio setting value, and the vertical axis indicates the number of false defects that remain without being removed. [Figure 14] 1 is a diagram illustrating an example of an image processed by an image processing device according to an embodiment; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] The specific configuration of this embodiment will be described below with reference to the drawings. The following description shows a preferred embodiment of the present invention, and the scope of the present invention is not limited to the following embodiment. In the following description, parts with the same reference numerals indicate substantially the same contents.
[0017] (Embodiment) A defect detection device according to an embodiment will be described. First, the configuration of the defect detection device will be described, followed by the configuration of the image processing device. Then, a defect detection method using the defect detection device will be described, followed by the image processing method using the image processing device.
[0018] <Configuration of defect detection device> FIG. 1 is a configuration diagram illustrating a defect detection device according to an embodiment. As shown in FIG. 1, the defect detection device 1 includes an imaging optical system 10, a defect candidate detection unit 20, an image processing device 30, a display device 40, and a stage 50. Here, for convenience of explanation of the defect detection device 1, an XYZ Cartesian coordinate system is introduced. The direction perpendicular to the stage surface 51 of the stage 50 is the Z-axis direction, and the plane perpendicular to the Z-axis direction is the XY plane. For example, the +Z-axis direction is called the upward direction, and the -Z-axis direction is called the downward direction. Note that the terms upward and downward are used for convenience of explanation, and do not indicate the actual arrangement direction of the defect detection device 1.
[0019] The imaging optical system 10 captures an image of a sample 60 placed on a stage surface 51. The imaging optical system 10 includes a light source 11, a beam splitter 12, an objective lens 13, and a detector 14. Note that the imaging optical system 10 shown in FIG. 1 is appropriately simplified. The imaging optical system 10 may be provided with optical elements, lenses, optical scanners, mirrors, filters, beam splitters, and the like other than those configured as described above. For example, the imaging optical system 10 may be a confocal optical system.
[0020] The light source 11 generates illumination light L11. The light source 11 is a lamp light source, an LED (Light Emitting Diode) light source, a laser light source, or the like. The illumination light L11 may be, for example, EUV (Extreme Ultraviolet) light. Note that the illumination light L11 is not limited to EUV light, and may be UV light or visible light. The illumination light L11 from the light source 11 is incident on the beam splitter 12. The beam splitter 12 is, for example, a half mirror, and reflects approximately half of the illumination light L11 toward the sample 60. The illumination light L11 reflected by the beam splitter 12 is incident on the objective lens 13. The optical axis OX of the objective lens 13 is, for example, parallel to the Z-axis direction. The objective lens 13 focuses the illumination light L11 on the sample 60. This makes it possible to illuminate the sample 60.
[0021] A sample 60 to be imaged is placed on the stage 50. The sample 60 is held parallel to the XY plane on the stage surface 51. The thickness direction of the sample 60 is set to the Z-axis direction. The stage 50 is a three-dimensional drive stage having a drive mechanism 52. The image processing device 30 controls the drive mechanism 52 to drive the stage 50 in the X, Y and Z-axis directions.
[0022] The sample 60 is, for example, a photomask or a semiconductor wafer on which a fine pattern 61 is formed, and is held on the stage surface 51. The pattern 61 of the sample 60 is, for example, a light-shielding film.
[0023] The reflected light L12 reflected by the sample 60 is collected by the objective lens 13 and enters the beam splitter 12. The beam splitter 12 transmits approximately half of the reflected light L12. The reflected light L12 that passes through the beam splitter 12 enters the detector 14. This allows the detector 14 to image the sample 60. The objective lens 13 projects an enlarged image of the sample 60 onto the detector 14. A lens or the like may also be provided to form an image of the reflected light L12 on the light receiving surface of the detector 14.
[0024] 1, the defect detection device 1 is a microscope using a bright-field illumination method, but the illumination method of the defect detection device 1 is not particularly limited. For example, when a transmitted illumination method is used, the detector 14 detects transmitted light that has passed through the sample 60. The detection light detected by the detector 14 is not limited to reflected light reflected by the sample 60, and may be transmitted light that has passed through the sample 60.
[0025] The detector 14 has an imaging element for capturing an image of the sample 60. The detector 14 is, for example, a TDI (Time Delay Integration) sensor. The detector 14 may be a CCD (Charge Coupled Device) camera or a CMOS (Complementary Metal Oxide Semiconductor) sensor, etc., as long as it detects reflected light L12 from the sample 60 illuminated with illumination light L11. The detector 14 may have a plurality of pixels arranged in the X-axis direction. The detector 14 may be a line sensor in which a plurality of pixels are arranged in a row.
[0026] The reflectance to the illumination light L11 differs depending on the presence or absence of the pattern 61. For example, in the case of a photomask, the reflectance is high where the pattern 61 is present, and the reflectance is low where the pattern 61 is not present. Therefore, the amount of light received by the detector 14 changes depending on the presence or absence of the pattern 61. The detector 14 outputs a detection signal (detection data) corresponding to the amount of received light for each pixel to the defect candidate detection unit 20 or the image processing device 30.
[0027] The stage 50 is a movable stage and can move the sample 60 in the X, Y and Z axis directions. The defect candidate detection unit 20 and the image processing device 30 can control the drive mechanism 52. The drive mechanism 52 moves the detection area on the sample 60 relatively. By moving the stage 50 in the X, Y and Z axis directions, the illumination position on the sample 60 by the illumination light L11 can be changed.
[0028] Therefore, it is possible to image any position on the sample 60, and to inspect almost the entire surface of the sample 60. Note that the imaging optical system 10 may be driven instead of the stage 50. That is, the relative position of the imaging optical system 10 with respect to the stage 50 may be made movable. Alternatively, the illumination light L11 may be scanned using an optical scanner or the like.
[0029] The defect candidate detection unit 20 detects a defect candidate area including pixels having a predetermined difference from the image captured by the imaging optical system 10. For example, the defect candidate detection unit 20 detects a defect candidate area of a surrounding area that is considered to be a defect or a defect candidate from the difference between an image of one die and an image of the other die in a die-to-die inspection. Note that the defect detection device 1 may not include the defect candidate detection unit 20 and may instead detect the defect candidate area in an image processing device 30 described below.
[0030] The defect candidate detection unit 20 may perform image matching before detecting the defect candidate area. For example, in order to eliminate a positional shift between an image of one die and an image of another die, the positions may be adjusted so that the overall difference becomes a minimum value. Note that the defect candidate detection unit 20 may delete a false defect if the maximum difference value is smaller than a predetermined matching difference threshold. The predetermined matching difference threshold may be set to a value larger than a difference threshold VS described below.
[0031] <Configuration of image processing device> Next, an image processing device 30 that processes an image captured by the imaging optical system 10 will be described. FIG. 2 is a block diagram illustrating the image processing device 30 according to the embodiment. As shown in FIG. 2, the image processing device 30 includes an image acquisition unit 31, a difference image generation unit 32, a binary map generation unit 33, an area filter map generation unit 34, a cluster ratio calculation unit 35, and a defect determination unit 36. The image processing device 30 is, for example, a computer including a GPU (Graphics Processing Unit) and a memory. Each component in the image processing device 30 can be realized, for example, by executing a program. Note that the image processing device 30 is not limited to a GPU, and may be a computer including a CPU (Central Processing Unit), an FPGA (Field-Programmable Gate Array), a microcomputer, or the like.
[0032] The image acquiring unit 31 acquires a first image capturing a defect candidate region of the sample 60 and a second image capturing a region corresponding to the defect candidate region. For example, the image acquiring unit 31 receives detection data for each pixel from the detector 14 or the defect candidate detection unit 20. The image acquiring unit 31 acquires an image of the sample 60 from the received detection data.
[0033] The image acquisition unit 31 may perform image matching. For example, in order to eliminate the positional deviation between the first pattern image G1 and the second pattern image G2, the positions may be adjusted so that the overall difference becomes a minimum value.
[0034] FIG. 3 is a diagram illustrating an example of an image acquired by the image acquisition unit 31 and a differential image generated by the differential image generation unit 32 according to the embodiment. As shown in FIG. 3, the image acquisition unit 31 acquires, for example, two images of the same pattern in a defect or a peripheral defect candidate area that is a defect candidate. The two images of the same pattern are called a first pattern image G1 and a second pattern image G2. The first pattern image G1 is also simply called a first image, and the second pattern image G2 is also simply called a second image. The number of pixels in each image is, for example, 256px×256px, but is not limited to this. The number of pixels included in the image can be changed in consideration of the data communication speed in the case of real-time detection.
[0035] The first pattern image G1 and the second pattern image G2 may correspond to defect candidate areas in each image of the die-to-die inspection. For example, the first pattern image G1 is an image of one of the adjacent dies in the sample 60. The second pattern image G2 is an image of the other of the adjacent dies in the sample 60. In this manner, the image acquisition unit 31 acquires the first pattern image G1 that captures the defect candidate area of the sample 60 and the second pattern image G2 that captures the area corresponding to the defect candidate area.
[0036] In addition, the image acquisition unit 31 may acquire an image of the defect candidate area from the defect candidate detection unit 20, or may detect the defect candidate area from the difference between an image of one die and an image of another die in a die-to-die inspection.
[0037] The differential image generating unit 32 generates a differential image GS between the first pattern image G1 and the second pattern image G2. Specifically, the differential image generating unit 32 calculates the difference between the luminance of each of the plurality of pixels included in the first pattern image G1 and the luminance of each of the plurality of pixels included in the second pattern image G2. In this way, a differential image GS including a plurality of pixels having each difference value is generated. As shown in FIG. 3, as an example, when a part of the differential image GS is enlarged, each pixel has a luminance difference value. For example, when one pixel is 8 bits, the pixel has a luminance difference value of 0 to 255. The difference is, for example, an absolute value of the difference.
[0038] 4 is a diagram illustrating a difference image GS generated by the difference image generating unit 32 and a binary map BM generated by the binary map generating unit 33 according to the embodiment. As shown in FIG. 4, the binary map generating unit 33 sets a difference threshold VS and generates a binary map BM. For example, the binary map generating unit 33 sets 5 as the difference threshold VS. In this case, the binary map generating unit 33 converts pixels having a difference value greater than 5 to 1, and converts pixels having a difference value equal to or less than 5 to 0.
[0039] In this way, the binary map generating unit 33 converts the difference values of a plurality of pixels included in the difference image GS into a first value greater than a predetermined difference threshold or a second value equal to or less than the difference threshold to generate a binary map. In the binary map BM shown in FIG. 4, the first value is indicated by "1" and the second value is indicated by "0". In the binary map BM shown in FIG. 4, the number of pixels having the first value "1", i.e., a difference value exceeding the threshold VS=5, is 12. Note that, although FIG. 4 shows the binary map BM of only a part of the difference image GS of FIG. 3, the binary map generating unit 33 may generate a binary map BM of the entire difference image GS.
[0040] 5 is a diagram illustrating a binary map BM generated by the binary map generating unit 33 and an area filter map AFM generated by the area filter map generating unit 34 according to the embodiment. As shown in FIG. 5, in order to find a location where the difference distribution is clustered, that is, a location where the first value is clustered, the area filter map generating unit 34 generates an area filter map AFM from the binary map BM. Specifically, the area filter map generating unit 34 first sets a cluster size. Then, the area filter map generating unit 34 generates the area filter map AFM by performing convolution across multiple pixels included in the binary map BM.
[0041] The cluster size includes an area size number and an area count number. The area size number indicates the size of the area that the area filter filters. That is, the area size number indicates the number of pixels in the area to which the area filter is applied. Each pixel in the area is adjacent. Thus, the area filter performs convolution on an area that includes a number of adjacent pixels set as the area size number.
[0042] For example, the area to which the area filter is applied includes four pixels arranged two by two in the row and column directions. In this case, the area size number is four pixels, expressed as 2×2. The area size number is desirably matched to the size of the difference distribution of the defect to be detected. For example, when one pixel is 45 nm, the defect difference distribution is suitable for detecting defects distributed collectively in an area of 2×2 (approximately 90 nm). Note that the area is not limited to 2×2, and may be another number of pixels such as 3×3. Furthermore, the difference distribution of the defect to be detected is not limited to one that matches the size of the area, and the difference distribution of a defect larger than the size of the area may be detected, or the difference distribution of a defect smaller than the size of the area may be detected.
[0043] The area filter performs convolution over a plurality of pixels included in the binary map BM in order for each area. For example, in FIG. 5, convolution is performed from the area AR1 in the upper left of the binary map BM, and then proceeds to areas AR2, ..., and so on up to area AR16. When performing convolution, the area filter moves one row or one column at a time in at least one of the row direction and column direction in the area to perform convolution. That is, when moving from the upper left to the upper right of the binary map BM, the area filter moves one column at a time. Therefore, adjacent areas to which the area filter is applied include the same pixels. For example, the area AR1 includes pixels in the first row, second column and the second row, second column, and the area AR2 also includes pixels in the first row, second column and the second row, second column. In this way, the area filter map generation unit 34 performs convolution using the area filter while moving some of the area size number of pixels included in the area in an overlapping manner.
[0044] The area count number is a threshold for the number of pixels of the first value among the pixels included in the area. For example, when the area count number is set to 3 or more, if the number of pixels of the first value included in the area is 2 or less, the area filter does not output as a cluster. On the other hand, if the number of pixels of the first value included in the area is 3 or more, the area filter outputs as a cluster.
[0045] In this way, the area filter map generating unit 34 performs convolution using the area filter over a plurality of pixels included in the binary map BM in order for each area including a plurality of adjacent pixels set as the area size number. When performing such convolution, if the number of pixels of the first value in the area to which the area filter is applied is equal to or greater than the number set as the area count number, the area filter map generating unit 34 generates an area filter map in which the area is output as a cluster.
[0046] As shown in FIG. 5, for example, a 2×2 area AR1 having a binary value of (1, 0, 1, 1) has an area count of 3 or more and is therefore output as a cluster. For example, it is output as "1". On the other hand, a 2×2 area AR2 having a binary value of (0, 0, 1, 0) has an area count of less than 3 and is therefore not output as a cluster. For example, it is output as "0".
[0047] The cluster size may be set in advance, or the area filter map generation unit 34 may select similar data from the binary map BM and area filter map AFM data from previous inspections and set the cluster size at that time.
[0048] The cluster ratio calculation unit 35 calculates the cluster ratio. The cluster ratio is calculated from the following formula (1) when the number of clusters in the area filter map AFM is the cluster number and a coefficient proportional to the ratio of the area count number to the area size number is a correction coefficient.
[0049] Cluster ratio = (number of clusters × correction coefficient K) / (number of pixels with the first value in the binary map BM) (1)
[0050] Here, the correction coefficient K is given by the following formula (2).
[0051] Correction coefficient K = (area count number / area size number) × α (2)
[0052] α is a scale for convenience in calculating the cluster ratio, for example, 1024. Then, for the binary map BM in FIG. 5, the following formula (3) is given. Cluster ratio = 5 × (3 / 4) × 1024 / 12 = 320 (3)
[0053] The defect determining section 36 determines that a defect exists in a defect candidate area when the following formula (4) is satisfied.
[0054] 0<cluster ratio≦predetermined ratio upper limit (4)
[0055] If formula (4) is satisfied, the defect judgment unit 36 judges the difference in the defect candidate area to be a difference due to a micro defect. On the other hand, if the cluster ratio is greater than a predetermined upper ratio limit, the defect judgment unit 36 judges the difference in the defect candidate area to be a false detection due to a false defect or the like. In that case, the defect candidate area may be deleted. For example, the difference in the defect candidate area may be deleted by correcting it to have the same brightness as the surroundings. In addition, the defect judgment unit 36 may also determine that a defect is not a micro defect when the cluster ratio is 0 and delete the defect candidate area. When the cluster ratio=0, that is, when there is no cluster of differences, it is determined that there is no real defect and that the defect is a false defect.
[0056] When the defect determining section 36 determines that a defect exists in a defect candidate area, the display device 40 displays the defect. The display device 40 is, for example, a main PC that serves as a user interface with the user.
[0057] FIG. 6 is a diagram illustrating a difference distribution of a micro defect according to the embodiment. FIG. 7 is a diagram illustrating a difference distribution due to defocus according to the embodiment. In FIG. 6 and FIG. 7, the larger the difference, the brighter the defect is displayed. As shown in FIG. 6, the difference between images and the size (difference distribution) of a micro defect are small. Therefore, when trying to detect a micro defect, there is a risk that a minute difference caused by the device will be detected as a false defect. For example, FIG. 7 shows a case where defocus occurs between imaging two adjacent dies, and the difference in brightness due to defocus at the edge of the pattern 61 is detected as a difference. As shown in FIG. 7, false defects caused by the device are often erroneously detected as a difference due to defocus, and differences occur along the pattern edge. For this reason, the difference distribution becomes large and often occupies a certain percentage or more of the image.
[0058] Therefore, in this embodiment, attention is paid to the difference distribution of the defect candidate area, and if the ratio of clusters with large difference values is greater than a predetermined ratio upper limit value in the image, it is determined to be a false defect. On the other hand, if the ratio of clusters is equal to or less than the predetermined ratio upper limit value, it is determined to be a micro defect. This makes it possible to distinguish micro defects such as those shown in FIG. 6 from false defects such as those shown in FIG. 7.
[0059] It should be noted that large size defects have a large difference distribution, and may not be determined to be micro defects by the image processing device 30 of the embodiment. However, large size defects can be clearly distinguished from false defects caused by the device by methods other than the present embodiment, and are therefore outside the scope of the present embodiment. Since the present embodiment targets micro defects, it is desirable to detect large defects in advance by a different method. This embodiment is intended to distinguish from micro false defects caused by the device, and is desirably applied to an algorithm set to high sensitivity in order to detect micro defects.
[0060] <Defect detection method> Next, a defect detection method will be described as an operation of the defect detection device 1. Fig. 8 is a flow chart illustrating an example of the defect detection method of the defect detection device 1 according to the embodiment. As shown in Fig. 8, the defect detection method includes an imaging step (step S11), a defect candidate detection step (step S12), an image processing step (step S13), and a defect display step (step S14).
[0061] In an imaging step (step S11), the imaging optical system 10 images the sample 60. Next, in a defect candidate detection step (step S12), the defect candidate detection unit 20 detects a defect candidate area from the image captured by the imaging optical system 10. The defect candidate detection unit 20 may perform image matching before detecting the defect candidate area. For example, in order to eliminate a positional shift between an image of one die and an image of the other die, the positions may be adjusted so that the overall difference becomes a minimum value. Furthermore, the defect candidate detection unit 20 may delete a defect as a pseudo defect when the maximum difference value is smaller than a predetermined matching difference threshold value.
[0062] Next, in an image processing step (step S13), the image processing device 30 processes the captured image. Specifically, as described in the image processing method below, image processing is performed using the first pattern image G1 and the second pattern image G2. In the image processing, the image processing device 30 described above performs high-speed processing to eliminate false defects and identify minute defects in real time. Then, in a defect display step (step S14), if it is determined that a defect exists, the display device 40 displays the defect. In this manner, defects in the sample 60 can be detected.
[0063] <Image processing method> Next, an image processing method will be described as an operation of the image processing device 30. Fig. 9 is a flow chart illustrating an image processing method of the image processing device 30 according to the embodiment. As shown in Fig. 9, the image processing method includes an image acquisition step (step S21), a difference image generation step (step S22), a binary map generation step (step S23), an area filter map generation step (step S24), a cluster ratio calculation step (step S25), and a defect determination step (step S26). In this embodiment, for example, high-speed processing is performed using the image processing device 30 including a GPU to eliminate false defects and identify minute defects in real time.
[0064] In an image acquiring step (step S21), the image acquiring unit 31 acquires a first pattern image G1 obtained by imaging a defect candidate region of the sample 60 and a second pattern image G2 obtained by imaging a region corresponding to the defect candidate region.
[0065] Next, in a difference image generating step (step S22), the difference image generating unit 32 calculates the difference between the luminance of each of the plurality of pixels included in the first pattern image G1 and the luminance of each of the plurality of pixels included in the second pattern image G2 to generate a difference image GS including a plurality of pixels having each difference value. Note that, if the maximum difference value in the difference image GS is smaller than a predetermined matching difference threshold, the defect may be deleted as a false defect. Here, the matching difference threshold is basically set to a value larger than the difference threshold VS set in this embodiment. Then, the image processing of this embodiment may be applied to defect candidates that were not deleted by the processing using the matching difference threshold.
[0066] Next, in a binary map generation step (step S23), the binary map generation unit 33 converts the difference values of multiple pixels included in the difference image GS into a first value greater than a predetermined difference threshold VS or a second value less than or equal to the difference threshold VS to generate a binary map.
[0067] Next, in an area filter map generating step (step S24), the area filter map generating unit 34 performs convolution using an area filter over a plurality of pixels included in the binary map BM in order for each area including a plurality of adjacent pixels set as the area size number. When performing such convolution, if the number of pixels of the first value in the area to which the area filter is applied is equal to or greater than the number set as the area count number, the area filter map generating unit 34 generates an area filter map in which the area is output as a cluster.
[0068] Next, in a cluster ratio calculation step (step S25), the cluster ratio calculation unit 35 calculates the cluster ratio according to the above formula (1).
[0069] Next, in a defect determination step (step S26), the defect determination section 36 determines that a defect exists in the defect candidate area when the above formula (4) is satisfied.
[0070] <Simulation results> 10 and 11 are graphs illustrating the results of the simulation according to the embodiment, in which the horizontal axis indicates the upper limit ratio setting value, and the vertical axis indicates the number of pseudo defects that remain without being removed and the number of micro defects that remain without being removed.
[0071] As shown in FIG. 10, before the image processing by the image processing device 30, 92 defects (pseudo defects) were detected on the mask 1. Also, the mask 1 originally had six micro defects. Therefore, a simulation is performed to see how many pseudo defects can be reduced without deleting the original six micro defects. For example, after the image processing of this embodiment, when the upper ratio limit is set to 400, six micro defects can be detected while the pseudo defects can be reduced to 50. When the upper ratio limit is set to 200, six micro defects can be detected while the pseudo defects can be reduced to 20. When the upper ratio limit is set to 100, six micro defects can be detected while the pseudo defects can be reduced to 2. Note that the difference threshold VS=2, the area size=(2, 2), and the area count=3.
[0072] The smaller the upper limit of the ratio is set, the more small clusters will remain. Therefore, by setting the upper limit of the ratio to 100, it is possible to detect six originally existing micro defects while suppressing the number of false defects to two. In this way, the upper limit may be set using a sample on which the number of micro defects has already been detected by another method.
[0073] As shown in FIG. 11, before the image processing by the image processing device 30, 157 defects (pseudo defects) were detected on the mask 2. Also, the mask 2 originally had one micro defect. Therefore, a simulation is performed to see how many pseudo defects can be reduced without deleting the original one micro defect. For example, after the image processing of this embodiment, when the upper ratio limit is set to 400, it is possible to detect one micro defect and suppress the number of pseudo defects to 20. When the upper ratio limit is set to 200, it is possible to detect one micro defect and suppress the number of pseudo defects to about three. When the upper ratio limit is set to 100, it is possible to detect one micro defect and suppress the number of pseudo defects to one. Note that the difference threshold VS=2, the area size=(2, 2), and the area count=4. Even in the case of FIG. 11, by setting the upper ratio limit to 100, it is possible to detect one originally existing micro defect and suppress the number of pseudo defects to two.
[0074] 12 and 13 are graphs illustrating the results of a simulation according to the embodiment, in which the horizontal axis indicates the upper limit ratio setting value and the vertical axis indicates the number of false defects that remain without being removed.
[0075] 12 and 13, by applying the image processing of this embodiment, it is possible to significantly reduce false defects. Note that the difference threshold value=2, the area size=(2, 2), and the area count=4.
[0076] Next, the effects of this embodiment will be described. According to this embodiment, defects in the sample 60 can be detected in real time. Furthermore, it is possible to distinguish between micro defects and pseudo defects, and it is possible to detect micro defects while suppressing the detection of pseudo defects. Therefore, it is possible to improve the detection sensitivity of defects.
[0077] Fig. 14 is a diagram illustrating an example of an image processed by the image processing device 30 according to the embodiment. As shown in Fig. 14, in this embodiment, image processing can be applied in real time during defect inspection, and minute defects can be detected while suppressing detection of false defects.
[0078] In this embodiment, the area to be filtered by the area filter includes pixels arranged in the same number in the row and column directions. The area filter performs convolution by moving one row or one column at a time in at least one of the row and column directions. Therefore, since convolution is performed by overlapping a part of each area, clusters that are the basis of defect detection can be detected with high accuracy.
[0079] Furthermore, the upper limit of the ratio may be set using a sample in which the number of micro defects has been detected in advance, thereby making it possible to suppress false defects without eliminating micro defects.
[0080] The defect detection device 1 of this embodiment may further include a defect candidate detection unit 20 that detects defect candidate areas from the image captured by the imaging optical system 10. This allows image processing to be limited to the defect candidate areas, thereby speeding up the processing.
[0081] Although the embodiment of the present invention has been described above, the present invention includes appropriate modifications that do not impair the objects and advantages of the present invention, and is not limited to the above-described embodiment. [Explanation of symbols]
[0082] 1. Defect detection device 10. Imaging optical system 11 Light source 12 Beam splitter 13 Objective Lens 14 Detector 20 Defect candidate detection unit 30 Image processing device 31 Image acquisition unit 32 Differential image generation unit 33 Binary map generator 34 Area filter map generator 35 Cluster ratio calculation section 36 Defect Judgment Section 40 Display device 50 Stages 51 Stage surface 52 Drive mechanism 60 samples 61 Patterns BM Binary Map G1 First pattern image G2 2nd pattern image GS difference image L11 Illumination light L12 reflected light VS Difference Threshold
Claims
1. an imaging optical system for imaging the sample; an image processing device that processes an image captured by the imaging optical system; Equipped with The image processing device includes: an image acquisition unit that acquires a first image of a defect candidate region of the sample and a second image of a region corresponding to the defect candidate region; a difference image generating unit that calculates differences between the luminance of each of a plurality of pixels included in the first image and the luminance of each of a plurality of pixels included in the second image to generate a difference image including a plurality of pixels having each difference value; a binary map generating unit that converts the difference values of the plurality of pixels included in the difference image into a first value that is greater than a predetermined difference threshold or a second value that is equal to or less than the difference threshold to generate a binary map; an area filter map generating unit that generates an area filter map output by using the area as a cluster when a number of pixels of the first value in the area to which the area filter is applied is equal to or greater than a number set as an area count number when performing convolution using an area filter over the plurality of pixels included in the binary map in order for each area including a plurality of adjacent pixels set as an area size number; a cluster ratio calculation unit that calculates a cluster ratio according to the following formula (A) when the number of the clusters in the area filter map is a cluster number and a coefficient proportional to a ratio of the area count number to the area size number is a correction coefficient; Cluster ratio = (number of clusters x correction coefficient) / (number of pixels of the first value in the binary map) (A) a defect determination unit that determines that a defect exists in the defect candidate area when the following formula (B) is satisfied; 0 < cluster ratio ≦ predetermined ratio upper limit (B) A defect detection device having:
2. the area includes the pixels arranged in the same number in a row direction and a column direction, and the area filter performs convolution by moving one row or one column at a time in at least one of the row direction and the column direction. The defect detection device according to claim 1 .
3. The upper limit of the ratio is set using a sample on which the number of micro defects has been detected in advance.
3. The defect detection device according to claim 1 or 2.
4. The imaging system further includes a defect candidate detection unit that detects the defect candidate area including pixels having a predetermined difference value from the image captured by the imaging optical system. The defect detection device according to any one of claims 1 to 3.
5. an imaging step of imaging the sample; an image processing step for processing the captured image; Equipped with The image processing step includes: an image acquiring step of acquiring a first image of a defect candidate region of the sample and a second image of a region corresponding to the defect candidate region; a difference image generating step of generating a difference image including a plurality of pixels having each difference value by calculating a difference between each luminance of a plurality of pixels included in the first image and each luminance of a plurality of pixels included in the second image; a binary map generating step of converting the difference values of the plurality of pixels included in the difference image into a first value greater than a predetermined difference threshold or a second value equal to or less than the difference threshold to generate a binary map; an area filter map generating step of generating an area filter map outputted with the area as a cluster when the number of pixels of the first value in the area to which the area filter is applied is equal to or greater than the number set as an area count number when performing convolution by an area filter over the plurality of pixels included in the binary map in order for each area including a plurality of adjacent pixels set as an area size number; a cluster ratio calculation step of calculating a cluster ratio according to the following formula (A) when the number of the clusters in the area filter map is the number of clusters and a correction coefficient is a coefficient proportional to the ratio of the area count number to the area size number; Cluster ratio = (number of clusters x correction coefficient) / (number of pixels of the first value in the binary map) (A) a defect determination step of determining that a defect exists in the defect candidate area when the following formula (B) is satisfied; 0 < cluster ratio ≦ predetermined ratio upper limit (B) A defect detection method comprising:
6. an image acquisition unit that acquires a first image of a defect candidate region of a sample and a second image of a region corresponding to the defect candidate region; a difference image generating unit that calculates differences between the luminance of each of a plurality of pixels included in the first image and the luminance of each of a plurality of pixels included in the second image to generate a difference image including a plurality of pixels having each difference value; a binary map generating unit that converts the difference values of the plurality of pixels included in the difference image into a first value that is greater than a predetermined difference threshold or a second value that is equal to or less than the difference threshold to generate a binary map; an area filter map generating unit that generates an area filter map output by using the area as a cluster when a number of pixels of the first value in the area to which the area filter is applied is equal to or greater than a number set as an area count number when performing convolution using an area filter over the plurality of pixels included in the binary map in order for each area including a plurality of adjacent pixels set as an area size number; a cluster ratio calculation unit that calculates a cluster ratio according to the following formula (A) when the number of the clusters in the area filter map is a cluster number and a coefficient proportional to a ratio of the area count number to the area size number is a correction coefficient; Cluster ratio = (number of clusters x correction coefficient) / (number of pixels of the first value in the binary map) (A) a defect determination unit that determines that a defect exists in the defect candidate area when the following formula (B) is satisfied; 0 < cluster ratio ≦ predetermined ratio upper limit (B) An image processing device comprising:
7. an image acquiring step of acquiring a first image of a defect candidate region of a sample and a second image of a region corresponding to the defect candidate region; a difference image generating step of generating a difference image including a plurality of pixels having each difference value by calculating a difference between each luminance of a plurality of pixels included in the first image and each luminance of a plurality of pixels included in the second image; a binary map generating step of converting the difference values of the plurality of pixels included in the difference image into a first value greater than a predetermined difference threshold or a second value equal to or less than the difference threshold to generate a binary map; an area filter map generating step of generating an area filter map outputted with the area as a cluster when the number of pixels of the first value in the area to which the area filter is applied is equal to or greater than the number set as an area count number when performing convolution by an area filter over the plurality of pixels included in the binary map in order for each area including a plurality of adjacent pixels set as an area size number; a cluster ratio calculation step of calculating a cluster ratio according to the following formula (A) when the number of the clusters in the area filter map is the number of clusters and a correction coefficient is a coefficient proportional to the ratio of the area count number to the area size number; Cluster ratio = (number of clusters x correction coefficient) / (number of pixels of the first value in the binary map) (A) a defect determination step of determining that a defect exists in the defect candidate area when the following formula (B) is satisfied; 0 < cluster ratio ≦ predetermined ratio upper limit (B) An image processing program that causes a computer to execute the above.
Citation Information
Patent Citations
Fault detection method and device therefor
JP2000099742A
Flaw detector and flaw detecting method
JP2006098163A
Crack detecting device for polycrystalline silicon wafer
JP2010034133A
Image inspection device
JP2017003274A
Reticle defect inspection with systematic defect filter
JP2018084587A
