A method for detecting chip pins of integrated circuit package and its application

By learning the heat sink and pin position relationship of standard integrated circuit packaging chips, determining the edge points of the pin to be measured and using fitting and region growth techniques, the problem of low detection accuracy in the existing technology is solved, and the further development of the new technology is achieved. High detection accuracy and accuracy, especially correct detection when pins are connected.

CN118763015BActive Publication Date: 2024-11-29SHENYANG HEYAN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411240787.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2024-11-29
Estimated Expiration
2044-09-05

AI Technical Summary

Technical Problem

In the prior art, the pin detection accuracy of integrated circuit packaging chip chips is low, especially when the pin edges are not horizontal or vertical, it is difficult to accurately detect the number of pins and the interconnection conditions, resulting in detection errors.

Method used

By learning the heat sink and pin position relationship of standard integrated circuit packaging chips, the edge points of the pins to be tested are determined, and the detection accuracy is improved using fitting and area growth techniques, so that the pins can be properly disconnected when the pins are connected. , ensure the accuracy of pin count detection.

Benefits of technology

It improves the accuracy and accuracy of chip pin detection in integrated circuit package, and can correctly distinguish the bonded pins when the pins are connected without affecting the number of pins detection. The application effect is significantly improved during the integrated circuit packaging process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118763015B_ABST
    Figure CN118763015B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of integrated circuit package chip pin detection, and in particular to an integrated circuit package chip pin detection method and application thereof. The positional relationship between a standard integrated circuit package chip heat sink and a pin is learned in advance, and then the edge point of each pin to be tested is determined. The edge of the integrated circuit package chip to be tested is determined by fitting a number of edge points of the pins to be tested, thereby improving the detection accuracy of the integrated circuit package chip pins. At the same time, the positional relationship between the package chip heat sink and the pins can be used to grow through the pin center point area. The predefined number of pins is used as the number of seed points. When the pins are connected, they can also be disconnected from the two pins, which will not affect the pin quantity detection. The method is applied to analog integrated circuit package chips, digital integrated circuit package chips and digital-analog hybrid integrated circuit package chips.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of integrated circuit package chip pin detection, and in particular to an integrated circuit package chip pin detection method and application thereof. Background Art

[0002] During the manufacturing process of integrated circuit chips, the integrated circuits need to be packaged, and the pins of the integrated circuit package chips need to be inspected for defects. During the inspection of the pins of the integrated circuit package chips in the prior art, a one-time caliper is used to inspect the edge of the integrated circuit package chip. If the edge of the integrated circuit package chip is not horizontal or vertical in the top view, the pin inspection accuracy will be poor. In addition, when the pins are connected, the boundary of the stuck pins cannot be determined, resulting in an error in the number of pins inspected.

[0003] Therefore, in view of the shortcomings of the prior art, it is necessary to provide an integrated circuit package chip pin detection method and application thereof to solve the shortcomings of the prior art. Summary of the invention

[0004] The purpose of the present invention is to avoid the shortcomings of the prior art and provide an integrated circuit package chip pin detection method and its application. The integrated circuit package chip pin detection method and its application learn the positional relationship between the heat sink and the pin of the standard integrated circuit package chip in advance, then determine the edge point of each pin to be tested, and determine the edge of the integrated circuit package chip to be tested by fitting a number of edge points of the pins to be tested, thereby improving the detection accuracy of the integrated circuit package chip pins. At the same time, the positional relationship between the heat sink and the pin of the package chip can be used to grow through the pin center point area, and the predefined number of pins is used as the number of seed points. When the pins are connected, they can also be disconnected from between the two pins, which will not affect the detection of the number of pins. The application effect on the integrated circuit package chip is better.

[0005] The above-mentioned purpose of the present invention is achieved through the following technical means.

[0006] Provided is an integrated circuit package chip pin detection method and application thereof, comprising an integrated circuit package chip to be tested, the integrated circuit package chip to be tested being provided with a heat sink to be tested and pins to be tested, and also comprising a standard integrated circuit package chip, the standard integrated circuit package chip being provided with a standard heat sink and standard pins, comprising the following steps:

[0007] S1. Learning the position relationship between the standard heat sink and the pins. Using OpenCV to perform template matching and positioning on the standard integrated circuit package chip, find several standard heat sink geometric center points M and the first standard pin geometric center point N1, and then learn the position relationship between the standard heat sink geometric center point M and the first standard pin geometric center point N1.

[0008] S2, determining the edge points of the pin to be measured, and obtaining a plurality of pin edge points P by measuring the positional relationship between the geometric center point M of the standard heat sink and the geometric center point N1 of the first standard pin with a caliper;

[0009] S3, fitting edge lines, using ransac fitting to fit several edge points P of the pins around the heat sink to be tested, to obtain several edge lines L of the pins to be tested;

[0010] S4, capturing an image, capturing an image of the edge line L of the pin to be tested around each heat sink to be tested, and binarizing the IC package chip to be tested to obtain a plurality of images of a single IC package chip to be tested;

[0011] S5, region growing, using the second standard pin geometric center point N2 as a seed point on a single IC package chip image to be tested to perform region growing, and obtain a pin region to be tested;

[0012] S6. Detection of the pin area to be tested: Calculate the minimum bounding rectangle of the pin area to be tested through OpenCV to determine whether the pin area to be tested is qualified.

[0013] S7, chip body area detection, to detect whether there is a defective area in the integrated circuit package chip to be tested.

[0014] Specifically, the specific method of step S2 is:

[0015] S21, regarding the heat sink to be tested on the IC package chip to be tested as a standard heat sink, taking the geometric center point M of the standard heat sink as a reference, and finding a plurality of second standard pin geometric center points N2 on the IC package chip to be tested based on the positional relationship between the geometric center point M of the standard heat sink and the geometric center point N1 of the first standard pin;

[0016] S22 , measuring each pin to be tested on the IC package chip to be tested with a caliper using the second standard pin geometric center point N2 to obtain a plurality of pin edge points P.

[0017] Preferably, the direction of edge point extraction by the caliper is the direction from the second standard pin geometric center point N2 to the edge of the corresponding integrated circuit package chip to be tested.

[0018] Specifically, the specific method of step S6 is:

[0019] S61, comparing the width, height and geometric center point N2 of the minimum bounding rectangle of each pin area to be tested with the width, height and geometric center point N of the minimum bounding rectangle of the standard pin area on the standard integrated circuit package chip;

[0020] S62, detecting whether there are holes in the pin area to be tested.

[0021] Furthermore, the specific method of step S7 is:

[0022] S71, removing the pin area to be tested and the heat sink area to be tested from the image of a single integrated circuit package chip to be tested, to obtain an integrated circuit package chip body inspection image;

[0023] S72, inspecting whether there is a defective area on the inspection image of the integrated circuit package chip body.

[0024] The present invention provides applications in analog integrated circuit package chips, digital integrated circuit package chips and digital-analog hybrid integrated circuit package chips.

[0025] The present invention learns the positional relationship between the heat sink and the pins of a standard integrated circuit package chip in advance, then determines the edge point of each pin to be tested, and determines the edge of the integrated circuit package chip to be tested by fitting a number of edge points of the pins to be tested, thereby improving the detection accuracy of the integrated circuit package chip pins. At the same time, the positional relationship between the heat sink and the pins of the package chip can be used to grow through the pin center point area, and the predefined number of pins is used as the number of seed points. When the pins are connected, they can also be disconnected from the two pins, which will not affect the pin number detection, and the application effect on the integrated circuit package chip is better. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The present invention is further described with reference to the accompanying drawings, but the contents in the accompanying drawings do not constitute any limitation to the present invention.

[0027] Figure 1 It is a schematic diagram of the arrangement of multiple IC package chips to be tested after cutting.

[0028] Figure 2 The invention discloses a method for detecting chip pins of an integrated circuit package and a schematic diagram of edge points of the pins to be detected, directions of edge points extracted by a caliper, and edge lines used in the method.

[0029] Figure 3 The invention discloses a method for detecting chip pins of an integrated circuit package and a schematic diagram for calculating a minimum circumscribed rectangle of a single integrated circuit package chip image to be tested, which is applied to the method.

[0030] Figure 4The present invention is a schematic diagram of a method for detecting pins of an integrated circuit package chip and a situation in which a defect occurs in an integrated circuit package chip to be tested, which is applied by the method.

[0031] from Figures 1 to 4 Including:

[0032] 1. The IC package chip to be tested;

[0033] 2. Heat sink area to be tested;

[0034] 3. Pin area to be tested;

[0035] 4. Defective area. DETAILED DESCRIPTION

[0036] The present invention is further described in conjunction with the following examples.

[0037] Example 1

[0038] like Figure 1-4 As shown, a method for detecting the pins of an integrated circuit package chip and its application, comprising an integrated circuit package chip to be tested, on which a heat sink to be tested and pins to be tested are arranged, and also comprising a standard integrated circuit package chip, on which a standard heat sink and standard pins are arranged, comprising the following steps:

[0039] S1. Learning the positional relationship between the standard heat sink and the pins, through OpenCV (an open source computer vision machine learning library). This technology is an existing technical means and will not be elaborated in this application. Perform template matching and positioning on the standard integrated circuit package chip, find several standard heat sink geometric center points M and the first standard pin geometric center point N1, and then learn the positional relationship between the standard heat sink geometric center point M and the first standard pin geometric center point N1.

[0040] Through template matching positioning, the positional relationship between the geometric center point M of the standard heat sink and the geometric center point N1 of the first standard pin is learned. This relationship is then used to determine whether there are defects in the chip pins of the integrated circuit package to be inspected, and each pin can be inspected and compared individually.

[0041] S2. Determine the edge points of the pin to be measured, and obtain a plurality of pin edge points P by measuring the positional relationship between the standard heat sink geometric center point M and the first standard pin geometric center point N1 with a caliper.

[0042] By performing caliper measurement on each pin to be tested toward the outside of the integrated circuit package chip, a number of pin edge points P corresponding to the number of pins to be tested can be obtained on each edge of each integrated circuit package chip.

[0043] S3, edge line fitting: using ransac fitting to fit several edge points P of the pins around the heat sink to be tested, and obtain several edge lines L of the pins to be tested.

[0044] The RANSAC algorithm is an existing technology and will not be described in detail in this article. Through the RANSAC fitting, several pin edge points P on each edge of the integrated circuit package chip can be fitted into a pin edge line L to be tested. Since there are multiple pin edge points P, the accuracy is higher than the single-side one-time fitting in the existing technology. This edge line can be compared with the edge of the standard integrated circuit package chip to detect the deviation angle, and the detection accuracy is higher.

[0045] S4, capturing images, capturing the edge lines L of the pins to be tested around each heat sink to be tested, and binarizing the integrated circuit package chip 1 to be tested to obtain a plurality of images of individual integrated circuit package chips 1 to be tested.

[0046] The figure composed of the edge lines L of the four pins to be tested is intercepted and binarized for easy detection and judgment, that is, the image of a single integrated circuit package chip 1 to be tested. In this embodiment, the white part of the image of the single integrated circuit package chip 1 to be tested is the pin area, the heat sink area and the defect area 4, and the black part is the integrated circuit package chip body.

[0047] S5, region growing, using the second standard pin geometric center point N2 as a seed point on the image of a single IC package chip 1 to be tested to perform region growing, and obtaining a pin region 3 to be tested;

[0048] The position of the standard pin center point N1 on the image of a single integrated circuit package chip 1 to be tested is within the range of the pins to be tested, so the boundary of the pin area 3 to be tested can be found through regional growth. In this embodiment, the width boundary of the regional growth is the vertical line where the midpoint of the line connecting the two first standard pin geometric center points N1 is located. Therefore, when two pins are connected, the adhered pins can be correctly distinguished, and the boundary of the adhered part can be found, which will not affect the detection of the number of pins to be tested.

[0049] S6, detecting the pin area 3 to be tested, calculating the minimum circumscribed rectangle of the pin area 3 to be tested by OpenCV, and determining whether the pin area 3 to be tested is qualified.

[0050] When the minimum circumscribed rectangle of the pin area 3 to be tested is calculated, the maximum width and maximum height of the pin area 3 to be tested are also obtained. If the deviation between the maximum width and maximum height of the pin area 3 to be tested and the maximum width and maximum height of the standard pin exceeds the allowable range, the pin to be tested can be judged as unqualified.

[0051] S7, chip body area detection, detecting whether there is a defective area 4 in the integrated circuit package chip 1 to be tested.

[0052] The defective area 4 of the IC package chip 1 to be tested may be a pin connection area A, an irregular extension area B in any direction of the pin to be tested, and an irregular defective area 4 on the IC package chip.

[0053] The specific method of step S2 is:

[0054] S21, regarding the heat sink to be tested on the integrated circuit package chip 1 to be tested as a standard heat sink, taking the geometric center point M of the standard heat sink as a reference, and finding a plurality of second standard pin geometric center points N2 on the integrated circuit package chip 1 to be tested through the positional relationship between the geometric center point M of the standard heat sink and the geometric center point N1 of the first standard pin.

[0055] Based on the positional relationship between the standard heat sink geometric center point M and the first standard pin geometric center point N1 learned in step S1 on the integrated circuit package chip 1 to be tested, the second standard pin geometric center point N2 can be inferred on the integrated circuit package chip 1 to be tested, and the position deviation of the pin to be tested will be within the range of one pin, so the second standard pin geometric center point N2 will fall within the range of the pin to be tested.

[0056] S22 , measuring each pin to be tested on the IC package chip 1 with a caliper using the second standard pin geometric center point N2 to obtain a plurality of pin edge points P.

[0057] By measuring the second standard pin geometric center point N2 with a caliper, several pin edge points P can be found.

[0058] The direction of edge point extraction by the caliper is the direction from the second standard pin geometric center point N2 to the edge of the corresponding IC package chip 1 to be tested.

[0059] The direction of the edge point extracted by the caliper satisfies that the edge point is on a side of the pin to be tested away from the heat sink to be tested.

[0060] The specific method of step S6 is:

[0061] S61 , comparing the width, height and second standard pin geometric center point N2 of the minimum circumscribed rectangle of each pin area 3 to be tested with the width, height and first standard pin geometric center point N1 of the minimum circumscribed rectangle of the standard pin area on the standard integrated circuit package chip.

[0062] Whether the pin to be tested is qualified can be determined by comparing the deviation between the maximum width and maximum height of the pin area 3 to be tested and the maximum width and maximum height of the standard pin. The position of the geometric center point N1 of the pin area 3 to be tested can be compared with the position of the geometric center point N of the standard pin area. If the deviation exceeds the allowable value, it can be determined as unqualified.

[0063] S62, detecting whether there is a hole in the pin area 3 to be tested.

[0064] When a hole appears in the pin area 3 to be tested, that is, a black area exists in the white part of the pin area 3 to be tested on the image of a single integrated circuit package chip 1 to be tested, the pin area of ​​the pin to be tested is unqualified.

[0065] The specific method of step S7 is:

[0066] S71 , removing the pin area 3 to be tested and the heat sink area 2 to be tested from the image of a single integrated circuit package chip 1 to be tested, to obtain an integrated circuit package chip body inspection image.

[0067] The integrated circuit package chip body inspection image is an image after removing the pin area 3 to be tested and the heat sink area 2 to be tested.

[0068] S72, inspecting whether there is a defective area 4 on the inspection image of the integrated circuit package chip body.

[0069] When there is a white area on the IC package chip body inspection image, it is the defect area 4, which may be caused by two pins being connected, or there may be a defect in the IC package chip body alone, or the pin to be tested may extend irregularly in any direction.

[0070] The present invention also provides applications in analog integrated circuit package chips, digital integrated circuit package chips and digital-analog hybrid integrated circuit package chips. The above chips all belong to integrated circuit package chips. The present invention can improve the detection accuracy of the pins of analog integrated circuit package chips, digital integrated circuit package chips and digital-analog hybrid integrated circuit package chips without affecting the detection of the pin quantity of the above chips.

[0071] The present invention learns the positional relationship between the heat sink and the pins of a standard integrated circuit package chip in advance, and then determines the edge point of each pin to be tested, and determines the edge of the integrated circuit package chip 1 to be tested by fitting a plurality of edge points of the pins to be tested, thereby improving the detection accuracy of the integrated circuit package chip pins. At the same time, the positional relationship between the heat sink and the pins of the package chip can be used to grow through the pin center point area, and the predefined number of pins is used as the number of seed points. When the pins are connected, they can also be disconnected from the two pins, which will not affect the pin quantity detection, and the application effect on the integrated circuit package chip is better.

[0072] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit the scope of protection of the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the essence and scope of the technical solution of the present invention.

Claims

1. A method for detecting pins of an integrated circuit package chip, comprising an integrated circuit package chip to be tested, the integrated circuit package chip to be tested being provided with a heat sink to be tested and pins to be tested, and also comprising a standard integrated circuit package chip, the standard integrated circuit package chip being provided with a standard heat sink and standard pins, characterized in that: The following steps are involved: S1, learning the position relationship between the standard heat sink and the pin, performing template matching positioning on the standard integrated circuit package chip through OpenCV, finding several standard heat sink geometric center points M and the first standard pin geometric center point N1, and then learning the position relationship between the standard heat sink geometric center point M and the first standard pin geometric center point N1; S2, determining the edge points of the pin to be measured, and obtaining a plurality of pin edge points P by measuring the positional relationship between the geometric center point M of the standard heat sink and the geometric center point N1 of the first standard pin with a caliper; The specific method of step S2 is: S21, regarding the heat sink to be tested on the IC package chip to be tested as a standard heat sink, taking the geometric center point M of the standard heat sink as a reference, and finding a plurality of second standard pin geometric center points N2 on the IC package chip to be tested based on the positional relationship between the geometric center point M of the standard heat sink and the geometric center point N1 of the first standard pin; S22, measuring each pin to be tested on the IC package chip to be tested with a caliper using the second standard pin geometric center point N2 to obtain a plurality of pin edge points P; S3, fitting edge lines, using Ransac fitting to fit a number of the pin edge points P around the heat sink to be tested, to obtain a number of pin edge lines L to be tested; S4, capturing an image, capturing an image of the edge line L of each pin to be tested around the heat sink to be tested, and binarizing the integrated circuit package chip to be tested to obtain a plurality of single integrated circuit package chip images to be tested; S5, region growing, performing region growing on the single IC package chip image to be tested with the second standard pin geometric center point N2 as a seed point to obtain a pin region to be tested; S6, testing the pin area to be tested, calculating the minimum circumscribed rectangle of the pin area to be tested through OpenCV, and determining whether the pin area to be tested is qualified; S7, chip body area detection, to detect whether there is a defective area in the integrated circuit package chip to be tested.

2. The method for detecting chip pins of an integrated circuit package according to claim 1, characterized in that: The direction of edge point extraction by the caliper is the direction from the second standard pin geometric center point N2 to the corresponding edge of the IC package chip to be tested.

3. The method for detecting chip pins of an integrated circuit package according to claim 2, characterized in that: The specific method of step S6 is: S61, comparing the width, height and the second standard pin geometric center point N2 of the minimum circumscribed rectangle of each pin area to be tested with the width, height and the first standard pin geometric center point N1 of the minimum circumscribed rectangle of the standard pin area on the standard integrated circuit package chip; S62, detecting whether there are holes in the pin area to be tested.

4. The method for detecting chip pins of an integrated circuit package according to claim 3, characterized in that: The specific method of step S7 is: S71, removing the pin area to be tested and the heat sink area to be tested from the image of a single integrated circuit package chip to be tested, to obtain an integrated circuit package chip body detection image; S72: Detect whether the defective area exists on the integrated circuit package chip body detection image.

5. Application of the integrated circuit package chip pin detection method according to any one of claims 1 to 4 in analog integrated circuit package chips, digital integrated circuit package chips and digital-analog hybrid integrated circuit package chips.

Citation Information

Patent Citations

  • High-precision PCB chip pin center positioning method

    CN110084802A

  • Chip pin missing detection method based on semi-supervised deep learning

    CN110930390A