Pattern edge detection method
The edge detection model is generated through a machine learning algorithm, which solves the problem of low edge detection accuracy in semiconductor integrated circuit pattern inspection in the existing technology, achieves higher-precision pattern edge detection, and adapts to image quality and deformation changes.
Patent Information
- Application Number
- CN201980021715.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-03-27
- Filing Date
- 2019-03-04
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2039-03-04
AI Technical Summary
In the prior art, in pattern inspection of semiconductor integrated circuits, edge detection methods based on design data have problems such as low accuracy and inability to properly handle image quality and pattern deformation, resulting in the inability to accurately detect the edges of patterns.
A machine learning algorithm is used to generate an edge detection model, use training data to perform high-precision detection of pattern edges, and improve detection accuracy by excluding unqualified pattern edges and offset inspection values.
The accuracy of pattern edge detection is improved, the edges of patterns can be detected more accurately, the quality of training data is improved, and the ability to process data changes is enhanced.
Smart Images

Figure CN111902844B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a pattern edge detection method applicable to a semiconductor inspection device that performs pattern inspection using design data of the pattern. Background Art
[0002] In the pattern inspection of a wafer or a photomask used for pattern formation in the manufacturing process of a semiconductor integrated circuit, an optical pattern inspection device using a die to die comparison method is used. The die to die comparison method is a method for detecting defects by comparing images of a semiconductor device called a die to be inspected and images of a nearby die obtained from the same position with each other.
[0003] On the other hand, in the inspection of a photomask called an intermediate mask in which there is no nearby die, a method called die to database comparison is used. This method is a method of converting mask data into an image and performing the same inspection as described above as a substitute for the image of the nearby die used in the die to die comparison method. Mask data refers to data obtained by performing correction for a photomask on design data (for example, refer to Patent Document 1).
[0004] However, if the die pair database comparison method is used for wafer inspection, the rounded corners of the pattern formed on the wafer will be detected as defects. In the inspection of the photomask, the rounded corners are formed by applying smoothing filtering to the image converted from the mask data, so that the rounded corners are not detected as defects. However, the rounded corners formed by smoothing filtering are not equal to the actual rounded corners formed on the wafer, so the actual rounded corners are sometimes detected as defects. Therefore, if the allowable pattern deformation is set in a way that ignores the differences in these rounded corners, there will be a problem that small defects existing outside the corners cannot be detected.
[0005] If we focus on problems in semiconductor integrated circuit production, recurring defects are more important than random defects caused by dust, etc. Recurring defects (systematic defects) are defined as defects that occur repeatedly on all dies on a wafer due to reasons such as poor photomasks. Recurring defects cannot be detected in die-to-die comparisons because they occur on both the die to be inspected and the nearby dies to be compared. Therefore, wafer inspection in the die-to-database comparison method is required.
[0006] Prior art literature
[0007] Patent Literature
[0008] Patent Document 1: U.S. Patent No. 5,563,702 Summary of the invention
[0009] Technical problem to be solved by the invention
[0010] In the die-to-database method, a pattern formed on a wafer is photographed, and an inspection based on design data is performed on the image. Before the inspection, edge detection of the pattern based on design data is performed. However, sometimes the edge detection cannot be performed accurately, resulting in wrong edge detection or detection failure on the image. The reason for this is that in the previous method, a method based on certain rules and design data to detect the edge on the image has been used, but in the method based on certain rules, due to the image quality of the image and the deformation of the pattern, it is impossible to perform appropriate edge detection.
[0011] Therefore, the present invention provides a method that can utilize machine learning to perform high-precision edge detection.
[0012] Technical means to solve technical problems
[0013] Machine learning is applied to pattern edge detection. In this method, first, as learning of a machine learning algorithm, an image of a pattern to be inspected and an image of a detected pattern edge are used as training data to generate a model for detecting pattern edges from an image, and then the edge of the pattern is detected from an image that is an actual inspection object using the model.
[0014] Compared with the previous processing based on certain rules, the processing based on machine learning is more accurate and can achieve redundant processing for data changes. By using training data to learn the machine learning algorithm, it is possible to process the data equivalent to the training data with high accuracy and high redundancy. Therefore, it is expected that the edge detection model generated by machine learning can appropriately detect the edges of the pattern.
[0015] On the other hand, when the training data is not suitable for learning of the machine learning algorithm, the accuracy of the edge detection model deteriorates, and further, the accuracy of edge detection using such an edge detection model deteriorates.
[0016] Examples where the training data is not suitable for learning are as follows.
[0017] Example 1.1: Defects are included in the pattern. In this case, the pattern edges detected by the die-pair database approach sometimes do not correspond to the actual pattern edges. Therefore, the pattern including the defect should not be included in the training data.
[0018] Example 1.2: The deformation of the pattern edge is large or the deformation amount of the pattern edge is discontinuous In this case, in the process of creating the pattern edge image included in the training data, there is a high possibility that edge detection fails or an erroneous pattern edge that does not correspond to the edge is detected.
[0019] Example 1.3: The number of pattern edges included in the training data is very uneven for each type of pattern. In this case, an edge detection model generated using a small number of pattern edges may not be able to detect edges accurately or with high precision.
[0020] In addition, the edges detected by machine learning are not associated with the design data, so the detected edges need to be associated with the design data. In this association process, the association between the detected edges and the design data may be incorrect. This situation is referred to as Example 2.1.
[0021] In one embodiment, a method for detecting the edge of a pattern is provided, which comprises generating an image of the pattern, detecting the edge of the pattern on the image based on a reference pattern generated according to design data of the pattern, repeating the generation of the image of the pattern and the detection of the edge of the pattern on the image, producing training data candidates consisting of a plurality of images and a corresponding plurality of pattern edges, determining training data by excluding pattern edges and corresponding images that satisfy predetermined disqualification conditions from the training data candidates, generating an edge detection model through machine learning using the training data, generating images of other patterns, and using the edge detection model to detect the edges of the other patterns on the image.
[0022] The unacceptable condition means that the pattern includes defects.
[0023] The unqualified condition refers to that the bias check value of the pattern edge exceeds a preset upper limit or is lower than a preset lower limit. The bias check value is an index value representing the size and direction of the deviation of the pattern edge relative to the edge of a reference pattern, and the reference pattern is generated based on the corresponding design data.
[0024] The failure condition refers to failure to correctly detect the edge of a pattern in the creation of the training data candidate.
[0025] The unqualified condition refers to that the bias check value of the pattern edge is outside a preset range, and the bias check value is an index value representing the size and direction of the deviation of the pattern edge relative to the edge of a reference pattern, and the reference pattern is generated according to corresponding design data.
[0026] The failure condition refers to a discontinuous change in an offset check value of a pattern edge, wherein the offset check value is an index value indicating a size and direction of a deviation of the pattern edge relative to an edge of a reference pattern generated according to corresponding design data.
[0027] The unqualified condition means that the bias check value of the pattern edge is outside a preset range and the bias check value changes discontinuously. The bias check value is an index value representing the size and direction of the deviation of the pattern edge relative to the edge of a reference pattern, and the reference pattern is generated based on the corresponding design data.
[0028] The method further includes the step of classifying the plurality of images included in the training data candidates into a plurality of image groups according to the types of patterns, and removing images from the training data candidates in such a manner that the numbers of images belonging to the plurality of image groups obtained by the classification are the same.
[0029] In one embodiment, a method for detecting the edge of a pattern is provided, comprising the following steps: generating an image of the pattern, detecting the edge of the pattern on the image based on a reference pattern generated according to design data of the pattern, repeating the generation of the image of the pattern and the detection of the edge of the pattern on the image, producing training data consisting of multiple images and corresponding multiple pattern edges, using the training data to generate an edge detection model through machine learning, generating images of other patterns, and using the edge detection model to detect the edges of the other patterns on the image. The step of generating the edge detection model through machine learning is the following step: segmenting each of the multiple pattern edges included in the training data into multiple edges according to edge attributes based on the design data, and using the training data to generate multiple edge detection models through machine learning for each of the multiple segmented edges.
[0030] The step of detecting the edge of the image of the other pattern is a step of detecting the plurality of edges of the other pattern on the image respectively using the plurality of edge detection models, and associating the detected plurality of edges with the design data of the other pattern.
[0031] Effects of the Invention
[0032] According to the above aspect, the above examples 1.1, 1.2, 1.3, and 2.1 can be improved. In other words, the training data can be improved, and as a result, the detection accuracy of the pattern edge by machine learning can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a schematic diagram showing one embodiment of a pattern inspection device.
[0034] Figure 2 It is a schematic diagram showing one embodiment of an image generating device of a pattern inspection device.
[0035] Figure 3 is a flow chart of a die-to-database check without machine learning.
[0036] Figure 4 This is a diagram showing the origins of the brightness distribution diagram arranged at equal intervals on the edge of the reference pattern created based on the design data.
[0037] Figure 5 is a diagram showing a vertical line passing through the origin of the luminance distribution diagram.
[0038] Figure 6 is a graph showing an example of a brightness distribution diagram.
[0039] Figure 7 It is a diagram for explaining one embodiment of edge detection.
[0040] Figure 8 1 is a diagram showing edges formed by sequentially connecting edge detection positions on the respective luminance distribution diagrams with lines.
[0041] Fig. 9 It is a flow chart of generating an edge detection model through machine learning.
[0042] Fig.10 is a flow chart illustrating determination of training data.
[0043] Fig.11 This is a diagram showing an example of a pattern in which the offset inspection value becomes discontinuous due to erroneous edge detection.
[0044] Fig.12 It is a diagram showing an example of design data.
[0045] Fig.13 This is a histogram showing the result of classifying a plurality of sample images into a plurality of image groups according to the types of patterns of the design data.
[0046] Fig.14 is a diagram showing sample images of wafer patterns.
[0047] Fig.15 It is shown Fig.14 A diagram of the design data of the wafer pattern is shown.
[0048] Fig.16 This is a diagram in which a wafer pattern is superimposed on a reference pattern generated by performing a rounding process on design data.
[0049] Fig.17This is a diagram that connects edge detection positions with lines to form a detected pattern edge.
[0050] Fig.18 It is shown from Fig.17 The pattern edge shown is segmented out of the upper edge of the diagram.
[0051] Fig.19 It is shown from Fig.17 The pattern edge shown is segmented out of the edge on the left side of the diagram.
[0052] Fig. 20 It is shown from Fig.17 The pattern edge shown is segmented out in the figure with the lower edge.
[0053] Fig.21 It is shown from Fig.17 The pattern edge shown is segmented out of the edge of the diagram on the right.
[0054] Fig. 22 It is a diagram for explaining the direction of pattern edges.
[0055] Fig.23 This is a table of reference patterns segmented based on edge angles.
[0056] Fig.24 is a diagram showing the construction of a perceptron forming part of a feedforward type neural network.
[0057] Fig.25 is a graph showing the activation function.
[0058] Fig.26 This is a diagram of a feed-forward neural network that is made up of multiple layers of perceptrons.
[0059] Fig. 27 This is a conceptual diagram showing how a plurality of brightness values input to an input layer are converted into one brightness value by a feedforward neural network.
[0060] Fig.28 This is a conceptual diagram showing a situation in which a feedforward neural network performs learning in such a way that an image outputted from an input sample image included in training data becomes an image of a corresponding pattern edge.
[0061] Fig.29 1 is a schematic diagram showing five image blocks extracted from a sample image, brightness values output from a feedforward neural network, and image blocks of a pattern edge image corresponding to respective positions of the image blocks extracted from the sample image.
[0062] Fig.30 is a schematic diagram showing image blocks extracted from a sample image.
[0063] Fig.31 It is the process of edge checking using edge detection model.
[0064] Fig.32 is a flow chart illustrating the steps of associating the detected plurality of edges with the design data of the pattern.
[0065] Fig.33 It is a figure which shows the design data of a pattern.
[0066] Fig.34 It is shown that through Fig.33 The figure shows a reference pattern generated by applying rounding processing to the design data shown.
[0067] Fig.35 2 is a diagram showing the right edge segmented from the reference pattern.
[0068] Fig.36 is Fig.35 The right edge of the diagram shown is configured with an edge detection origin.
[0069] Fig.37 It is shown in Fig.31 Figure 2 shows the right edge detected in step 2.
[0070] Fig.38 Yes Description Fig.32 Figure 3 of step 3.
[0071] Fig.39 1 is a diagram showing a line segment from the edge detection origin to the edge position, that is, an offset line. DETAILED DESCRIPTION
[0072] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. Figure 1 The pattern inspection device in this embodiment includes a main control unit 1 , a storage device 2 , an input / output control unit 3 , an input device 4 , a display device 5 , a printing device 6 , and an image generating device 7 .
[0073] The main control unit 1 is composed of a CPU (Central Processing Unit) and the like, and centrally controls the entire device. A storage device 2 is connected to the main control unit 1. The storage device 2 can be in the form of a hard disk, a solid state drive, a floppy disk, an optical disk, etc. In addition, an input device 4 such as a keyboard and a mouse, a display device 5 such as a display for displaying input data, calculation results, etc., and a printing device 6 such as a printer for printing inspection results, etc. are connected to the main control unit 1 via the input / output control unit 3.
[0074] The main control unit 1 has an internal memory (internal storage device) for storing control programs such as OS (Operating System), programs for pattern edge detection, and required data, etc., and performs pattern edge detection and edge detection model generation through these programs, etc. These programs are stored in a floppy disk, an optical disk, etc., and can be read into a memory, a hard disk, etc. before execution.
[0075] Figure 2 FIG. 1 is a schematic diagram showing an embodiment of an image generating device 7 of a pattern inspection device. Figure 2 As shown, the image generating device 7 includes an irradiation system device 10, a sample chamber 20, and a secondary electron detector 30. In the present embodiment, the image generating device 7 is a scanning electron microscope.
[0076] The irradiation system device 10 is composed of an electron gun 11, a focusing lens 12 for focusing primary electrons emitted from the electron gun 11, an X deflector 13 and a Y deflector 14 for deflecting an electron beam (charged particle beam) in the X direction and the Y direction, and an objective lens 15. The sample chamber 20 is equipped with an XY stage 21 movable in the X direction and the Y direction. In the sample chamber 20, a wafer W as a sample is carried in and out by a wafer conveying device 40.
[0077] In the irradiation system device 10, primary electrons emitted from the electron gun 11 are focused by the focusing lens 12, deflected by the X deflector 13 and the Y deflector 14, and focused by the objective lens 15 to irradiate the surface of the wafer W as a sample.
[0078] When the wafer W is irradiated with primary electrons, secondary electrons are emitted from the wafer W, and the secondary electrons are detected by the secondary electron detector 30. The focusing lens 12 and the objective lens 15 are connected to the lens control device 16, and the lens control device 16 is connected to the control computer 50. The secondary electron detector 30 is connected to the image acquisition device 17, and the image acquisition device 17 is also connected to the control computer 50. The secondary electron intensity detected by the secondary electron detector 30 is converted into a potential contrast image by the image acquisition device 17. The irradiation area of the primary electrons that can obtain the largest potential contrast image without distortion is defined as the field of view.
[0079] The X deflector 13 and the Y deflector 14 are connected to a deflection control device 18, and the deflection control device 18 is also connected to a control computer 50. The XY stage 21 is connected to an XY stage control device 22, and the XY stage control device 22 is also connected to the control computer 50. In addition, the wafer conveyor 40 is also connected to the control computer 50. The control computer 50 is connected to an operation computer 60.
[0080] Figure 3Flow chart of the die-to-database check without machine learning. The image generation device 7 composed of a scanning electron microscope generates a sample image of a pattern (step 1). In the present embodiment, the pattern is formed on the surface of a wafer as a sample. In the following description, the pattern to be detected by edge detection is sometimes referred to as a wafer pattern.
[0081] Next, Figure 1 The main control unit 1 shown performs corner rounding on the pattern of the design data to generate a reference pattern (step 2). In the corner rounding, for example, a method of replacing the corner of the pattern of the design data with an arc can be used. The value of the radius of the arc is designated as the inspection setting value.
[0082] like Figure 4 As shown, the main control unit 1 arranges the origins 130 of the brightness distribution diagram at equal intervals on the edge of the reference pattern 111 generated in the above step 2 ( Figure 3 Step 3) The distance between the origins 130 of adjacent brightness distribution diagrams is, for example, a distance equivalent to a pixel size.
[0083] like Figure 5 As shown, the main control unit 1 draws a vertical line 140 ( Figure 3 Step 4). The vertical lines are line segments perpendicular to the edge of the reference pattern 111 and are arranged at equal intervals. The main control unit 1 obtains the brightness values of the sample images on each vertical line 140 and creates a brightness distribution diagram of the sample images based on these brightness values ( Figure 3 Step 5).
[0084] Figure 6 is a graph showing an example of a brightness distribution diagram. Figure 6 In FIG. 1 , the vertical axis represents the brightness value, and the horizontal axis represents the position on the vertical line 140. The brightness distribution diagram represents the distribution of the brightness values along the vertical line 140. The main control unit 1 detects the pattern edge ( Figure 3 Step 6). In pattern edge detection, a threshold method, a straight line approximation method, etc. are used. In this embodiment, a threshold method is used to detect pattern edges.
[0085] Reference Figure 6, explaining the threshold method as a method of pattern edge detection based on a brightness distribution diagram. The threshold is set to x[%]. The main control unit 1 determines a sampling point P having a maximum brightness value in the brightness distribution diagram, and sets the position of the sampling point as a peak point. Next, the main control unit 1 determines a sampling point having a minimum brightness value in an area that is closer to the outside of the pattern than the peak point P, and sets the position of the sampling point as a valley point B. Next, an edge brightness value is determined between the peak point P and the valley point B, which is obtained by dividing the brightness value at the valley point B to the brightness value at the peak point P by x:(100-x), and the position of the sampling point Q on the brightness distribution diagram having the edge brightness value is set as the edge detection position.
[0086] In the case where the sampling point with the determined edge brightness value is not on the brightness distribution map, such as Figure 7 As shown, the main control unit 1 explores the brightness values of the sampling points from the peak point P to the valley point B, determines the sampling point S1 whose brightness value is first lower than the above-mentioned edge brightness value, determines the sampling point S2 on one of its peak points, and determines the edge detection position corresponding to the edge brightness value through linear interpolation of these two sampling points S1 and S2.
[0087] like Figure 8 As shown in FIG. 1 , the main control unit 1 sequentially connects the edge detection positions on each brightness distribution diagram with lines. Figure 8 In FIG. 1 , reference numeral 150 indicates the edge detection position, and reference numeral 200 indicates a pattern edge formed by a plurality of edge detection positions 150 connected by a dotted line. In this way, the main control unit 1 can detect the pattern edge on the sample image based on the brightness distribution map.
[0088] exist Figure 8 , a line segment connecting the origin 130 of the brightness distribution diagram and the edge detection position 150 is defined as a bias line 160. The main control unit 1 calculates a bias check value defined as the length of the bias line 160 extending from the edge detection position 150 located outside the reference pattern 111. Further, the main control unit 1 calculates a bias check value ( ) defined as a value obtained by multiplying the length of the bias line 160 extending from the edge detection position 150 located inside the reference pattern 111 by -1. Figure 3 Step 7). The offset check value is an index value indicating the size and direction of the deviation of the pattern edge from the edge of the reference pattern 111 generated based on the corresponding design data.
[0089] If so, the main control unit 1 can distinguish between "expansion deformation" and "reduction deformation" of the chip pattern based on the bias check value. For example, a positive bias check value means that the chip pattern is an expansion deformation, and a negative bias check value means that the chip pattern is a reduction deformation. The upper and lower limits of the bias check value can also be predetermined. In this case, the main control unit 1 can detect the portion where the bias check value is calculated as an expansion defect when the bias check value exceeds the upper limit, and detect the portion where the bias check value is calculated as a reduction defect when the bias check value is lower than the lower limit. Figure 3 Step 8).
[0090] Fig. 9 The edge detection model generated by machine learning is generated by Figure 1 The main control unit 1 shown in FIG. 1 is used to execute the edge detection. The image generation device 7 composed of a scanning electron microscope generates a sample image of the pattern (step 1). The main control unit 1 obtains the sample image from the image generation device 7. In the present embodiment, the pattern is formed on the surface of a wafer as a sample. In the following description, the pattern to be detected by the edge detection is sometimes referred to as a wafer pattern.
[0091] In step 2, Figure 1 The pattern inspection device shown is based on Figure 3 The flowchart shown performs a die-to-database check without machine learning. Fig. 9 The generation of sample images and the detection of pattern edges are repeated in steps 1 and 2. As a result, a plurality of sample images and corresponding pattern edges are acquired by the main control unit 1. All of the acquired plurality of sample images and corresponding pattern edges constitute training data candidates.
[0092] Next, the main control unit 1 determines the training data used in the machine learning by excluding the pattern edges and corresponding sample images that meet the predetermined disqualification conditions from the training data candidates (step 3). The training data is determined using the sample images and the detection results of the pattern edges. In this embodiment, the disqualification conditions refer to (i) the pattern including defects and (ii) the pattern edges are not correctly detected in the preparation of the training data candidates.
[0093] Fig.10 Yes Description Fig. 9 Flow chart of the determination of training data in step 3. Fig.10 In step 1, the edges of the patterns determined to include defects in the die pair database inspection and the corresponding sample images are removed from the training data candidates. That is, the edges of the patterns whose bias inspection values exceed the upper limit and the corresponding sample images, and the edges of the patterns whose bias inspection values are lower than the lower limit and the corresponding sample images are removed from the training data candidates.
[0094] exist Fig.10 In step 2, pattern edges and corresponding sample images for which pattern edge detection may not be performed correctly in the die-to-database inspection are removed from the training data candidates. An example of a pattern edge for which pattern edge detection may not be performed correctly is a pattern edge with a large deformation. As the size and direction of the deformation of the pattern edge, for example, a bias inspection value used in defect determination in the die-to-database inspection can be used. More specifically, a pattern edge for which the bias inspection value is outside a predetermined range is determined to be a pattern edge with a large deformation. In the case of a large deformation of the pattern edge, edge detection may not be performed normally. Therefore, such pattern edges and corresponding sample images are removed from the training data candidates.
[0095] Another example of a pattern edge for which pattern edge detection may not be performed correctly in the die-to-database check is a pattern edge for which the offset check value changes discontinuously. The offset check value is an index value indicating the magnitude and direction of the deviation of the pattern edge from the edge of the reference pattern generated based on the corresponding design data. Therefore, in the case where edge detection is not performed correctly, the offset check value becomes discontinuous, and as a result, the offset check value changes rapidly.
[0096] Fig.11 300 is a diagram showing an example of a pattern in which the bias check value becomes discontinuous due to erroneous detection of an edge. Symbol 300 is a reference pattern generated based on design data, and symbol 301 is an actual chip pattern produced based on the design data. Along the edge of the reference pattern 300, the bias check value changes discontinuously. Specifically, the bias check value represented by the bias line 305 is a positive sign, while the bias check value represented by the adjacent bias line 306 is a negative sign. In addition, the bias check value represented by the bias line 307 is a negative sign, while the bias check value represented by the adjacent bias line 308 is a positive sign.
[0097] When the offset check value changes suddenly as in this example, for example, when the difference between the offset check values of two adjacent offset lines is greater than a predetermined threshold, the pattern edge and the corresponding sample image are removed from the training data candidates. Fig.11 When the difference between the offset inspection values of two adjacent offset lines 305 and 306 is greater than or equal to 30% of the width D of the reference pattern 300 , the sample image is removed from the training data candidates.
[0098] exist Fig.10 In step 3, a plurality of sample images included in the training data candidates are classified into a plurality of image groups according to the types of patterns of the design data. Fig.12An example of design data is shown, showing three types of patterns. Reference numerals 400, 410, and 420 denote design data used for classifying sample images, reference numerals 401, 402, 403, and 404 denote patterns included in design data 400, reference numerals 411 and 412 denote patterns included in design data 410, and reference numerals 421, 422, and 423 denote patterns included in design data 420.
[0099] Fig.13 : is a histogram showing the result of classifying a plurality of sample images obtained when the die pair database check is performed into a plurality of image groups according to the type of pattern of the design data. Fig.13 In FIG. 1 , the vertical axis represents the type of pattern of the design data, and the horizontal axis represents the number of sample images.
[0100] exist Fig.10 In step 4, the main control unit 1 removes sample images from the training data candidates in such a way that the number of sample images belonging to the plurality of image groups obtained by classification is the same. If there is a pattern type whose number of sample images is less than a preset value, the main control unit 1 issues a warning to the training data to inform the user that there is a pattern type whose number of sample images is small.
[0101] By doing so, the deviation of the types of patterns is reduced (i.e., the completeness of the types of patterns used for training data is improved), thereby improving the accuracy of machine learning. In addition, by reducing the deviation of the types of patterns in the training data, the total number of training data is reduced.
[0102] Back to Fig. 9 ,exist Fig. 9 In step 4, the main control unit 1 sets the edge direction of the pattern of the design data as the edge attribute based on the design data. Fig. 9 Each of the plurality of pattern edges included in the training data determined in step 3 is segmented into a plurality of edges.
[0103] Fig.14 is a diagram showing sample images of wafer patterns 501 and 502. Fig.15 It is shown Fig.14 FIG. 5 is a diagram of design data 505 , 506 for wafer patterns 501 , 502 shown. Fig.16 FIG. 5 is a diagram in which wafer patterns 501 and 502 are superimposed on reference patterns 507 and 508 generated by rounding design data 505 and 506. Fig.16 In FIG. 1 , the origins 130 of the brightness distribution diagram are arranged at equal intervals on the reference patterns 507 and 508 , and the bias lines 160 extend from the origins 130 to the edge detection positions.
[0104] Fig.17The diagram shows detected pattern edges 510 and 511 formed by connecting edge detection positions with lines. Fig.18 It is shown from Fig.17 The upper edges 510a and 511a of the pattern edge segmentation are shown in FIG. Fig.19 It is shown from Fig.17 The left edge 510b and 511b of the pattern edge segmentation are shown in FIG. Fig. 20 It is shown from Fig.17 The pattern edge segmentation diagram shows the lower edges 510c and 511c. Fig.21 It is shown from Fig.17 The pattern edge shown is segmented into edges 510d and 511d on the right.
[0105] Fig. 22 is a diagram used to illustrate the direction of the pattern edge. Fig. 22 As shown, the direction of the pattern edge is determined based on the angle θ of the edges of the reference patterns 507 and 508. The angle θ is defined as the counterclockwise angle of the normal line drawn from the inside to the outside of the pattern from the reference line RL. Fig.23 The table is a table of reference patterns 507 and 508 classified based on the angle θ of the edge. The pattern edges 510 and 511 detected based on the reference patterns 507 and 508 are divided into right edges 510d and 511d, upper edges 510a and 511a, left edges 510b and 511b, and lower edges 510c and 511c according to the angle θ of the reference patterns 507 and 508.
[0106] exist Fig. 9 In step 5, the main control unit 1 performs pattern edge imaging for each of the plurality of segmented edges. Fig. 9 In step 6, the main control unit 1 uses the training data to generate a training of the machine learning algorithm, that is, a plurality of edge detection models, by machine learning for each of the plurality of segmented edges. The following is an explanation of a method using a feedforward propagation neural network as a machine learning algorithm.
[0107] Fig.24 : is a diagram showing the structure of a perceptron that forms part of a feedforward neural network. For each component of the input vector (input feature quantity, x1, x2, ..., xn), there is a coupling weight w1, w2, ..., wn. The value u of the unit is expressed as the sum of the product of each component of the input feature quantity and the corresponding coupling weight and the bias term b, that is, w1x1+w2x2+...+wnxn+b. The output y of the perceptron is the value y=f(u) obtained by inputting the value u of the unit to the activation function f(·).
[0108] Fig.25: is a diagram showing an activation function. In this embodiment, a ramp function (ReLU) is used as an activation function. The ramp function is defined as follows.
[0109] If u<0, then f(u)=0, if u≥0, then f(u)=u
[0110] Fig.26 This is a diagram of a feedforward neural network with multiple layers of perceptrons. In a feedforward neural network, there are multiple layers of perceptrons. From the layer on the input side to the layer on the output side, the output of a certain perceptron is input to the next perceptron. Calculation is performed sequentially from the layer on the input side, and the output value y is finally calculated.
[0111] In the present embodiment, the input feature quantity of the feedforward propagation type neural network is the brightness value of the pixels constituting the sample image included in the training data. Fig. 27 This is a conceptual diagram showing how multiple brightness values input to the input layer are converted into one brightness value by a forward propagation neural network. Fig. 27 In the feedforward neural network shown, the brightness values of the nine adjacent pixels of the sample image are input to the input layer 601, and the brightness value of one pixel located at the center of the nine pixels is output to the output layer 610. That is, the main control unit 1 inputs a plurality of brightness values x1 to x9 of the sample image whose edge is to be detected to the input layer 601. An image region consisting of a certain set number of pixels is called an image block. The brightness values x1 to x9 of the pixels in the image block of the sample image are sequentially propagated to the units of the intermediate layers 602 to 605 of the feedforward neural network, and finally the brightness value y is output from the output layer 610. The brightness value y is assigned to the brightness value of the pixel of the output image corresponding to the pixel located at the center of the image block of the sample image.
[0112] Fig.28 1 is a conceptual diagram showing a situation where a feed-forward neural network performs learning in such a manner that an image outputted from an input sample image included in training data becomes an image of a corresponding pattern edge. Here, learning means that the main control unit 1 automatically adjusts the coupling weights for coupling between units of the feed-forward neural network in such a manner that an image outputted from an input sample image becomes an image of a corresponding pattern edge, and the edge detection model includes the adjusted coupling weights. In this embodiment, a sample image is used as a training image for learning, and an image of a corresponding pattern edge is used as a training image for learning.
[0113] In this embodiment, the main control unit 1 uses training data to generate multiple edge detection models through machine learning for each of the multiple edges segmented according to edge attributes. If the brightness vector of the image block extracted from the sample image is set to X1, the brightness value of the image block X1 output from the forward propagation neural network is set to y, and the brightness value of the image block T1 of the pattern edge image corresponding to the position of the image block X1 is set to t, then the brightness value y output from the forward propagation neural network is expected to be as close as possible to the brightness value t of the pattern edge image.
[0114] Fig.29 5 image blocks extracted from a sample image, brightness values output from a feedforward neural network, and image blocks of a pattern edge image corresponding to respective positions of the image blocks extracted from the sample image are schematically shown. Brightness vectors X1, X2, ..., X5 of the image blocks extracted from the sample image are converted into brightness values y1, y2, ..., y5, respectively, by a feedforward neural network. Brightness values y1, y2, ..., y5 are compared with brightness values t1, t2, ..., t5 of the corresponding image blocks of the pattern edge image, respectively.
[0115] Fig.30 is a schematic diagram showing an image block extracted from a sample image. The image block has a brightness vector consisting of a plurality of brightness values. Fig.30 In the example shown, the image block is a 3-pixel square. Therefore, the image block has 9 pixels, and the brightness value of each pixel is represented by xi1, xi2, xi3, xi4, xi5, xi6, xi7, xi8, and xi9. That is, the image block is represented by the brightness vector shown below.
[0116] Brightness vector Xi = [xi1, xi2, xi3, xi4, xi5, xi6, xi7, xi8, xi9]
[0117] i is the number of the specified image block.
[0118] In one embodiment, as an evaluation index of the approximation between yi and ti, the mean square error defined as follows is used.
[0119] E=Σ(yi-ti) 2 / N
[0120] N is the number of image patches evaluated simultaneously.
[0121] If the mean square error E is small, it is expected that the output image is closer to the pattern edge image.
[0122] The main control unit 1 updates the coupling weight so as to reduce the mean square error E. For example, regarding the weight parameter wαβ between the unit α of the Mth layer and the unit β of the M+1th layer, the main control unit 1 considers using the partial differential value of wαβ related to E to obtain And replace the weight parameter wαβ into Here, ε is the learning coefficient, which is a predetermined value. In addition, learning can be promoted by using the Adam method and the stochastic gradient method. In addition, as an algorithm that uses the chain rule of the composite function to efficiently promote calculations, for partial differential The calculation of known errors is done by back propagation method.
[0123] The coupling weights are optimized in the above-described manner, and a plurality of edge detection models are generated for each of the plurality of segmented edges. Fig.31 The edge detection process is performed by using the edge detection model. Figure 1 The main control unit 1 shown in FIG. 1 is used to execute the image generation device 7 composed of a scanning electron microscope. The image generation device 7 generates an image of the pattern (step 1). The main control unit 1 obtains the image of the pattern from the image generation device 7. In this embodiment, the pattern is formed on the surface of the wafer as a sample. The pattern generated in this step 1 is a pattern different from the pattern used in the preparation of the training data candidate.
[0124] In step 2, the main control unit 1 applies multiple edge detection models generated for each of the multiple segmented edges to the image of the pattern to perform edge detection of the pattern. For example, the main control unit 1 uses the edge detection model for the upper edge to detect the upper edge, uses the edge detection model for the right edge to detect the right edge, uses the edge detection model for the left edge to detect the left edge, and uses the edge detection model for the lower edge to detect the lower edge. The coupling weights included in each edge detection model have been optimized by learning using training data. As a result of edge detection, multiple images of the detected multiple edges are generated. Each image of the detected edges is the same size as the sample image. In each image of the detected edges, a value of 1 is assigned to pixels corresponding to the edge, and a value of 0 is assigned to pixels that do not correspond to the edge.
[0125] In step 3 , the detected plurality of edges are associated with the design data of the pattern photographed in step 1 . Fig.32 Yes Description Fig.31 In step 1, the main control unit 1 performs rounding processing on the design data to generate a reference pattern. Similar to the pattern edge of the training data, the edge of the reference pattern is divided into a plurality of edges according to the pattern edge direction which is the edge attribute based on the design data.
[0126] Fig.33 701 and 702 are diagrams showing design data of patterns. Fig.34 It is shown that through Fig.33 The design data 701 and 702 shown in the figure are the reference patterns 703 and 704 generated by applying the rounding process. Fig.35 The diagram shows right side edges 703 a and 704 a separated from reference patterns 703 and 704 .
[0127] exist Fig.32 In step 2, the main control unit 1 configures the edge detection origin at Fig.35 Right side edges 703a, 704a are shown. Fig.36 is Fig.35 The right edges 703a and 704a are shown with edge detection origins 706. The edge detection origins 706 are arranged at equal intervals on the right edges 703a and 704a. Fig.37 It is shown in Fig.31 FIG. 708 , 709 of the right edges detected in step 2 of FIG.
[0128] Fig.38 Yes Description Fig.32 Step 3 of the diagram. Fig.38 As shown, in Fig.32 In step 3, the main control unit 1 overlaps the images of the right edges 708 and 709 detected using the edge detection model for the right side with the images of the right edges 703a and 704a generated based on the design data, and draws a vertical line 710 passing through the edge detection origin 706. The length of the vertical line 710 is a fixed value or a length specified by an external parameter, and the vertical line 710 is drawn to both the outside and the inside of the right edges 703a and 704a. The intersection of the vertical line 710 and the detected right edges 708 and 709 is the edge position. Fig.32 In step 4, a line segment from the edge detection origin 706 to the edge position, namely, a bias line, is created. Fig.39 1 and 2 are diagrams showing a line segment from the edge detection origin 706 to the edge position, that is, an offset line 711. The right edges 703a and 704a generated based on the design data and the right edges 708 and 709 detected using the edge detection model are associated with each other through the offset line 711.
[0129] Similarly, bias lines are created for the upper edge, left edge, and lower edge of the pattern classified according to the edge attributes based on the design data, and information on these bias lines is integrated based on the design data to form the die pair database inspection result.
[0130] Back to Fig.31The main control unit 1 performs defect determination of the chip pattern based on the length of the bias line, that is, the bias inspection value, in the same manner as the die database inspection without using machine learning.
[0131] The above-mentioned embodiments are recorded for the purpose of enabling a person with common knowledge in the technical field to which the present invention belongs to implement the present invention. Various modifications of the above-mentioned embodiments can certainly be implemented by a person skilled in the art, and the technical idea of the present invention can also be applied to other embodiments. Therefore, the present invention is not limited to the described embodiments, but should be interpreted as the widest scope of the technical idea defined by the claims.
[0132] Industrial Applicability
[0133] The present invention can be utilized in a pattern edge detection method applicable to a semiconductor inspection device that performs pattern inspection using design data of the pattern.
[0134] Explanation of symbols
[0135] 1 Main control unit
[0136] 2 Storage Devices
[0137] 3 Input and output control unit
[0138] 4 Input devices
[0139] 5 Display device
[0140] 6 Printing device
[0141] 7 Image Generating Device
[0142] 10 Irradiation system device
[0143] 11 Electron Gun
[0144] 12 Focusing lens
[0145] 13 X Deflector
[0146] 14 Y deflector
[0147] 15 Objective lens
[0148] 16 Lens control device
[0149] 17 Image acquisition device
[0150] 20 Sample room
[0151] 21 XY stage
[0152] 22 XY stage control device
[0153] 30 Secondary electron detector
[0154] 40 Wafer conveyor
[0155] 50 Control Computer
[0156] 60 Operate a computer.
Claims
1. A method for detecting the edge of a pattern, characterized in that: Generate an image of the pattern, detecting an edge of the pattern on the image based on a reference pattern generated according to design data of the pattern, Repeating the generation of a pattern image and the detection of the edge of the pattern on the image, to create training data candidates consisting of a plurality of images and a plurality of corresponding pattern edges, The training data is determined by excluding pattern edges and corresponding images that meet a predetermined disqualification condition from the training data candidates, Using the training data, an edge detection model is generated through machine learning. Generate images of other patterns, Using the edge detection model to detect edges of the other patterns on the image, The unqualified condition refers to that the offset inspection value of the pattern edge exceeds the preset upper limit or is lower than the preset lower limit. The reference pattern is a pattern generated by rounding the pattern of the design data. The offset check value is an index value indicating the magnitude and direction of the deviation of the pattern edge from the edge of the reference pattern.
2. A method for detecting the edge of a pattern, characterized in that: Generate an image of the pattern, detecting an edge of the pattern on the image based on a reference pattern generated according to design data of the pattern, Repeating the generation of a pattern image and the detection of the edge of the pattern on the image, to create training data candidates consisting of a plurality of images and a plurality of corresponding pattern edges, The training data is determined by excluding pattern edges and corresponding images that meet a predetermined disqualification condition from the training data candidates, Using the training data, an edge detection model is generated through machine learning. Generate images of other patterns, Using the edge detection model to detect edges of the other patterns on the image, The unqualified condition refers to the offset check value of the pattern edge being outside the preset range. The reference pattern is a pattern generated by rounding the pattern of the design data. The offset check value is an index value indicating the magnitude and direction of the deviation of the pattern edge from the edge of the reference pattern.
3. A method for detecting the edge of a pattern, characterized in that: Generate an image of the pattern, detecting an edge of the pattern on the image based on a reference pattern generated according to design data of the pattern, Repeating the generation of a pattern image and the detection of the edge of the pattern on the image, to create training data candidates consisting of a plurality of images and a plurality of corresponding pattern edges, The training data is determined by excluding pattern edges and corresponding images that meet a predetermined disqualification condition from the training data candidates, Using the training data, an edge detection model is generated through machine learning. Generate images of other patterns, Using the edge detection model to detect edges of the other patterns on the image, The unqualified condition is that the offset check value of the pattern edge changes discontinuously. The reference pattern is a pattern generated by rounding the pattern of the design data. The offset check value is an index value indicating the magnitude and direction of the deviation of the pattern edge from the edge of the reference pattern.
4. A method for detecting the edge of a pattern, characterized in that: Generate an image of the pattern, detecting an edge of the pattern on the image based on a reference pattern generated according to design data of the pattern, Repeating the generation of a pattern image and the detection of the edge of the pattern on the image, to create training data candidates consisting of a plurality of images and a plurality of corresponding pattern edges, The training data is determined by excluding pattern edges and corresponding images that meet a predetermined disqualification condition from the training data candidates, Using the training data, an edge detection model is generated through machine learning. Generate images of other patterns, Using the edge detection model to detect edges of the other patterns on the image, The unqualified condition is that the bias check value of the pattern edge is outside a preset range and the bias check value changes discontinuously. The reference pattern is a pattern generated by rounding the pattern of the design data. The offset check value is an index value indicating the magnitude and direction of the deviation of the pattern edge from the edge of the reference pattern.
5. A method for detecting the edge of a pattern, characterized in that: Generate an image of the pattern, detecting an edge of the pattern on the image based on a reference pattern generated according to design data of the pattern, Repeating the generation of a pattern image and the detection of the edge of the pattern on the image, to create training data candidates consisting of a plurality of images and a plurality of corresponding pattern edges, classifying the plurality of images included in the training data candidates into a plurality of image groups according to types of patterns, removing images from the training data candidates in such a manner that the number of images respectively belonging to the plurality of classified image groups becomes the same, The training data is determined by excluding pattern edges and corresponding images that meet a predetermined disqualification condition from the training data candidates, Using the training data, an edge detection model is generated through machine learning. Generate images of other patterns, Using the edge detection model to detect edges of the other patterns on the image, The reference pattern is a pattern generated by rounding the pattern of the design data.
6. A method for detecting the edge of a pattern, characterized in that: Including the following processes: Generate an image of the pattern, detecting an edge of the pattern on the image based on a reference pattern generated according to design data of the pattern, Repeating the generation of a pattern image and the detection of the edge of the pattern on the image, to create training data consisting of a plurality of images and a plurality of corresponding pattern edges, Using the training data, an edge detection model is generated through machine learning. Generate images of other patterns, Using the edge detection model to detect edges of the other patterns on the image, The process of generating the edge detection model by machine learning is as follows: According to edge attributes based on design data, each of a plurality of pattern edges included in the training data is segmented into a plurality of edges, Using the training data, for each of the plurality of segmented edges, a plurality of edge detection models are generated by machine learning, The reference pattern is a pattern generated by rounding the pattern of the design data.
7. The method according to claim 6, characterized in that The process of detecting the edge of the image of the other pattern is the following process: Using the plurality of edge detection models to respectively detect a plurality of edges of the other patterns on the image, The detected plurality of edges are associated with design data of the other pattern.
