Chip gold wire detection method
By using high-precision image acquisition and an optimized A* path search algorithm, combined with local weighted regression line fitting, the problem of low efficiency in manual inspection is solved, achieving efficient and accurate detection of gold wires on chips and improving detection consistency and efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-14
- Publication Date
- 2026-03-31
AI Technical Summary
In existing technologies, chip gold wire inspection relies on manual visual inspection, which is inefficient, has subjective inspection standards, lacks consistency, has a high misjudgment rate, cannot meet the demand for high production capacity, and has high personnel replacement costs.
High-precision industrial cameras are used for image acquisition and preprocessing. Candidate regions for gold lines are extracted by combining absolute thresholding or adaptive thresholding. An optimized A* path search algorithm is used to identify the start and end points. Trajectory smoothing is performed by fitting local weighted regression lines. The geometric features of the gold lines are analyzed to identify defects.
It achieves efficient and accurate gold wire inspection of chips, improves inspection consistency and efficiency, reduces false positive rate, supports rapid batch inspection and outputs structured data, and facilitates industrial integration applications.
Smart Images

Figure CN121120650B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of semiconductor testing technology, and in particular to a method for testing gold wires on a chip. Background Technology
[0002] Wire bonding connects chip pads to package pins using gold, aluminum, or copper wires, creating a conductive path. During this process, factors such as the wire trace path, connection integrity, and spacing consistency directly impact the chip's electrical performance and reliability. After manufacturing, the gold wires require inspection. Currently, most companies still rely on manual inspection, where operators visually inspect each wire under a microscope. However, this method is inefficient, cannot meet high-volume production demands, has subjective and inconsistent inspection standards, leads to operator fatigue, high error rates, and is highly dependent on training and experience, resulting in high personnel replacement costs. Summary of the Invention
[0003] According to an embodiment of the present invention, a method for detecting gold wires in a chip is provided, comprising the following steps:
[0004] Image acquisition and preprocessing: A high-precision industrial camera is used to acquire images of the chip packaging area. The resolution of the acquired images should meet the detection requirements of the minimum line width and spacing of the gold wires. The color image is converted to grayscale, high-frequency noise in the image is removed, and edge enhancement and local contrast enhancement are performed to highlight the gold wire structure.
[0005] Gold line candidate region extraction: Use absolute threshold or adaptive threshold to extract the highlight areas that may be gold lines, convert the thick gold line areas into a single-pixel-width skeleton, remove the interference areas that are not gold lines, and combine the skeleton with edge information to form a gold line candidate region that can be used for pathfinding.
[0006] Start and end point identification: Based on the encapsulation structure template, the welding start and end points of the gold wire are automatically identified, and all identifiable gold wire pairs constitute the input coordinates for path search;
[0007] The A* path search algorithm: Based on the traditional heuristic function, it introduces the perpendicular distance from the current point to the line connecting the start and end points, so that the path approaches a straight line connection;
[0008] Geometric analysis of the gold line trajectory: A local weighted regression line fitting algorithm is introduced to smooth the original trajectory;
[0009] Defect identification and output marking: Based on the trajectory analysis results, the final abnormal information is output.
[0010] Furthermore, the distance from a point to a line in the path search algorithm is calculated using the following formula:
[0011] ;
[0012] Pre-calculate the linear coefficients A, B, C, and... It can be quickly reused each time a node is expanded.
[0013] Furthermore, all pixels outside the candidate region of the gold line are set as obstacles. During the search process, it can be dynamically determined whether they are obstacle points or out-of-bounds nodes. A custom lightweight priority queue is used to achieve priority expansion of nodes with the lowest cost.
[0014] Furthermore, the path search process includes:
[0015] S1: Initialize the map, start and end points;
[0016] S2: Open list is added to the starting point, closed list is empty;
[0017] S3: Find the node with the minimum total cost F; visit all its adjacent nodes; if it is not visited, is not an obstacle, or is valid, calculate G and H; determine whether the path and cost need to be updated; add it to the closed list;
[0018] S4: Repeat the operation in S3 until the endpoint is found.
[0019] S5: After the search is completed, backtrack from the endpoint to the parent node to obtain the complete trajectory.
[0020] Furthermore, in the geometric analysis of the gold wire trajectory, for each trajectory point... Take n neighboring pixels to the left and right of the given point, for a total of 2n+1 points. Form a point set with these 2n+1 points, and perform a least-squares line fitting on this point set. The fitted line is represented as:
[0021] ;
[0022] After obtaining the fitted line, the current point... Projecting onto this line yields a new smooth trajectory point. ,
[0023] Then point The coordinates of the foot of the perpendicular to the line for:
[0024] ;
[0025] ;
[0026] The final smooth trajectory is composed of all composition.
[0027] Furthermore, the window size n can be 3-7;
[0028] During boundary processing, when the neighborhood is insufficient near the start and end points of the path, symmetrical expansion or a smaller window is used.
[0029] Perform one or more rounds of smooth iteration.
[0030] Furthermore, the geometric features of the path trajectory are extracted and analyzed, including: curvature of the bend, connectivity analysis, spacing statistics, detection of repeated lines, detection of stray lines and redundant paths, and whether it deviates from the target range of the solder joint.
[0031] Furthermore, based on the trajectory analysis results, it is necessary to determine issues such as broken paths, disconnected paths, illegal trajectories, and abnormal distances.
[0032] Furthermore, the anomaly information is output in the form of image tags;
[0033] The anomaly information is output to the structured data in the form of coordinates or defect type;
[0034] The abnormal information is used to form a defect map or statistical report, which is used for automatic screening, alarm and rework by the system.
[0035] According to an embodiment of the present invention, a method for detecting gold wires in a chip fully considers the geometric continuity and start-end point connection constraints of the gold wires. The method uses image preprocessing to extract candidate regions for the gold wires, combines a specially optimized A* path algorithm to accurately reconstruct the actual trajectory of the gold wires, and then achieves anomaly identification through trajectory analysis.
[0036] It should be understood that both the foregoing general description and the following detailed description are exemplary and intended to provide further illustration of the claimed technology. Attached Figure Description
[0037] Figure 1 This is a schematic diagram illustrating the detection process of a chip gold wire detection method according to an embodiment of the present invention. Figure 1 ;
[0038] Figure 2 This is a schematic diagram illustrating the detection process of a chip gold wire detection method according to an embodiment of the present invention. Figure 2 ;
[0039] Figure 3 This is a schematic diagram illustrating the detection process of a chip gold wire detection method according to an embodiment of the present invention. Figure 3 . Detailed Implementation
[0040] The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings, further illustrating the present invention.
[0041] like Figures 1-3 As shown, an embodiment of the present invention provides a method for detecting gold wires in a chip, comprising the following steps:
[0042] Image acquisition and preprocessing: A high-precision industrial camera is used to acquire images of the chip packaging area. The resolution of the acquired images should meet the detection requirements of the minimum line width and spacing of the gold wires. The color image is converted to grayscale, high-frequency noise in the image is removed, and enhancement operations such as edge enhancement and local contrast enhancement are performed to highlight the gold wire structure.
[0043] Gold line candidate region extraction: Use absolute threshold or adaptive threshold to extract the highlight areas that may be gold lines, convert the thick gold line areas into a single-pixel-width skeleton, remove the interference areas that are not gold lines, and combine the skeleton with edge information to form a gold line candidate region that can be used for pathfinding.
[0044] Start and end point identification: Based on the package structure template, the starting and ending points of gold wire welding are automatically identified. Pad positioning, template matching, deep learning and other methods can be used; all identifiable gold wire pairs constitute the input coordinates for path search.
[0045] The A* path search algorithm: Based on the traditional heuristic function, it introduces the vertical distance from the current point to the starting and ending points, so that the path is close to a straight line and avoids unnatural turns.
[0046] In pathfinding algorithms, the distance from a point to a line is calculated using the following formula:
[0047] ;
[0048] Pre-calculate the linear coefficients A, B, C, and... It can be quickly reused each time a node is expanded, thus improving pathfinding efficiency.
[0049] Pixels outside the candidate area of the gold line are set as obstacles. During the search process, it can be dynamically determined whether they are obstacle points or out-of-bounds nodes. A custom lightweight priority queue is used to achieve priority expansion of nodes with the lowest cost.
[0050] The path search process includes:
[0051] S1: Initialize the map, start and end points;
[0052] S2: Open list is added to the starting point, closed list is empty;
[0053] S3: Find the node with the minimum total cost F; visit all its adjacent nodes; if it is not visited, is not an obstacle, or is valid, calculate G and H; determine whether the path and cost need to be updated; add it to the closed list;
[0054] S4: Repeat the operation in S3 until the endpoint is found.
[0055] S5: After the search is completed, backtrack from the endpoint to the parent node to obtain the complete trajectory.
[0056] Geometric analysis of the gold line trajectory: A local weighted regression line fitting algorithm is introduced to smooth the original trajectory;
[0057] In the geometric analysis of the gold line trajectory, for each trajectory point Take n neighboring pixels to the left and right of the given point, for a total of 2n+1 points. Form a point set with these 2n+1 points, and perform a least-squares line fitting on this point set. The fitted line can be represented as:
[0058] ;
[0059] After obtaining the fitted line, the current point... Projecting onto this line yields a new smooth trajectory point. ,
[0060] Then point The coordinates of the foot of the perpendicular to the line for:
[0061] ;
[0062] ;
[0063] The final smooth trajectory is composed of all The composition provides better continuity and geometric interpretability.
[0064] The function of a smooth trajectory is as follows:
[0065] Improve the accuracy of gold line reconstruction: remove discrete jagged edges during the search process to reflect the true trace trajectory;
[0066] Facilitates curvature analysis: The first and second derivatives are calculated using smooth curves, which makes it easier to determine whether the gold wire is abnormally curved.
[0067] For easier comparison with standard templates: the smoothed trajectory is closer to the design path, and error quantification is more accurate;
[0068] Suppressing image noise: The impact of single pixel errors on path points is reduced, resulting in greater overall robustness.
[0069] The adjustable parameters are as follows:
[0070] Window size n: The larger the window size, the smoother the fit, but it may lead to over-averaging. n should be between 3 and 7.
[0071] Boundary handling: When the neighborhood is insufficient near the start and end points of the path, symmetrical expansion or a smaller window can be used;
[0072] Multiple smoothing iterations: One or more rounds of smoothing can be performed to improve trajectory quality.
[0073] Extract and analyze the geometric features of the path trajectory, including: curvature of the bend, connectivity analysis, spacing statistics, detection of duplicate lines, detection of stray lines and redundant paths, and whether it deviates from the target range of the solder joint.
[0074] Defect identification and output marking: Based on the trajectory analysis results, the final abnormal information is output.
[0075] Based on the trajectory analysis results, it is necessary to determine issues such as broken paths, disconnected paths, illegal trajectories, and abnormal distances.
[0076] The final exception information will be output in the following format:
[0077] Image tagging;
[0078] Output coordinates or defect types to structured data;
[0079] Defect maps or statistical reports are used for automatic system screening, alarms, and rework.
[0080] Unlike traditional manual detection or simple image comparison algorithms, this application fully considers the geometric continuity of the gold line and the connection constraints of the start and end points. It uses image preprocessing to extract candidate regions of the gold line, combines a specially optimized A* path algorithm to accurately reconstruct the actual trajectory of the gold line, and then achieves anomaly identification through trajectory analysis.
[0081] By eliminating human error through algorithmic modeling, it improves detection accuracy and consistency, supports rapid, batch, and full-image detection, enhances detection efficiency and coverage, adapts to different packaging structures, different gold wire materials and complex backgrounds, and has strong robustness and scalability. The output results can be used for rework, statistics, quality traceability and intelligent analysis systems, facilitating industrial integration applications.
[0082] Above, refer to Figures 1-3 This paper describes a method for detecting gold wires in a chip according to an embodiment of the present invention. Unlike traditional manual detection or simple image comparison algorithms, this application fully considers the geometric continuity and start-end point connection constraints of the gold wires. It uses image preprocessing to extract candidate regions for the gold wires, combines a specially optimized A* path algorithm to accurately reconstruct the actual trajectory of the gold wires, and then achieves anomaly identification through trajectory analysis.
[0083] It should be noted that, in this specification, the terms "comprising," "including," or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0084] Although the present invention has been described in detail through the preferred embodiments above, it should be understood that the above description should not be considered as a limitation of the present invention. Various modifications and substitutions to the present invention will be apparent to those skilled in the art after reading the above description. Therefore, the scope of protection of the present invention should be defined by the appended claims.
Claims
1. A method of detecting a gold wire of a chip, characterized by, The method comprises the following steps: Image acquisition and preprocessing: using high-precision industrial camera to collect images of the chip packaging area, the image resolution should meet the detection requirements of the minimum line width and spacing of the gold wire, convert the color image to grayscale, remove high-frequency noise of the image, perform edge enhancement and local contrast enhancement to highlight the gold wire structure; Gold wire candidate region extraction: using absolute threshold or adaptive threshold to extract the highlight region that may be a gold wire, convert the coarse gold wire region to a single-pixel width skeleton, remove the interference region that is not a gold wire, combine the skeleton and edge information to form a gold wire candidate region that can be used for path search; Start point and end point identification: based on the packaging structure template, automatically identify the welding start point and end point of the gold wire, and all identifiable gold wire pairs constitute the input coordinates of path search; A* path search algorithm: based on the traditional heuristic function, introduce the vertical distance from the current point to the connecting line of the start and end points to make the path tend to be a straight line connection; Gold wire trajectory geometric analysis: introduce a local weighted regression line fitting algorithm to smooth the original trajectory; Defect judgment and output marking: output the final abnormal information according to the trajectory analysis result.
2. The method of claim 1, wherein the step of detecting the gold wire is performed by using a microscope. The point-to-line distance in the path search algorithm is calculated by the following formula: ; The straight line coefficients A, B, C are pre-calculated and Fast reuse at each node expansion.
3. The method of claim 1, wherein the step of detecting the gold wire is performed by using a laser beam. The pixels outside the gold wire candidate region are all set as obstacles, and whether they are obstacle points or out-of-bound nodes can be dynamically judged during the search process, a user-defined lightweight priority queue is used to realize the priority expansion of the minimum cost node.
4. The method of claim 1, wherein the step of detecting the gold wire is performed by using a microscope. The path search process comprises: S1: initialize the map, start point and end point; S2: add the start point to the open list, and the closed list is empty; S3: take out the node with the minimum total cost F, visit all adjacent nodes, if a node is not visited, is not an obstacle, and is legal, calculate G and H, judge whether the path and cost need to be updated, and add the node to the closed list; S4: repeat S3 until the end point is found: S5: after the search is completed, backtrack the parent nodes from the end point to obtain the complete trajectory.
5. The method for detecting gold wires in a chip as described in claim 1, characterized in that, In the gold line track geometry analysis, for each track point Taking n adjacent pixel points on the left and right of the track point, a total of 2n+1 points, and forming a point set with the 2n+1 points, a least square straight line fitting is performed on the point set, and the fitted straight line is represented as: ; After the fitting straight line is derived, the current point is projected onto the straight line to obtain a new smooth trajectory point , Then the point The foot of the perpendicular on the straight line has coordinates is ; ; The final smoothed trajectory is composed of all segments.
6. The method of claim 5, wherein the step of detecting the gold wire is performed by using a laser beam. The window size n is 3-7; During the boundary processing, when the neighborhood near the start point and end point of the path is insufficient, symmetric expansion or a smaller window is used; Perform one or more rounds of smoothing iterations.
7. The method of claim 6, wherein the step of detecting the gold wire comprises the steps of: applying a voltage to the gold wire; and detecting a current flowing through the gold wire. Extract and analyze the geometric features of the path trajectory, including: bending degree curvature, connectivity analysis, spacing statistics, repeated line detection, stray line and redundant path detection, and whether it deviates from the target range of the welding point.
8. The method for detecting gold wires in a chip as described in claim 1, characterized in that, According to the trajectory analysis result, determine whether the path is broken, not connected, illegal trajectory, and distance abnormality.
9. The method for detecting gold wires in a chip as described in claim 1, characterized in that, The abnormal information is output in the form of image marking; The abnormal information is output in the form of coordinates or defect type to the structured data; The abnormal information forms a defect atlas or statistical report, which is used for system automatic screening, alarm and repair.
Citation Information
Patent Citations
Chip gold thread detection method and device, electronic equipment and medium
CN112651946A
Optical device chip packaging gold wire defect detection method
CN114757903A