Chip surface defect detection method, device, equipment and storage medium

Through comparison and probability statistics of standard templates and sample data sets, combined with circular area detection, the problem of time-consuming chip surface defect detection is solved, fast and real-time defect detection is achieved, and the detection efficiency of large-scale chip production lines is improved.

CN118351111BActive Publication Date: 2024-10-01SHENZHEN COMOS INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410763844.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-10-01
Estimated Expiration
2044-06-14

AI Technical Summary

Technical Problem

Existing chip surface defect detection methods are time-consuming and difficult to detect defects in large-scale chip production lines in real time, resulting in low production efficiency.

Method used

By obtaining the standard template and sample data set, segmenting the image into the smallest comparison unit, setting the difference threshold and defect quantity threshold, using probability statistics and circular area detection to reduce the number of scans and sampling volume, and achieve rapid detection.

Benefits of technology

It greatly improves the efficiency of chip surface defect detection, can provide detection results in real time, and improves the detection capability and efficiency of the production line.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118351111B_ABST
    Figure CN118351111B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment and storage medium for detecting chip surface defects, belonging to the technical field of image data processing. The method comprises: obtaining a standard template and a sample data set of the same batch, segmenting each sample image to obtain a minimum comparison unit; setting a difference threshold, comparing each minimum comparison unit of the sample image with a chip image in the standard template to obtain a defect unit; performing probability statistics on the defect units of the sample image to obtain a difference matrix, and obtaining the defect probability of each minimum comparison unit; then performing statistical analysis on the defects obtained by detection, and obtaining defect area sets under different confidence levels. By reasonably planning the detection center area where the defect area is concentrated, the number of scans and the amount of sampling for defect detection can be greatly reduced, and the remaining chips in the same batch of chips can be reasonably planned, without having to take pictures of all areas of the remaining chips one by one, thus saving time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of image data processing, and in particular relates to a chip surface defect detection method, device, equipment and storage medium. Background Art

[0002] Chips play a key role in modern technology and the electronics industry. Chips are core components of computers and other electronic devices, with highly integrated electronic components. By providing processors, storage, and other key functions, chips have driven the continuous improvement of computing power, allowing electronic devices to perform more complex and efficient tasks. Chips are the key to making electronic devices intelligent. By integrating sensors, processing units, and communication functions, chips enable devices to sense, analyze, and respond to the environment, thereby realizing smarter functions such as artificial intelligence, IoT devices, etc.

[0003] For chips, any surface defects may affect their performance and reliability. Through defect detection, problems on the chip surface can be discovered and repaired early to ensure that the quality of the final product meets the specified standards. The automated surface defect detection system can achieve fast and accurate detection on the production line, avoiding the inefficiency and human errors caused by traditional manual inspection methods, helping to improve production efficiency, reduce production costs, and support large-scale production.

[0004] With the rapid development of technologies such as pattern recognition, machine vision, and deep learning, as well as the urgent need for chip surface defect detection, more and more modern technologies are being applied to chip surface defect detection.

[0005] However, current chip inspection is time-consuming, and the chip surface defect inspection equipment is a high-precision scanning device or imaging device with high cost. Although automated inspection can be achieved, it still takes a lot of time to photograph and scan all areas of the chip one by one, which makes it difficult to perform surface defect inspection on large-scale chip production lines. The detection efficiency of chip surface defects in large-scale chip production lines is low, and defect detection results cannot be given in real time, resulting in reduced production efficiency. Summary of the invention

[0006] In order to solve the technical problems that the current chip surface defect detection algorithm based on deep learning needs to photograph and scan all the to-be-detected areas of the chip one by one when detecting chip surface defects, although automated detection can be achieved, photographing and scanning the chips one by one still takes a lot of time, which is difficult to be competent for surface defect detection in large-scale chip production lines. The detection efficiency of chip surface defects in large-scale chip production lines is low, and defect detection results cannot be given in real time, resulting in reduced production efficiency, the present invention provides a chip surface defect detection method, device, equipment and storage medium.

[0007] First aspect

[0008] The present invention provides a method for detecting chip surface defects, comprising:

[0009] S1: Acquire a standard template and a sample data set, wherein the sample data set includes multiple chip images of the same batch;

[0010] S2: The sample images in the sample dataset are represented as ,in i Indicates i sample images, the chip image in the standard template is represented as , Represents pixel coordinates, and each sample image is segmented to obtain the minimum comparison unit ;

[0011] S3: Setting the difference threshold , each minimum comparison unit of the sample image Compare with the chip image in the standard template, when the minimum comparison unit The difference between the smallest unit corresponding to the standard template is greater than the difference threshold When , the minimum comparison unit is marked as a defective unit;

[0012] S4: Perform probability statistics on the defective units of the sample image to obtain the difference matrix , and obtain the defect probability of each minimum comparison unit , according to the normal distribution law, using the mean and standard deviation , and obtain the confidence interval The minimum comparison unit with all defects is the defect area set, where x is the selected confidence level;

[0013] S5: Calculate the distance between the minimum comparison units in the defect area concentration , set the radius value r And the center position is Calculate the minimum number of defective comparison units in the set circular area:

[0014] S6: Set the defect count threshold a , adjust the center of the circle , and obtain the circle center coordinate set with the minimum number of defective comparison units not less than a. A , based on the circle center coordinate set A The remaining chips in the same batch are inspected for defects.

[0015] In the chip surface defect detection method, preferably, S3 includes:

[0016] S301: Defining the difference For each pixel The sum of the squares of the brightness differences at :

[0017] ,

[0018] S302: Setting a difference threshold , each minimum comparison unit of the sample image Compare with the chip image in the standard template. , then the unit is determined to be a defective unit.

[0019] In the chip surface defect detection method, preferably, the defect probability of each minimum comparison unit is calculated in S4. include:

[0020] S401: Perform probability statistics on defective units in the sample image to obtain a difference matrix ;

[0021] S402: Define Defect Probability is the pixel coordinate around The mean of the smallest comparison unit difference in the region, where:

[0022] ,

[0023] In the chip surface defect detection method, preferably, the mean is used in S4 and standard deviation , and obtain the confidence interval The minimum comparison unit with defects in the memory is the defect area set:

[0024] .

[0025] In the chip surface defect detection method, preferably, the step of calculating the minimum number of comparison units with defects in the circular area in S5 includes:

[0026] S501: Calculate the distance between the minimum comparison units in the defect area concentration ;

[0027] S502: Set the radius value r And the center position is Calculate the minimum number of defective comparison units in the set circular area. , To set the radius value r and the center position of the circle The smallest alignment unit in the circular area Total number of:

[0028] ;

[0029] In the chip surface defect detection method, preferably, the radius value r is 1 / 5 of the long side of the field of view of the chip surface defect image acquisition device.

[0030] In the chip surface defect detection method, preferably, the center coordinate set is determined in S6 A The steps include:

[0031] S601: Setting the defect quantity threshold a ;

[0032] S602: Adjust the center of the circle The minimum number of defective alignment units is not less than a The center coordinates of A ;

[0033] S603: Adjust the defect quantity threshold a The value of the circle center coordinate set A The number of center circles is between 5 and 20;

[0034] S604: Based on the circle center coordinate set A The remaining chips in the same batch are inspected for defects.

[0035] Second aspect

[0036] The present invention provides a device for detecting chip surface defects, comprising:

[0037] An acquisition module, used to acquire a standard template and a sample data set, wherein the sample data set includes multiple chip images of the same batch;

[0038] A segmentation module is used to segment the sample images in the sample data set to obtain the minimum comparison unit;

[0039] A marking module, used for marking the minimum comparison unit as a defective unit when the difference between the minimum comparison unit and the minimum unit corresponding to the standard template is greater than a difference threshold;

[0040] The first screening module is used to perform probability statistics on the defective units of the sample image and obtain the defect probability of each minimum comparison unit. By using the mean and standard deviation, all the minimum comparison units with defects within the confidence interval are obtained as the defective area set;

[0041] The second screening module is used to calculate the distance between the minimum comparison units in the defect area concentration, set the radius value and the circular area of ​​the center position, and calculate the minimum number of comparison units with defects in the set circular area:

[0042] Output module: Set the defect number threshold and adjust the position of the circle center to obtain a circle center coordinate set with a minimum number of defective comparison units that is not less than the defect number threshold, and perform defect detection on the remaining chips in the same batch based on the circle center coordinate set.

[0043] The third aspect

[0044] The present invention provides a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the chip surface defect detection method as described in the first aspect when executing the computer program.

[0045] The fourth aspect

[0046] The present invention provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method for detecting chip surface defects as described in the first aspect is implemented.

[0047] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0048] In the present invention, small batches of chips from the same batch can be sampled and detailed inspected, and then the defects obtained from the inspection can be statistically analyzed to obtain defect area sets at different confidence levels. By reasonably planning the inspection center area where the defect area is concentrated, the number of scans and the amount of sampling for defect detection can be greatly reduced. The remaining chips in the same batch of chips can be reasonably planned, and there is no need to take pictures of all areas of the remaining chips one by one, which saves time. The surface defect detection of large-scale chip production lines can be performed, the efficiency of surface defect detection of large-scale chip production lines can be improved, the defect detection results can be given in real time, and the production efficiency can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] The preferred implementation modes will be described below in a clear and understandable manner with reference to the accompanying drawings to further illustrate the above-mentioned characteristics, technical features, advantages and implementation methods of the present invention.

[0050] Figure 1 It is a schematic flow chart of a chip surface defect detection method provided by the present invention.

[0051] Figure 2 It is a structural schematic diagram of a chip surface defect detection device provided by the present invention. DETAILED DESCRIPTION

[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.

[0053] In order to simplify the drawings, only the parts related to the invention are schematically shown in each figure, and they do not represent the actual structure of the product. In addition, in order to simplify the drawings and facilitate understanding, in some figures, only one of the parts with the same structure or function is schematically drawn or marked. In this article, "one" not only means "only one", but also means "more than one".

[0054] It should be further understood that the term “and / or” used in the present specification and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0055] In this document, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection. It can be a mechanical connection or an electrical connection. It can be directly connected or indirectly connected through an intermediate medium, and it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0056] In addition, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0057] Example 1

[0058] In one embodiment, the reference specification Figure 1 , which shows a schematic flow chart of a chip surface defect detection method provided by the present invention. Figure 2 , showing a schematic structural diagram of a chip surface defect detection method provided by the present invention.

[0059] The present invention provides a method for detecting chip surface defects, comprising:

[0060] S1: Acquire a standard template and a sample data set, wherein the sample data set includes multiple chip images of the same batch;

[0061] Among them, the standard template usually refers to a reference template representing a good or normal state, which is used to compare with the chip images in the sample data set. The standard template is obtained by analyzing and summarizing a large number of normal chip images. It contains information such as the characteristics, shape, color, etc. of the normal chip solder joint area. The standard template can be a common defect pattern in the chip design drawing, such as surface redundancy, process defects, particle defects, etc.

[0062] S2: The sample images in the sample dataset are represented as ,in i Indicates i sample images, the chip image in the standard template is represented as , Represents pixel coordinates, and each sample image is segmented to obtain the minimum comparison unit ;

[0063] When the sample image is segmented to obtain the minimum comparison unit, an edge-based segmentation method can be used, such as detecting the edges of different regions to solve the segmentation problem. For example, by setting appropriate filter parameters, the image edge can be identified based on the grayscale change and discontinuity of the image and the image can be segmented. In addition, when the sample image is segmented, a fixed image size can be used to achieve segmentation, such as segmenting the image by a fixed a×a square unit, where the total length or total width of the sample image is an integer multiple of a.

[0064] In the present invention, by using an edge-based segmentation method or a minimum unit-based segmentation method, a predetermined segmentation template for the same batch of chip sample images can be obtained. The same template is applied to multiple sample images to quickly perform segmentation processing on the images.

[0065] When using image grayscale changes and discontinuities to identify image edges and segment the image, the units into which the sample image is divided can be made small enough by reasonably setting the filter parameters; similarly, when segmenting the image using a×a square units, the appropriate unit size can be obtained by reasonably selecting the value of the unit side length a, thereby taking into account both the efficiency and accuracy of defect recognition.

[0066] S3: Setting the difference threshold , each minimum comparison unit of the sample image Compare with the chip image in the standard template, when the minimum comparison unit The difference between the smallest unit corresponding to the standard template is greater than the difference threshold When , the minimum comparison unit is marked as a defective unit;

[0067] In a possible implementation manner, the present invention proposes a new defect comparison algorithm, S3 specifically includes sub-steps S301 to S302:

[0068] S301: Defining the difference For each pixel The sum of the squares of the brightness differences at :

[0069] ,

[0070] in , It represents the number of pixels in the minimum comparison unit in the sample image in the x-direction and the y-direction. By summing up the square of the brightness difference between the pixels in the minimum comparison unit area, the difference between all the minimum comparison units in the sample image and the standard template can be calculated.

[0071] S302: Setting a difference threshold , each minimum comparison unit of the sample image Compare with the chip image in the standard template. , then the minimum comparison unit is determined to be a defective unit:

[0072] In the present invention, by reasonably setting the difference threshold , all the minimum alignment units with defects can be screened out, where the threshold It can be obtained from the statistics of historical chip surface defects. In addition, technicians in this field can also set the difference threshold according to actual conditions. The present invention does not limit the size.

[0073] S4: Perform probability statistics on the defective units of the sample image to obtain the difference matrix , and obtain the defect probability of each minimum comparison unit , according to the normal distribution law, using the mean and standard deviation , and obtain the confidence interval The minimum comparison unit with all defects is the defect area set, where x is the selected confidence level;

[0074] In the present invention, the defect probability of each minimum comparison unit is calculated in S4. Specifically include:

[0075] S401: Perform probability statistics on defective units in the sample image to obtain a difference matrix ;

[0076] S402: Define Defect Probability is the pixel coordinate Its surroundings The mean of the smallest comparison unit difference in the region, where:

[0077] ,

[0078] By statistically analyzing the difference of the minimum comparison unit in each area, the probability of defective units in the area can be obtained, and the probability of defective units in each area can be obtained by integration. The probability of defect .

[0079] S403: Using the mean value in S4 and standard deviation , and obtain the confidence interval The minimum comparison unit of all defects in the memory is the defect area set, which is:

[0080]

[0081] By setting three typical confidence interval probabilities of 90%, 95% and 99%, the collective area of ​​the defect area under the corresponding defect probability can be obtained. After selecting the required defect probability confidence interval, the collective area of ​​the defect area under the corresponding defect probability can be obtained. By scanning these areas to reach the collective area of ​​the defect area under the corresponding defect probability, the number of defect areas to be detected can be reduced.

[0082] S5: Calculate the distance between the minimum comparison units in the defect area concentration , set the radius value r And the center position is Calculate the minimum number of defective comparison units in the set circular area:

[0083] In the present invention, the specific step of calculating the minimum number of comparison units with defects in the circular area in S5 includes:

[0084] S501: Calculate the distance between the minimum comparison units in the defect area concentration ;

[0085] S502: Set the radius value r And the center position is Calculate the minimum number of defective comparison units in the set circular area. , To set the radius value r and the center position of the circle The smallest alignment unit in the circular area Total number of:

[0086]

[0087] In the present invention, the radius value r The radius value is 1 / 5 of the long side of the chip surface defect image acquisition device's field of view. r It not only reduces the number of scans, but also matches the general chip size of mobile phone chips, which is about 6mm, and can ensure the clarity of the captured images.

[0088] S6: Set the defect count threshold a , adjust the center of the circle , and obtain the circle center coordinate set with the minimum number of defective comparison units not less than a. A , based on the circle center coordinate set A The remaining chips in the same batch are inspected for defects.

[0089] In the present invention, the center coordinate set is determined in S6 A The specific steps include:

[0090] S601: Setting the defect quantity threshold a , so that;

[0091] S602: Adjust the center of the circle The minimum number of defective alignment units is not less than a The center coordinates of A ;

[0092] S603: Adjust the defect quantity threshold a The value of the circle center coordinate set A The number of center points is between 5 and 20;

[0093] S604: Based on the circle center coordinate set A The remaining chips in the same batch are inspected for defects.

[0094] Example 2

[0095] In one embodiment, the reference specification Figure 2 , showing a schematic structural diagram of a chip surface defect detection device provided by the present invention.

[0096] The present invention provides a chip surface defect detection device 20, comprising:

[0097] An acquisition module 201 is used to acquire a standard template and a sample data set, wherein the sample data set includes multiple chip images of the same batch;

[0098] The segmentation module 202 is used to segment the sample images in the sample data set to obtain the minimum comparison unit;

[0099] A marking module 203, configured to mark the minimum comparison unit as a defective unit when the difference between the minimum comparison unit and the minimum unit corresponding to the standard template is greater than a difference threshold;

[0100] The first screening module 204 is used to perform probability statistics on the defective units of the sample image and obtain the defect probability of each minimum comparison unit, and use the mean and standard deviation to obtain all the minimum comparison units with defects within the confidence interval as a defective area set;

[0101] The second screening module 205 is used to calculate the distance between the minimum comparison units in the defect area concentration, set the radius value and the circular area of ​​the center position, and calculate the minimum number of comparison units with defects in the set circular area:

[0102] Output module 206 is used to set a defect quantity threshold and adjust the position of the circle center to obtain a circle center coordinate set whose minimum number of defective comparison units is not less than the defect quantity threshold, and perform defect detection on the remaining chips in the same batch based on the circle center coordinate set.

[0103] In a possible implementation, the acquisition module 201 is specifically used to: acquire a standard template and a sample data set, wherein the sample data set includes multiple chip images of the same batch;

[0104] Among them, the standard template usually refers to a reference template representing a good or normal state, which is used to compare with the chip images in the sample data set. The standard template is obtained by analyzing and summarizing a large number of normal chip images. It contains information such as the characteristics, shape, color, etc. of the normal chip solder joint area. The standard template can be a common defect pattern in the chip design drawing, such as surface redundancy, process defects, particle defects, etc.

[0105] The segmentation module 202 is specifically used to: represent the sample image in the sample data set as ,in i Indicates i sample images, the chip image in the standard template is represented as , Represents pixel coordinates, and each sample image is segmented to obtain the minimum comparison unit ;

[0106] When the sample image is segmented to obtain the minimum comparison unit, an edge-based segmentation method can be used, such as detecting the edges of different regions to solve the segmentation problem. For example, by setting appropriate filter parameters, the image edge can be identified based on the grayscale change and discontinuity of the image and the image can be segmented. In addition, when the sample image is segmented, a fixed image size can be used to achieve segmentation, such as segmenting the image by a fixed a×a square unit, where the total length or total width of the sample image is an integer multiple of a.

[0107] In the present invention, by using an edge-based segmentation method or a minimum unit-based segmentation method, a predetermined segmentation template for the same batch of chip sample images can be obtained. The same template is applied to multiple sample images to quickly perform segmentation processing on the images.

[0108] When using image grayscale changes and discontinuities to identify image edges and segment the image, the units into which the sample image is divided can be made small enough by reasonably setting the filter parameters; similarly, when segmenting the image using a×a square units, the appropriate unit size can be obtained by reasonably selecting the value of the unit side length a, thereby taking into account both the efficiency and accuracy of defect recognition.

[0109] The marking module 203 is specifically used to: set a difference threshold , each minimum comparison unit of the sample image Compare with the chip image in the standard template, when the minimum comparison unit The difference between the smallest unit corresponding to the standard template is greater than the difference threshold When , the minimum comparison unit is marked as a defective unit;

[0110] In a possible implementation manner, the present invention proposes a new defect comparison algorithm, S3 specifically includes sub-steps S301 to S302:

[0111] S301, define the difference For each pixel The sum of the squares of the brightness differences at :

[0112] ,

[0113] in , It represents the number of pixels in the minimum comparison unit in the sample image in the x-direction and the y-direction. By summing up the square of the brightness difference between the pixels in the minimum comparison unit area, the difference between all the minimum comparison units in the sample image and the standard template can be calculated.

[0114] S302, setting a difference threshold , each minimum comparison unit of the sample image Compare with the chip image in the standard template. , then the minimum comparison unit is determined to be a defective unit:

[0115] In the present invention, by reasonably setting the difference threshold , all the minimum alignment units with defects can be screened out, where the threshold It can be obtained from the statistics of historical chip surface defects. In addition, technicians in this field can also set the difference threshold according to actual conditions. The present invention does not limit the size.

[0116] The first screening module 204 is specifically used to: perform probability statistics on the defective units of the sample image to obtain a difference matrix , and obtain the defect probability of each minimum comparison unit , according to the normal distribution law, using the mean and standard deviation , and obtain the confidence interval The minimum comparison unit with all defects is the defect area set, where x is the selected confidence level;

[0117] In the present invention, the defect probability of each minimum comparison unit is calculated in S4. Specifically include:

[0118] S401: Perform probability statistics on defective units in the sample image to obtain a difference matrix ;

[0119] S402: Define Defect Probability is the pixel coordinate Around The mean of the smallest comparison unit difference in the region, where:

[0120] ,

[0121] By statistically analyzing the difference of the minimum comparison unit in each area, the probability of defective units in the area can be obtained, and the probability of defective units in each area can be obtained by integration. The probability of defect .

[0122] S403: Using the mean value in S4 and standard deviation , and obtain the confidence interval The minimum comparison unit of all defects in the memory is the defect area set, which is:

[0123] ,

[0124] By setting three typical confidence interval probabilities of 90%, 95% and 99%, the collective area of ​​the defect area under the corresponding defect probability can be obtained. After selecting the required defect probability confidence interval, the collective area of ​​the defect area under the corresponding defect probability can be obtained. By scanning these areas to reach the collective area of ​​the defect area under the corresponding defect probability, the number of defect areas to be detected can be reduced.

[0125] The second screening module 205 is specifically used to calculate the distance between the minimum comparison units in the defect area concentration: , set the radius value r And the center position is Calculate the minimum number of defective comparison units in the set circular area:

[0126] In the present invention, the specific step of calculating the minimum number of comparison units with defects in the circular area in S5 includes:

[0127] S501: Calculate the distance between the minimum comparison units in the defect area concentration ;

[0128] S502: Set the radius value r And the center position is Calculate the minimum number of defective comparison units in the set circular area:

[0129] ,

[0130] In the present invention, the radius value r The radius value is 1 / 5 of the long side of the chip surface defect image acquisition device's field of view. r It not only reduces the number of scans, but also matches the general chip size of mobile phone chips, which is about 6mm, and can ensure the clarity of the captured images.

[0131] The output module 206 is specifically used to: set the defect quantity threshold a , adjust the center of the circle , and obtain the circle center coordinate set with the minimum number of defective comparison units not less than a. A , based on the circle center coordinate set A The remaining chips in the same batch are inspected for defects.

[0132] In the present invention, the center coordinate set is determined in S6 A The specific steps include:

[0133] S601: Setting the defect quantity threshold a , so that;

[0134] S602: Adjust the center of the circle The minimum number of defective alignment units is not less than a The center coordinates of A ;

[0135] S603: Adjust the defect quantity threshold a The value of the circle center coordinate set A The number of center points is between 5 and 20;

[0136] S604: Based on the circle center coordinate set A The remaining chips in the same batch are inspected for defects.

[0137] Example 3

[0138] In one embodiment, the present invention provides a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements a chip surface defect detection method as described in any one of Embodiment 1 when executing the computer program.

[0139] A computer device may include a processor and a memory storing computer program instructions.

[0140] Specifically, the processor may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present invention.

[0141] Among them, the memory may include a large capacity memory for data or instructions. By way of example and not limitation, the memory may include a hard disk drive (HDD), a floppy disk drive, a solid state drive (SSD), a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory may include a removable or non-removable (or fixed) medium. Where appropriate, the memory may be inside or outside the data processing device. In a specific embodiment, the memory is a non-volatile memory. In a specific embodiment, the memory includes a read-only memory (ROM) and a random access memory (RAM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (Programmable Read-Only Memory, PROM for short), an erasable PROM (Erasable Programmable Read-Only Memory, EPROM for short), an electrically erasable PROM (Electrically Erasable Programmable Read-Only Memory, EEPROM for short), an electrically alterable ROM (Electrically Alterable Read-Only Memory, EAROM for short) or a flash memory (FLASH) or a combination of two or more of these. Under appropriate circumstances, the RAM can be a static random access memory (SRAM) or a dynamic random access memory (DRAM), wherein the DRAM can be a fast page mode dynamic random access memory (FPMDRAM), an extended data output dynamic random access memory (EDODRAM), a synchronous dynamic random access memory (SDRAM), etc.

[0142] The memory may be used to store or cache various data files required for processing and / or communication, as well as possible computer program instructions executed by the processor.

[0143] The processor implements any one of the chip surface defect detection methods in Example 1 by reading and executing computer program instructions stored in the memory.

[0144] In some embodiments, the computer device may further include a communication interface and a bus, wherein the processor, the memory, and the communication interface are connected via the bus and communicate with each other.

[0145] The communication interface is used to realize the communication between the modules, devices, units and / or equipment in the embodiments of the present invention. The communication interface can also realize data communication with other components such as: external devices, image / data acquisition equipment, databases, external storage, and image / data processing workstations.

[0146] The bus includes hardware, software or both, and couples the components of the computer device to each other. The bus includes but is not limited to at least one of the following: data bus, address bus, control bus, expansion bus, and local bus. By way of example and not limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses or a combination of two or more of these. Where appropriate, the bus may include one or more buses. Although embodiments of the present invention describe and illustrate a particular bus, the present invention contemplates any suitable bus or interconnect.

[0147] A computer device provided by the present invention can implement the steps and effects of the chip surface defect detection method in the above-mentioned embodiment 1. To avoid repetition, the present invention will not go into details.

[0148] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0149] In the present invention, the entire chip image can be acquired and then segmented by the K-Means clustering algorithm to segment multiple solder joint areas in the chip image, and then defect detection can be performed on the solder joint areas. Multiple solder joint areas in the entire chip can be detected simultaneously without taking pictures one by one, thus saving time. The surface defect detection efficiency of large-scale chip production lines can be improved, and defect detection results can be given in real time to improve production efficiency.

[0150] Example 4

[0151] The present invention provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method for detecting chip surface defects described in any one of Embodiment 1 is implemented.

[0152] A computer-readable storage medium provided by the present invention can implement the steps and effects of the chip surface defect detection method in the above-mentioned embodiment 1. To avoid repetition, the present invention will not go into details.

[0153] Compared with the prior art, the present invention has at least the following beneficial technical effects: in the present invention, the entire chip image can be acquired, and then the chip image can be segmented through the K-Means clustering algorithm to segment multiple solder joint areas in the chip image, and then defect detection can be performed on the solder joint areas. Multiple solder joint areas in the entire chip can be detected simultaneously without taking pictures one by one, thus saving time. It can be competent for surface defect detection of large-scale chip production lines, improve the efficiency of surface defect detection of large-scale chip production lines, provide defect detection results in real time, and improve production efficiency.

[0154] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0155] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A method for detecting chip surface defects, It is characterized in that include: S1: Acquire a standard template and a sample data set, wherein the sample data set includes multiple chip images of the same batch; S2: The sample images in the sample dataset are represented as ,in Indicates the serial number of the sample image. The chip image in the standard template is represented as , Represents pixel coordinates, and each sample image is segmented to obtain the minimum comparison unit ; S3: Setting the difference threshold , each minimum comparison unit of the sample image Compare with the chip image in the standard template, when the minimum comparison unit The difference between the smallest unit corresponding to the standard template is greater than the difference threshold When , the minimum comparison unit is marked as a defective unit; S4: Perform probability statistics on the defective units of the sample image to obtain the difference matrix , and obtain the defect probability of each minimum comparison unit , according to the normal distribution law, using the mean and standard deviation , and obtain the confidence interval The minimum comparison unit with all defects is the defect area set, where x is the selected confidence level; S5: Set the radius value r And the center position is The minimum number of comparison units with defects in the set circular area is calculated; S6: Set the defect count threshold a , adjust the center of the circle , and obtain the circle center coordinate set with the minimum number of defective comparison units not less than a. A , based on the circle center coordinate set A Perform defect detection on the remaining chips in the same batch; Wherein, the defect probability of each minimum comparison unit is calculated in S4 include: S401: Perform probability statistics on defective units in the sample image to obtain a difference matrix ; S402: Define Defect Probability is the pixel coordinate around The mean of the smallest comparison unit difference in the region, where: , Furthermore, the mean value is used in S4 and standard deviation , and obtain the confidence interval The minimum comparison unit with defects in the memory is the defect area set: 。 2. The method for detecting chip surface defects according to claim 1, It is characterized in that The S3 includes: S301: Defining the difference For each pixel The sum of the squares of the brightness differences at : ; Where k and l represent the number of pixels of the minimum comparison unit in the sample image in the x direction and y direction; S302: Setting a difference threshold , each minimum comparison unit of the sample image Compare with the chip image in the standard template. , then the unit is determined to be a defective unit.

3. The method for detecting chip surface defects according to claim 1, It is characterized in that The step of calculating the minimum number of comparison units with defects in the circular area in S5 includes: Set the radius value r And the center position is Calculate the minimum number of defective comparison units in the set circular area. , To set the radius value r and the center position of the circle The smallest alignment unit in the circular area Total number of: 。 4. The method for detecting chip surface defects according to claim 3, It is characterized in that The radius value r is 1 / 5 of the long side of the field of view of the chip surface defect image acquisition device.

5. The method for detecting chip surface defects according to claim 1, It is characterized in that The S6 step includes: S601: Setting the defect quantity threshold a ; S602: Adjust the center of the circle The minimum number of defective alignment units is not less than a The center coordinates of A ; S603: Adjust the defect quantity threshold a The value of the circle center coordinate set A The number of circle centers in is between 5 and 20; S604: Based on the circle center coordinate set A The remaining chips in the same batch are inspected for defects.

6. A device for detecting chip surface defects, It is characterized in that The detection device implements the chip surface defect detection method according to any one of claims 1 to 5, comprising: An acquisition module, used to acquire a standard template and a sample data set, wherein the sample data set includes multiple chip images of the same batch; A segmentation module is used to segment the sample images in the sample data set to obtain the minimum comparison unit; A marking module, used for marking the minimum comparison unit as a defective unit when the difference between the minimum comparison unit and the minimum unit corresponding to the standard template is greater than a difference threshold; The first screening module is used to perform probability statistics on the defective units of the sample image and obtain the defect probability of each minimum comparison unit. By using the mean and standard deviation, all the minimum comparison units with defects within the confidence interval are obtained as the defective area set; The second screening module sets the radius value and the circular area of ​​the center position, and calculates the minimum number of comparison units with defects in the set circular area; Output module: Set the defect number threshold and adjust the position of the circle center to obtain a circle center coordinate set with a minimum number of defective comparison units that is not less than the defect number threshold, and perform defect detection on the remaining chips in the same batch based on the circle center coordinate set.

7. A computer device, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the chip surface defect detection method as described in any one of claims 1 to 5 when executing the computer program.

8. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the chip surface defect detection method according to any one of claims 1 to 5 is implemented.

Citation Information

Cited By

  • Screening device for quickly screening chip surface appearance defects and use method

    CN119771796A