Chip defect detection method and system
阅读说明:本技术 芯片缺陷检测方法及系统 (Chip defect detection method and system ) 是由 柏钧蓝 于 2019-10-08 设计创作,主要内容包括:本公开涉及芯片缺陷检测方法及图像处理系统,该方法包括:获取所述待检测芯片的快照,对快照执行多重滤波以消除附着在快照上的环境干扰图像,基于每一层滤波后的图像确定快照中包含的芯片图像的角点;当角点数等于4时,以角点为轮廓基准,从快照中生成芯片真实图像,以及对芯片真实图像执行自适应二值化处理以标识芯片缺陷。(The present disclosure relates to a chip defect detection method and an image processing system, the method including: acquiring a snapshot of the chip to be detected, performing multiple filtering on the snapshot to eliminate an environmental interference image attached to the snapshot, and determining corner points of the chip image contained in the snapshot based on each layer of filtered image; and when the number of the corner points is equal to 4, generating a chip real image from the snapshot by taking the corner points as the outline reference, and performing self-adaptive binarization processing on the chip real image to identify the chip defects.)
1. A method for detecting chip defects, comprising:
acquiring a snapshot of a chip to be detected, wherein the snapshot comprises an image of the chip and an environmental interference image shot at the same time when the snapshot is generated;
removing the environmental interference image imaged together with the image of the chip by performing multiple filtering on the snapshot and recording each re-filtered image;
determining corner points of the chip image contained in the snapshot based on the filtered image;
when the number of the determined corner points is equal to 4, generating a chip real image from the snapshot by taking the corner points as a contour reference;
and performing self-adaptive binarization processing on the real chip image to identify chip defects.
2. The method of claim 1, wherein if the determined number of corner points is less than 4, it is determined that the snapshot of the chip currently to be detected is invalid; and if the number of the determined angular points is more than 4, determining that the chip to be detected has chip defects.
3. The method of claim 1, wherein performing multiple filtering on the snapshot comprises:
and performing downsampling Gaussian filtering on the snapshot by using a K-layer Gaussian pyramid filter to obtain K filtered images, wherein the K filtered images and the snapshot form a K + 1-layer pyramid image, the snapshot is positioned on the 1 st layer of the pyramid image, and K is larger than 1.
4. The method of claim 3, wherein determining corner points of the chip image based on the filtered image comprises:
(1) for the K +1 layer image in the pyramid image, the following processing is performed:
determining an angular point of the K +1 layer image;
if the number of the corner points of the K + 1-th layer image is more than or equal to 4, mapping the determined corner points to the K-th layer image;
(2) for each of the K-th to 1-th layer images in the pyramid image, performing the following processing:
and establishing a corner point search area corresponding to the current layer image and searching for corner points in the established search area so as to determine the corner points of the current layer image, wherein the corner point search area of the current layer image is generated by taking points mapped from the determined corner points of the previous layer image as centers and expanding a preset number of pixels outwards along four directions, and the size of the corner point search area of each layer of images from the K layer image to the 1 st layer image is different.
5. The method of claim 4, wherein the size of the corner search area of the K-th through 1-th layer images is determined by: f. ofiWhere 1 ≦ i ≦ K, F is a predetermined value smaller than the K +1 th layer image size, F represents the number of pixels extending outward in any of the four directions, and sqrt () represents an open square function.
6. The method of any of claims 1-5, wherein generating a chip real image from the snapshot with the corner as a contour reference when the number of corners equals 4 further comprises:
establishing a quadrilateral area with the four corner points as outline references,
judging whether the quadrilateral area is a rectangle, wherein if the quadrilateral area is not the rectangle, the method further comprises the following steps:
performing perspective conversion on the quadrangular image to generate the chip real image having a rectangular shape.
7. The method of claim 6, wherein performing adaptive binarization processing on the chip real image comprises:
performing illumination compensation on the real chip image, and performing binarization on the real chip image subjected to the illumination compensation to form a binarized image;
and establishing a communication area in the binary image to mark the chip defects.
8. An image processing system comprising:
the chip to be detected comprises a user display interface, a first storage interface and a second storage interface, wherein the user display interface is configured to receive a snapshot of the chip to be detected according to user instructions, and the snapshot comprises an environmental interference image which is shot at the same time when the snapshot is generated;
an image processing unit configured to perform the method of one of claims 1 to 7 to determine whether the chip is defective;
wherein the user display interface is further configured to graphically display the real image of the chip marked with the chip defect.
9. A computer readable medium having stored thereon machine readable instructions which, when executed by a machine, cause the machine to carry out the method of any one of claims 1 to 7.
10. An apparatus for chip defect detection, comprising means for implementing the steps in the method of one of claims 1 to 7.
Technical Field
The invention relates to a chip detection technology, in particular to a chip surface damage defect detection method.
Background
In the chip manufacturing process, usually thousands of chips are manufactured on a single wafer, and each chip needs to be separated from the wafer independently for subsequent processes such as UV irradiation, for example, each chip is cut from the wafer by using a diamond blade rotating at high speed. Therefore, during the dicing process, there is a high possibility that damage may be caused to the chips, particularly, near the edge and corner of each chip where the dicing operation is performed, causing chip defects, such as operation damage occurring in the upper left corner of the chip as shown in the partially enlarged schematic view of the chip shown by the black area in fig. 1. Chip defects may also include physical damage such as scratches occurring on the chip surface for other reasons. Therefore, it is necessary to screen out such chips in practice to avoid entering the next process and even entering the hands of the customer.
At present, the defects of the chips are mainly detected in a manual mode, quality testing personnel check a large number of chip images by naked eyes, and because the chip cut damage is very small and is usually less than 50 micrometers, an operator has to manually amplify the images to find the defects, so that the method is not accurate and occupies a large amount of human resources.
Disclosure of Invention
The invention provides a scheme for automatically detecting the chip defects, which can quickly and accurately remove the defective chips without an operator checking the images.
According to an aspect of the present invention, there is provided a method for detecting a chip defect, comprising: acquiring a snapshot of a chip to be detected, wherein the snapshot comprises an image of the chip and an environmental interference image shot at the same time when the snapshot is generated; removing the environmental interference image imaged together with the chip by performing multiple filtering on the snapshot, and recording each filtered image; determining corner points of the chip image contained in the snapshot based on the filtered image; when the number of the corner points is equal to 4, generating a chip real image from the snapshot by taking the corner points as outline reference; and performing self-adaptive binarization processing on the real chip image to identify chip defects.
According to another aspect of the present invention, there is provided an image processing system comprising: the user display interface is configured to receive a snapshot of the chip to be detected according to user instructions; the image processing unit is configured to determine whether the chip has defects by the chip defect detection method; wherein the user display interface is further configured to graphically display the real image of the chip marked with the occurrence location of the chip defect.
According to yet another aspect of the invention, there is provided a computer readable medium having stored thereon machine readable instructions which, when executed by a machine, cause the machine to perform the method of the invention.
By using the scheme of the invention, the complicated operations of manual operation such as opening images, amplifying, moving, judging, recording and the like are avoided, the detection accuracy is improved, the detection time is shortened and the efficiency is improved.
Drawings
FIG. 1 illustrates a schematic diagram of an exemplary chip corner damage;
FIG. 2 schematically illustrates a chip snapshot;
FIG. 3 shows a flow diagram of a chip defect detection method according to an embodiment of the invention;
FIG. 4A illustrates an exemplary Gaussian pyramid filtering diagram;
FIG. 4B schematically illustrates a pyramid image filtered through various layers;
FIG. 5 shows a flow chart of corner detection according to an embodiment of the invention;
FIGS. 6A and 6B are schematic diagrams illustrating chip defects represented by connected regions;
FIG. 7 shows an exemplary image processing system schematic;
FIG. 8 shows a schematic diagram of a user interface of an exemplary image processing system.
Detailed Description
The method and system provided by the embodiment of the invention are explained in detail below with reference to the accompanying drawings. While the preferred embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
After the chips are cut from the wafer, the chips need to be placed on a test platform for testing, and thus a chip pick and place head (pick and place head) is typically operated on the production line to pick and place the chips on the test platform. In one embodiment of the invention, a camera is used to capture a chip when it is picked up by a chip pick-and-place head to generate a chip snapshot. Therefore, some structural or pattern features on the pick-and-place head may inevitably be shot together and reflected in the chip snapshot. As shown in fig. 2, where the entire chip snapshot is represented by CSS, representing the image taken for the pick-and-place head that is picking up the chip, the black rectangular box represents the image of the chip being picked up, represented by CI. It can be seen that in this snapshot CSS, in addition to the chip image CI, a two-dimensional code QR image on the surface of the gripper head and an image of the calibration holes used for positioning during the gripping process are included, which severely disturb the chip image CI. Obviously, the contour of the CSS, the QR code, the calibration hole image, etc. are all disturbances to the chip image CI, which is referred to herein as an environmental disturbance image. According to the detection technology of the invention, the chip image CI needs to be automatically extracted from the snapshot CSS, so that the interference image such as the two-dimensional code QR needs to be eliminated.
FIG. 3 shows a flowchart of a defect detection method according to one embodiment of the invention. As shown in the figure, in
In
It should be noted that, the QR code and the calibration aperture are only used as the source of the interference image, but the invention is not limited thereto, and the interference image may also be from other intentionally set sources or unintentionally present sources, but filtered layer by layer after gaussian pyramid filtering.
CSS to snapshot is done in
Fig. 5 shows a flow diagram of corner detection implemented at
In step 501: the corner points of the top-level image are determined using a corner point search algorithm, in this example, the CSS of the
At
According to the embodiment of the invention, the determination of the number f of the expanded pixels is related to the hierarchy of the pyramid. In one example, for the ith layer image, it extends the number of pixels fiCan be determined by the following formula:
fi=F/sqrt(i),
where i is not less than 1 and not more than K, sqrt () represents a square-open function, and F is a predetermined value smaller than the K +1 th layer image size and makes corner search regions established for two adjacent corners not overlap. As an example, F is 10-30, preferably 18.5.
In
At
In
In the above embodiments of the present invention, the corner search algorithm for searching the corners of each layer image may be implemented in various manners, for example, implemented by the HARRIS corner search algorithm.
In
In
In
In
In another embodiment of the present invention, to achieve better effect, the influence that the uneven illumination may have on the binarization is further considered here, so before the binarization processing is performed, the illumination contrast elimination processing is performed on the actual image CI', as shown by the dashed square in fig. 3. In one example, background compensation techniques may be employed to achieve contrast cancellation. Since the background of the image may be non-uniform, the luminance background of the image may be determined in advance and then used to perform background compensation on the original image, thereby obtaining a background-compensated image CI ″. And then, carrying out binarization processing on the image CI' after illumination contrast compensation by using an OSTU binarization method or a Sauvola algorithm.
In the binarized image, a white area may be defined as a defective area and a black area as a normal area. In order to present the defect regions more intuitively, the method of the present invention may further comprise
The above examples illustrate the inventionThe method of the embodiment of the invention realizes the automatic detection of the chip defects. Fig. 7 shows an image processing system 700 for implementing chip detection using the above method according to an embodiment of the present invention. The system 700 comprises a
The
It is to be noted herein that, although the embodiments of the present invention have been described in conjunction with the above, the present invention is not limited thereto. For example, the image processing system herein may include a processor, an electronic device, a hardware device, an electronic component, a logic circuit, a memory, software code, firmware code, etc., or any combination thereof. Those of skill would further appreciate that the various illustrative modules and method steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. The image processing system in a logic sense is formed by reading a corresponding computer program instruction in the nonvolatile memory into the memory through the processor and running the computer program instruction by taking software implementation as an example.
Another embodiment of the invention provides a machine-readable medium having stored thereon machine-readable instructions which, when executed by a computer, cause the computer to perform any of the methods disclosed herein. In particular, a system or apparatus may be provided which is provided with a machine-readable medium on which software program code implementing the functionality of any of the embodiments described above is stored and which causes a computer of the system to read and execute machine-readable instructions stored in the machine-readable medium. In this case, the program code itself read from the machine-readable medium can realize the functions of any of the above-described embodiments, and thus the machine-readable code and the machine-readable medium storing the machine-readable code form part of the present invention.
It should be noted that not all steps in the above flows are necessary, and some steps may be omitted according to actual needs. The execution order of the steps is not fixed and can be adjusted as required. The system structure described in the above embodiments may be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by a plurality of physical entities, or some components in a plurality of independent devices may be implemented together.
While the invention has been shown and described in detail in the drawings and in the preferred embodiments, it is not intended to limit the invention to the embodiments disclosed, and it will be apparent to those skilled in the art that various combinations of the code auditing means in the various embodiments described above may be used to obtain further embodiments of the invention, which are also within the scope of the invention.