Training data generation device and failure identification system

By generating pseudo-defects and augmenting training data for neural networks with two-dimensional figures and data manipulation techniques, the method enhances defect detection accuracy in semiconductor manufacturing, addressing the scarcity and cost issues of traditional methods.

JP2024133117AActive Publication Date: 2024-10-01SEMICON ENERGY LAB CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2024110156
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2020-01-31
Filing Date
2024-07-09
Publication Date
2024-10-01
Estimated Expiration
2041-01-18

AI Technical Summary

Technical Problem

Existing methods for defect detection in semiconductor manufacturing using neural networks face challenges in accuracy due to the scarcity of defective products in training datasets, requiring extensive time and cost to prepare sufficient learning data for each defect type.

Method used

A method and device for generating learning data by cutting out regions with normal patterns, creating pseudo-defects using two-dimensional figures, and combining them with original image data, along with data augmentation techniques like gamma conversion and noise addition, to enhance the training dataset.

Benefits of technology

This approach significantly improves the accuracy of defect identification by expanding the training dataset effectively, reducing the time and cost associated with traditional data preparation methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024133117000001_ABST
    Figure 2024133117000001_ABST
Patent Text Reader

Abstract

To provide a training data generation device capable of generating training data suitable for training an identification model.SOLUTION: A training data generation device has: a function of cutting out a part of first image data as second image data; a function of generating a two-dimensional figure expressing pseudo failure corresponding to an area of the second image data; a function of combining the second image data and the two-dimensional figure to generate third image data; and a function of giving a label corresponding to the two-dimensional figure to the third image data. By using the third image data in training an identification model, the identification model with high accuracy can be generated.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] 1. Field of the Invention The present invention relates to a method for generating training data, a training data generating device, and a defect identification system. [Background technology]

[0002] Visual inspection is one of the defect detection methods in the semiconductor manufacturing process. A pattern inspection device is one example of a device for automatically performing visual inspection (visual inspection device). Defects are detected and identified from image data acquired using the visual inspection device. When defect detection and identification are performed visually, there may be individual differences in the accuracy of detection and identification. Furthermore, when there is a large amount of image data, it takes a huge amount of time to detect and identify defects.

[0003] In recent years, techniques for detecting and identifying defects using neural networks have been reported. For example, Patent Document 1 discloses an inspection device that classifies an inspection target signal into normal and non-normal based on a trained first neural network, and when the inspection target signal is determined to be non-normal, classifies the type of defect based on a trained second neural network. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2012-026982 A Summary of the Invention [Problem to be solved by the invention]

[0005] In order to improve the accuracy of judgment, classification, and the like, which is performed based on a trained neural network, it is necessary to train the neural network using an appropriate training data set. One method for improving the accuracy is to increase the number of training data items included in the training data set. However, the number of defects is generally very small compared to the number of normal cases. Furthermore, in order to identify defects, it is necessary to prepare training data for each type of defect. Therefore, it takes a huge amount of time and cost to increase the number of training data items.

[0006] Data augmentation (sometimes called data padding) is a method for increasing the number of training data included in a training dataset. Data augmentation is a technique for increasing the number of training data (expanding the amount of training data) by generating variant training data based on already prepared training data. Specifically, variant training data is generated by performing one or more operations on already prepared training data, such as shifting horizontally and / or vertically, flipping horizontally and / or vertically, rotating, zooming in or out, etc. However, in machine learning for identifying defects, there are cases where the accuracy of identifying defects is not sufficiently improved by only performing such operations.

[0007] In view of the above, an object of one embodiment of the present invention is to provide a method for generating training data.Another object of one embodiment of the present invention is to provide a training data generating device.Another object of one embodiment of the present invention is to provide a defect identification system.

[0008] Note that the description of these problems does not preclude the existence of other problems. Note that one embodiment of the present invention does not necessarily solve all of these problems. Note that problems other than these will become apparent from the description of the specification, drawings, claims, etc., and it is possible to extract problems other than these from the description of the specification, drawings, claims, etc. [Means for solving the problem]

[0009] One aspect of the present invention is a learning data generation device having a function of extracting a portion of first image data, in which only areas where the pattern is normal, as second image data, a function of generating a two-dimensional figure representing a pseudo-defect corresponding to the area of ​​the second image data, a function of combining the second image data with the two-dimensional figure to generate third image data, and a function of assigning a label corresponding to the two-dimensional figure to the third image data.

[0010] Another embodiment of the present invention is a learning data generation device having a function of extracting a portion of first image data created by combining areas that do not include defects as second image data, a function of generating a two-dimensional figure representing a pseudo-defect corresponding to the area of ​​the second image data, a function of combining the second image data and the two-dimensional figure to generate third image data, and a function of assigning a label corresponding to the two-dimensional figure to the third image data.

[0011] In the above-mentioned training data generation device, it is preferable that the two-dimensional figure is a first two-dimensional figure or a second two-dimensional figure, the first two-dimensional figure being generated by specifying a shape and a color, and the second two-dimensional figure being generated by cutting out second image data.

[0012] Furthermore, in the above-mentioned training data generation device, it is preferable that the first two-dimensional figure is a first polygon, an ellipse, or a double ellipse, and that the third image data generated by combining the second image data with the first polygon or the ellipse is assigned a first label, and that the third image data generated by combining the second image data with the double ellipse is assigned a second label.

[0013] Furthermore, in the above-mentioned training data generation device, it is preferable that the first polygon has a first vertex through an nth vertex (n is an integer between 3 and 8), the lengths of the line segments connecting a point in the first polygon with each of the first vertex through the nth vertex follow a normal distribution, the normal distribution having an average length that is between 0.05 and 0.25 times the length of the longer side of the second image data and a standard deviation that is 0.2 times the average, the color of the first polygon being between 0 and 20 (expressed in decimal) in 256 levels of RGB, and the transmittance of the color of the first polygon being between 0% and 10%.

[0014] Furthermore, in the above-mentioned training data generation device, it is preferable that the major axis of the ellipse is 0.05 to 0.25 times the length of the longer side of the second image data, the minor axis of the ellipse is 0.6 to 1.0 times the length of the major axis, the color of the ellipse is 0 to 10 (expressed in decimal) in 256-level representation of RGB, and the transmittance of the color of the ellipse is 0 to 10%.

[0015] Furthermore, in the above-mentioned training data generation device, it is preferable that the major axis of the double ellipse is 0.05 to 0.25 times the length of the longer side of the second image data, the minor axis of the double ellipse is 0.6 to 1.0 times the length of the major axis, the difference between the outer diameter and the inner diameter of the double ellipse is 5 to 15 pixels, and the color of the double ellipse is expressed in 256 gradations, with R being 150 to 170 (expressed in decimal), G being 60 to 80 (expressed in decimal), and B being 20 to 40 (expressed in decimal), and the transmittance of the color of the double ellipse being 50% to 75%.

[0016] In the above-mentioned training data generation device, it is preferable that the second two-dimensional figure is a second polygon, and a third label is assigned to third image data generated by combining the second image data and the second polygon.

[0017] Furthermore, in the above-mentioned training data generation device, it is preferable that the second polygon is a rectangle cut out from the second image data rotated at an angle of 30° or more and 150° or less around a point located in the second image data, and that the rectangle has a center of gravity at a point and each of its long sides and short sides has a length of 0.1 times or more and 0.25 times or less than that of the long sides of the second image data.

[0018] In addition, in the above-mentioned training data generation device, it is preferable that the training data generation device has a function of performing gamma conversion on the third image data, and a function of adding noise or performing blurring processing on the third image data.

[0019] Another aspect of the present invention is a defect identification system for identifying defects, the defect identification system having the above-mentioned learning data generation device, a database, and an identification device, in which first image data, fourth image data to which a label has been assigned, and fifth image data to which no label has been assigned are stored in the database, and the identification device has a function of identifying defects contained in the fifth image data based on the learned model.

[0020] In the above defect identification system, it is preferable that the trained model is generated based on a learning dataset composed of the third image data and the fourth image data. Effect of the Invention

[0021] According to one aspect of the present invention, a method for generating training data can be provided. According to another aspect of the present invention, a training data generating device can be provided. According to another aspect of the present invention, a defect identification system can be provided.

[0022] The effects of one embodiment of the present invention are not limited to the effects listed above. The effects listed above do not preclude the existence of other effects. The other effects are effects not mentioned in this section, which will be described below. Effects not mentioned in this section can be derived by a person skilled in the art from descriptions in the specification, drawings, etc., and can be appropriately extracted from these descriptions. One embodiment of the present invention has at least one of the effects listed above and / or other effects. Therefore, one embodiment of the present invention may not have the effects listed above in some cases. [Brief description of the drawings]

[0023] [Figure 1] FIG. 1 is a flow chart illustrating an example of a method for generating image data. [Diagram 2] FIG. 2 is a diagram for explaining a method for extracting image data. [Diagram 3] 3A to 3E are diagrams for explaining two-dimensional figures. [Figure 4] 4A to 4D are diagrams for explaining image data. [Diagram 5] FIG. 5 is a flow chart illustrating an example of a method for generating image data. [Figure 6] FIG. 6 is a flowchart illustrating an example of a method for generating a trained discriminative model. [Figure 7] FIG. 7 is a flow chart illustrating an example method for identifying defects. [Figure 8] 8A and 8B are block diagrams illustrating an example of a fault identification system. [Figure 9] 9A and 9B are block diagrams illustrating an example of a fault identification system. [Figure 10] FIG. 10 is a block diagram illustrating an example of a defect identification system. [Figure 11] 11A to 11I are diagrams illustrating an example of image data. [Figure 12] FIG. 12 is a diagram showing the progress of the accuracy rate for each discrimination model. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0024] The embodiments will be described in detail with reference to the drawings. However, the present invention is not limited to the following description, and it will be easily understood by those skilled in the art that the modes and details of the present invention can be modified in various ways without departing from the spirit and scope of the present invention. Therefore, the present invention should not be interpreted as being limited to the description of the embodiments shown below.

[0025] In the configurations of the invention described below, the same parts or parts having similar functions are denoted by the same reference numerals in different drawings, and repeated explanations thereof will be omitted.

[0026] In addition, for ease of understanding, the position, size, range, etc. of each component shown in the drawings may not represent the actual position, size, range, etc. Therefore, the disclosed invention is not necessarily limited to the position, size, range, etc. disclosed in the drawings.

[0027] In addition, it should be noted that the ordinal numbers "first," "second," and "third" used in this specification are used to avoid confusion of components and are not intended to limit the numbers.

[0028] In addition, in the present specification, when upper and lower limit values ​​are specified, it is understood that any combination of these values ​​is also disclosed.

[0029] In this specification, a data set used for learning and evaluating a machine learning model is referred to as a learning data set. When learning and evaluating a machine learning model, the learning data set is divided into learning data (also called training data) and test data (also called evaluation data). Furthermore, the learning data may be divided into learning data and verification data. Note that the test data may be divided in advance from the learning data set.

[0030] Training data is data used to train a machine learning model. Validation data is data used to evaluate the learning results of a machine learning model. Test data is data used to evaluate a machine learning model. When machine learning is supervised learning, the training data, validation data, and test data are assigned labels.

[0031] (Embodiment 1) In this embodiment, a method for generating training data, a method for generating a trained discrimination model, and a method for discriminating defects will be described with reference to FIGS. 1 to 7. FIG.

[0032] <How to generate training data> A method for generating training data, which is one aspect of the present invention, will now be described.

[0033] Fig. 1 is a flowchart showing an example of a method for generating training data, which is also a flowchart illustrating the flow of processing executed by a training data generating device.

[0034] In this section, a method for generating p (p is an integer equal to or greater than 2) pieces of training data will be described. Note that p may be set in advance, or may be specified by the user before generating the training data.

[0035] The generated training data is used to train a discrimination model, which will be described later. The discrimination model is one of the models for supervised learning. The data input to the discrimination model is image data. Therefore, the training data generated by the above method is image data to which a label is assigned. Here, the p pieces of training data are represented as p pieces of image data 12 (image data 12_1 to image data 12_p). That is, a label corresponding to a defect is assigned to each of the image data 12_1 to image data 12_p.

[0036] The method for generating learning data (image data 12_1 to image data 12_p) includes steps S011 to S014 as shown in Fig. 1. Note that steps S011 to S014 may be collectively referred to as step S002.

[0037] Before performing step S011, image data 10 is acquired. The image data 10 is image data in which only areas that do not include defects are photographed. This image data may be called image data that does not include defects. Alternatively, the image data 10 is image data created by combining multiple areas that do not include defects.

[0038] The image data 12_1 to 12_p are preferably generated in order starting from the image data 12_1. In steps S011 to S013, a method of generating the image data 12_i (i is an integer between 1 and p) will be described.

[0039] [Step S011] Step S011 is a process of cutting out image data 11_i from image data 10. In other words, image data 11_i is a part of image data 10. Details of the process of cutting out image data 11_i from image data 10 will be described later.

[0040] [Step S012] Step S012 is a process of generating a figure (sometimes called a pseudo-failure) that pseudo-represents the characteristics (shape, color, etc.) of the failure. In this embodiment, the pseudo-failure is expressed by a two-dimensional figure. The details of the two-dimensional figure will be described later. The pseudo-failure generated in step S012 is represented as a two-dimensional figure 31_i.

[0041] [Step S013] Step S013 is a process of synthesizing the image data 11_i and the two-dimensional figure 31_i to generate image data 12_i. The operation of synthesizing the image data 11_i and the two-dimensional figure 31_i is an operation of superimposing the two-dimensional figure 31_i on the image data 11_i.

[0042] The two-dimensional figure 31_i is generated taking into consideration the characteristics of the defect, and therefore, a label corresponding to the defect taken into consideration when generating the two-dimensional figure 31_i can be attached to the image data 12_i.

[0043] [Step S014] Step S014 is a process for determining whether p image data 12 have been generated. If the number of generated image data 12 is p (YES), the generation of image data 12 is terminated. On the other hand, if the number of generated image data 12 is less than p (NO), the process proceeds to step S011.

[0044] When proceeding to step S011, it is preferable that the image data 11_i+1 cut out from the image data 10 is located at a different position from the image data 11_i. The location where the defect occurs is not necessarily the same. Therefore, by preparing image data 11 with different cut-out areas, it is possible to improve the accuracy of defect identification. Note that the image data 11_i+1 may coincide with the position of image data 11 other than the image data 11_i.

[0045] As a result, the image data 12_1 to 12_p can be generated. Since the image data 12_1 to 12_p are each assigned a label corresponding to a defect, the image data 12_1 to 12_p can be used as learning data.

[0046] <Details on how to generate training data> This section describes in detail a method for generating the training data described above. The training data described in this section is used, for example, to train a discrimination model for identifying defects detected in a semiconductor manufacturing process.

[0047] The image data 10 is image data obtained by photographing only areas in which the semiconductor film, insulating film, or wiring pattern (hereinafter simply referred to as pattern) is normal in a semiconductor device in the middle of a manufacturing process or in a semiconductor device where the manufacturing process has been completed. Such image data may be called image data of a normal pattern. Alternatively, the image data 10 is image data created by combining multiple areas in which the pattern is normal.

[0048] A method for extracting image data 11_i from image data 10 will be described with reference to FIG.

[0049] Fig. 2 is a diagram for explaining a method for extracting image data 11_i from image data 10. In Fig. 2, image data 11_i is written as image data 11. Also, the pattern included in image data 10 shown in Fig. 2 is a schematic pattern, and does not indicate that the pattern of the photographed semiconductor element is designed as shown in Fig. 2.

[0050] As shown in Fig. 2, the shape of the image data 11 is preferably a rectangle. The rectangle has a long side with a length of a1 and a short side with a length of a2. The lengths a1 and a2 are specified so that the image data 11 fits within the image data 10. Therefore, at least the length a1 is set to be equal to or less than the length of the long side of the image data 10, and the length a2 is set to be equal to or less than the length of the short side of the image data 10. Furthermore, the lengths a1 and a2 are specified so that defects fit within the image data 11.

[0051] It is preferable that the ratio of the length a1 to the length a2 is equal to the ratio of the length of the long side of the image data 10 to the length of the short side of the image data 10. When the ratio of the length of the long side of the image data 10 to the length of the short side of the image data 10 is 4:3, for example, it is preferable that the length a1 is 640 pixels and the length a2 is 480 pixels.

[0052] The ratio of the length a1 to the length a2 does not necessarily have to match the ratio of the length of the long side of the image data 10 to the length of the short side of the image data 10. For example, the ratio of the length a1 to the length a2 of the above rectangle may be different from the ratio of the length of the long side of the image data 10 to the length of the short side of the image data 10. Alternatively, the shape of the image data 11 may be a square.

[0053] Alternatively, the long side of the rectangle may be parallel to the short side of the image data 10, and the short side of the rectangle may be parallel to the long side of the image data 10. Alternatively, the long side of the rectangle may not be parallel or perpendicular to the long side of the image data 10.

[0054] The position of the image data 11 is determined so that the image data 11 fits within the image data 10. The position of the image data 11 may be determined based on the center of gravity of the image data 11 or one of the vertices of the image data 11. For example, the center of gravity of the image data 11 is determined by a uniform random number within a range 10s shown by a dotted line in FIG. 2. Here, the range 10s is a range in which the long side of the range 10s is located a2 / 2 inward from the long side of the image data 10, and the short side of the range 10s is located a1 / 2 inward from the short side of the image data 10. Furthermore, the uniform random number is a random number that follows a continuous uniform distribution in which all real numbers appear with the same probability within a specified interval or range.

[0055] In the above, the process of determining the position of the image data 11 after specifying the length a1 and the length a2 has been described, but the process is not limited to this. After specifying the position of the image data 11, the length a1 and the length a2 may be determined so that the image data 11 fits within the image data 10. Alternatively, the position of the image data 11 and the length a1 and the length a2 may be determined simultaneously so that the image data 11 fits within the image data 10.

[0056] It is preferable that the length of the long side and the length of the short side of the image data 11_i are equal to the length of the long side and the length of the short side of the other image data 11 (image data 11_1 to image data 11_p, except for image data 11_i). It is also preferable that the position of the image data 11_i is different from at least a part of the other image data 11 (image data 11_1 to image data 11_p, except for image data 11_i). This can improve the accuracy of identifying defects, as described above.

[0057] Next, the two-dimensional figure 31_i will be described in detail.

[0058] Defects detected in the semiconductor manufacturing process include, for example, foreign matter contamination, film loss, pattern defects, film residue, film lift, and disconnection. These defects have different characteristics such as shape and color. Therefore, the shape and color characteristics of the two-dimensional figure need to be different for each defect.

[0059] In this embodiment, examples of identifying typical defects such as foreign matter contamination, film loss, and pattern defects will be described. Note that foreign matter contamination refers to defects caused by foreign matter originating from workers, materials, manufacturing equipment, work environment, etc., adhering to a substrate (semiconductor substrate such as silicon wafer, glass substrate, plastic substrate, metal substrate, SOI substrate, etc.) in the semiconductor manufacturing process. Film loss refers to defects caused by peeling off of a normal pattern. Furthermore, pattern defects refer to defects caused by a pattern not being formed as designed.

[0060] As described above, a pattern defect is a defect in which a pattern is not formed as designed. Therefore, a two-dimensional figure representing a pattern defect may be generated by cutting out image data 10. On the other hand, a foreign body is a defect caused by unintentional mixing. Also, a film hole is a defect in which a normal pattern is peeled off. Therefore, the foreign body and the film hole have a shape and color that are unrelated to the pattern. Therefore, a two-dimensional figure representing the foreign body and the film hole may be generated by specifying the shape and color.

[0061] Therefore, taking into consideration the characteristics of the foreign matter, film break, and pattern defect, such as their shape and color, the two-dimensional figure representing the foreign matter is set to an ellipse or a first polygon. The two-dimensional figure representing the film break is set to a double ellipse. The two-dimensional figure representing the pattern defect is set to a second polygon.

[0062] The two-dimensional figure 31_i (an ellipse, a first polygon, a double ellipse, or a second polygon) generated in step S012 will be described in detail below with reference to FIGS. 3A to 3E.

[0063] <<Oval>> An example of the shape, color, and arrangement of an ellipse representing a foreign object will be described with reference to FIG. 3A.

[0064] 3A shows an ellipse 31A1 representing a foreign object. The ellipse 31A1 has a major axis length (major axis) of b1 and a minor axis length (minor axis) of b2.

[0065] The major axis b1 of the ellipse 31A1 is 0.025 to 0.4 times, preferably 0.05 to 0.25 times, the length a1 of the long side of the image data 11. Specifically, the major axis b1 should be a value determined by a uniform random number within the range of 0.05a1 to 0.25a1.

[0066] The minor axis b2 of the ellipse 31A1 is 0.5 to 1.0 times, preferably 0.6 to 1.0 times, the major axis b1 of the ellipse 31A1. Specifically, the minor axis b2 may be a value determined by a uniform random number within the range of 0.6b1 to 1.0b1.

[0067] When the major axis b1 and the minor axis b2 are equal, the ellipse 31A1 becomes a circle (a perfect circle). Therefore, the shape of the ellipse 31A1 also includes a circle (a perfect circle).

[0068] The angle between the line parallel to the long side of the image data 11 and the major axis of the ellipse 31A1 is defined as the rotation angle c1 of the ellipse 31A1. The rotation angle c1 may be a value determined by a uniform random number within the range of 0° or more and less than 360°, for example.

[0069] The color of the ellipse 31A1 is preferably close to the color of the foreign matter to be detected. For example, the color of the ellipse 31A1 is preferably black or a color close to black. Specifically, when the color is expressed by a mixture of R (red), G (green), and B (blue) expressed in 256 gradations (8 bits), the color of the ellipse 31A1 is such that each of R, G, and B is 0 to 40 (in decimal), preferably 0 to 20 (in decimal).

[0070] The foreign matter to be detected often has low light transmittance. Therefore, it is preferable that the transmittance of the color of the ellipse 31A1 is low. For example, the transmittance of the color of the ellipse 31A1 is 0% or more and 20% or less, and preferably 0% or more and 10% or less.

[0071] It is advisable to generate the ellipse 31A1 so as to satisfy the above.

[0072] The shape of the ellipse 31A1 is not limited to the above, and may be an egg shape, an oval shape, etc. When the shape of the ellipse 31A1 is an egg shape, an oval shape, etc., it is preferable that the shape is similar to the above-mentioned shape.

[0073] The arrangement of the ellipse 31A1 may be determined by uniform random numbers so that the entire ellipse 31A1 falls within the range of the image data 11.

[0074] <<First Polygon>> An example of the shape, color, and arrangement of the first polygon representing the foreign object will be described with reference to FIG. 3B.

[0075] A first polygon 31A2 representing a foreign object is shown in FIG. 3B.

[0076] The number of sides of the first polygon 31A2 is randomly determined from integers between 3 and 8. Here, the number of sides of the first polygon 31A2 is n (n is an integer between 3 and 8). In this specification, the number of sides of the first polygon 31A2 is equal to the number of vertices of the first polygon 31A2. In other words, the first polygon 31A2 is a polygon having n vertices, and is an n-sided polygon. In FIG. 3B, the first polygon 31A2 is illustrated as a pentagon.

[0077] The vertices of the first polygon 31A2 are denoted as the first vertex through the nth vertex. A line connecting a point in the first polygon 31A2 and the kth vertex (k is an integer between 1 and n) is denoted as the kth line segment. Here, the angle between adjacent line segments (the angle between the kth line segment and the (k+1)th line segment, however, when k is n, the angle between the nth line segment and the first line segment) is 360 / n [°]. Note that the angle between adjacent line segments is not limited to this. For example, it may be determined by normal random numbers. The average of the normal distribution to which the normal random numbers follow is, for example, 360 / n [°]. The standard deviation of the normal distribution to which the normal random numbers follow is, for example, 0.1 to 0.3 times the average, preferably 0.2 times the average.

[0078] The length of the k-th line segment is denoted as d_k. Each of the lengths d_1 to d_n is determined by random numbers following a normal distribution (also called normal random numbers). The average of the normal distribution is, for example, 0.025 to 0.4 times, preferably 0.05 to 0.25 times, the length a1 of the long side of the image data 11. Specifically, the average is a value determined by uniform random numbers within the range of 0.05a1 to 0.25a1. The standard deviation of the normal distribution is, for example, 0.1 to 0.3 times, preferably 0.2 times, the average.

[0079] The angle between a line parallel to the long side of image data 11 and a line segment (first line segment) connecting the above point and the first vertex is defined as the rotation angle c2 of first polygon 31A2. Note that rotation angle c2 may be defined as the angle between a line parallel to the long side of image data 11 and a line segment (any one of the second line segment to the nth line segment) connecting the above point and any one of the second vertex to the nth vertex. Rotation angle c2 is, for example, a value determined by a uniform random number within the range of 0° or more and less than 360°.

[0080] The color of the first polygon 31A2 is preferably close to the color of the foreign object to be detected. For example, the color of the first polygon 31A2 is preferably black or a color close to black. Specifically, when the color is expressed by a mixture of R, G, and B expressed in 256 gradations, the color of the first polygon 31A2 is preferably such that each of R, G, and B is 0 to 40 (expressed in decimal), and preferably 0 to 20 (expressed in decimal).

[0081] The detected foreign matter often has low light transmittance. Therefore, it is preferable that the transmittance of the color of the first polygon 31A2 is low. For example, the transmittance of the color of the first polygon 31A2 is 0% or more and 20% or less, and preferably 0% or more and 10% or less.

[0082] It is advisable to generate the first polygon 31A2 so as to satisfy the above.

[0083] The layout of the first polygon 31A2 may be determined by uniform random numbers so that the entire first polygon 31A2 falls within the range of the image data 11.

[0084] <<Double ellipse>> An example of the shape, color, and arrangement of the double ellipses representing the membrane breakthrough will be described with reference to FIG. 3C.

[0085] A double ellipse 31B representing a membrane breakthrough is shown in Figure 3C. The ellipse shown by a dotted line in Figure 3C is a curve drawn by connecting points where the distance to the outer ellipse of the double ellipse 31B is equal to the distance to the inner ellipse of the double ellipse 31B. The ellipse shown by a dotted line in Figure 3C has a major axis b3 and a minor axis b4. Here, the major axis of the double ellipse 31B is represented by b3, the minor axis by b4, and the width of the double ellipse 31B (the distance between the outer ellipse and the inner ellipse) by e1.

[0086] The major axis b3 of the double ellipse 31B is 0.025 to 0.4 times, preferably 0.05 to 0.25 times, the length a1 of the long side of the image data 11. Specifically, the major axis b3 is a value determined by a uniform random number within the range of 0.05a1 to 0.25a1.

[0087] The minor axis b4 of the double ellipse 31B is 0.5 to 1.0 times, preferably 0.6 to 1.0 times, the major axis b3 of the double ellipse 31B. Specifically, the minor axis b4 of the double ellipse 31B is a value determined by a uniform random number within the range of 0.6b3 to 1.0b3.

[0088] In addition, when the major axis b3 and the minor axis b4 are equal, the double ellipse 31B becomes a double circle (double regular circle). Therefore, the shape of the double ellipse 31B also includes a double circle (double regular circle).

[0089] The angle between a line parallel to the long side of the image data 11 and the major axis of the double ellipse 31B is defined as the rotation angle c3 of the double ellipse 31B. The rotation angle c3 may be a value determined by a uniform random number within the range of 0° or more and less than 360°, for example.

[0090] The width e1 of the double ellipse 31B is 3 pixels or more and 25 pixels or less, and preferably 5 pixels or more and 15 pixels or less.

[0091] The color of the double ellipse 31B is preferably close to the color of the film loss to be detected. Specifically, when the color is expressed by a mixture of R, G, and B expressed in 256 gradations, the color of the double ellipse 31B is R between 140 and 180 (expressed in decimal), preferably between 150 and 170 (expressed in decimal). Also, G is between 50 and 90 (expressed in decimal), preferably between 60 and 80 (expressed in decimal). Also, B is between 10 and 30 (expressed in decimal), preferably between 20 and 40 (expressed in decimal).

[0092] The film leakage detected often has light transmittance. Therefore, it is preferable that the color transmittance of the double ellipse 31B is medium. For example, the color transmittance of the double ellipse 31B is 40% or more and 85% or less, preferably 50% or more and 75% or less.

[0093] It is advisable to generate a double ellipse 31B so as to satisfy the above.

[0094] The double ellipse 31B is not limited to the above shape, and may be an area surrounded by two egg shapes, or an area surrounded by two ovals. Alternatively, it may be an area surrounded by two figures with different shapes. For example, it may be an area surrounded by two figures selected from an ellipse, an egg shape, or an oval shape. When the shape of the double ellipse 31B is the area, it may have a shape similar to the above shape.

[0095] The arrangement of the double ellipse 31B may be determined by uniform random numbers so that the entire double ellipse 31B falls within the range of the image data 11.

[0096] <<Second Polygon>> An example of a method for generating and arranging a second polygon representing a pattern defect will be described with reference to FIGS. 3D and 3E.

[0097] First, a method for generating the second polygon 31C representing a pattern defect will be described.

[0098] First, the coordinate P is determined. The coordinate P is determined by a uniform random number within the range 11s shown in FIG. 3D. Here, the range 11s is the range of the image data 11 excluding a certain width from the end. Here, if the certain width is e2, e2 is preferably 8 pixels or more and 12 pixels or less, and more preferably 10 pixels.

[0099] In FIG. 3D, the shortest length from one of the short sides of the image data 11 to the coordinate P is denoted by f1, and the shortest length from one of the long sides of the image data 11 to the coordinate P is denoted by f2.

[0100] Next, the image data 11 is rotated by an angle g around the coordinate P. The reference for the angle g may be a line parallel to the long side of the image data 11. The angle g is determined by a uniform random number within a range of 30° to 150°. Note that although the angle g is illustrated as being counterclockwise in FIG. 3D, it may be clockwise. The image data 11 rotated by the angle g is designated as image data 11t.

[0101] A quadrangle is cut out from image data 11t, with the position of the center of gravity being coordinate P. The cut out quadrangle is set as second polygon 31C (see FIG. 3E). Second polygon 31C has a long side length of h1 and a short side length of h2.

[0102] The length h1 of the long side of the second polygon 31C is 0.025 to 0.4 times, preferably 0.1 to 0.25 times, the length a1 of the long side of the image data 11. Specifically, the length h1 is a value determined by a uniform random number within the range of 0.1a1 to 0.25a1.

[0103] The length h2 of the short side of the second polygon 31C is 0.025 to 0.4 times, preferably 0.1 to 0.25 times, the length a1 of the long side of the image data 11. Specifically, the length h2 is a value determined by a uniform random number within the range of 0.1a1 to 0.25a1.

[0104] The pattern defect to be detected tends to be larger than the foreign object to be detected. Therefore, by specifying the length h1 and the length h2 as described above, it is possible to generate the second polygon 31C that is close to the pattern defect to be detected.

[0105] The lengths f1, f2, h1, and h2 are preferably determined so that the second polygon 31C does not extend beyond the image data 11t. Therefore, if the second polygon 31C extends beyond the image data 11t at the determined lengths f1, f2, h1, and h2, the lengths f1, f2, h1, and h2 are preferably determined repeatedly using uniform random numbers until the second polygon 31C does not extend beyond the image data 11t.

[0106] In this way, the second polygon 31C can be generated.

[0107] In the above description, the rectangle is cut out so that the long side of the second polygon 31C is parallel to the long side of the image data 11, but this is not limited to the above. The long side of the second polygon 31C does not have to be parallel to the long side of the image data 11.

[0108] In the above, the second polygon 31C is described as being a rectangle, but is not limited thereto. For example, the second polygon 31C may be a triangle, a polygon with pentagons or more, or an ellipse. If the shape of the second polygon 31C is a triangle, a polygon with pentagons or more, or an ellipse, it may have a shape similar to the above-mentioned shapes.

[0109] The second polygon 31C is disposed so that the center of gravity of the second polygon 31C coincides with the coordinate P. However, the arrangement of the second polygon 31C is not limited to this, and the arrangement may be determined by uniform random numbers so that the entire second polygon 31C falls within the range of the image data 11.

[0110] In this manner, the two-dimensional figure 31_i can be generated. Since the two-dimensional figure 31_i is generated in consideration of the characteristics of the defect, the use of the two-dimensional figure 31_i can perform suitable data expansion.

[0111] As described above, parameters related to the size (area) of the two-dimensional figure 31_i (the major axis b1 of the ellipse 31A1, the length d_k of the kth line segment of the first polygon 31A2, the major axis b3 of the double ellipse 31B, the length h1 of the long side of the second polygon 31C, etc.) are determined based on the length of the long side and / or the length of the short side of the image data 11. In other words, the size (area) of the two-dimensional figure 31_i corresponds to the size (area) of the image data 11.

[0112] In addition to the above defects (foreign matter contamination, film loss, and pattern defects), defects detected in the semiconductor manufacturing process include film residue, film lift, and wire breaks. When identifying these defects, it is advisable to generate two-dimensional figures suitable for them.

[0113] Next, the image data 12 (any of the image data 12_1 to 12_p) will be described.

[0114] 4A to 4D are diagrams for explaining image data 12. Fig. 4A shows image data 12A1 generated by combining image data 11 and an ellipse 31A1. Fig. 4B shows image data 12A2 generated by combining image data 11 and a first polygon 31A2. Fig. 4C shows image data 12B generated by combining image data 11 and a double ellipse 31B. Fig. 4D shows image data 12C generated by combining image data 11 and a second polygon 31C.

[0115] As described above, the image data 12_i is assigned a label corresponding to the two-dimensional figure 31_i. For example, when the two-dimensional figure 31_i is an ellipse 31A1 or a first polygon 31A2, the image data 12_i is assigned a label corresponding to a foreign substance. Or, when the two-dimensional figure 31_i is a double ellipse 31B, the image data 12_i is assigned a label corresponding to a film defect. Or, when the two-dimensional figure 31_i is a second polygon 31C, the image data 12_i is assigned a label corresponding to a pattern defect.

[0116] Specifically, a label corresponding to a foreign substance is added to the image data 12A1 shown in Fig. 4A and the image data 12A2 shown in Fig. 4B. A label corresponding to a film defect is added to the image data 12B shown in Fig. 4C. A label corresponding to a pattern defect is added to the image data 12C shown in Fig. 4D.

[0117] This concludes the detailed description of the method for generating training data.

[0118] <Another example of how to generate training data> The method of generating the learning data is not limited to the above-mentioned method. For example, the method of generating the learning data may include steps S015 and S016 between steps S013 and S014 shown in FIG. 1 as shown in FIG.

[0119] [Step S015] Step S015 is a step of determining whether or not to perform gamma conversion on the image data 12_i. Gamma conversion is an operation for adjusting the brightness of an image, and is an operation for converting the luminance value of each pixel of the image data using an exponential function.

[0120] If it is determined that gamma conversion is to be performed (step S015: YES), the gamma conversion is performed on the image data 12_i. On the other hand, if it is determined that gamma conversion is not to be performed (step S015: NO), the gamma conversion is not performed on the image data 12_i.

[0121] Instead of the gamma conversion, contrast adjustment may be performed, or the gamma conversion and contrast adjustment may be selected randomly for each of the image data 12_1 to 12_p.

[0122] [Step S016] Step S016 is a step of determining whether or not to perform noise addition or blurring on the image data 12_i.

[0123] Noise addition is an operation to add randomly appearing fluctuating components (noise) to image data. Examples of noise to be added include noise based on a Gaussian distribution (also called Gaussian noise) and noise that appears randomly with a certain frequency independent of position (also called impulse noise).

[0124] Blurring is an operation of blurring contours or color boundaries by performing filtering. Filters used for blurring include, for example, an averaging filter and a Gaussian filter. The range to be blurred may be the entire image data 12_i or a part of the image data 12_i.

[0125] When it is determined that noise is to be added, noise is added to the image data 12_i. Alternatively, when it is determined that blurring is to be performed, blurring is performed to the image data 12_i. Alternatively, when it is determined that neither noise addition nor blurring is to be performed (step S016: NO), noise addition and blurring are not performed to the image data 12_i.

[0126] The above is an explanation of the method for generating training data. This allows data expansion in consideration of the characteristics of defects. The training data generated by this method is added to a training data set for training a discrimination model. This makes it possible to provide a discrimination model with high accuracy in discriminating defects.

[0127] <How to generate a trained discrimination model> A method for generating a trained discriminative model according to one aspect of the present invention is described.

[0128] Fig. 6 is a flowchart showing an example of a method for generating a trained discrimination model. Fig. 6 is also a flow diagram explaining the flow of processing executed by the training data generating device. Note that the flowchart shown in Fig. 6 includes the above-mentioned method for generating training data.

[0129] The method for generating a trained discrimination model includes steps S001 to S006 as shown in FIG.

[0130] [Step S001] Step S001 is a process of acquiring image data 10 and a plurality of image data 20.

[0131] As described above, the image data 10 is image data that does not include defects, or image data created by combining multiple regions that do not include defects. Also, the image data 10 is image data of a normal pattern, or image data created by combining multiple regions in which the pattern is normal.

[0132] Each of the multiple image data 20 (image data 20_1 to image data 20_q (q is an integer equal to or greater than 2)) is image data including defects. Note that image data 20_j (j is an integer equal to or greater than 1 and equal to or less than q) is assigned a label corresponding to the defect included in the image data 20_j. In other words, the multiple image data 20 are image data that can be used as learning data, verification data, or test data.

[0133] [Step S002] Step S002 is a process of generating p pieces of image data 12 (image data 12_1 to image data 12_p). Step S002 has steps S011 to S014 shown in Fig. 1. For steps S011 to S014, the contents described in <Method for generating learning data> can be referred to.

[0134] It is preferable that the number of image data 12 created for each defect is approximately equal. For example, it is preferable that the number of image data 12 to which a label corresponding to a foreign substance is assigned, the number of image data 12 to which a label corresponding to a film hole is assigned, and the number of image data 12 to which a label corresponding to a pattern defect is assigned are approximately equal. This makes it possible to suppress overfitting (overlearning) for a specific defect.

[0135] Specifically, each of the two-dimensional figures 31_1 to 31_p may be determined to be any one of an ellipse 31A1, a first polygon 31A2, a double ellipse 31B, and a second polygon 31C by uniform random numbers.

[0136] Alternatively, the two-dimensional figures 31_1 to 31_p may be generated so that the sum of the number of ellipses 31A1 generated and the number of first polygons 31A2 generated, the number of double ellipses 31B generated, and the number of second polygons 31C generated are equal.

[0137] [Step S003] Step S003 is a process of generating a learning dataset.

[0138] The input data of the learning dataset is a plurality of image data 20 and the p pieces of image data 12 generated in step S002. That is, the input data is image data 20_1 to image data 20_q and image data 12_1 to image data 12_p.

[0139] The correct labels of the learning dataset are the labels assigned to each of the image data 20_1 to 20_q and the labels assigned to each of the image data 12_1 to 12_p.

[0140] From the above, the learning dataset is composed of (q+p) pieces of image data.

[0141] [Step S004] Step S004 is a process of training a discrimination model using the training data set generated in step S003.

[0142] It is preferable to use a convolutional neural network (CNN) as the discrimination model. Examples of CNN include VGG16, GoogLeNet, and ResNet.

[0143] When training the discriminative model, it is advisable to divide the training data set into training data, validation data, and test data. For example, the discriminative model is trained using the training data, the validation data is used to evaluate the training results, and the test data is used to evaluate the trained discriminative model. This makes it possible to confirm the accuracy of the trained discriminative model. Hereinafter, the ratio of the number of correct discrimination results to the number of test data may be referred to as the accuracy rate.

[0144] The test data is composed of a part of the image data 20_1 to 20_q. The verification data is composed of a part of the image data 20 that is not used for the test data. The learning data is composed of the image data 12_1 to 12_p and the image data 20 that is not used for the test data and the verification data. By configuring the test data only from image data that includes defects, it is possible to evaluate the accuracy of identifying defects contained in image data that is not labeled.

[0145] Methods for dividing a learning data set into learning data, validation data, and test data include, for example, the hold-out method, the cross-validation method, and the leave-one-out method.

[0146] [Step S005] Step S005 is a step of determining whether to end the learning of the discrimination model.

[0147] The learning may be terminated when a predetermined number of trials is reached. Alternatively, the learning may be terminated when the accuracy rate exceeds a predetermined threshold. Alternatively, the learning may be terminated when the accuracy rate is saturated to a certain extent. It is preferable to prepare a constant in advance for the number of trials or the threshold. Alternatively, the user may specify the timing for termination while attempting the learning.

[0148] If it is determined that the learning is to be ended (YES), the process proceeds to step S006.

[0149] If it is determined that the learning is not to be ended (NO), the process proceeds to step S002. That is, the image data 12_1 to 12_p included in the learning data set are generated for each learning. This makes it possible to shorten the time required for learning and improve the accuracy rate.

[0150] Through the above learning, a trained discrimination model is generated.

[0151] [Step S006] Step S006 is a process of outputting the trained discrimination model generated in step S004.

[0152] The above is an example of a method for generating a trained discrimination model. Using the training data generating method according to one aspect of the present invention, training data is generated, and a training dataset including the training data is generated. By training a discrimination model based on the training dataset, a discrimination model with high defect discrimination accuracy can be generated.

[0153] <How to identify defects> According to one aspect of the present invention, a method for identifying defects is described.

[0154] Fig. 7 is a flowchart showing an example of a method for identifying defects contained in image data, which is also a flowchart explaining the flow of processing executed by the identification device.

[0155] The method for identifying defects contained in image data includes steps S021 and S022, as shown in FIG.

[0156] [Step S021] Step S021 is a process of acquiring image data 21. Note that the number of image data 21 is not limited to one, and may be multiple.

[0157] The image data 21 is image data that includes defects. The defects included in the image data 21 have not been identified. In other words, no label has been added to the image data 21. Therefore, the image data 21 is image data that is to be identified.

[0158] [Step S022] Step S022 is a step of evaluating the image data 21. That is, step S022 is a step of identifying defects contained in the image data 21. For this identification, it is preferable to use the trained identification model output in step S006.

[0159] When the image data 21 is input to the discrimination model, an output value is obtained. The output value is a posteriori probability and is used to discriminate defects. Defects are discriminated based on the output value.

[0160] The above is an example of a method for identifying defects contained in image data. By using the trained identification model generated in step S006, defects can be identified with high accuracy.

[0161] According to an aspect of the present invention, a method for generating training data can be provided. According to another aspect of the present invention, a method for generating a trained discrimination model can be provided. According to another aspect of the present invention, a method for identifying defects can be provided.

[0162] This embodiment mode can be appropriately combined with other embodiment modes, examples, etc. In addition, in the case where a plurality of configuration examples are shown in one embodiment mode in this specification, the configuration examples can be appropriately combined.

[0163] (Embodiment 2) In this embodiment, a defect identification system according to one embodiment of the present invention will be described with reference to FIGS. 8A, 8B, 9A, 9B, and 10. FIG.

[0164] The defect identification system of the present embodiment can generate suitable training data by using the method for generating training data described in embodiment 1. Moreover, the defect identification system of the present embodiment can generate a trained identification model by using the method for generating a trained identification model described in embodiment 1. Moreover, the defect identification system of the present embodiment can identify defects by using the method for identifying defects described in embodiment 1.

[0165] <Defect Identification System> A defect identification system according to one aspect of the present invention will now be described.

[0166] The defect identification system can be provided in an information processing device such as a personal computer used by a user, or the defect identification system can be provided in a server and used from a client PC via a network.

[0167] An example of a defect identification system according to an embodiment of the present invention is shown in Fig. 8A. Fig. 8A is a diagram showing a configuration of a defect identification system 100. As shown in Fig. 8A, the defect identification system 100 includes a training data generation device 101 and a classification device 102.

[0168] The training data generation device 101 has a function of generating training data. Note that for a method of generating training data, the contents described in <Method of generating training data> and the like can be referred to.

[0169] Furthermore, the training data generation device 101 has a function of generating a trained discrimination model. Note that for a method of generating a trained discrimination model, the contents described in <Method of generating a trained discrimination model> and the like can be referred to.

[0170] The training data generation device 101 has a storage unit (not shown in FIG. 8A). The storage unit stores image data 10 and a plurality of image data 20. Note that the storage unit may store training data generated by the training data generation device 101.

[0171] The training data generation device 101 includes a processing unit (not shown in FIG. 8A). The processing unit generates training data and also generates a trained discrimination model.

[0172] The training data generation device 101 may have an input unit (not shown in FIG. 8A). The image data 10 and the multiple image data 20 are stored in the storage unit via the input unit. The image data 10 and the multiple image data 20 may be stored in the storage unit via a storage medium, communication, or the like.

[0173] The training data generation device 101 may have an output unit (not shown in FIG. 8A). The output unit supplies the trained discrimination model to the discrimination device 102. The trained discrimination model may be supplied to the discrimination device 102 via a storage medium, communication, or the like.

[0174] The identification device 102 has a function of identifying defects. For a method of identifying the defects, the contents described in <Method of identifying defects> and the like can be referred to. The identification device 102 may have a function of evaluating the position of the defect.

[0175] The classification device 102 has a storage unit (not shown in FIG. 8A ). The storage unit stores one or more pieces of image data 21 and a trained classification model.

[0176] The identification device 102 comprises a processing unit (not shown in FIG. 8A) for identifying defects contained in the image data and for evaluating the location of the defects contained in the image data.

[0177] The classification device 102 may have an input unit (not shown in FIG. 8A). One or more pieces of image data 21 and the trained classification model are stored in the storage unit via the input unit. Alternatively, one or more pieces of image data 21 and the trained classification model may be stored in the storage unit via a storage medium, communication, or the like.

[0178] The identification device 102 may have an output unit (not shown in FIG. 8A). The output unit has a function of supplying information. The information is a result obtained by the processing unit. For example, the information is an output value (such as a posteriori probability) corresponding to a defect, a name and a position of an identified defect, etc. The information is supplied as, for example, visual information such as a character string, a numerical value, or a graph, audio information, etc.

[0179] The identification device 102 may have a display unit (not shown in FIG. 8A). The display unit has a function of supplying the above information. The display unit may be an output device such as a display or a printer.

[0180] In the defect identification system 100, for example, the training data generation device 101 may be provided in a server and the identification device 102 may be provided in a terminal. Alternatively, the training data generation device 101 and the identification device 102 may be provided in a single terminal or server.

[0181] A defect identification system 100 in which a training data generating device 101 is provided in a server and an identification device 102 is provided in a terminal will be described with reference to FIG. 8B.

[0182] 8B is a block diagram of the defect identification system 100. In the drawings attached to this specification, the components are classified by function and shown as independent blocks in the block diagram, but it is difficult to completely separate the components by function in reality, and one component may be involved in multiple functions. Also, one function may be involved in multiple components, and for example, the processing performed by the processing unit 202 may be executed by different servers depending on the processing.

[0183] The defect identification system 100 includes a server 220 and a terminal 230. The terminal 230 is, for example, a personal computer.

[0184] The server 220 includes a processing unit 202, a transmission path 212, a storage unit 213, and a communication unit 217a. Although not shown in Fig. 8B, the server 220 may further include an input unit, an output unit, and the like.

[0185] The terminal 230 includes an input unit 201, a storage unit 203, a display unit 205, a transmission path 216, a communication unit 217b, and a processing unit 218. Although not shown in Fig. 8B, the terminal 230 may further include an output unit, a database, and the like.

[0186] The image data received by the communication unit 217a is stored in the storage unit 213 via the transmission path 212. Alternatively, the image data may be directly supplied to the processing unit 202 from the communication unit 217a.

[0187] The generation of training data and the generation of a trained discrimination model, as described in the above embodiment, etc., require high processing power. The processing unit 202 of the server 220 has a higher processing power than the processing unit 218 of the terminal 230. Therefore, it is preferable that the generation of training data and the generation of a trained discrimination model are performed by the processing unit 202.

[0188] Then, a trained classification model is generated by the processing unit 202. The trained classification model is supplied from the processing unit 202 to the communication unit 217a via the transmission path 212 or directly. The trained classification model is transmitted from the communication unit 217a of the server 220 to the communication unit 217b of the terminal 230 and stored in the storage unit 203. Alternatively, the trained classification model may be stored in the storage unit 213 via the transmission path 212.

[0189] [Transmission path 212 and transmission path 216] The transmission paths 212 and 216 have a function of transmitting data. Data can be transmitted and received between the processing unit 202, the storage unit 213, and the communication unit 217a via the transmission path 212. Data can be transmitted and received between the input unit 201, the storage unit 203, the display unit 205, the communication unit 217b, and the processing unit 218 via the transmission path 216.

[0190] [Processing unit 202 and processing unit 218] The processing unit 202 has a function of performing processing using data supplied from the storage unit 213, the communication unit 217a, etc. The processing unit 218 has a function of performing processing using data supplied from the input unit 201, the storage unit 203, the communication unit 217b, etc. It is preferable that the processing unit 202 has a higher processing capacity than the processing unit 218.

[0191] The processing unit 202 and the processing unit 218 may be formed of a transistor having a metal oxide in a channel formation region. Since the off-state current of the transistor is extremely small, the transistor can be used as a switch for holding a charge (data) flowing into a capacitive element functioning as a memory element, thereby ensuring a long data holding period. By using this characteristic in at least one of the register and the cache memory of the processing unit 202 and the processing unit 218, the processing unit 202 and the processing unit 218 can be operated only when necessary, and the processing unit 202 and the processing unit 218 can be turned off by saving information of the immediately preceding process in the memory element in other cases. In other words, normally-off computing is possible, and the power consumption of the defect identification system 100 can be reduced.

[0192] Note that in this specification and the like, a transistor using an oxide semiconductor for a channel formation region is referred to as an oxide semiconductor transistor (OS transistor).The channel formation region of an OS transistor preferably contains a metal oxide.

[0193] The metal oxide in the channel formation region preferably contains indium (In). When the metal oxide in the channel formation region contains indium, the carrier mobility (electron mobility) of the OS transistor is increased. The metal oxide in the channel formation region preferably contains an element M. The element M is preferably aluminum (Al), gallium (Ga), or tin (Sn). Other elements that can be used for the element M include boron (B), titanium (Ti), iron (Fe), nickel (Ni), germanium (Ge), yttrium (Y), zirconium (Zr), molybdenum (Mo), lanthanum (La), cerium (Ce), neodymium (Nd), hafnium (Hf), tantalum (Ta), and tungsten (W). However, the element M may be a combination of a plurality of the above elements. The element M is, for example, an element having a high bond energy with oxygen. For example, the element M is an element having a higher bond energy with oxygen than indium. The metal oxide in the channel formation region preferably contains zinc (Zn), since zinc-containing metal oxides may tend to crystallize.

[0194] The metal oxide contained in the channel formation region is not limited to a metal oxide containing indium. The metal oxide contained in the channel formation region may be, for example, a metal oxide containing zinc but not indium, such as zinc tin oxide or gallium tin oxide, a metal oxide containing gallium, or a metal oxide containing tin.

[0195] A transistor containing silicon in a channel formation region (Si transistor) may be used for the processing section 202 and the processing section 218. A transistor containing a semiconductor material having a band gap, such as graphene, silicene, or chalcogenide (transition metal chalcogenide), may be used for the channel formation region.

[0196] The processing portion 202 and the processing portion 218 may include a combination of a transistor including an oxide semiconductor in a channel formation region and a transistor including silicon in a channel formation region.

[0197] The processing unit 202 and the processing unit 218 each include, for example, an arithmetic circuit or a central processing unit (CPU: Central Processing Unit).

[0198] The processing unit 202 and the processing unit 218 may have a microprocessor such as a digital signal processor (DSP) or a graphics processing unit (GPU). The microprocessor may be realized by a programmable logic device (PLD) such as a field programmable gate array (FPGA) or a field programmable analog array (FPAA). The processing unit 202 and the processing unit 218 can perform various data processing and program control by interpreting and executing instructions from various programs using the processor. Programs that can be executed by the processor are stored in at least one of a memory area of ​​the processor and the storage unit 203.

[0199] The processing unit 202 and the processing unit 218 may each include a main memory. The main memory includes at least one of a volatile memory such as a RAM and a non-volatile memory such as a ROM.

[0200] As the RAM, for example, a dynamic random access memory (DRAM) or a static random access memory (SRAM) is used, and a memory space is virtually allocated and used as a working space for the processing unit 202 and the processing unit 218. The operating system, application programs, program modules, program data, lookup tables, and the like stored in the storage unit 203 are loaded into the RAM for execution. These data, programs, and program modules loaded into the RAM are directly accessed and operated by the processing unit 202 and the processing unit 218, respectively.

[0201] ROM can store BIOS (Basic Input / Output System) and firmware that do not require rewriting. Examples of ROM include mask ROM, OTPROM (One Time Programmable Read Only Memory), EPROM (Erasable Programmable Read Only Memory), etc. Examples of EPROM include UV-EPROM (Ultra-Violet Erasable Programmable Read Only Memory), which allows the erasure of stored data by exposure to ultraviolet light, EEPROM (Electrically Erasable Programmable Read Only Memory), flash memory, etc.

[0202] In addition, a product-sum operation is performed in a neural network. When the product-sum operation is performed by hardware, it is preferable that the processing unit 202 and the processing unit 218 have a product-sum operation circuit. As the product-sum operation circuit, a digital circuit or an analog circuit may be used. When an analog circuit is used for the product-sum operation circuit, it is possible to reduce the circuit scale of the product-sum operation circuit or to reduce the number of accesses to the memory, thereby improving the processing speed and reducing power consumption. In addition, the product-sum operation may be performed on software using a program.

[0203] The product-sum circuit may be formed using either Si transistors or OS transistors. In particular, OS transistors have an extremely small off-state current and are therefore suitable as transistors forming the analog memory of the product-sum circuit. Note that the product-sum circuit may be formed using both Si transistors and OS transistors.

[0204] [Storage section 203] The storage unit 203 has a function of storing a program executed by the processing unit 218. The storage unit 203 also has a function of storing a trained discrimination model generated by the processing unit 202, a calculation result generated by the processing unit 218, data input to the communication unit 217b, data input to the input unit 201, and the like.

[0205] The storage unit 203 has at least one of a volatile memory and a non-volatile memory. The storage unit 203 may have a volatile memory such as a DRAM or an SRAM. The storage unit 203 may have a non-volatile memory such as a ReRAM (Resistive Random Access Memory, also called a resistance change type memory), a PRAM (Phase change Random Access Memory), a FeRAM (Ferroelectric Random Access Memory), an MRAM (Magnetoresistive Random Access Memory, also called a magnetoresistive type memory), or a flash memory. The storage unit 203 may also have a recording media drive such as a hard disk drive (HDD) and a solid state drive (SSD).

[0206] [Storage section 213] The storage unit 213 has a function of storing a program executed by the processing unit 202. The storage unit 213 also has a function of storing a discrimination model, data input to the communication unit 217a, etc. The storage unit 213 can refer to the explanation of the storage unit 203.

[0207] [Communication Unit 217a and Communication Unit 217b] Using the communication units 217a and 217b, data can be transmitted and received between the server 220 and the terminal 230. A hub, a router, a modem, or the like can be used as the communication units 217a and 217b. Data can be transmitted and received using either a wired connection or wirelessly (for example, radio waves, infrared rays, etc.).

[0208] In addition, communication between server 220 and terminal 230 may be performed by connecting to a computer network such as the Internet, which is the basis of the World Wide Web (WWW), an intranet, an extranet, a Personal Area Network (PAN), a Local Area Network (LAN), a Campus Area Network (CAN), a Metropolitan Area Network (MAN), a Wide Area Network (WAN), or a Global Area Network (GAN).

[0209] The configuration of the defect identification system 100 is not limited to the above. The server 220 may have part of the functions of the identification device 102, and the terminal 230 may have part of the functions of the training data generation device 101. For example, the server 220 may have the function of identifying defects that the identification device 102 has.

[0210] The above is a description of the defect identification system 100. Note that, although FIG. 8A shows the defect identification system 100 having a configuration including the learning data generating device 101 and the identification device 102, the configuration is not limited to this. Modifications of the defect identification system 100 are described below. The modification examples of the defect identification system described below can be appropriately combined with other defect identification systems shown in this specification and the like.

[0211] Fig. 9A shows a defect identification system 100A, which is a modified example of the defect identification system 100 shown in Fig. 8A. As shown in Fig. 9A, the defect identification system 100A may have a database 103 in addition to a training data generating device 101 and a classification device 102.

[0212] The database 103 is connected to the training data generating device 101 and the classification device 102 via a transmission path.

[0213] The above-mentioned transmission paths include networks such as a local area network (LAN) and the Internet, etc. Furthermore, the network can use either or both of wired and wireless communication.

[0214] The database 103 stores image data. The image data is image data used as learning data (for example, the image data 20 described in the previous embodiment), image data to be classified (for example, the image data 21 described in the previous embodiment), image data used when generating learning data (for example, the image data 10 described in the previous embodiment), etc. The image data is stored in the database 103 via an input unit of the learning data generating device 101, an input unit of the classification device 102, a storage medium, communication, etc. At this time, the image data does not need to be stored in a storage unit of the learning data generating device 101 or a storage unit of the classification device 102.

[0215] In the defect identification system 100A, for example, the training data generating device 101 and the database 103 may be provided in a server, and the identification device 102 may be provided in a terminal. Alternatively, the training data generating device 101, the identification device 102, and the database 103 may be provided in a single terminal or server. Alternatively, the database 103 may be provided in a terminal or server different from the terminal or server in which the training data generating device 101 is provided and the terminal or server in which the identification device 102 is provided.

[0216] A defect identification system 100A in which the training data generating device 101, the identification device 102, and the database 103 are provided in a single terminal or server will be described with reference to FIG. 9B.

[0217] FIG. 9B is a block diagram of a fault identification system 100A.

[0218] The defect identification system 100A shown in FIG. 9B includes an input unit 201, a processing unit 202, a storage unit 203, a database 204, a display unit 205, and a transmission path 206.

[0219] [Input section 201] Image data is supplied to the input unit 201 from outside the defect identification system 100A. The image data may be image data to which a label has been added, image data to which no label has been added, image data used when generating learning data, or the like. In other words, the image data may be image data used as learning data (e.g., image data 20 described in the previous embodiment), image data to be identified (e.g., image data 21 described in the previous embodiment), image data used when generating learning data (e.g., image data 10 described in the previous embodiment), or the like. The image data supplied to the input unit 201 is supplied to the processing unit 202, the storage unit 203, or the database 204 via the transmission path 206.

[0220] [Processing section 202] The processing unit 202 has a function of performing processing using data supplied from the input unit 201, the storage unit 203, the database 204, etc. The processing unit 202 can supply the processing results to the storage unit 203, the database 204, the display unit 205, etc.

[0221] The processing unit 202 has a function of generating learning data, a function of generating a trained discrimination model, and a function of identifying defects.

[0222] [Storage section 203] The storage unit 203 has a function of storing a program executed by the processing unit 202. The storage unit 203 may also have a function of storing, for example, a trained discrimination model, a processing result generated by the processing unit 202, data input to the input unit 201, etc. Specifically, the storage unit 203 preferably has a function of storing the training data, the training data set, and the trained discrimination model generated by the processing unit 202, as well as the fault discrimination result, etc.

[0223] [Database 204] The defect identification system 100A has a database 204. For example, the database 204 has a function of storing the image data. The database 204 may store the learning data, the learning data set, and the learned identification model generated by the processing unit 202, as well as the defect identification results. In this case, these data do not need to be stored in the storage unit 203.

[0224] The storage unit 203 and the database 204 do not have to be separated from each other. For example, the defect identification system 100A may have a storage unit having the functions of both the storage unit 203 and the database 204.

[0225] The memories included in the processing unit 202, the storage unit 203, and the database 204 can each be considered as an example of a non-transitory computer-readable storage medium.

[0226] [Display section 205] The display unit 205 has a function of displaying the processing results in the processing unit 202. The display unit 205 also has a function of displaying the defect identification results.

[0227] [Transmission Line 206] The transmission path 206 has a function of transmitting various data. Data can be transmitted and received between the input unit 201, the processing unit 202, the storage unit 203, the database 204, and the display unit 205 via the transmission path 206. For example, data such as image data and a trained discrimination model is transmitted and received via the transmission path 206.

[0228] The defect identification system 100A may have an output unit. The output unit has a function of supplying data to the outside.

[0229] The above is a description of the defect identification system 100A.

[0230] 10 shows a defect identification system 100B, which is a modified example of the defect identification system 100 shown in Fig. 8A. As shown in Fig. 10, the defect identification system 100B may have an imaging device 104 and an inspection device 105 in addition to the training data generation device 101 and the identification device 102.

[0231] The imaging device 104 has a function of capturing an image of a semiconductor element in the middle of a manufacturing process or a semiconductor element whose manufacturing process has been completed. An example of the imaging device 104 is a camera. By capturing an image of the semiconductor element, image data is acquired that has not been determined to be defective. In other words, the image data is image data that can be a target for identification. Alternatively, the image data is image data that can be used when generating learning data.

[0232] The inspection device 105 has a function of determining whether or not a defect is included in the image data acquired by using the imaging device 104. This makes it possible to determine whether or not a defect is included in the image data.

[0233] The determination of whether or not a defect is included is performed by comparing the image data to be determined with the image data obtained immediately before. For example, first, the difference between the image data to be determined and the image data obtained immediately before is obtained. Then, the determination of whether or not a defect is included may be performed based on the difference.

[0234] Machine learning may be used to determine whether a defect is included. The number of image data to be used to determine whether a defect is included can be enormous. Therefore, by using machine learning, the time required for the determination can be reduced.

[0235] For example, a method similar to that for detecting an abnormal portion can be used to determine whether a defect is included. For detecting an abnormal portion, unsupervised learning may be used. Therefore, it is preferable to use unsupervised learning for this determination. By using unsupervised learning, even if the number of image data containing defects is small, it is possible to accurately determine whether a defect is included.

[0236] In addition, supervised learning may be used to detect an abnormal portion. Therefore, supervised learning may be used for the judgment. By using supervised learning, it is possible to accurately judge whether or not a defect is included.

[0237] It is preferable to use a neural network (particularly, deep learning) for the above machine learning.

[0238] The image data that is determined to include a defect is subjected to classification. In other words, the image data corresponds to the image data 21 described in the first embodiment. Therefore, the image data is supplied to the classification device 102.

[0239] Image data that is determined not to include defects may be used when generating learning data. That is, the image data may be used as the image data 10 described in the first embodiment. In addition, when a neural network is used as a function for determining whether or not a defect is included, the image data may be used as learning data for the neural network.

[0240] The defect identification system 100B has an imaging device 104 and an inspection device 105, and as a result, in addition to generating training data, generating a trained identification model, and identifying defects, it can also acquire image data and determine whether or not there is a defect.

[0241] The above is a description of the configuration of the defect identification system 100. By using the defect identification system according to one aspect of the present invention, defects can be identified with high accuracy.

[0242] According to one aspect of the present invention, a training data generating device and a defect identification system are provided.

[0243] This embodiment mode can be appropriately combined with other embodiment modes, examples, etc. In addition, in the case where a plurality of configuration examples are shown in one embodiment mode in this specification, the configuration examples can be appropriately combined. EXAMPLES

[0244] In this example, the results of defect identification obtained using the identification model will be described with reference to Fig. 11 and Fig. 12. Specifically, a learning dataset was prepared, a trained identification model was generated based on the learning dataset, and defects were identified using the identification model, thereby calculating the accuracy rate of defect identification.

[0245] First, we created three training datasets (training dataset 1A, training dataset 2A, and training dataset 3A).

[0246] The learning data set 1A is made up of only image data including defects, that is, the learning data set 1A is made up of only a plurality of image data 20.

[0247] 11A to 11C show an example of a plurality of image data 20. Fig. 11A shows image data 20_1 in which a foreign substance 41A_1 is found. Fig. 11B shows image data 20_2 in which a film defect 41B_1 is found. Fig. 11C shows image data 20_3 in which a pattern defect 41C_1 is found.

[0248] The image data 20_1 is given a label corresponding to a foreign substance, the image data 20_2 is given a label corresponding to a film loss, and the image data 20_3 is given a label corresponding to a pattern defect.

[0249] For the training data set 1A, 600 pieces of image data 20 were prepared. The training data set 1A was divided into 300 pieces of training data and 300 pieces of validation data.

[0250] The learning data set 2A is composed of image data including defects and image data including pseudo defects generated by using the method for generating learning data according to one embodiment of the present invention. That is, the learning data set 2A is composed of a plurality of image data 20 and a plurality of image data 12.

[0251] 11D to 11F show examples of multiple image data 12. Fig. 11D shows image data 12_1 combined with an ellipse 31A1_1 that is a pseudo-failure. Fig. 11E shows image data 12_2 combined with a double ellipse 31B_1 that is a pseudo-failure. Fig. 11F shows image data 12_3 combined with a second polygon 31C_1 that is a pseudo-failure.

[0252] The image data 12_1 is given a label corresponding to a foreign substance, the image data 12_2 is given a label corresponding to a film loss, and the image data 12_3 is given a label corresponding to a pattern defect.

[0253] For the learning data set 2A, 600 pieces of image data 20 and 10,000 pieces of image data 12 were prepared. The learning data set 2A was divided into learning data and validation data. The learning data is composed of 300 pieces of image data 20 and 10,000 pieces of image data 12. The validation data is composed of 300 pieces of image data 20 that were not used as the learning data.

[0254] The training data set 3A, which is a comparative example, is composed of image data including defects and image data including pseudo defects that are generated without using the method for generating training data according to one embodiment of the present invention. That is, the training data set 3A is composed of a plurality of image data 20 and a plurality of image data 13.

[0255] The image data 13 is image data including a two-dimensional figure 42. The two-dimensional figure 42 is a two-dimensional figure generated without using the method for generating learning data of one embodiment of the present invention. In other words, the two-dimensional figure 42 is a two-dimensional figure that cannot be generated by the method for generating learning data of one embodiment of the present invention. In other words, the shape and / or color of the two-dimensional figure 42 is different from the shape and / or color of a two-dimensional figure that can be generated using the method for generating learning data of one embodiment of the present invention (the two-dimensional figure that can be generated in step S012 described in the previous embodiment).

[0256] 11G to 11I show an example of a plurality of image data 13. FIG. 11G shows image data 13_1 combined with a two-dimensional figure 42_1 that is a pseudo-failure. FIG. 11H shows image data 13_2 combined with a two-dimensional figure 42_2 that is a pseudo-failure. FIG. 11I shows image data 13_3 combined with a two-dimensional figure 42_3 that is a pseudo-failure.

[0257] The image data 13_1 is given a label corresponding to a foreign substance, the image data 13_2 is given a label corresponding to a film loss, and the image data 13_3 is given a label corresponding to a pattern defect.

[0258] The two-dimensional figure 42_1 is different from a two-dimensional figure representing a foreign object that can be generated by a method for generating learning data according to one embodiment of the present invention. For example, the color of the two-dimensional figure 42_1 is different from the color that the first polygon 31A2 can have. Specifically, the gradation value of the two-dimensional figure 42_1 is 255 for R, and 0 for G and B.

[0259] The two-dimensional figure 42_2 is different from a two-dimensional figure representing a film break that can be generated by a method for generating learning data according to one embodiment of the present invention. For example, the shape and color of the two-dimensional figure 42_2 are different from the shape and color that the double ellipse 31B can have. Specifically, the shape of the two-dimensional figure 42_2 is a rectangle. In addition, the gradation values ​​of the two-dimensional figure 42_2 are 0 for R and G, and 255 for B.

[0260] The two-dimensional figure 42_3 is different from a two-dimensional figure expressing a pattern failure that can be generated by a method for generating learning data according to one embodiment of the present invention. For example, the shape and color of the two-dimensional figure 42_3 are different from the shape and color that the second polygon 31C can have. Specifically, the shape of the two-dimensional figure 42_3 is an ellipse. In addition, the gradation values ​​of the two-dimensional figure 42_3 are 0 for each of R, G, and B.

[0261] For the learning data set 3A, 600 pieces of image data 20 and 10,000 pieces of image data 13 were prepared. The learning data set 3A was divided into learning data and validation data. The learning data is composed of 300 pieces of image data 20 and 10,000 pieces of image data 12. The validation data is composed of 300 pieces of image data 20 that were not used as the learning data.

[0262] A discrimination model was trained based on training data set 1A. This discrimination model is referred to as discrimination model 1B. Furthermore, a discrimination model was trained based on training data set 2A. This discrimination model is referred to as discrimination model 2B. Furthermore, a discrimination model was trained based on training data set 3A. This discrimination model is referred to as discrimination model 3B.

[0263] Next, defect classification was performed using test data by using the classification models 1B, 2B, and 3B. Note that 300 pieces of image data 20 were prepared as the test data.

[0264] Fig. 12 is a diagram showing the transition of the accuracy rate of defective classification. The dotted line in Fig. 12 indicates the accuracy rate of defective classification versus the number of learning times when discrimination model 1B is used. The solid line in Fig. 12 indicates the accuracy rate of defective classification versus the number of learning times when discrimination model 2B is used. The dashed line in Fig. 12 indicates the accuracy rate of defective classification versus the number of learning times when discrimination model 3B is used.

[0265] As shown in Fig. 12, after the number of learning rounds at which the accuracy rate was saturated to a certain extent (specifically, after the 100th round), the accuracy rate of the discrimination model 2B was higher than that of the discrimination model 1B. Therefore, it can be seen that the training data set 2A used to train the discrimination model 2B is a training data set that has been subjected to appropriate data expansion. From the above, it can be seen that by using the image data 12 included in the training data set 2A, defects can be discriminated with high accuracy.

[0266] 12, after the number of training rounds reached a certain level of saturation in accuracy rate (specifically, after the 200th round), the accuracy rate of the discrimination model 3B was almost the same as that of the discrimination model 1B. Therefore, it can be seen that the training dataset 3A used to train the discrimination model 3B is a training dataset that has not been subjected to appropriate data augmentation.

[0267] As described above, by using the learning data generated using the method for generating learning data according to one embodiment of the present invention, defects can be identified with high accuracy.

[0268] This embodiment can be implemented in appropriate combination with the configurations described in the other embodiment modes. [Explanation of symbols]

[0269] 10: image data, 10s: range, 11: image data, 11_i: image data, 11_p: image data, 11_1: image data, 11s: range, 11t: image data, 12: image data, 12_i: image data, 12_p: image data, 12_1: image data, 12_2: image data, 12_3: image data, 12A1: image data, 12A2: image data, 12B: image data, 12C: image data, 13: image data, 13_1: image data, 13_2: image data, 13_3: image data, 20: image data, 20_j: image data, 20_q: image data, 20_1: image data, 20_2: image data, 20_3: image data, 21: image data, 31_i: two-dimensional figure, 31_p: two-dimensional figure, 31_1: two-dimensional figure, 31A1_1: ellipse, 31A 1: ellipse, 31A2: first polygon, 31B: double ellipse, 31B_1: double ellipse, 31C: second polygon, 31C_1: second polygon, 41A_1: foreign matter, 41B_1: film loss, 41C_1: pattern defect, 42: two-dimensional figure, 42_1: two-dimensional figure, 42_2: two-dimensional figure, 42_3: two-dimensional figure, 100: defect identification system, 100A: defect identification system, 100B: defect identification System, 101: learning data generating device, 102: identification device, 103: database, 104: imaging device, 105: inspection device, 201: input unit, 202: processing unit, 203: storage unit, 204: database, 205: display unit, 206: transmission path, 212: transmission path, 213: storage unit, 216: transmission path, 217a: communication unit, 217b: communication unit, 218: processing unit, 220: server, 230: terminal

Claims

[Claim 1] A function of extracting a part of the first image data in which only an area in which the pattern is normal is photographed as the second image data; a function of generating a two-dimensional figure representing a pseudo-failure corresponding to an area of ​​the second image data; a function of generating third image data by synthesizing the second image data and the two-dimensional figure; a function of assigning a label corresponding to the two-dimensional figure to the third image data; having Training data generation device.

Citation Information

Patent Citations

  • Display device and electronic apparatus

    JP2018036639A

  • Image generation device and image generation method of generating an inspection-purpose image for making performance adjustment of image inspection system

    JP2018205123A

  • Training a machine learning model with synthetic images

    US20190294923A1

  • Inspection device

    JP2012026982A