A corner point searching method for micro-led substrate alignment

By calculating the chip coordinate set and generating a two-dimensional table during the Micro LED substrate alignment process, filtering the target chip area, and adjusting the chip angle deviation, the problem of the template matching algorithm being affected by flux and dirt was solved, and precise alignment of the upper and lower substrates was achieved.

CN118071779BActive Publication Date: 2026-11-24JIANGMEN POLYTECHNIC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410189624.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-20
Publication Date
2026-11-24
Estimated Expiration
2044-02-20

AI Technical Summary

Technical Problem

In the Micro LED COG packaging process, the template matching algorithm of the upper substrate is easily affected by flux and dirt, which can lead to misidentification and omission of the template matching algorithm, resulting in the failure of the upper and lower substrates to align.

Method used

By acquiring the current field-of-view image and chip template, calculating the chip coordinate set, generating a union square region, filtering the target chip region, establishing a two-dimensional table, calculating the chip angle deviation value, adjusting the chip coordinates, and calculating the target corner coordinates, the impact of abnormal situations is reduced, and the accuracy of angle and target corner coordinates is improved.

Benefits of technology

It effectively reduces the impact of abnormalities such as dirt, flux, and missing chips during the alignment of the upper and lower substrates, improves the accuracy of the upper substrate angle and target corner coordinates, and achieves precise alignment of the upper and lower substrates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118071779B_ABST
    Figure CN118071779B_ABST
Patent Text Reader

Abstract

This application discloses a corner search method for Micro-LED substrate alignment. First, a chip template is matched with chips in the current field-of-view image to obtain a first set of chip coordinates. Then, a chip queue is generated based on the first chip coordinate set, and a first two-dimensional table is established based on the number of chips in the current field of view. Next, the target angle is calculated based on the first chip in the chip queue, and the coordinates of the first chip are adjusted according to the target angle to obtain new chip coordinates. Then, a fourth two-dimensional table is calculated based on the new chip coordinates. The fourth two-dimensional table is then traversed to obtain row and column numbers, and the target corner coordinates are calculated based on the row and column numbers and the target angle. This application's embodiment improves the accuracy of calculating the target angle and target corner coordinates by establishing a two-dimensional table to process the chip set, thereby achieving precise alignment of the upper and lower substrates.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to, but is not limited to, the field of semiconductor technology, and in particular to a corner search method for Micro-LED substrate alignment. Background Technology

[0002] In the Micro LED COG packaging process, laser mass bonding utilizes a high-precision alignment platform to precisely align the chip on the upper substrate with the pads on the lower substrate. A high-precision leveling system and pressure sensing system then press the upper and lower substrates together. Finally, a highly uniform laser spot, combined with a precisely controllable temperature control system (power adjusted in real-time with temperature), is used to laser bond the transferred Micro LED. During the precise alignment of the upper and lower substrates, the lower substrate typically has four specific marks, but the upper substrate does not; therefore, the chips at the four corners are used as marks.

[0003] In actual production, the upper substrate is coated with flux and sometimes contains dirt. This flux and dirt may resemble the shape and color of the LED chip, causing the template matching algorithm to misidentify it. Furthermore, if the dirt and flux are on the edge of the LED chip, or if the LED chip is missing or damaged, the template matching algorithm may miss it. Misidentification and missed identification by the template matching algorithm directly lead to errors in mark capture on the upper substrate, resulting in misalignment of the upper and lower substrates and causing significant losses. Summary of the Invention

[0004] The following is an overview of the subject matter described in detail herein. This overview is not intended to limit the scope of the claims.

[0005] This application provides a corner search method for Micro-LED substrate alignment, which can effectively improve the accuracy of calculating the angle of the upper substrate and the coordinates of the target corner, thereby achieving precise alignment of the upper and lower substrates.

[0006] This application provides a corner search method for Micro-LED substrate alignment, including:

[0007] Obtain the current field-of-view image and the chip template, and match the chip template with the chip in the current field-of-view image to obtain a first set of chip coordinates;

[0008] Based on the chip size and spacing in the first chip coordinate set, a square with the spacing as the side length is generated with the chip as the center. The square is then divided by taking the union of the squares to obtain the chip distribution area.

[0009] The target chip region is obtained by selecting the area with the largest area from the chip distribution area;

[0010] Calculate the area of ​​the minimum bounding rectangle of the target chip region. When the area is less than or equal to a preset value of the current field of view image area, calculate the distance of the chip coordinates in the target chip region from the zero point of the coordinate system, and sort the chips in descending order according to the distance to obtain a chip queue.

[0011] Calculate the number of chips in the current field of view, and establish a first two-dimensional table based on the number of chips;

[0012] Take the first chip coordinate from the chip queue and insert the first chip coordinate into the center position coordinate of the first two-dimensional table to obtain the second two-dimensional table;

[0013] The set of chip coordinates for the tolerable region is obtained by calculating based on the directional coordinates of the first chip.

[0014] Based on the chip coordinates of the tolerable chip coordinate set and the first chip coordinate, a set of chip angle deviation values ​​is calculated;

[0015] The set of chip angle deviation values ​​is traversed, filtered, and calculated to obtain a new set of tolerable chip coordinates and the target angle; the chip coordinates in the new set of tolerable chip coordinates are then inserted into the second two-dimensional table to obtain a third two-dimensional table.

[0016] The second chip coordinate set is calculated based on the first chip coordinate set;

[0017] Based on the target angle and the third two-dimensional table, the chip coordinates of the second chip coordinate set are processed to obtain the fourth chip coordinate set;

[0018] The coordinates of the first chip are adjusted according to the target angle to obtain new chip coordinates;

[0019] The predicted chip position is calculated based on the chip coordinates in the fourth chip coordinate set and the new chip coordinates, and the tolerable chip location area is calculated based on the predicted chip position.

[0020] Based on the tolerable area of ​​the chip, the chip coordinates of the fourth chip coordinate set are inserted into the third two-dimensional table to obtain the fourth two-dimensional table.

[0021] The row number and column number are obtained by traversing the fourth two-dimensional table, and the coordinates of the target corner point are calculated based on the row number, the column number and the target angle.

[0022] In one embodiment of this application, the step of calculating the number of chips in the current field of view and establishing a first two-dimensional table based on the number of chips includes: calculating the maximum chip capacity in the horizontal direction in the current field of view based on the width of the front field of view image, the horizontal side length of the chips, and the horizontal spacing between the chips, to obtain the number of chips in the horizontal direction; calculating the maximum chip capacity in the vertical direction in the field of view based on the length of the front field of view image, the vertical side length of the chips, and the vertical spacing between the chips, to obtain the number of chips in the vertical direction; selecting the maximum value from the number of chips in the horizontal direction and the number of chips in the vertical direction to obtain the number of chips in the current field of view; and establishing a first two-dimensional table based on the number of chips.

[0023] In one embodiment of this application, the directional coordinates of the first chip include the coordinates of the next chip in the horizontal direction, the coordinates of the next chip in the vertical direction, and the coordinates of the next chip in the 45-degree oblique direction. The step of calculating the tolerable region chip coordinate set based on the directional coordinates of the first chip includes: calculating the tolerable existence region of the next chip coordinates in the horizontal direction, including: calculating a first preset value and a second preset value based on the horizontal spacing between the chips; generating a first preset value region with the first chip coordinates as the center and the first preset value as the radius; generating a second preset value region with the first chip coordinates as the center and the second preset value as the radius; subtracting the first preset value region from the second preset value region to obtain the tolerable existence region of the first coordinate; calculating the tolerable existence region of the next chip coordinates in the vertical direction includes: calculating a third preset value and a fourth preset value based on the vertical spacing between the chips; generating a first preset value region with the first chip coordinates as the center and the second preset value as the radius; subtracting the first preset value region from the second preset value region to obtain the tolerable existence region of the first coordinate; and calculating the tolerable existence region of the next chip coordinates in the vertical direction, including: calculating a third preset value and a fourth preset value based on the vertical spacing between the chips; and subtracting the first preset value region from the second preset value region to obtain the tolerable existence region of the first coordinate. The following steps are performed: First, a third preset value region is generated using the first chip coordinate as the center and a fourth preset value as the radius. Second, the difference between the third and fourth preset value regions is used to obtain the tolerable region for the second coordinate. Third, the tolerable region for the next chip coordinate at a 45-degree angle is calculated, including: calculating a fifth and a sixth preset value based on the vertical and horizontal chip spacing; generating a fifth preset value region using the first chip coordinate as the center and a fifth preset value as the radius; generating a sixth preset value region using the first chip coordinate as the center and a sixth preset value as the radius; subtracting the fifth and sixth preset value regions to obtain the tolerable region for the third coordinate; finding the union of the tolerable regions for the first, second, and third coordinates to obtain a set of tolerable regions; and filtering and traversing the chips within the current field of view based on the set of tolerable regions to obtain a set of tolerable region chip coordinates.

[0024] In one embodiment of this application, the step of filtering and traversing the chips within the current field of view based on the set of tolerable existence regions to obtain a set of tolerable region chip coordinates includes: acquiring the chips within the current field of view; comparing and filtering the chip coordinates within the current field of view with the chip coordinates in the second two-dimensional table to obtain a set of remaining chip coordinates; and traversing and filtering the chip coordinates of the remaining chip coordinate set based on the set of tolerable existence regions to obtain a set of tolerable region chip coordinates.

[0025] In one embodiment of this application, the step of calculating the chip angle deviation value set based on the tolerable chip coordinate set and the first chip includes: connecting the chip coordinates of the tolerable chip coordinate set with the coordinates of the first chip to form a straight line, and calculating the angle of the straight line; subtracting a preset angle from the angle of the straight line to obtain the chip coordinate angle deviation value; and obtaining the chip angle deviation value set based on the chip coordinate angle deviation value.

[0026] In one embodiment of this application, the step of traversing, filtering, and calculating the set of chip angle deviation values ​​to obtain a new set of tolerable chip coordinates and a target angle includes: traversing and filtering the set of chip angle deviation values ​​according to a preset angle value to obtain a new set of chip angle deviation values ​​and a new set of tolerable chip coordinates; when there are chips in two or three sets of the tolerable chip coordinates, calculating the average value of the new set of chip angle deviation values ​​to obtain the target angle.

[0027] In one embodiment of this application, the step of calculating the second chip coordinate set based on the first chip coordinate set includes: generating a circle with the chip coordinates of the first chip coordinate set as the center and the short side length of the chip as the diameter; obtaining the average gray level within the circle; and obtaining the second chip coordinate set when the average gray level is within a preset threshold range.

[0028] In one embodiment of this application, the step of processing the chip coordinates of the second chip coordinate set according to the target angle and the third two-dimensional table to obtain a fourth chip coordinate set includes: adjusting the chip coordinates of the second chip coordinate set according to the target angle to obtain a third chip coordinate set; and filtering the third chip coordinate set based on the third two-dimensional table to obtain a fourth chip coordinate set.

[0029] In one embodiment of this application, the step of calculating the predicted chip position based on the chip coordinates of the fourth chip coordinate set and the new chip coordinates, and calculating the tolerable chip presence area based on the predicted chip position, includes: calculating the vertical distance and horizontal distance of the chip coordinates of the fourth chip coordinate set relative to the new chip coordinates; obtaining the horizontal spacing and vertical spacing of the chips in the fourth chip coordinate set; calculating the vertical predicted coordinates based on the vertical distance and the vertical spacing; calculating the horizontal predicted coordinates based on the horizontal distance and the horizontal spacing; obtaining the predicted chip position based on the vertical predicted coordinates and the horizontal predicted coordinates; calculating a seventh preset value and an eighth preset value based on the vertical spacing, the horizontal spacing, and the predicted chip position; generating a seventh preset value area with the first chip coordinate as the center and the seventh preset value as the radius; generating an eighth preset value area with the first chip coordinate as the center and the eighth preset value as the radius; and subtracting the seventh preset value area from the eighth preset value area to obtain the tolerable chip presence area.

[0030] In one embodiment of this application, the step of traversing the fourth two-dimensional table to obtain row and column numbers, and calculating the target corner coordinates based on the row numbers, column numbers, and target angle, includes: performing row traversal of the fourth two-dimensional table, obtaining the corresponding row number when a row in the fourth two-dimensional table includes two or more chips; performing column traversal of the fourth two-dimensional table, obtaining the corresponding column number when a column in the fourth two-dimensional table includes two or more chips; calculating the initial coordinates based on the row and column numbers; and calculating the target corner coordinates based on the initial coordinates and the target angle.

[0031] The corner search method for Micro-LED substrate alignment provided in this application first acquires the current field-of-view image and a chip template, and matches the chip template with the chips in the current field-of-view image to obtain a first chip coordinate set. Then, based on the chip size and spacing in the first chip coordinate set, a square with the spacing as the side length is generated with the chip as the center. The union of the squares is calculated and the area is divided to obtain the chip distribution area. Next, the area with the largest area is selected from the chip distribution area to obtain the target chip area. Then, the area of ​​the minimum bounding rectangle of the target chip area is calculated. When the area is less than or equal to a preset value of the area of ​​the current field-of-view image, the distance of the chip coordinates in the target chip area from the zero point of the coordinate system is calculated, and the chips are sorted in descending order according to the distance to obtain a chip queue. The number of chips in the current field of view is calculated, and a first two-dimensional table is established based on the number of chips. The first chip coordinate is taken from the chip queue and inserted into the center position coordinate of the first two-dimensional table to obtain a second two-dimensional table. The orientation coordinates of the first chip are calculated to obtain the allowable... The process involves: 1. Obtaining a set of tolerable chip coordinates; 2. Calculating a set of chip angle deviation values ​​based on the chip coordinates in the tolerable chip coordinate set and the first chip coordinate; 3. Iterating through and filtering the chip angle deviation value set to obtain a new tolerable chip coordinate set and a target angle; 4. Inserting the chip coordinates from the new tolerable chip coordinate set into a second two-dimensional table to obtain a third two-dimensional table; 5. Calculating a second chip coordinate set based on the first chip coordinate set; 6. Processing the chip coordinates in the second chip coordinate set based on the target angle and the third two-dimensional table to obtain a fourth chip coordinate set; 7. Adjusting the first chip coordinates based on the target angle to obtain new chip coordinates; 8. Calculating the predicted chip position based on the chip coordinates in the fourth chip coordinate set and the new chip coordinates, and calculating the tolerable chip existence area based on the predicted chip position; 9. Inserting the chip coordinates from the fourth chip coordinate set into the third two-dimensional table based on the tolerable chip existence area to obtain a fourth two-dimensional table; 10. Iterating through the fourth two-dimensional table to obtain row and column numbers, and calculating the target corner coordinates based on the row and column numbers and the target angle. This application embodiment processes the chip set by establishing a two-dimensional table, which can reduce the impact of most abnormal situations such as dirt, flux, incorrectly transferred chips, or missing chips during the alignment of the upper and lower substrates. This can effectively reduce the errors of misidentification and omission in chip template matching, thereby improving the accuracy of calculating the angle of the upper substrate and the coordinates of the target corner point, and achieving precise alignment of the upper and lower substrates. Attached Figure Description

[0032] Figure 1 This is a flowchart illustrating the corner search method provided in an embodiment of this application;

[0033] Figure 2 This is a schematic diagram of the process for creating a first two-dimensional table provided in an embodiment of this application;

[0034] Figure 3 This is a schematic diagram of the process for obtaining the tolerable region of the first coordinates provided in an embodiment of this application;

[0035] Figure 4 This is a flowchart illustrating the calculation of the set of chip coordinates for the tolerable region provided in an embodiment of this application;

[0036] Figure 5 This is a schematic diagram of the process for obtaining the second chip coordinate set provided in an embodiment of this application;

[0037] Figure 6 This is a schematic diagram of a specific method flow for step S113 provided in an embodiment of this application;

[0038] Figure 7 This is a schematic diagram of a specific method flow for step S115 provided in an embodiment of this application. Detailed Implementation

[0039] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0040] It should be noted that although the flowchart shows a logical order, in some cases, the steps shown or described may be performed in a different order than that shown in the flowchart. The terms "first," "second," etc., used in the specification, claims, and the aforementioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the structures, proportions, sizes, etc., depicted in the accompanying drawings are only for illustrative purposes to aid those skilled in the art and are not intended to limit the scope of the invention. Therefore, they have no substantial technical significance. Any modifications to the structure, changes in proportions, or adjustments to size, without affecting the effectiveness and purpose of the invention, should still fall within the scope of the technical content disclosed in the invention. Furthermore, the terms such as "upper," "lower," "left," "right," "middle," and "one" used in this specification are only for clarity of description and are not intended to limit the scope of the invention. Changes or adjustments to their relative relationships, without substantially altering the technical content, should also be considered within the scope of the invention.

[0041] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0042] In actual production, the upper substrate is often coated with flux and sometimes contains contaminants. These flux and contaminants may resemble the shape and color of the LED chip, leading to misidentification by the template matching algorithm. Furthermore, if the contaminants and flux are on the edge of the LED chip, or if the LED chip is missing or damaged, the template matching algorithm may miss identification. Misidentification and missed identification by the template matching algorithm directly result in incorrect mark capture of the upper substrate, leading to misalignment of the upper and lower substrates and causing significant losses.

[0043] This application provides a corner search method for Micro-LED substrate alignment. The method involves acquiring a current field-of-view image and a chip template, matching the chip template with the chips in the current field-of-view image to obtain a first set of chip coordinates. Then, based on the chip size and spacing in the first set of chip coordinates, a square with the spacing as its side length is generated, centered on the chip. The squares are then joined and divided to obtain a chip distribution area. Next, the largest area is selected from the chip distribution area to obtain the target chip area. The area of ​​the minimum bounding rectangle of the target chip area is then calculated. When the area is less than or equal to a preset value for the area of ​​the current field-of-view image, the distance from the chip coordinates in the target chip area to the zero point of the coordinate system is calculated, and the chips are sorted in descending order based on the distance to obtain a chip queue. The number of chips in the current field of view is then calculated, and a first two-dimensional table is established based on the number of chips. The first chip coordinate is retrieved from the chip queue and inserted into the center position coordinate of the first two-dimensional table to obtain a second two-dimensional table. Finally, the orientation coordinates of the first chip are calculated to obtain... The process involves: obtaining a set of chip coordinates within the tolerable region; calculating a set of chip angle deviation values ​​based on the chip coordinates in the tolerable chip coordinate set and the first chip coordinate; iterating through and filtering the set of chip angle deviation values ​​to obtain a new set of tolerable chip coordinates and the target angle; inserting the chip coordinates from the new tolerable chip coordinate set into a second two-dimensional table to obtain a third two-dimensional table; calculating a second set of chip coordinates based on the first set of chip coordinates; processing the chip coordinates in the second set of chip coordinates based on the target angle and the third two-dimensional table to obtain a fourth set of chip coordinates; adjusting the first chip coordinates based on the target angle to obtain new chip coordinates; calculating the predicted chip position based on the chip coordinates in the fourth set of chip coordinates and the new chip coordinates, and calculating the tolerable chip existence area based on the predicted chip position; inserting the chip coordinates from the fourth set of chip coordinates into the third two-dimensional table based on the tolerable chip existence area to obtain a fourth two-dimensional table; iterating through the fourth two-dimensional table to obtain row and column numbers, and calculating the target corner coordinates based on the row and column numbers and the target angle. This application embodiment processes the chip set by establishing a two-dimensional table, which can reduce the impact of most abnormal situations such as dirt, flux, incorrectly transferred chips, or missing chips during the alignment of the upper and lower substrates. This can effectively improve the accuracy of calculating the angle of the upper substrate and the coordinates of the target corner point, thereby achieving precise alignment of the upper and lower substrates.

[0044] The embodiments of this application will be further described below with reference to the accompanying drawings.

[0045] like Figure 1 As shown, Figure 1 This is a flowchart of a corner search method for Micro-LED substrate alignment provided in an embodiment of this application. The corner search method includes, but is not limited to, steps S101 to S115.

[0046] Step S101: Obtain the current field-of-view image and chip template, match the chip template with the chip in the current field-of-view image to obtain the first chip coordinate set.

[0047] It is understandable that the current field of view image can be an image of the upper substrate under the random field of view of the camera. Since the upper substrate contains a large number of chips, the upper substrate under the random field of view of the camera can include multiple chips, so that the chip template can be matched with multiple chips under the current field of view.

[0048] In a feasible embodiment, a template matching algorithm can be used to capture all the chips on the substrate. Specifically, after obtaining the chip template, a template matching algorithm based on grayscale information can be called to perform a matching operation on the chip template in the current field of view image to obtain a first set of chip coordinates.

[0049] Step S102: Based on the chip size and spacing in the first chip coordinate set, generate a square with the spacing as the side length, centered on the chip. Divide the square by finding its union and then divide it to obtain the chip distribution area.

[0050] Step S103: Select the largest area from the chip distribution area to obtain the target chip area.

[0051] Through the processing in steps S102 to S103, based on the chip size and chip spacing in the first chip coordinate set, a square with the chip spacing as the side length is generated with each chip as the center. Then, the union of all the obtained squares is calculated, and then a connected component analysis algorithm is used to divide one or more chip distribution areas. Then, the target chip area with the largest area is selected, which can eliminate some outlier chips or dirt, thereby effectively improving the accuracy of calculating the angle of the substrate and the coordinates of the target corner point.

[0052] Step S104: Calculate the area of ​​the minimum bounding rectangle of the target chip region. If the area is less than or equal to the preset value of the current field of view image area, calculate the distance of the chip coordinates in the target chip region from the zero point of the coordinate system, and sort the chips in descending order according to the distance to obtain the chip queue.

[0053] In one feasible embodiment, the preset value can be appropriately selected according to the actual application situation, without being specifically limited here. For example, the preset value can be a fixed constant, or it can be 2 / 3 of the current field of view image area.

[0054] In a feasible embodiment, when the area of ​​the smallest bounding rectangle of the target chip region is less than or equal to 2 / 3 of the current field of view image area, a new set of chip coordinates in the target chip region can be obtained. Then, the Euclidean distance of all chip coordinates in the new set of chip coordinates from the zero point of the coordinate system is calculated, and the chips in the new set of chip coordinates are sorted in descending order according to the Euclidean distance corresponding to each chip coordinate to obtain a chip queue.

[0055] In one feasible embodiment, since the total area of ​​the upper substrate chip is much larger than the camera's field of view, the random field of view may not be at the top corner of the chip area. When the area of ​​the minimum bounding rectangle is greater than a preset value of the current field of view image area, it is necessary to move the camera to find the top corner of the chip area.

[0056] In a feasible embodiment, when the area of ​​the minimum bounding rectangle of the target chip region is greater than 2 / 3 of the area of ​​the current field of view image, in the process of calculating the vertices position of the chip region, the Euclidean distance from each chip coordinate in the target chip region to the zero point of the coordinate system can be calculated first. Then, the minimum distance is selected from all the calculated distances. The chip corresponding to the minimum distance can be used as the vertices position. Then, the current field of view of the camera is moved to the vertices position, and the current field of view image and the chip template are reacquired. The chip in the current field of view image is matched on the chip template.

[0057] In one feasible embodiment, since all chips on the upper substrate are distributed in a two-dimensional grid, the coordinates of the four corner chips on the upper substrate can be obtained by determining their coordinate positions. After obtaining the coordinates of the four corner chips, the angle of the upper substrate and the coordinates of the first chip on the upper substrate can be calculated based on these coordinates. Then, the upper substrate is straightened to the same angle as the lower substrate. Finally, the first chip on the upper substrate is aligned with the first pad on the lower substrate to achieve precise alignment of the upper and lower substrates.

[0058] Step S105: Calculate the number of chips in the current field of view, and establish a first two-dimensional table based on the number of chips.

[0059] In one feasible embodiment, such as Figure 2 As shown, in the process of establishing the first two-dimensional table based on the maximum number of chips in the current field of view, the operation process includes, but is not limited to, steps 210 to 240.

[0060] Step 210: Based on the width of the current field of view image, the horizontal side length of the chip, and the horizontal spacing between the chips, calculate the maximum chip capacity in the horizontal direction within the current field of view to obtain the number of chips in the horizontal direction;

[0061] Step 220: Based on the length of the current field of view image, the vertical side length of the chip, and the vertical spacing between the chips, calculate the maximum chip capacity in the vertical direction within the field of view to obtain the number of chips in the vertical direction;

[0062] Step 230: Select the maximum value between the number of chips in the horizontal direction and the number of chips in the vertical direction to obtain the number of chips in the current field of view;

[0063] Step 240: Create a first two-dimensional table based on the number of chips.

[0064] In a feasible embodiment, during the execution of step 210, the width of the current field of view image can be subtracted from the horizontal side length of the chip to obtain the horizontal length. Then, the horizontal length can be divided by the horizontal spacing of the chips and the result can be incremented by 1 to obtain the maximum number of chips in the horizontal direction.

[0065] In a feasible embodiment, during the execution of step 220, the length of the current field of view image can be subtracted from the vertical side length of the chip to obtain the vertical length. Then, the vertical length can be divided by the vertical spacing of the chips and the result can be incremented by 1 to obtain the maximum number of chips in the vertical direction.

[0066] In one feasible embodiment, the maximum number of chips in the horizontal direction and the maximum number of chips in the vertical direction can be compared, and the maximum value can be selected as the maximum number of chips in the current field of view.

[0067] In one feasible embodiment, after obtaining the maximum number of chips within the current field of view, a two-dimensional table for storing the chips can be established based on this maximum chip count. For example, the maximum chip count can be multiplied by 2 to obtain the side length of the two-dimensional table, thereby establishing a first two-dimensional table for storing the chips. It is understood that establishing this first two-dimensional table can exclude contaminated chips outside the designated chip location and chips transferred due to process errors, thereby improving the accuracy of calculating the substrate angle and target corner coordinates.

[0068] Step S106: Take the first chip coordinate from the chip queue and insert the first chip coordinate into the center position coordinate of the first two-dimensional table to obtain the second two-dimensional table.

[0069] Step S107: Calculate the set of chip coordinates for the tolerable region based on the orientation coordinates of the first chip.

[0070] It should be noted that the directional coordinates of the first chip include: the coordinates of the next chip in the horizontal direction of the first chip, denoted as the first coordinate; the coordinates of the next chip in the vertical direction of the first chip, denoted as the second coordinate; and the coordinates of the next chip in the 45-degree diagonal direction of the first chip, denoted as the third coordinate.

[0071] It is understandable that the chips transferred from the aforementioned steps may have positional errors, for example, positional errors of about ±1.2 micrometers. In addition, there may be angular errors when loading the substrate, which are generally about ±2°. These errors are acceptable. Therefore, it is necessary to calculate the range of errors to improve the accuracy of calculating the chip coordinates on the substrate.

[0072] In a feasible embodiment, during the process of calculating the set of tolerable region chip coordinates based on the directional coordinates of the first chip, the tolerable existence region of the first coordinate, the tolerable existence region of the second coordinate, and the tolerable existence region of the third coordinate can be calculated separately. Then, the union of the three tolerable existence regions is obtained to get the set of tolerable region chip coordinates.

[0073] In one feasible embodiment, such as Figure 3 As shown, the calculation process for obtaining the tolerable region of the first coordinate includes, but is not limited to, steps 310 to 340.

[0074] Step 310: Calculate the first preset value and the second preset value based on the horizontal spacing of the chips;

[0075] Step 320: Generate a region with the first preset value as the center and the first preset value as the radius, using the first chip coordinates as the center.

[0076] Step 330: Generate a region with the second preset value as the center and the second preset value as the radius, using the first chip coordinates as the center.

[0077] Step 340: Subtract the first preset value region from the second preset value region to obtain the tolerable existence region of the first coordinate.

[0078] In a feasible embodiment, in the process of calculating the tolerable area of ​​the second coordinate, a third preset value and a fourth preset value can be calculated first based on the vertical spacing of the chips; then, a third preset value area is generated with the first chip coordinate as the center and the third preset value as the radius; then, a fourth preset value area is generated with the first chip coordinate as the center and the fourth preset value as the radius; then, the difference between the third preset value area and the fourth preset value area is calculated to obtain the tolerable area of ​​the second coordinate.

[0079] In a feasible embodiment, in the process of calculating the tolerable existence area of ​​the third coordinate, the fifth preset value and the sixth preset value can be calculated first based on the vertical spacing and horizontal spacing of the chips; then, the fifth preset value area is generated with the first chip coordinate as the center and the fifth preset value as the radius; then, the sixth preset value area is generated with the first chip coordinate as the center and the sixth preset value as the radius; then, the difference between the fifth preset value area and the sixth preset value area is taken to obtain the tolerable existence area of ​​the third coordinate.

[0080] In a feasible embodiment, after taking the union of the tolerable existence regions of the first coordinate, the tolerable existence regions of the second coordinate, and the tolerable existence regions of the third coordinate to obtain a set of tolerable existence regions, the chips in the current field of view are then filtered and traversed based on this set of tolerable existence regions to obtain a set of coordinates of chips in the tolerable region.

[0081] In a feasible embodiment, in the process of filtering and traversing the chips in the current field of view to obtain the set of chip coordinates in the tolerable region, the chips in the current field of view can be obtained first, and the chip coordinates in the current field of view can be compared and filtered with the chip coordinates in the second two-dimensional table to obtain the set of remaining chip coordinates; then, based on the set of tolerable regions, the chip coordinates of the remaining chip coordinate set are traversed and filtered to obtain the set of chip coordinates in the tolerable region.

[0082] The following is a detailed explanation of step S107 using a specific example.

[0083] Reference Figure 4 As shown, Figure 4 This is a flowchart illustrating the calculation of the set of chip coordinates for the tolerable region, provided as a specific example. Figure 4In the process of calculating the tolerable region chip coordinate set based on the directional coordinates of the first chip 400, the tolerable existence region of the first coordinate of the first chip 400 can be calculated first. Specifically, after obtaining the horizontal spacing of the chips, 1.2 micrometers is subtracted from the horizontal spacing to obtain the first radius value. Then, with the first chip coordinate as the center and the first radius value as the radius, a first sector region with an included angle of 4° is generated, which is the first preset value region. Next, 1.2 micrometers is added to the horizontal spacing of the chips to obtain the second radius value. Then, with the first chip coordinate as the center and the second radius value as the radius, a second sector region with an included angle of 4° is generated, which is the second preset value region. Finally, the area of ​​the second preset value region is subtracted from the area of ​​the first preset value region to obtain the tolerable existence region 410 of the first coordinate. It should be noted that the mid-radius line segments of the first and second sector regions are both 0°. In calculating the tolerable region for the second coordinate, after obtaining the chip vertical spacing, subtract 1.2 micrometers from the chip vertical spacing to obtain the third radius value. Then, using the first chip coordinate as the center and the third radius value as the radius, generate a third sector region with an included angle of 4°, which is the third preset value region. Next, add 1.2 micrometers to the chip vertical spacing to obtain the fourth radius value. Then, using the first chip coordinate as the center and the fourth radius value as the radius, generate a fourth sector region with an included angle of 4°, which is the fourth preset value region. Finally, subtract the area of ​​the third preset value region from the area of ​​the fourth preset value region to obtain the tolerable region 420 for the second coordinate. It should be noted that the mid-radius line segments of both the third and fourth sector regions are 90°. In calculating the tolerable area of ​​the third coordinate, after obtaining the vertical and horizontal chip spacing, first calculate the square of the vertical and horizontal chip spacing respectively. Then, add these two squared values ​​and take the square root to obtain the spacing value. Next, subtract 1.2 micrometers from this spacing value to obtain the fifth radius value. Then, using the first chip coordinate as the center and the fifth radius value as the radius, generate a fifth sector area with an included angle of 4°, which is the fifth preset value area. Next, add 1.2 micrometers to this spacing value to obtain the sixth radius value. Then, using the first chip coordinate as the center and the sixth radius value as the radius, generate a sixth sector area with an included angle of 4°, which is the sixth preset value area. Finally, subtract the area of ​​the fifth preset value area from the area of ​​the sixth preset value area to obtain the tolerable area of ​​the third coordinate, 430. It should be noted that the middle radius line segments of the fifth and sixth sector areas are both 45°.After calculating the tolerable existence region 410 of the first coordinate, the tolerable existence region 420 of the second coordinate, and the tolerable existence region 430 of the third coordinate, the union of the tolerable existence regions 410, 420, and 430 is obtained to obtain the set of tolerable existence regions of the next chip coordinate of the first chip 400 in the vertical, horizontal, and 45-degree oblique directions. Then, based on the chip coordinate set in the second two-dimensional table, the set of chip coordinates in the current field of view is traversed to filter out all chip coordinates other than those in the second two-dimensional table, resulting in the set of remaining chip coordinates. Then, based on the remaining chip coordinate set, the set of all chip coordinates in the tolerable existence region of the next point located in the vertical, horizontal, and 45-degree oblique directions of the first chip 400 is obtained, which is also the set of tolerable region chip coordinates.

[0084] Step S108: Calculate the set of chip angle deviation values ​​based on the chip coordinates of the tolerable chip coordinate set and the first chip coordinate.

[0085] In one feasible embodiment, the chip coordinates of the tolerable chip coordinate set can be connected to the first chip coordinate to form a straight line, and the angle of the straight line can be calculated; then the angle of the straight line can be subtracted from the preset angle to obtain the angle deviation value of the chip coordinates; and then the chip angle deviation value set can be obtained based on the angle deviation value of the chip coordinates.

[0086] Step S109: Iterate through and filter the set of chip angle deviation values ​​and calculate to obtain a new set of tolerable chip coordinates and the target angle; insert the chip coordinates in the new set of tolerable chip coordinates into the second two-dimensional table to obtain the third two-dimensional table.

[0087] In a feasible embodiment, during the process of traversing, filtering and calculating the set of chip angle deviation values ​​to obtain a new set of tolerable chip coordinates and a target angle, the set of chip angle deviation values ​​can be traversed and filtered according to a preset angle value to obtain a new set of chip angle deviation values ​​and a new set of tolerable chip coordinates. When there are chips in two or three sets in the new set of tolerable chip coordinates, the average value of the new set of chip angle deviation values ​​can be calculated to obtain the target angle.

[0088] In one feasible embodiment, when two sets in the new tolerable chip coordinate set do not contain chips, step S106 is repeated.

[0089] In one feasible embodiment, since the new set of chip angle deviation values ​​and the new set of tolerable chip coordinates obtained through screening exclude chips that exceed the average range of angle error, the accuracy of calculating the chip coordinates of the upper substrate can be effectively improved, thereby achieving precise alignment of the upper and lower substrates.

[0090] Step S110: Calculate the second chip coordinate set based on the first chip coordinate set.

[0091] It should be noted that when using a template matching algorithm based on grayscale information to perform template matching on chips, this algorithm can offset the effects of grayscale changes. Therefore, when processing RGB chips, it can obtain the coordinates of only one color. Furthermore, since other chips with dissimilar colors but similar shapes may also be matched by this template matching algorithm, the first set of chip coordinates obtained after matching chips using this algorithm may contain flux or dirt similar in shape to the chips. To improve the accuracy of obtaining chip coordinates, a color exclusion operation is needed for the first set of chip coordinates.

[0092] In one feasible embodiment, such as Figure 5 As shown, in the process of performing a color exclusion operation on the first chip coordinate set to obtain the second chip coordinate set, the operation process includes, but is not limited to, steps 510 to 530.

[0093] Step 510: Generate a circle with the chip coordinates of the first chip coordinate set as the center and the short side length of the chip as the diameter;

[0094] Step 520: Obtain the average gray level within the circle;

[0095] Step 530: When the average gray level is within the preset threshold range, the second chip coordinate set is obtained.

[0096] In one embodiment, the preset threshold can be appropriately selected according to the actual application situation, without being specifically limited here. For example, the preset threshold can be a fixed constant, or it can be within the range of grayscale values ​​of 100.

[0097] Step S111: Based on the target angle and the third two-dimensional table, process the chip coordinates of the second chip coordinate set to obtain the fourth chip coordinate set.

[0098] It is understandable that this target angle is obtained by averaging the new set of tolerable chip coordinates; in other words, this target angle is the overall angle of the upper substrate.

[0099] In one feasible embodiment, the chip coordinates of the second chip coordinate set can be adjusted according to the target angle to obtain a third chip coordinate set; then, based on the third two-dimensional table, the third chip coordinate set can be filtered to obtain a fourth chip coordinate set. It should be noted that all chip coordinates in the fourth chip coordinate set obtained after filtering are not in the third two-dimensional table.

[0100] Step S112: Adjust the coordinates of the first chip according to the target angle to obtain the new chip coordinates.

[0101] Step S113: Calculate the predicted chip position based on the chip coordinates in the fourth chip coordinate set and the new chip coordinates, and calculate the tolerable area of ​​the chip based on the predicted chip position.

[0102] In one feasible embodiment, such as Figure 6 As shown, in the process of calculating the predicted chip position based on the chip coordinates of the fourth chip coordinate set and the new chip coordinates, and calculating the tolerable chip presence area based on the predicted chip position, the calculation process includes, but is not limited to, steps 610 to 680.

[0103] Step 610: Calculate the vertical and horizontal distances of the chip coordinates of the fourth chip coordinate set relative to the new chip coordinates;

[0104] Step 620: Calculate the vertical predicted coordinates based on the vertical distance and the vertical spacing between chips;

[0105] Step 630: Calculate the predicted horizontal coordinates based on the horizontal distance and the horizontal spacing between the chips;

[0106] Step 640: Obtain the predicted chip position based on the vertical and horizontal predicted coordinates;

[0107] Step 650: Calculate the seventh and eighth preset values ​​based on the chip vertical spacing, chip horizontal spacing, and predicted chip position;

[0108] Step 660: Generate a region with the seventh preset value as the center and the seventh preset value as the radius, using the first chip coordinates as the center.

[0109] Step 670: Generate an area with the eighth preset value as the center and the eighth preset value as the radius, using the first chip coordinates as the center.

[0110] Step 680: Subtract the seventh preset value region from the eighth preset value region to obtain the chip's tolerable region.

[0111] In a feasible embodiment, after rotating and straightening all chip coordinates in the second chip coordinate set according to the target angle to obtain the third chip coordinate set, all coordinates in the third chip coordinate set that are not in the third two-dimensional table are traversed sequentially. Specifically, the coordinates in the third chip coordinate set are first filtered to obtain the set of all chip coordinates that are not in the third two-dimensional table, which is the fourth chip coordinate set. Then, the vertical and horizontal distances of any chip coordinate in the fourth chip coordinate set relative to the first chip coordinate after straightening according to the target angle are calculated. After obtaining the chip vertical spacing and chip horizontal spacing of the third chip coordinate set, the vertical distance of the first chip coordinate is divided by the chip vertical spacing to obtain the ordinate of the corresponding predicted position, and the horizontal distance of the first chip coordinate is divided by the chip horizontal spacing to obtain the abscissa of the corresponding predicted position. Thus, the predicted position of any chip coordinate in the fourth chip coordinate set in the third two-dimensional table can be obtained. It should be noted that since the first chip coordinate is located at the center of the third two-dimensional table, any chip coordinate in the fourth chip coordinate set may be smaller than the first chip coordinate. In other words, the X or Y coordinate of any chip in the fourth chip coordinate set may be smaller than the X or Y coordinate of the first chip.

[0112] Step S114: Based on the tolerable existence region of the chip, insert the chip coordinates of the fourth chip coordinate set into the third two-dimensional table to obtain the fourth two-dimensional table.

[0113] In a feasible embodiment, after calculating the predicted position of a chip coordinate in the third two-dimensional table in the fourth chip coordinate set, the tolerable existence area of ​​the chip coordinate can be calculated based on the coordinate of the predicted position. Then, it is determined whether the chip coordinate is in the tolerable existence area. If not, the chip coordinate point is skipped. If it is, it is added to the corresponding position in the third two-dimensional table. Then, the next point is traversed. Finally, all chip coordinate points in the fourth chip coordinate set are traversed to obtain the fourth two-dimensional table.

[0114] The following detailed explanation of steps S113 to S114 will be provided with specific examples.

[0115] In the process of calculating the predicted position coordinates (i, j) of one of the chip coordinates Q in the third two-dimensional table of the fourth chip coordinate set, the vertical distance and horizontal distance of the chip coordinate Q relative to the new chip coordinates are calculated first. Then, the vertical distance is divided by the vertical spacing of the chips to obtain the vertical predicted coordinates, and the horizontal distance is divided by the horizontal spacing of the chips to obtain the horizontal predicted coordinates. The predicted position coordinates (i, j) of the chip coordinate Q in the third two-dimensional table can be obtained. Then, the tolerable existence region P is calculated based on the coordinates (i, j). In calculating the tolerable region P, the first value is obtained by multiplying the vertical chip spacing by i, and the second value is obtained by multiplying the horizontal chip spacing by j. Then, the squares of the first and second values ​​are calculated, and the sum of these two squares is taken as the square root to obtain the third value. Next, 1.2 micrometers is subtracted from this third value to obtain the seventh preset value. A seventh sector region with an angle of 4° is generated, centered on the first chip coordinates and with the seventh preset value as the radius. Then, 1.2 micrometers is added to this third value to obtain the eighth preset value. An eighth sector region with an angle of 4° is generated, centered on the first chip coordinates and with the eighth preset value as the radius. Finally, the area of ​​the eighth preset value region is subtracted from the area of ​​the seventh preset value region to obtain the tolerable region for that chip coordinate. For example, if the X and Y coordinates of chip coordinate Q are both larger than the X and Y coordinates of the straightened first chip coordinates, and the coordinates of point Q are within the tolerable region, then point Q is added to the corresponding position in the third two-dimensional table.

[0116] Step S115: Traverse the fourth two-dimensional table to obtain the row number and column number, and calculate the coordinates of the target corner point based on the row number, column number and target angle.

[0117] In one feasible embodiment, such as Figure 7 As shown, the calculation process for the target corner coordinates includes, but is not limited to, steps 710 to 730.

[0118] Step 710: Perform row traversal on the fourth two-dimensional table. When there is a row in the fourth two-dimensional table that includes two or more chips, obtain the corresponding row number.

[0119] Step 720: Perform column traversal on the fourth two-dimensional table. When a column in the fourth two-dimensional table includes two or more chips, obtain the corresponding column number.

[0120] Step 730: Calculate the initial coordinates based on the row and column numbers; calculate the target corner coordinates based on the initial coordinates and the target angle.

[0121] In a feasible embodiment, after traversing the fourth two-dimensional table to obtain the corresponding row number R and column number C, the abscissa X0 of the initial coordinate can be calculated based on the column number C, the horizontal spacing of the chips, the column number of the first chip coordinate in the fourth two-dimensional table, and the abscissa of the first chip coordinate.

[0122] Specifically, first multiply the column number of the first chip coordinate in the fourth two-dimensional table by the horizontal spacing of the chips to obtain the fourth value. Then, subtract the fourth value from the column number C and add the horizontal coordinate of the first chip coordinate to obtain the horizontal coordinate X0 of the initial coordinate.

[0123] In a feasible embodiment, after traversing the fourth two-dimensional table to obtain the corresponding row number R and column number C, the ordinate Y0 of the initial coordinate can be calculated based on the row number R, the vertical spacing between chips, the row number of the first chip coordinate in the fourth two-dimensional table, and the ordinate of the first chip coordinate.

[0124] Specifically, first multiply the row number of the first chip coordinate in the fourth two-dimensional table by the vertical spacing of the chips to obtain the fifth value. Then, subtract the fifth value from the row number R and add the ordinate of the first chip coordinate to obtain the ordinate Y0 of the initial coordinate.

[0125] In a feasible embodiment, after obtaining the initial coordinates (X0, Y0), the target corner coordinates (X1, Y1) can be calculated based on the initial coordinates (X0, Y0). The calculation process is shown in formulas (1) and (2):

[0126] X1=X0*cos(N) -Y0*sin(N) (1)

[0127] Y1=X0*sin(N) +Y0*cos(N) (2)

[0128] In formulas (1) and (2), N is the target angle, which is the overall angle of the upper substrate. After calculating the initial coordinates (X0, Y0), the ideal upper left corner chip coordinates (X1, Y1), which is the target corner coordinates, can be obtained by rotating the overall angle of the upper substrate.

[0129] In a feasible embodiment, after processing steps 710 to 730, the corresponding row number and column number are obtained by traversing the fourth two-dimensional table, and the target corner coordinates of the upper substrate can be accurately calculated based on the row number, the column number and the target angle, so that the upper and lower substrates can be accurately aligned.

[0130] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A corner point searching method for Micro-LED substrate alignment, characterized in that, The method comprises the following steps: obtaining a current field of view image and a chip template, matching the chip in the chip template and the current field of view image to obtain a first chip coordinate set; generating a square with the chip as the center and the interval as the side length according to the chip size and interval in the first chip coordinate set, obtaining the union of the square and dividing it to obtain a chip distribution area; selecting the largest area from the chip distribution area to obtain a target chip area; calculating the area of the minimum circumscribed rectangle of the target chip area, when the area is less than or equal to a preset value of the area of the current field of view image, calculating the distance of the chip coordinate in the target chip area from the zero point of the coordinate system, and sorting the chips in descending order according to the distance to obtain a chip queue; calculating the number of chips in the current field of view, and establishing a first two-dimensional table according to the number of chips; taking the first chip coordinate from the chip queue and inserting it into the center position coordinate of the first two-dimensional table to obtain a second two-dimensional table; calculating according to the direction coordinate of the first chip to obtain a tolerable area chip coordinate set; calculating the chip angle deviation value set according to the chip coordinates of the tolerable chip coordinate set and the first chip coordinate; iterating and filtering the chip angle deviation value set and calculating to obtain a new tolerable chip coordinate set and a target angle; and inserting the chip coordinates in the new tolerable chip coordinate set into the second two-dimensional table to obtain a third two-dimensional table; calculating a second chip coordinate set according to the first chip coordinate set; processing the chip coordinates of the second chip coordinate set according to the target angle and the third two-dimensional table to obtain a fourth chip coordinate set; adjusting the first chip coordinate according to the target angle to obtain a new chip coordinate; calculating the chip prediction position according to the chip coordinates of the fourth chip coordinate set and the new chip coordinate, and calculating the chip tolerable existence area according to the chip prediction position; based on the chip tolerable existence area, inserting the chip coordinates of the fourth chip coordinate set into the third two-dimensional table to obtain a fourth two-dimensional table; iterating the fourth two-dimensional table to obtain a row number and a column number, and calculating a target angle point coordinate according to the row number, the column number and the target angle.

2. The corner point search method according to claim 1, wherein The method comprises the following steps: calculating the number of chips in the current field of view, and establishing a first two-dimensional table according to the number of chips, which comprises: calculating the maximum chip capacity in the horizontal direction in the current field of view according to the width of the field of view image, the horizontal direction edge length of the chip and the horizontal direction interval of the chip to obtain the number of chips in the horizontal direction; calculating the maximum chip capacity in the vertical direction in the field of view according to the length of the field of view image, the vertical direction edge length of the chip and the vertical direction interval of the chip to obtain the number of chips in the vertical direction; selecting the maximum value from the number of chips in the horizontal direction and the number of chips in the vertical direction to obtain the number of chips in the current field of view; and establishing a first two-dimensional table according to the number of chips.

3. The corner point search method of claim 2, wherein The directional coordinates of the first chip include the coordinates of the next chip in the horizontal direction, the coordinates of the next chip in the vertical direction, and the coordinates of the next chip in the 45-degree oblique direction. The set of chip coordinates for the tolerable region is calculated based on the directional coordinates of the first chip, including: Calculating the tolerable area of ​​the next chip coordinate in the horizontal direction includes: calculating a first preset value and a second preset value based on the horizontal spacing between the chips; generating a first preset value area with the first chip coordinate as the center and the first preset value as the radius; generating a second preset value area with the first chip coordinate as the center and the second preset value as the radius; and subtracting the first preset value area from the second preset value area to obtain the tolerable area of ​​the first coordinate. Calculating the tolerable area of ​​the next chip coordinate in the vertical direction includes: calculating a third preset value and a fourth preset value based on the vertical spacing between the chips; generating a third preset value area with the first chip coordinate as the center and the third preset value as the radius; generating a fourth preset value area with the first chip coordinate as the center and the fourth preset value as the radius; and subtracting the third preset value area from the fourth preset value area to obtain the tolerable area of ​​the second coordinate. Calculating the tolerable area of ​​the next chip coordinate in the 45-degree oblique direction includes: calculating a fifth preset value and a sixth preset value based on the vertical spacing and horizontal spacing of the chips; generating a fifth preset value area with the first chip coordinate as the center and the fifth preset value as the radius; generating a sixth preset value area with the first chip coordinate as the center and the sixth preset value as the radius; and subtracting the fifth preset value area from the sixth preset value area to obtain the tolerable area of ​​the third coordinate. The set of tolerable regions is obtained by taking the union of the tolerable regions of the first coordinate, the tolerable regions of the second coordinate, and the tolerable regions of the third coordinate. Based on the set of tolerable regions, the chips within the current field of view are filtered and traversed to obtain the set of coordinates of chips in the tolerable regions.

4. The corner point search method of claim 3, wherein The step of filtering and traversing the chips within the current field of view based on the set of tolerable existence regions to obtain a set of tolerable region chip coordinates includes: acquiring the chips within the current field of view; comparing and filtering the chip coordinates within the current field of view with the chip coordinates in the second two-dimensional table to obtain a set of remaining chip coordinates; and traversing and filtering the chip coordinates of the remaining chip coordinate set based on the set of tolerable existence regions to obtain a set of tolerable region chip coordinates.

5. The corner point search method of claim 1, wherein The step of calculating the chip angle deviation value set based on the tolerable chip coordinate set and the first chip includes: connecting the chip coordinates of the tolerable chip coordinate set and the coordinates of the first chip to form a straight line, and calculating the angle of the straight line; subtracting a preset angle from the angle of the straight line to obtain the chip coordinate angle deviation value; and obtaining the chip angle deviation value set based on the chip coordinate angle deviation value.

6. The corner point search method of claim 5, wherein The step of traversing, filtering, and calculating the set of chip angle deviation values ​​to obtain a new set of tolerable chip coordinates and a target angle includes: traversing and filtering the set of chip angle deviation values ​​according to a preset angle value to obtain a new set of chip angle deviation values ​​and a new set of tolerable chip coordinates; when there are chips in two or three sets of the tolerable chip coordinates, calculating the average value of the new set of chip angle deviation values ​​to obtain the target angle.

7. The corner point search method of claim 1, wherein The step of calculating the second chip coordinate set based on the first chip coordinate set includes: generating a circle with the chip coordinates of the first chip coordinate set as the center and the short side length of the chip as the diameter; obtaining the average gray level within the circle; and obtaining the second chip coordinate set when the average gray level is within a preset threshold range.

8. The corner point search method of claim 7, wherein The step of processing the chip coordinates of the second chip coordinate set according to the target angle and the third two-dimensional table to obtain the fourth chip coordinate set includes: adjusting the chip coordinates of the second chip coordinate set according to the target angle to obtain the third chip coordinate set; and filtering the third chip coordinate set based on the third two-dimensional table to obtain the fourth chip coordinate set.

9. The corner point search method of claim 2, wherein The step of calculating the predicted chip position based on the chip coordinates of the fourth chip coordinate set and the new chip coordinates, and calculating the tolerable chip existence area based on the predicted chip position, includes: calculating the vertical and horizontal distances of the chip coordinates of the fourth chip coordinate set relative to the new chip coordinates; obtaining the horizontal and vertical spacing of the chips in the fourth chip coordinate set; calculating the vertical predicted coordinates based on the vertical distance and the vertical spacing; calculating the horizontal predicted coordinates based on the horizontal distance and the horizontal spacing; obtaining the predicted chip position based on the vertical and horizontal predicted coordinates; calculating a seventh preset value and an eighth preset value based on the vertical spacing, the horizontal spacing, and the predicted chip position; generating a seventh preset value area with the first chip coordinate as the center and the seventh preset value as the radius; generating an eighth preset value area with the first chip coordinate as the center and the eighth preset value as the radius; and subtracting the seventh preset value area from the eighth preset value area to obtain the tolerable chip existence area.

10. The corner point search method of claim 1, wherein The step of traversing the fourth two-dimensional table to obtain row and column numbers, and calculating the target corner coordinates based on the row and column numbers and the target angle, includes: performing row traversal on the fourth two-dimensional table, obtaining the corresponding row number when a row in the fourth two-dimensional table includes two or more chips; performing column traversal on the fourth two-dimensional table, obtaining the corresponding column number when a column in the fourth two-dimensional table includes two or more chips; calculating the initial coordinates based on the row and column numbers; and calculating the target corner coordinates based on the initial coordinates and the target angle.

Citation Information

Patent Citations

  • Template matching-based chip positioning method

    CN104700085A

  • Method for calculating conversion relationship between high-precision 2D camera coordinate system and mechanical coordinate system

    CN112651261A