Inspection system, inspection method and program

The inspection device uses machine learning to classify defects and false alarms, providing feedback to the previous process and enhancing manufacturing quality by addressing unnoticed abnormalities and reducing false alarms.

JP2024132653APending Publication Date: 2024-10-01SCREEN HOLDINGS CO LTD

Patent Information

Application Number
JP2023043507
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-17
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing visual inspection systems fail to provide feedback on over-judged products, leading to unnoticed minor abnormalities or improvements in the previous process, as operators are not informed about false alarms and true defects.

Method used

An inspection device using machine learning to classify defects and false alarms, incorporating a classification section that utilizes trained models to categorize defects and false alarms by type, and an output section to provide feedback on these classifications.

Benefits of technology

Enables the feedback of defect and false alarm classifications to the previous process, improving the quality of manufacturing by identifying and addressing minor abnormalities and reducing false alarms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024132653000001_ABST
    Figure 2024132653000001_ABST
Patent Text Reader

Abstract

To provide an inspection system capable of providing feedback of classification results of defects and misinformation to previous steps.SOLUTION: The inspection system for inspecting a substrate with a pattern on the surface includes a classification unit 303 and an output unit 304. The classification unit 303 classifies defect candidates that are detected by a primary inspection of the inspection images obtained by picking up images of the substrate into each type of defect and misinformation by using a pre-trained model that is created by machine learning. The output unit 304 outputs classification results by the classification unit 303. With this, classification results of defects and misinformation can be fed back to previous steps (for example, substrate manufacturing step, primary inspection step and the like).SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a technique for inspecting a substrate having a pattern on its surface. [Background technology]

[0002] Conventionally, in the inspection of a printed wiring board, an inspection device inspects images of each area of ​​the printed wiring board and extracts images that are determined to have defects. Then, a defect confirmation operation (so-called verify operation) is performed in which an operator visually checks the area on the printed wiring board that corresponds to the extracted image. The defects extracted by the inspection device include true defects that are likely to cause quality problems and false reports that are substantially unlikely to cause quality problems, and in the above-mentioned defect confirmation operation, an operator visually extracts true defects from the defects extracted by the inspection device.

[0003] Furthermore, Patent Document 1 proposes an appearance inspection system that includes a primary inspection unit that performs defect judgment based on an image of an object without using machine learning, and a secondary inspection unit that uses a machine learning model to distinguish between truly defective products and over-judged products (i.e., non-defective products judged as defective due to overdetection). This allows only truly defective products to be detected in the appearance inspection, and prevents over-judged products from being detected as defective, thereby improving productivity. [Prior art documents] [Patent documents]

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

[0005] Incidentally, in the appearance inspection system of Patent Document 1, if there are many objects judged as over-judged by the secondary inspection unit, there is a possibility that some minor anomaly or phenomenon requiring improvement has occurred in a process carried out prior to the appearance inspection. However, in this appearance inspection system, objects judged as over-judged are collectively treated as non-defective, so that the operator has no opportunity to notice the minor anomaly or the points for improvement, and the minor anomaly or the points for improvement are not fed back to the previous process.

[0006] The present invention has been made in consideration of the above problems, and has an object to feed back the results of classification of defects and false alarms to the previous process. [Means for solving the problem]

[0007] A first aspect of the present invention is an inspection device for inspecting a substrate having a pattern on its surface, comprising: a classification unit that classifies defect candidates detected by a primary inspection of an inspection image obtained by imaging the substrate into types of defects and false alarms using a trained model created by machine learning; and an output unit that outputs the classification results obtained by the classification unit.

[0008] A second aspect of the present invention is the inspection device of the first aspect, further comprising a first inspection unit that performs the primary inspection on the inspection image.

[0009] A third aspect of the present invention is the inspection apparatus of the first or second aspect, wherein the classification unit classifies the defect candidates into types of defects and types of false alarms based on the conformance of the defect candidates to each of a plurality of defect types and a plurality of false alarm types.

[0010] A fourth aspect of the present invention is the inspection device of the first or second aspect, wherein the classification unit comprises a second inspection unit that performs a secondary inspection on the defect candidates using a trained model created by machine learning to classify the defect candidates into defects or false alarms, a defect classification unit that classifies the defects classified by the second inspection unit into each type of defect using a trained model created by machine learning, and a false alarm classification unit that classifies the false alarms classified by the second inspection unit into each type of false alarm using a trained model created by machine learning.

[0011] A fifth aspect of the present invention is the inspection apparatus of the fourth aspect, wherein the defect classification unit classifies the defects into each defect type based on the conformity of the defects classified by the second inspection unit to each of a plurality of defect types, and the false alarm classification unit classifies the false alarm into each false alarm type based on the conformity of the defects classified by the second inspection unit to each of a plurality of false alarm types.

[0012] A sixth aspect of the present invention is the inspection device of the fifth aspect, wherein the false alarm classification unit classifies the false alarm classified by the second inspection unit as a non-defective product when the conformity of the false alarm to each of the plurality of false alarm types is less than a predetermined threshold value.

[0013] A seventh aspect of the present invention is the inspection device of the first or second aspect (or any one of the first to sixth aspects), further comprising an alarm unit that issues an alarm when the number of false reports classified into one type of false report in the classification result is equal to or greater than a predetermined number.

[0014] An eighth aspect of the present invention is the inspection device of the first or second aspect (or any one of the first to seventh aspects), wherein the defect candidate is associated with an inspection logic that detected the defect candidate among a plurality of inspection logics used in the primary inspection. The inspection device further includes an alarm unit that issues an alarm when the number of false alarms associated with one inspection logic in the classification result is equal to or greater than a predetermined number.

[0015] A ninth aspect of the present invention is an inspection method for inspecting a substrate having a pattern on its surface, comprising the steps of: a) classifying defect candidates detected by a primary inspection of an inspection image obtained by imaging the substrate into types of defects and false alarms using a trained model created by machine learning; and b) outputting the classification results from step a).

[0016] A tenth aspect of the present invention is a program for inspecting a substrate having a pattern on its surface, the program being executed by a computer to perform the steps of: a) classifying defect candidates detected by a primary inspection of an inspection image obtained by imaging the substrate into types of defects and false alarms using a trained model created by machine learning; and b) outputting the classification results from step a). Effect of the Invention

[0017] In the present invention, the results of classifying defects and false alarms can be fed back to the previous process. [Brief description of the drawings]

[0018] [Figure 1] FIG. 1 is a diagram showing a configuration of an inspection device according to an embodiment; [Diagram 2] FIG. 1 illustrates a configuration of a computer. [Diagram 3] FIG. 1 is a diagram showing a functional configuration realized by a computer. [Figure 4] FIG. 13 is a diagram showing an example of a display of a classification result. [Diagram 5] FIG. 1 is a diagram showing a flow of inspection of a substrate. [Figure 6] FIG. 1 is a diagram showing a flow of inspection of a substrate. [Figure 7] FIG. 1 is a diagram showing a flow of inspection of a substrate. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0019] 1 is a diagram showing the configuration of an inspection device 1 according to an embodiment of the present invention. The inspection device 1 is a device that inspects the appearance of, for example, a printed wiring board 9 (hereinafter also simply referred to as "board 9") before electronic components are mounted thereon. A pattern (for example, a copper wiring pattern or an electrode pattern) is formed on the surface of the board 9. On the board 9, there are, for example, an area where the copper plating is exposed, an area where the copper wiring is covered with a solder resist as a protective film, and an area where the solder resist is disposed directly on the surface of the base material.

[0020] The inspection device 1 includes an image acquisition device 2 that captures an image of the substrate 9, and a computer 3. The computer 3 is a processing device including a calculation unit. The computer 3 also controls the overall operation of the inspection device 1. The image acquisition device 2 includes an imaging unit 21, a stage 22 that holds the substrate 9, and a stage movement mechanism 23. The imaging unit 21 captures an image of the substrate 9. The image is, for example, a grayscale image of the entire region to be inspected on the substrate 9, and is also referred to as a "captured image" in the following description. The captured image captured by the imaging unit 21 may be, for example, a multi-tone color image. The stage movement mechanism 23 moves the stage 22 relatively to the imaging unit 21.

[0021] The imaging unit 21 includes an illumination unit 211, an optical system 212, and an imaging device 213. The optical system 212 guides illumination light emitted from the illumination unit 211 to the substrate 9, and guides reflected light from the substrate 9 to the imaging device 213. The imaging device 213 converts the image of the substrate 9 formed by the optical system 212 into an electrical signal. The illumination unit 211 includes a lamp such as an LED or a light bulb, and optical elements such as a lens and a reflecting member that adjust the light from the lamp. The optical system 212 includes optical elements such as a plurality of lenses and a half mirror. The imaging device 213 is, for example, a two-dimensional imaging sensor. The imaging device 213 may be a one-dimensional imaging sensor, in which case an image of the substrate 9 is captured while the stage 22 is moved.

[0022] The stage moving mechanism 23 is composed of, for example, a ball screw, a guide rail, a motor, etc. Various mechanisms can be adopted as the stage moving mechanism 23, and for example, a linear motor can be used. The computer 3 controls the stage moving mechanism 23 and the imaging unit 21, so that the stage 22 moves in the horizontal direction and a desired area on the substrate 9 is imaged. The stage 22 is a holding unit that holds the substrate 9. The substrate 9 may be held by various methods. For example, a groove is formed in the stage 22, and suction is performed from a suction port formed in the groove, so that the substrate 9 is adsorbed onto the stage 22. A large number of suction ports may be formed in the stage 22 to adsorb the substrate 9. The stage 22 may be formed of a porous material, and suction may be performed from the porous material. The stage 22 may hold the substrate 9 by a mechanical mechanism.

[0023] FIG. 2 is a diagram showing the configuration of the computer 3. The computer 3 has a configuration of a general computer system including a CPU 31, a ROM 32, a RAM 33, a fixed disk 34, a display 35, an input unit 36, a reading device 37, a communication unit 38, a GPU 39, and a bus 30. The CPU 31 performs various arithmetic processing. The GPU 39 performs various arithmetic processing related to image processing. The ROM 32 stores a basic program. The RAM 33 stores various information. The fixed disk 34 stores information. The display 35 displays various information such as images. The input unit 36 ​​includes a keyboard 36a and a mouse 36b that accept input from an operator. The reading device 37 reads information from a computer-readable recording medium 81 such as an optical disk, a magnetic disk, a magneto-optical disk, or a memory card. The display 35, the keyboard 36a, the mouse 36b, and the reading device 37 are connected to the bus 30 via an interface I / F. The communication unit 38 transmits and receives signals to and from other components and external devices of the inspection device 1. The bus 30 is a signal circuit that connects the CPU 31, the GPU 39, the ROM 32, the RAM 33, the fixed disk 34, the display 35, the input unit 36, the reading device 37, and the communication unit 38.

[0024] In computer 3, program 811 is read in advance from recording medium 81 via reader 37 and stored in fixed disk 34. Program 811 may be stored in fixed disk 34 via a network. CPU 31 and GPU 39 execute arithmetic processing while using RAM 33 and fixed disk 34 in accordance with program 811. CPU 31 and GPU 39 function as a calculation unit in computer 3. Other configurations functioning as a calculation unit other than CPU 31 and GPU 39 may be employed.

[0025] FIG. 3 is a diagram showing a functional configuration realized by the first computer 3 executing arithmetic processing and the like according to the program 811. These functional configurations include a storage unit 301, a first inspection unit 302, a classification unit 303, an output unit 304, an alarm unit 305, and a control unit 306. The classification unit 303 includes a second inspection unit 331, a defect classification unit 332, and a false alarm classification unit 333. All or a part of these functions may be realized by a dedicated electric circuit. Also, these functions may be realized by a plurality of computers. Among the functional configurations shown in FIG. 3, the first inspection unit 302, the classification unit 303, the output unit 304, the alarm unit 305, and the control unit 306 are realized by the CPU 31, the GPU 39, the ROM 32, the RAM 33, the fixed disk 34, and their peripheral configurations. Also, the storage unit 301 is mainly realized by the RAM 33 and the fixed disk 34.

[0026] The storage unit 301 stores the captured images acquired by the imaging unit 21 and various information related to the inspection of the substrate 9. The control unit 306 controls the operations of the imaging unit 21 and the stage moving mechanism 23, as well as each of the functional components.

[0027] The first inspection unit 302 performs an inspection using the captured image to detect defect candidates. In the following description, the inspection by the first inspection unit 302 is also referred to as a "primary inspection." In the primary inspection, for example, an image showing a part of the substrate 9 (i.e., a part of the captured image) is subject to one inspection, and the inspection is repeated over the entire area of ​​the substrate 9 to be inspected, thereby performing a primary inspection of the entire captured image. In the following description, the image subject to one inspection in the primary inspection (i.e., an image showing a part of the substrate 9) is also referred to as an "inspected image."

[0028] In the primary inspection, for example, a rule-based inspection is performed. The rule-based inspection is an inspection method in which a certain rule is set for the pattern shape on the substrate 9, and a portion of the pattern on the substrate 9 that does not comply with the rule is judged to be defective, and various methods are known. In the first inspection unit 302, for example, a predetermined feature amount is calculated from each portion of the pattern included in the image to be inspected by a judgment algorithm created in advance based on a design rule, and the feature amount is compared with a threshold value for distinguishing between a non-defective product and a defect candidate, thereby judging whether the portion corresponds to a defect candidate. The feature amount is calculated based on, for example, the line width of the pattern, the end shape of the pattern, and the like. In the primary inspection, a predetermined image processing may be performed on the image to be inspected before extracting the feature amount.

[0029] The first inspection unit 302 performs a primary inspection of each inspection image using a plurality of inspection logics having different design rules, judgment algorithms, etc. Among the plurality of inspection logics, the first inspection unit 302 uses the inspection logics for the primary inspection in order of, for example, the inspection logic corresponding to the defect having the greatest effect on the quality of the substrate 9, and judges the presence or absence of a defect candidate in the inspection image. Information related to the plurality of inspection logics is stored in advance in the storage unit 301.

[0030] An inspection image that is determined to include a defect candidate in the primary inspection is classified as a defect candidate image in the storage unit 301. An inspection image that is determined to include no defect candidate in the primary inspection is classified as a non-defective image in the storage unit 301. Each defect candidate image is associated with one of the above-mentioned multiple inspection logics that detected the defect candidate included in the defect candidate image, and is stored in the storage unit 301. In other words, the defect candidate in each defect candidate image is associated with one of the multiple inspection logics.

[0031] The second inspection section 331 of the classification section 303 inspects the above-mentioned defect candidate image and judges whether the defect candidate included in the defect candidate image is a true defect or not. In other words, the second inspection section 331 classifies the defect candidates included in the defect candidate image into defects that are likely to cause quality problems for the substrate 9 (hereinafter also referred to as "true defects") and false reports that are substantially unlikely to cause quality problems for the substrate 9. In the following description, a defect candidate image that is judged by the second inspection section 331 to contain a defect (i.e., a true defect) is also referred to as a "defect image", and a defect candidate image that is judged by the second inspection section 331 not to contain the defect is also referred to as a "false report image". The false report image includes false reports that are defect candidates that are not judged to be defects by the second inspection section 331. As described above, the defect candidate image is linked to one inspection logic used in the primary inspection, and the defect image and the false report image are also linked to one inspection logic by inheriting the information of the linking.

[0032] In the following description, the inspection of the defect candidate image by the second inspection unit 331 is also referred to as a "secondary inspection." In the secondary inspection, for example, an AI inspection is performed using a trained model created by machine learning. The AI ​​inspection is an inspection method that analyzes an image of a pattern on the substrate 9 using an AI (artificial intelligence) image recognition technology and determines whether or not there is a defect. The trained model used in the secondary inspection (hereinafter also referred to as a "trained model for secondary inspection") is generated, for example, by another computer and stored in advance in the storage unit 301. Note that the trained model for secondary inspection may be generated by the computer 3.

[0033] The trained model for secondary inspection is created, for example, by machine learning the relationship between an image showing a part of the substrate 9 (i.e., an image corresponding to the above-mentioned inspected image) and the presence or absence of a true defect for the initial model. The machine learning is performed, for example, by deep learning using a neural network. The learning by deep learning is performed, for example, by using ResNet. Note that the machine learning may be performed by a method other than deep learning.

[0034] The defect classification unit 332 classifies defects included in a defect image by defect type. That is, the defect classification unit 332 classifies and groups a plurality of defect images by the type of defect included in each defect image. For example, each of the plurality of defect images is associated with one type of defect, and each defect image is stored in a folder indicating the one type of defect associated with it.

[0035] The classification of defect images is performed, for example, by using a trained model (hereinafter also referred to as a "trained model for defect classification") created by machine learning. Specifically, a plurality of trained models for defect classification corresponding to a plurality of defect types (i.e., a plurality of types of defects) are pre-stored in the storage unit 301, and each defect image is input to each of the plurality of trained models for defect classification. Then, in each of the plurality of trained models for defect classification, the conformity of the defect included in the input defect image is output.

[0036] The conformance of a defect means the probability that a defect included in a defect image is a defect type corresponding to the trained model for defect classification to which the defect image is input. The higher the probability, the higher the conformance of the defect to the defect type corresponding to the trained model for defect classification, and the lower the probability, the lower the conformance of the defect to the defect type corresponding to the trained model for defect classification.

[0037] The defect classification unit 332 classifies a defect included in a defect image into a defect type corresponding to a trained model for defect classification based on multiple conformances (i.e., conformances of the defect to multiple defect types) output from the trained models for defect classification. Specifically, the defect is classified into the defect type corresponding to the trained model for defect classification with the highest output conformance. The defect classification unit 332 performs the same process on multiple defect images to classify the defects included in each defect image into each defect type.

[0038] Each trained model for defect classification is created, for example, by machine learning the relationship between an image showing a part of the substrate 9 (i.e., an image corresponding to the above-mentioned inspected image) and the presence or absence of one defect type for the initial model. The machine learning is performed in substantially the same manner as the machine learning performed when creating the trained model for secondary inspection described above.

[0039] The false information classification unit 333 classifies the false information contained in the false information image by type of false information. In other words, the false information classification unit 333 classifies and groups the multiple false information images by type of false information contained in each false information image. For example, each of the multiple false information images is linked to one type of false information, and each false information image is stored in a folder indicating the one type of false information to which it is linked.

[0040] The classification of false information images is performed, for example, by using a trained model (hereinafter also referred to as a "trained model for false information classification") created by machine learning. Specifically, a plurality of trained models for false information classification corresponding to a plurality of types of false information (i.e., a plurality of types of false information) are pre-stored in the storage unit 301, and each false information image is input to each of the plurality of trained models for false information classification. Then, in each of the plurality of trained models for false information classification, the conformity of the false information contained in the input false information image is output.

[0041] The conformance of a false report means the probability that a false report contained in a false report image is a false report type corresponding to the trained model for false report classification into which the false report image is input. The higher the probability, the higher the conformance of the false report to the false report type corresponding to the trained model for false report classification, and the lower the probability, the lower the conformance of the false report to the false report type corresponding to the trained model for false report classification.

[0042] The false information classification unit 333 classifies a false information contained in a false information image into a false information type corresponding to a trained model for false information classification based on a plurality of conformances (i.e., conformance of the false information to a plurality of false information types) outputted in a plurality of trained models for false information classification. For example, the false information is classified into a false information type corresponding to a trained model for false information classification having the highest output conformance. The false information classification unit 333 performs the same process on a plurality of false information images and classifies the false information contained in each false information image into each false information type.

[0043] Each trained model for false alarm classification is created, for example, by machine learning the relationship between an image showing a part of the substrate 9 (i.e., an image corresponding to the above-mentioned inspected image) and the presence or absence of one false alarm type for the initial model. The machine learning is performed in substantially the same manner as the machine learning performed when creating the trained model for secondary inspection and the trained model for defect classification described above.

[0044] It is not necessary for the false information classification unit 333 to classify all false information contained in a false information image into one of the false information types. For example, if multiple conformances output in multiple trained models for false information classification for a false information contained in one false information image are less than a predetermined threshold (hereinafter, also referred to as a "false information threshold"), the false information is determined to be none of the multiple false information types corresponding to the multiple trained models for false information classification, and is classified as a non-defective product.

[0045] The output unit 304 outputs the above-mentioned classification results by the second inspection unit 331, the defect classification unit 332, and the false alarm classification unit 333 (i.e., the classification result by the classification unit 303) to a display unit such as the display 35, as shown in Fig. 4. In the example shown in Fig. 4, a plurality of defect images 71 are displayed after being classified into a plurality of defect types, "short circuit" and "protrusion." Also, a plurality of false alarm images 72 are displayed after being classified into a plurality of false alarm types, "foreign matter" and "rust." Below each defect image 71 and each false alarm image 72, a name, abbreviation, or the like indicating the inspection logic of the primary inspection associated with each image is displayed.

[0046] Furthermore, the output unit 304 sends the defect images classified by defect type by the defect classification unit 332, among the above-mentioned classification results by the classification unit 303, to a verification device (not shown). An operator of the verification device visually inspects the area on the substrate 9 corresponding to the defect image sent from the inspection device 1, and confirms the defects detected by the inspection device 1 and their classification. If the operator determines that the classification result of the inspection device 1 for the defects in each defect image is not appropriate, he or she can operate the verification device to reclassify the defects into an appropriate defect type (i.e., change the classification). The change in classification of the defects performed by the verification device is reflected in, for example, the classification results of the defects and false alarms displayed on the display 35 by the output unit 304.

[0047] The alarm unit 305 issues an alarm as necessary based on the above-mentioned classification result by the classification unit 303. For example, when the number of false alarms (i.e., the number of false alarm images) classified into one type of false alarm in the classification result is equal to or greater than a predetermined number, the alarm unit 305 issues an alarm such as a beep or a warning display on the display 35.

[0048] Furthermore, when the number of false alarms (i.e., the number of false alarm images) associated with the one inspection logic described above is equal to or greater than a predetermined number, the alarm unit 305 issues an alarm such as a beep or a warning display on the display 35. In other words, when the number of inspected images in which defect candidates are detected by one inspection logic in the primary inspection and the defect candidates are determined to be false alarms in the secondary inspection is greater than a certain level, the alarm unit 305 issues an alarm.

[0049] Next, an example of the flow of inspection of the substrate 9 in the inspection device 1 will be described with reference to Fig. 5 to Fig. 7. The inspection of the substrate 9 is performed by the computer 3 executing the above-mentioned program 811 (see Fig. 2). In the inspection device 1, first, the control unit 306 shown in Fig. 3 controls the imaging unit 21 and the stage moving mechanism 23, etc., so that the imaging unit 21 images the substrate 9 and obtains the above-mentioned captured image (step S11). The captured image is divided into a plurality of inspection images by a predetermined division method.

[0050] Next, the first inspection unit 302 sequentially performs a primary inspection (e.g., rule-based inspection) on the multiple inspection images to detect defect candidates (step S12). The inspection images including the defect candidates detected in step S12 (i.e., defect candidate images) are sent from the first inspection unit 302 to the storage unit 301 and stored in the storage unit 301 in association with one inspection logic that detected the defect candidate.

[0051] When step S12 is completed, the defect candidate images are sent from the storage unit 301 (or the first inspection unit 302) to the classification unit 303. The classification unit 303 classifies the defect candidates in each defect candidate image into types of defects (i.e., true defects) and false reports using a trained model created by machine learning (step S13).

[0052] In step S13, first, the second inspection unit 331 performs a secondary inspection (e.g., an AI inspection using a trained model for secondary inspection) on the defect candidate images, and classifies the defect candidates in each defect candidate image into defects (i.e., real defects) and false alarms ( FIG. 6 : step S131). Then, the defect candidate images that include defects (i.e., defect images) are sent to the defect classification unit 332, and the defect candidate images that do not include defects but include false alarms (i.e., false alarm images) are sent to the false alarm classification unit 333.

[0053] In the defect classification unit 332, defects in each defect image are classified by defect type (step S132). In step S132, for example, a plurality of defect classification trained models corresponding to a plurality of defect types are used to find the compatibility of the defect in the defect image with each of the plurality of defect types, and the defect is classified based on the compatibility.

[0054] In the false information classification unit 333, the false information in each false information image is classified by type of false information (step S133). In step S133, for example, a plurality of trained models for false information classification corresponding to a plurality of types of false information are used to find the compatibility of the false information in the false information image with each of the plurality of types of false information, and the false information is classified based on the compatibility.

[0055] In step S133, a false alarm that does not have a high degree of conformance to any of the multiple false alarm types (i.e., the total degree of conformance is less than the above-mentioned false alarm threshold) may be classified as a non-defective product without being classified into the multiple false alarm types. In this case, a false alarm image including a false alarm classified as a non-defective product is not displayed on the display 35 etc. in step S14 described later.

[0056] The classification results of the defect candidates performed in steps S131 to S133 are sent from the classification unit 303 to the storage unit 301 and stored in the storage unit 301. Note that steps S132 and S133 may be performed in parallel as long as they are performed after step S131, and step S133 may be performed before step S132.

[0057] When step S13 is completed, the classification result of the defect candidates by the classification unit 303 is output by the output unit 304 (step S14). In step S14, first, the defect images classified by defect type in step S132 among the classification results are output by the output unit 304 to a verifying device (not shown) (FIG. 7: step S141). An operator of the verifying device visually checks the area on the substrate 9 corresponding to the defect image sent from the inspection device 1 and confirms the defects detected by the inspection device 1. Since the defects in the defect image sent from the inspection device 1 are classified by defect type as described above, the operator of the verifying device does not need to classify the defects visually confirmed by defect type. This reduces the operator's work in the verifying work (i.e., the defect checking work).

[0058] When the operator of the verify device determines that the classification result of the inspection device 1 for the defects in each defect image is inappropriate, the operator of the verify device operates the verify device to change the classification of the defect. The change in the classification of the defect performed by the verify device is sent from the verify device to the inspection device 1, and is reflected in the classification result of the defect candidate stored in the storage unit 301 (steps S142 and S143). For example, when a defect candidate determined to be a "protrusion," which is one type of defect, by the inspection device 1 is determined to be a "foreign matter," which is one type of false alarm, by the operator of the verify device, the classification of the defect candidate image including the defect candidate is changed in the storage unit 301 from a defect image including a "protrusion" to a false alarm image including a "foreign matter."

[0059] When steps S141 to S143 are completed, the classification results stored in the storage unit 301 are output to the display 35 by the output unit 304, and are displayed on the display 35 as in the example of FIG. 4 (step S144).

[0060] As described above, on the display 35, the defect images 71 are classified by defect type and displayed, and the false alarm images 72 are classified by false alarm type and displayed. In addition, the inspection logic of the primary inspection linked to each defect image 71 and each false alarm image 72 is also displayed on the display 35. Therefore, the operator of the inspection device 1 can easily confirm and analyze what proportion and frequency of what type of defect and false alarm occurs. In addition, the operator can easily confirm and analyze which inspection logic of the primary inspection is linked to each defect and each false alarm.

[0061] The operator can feed back the analysis of the classification results of defects and false alarms by the inspection device 1 to a previous process (for example, a manufacturing process of the substrates 9 or a primary inspection process, etc.) as necessary. For example, when the same type of defect or false alarm occurs in the same area on multiple substrates 9, information that there is a possibility that some abnormality has occurred in the processing of that area in the manufacturing process of the substrates 9 is fed back to the manufacturing process.

[0062] Also, for example, when a large number of false reports associated with one inspection logic are detected, information that the parameters of the inspection logic may be inappropriate is fed back to the primary inspection process. Furthermore, when a large number of the detected false reports are concentrated in the same region on multiple substrates 9, information that the parameters of the inspection logic may be set to be likely to conflict with the pattern shape of the region is fed back to the primary inspection process.

[0063] Note that step S144 may be performed before steps S141 to S143 or in parallel with steps S141 to S143. In this case, when the classification of the defects is changed in the verifying device, the classification result already displayed on the display 35 is changed in accordance with the change in classification.

[0064] After step S14 is completed, the warning unit 305 issues a warning as necessary based on the result of classification of the defect candidates in step S13 and the result of changing the classification of the defects in step S14 (step S15). Note that step S15 may be performed in parallel with step S14.

[0065] In step S15, for example, if the number of false reports classified into one false report type in the above-mentioned classification result is equal to or greater than a predetermined number, an alarm such as a beep sound or a warning display on the display 35 is issued. The warning display includes, for example, the name of the false report type including the above-mentioned predetermined number or more of false reports. Also, for example, if the number of false reports linked to one inspection logic in the above-mentioned classification result is equal to or greater than a predetermined number, an alarm such as a beep sound or a warning display on the display 35 is issued. The warning display includes, for example, the name of the inspection logic linked to the above-mentioned predetermined number or more of false reports. This allows the operator of the inspection device 1 to easily and quickly recognize, in the display on the display 35, a portion that is likely to contain information that should be fed back to the previous process, and to perform an appropriate analysis of the classification result of the inspection device 1.

[0066] As described above, the inspection device 1 is a device that inspects the substrate 9 having a pattern on its surface. The inspection device 1 includes the classification unit 303 and the output unit 304. The classification unit 303 classifies defect candidates detected by a primary inspection of an inspection image obtained by imaging the substrate 9 into types of defects and false information using a trained model created by machine learning. The output unit 304 outputs the classification results by the classification unit 303. Thereby, as described above, the classification results of defects and false information can be fed back to a previous process (for example, a manufacturing process or a primary inspection process of the substrate 9). As a result, the quality of manufacturing, inspection, etc. of the substrate 9 can be improved.

[0067] As described above, it is preferable that the inspection device 1 further includes a first inspection unit 302 that performs a primary inspection on the inspection image. This allows the primary inspection of the substrate 9 and the classification of defect candidates detected by the primary inspection to be performed together by a single device.

[0068] As described above, the classification unit 303 preferably includes the second inspection unit 331, the defect classification unit 332, and the false alarm classification unit 333. The second inspection unit 331 performs a secondary inspection on a defect candidate using a trained model created by machine learning (i.e., a trained model for secondary inspection) to classify the defect candidate into a defect or a false alarm. The defect classification unit 332 classifies the defects classified by the second inspection unit 331 into each type of defect using a trained model created by machine learning (i.e., a trained model for defect classification). The false alarm classification unit 333 classifies the false alarms classified by the second inspection unit 331 into each type of false alarm using a trained model created by machine learning (i.e., a trained model for false alarm classification).

[0069] This allows the defect candidates to be suitably classified in classification unit 303. Furthermore, by classifying the defect candidates detected in the primary inspection into defects and false alarms in advance before classifying them into each defect type and each false alarm type in this manner, the time required for classifying the defect candidates in classification unit 303 can be shortened compared to the case where each defect candidate detected in the primary inspection is checked one by one to see which of multiple defect types and multiple false alarm types it belongs to and classified. As a result, the time required for inspection of substrate 9 in inspection device 1 can be shortened.

[0070] As described above, it is preferable that the defect classification unit 332 classifies the defects classified by the second inspection unit 331 into each defect type based on the conformity of the defects to each of the plurality of defect types. Also, it is preferable that the false alarm classification unit 333 classifies the false alarm classified by the second inspection unit 331 into each false alarm type based on the conformity of the defects to each of the plurality of false alarm types. This allows the classification unit 303 to suitably classify the defect candidates.

[0071] As described above, it is also preferable that the false alarm classification unit 333 classifies the false alarm classified by the second inspection unit 331 as a non-defective product when the conformity of the false alarm to each of the multiple false alarm types is less than a predetermined threshold (in the above example, the false alarm threshold). This makes it possible to improve the accuracy of classification of false alarms by the classification unit 303.

[0072] As described above, it is preferable that the inspection device 1 further includes an alarm unit 305 that issues an alarm when the number of false reports classified into one type of false report in the classification result is equal to or greater than a predetermined number. This allows the operator of the inspection device 1 to easily and quickly recognize one type of false report that is highly likely to contain information that should be fed back to the previous process. As a result, the classification result of the inspection device 1 can be appropriately analyzed.

[0073] As described above, it is preferable that the defect candidate is linked to the inspection logic that detected the defect candidate among the multiple inspection logics used in the primary inspection. In addition, it is preferable that the inspection device 1 further includes an alarm unit 305 that issues an alarm when the number of false reports linked to one inspection logic in the above classification result is equal to or greater than a predetermined number. This allows the operator of the inspection device 1 to easily and quickly recognize one inspection logic that is likely to contain information that should be fed back to the primary inspection process. As a result, it is possible to perform an appropriate analysis of the classification result of the inspection device 1.

[0074] The above-mentioned inspection method for inspecting the substrate 9 having a pattern on its surface includes a step (step S13) of classifying defect candidates detected by a primary inspection of an inspection image obtained by imaging the substrate 9 into types of defects and false alarms using a trained model created by machine learning, and a step (step S14) of outputting the classification results in step S13. As a result, similar to the above, the classification results of defects and false alarms can be fed back to a previous process (for example, a manufacturing process or a primary inspection process of the substrate 9). As a result, the quality of manufacturing, inspection, etc. of the substrate 9 can be improved.

[0075] As described above, the computer 3 executes the program 811 to perform a step (step S13) of classifying defect candidates detected by the primary inspection of the inspection image obtained by imaging the substrate 9 into types of defects and false information using a trained model created by machine learning, and a step (step S14) of outputting the classification results in step S13. As a result, similar to the above, the classification results of defects and false information can be fed back to the previous step, and as a result, the quality of the manufacture, inspection, etc. of the substrate 9 can be improved.

[0076] In the above-described inspection by the inspection apparatus 1, the secondary inspection by the second inspection unit 331 in the classification unit 303 may be omitted. In this case, in step S13, each defect candidate image that is not classified as a defect image or a false alarm image is input to a plurality of trained models for defect classification and a plurality of trained models for false alarm classification, respectively. Then, for each defect candidate in each defect candidate image, a degree of conformance to each of a plurality of defect types and a plurality of false alarm types is calculated, and the defect candidate is classified into one defect type or one false alarm type based on these degrees of conformance. Specifically, the defect candidate is classified into the defect type or false alarm type corresponding to the trained model with the highest output degree of conformance (i.e., the trained model for defect classification or the trained model for false alarm classification).

[0077] In this manner, in the inspection apparatus 1, the classification unit 303 may classify the defect candidates into types of defects and false alarms based on the conformance of the defect candidates to each of the plurality of defect types and the plurality of false alarm types. In this case, the classification of the defect candidates can be suitably performed in the classification unit 303. When the secondary inspection is omitted, the second inspection unit 331 may be omitted from the inspection apparatus 1.

[0078] The inspection device 1, the inspection method, and the program 811 described above can be modified in various ways.

[0079] For example, the alarm unit 305 may issue an alarm in a state different from the above example. Moreover, the alarm unit 305 does not necessarily need to be provided in the computer 3, and may be provided outside the computer 3. In addition, the alarm unit 305 may be omitted in the inspection device 1.

[0080] In the above example, a false alarm image is input to a plurality of trained models for false alarm classification, each corresponding to a plurality of false alarm types, and a false alarm in the false alarm image is classified into one false alarm type based on the degree of conformance output from each trained model for false alarm classification. If the degrees of conformance output from each trained model for false alarm classification are all less than the false alarm threshold, the false alarm in the false alarm image is classified into a good product. Such classification of a false alarm into a good product may be performed by other methods. For example, a trained model that has learned the relationship between an image showing a part of the board 9 and a state that does not include any of the plurality of false alarm types (i.e., a good product) from an initial model may be included in the above-mentioned plurality of trained models for false alarm classification, and if the degree of conformance output from the trained model (i.e., a good product trained model) is the highest, the false alarm in the false alarm image may be classified into a good product.

[0081] In the classification unit 303, the secondary inspection in the second inspection unit 331 does not necessarily have to be an AI inspection using a trained model for secondary inspection, and may be an inspection using various other methods. In this case, defect candidates classified as defects by a secondary inspection other than the AI ​​inspection are classified by defect type by using a trained model for defect classification in the defect classification unit 332. In addition, defect candidates classified as false reports by a secondary inspection other than the AI ​​inspection are classified by false report type by using a trained model for false report classification in the false report classification unit 333.

[0082] In the classification unit 303, the defect candidates classified as defects by the second inspection unit 331 using the trained model for secondary inspection do not necessarily have to be classified by defect type by using the trained model for defect classification, and the defect classification unit 332 may classify the defect candidates classified as defects by defect type by another method. Moreover, the defect candidates classified as false reports by the second inspection unit 331 using the trained model for secondary inspection do not necessarily have to be classified by false report type by using the trained model for false report classification, and the false report classification unit 333 may classify the defect candidates classified as false reports by false report type by another method.

[0083] The imaging unit 21, the stage 22, and the stage moving mechanism 23 may be omitted from the inspection device 1. In this case, the inspection device 1 inspects the board 9 using an image of the board 9 captured by another device.

[0084] In the primary inspection by the first inspection unit 302, in addition to or instead of the above-mentioned rule-based inspection, an inspection by another method (for example, AI inspection) may be performed. Furthermore, the above-mentioned primary inspection does not necessarily have to be performed by the inspection apparatus 1, and a defect candidate image detected by the primary inspection performed by another apparatus may be sent from the other apparatus to the inspection apparatus 1 and stored in the storage unit 301. In this case, the first inspection unit 302 may be omitted in the inspection apparatus 1.

[0085] The above-mentioned substrate 9 is not necessarily limited to a printed wiring board. The inspection device 1 may inspect, for example, a semiconductor substrate, a substrate for a semiconductor package, a glass substrate for a flat panel display device such as a liquid crystal display device or a plasma display device, a glass substrate for a photomask, a substrate for a solar panel, and the like.

[0086] The configurations in the above-described embodiment and each of the modified examples may be combined as appropriate as long as they are not mutually inconsistent. [Explanation of symbols]

[0087] 1. Inspection equipment 3. Computer 9 Substrate 302 First Inspection Department 303 Classification Department 304 Output section 305 Alarm section 331 2nd Inspection Department 332 Defect Classification Department 333 Misinformation Classification Department 811 Program S11~S15, S131~S133, S141~S144 steps

Claims

1. 1. An inspection apparatus for inspecting a substrate having a pattern on a surface thereof, comprising: a classification unit that classifies defect candidates detected by a primary inspection of an inspection image obtained by imaging the substrate into types of defects and false alarms by using a trained model created by machine learning; an output unit that outputs a classification result by the classification unit; An inspection device comprising:

2. 2. The inspection device according to claim 1, The inspection apparatus further includes a first inspection unit that performs the primary inspection on the inspection image.

3. 3. The inspection device according to claim 1, The classification unit classifies the defect candidates into types of defects and types of false alarms based on the conformance of the defect candidates to each of a plurality of defect types and a plurality of false alarm types.

4. 3. The inspection device according to claim 1, The classification unit includes: a second inspection unit that performs a secondary inspection on the defect candidates using a trained model created by machine learning, and classifies the defect candidates into defects or false alarms; a defect classification unit that classifies the defects classified by the second inspection unit into types of defects using a trained model created by machine learning; a false alarm classification unit that classifies the false alarms classified by the second inspection unit into types of false alarms by using a trained model created by machine learning; An inspection device comprising:

5. The inspection device according to claim 4, the defect classification unit classifies the defects into a plurality of defect types based on a conformity of the defects classified by the second inspection unit to each of the plurality of defect types; The false alarm classification unit is an inspection device that classifies the false alarms classified by the second inspection unit into a plurality of false alarm types based on a degree of conformity of the false alarms classified by the second inspection unit to each of the plurality of false alarm types.

6. 6. The inspection device according to claim 5, The false alarm classification unit classifies the false alarm classified by the second inspection unit as a non-defective product when the conformity of the false alarm with each of the plurality of false alarm types is less than a predetermined threshold value.

7. 3. The inspection device according to claim 1, The inspection device further includes an alarm unit that issues an alarm when the number of false alarms classified into one false alarm type in the classification result is equal to or greater than a predetermined number.

8. 3. The inspection device according to claim 1, the defect candidate is associated with an inspection logic that detected the defect candidate among a plurality of inspection logics used in the primary inspection; The inspection device further includes an alarm unit that issues an alarm when the number of false reports associated with one inspection logic in the classification result is equal to or greater than a predetermined number.

9. 1. A method for inspecting a substrate having a pattern on a surface thereof, comprising: a) classifying defect candidates detected by a primary inspection of an inspection image obtained by imaging a substrate into types of defects and false alarms using a trained model created by machine learning; b) outputting the classification result from the a); An inspection method comprising:

10. 1. A program for inspecting a substrate having a pattern on a surface thereof, comprising: When the program is executed by a computer, a) classifying defect candidates detected by a primary inspection of an inspection image obtained by imaging a substrate into types of defects and false alarms using a trained model created by machine learning; b) outputting the classification result from the a); A program in which

Citation Information

Patent Citations

  • Appearance inspection system

    JP2021177154A

Cited By

  • Support apparatus, support method, and support program

    EP4811307A1

  • Support device, support method, and support program

    JP2026156271A