Classification method and classification system for defect occurrence factor in printed wiring board
The integration of AI technology for processing image and text information in defect classification systems for printed wiring boards addresses the challenge of inappropriate classification, enhancing accuracy and reducing errors in defect cause identification.
Patent Information
- Application Number
- JP2023024458
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-20
- Publication Date
- 2024-08-30
AI Technical Summary
Conventional methods for classifying defect causes in printed wiring boards integrate image and other information types, making it difficult to appropriately classify defect occurrence factors.
A method and system using AI technology to comprehensively process multiple types of information, including image and text, by creating a database that collects image and text information of defective locations, inputting these to a classifier for supervised learning, and classifying defect occurrence factors based on feature combinations.
Enables accurate classification of defect causes by integrating image and text information, improving classification accuracy and reducing incorrect answers through supervised learning and comprehensive processing.
Smart Images

Figure 2024118176000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a method and system for classifying factors that cause defects in printed wiring boards. [Background technology]
[0002] Conventionally, when classifying the causes of defects in printed wiring boards, a defect detection method using image classification, for example, as described in Patent Document 1, has been used. In this method, the printed wiring board is imaged by an imaging device. Next, attributes such as color, type, and area of existence of the image of the imaged printed wiring board are classified using a neural network or the like with multiple classifiers that have been trained and are specialized for a specific attribute, which are constructed by software executed by a computer. Then, among the classified attributes, images of specific attributes that tend to cause defective products to be mixed in with images of good products are further analyzed to prevent overlooking of defective products.
[0003] In this defect detection method, when each classifier learns, a user inputs a number of images prepared in advance, each of which is associated with one attribute, as teaching information, and a reference image, a difference image, and a mask image are added to the images and teaching information to create a teacher data set. Each classifier is then made to obtain feature values for the specialized attribute from the teacher data set. When classifying the attributes of a captured image, each classifier is made to obtain feature values for the specialized attribute from a classification target data set similarly created for the captured image, and the image of a defective product is classified based on the feature values. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2021-148678 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, in this conventional method, each of the multiple classifiers is specialized for one attribute related to the image information, making it difficult to process the image information and other types of information in an integrated manner to appropriately classify the causes of defects.
[0006] An object of the present invention is to solve the problems associated with the conventional methods described above by using AI (artificial intelligence) technology to classify the causes of defects and process multiple types of information in an integrated manner. [Means for solving the problem]
[0007] The method for classifying causes of defects in printed wiring boards according to the present invention comprises the steps of: creating a database in which multiple sets of image information of defective areas obtained by analyzing an image of a printed wiring board and corresponding text information are collected; inputting a set of image information and text information of the plurality of sets of defect locations in the database into a classifier, and causing the classifier to learn by supervised learning to classify defect occurrence factors based on a combination of feature amounts in the set of image information and text information of each of the plurality of sets of defect locations, and outputting the classification result; inputting a set of image information of defective parts obtained by analyzing an image of a printed wiring board to be classified and text information corresponding thereto into the trained classifier, classifying defect occurrence factors based on a combination of feature amounts in the input set of image information and text information, and outputting the classification result; Contains:
[0008] In addition, in the method for classifying factors of defects in a printed wiring board of the present invention, when the defect is a circuit defect, the classifier may first classify the circuit defect into a plurality of types of defect modes, for example, three types of mode A, mode B, and mode C, and then classify the circuit defect into defect factors specific to each of the plurality of types of defect modes.
[0009] In the method of classifying factors of defects in printed wiring boards according to the present invention, the classifier may classify a case in which the predicted probability of a factor of defect occurrence is less than a predetermined value as "unknown."
[0010] Furthermore, in the method for classifying causes of defects in printed wiring boards of the present invention, the multiple sets of sets of image information and text information of defective locations collected by the database may include sets of image information of defective locations in the printed wiring board to be classified and corresponding text information input to the classifier, plus text information of the classification result of the causes of defects output by the classifier in response to the input.
[0011] Furthermore, in the method for classifying causes of defects in printed wiring boards of the present invention, inputting the plurality of sets of image information and text information of the plurality of sets of defect locations in the database into a plurality of the classifiers, respectively, and causing the classifiers to perform the learning separately; inputting a set of image information and text information of the defective portion obtained by analyzing the image of the printed wiring board to be classified into the plurality of separately trained classifiers, respectively, and causing an overall processor to comprehensively classify the defect occurrence factors based on the classification results of the defect occurrence factors outputted from the plurality of classifiers, and outputting the classification results; may include:
[0012] On the other hand, the classification system for the causes of defects in printed wiring boards according to the present invention is as follows: a database in which multiple sets of image information of defective parts obtained by analyzing images of printed wiring boards and corresponding text information are collected; a classifier which learns by supervised learning to receive input of sets of image information and text information of the plurality of sets of defect locations in the database, classify defect occurrence factors based on a combination of feature amounts in the image information and text information of each of the plurality of sets of defect locations, and output the classification result, and which, when input of a set of image information of defect locations and corresponding text information obtained by analyzing an image of a printed wiring board to be classified, classifies defect occurrence factors based on a combination of feature amounts in the input set of image information and text information, and outputs the classification result; It is equipped with:
[0013] In the classification system for causes of defects in printed wiring boards of the present invention, when the defect is a circuit defect, the classifier may first classify the circuit defect into a plurality of types of defect modes, for example, three types of mode A, mode B, and mode C, and then classify the circuit defect into defect causes specific to each of the plurality of types of defect modes.
[0014] In the classification system for defective causes of printed wiring boards of the present invention, the classifier may classify cases in which the predicted probability of the defective cause is less than a predetermined value as "unknown."
[0015] Furthermore, in the classification system for causes of defects in printed wiring boards of the present invention, the multiple sets of image information and text information of defective locations collected by the database may include a set of image information of defective locations in the printed wiring board to be classified that was input to the classifier and corresponding text information, plus text information of the classification result of the causes of defects output by the classifier in response to the input.
[0016] Furthermore, in the classification system for determining the causes of defects in printed wiring boards according to the present invention, A plurality of the classifiers each inputting a set of image information and text information of the plurality of sets of defect locations in the database and separately performing the learning; a comprehensive processor which comprehensively classifies the causes of defects from the classification results of the causes of defects output by the plurality of classifiers to which a set of image information of the defective portions and corresponding text information obtained by analyzing an image of the printed wiring board to be classified is input, and outputs the classification result; The device may include: [Brief description of the drawings]
[0017] [Figure 1] 1 is a configuration diagram showing an embodiment of a classification system for determining causes of defects in printed wiring boards according to the present invention, for carrying out an embodiment of a classification method for determining causes of defects in printed wiring boards according to the present invention; [Diagram 2] 3 is an explanatory diagram illustrating a schematic configuration of a classifier in the classification system for determining causes of defects in a printed wiring board according to the embodiment; FIG. [Diagram 3] Photographs showing examples of image information to be input to a classifier in the classification system for the causes of defects in printed wiring boards of the above embodiment, in which (a) is an enlarged planar photograph of a defective part of the printed wiring board, (b) is an enlarged cross-sectional photograph of the part (a), (c) is an enlarged planar photograph of another defective part of the printed wiring board, (d) is an enlarged cross-sectional photograph of the part (c), (e) is an enlarged planar photograph of a defective part of the other printed wiring board, and (f) is an enlarged cross-sectional photograph of the part (e). [Figure 4] FIG. 11 is a configuration diagram showing another embodiment of a classification system for the causes of defects in printed wiring boards of the present invention, for carrying out another embodiment of the classification method for the causes of defects in printed wiring boards of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0018] Hereinafter, an embodiment of a classification system for defective factors in printed wiring boards of the present invention for carrying out an embodiment of a classification method for defective factors in printed wiring boards of the present invention will be described with reference to the drawings. Fig. 1 is a configuration diagram showing an embodiment of a classification system for defective factors in printed wiring boards of the present invention for carrying out an embodiment of a classification method for defective factors in printed wiring boards of the present invention. Fig. 2 is an explanatory diagram showing a schematic configuration of a classifier in the classification system for defective factors in printed wiring boards of the above embodiment.
[0019] In the manufacturing process of a printed wiring board, typically, multiple pins protruding from a checker head are simultaneously brought into contact with multiple points on the conductor circuit of the manufactured printed wiring board to inspect for defects such as insulation defects (circuit shorts) and contact defects (conductivity defects). In order to improve the manufacturing process, a printed wiring board that has a defect is photographed by an imaging device provided in the optical inspection device, and the image is analyzed by an analyst. The classification system for the cause of defects in a printed wiring board of this embodiment classifies the cause of defects of the defective part from image information of the defective part and corresponding text information obtained by an analyst analyzing an image of the printed wiring board photographed by the imaging device.
[0020] 1, in order to classify the causes of defects, the classification system of this embodiment collects multiple sets, preferably many sets, of failure analysis results 1, each of which is a set of image information of a defective part obtained by analyzing an image of a printed wiring board captured by an imaging device and corresponding text information, in a database 2. These multiple sets of failure analysis results 1 include text information of the classification results of the causes of defect occurrence at the defective parts, which is input by an analyst who analyzed the set of image information of the defective part of the printed wiring board and the corresponding text information, or which is output by a classifier 3 described later.
[0021] The image information here includes an enlarged planar image and an enlarged cross-sectional image of the defective portion of the printed wiring board, and the text information includes the location of the defect, the layer number of the defect, the sheet number of the defect, the planar coordinates of the defect, etc. The text information may include numbers, etc. output by the optical inspection device in correspondence with the image information, or characters, etc. input by the analyst in correspondence with the image information. The text information may also include text such as letters and numbers converted from a voice input by the analyst in correspondence with the image information, for example, by a known voice-to-text converter having an AI (artificial intelligence) model constituting a recursive neural network. The text information of the classification result of the defect occurrence cause of the defective portion, which is input by the analyst for the set of the image information of the defective portion of the printed wiring board and the corresponding text information, or output by the classifier 3 described later, is used as teacher data when learning the AI (artificial intelligence) model constituting the neural network of the classifier 3.
[0022] Next, the classification system of this embodiment reads out the collected sets of image information and text information of the defective parts from the database 2 and inputs them to the classifier 3. The classifier 3 has an AI (artificial intelligence) model constructed by a computer having a CPU (central processing unit), preferably a GPU (graphics processing unit) specialized for parallel processing, and an internal and / or external storage device, executing a predetermined software. This AI model constitutes a neural network, and uses the image information and text information of the sets of defective parts read out from the database 2, and performs "supervised learning" of the neural network in advance using the classification results of the defect occurrence factors in the text information as teacher data.
[0023] The classifier 3 then reads out from the database 2 a failure analysis result 1 consisting of a set of image information of the defective part of the newly classified printed wiring board and its corresponding text information, and classifies the cause of the failure of the defective part using the trained AI model. It outputs a report document 4 including the classification result, and returns the text information of the classification result of the cause of the failure to the text information in the set of image information and text information of the defective part that was read out, into the database 2.
[0024] Functionally, as shown in FIG. 2, the classifier 3 in the classification system of this embodiment has an input layer 3a having a plurality of nodes (indicated by circles in the figure) that receive image information 2a and text information 2b in the database 2 and convert each of these pieces of information into feature quantities. The classifier 3 also has a plurality of intermediate layers 3b that perform weighting processing of the feature quantities sent from each node of the input layer 3a. The classifier 3 further has an output layer 3c having a plurality of nodes that summarizes the feature quantities sent from each node of the intermediate layer 3b by classification of defect occurrence factors and outputs the values of the correct answer rate, incorrect answer rate, and "unknown" rate for each classification as defect occurrence factors in the report material 4. The classifier 3 then classifies, by the input layer 3a, intermediate layer 3b, and output layer 3c, three major defect modes of a printed wiring board, for example, A mode, B mode, and C mode, into a plurality of defect occurrence factors and "unknown," as shown in Table 1 below.
[0025] [Table 1] Specifically, classifier 3 is configured to have a multi-layer perceptron (MLP), which extracts image features from image information, for example, using a convolutional neural network (CNN). Also, for text information, it extracts features, for example, using a recursive neural network. Then, the feature vectors extracted from the image and text are combined in a concatenation layer, and the extracted features are aggregated and connected to the activation function of the judgment device (fully connected layer). This activation function calculates the probability of a good or bad product as an activation value, making it possible to perform classification.
[0026] FIG. 3 is a photograph showing an example of image information to be input to the classifier 3 in the classification system for defective factors of a printed wiring board according to the embodiment, where FIG. 3(a) is an enlarged plan photograph of a defective part of the printed wiring board, and FIG. 3(b) is an enlarged cross-sectional photograph of the defective part of FIG. 3(a). Furthermore, FIG. 3(c) is an enlarged plan photograph of another defective part of the printed wiring board, and FIG. 3(d) is an enlarged cross-sectional photograph of the defective part of FIG. 3(c). FIG. 3(e) is an enlarged plan photograph of a defective part of another printed wiring board, and FIG. 3(f) is an enlarged cross-sectional photograph of the part of FIG. 3(e). In both photographs, the part indicated by the dashed rectangular frame is the defective part, and at a stage where there are few judgment results of the defective factor, an analyst may analyze the image information and specify the part estimated to be the defective part based on conventional knowledge. At a stage where many judgment results of the defective factor are obtained, the computer of the system or another computer may analyze the image information by image processing such as pattern matching and specify the part estimated to be the defective part.
[0027] The image information of the photographs in Figure 3(a) and Figure 3(b) shows a circuit defect caused by a thinly plated conductor between the solid conductor on the lower insulating layer and the wiring conductor. The corresponding text information includes the location number, pin number, and occurrence coordinates of the defect, the A mode as the failure mode, and A-1 as the cause of the failure.
[0028] The image information of the photographs in Figure 3(c) and Figure 3(d) shows a circuit failure caused by a thinly plated conductor between the wiring conductors under the upper insulating layer, and the corresponding text information includes the location number, pin number, and coordinates of the defective area, the B mode as the failure mode, and B-1 as the cause of the failure.
[0029] The image information of the photographs in Figure 3(e) and Figure 3(f) shows a circuit failure caused by a thin plating of conductor between the pad conductors on the upper insulating layer, and the corresponding text information includes the location number, pin number, and coordinates of the failure, the C mode as the failure mode, and the C-1 as the cause of the failure.
[0030] The classifier 3 inputs a plurality of sets of information on defective locations, including sets of image information and text information, collected by the database 2, classifies the causes of defect occurrence as described above, and outputs the classification results.
[0031] Therefore, according to the method and system for classifying factors of defects in printed wiring boards of this embodiment, the factors of defects can be appropriately classified by using AI (artificial intelligence) technology to process image information and other types of information in an integrated manner to classify the factors of defects. EXAMPLES
[0032] An example of a method for classifying factors causing defects in a printed wiring board according to the embodiment using the classification system for factors causing defects in a printed wiring board according to the embodiment will be described below. In the method for classifying factors causing defects in the embodiment, 4148 sets of image information of the failure mode A mode and corresponding text information were extracted from the database 2, and these sets were randomly divided into training (learning) data and test data in a ratio of 7:3. As a result, the training data for the failure factor A-1 was 1915 sets, the test data for the same was 844 sets, the training data for the failure factor A-2 was 987 sets, and the test data for the same was 402 sets, resulting in a total of 2902 sets of training data and a total of 1246 sets of test data.
[0033] Then, first, the training data was input to classifier 3 to construct a trained AI model, then the test data excluding the text information of the classification results was input to classifier 3, the trained AI model classified the causes of defects, and the evaluation was performed by comparing the judgment result with the text information of the classification results in the test data. When the "correct answer rate" and "incorrect answer rate" were calculated as usual, the judgment results were 93% correct answer rate and 7% incorrect answer rate for A-1, and 88% correct answer rate and 12% incorrect answer rate for A-2, which greatly exceeded the target correct answer rate of 60%.
[0034] In addition, the judgment results obtained when the prediction probability of less than 80% was added as "unknown" were 90% correct, 3% incorrect, and 7% correct for A-1, and 83% correct, 7% incorrect, and 10% correct for A-2, which greatly exceeded the target correct rate of 60% and reduced the incorrect rate by 4 to 5%. Therefore, according to the classification method of this embodiment in which "unknown" is added to the failure occurrence factor, it is estimated that the incorrect rate will also be reduced for other failure modes. Note that the "prediction probability" here means an evaluation index that indicates the probability of identifying which failure occurrence factor among the failure occurrence factors determined by the constructed trained AI model, that is, the percentage of the probability that the identified failure occurrence factor is correct. Note that the "correct rate" here means an evaluation index that indicates the percentage at which the constructed trained AI model was able to correctly predict the failure occurrence factors (what percentage of the entire test data was correct). Both "prediction probability" and "correct rate" are mathematical terms used in AI-related technologies.
[0035] 4 is a configuration diagram showing another embodiment of a classification system for defective causes of printed wiring boards of the present invention for implementing another embodiment of the classification method for defective causes of printed wiring boards of the present invention. The classification system for defective causes of printed wiring boards of this embodiment includes a plurality of AI models 3d (three shown in the figure) as a plurality of classifiers, and one overall processor 3e.
[0036] Here, the plurality of AI models 3d each receive a set of image information 2a and text information 2b of a plurality of sets of defective parts in the database 2, and perform the above-mentioned learning separately from each other. Also, the plurality of AI models 3d each receive a set of image information 2a and text information 2b of a defective part of a printed wiring board to be newly classified from the database 2, and output a classification result of the defect occurrence cause of those defective parts.
[0037] In addition, the comprehensive processor 3e comprehensively classifies the causes of defects based on the classification results of the causes of defects output by the multiple AI models 3d to which sets of image information of defective areas of the newly classified printed wiring board and corresponding text information have been input, and outputs the classification result.
[0038] In the classification method of the present embodiment, the classification system of the present embodiment is used, and the overall processor 3e comprehensively classifies the failure factors from the classification results of the failure factors output by the multiple AI models 3d, and outputs the classification result. For example, in the classification method of the present embodiment, in addition to determining "unknown" when the classification results of the multiple AI models 3d do not match, the threshold of the prediction probability is set to 95%, and in the case where the prediction probability is less than the threshold, the classification method of the present embodiment succeeds in improving the prediction accuracy by integrating these two conditions.
[0039] Therefore, according to the method and system for classifying factors causing defects in printed wiring boards of this embodiment, image information and other types of information are processed in an integrated manner using AI (artificial intelligence) technology to classify factors causing defects, and output data of multiple AI models are processed in an integrated manner, so that the factors causing defects can be appropriately classified. Note that, as a method for integrated processing, other than the above, for example, a majority vote of the conclusions of multiple AI models may be taken, or the average value of the conclusions may be calculated, or multiple AI models may be connected in series to form a stack type.
[0040] Although the above description is based on the illustrated embodiment, the present invention is not limited to the above embodiment. For example, in the classification method and classification system of the above embodiment, circuit failures are first classified into three types of failure modes, namely, A mode, B mode, and C mode, but the present invention may first classify circuit failures into two types or four or more main failure modes.
[0041] Furthermore, the classification method and classification system of the above embodiment were applied to classifying the causes of circuit failures due to plating conduction as a defect in printed wiring boards, but the present invention can also be applied in the same manner as the above embodiment to classifying the causes of circuit failures due to other factors, such as insufficient connections between conductors, and can achieve the same effects as the above embodiment. [Explanation of symbols]
[0042] 1 Failure analysis results 2 Database 2a Image information 2b Text information 3 Classifier 3a Input layer 3b Middle layer 3c output layer 3d AI model 3e Integrated Processing Device 4 Report materials FP1~FP3 Defective location
Claims
1. creating a database in which multiple sets of image information of defective areas obtained by analyzing an image of a printed wiring board and corresponding text information are collected; inputting a set of image information and text information of the plurality of sets of defect locations in the database into a classifier, and causing the classifier to learn by supervised learning to classify defect occurrence factors based on a combination of feature amounts in the set of image information and text information of each of the plurality of sets of defect locations, and outputting the classification result; inputting a set of image information of defective parts obtained by analyzing an image of a printed wiring board to be classified and text information corresponding thereto into the trained classifier, classifying defect occurrence factors based on a combination of feature amounts in the input set of image information and text information, and outputting the classification result; A method for classifying factors causing defects in printed wiring boards, comprising:
2. If the fault is a circuit fault, the classifier classifies the circuit fault as: First, classifying the failure modes into a plurality of types; Next, classifying the plurality of types of failure modes into specific failure occurrence factors; 2. The method for classifying causes of defects in a printed wiring board according to claim 1, comprising:
3. The classifier classifies a case where the predicted probability of a defect occurrence factor is less than a predetermined value as "unknown." 2. The method for classifying causes of defects in a printed wiring board according to claim 1, comprising:
4. The plurality of sets of image information and text information of defective parts collected by the database include sets of image information of defective parts of the printed wiring board to be classified input to the classifier and corresponding text information, and text information of the classification result of the defect occurrence factors output by the classifier in response to the input.
2. The method of claim 1, wherein the cause of defects in a printed wiring board is determined based on the result of the classification.
5. inputting the plurality of sets of image information and text information of the plurality of sets of defect locations in the database into a plurality of the classifiers, respectively, and causing the classifiers to perform the learning separately; inputting a set of image information and text information of the defective portion obtained by analyzing the image of the printed wiring board to be classified into the plurality of separately trained classifiers, respectively, and causing an overall processor to comprehensively classify the defect occurrence factors based on the classification results of the defect occurrence factors outputted from the plurality of classifiers, and outputting the classification results; 2. The method for classifying causes of defects in a printed wiring board according to claim 1, comprising:
6. a database in which multiple sets of image information of defective parts obtained by analyzing images of printed wiring boards and corresponding text information are collected; a classifier which learns by supervised learning to receive input of sets of image information and text information of the plurality of sets of defect locations in the database, classify defect occurrence factors based on a combination of feature amounts in the image information and text information of each of the plurality of sets of defect locations, and output the classification result, and which, when input of a set of image information of defect locations and corresponding text information obtained by analyzing an image of a printed wiring board to be classified, classifies defect occurrence factors based on a combination of feature amounts in the input set of image information and text information, and outputs the classification result; A classification system for determining causes of defects in printed wiring boards, comprising:
7. If the fault is a circuit fault, the classifier classifies the circuit fault as: First, classify into multiple types of failure modes, Next, classifying the plurality of types of failure modes into their respective inherent failure causes; 7. The system for classifying causes of defects in printed wiring boards according to claim 6.
8. 7. The system for classifying causes of defects in printed wiring boards according to claim 6, wherein the classifier classifies cases in which the predicted probability of the cause of defect occurrence is less than a predetermined value as "unknown."
9. The plurality of sets of image information and text information of defective parts collected by the database include sets of image information of defective parts of the printed wiring board to be classified input to the classifier and corresponding text information, and text information of the classification result of the defect occurrence factors output by the classifier in response to the input.
7. The system for classifying causes of defects in printed wiring boards according to claim 6.
10. A plurality of the classifiers each inputting a set of image information and text information of the plurality of sets of defect locations in the database and separately performing the learning; a comprehensive processor which comprehensively classifies the causes of defects from the classification results of the causes of defects output by the plurality of classifiers to which a set of image information of the defective portions and corresponding text information obtained by analyzing an image of the printed wiring board to be classified is input, and outputs the classification result; 7. The system for classifying causes of defects in printed wiring boards according to claim 6, comprising:
Citation Information
Patent Citations
Image processor, image forming apparatus and program
JP2010034678A
Defect detection device and defect detection method
JP2021148678A
Cited By
Method and system for updating ai model for determining classification of failure occurrence factors
JP2026082401A
