Chip positioning method, system, computer and readable storage medium

Through the partial and full scanning of the wafer through the lens, the lens parameters are calculated and standardized, which solves the problem of LED chip positioning deviation in the existing technology, achieves the accuracy and stability of the positioning results, and improves the product yield.

CN114972308BActive Publication Date: 2024-09-24ANGKUN VISION (BEIJING) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210698849.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-20
Publication Date
2024-09-24
Estimated Expiration
2042-06-20

AI Technical Summary

Technical Problem

In the existing technology, due to the influence of external environment and equipment accuracy factors, there is a deviation in the positioning of the LED chip, which reduces the product yield.

Method used

Partially scan the wafer through the lens to obtain the local positioning coordinates and position data of the chip, calculate the lens parameters, including lens internal parameters and distortion parameters, conduct a full scan to eliminate the distortion of the overall positioning coordinates, and use single-image matrix standardization processing to generate theoretical positioning coordinates. Replace actual chip coordinates.

Benefits of technology

After the lens parameters are calculated for the first time, the positioning results when repeatedly scanning different wafers of the same product are accurate and stable, eliminating positioning deviations and improving product yield.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114972308B
    Figure CN114972308B
Patent Text Reader

Abstract

The present invention provides a chip positioning method, system, computer and readable storage medium, the method comprising performing local scanning of the current wafer through a lens to obtain the local positioning coordinates of the chip and the position data between the chips; calculating the reference spacing value corresponding to the chip, and calculating the lens parameters corresponding to the current lens according to the local positioning coordinates and the reference spacing value; obtaining the overall positioning coordinates of the chip, and eliminating the distortion coordinates in the overall positioning coordinates according to the lens internal parameters and the lens distortion parameters to generate linear positioning coordinates; standardizing the linear positioning coordinates to generate theoretical positioning coordinates, and replacing the actual chip coordinate values ​​in the overall positioning coordinates with the theoretical chip coordinate values ​​in the theoretical positioning coordinates. After calculating the lens parameters in the above manner, different wafers of the same product can be scanned repeatedly, and the generated detection results are accurate and stable, eliminating positioning deviations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of semiconductor technology, and in particular to a chip positioning method, system, computer and readable storage medium. Background Art

[0002] Wafer refers to the chip used to make silicon semiconductor circuits, and its raw material is usually silicon. Its production process is to dissolve high-purity polycrystalline silicon, mix it into silicon crystals, and then slowly pull it out to form a cylindrical single crystal silicon. After grinding, polishing, and slicing, the silicon crystal rod is formed into a silicon wafer, that is, a wafer. Among them, the existing technology will arrange a number of LED chips on the manufactured wafer, and the positions of the arranged LED chips need to be accurately positioned to ensure the yield of the product.

[0003] Among them, most of the existing technologies locate the position of LED chips through graphic edge matching and image similarity matching. However, due to the influence of factors such as external environment and equipment accuracy, the existing technologies have certain deviations in the positioning of LED chips, thereby reducing the yield of the product. Summary of the invention

[0004] Based on this, the purpose of the present invention is to provide a chip positioning method, system, computer and readable storage medium to solve the problem that the positioning of LED chips in the prior art has certain deviations due to the influence of factors such as external environment and equipment accuracy, thereby reducing the product yield.

[0005] A first aspect of an embodiment of the present invention provides a chip positioning method, which is applied to a wafer, and a plurality of chips are arranged on the surface of the wafer. The method includes:

[0006] Scan the current wafer locally through a lens to obtain local positioning coordinates of a plurality of chips on the current surface of the wafer and position data between the plurality of chips, wherein the position data includes row spacing and column spacing between the plurality of chips;

[0007] Calculating reference spacing values ​​corresponding to a number of the chips according to the row spacing and the column spacing, and calculating lens parameters corresponding to the current lens according to the local positioning coordinates and the reference spacing values ​​based on a preset algorithm, wherein the lens parameters include lens intrinsic parameters and lens distortion parameters;

[0008] Scanning the wafer in its entirety through the current lens to obtain overall positioning coordinates of the plurality of chips on the current surface of the wafer, and eliminating the distortion coordinates in the overall positioning coordinates according to the lens intrinsic parameters and the lens distortion parameters to generate corresponding linear positioning coordinates;

[0009] The linear positioning coordinates are standardized based on a preset single-image matrix to generate corresponding theoretical positioning coordinates, and the actual chip coordinate values ​​in the overall positioning coordinates are replaced by the theoretical chip coordinate values ​​in the theoretical positioning coordinates.

[0010] The beneficial effects of the present invention are as follows: firstly, the current wafer is partially scanned by the lens to obtain the local positioning coordinates of several chips on the surface of the current wafer and the position data between several chips, and then the reference spacing values ​​corresponding to the current several chips are calculated according to the obtained position data, and further, the lens parameters corresponding to the above lens are calculated according to the above position data and the reference spacing values. On this basis, the current wafer is fully scanned by the above lens again to obtain the overall positioning coordinates of the above several chips, and the distorted coordinates in the current overall positioning coordinates are eliminated according to the above lens parameters to generate the corresponding linear positioning coordinates, and finally, the generated linear positioning coordinates are standardized based on the preset single projection matrix to generate the corresponding theoretical positioning coordinates, and the theoretical chip coordinate values ​​in the theoretical positioning coordinates are replaced with the actual chip coordinate values ​​in the above overall positioning coordinates, so as to simply and quickly complete the positioning of several chips on the surface of the current wafer. Through the above method, after the lens parameters are calculated for the first time, different wafers of the same product can be repeatedly scanned, and at the same time, the generated detection results are accurate and stable, the positioning deviation is eliminated, the yield of the product is improved, and it is suitable for large-scale promotion and use.

[0011] Preferably, the step of calculating reference spacing values ​​corresponding to a plurality of the chips according to the row spacing and the column spacing comprises:

[0012] When the row spacing and the column spacing between the chips are obtained, the maximum and minimum values ​​of the row spacing and the column spacing are screened out, and the average values ​​corresponding to the remaining intermediate values ​​of the row spacing and the column spacing are calculated to set the average value as the reference spacing value.

[0013] Preferably, the step of normalizing the linear positioning coordinates based on a preset single-image matrix to generate corresponding theoretical positioning coordinates includes:

[0014] Inputting the theoretical positioning coordinates of the chips into a blank mapping matrix, and fitting the mapping matrix based on a RANSAC algorithm to generate the single mapping matrix;

[0015] The linear positioning coordinates are mapped onto a standard rectangular grid through the single-mapping matrix to generate corresponding theoretical positioning coordinates.

[0016] Preferably, the step of replacing the actual chip coordinate value in the overall positioning coordinate with the theoretical chip coordinate value in the theoretical positioning coordinate comprises:

[0017] The theoretical positioning coordinates on the image corresponding to the standard rectangular grid are calculated by the single-image matrix, and the theoretical chip coordinate values ​​in the theoretical positioning coordinates are compared with the actual chip coordinate values ​​in the overall positioning coordinates to obtain the positioning error between the theoretical chip coordinate values ​​and the actual chip coordinate values;

[0018] Determine whether the positioning error between the theoretical chip coordinate value and the actual chip coordinate value corresponding to each of the chips is greater than a preset threshold;

[0019] If it is determined that the positioning error between the theoretical chip coordinate value and the actual chip coordinate value corresponding to the chip is greater than a preset threshold, the actual chip coordinate value in the overall positioning coordinate is replaced by the theoretical chip coordinate value in the theoretical positioning coordinate.

[0020] Preferably, the step of replacing the actual chip coordinate value in the overall positioning coordinate with the theoretical chip coordinate value in the theoretical positioning coordinate further comprises:

[0021] When the theoretical positioning coordinates are obtained, the theoretical chip coordinate values ​​in the theoretical positioning coordinates are reversely calculated into the overall positioning coordinates according to the lens intrinsic parameters and the lens distortion parameters, so as to replace the actual chip coordinate values ​​with the theoretical chip coordinate values ​​in the overall positioning coordinates.

[0022] A second aspect of an embodiment of the present invention provides a chip positioning system, which is applied to a wafer, and a plurality of chips are arranged on the surface of the wafer. The system includes:

[0023] A first acquisition module is used to acquire a detection image of the current wafer through a lens to obtain local positioning coordinates of a plurality of chips on the current surface of the wafer and position data between the plurality of chips, wherein the position data includes a row spacing and a column spacing between the plurality of chips;

[0024] A calculation module, used to calculate reference spacing values ​​corresponding to the chips according to the row spacing and the column spacing, and calculate lens parameters corresponding to the current lens according to the local positioning coordinates and the reference spacing values ​​based on a preset algorithm, wherein the lens parameters include lens intrinsic parameters and lens distortion parameters;

[0025] A second acquisition module is used to perform a full scan of the wafer through the current lens to obtain the overall positioning coordinates of the plurality of chips on the surface of the current wafer, and eliminate the distortion coordinates in the overall positioning coordinates according to the lens intrinsic parameters and the lens distortion parameters to generate corresponding linear positioning coordinates;

[0026] A processing module is used to perform standardization processing on the linear positioning coordinates based on a preset single-image matrix to generate corresponding theoretical positioning coordinates, and replace the actual chip coordinate values ​​in the overall positioning coordinates with the theoretical chip coordinate values ​​in the theoretical positioning coordinates.

[0027] Wherein, in the above chip positioning system, the calculation module is specifically used for:

[0028] When the row spacing and the column spacing between the chips are obtained, the maximum and minimum values ​​of the row spacing and the column spacing are screened out, and the average values ​​corresponding to the remaining intermediate values ​​of the row spacing and the column spacing are calculated to set the average value as the reference spacing value.

[0029] Wherein, in the above chip positioning system, the processing module is specifically used for:

[0030] Inputting the theoretical positioning coordinates of the chips into a blank mapping matrix, and fitting the mapping matrix based on a RANSAC algorithm to generate the single mapping matrix;

[0031] The linear positioning coordinates are mapped onto a standard rectangular grid through the single-mapping matrix to generate corresponding theoretical positioning coordinates.

[0032] Wherein, in the above chip positioning system, the processing module is specifically used for:

[0033] The theoretical positioning coordinates on the image corresponding to the standard rectangular grid are calculated by the single-image matrix, and the theoretical chip coordinate values ​​in the theoretical positioning coordinates are compared with the actual chip coordinate values ​​in the overall positioning coordinates to obtain the positioning error between the theoretical chip coordinate values ​​and the actual chip coordinate values;

[0034] Determine whether the positioning error between the theoretical chip coordinate value and the actual chip coordinate value corresponding to each of the chips is greater than a preset threshold;

[0035] If it is determined that the positioning error between the theoretical chip coordinate value and the actual chip coordinate value corresponding to the chip is greater than a preset threshold, the actual chip coordinate value in the overall positioning coordinate is replaced by the theoretical chip coordinate value in the theoretical positioning coordinate.

[0036] Wherein, in the above chip positioning system, the processing module is also specifically used for:

[0037] When the theoretical positioning coordinates are obtained, the theoretical chip coordinate values ​​in the theoretical positioning coordinates are reversely calculated into the overall positioning coordinates according to the lens intrinsic parameters and the lens distortion parameters, so as to replace the actual chip coordinate values ​​with the theoretical chip coordinate values ​​in the overall positioning coordinates.

[0038] A third aspect of an embodiment of the present invention provides a computer, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the chip positioning method as described above when executing the computer program.

[0039] A fourth aspect of an embodiment of the present invention provides a readable storage medium having a computer program stored thereon, which implements the chip positioning method as described above when executed by a processor.

[0040] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A flowchart of a chip positioning method provided by a first embodiment of the present invention;

[0042] Figure 2 A partial schematic diagram of a wafer in a chip positioning method provided by a second embodiment of the present invention;

[0043] Figure 3 A schematic diagram of eliminating distorted coordinates in the overall positioning coordinates in the chip positioning method provided by the second embodiment of the present invention;

[0044] Figure 4 This is a structural block diagram of a chip positioning system provided by the third embodiment of the present invention.

[0045] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION

[0046] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Several embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.

[0047] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.

[0048] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0049] Most of the existing technologies locate the position of LED chips through graphic edge matching and image similarity matching. However, due to the influence of factors such as external environment and equipment accuracy, the existing technologies have certain deviations in the positioning of LED chips, thereby reducing the yield of the product.

[0050] See also Figure 1 , shown is the chip positioning method provided by the first embodiment of the present invention. The chip positioning method provided by this embodiment can repeatedly scan different wafers of the same product after calculating the lens parameters for the first time. At the same time, the generated detection results are accurate and stable, eliminating positioning deviations, improving product yield, and is suitable for large-scale promotion and use.

[0051] Specifically, the chip positioning method provided in this embodiment is applied to a wafer, and a plurality of chips are arranged on the surface of the wafer. The method specifically includes the following steps:

[0052] Step S10, partially scanning the current wafer through a lens to obtain local positioning coordinates of a plurality of chips on the current surface of the wafer and position data between the plurality of chips, wherein the position data includes row spacing and column spacing between the plurality of chips;

[0053] First, in this embodiment, it should be noted that the chip positioning method provided in this embodiment is specifically applied on a wafer to position the chips arranged on the surface of each wafer to facilitate the subsequent production of the wafer. Preferably, in this embodiment, it is used to position the LED chips arranged on the wafer.

[0054] Specifically, in this step, it should be noted that the chip positioning method provided in this embodiment is implemented based on a wafer positioning device, wherein a lens is installed on the wafer positioning device, and the lens is used to scan the chip on the surface of the wafer.

[0055] Therefore, in this step, in order to improve the positioning accuracy of the chip on the surface of the wafer, this step will pre-scan the current wafer in advance. Specifically, this step will first perform a partial scan of the surface of the current wafer through the above-mentioned lens, that is, scan a partial area of ​​the current wafer surface. Further, the local positioning coordinates of several chips on the current wafer surface and the position data between the current several chips can be obtained through the local scanning. Specifically, the position data includes the row spacing and column spacing between two adjacent chips.

[0056] Step S20, calculating reference spacing values ​​corresponding to a plurality of the chips according to the row spacing and the column spacing, and calculating lens parameters corresponding to the current lens according to the local positioning coordinates and the reference spacing values ​​based on a preset algorithm, wherein the lens parameters include lens intrinsic parameters and lens distortion parameters;

[0057] Furthermore, in this step, it should be noted that after obtaining the data of the row spacing and column spacing between several chips on the current wafer surface through pre-scanning, this step will calculate the reference spacing values ​​corresponding to the above-mentioned several chips according to the current row spacing and column spacing. Furthermore, this step will also calculate the lens parameters corresponding to the current lens based on the local positioning coordinates and the reference spacing values ​​obtained above according to a preset algorithm. Specifically, the lens parameters include lens intrinsic parameters and lens distortion parameters.

[0058] Step S30, scanning the wafer in its entirety through the current lens to obtain the overall positioning coordinates of the plurality of chips on the current surface of the wafer, and eliminating the distorted coordinates in the overall positioning coordinates according to the lens intrinsic parameters and the lens distortion parameters to generate corresponding linear positioning coordinates;

[0059] Specifically, in this step, it should be noted that after obtaining the lens intrinsic parameters and lens distortion parameters corresponding to the current lens through the above-mentioned pre-scan, this step will again perform a full scan of the current wafer through the above-mentioned lens, that is, scan all images of the current wafer surface to obtain the overall positioning coordinates corresponding to several chips on the current wafer surface.

[0060] Furthermore, after the overall positioning coordinates are obtained, this step will further eliminate the distorted coordinates appearing in the current overall positioning coordinates according to the lens intrinsic parameters and lens distortion parameters obtained in the above step S20, so as to generate corresponding linear positioning coordinates.

[0061] Step S40, normalizing the linear positioning coordinates based on a preset single-image matrix to generate corresponding theoretical positioning coordinates, and replacing the actual chip coordinate values ​​in the overall positioning coordinates with the theoretical chip coordinate values ​​in the theoretical positioning coordinates.

[0062] Finally, in this step, it should be noted that after obtaining the linear positioning coordinates corresponding to the several chips, this step will further standardize the above linear positioning coordinates based on the created single-image matrix to generate the corresponding theoretical positioning coordinates. Finally, it is only necessary to replace the actual chip coordinate values ​​in the overall positioning coordinates with the theoretical chip coordinate values ​​in the theoretical positioning coordinates to simply and quickly complete the positioning of several chips.

[0063] When in use, the lens first performs a partial scan on the current wafer to obtain the local positioning coordinates of several chips on the current wafer surface and the position data between several chips, and then calculates the reference spacing values ​​corresponding to the current several chips based on the obtained position data. Further, the lens parameters corresponding to the above lens are calculated based on the above position data and the reference spacing values. On this basis, the current wafer is scanned in its entirety again through the above lens to obtain the overall positioning coordinates of the above several chips, and the distorted coordinates in the current overall positioning coordinates are eliminated according to the above lens parameters to generate the corresponding linear positioning coordinates. Finally, the generated linear positioning coordinates are standardized based on the preset single projection matrix to generate the corresponding theoretical positioning coordinates, and the theoretical chip coordinate values ​​in the theoretical positioning coordinates are replaced with the actual chip coordinate values ​​in the above overall positioning coordinates, so as to simply and quickly complete the positioning of several chips on the current wafer surface. Through the above method, after the lens parameters are calculated for the first time, different wafers of the same product can be repeatedly scanned. At the same time, the generated detection results are accurate and stable, the positioning deviation is eliminated, the yield of the product is improved, and it is suitable for large-scale promotion and use.

[0064] It should be noted that the above implementation process is only to illustrate the feasibility of the present application, but this does not mean that the chip positioning method of the present application has only the above-mentioned single implementation process. On the contrary, as long as the chip positioning method of the present application can be implemented, it can be included in the feasible implementation plan of the present application.

[0065] In summary, the chip positioning method provided by the above embodiment of the present invention can repeatedly scan different wafers of the same product after calculating the lens parameters for the first time. At the same time, the generated detection results are accurate and stable, positioning deviations are eliminated, and the product yield is improved, which is suitable for large-scale promotion and use.

[0066] The second embodiment of the present invention also provides a chip positioning method. The chip positioning method provided in this embodiment specifically includes the following steps:

[0067] Step S11, partially scanning the current wafer through a lens to obtain local positioning coordinates of a plurality of chips on the current surface of the wafer and position data between the plurality of chips;

[0068] Similarly, in this embodiment, it should be noted that the chip positioning method provided in this embodiment is specifically applied on a wafer to position the chips arranged on the surface of each wafer to facilitate the subsequent production of the wafer.

[0069] Specifically, Figure 2 As shown, this step will also pre-scan the current wafer. Specifically, under the condition of determined chip products, machines, and lighting sources, several pictures are pre-scanned on the current wafer, and the local positioning coordinates of several chips on the surface of the current wafer and the position data between several chips are obtained according to the scanned pictures. Specifically, the position data includes the row spacing and column spacing between two adjacent chips.

[0070] Step S21, when the row spacing and the column spacing between the chips are obtained, the maximum and minimum values ​​of the row spacing and the column spacing are screened out, and the average value corresponding to the remaining intermediate values ​​of the row spacing and the column spacing is calculated to set the average value as the reference spacing value.

[0071] Furthermore, in this step, it should be noted that after the row spacing and column spacing between the chips are obtained through the above step S11, it can be understood that the currently obtained row spacing and column spacing are a series of specific values, and the sizes vary. Therefore, in this step, in order to improve the accuracy of positioning, this step will filter out the maximum and minimum values ​​of the current row spacing and column spacing values, that is, filter out several larger values ​​and several smaller values ​​to extract several intermediate values.

[0072] Furthermore, a corresponding average value is calculated based on the screened middle values, and the average value is set as the reference spacing value.

[0073] Step S31, calculating lens parameters corresponding to the current lens according to the local positioning coordinates and the reference spacing value based on a preset algorithm;

[0074] Specifically, in this step, it should be noted that after obtaining the local positioning coordinates and reference spacing values ​​of the current several chips, this step will calculate the corresponding lens parameters according to the above local positioning coordinates and reference spacing values ​​through the preset Zhang Zhengyou correction method. Specifically, the lens parameters include lens intrinsic parameters and lens distortion parameters.

[0075] It should be noted that this step will first solve the product of the internal parameter matrix and the external parameter matrix to fix the world coordinate system on the chessboard, then the physical coordinate Z of any point on the chessboard is 0, so the original single-point undistorted imaging model can be transformed into the following formula. Among them, R1 and R2 are the first two columns of the rotation matrix R. For simplicity, the internal parameter matrix is ​​recorded as A, that is:

[0076]

[0077] Some explanation is given for the above formula.

[0078] For different pictures, the internal parameter matrix A is a constant;

[0079] For the same image, the internal parameter matrix A and the external parameter matrix (R1, R2, T) are fixed values;

[0080] For a single point on the same image, the internal parameter matrix A, the external parameter matrix (R1, R2, T), and the scale factor Z ZZ are fixed values. Let A(R1, R2, T) be denoted as matrix H, where H is the product of the internal parameter matrix and the external parameter matrix. Let the three columns of matrix H be (H1, H2, H3), then:

[0081]

[0082] Using the above formula, eliminating the scale factor Z, we can get:

[0083]

[0084]

[0085] At this point, the scale factor Z has been eliminated, so the above formula is valid for all corner points on the same image. (u, v) is the coordinates of the corner points of the calibration plate in the pixel coordinate system, and (U, V) is the coordinates of the corner points of the calibration plate in the world coordinate system. Through the image recognition algorithm, we can get the pixel coordinates (u, v) of the corner points of the calibration plate. Since the world coordinate system of the calibration plate is artificially defined, the size of each grid on the calibration plate is known, and we can calculate (U, V) in the world coordinate system.

[0086] Here H is a homogeneous matrix with 8 independent unknown elements. Each corner point of the calibration plate can provide the corresponding relationship between two constraint equations (u, U, V), and the corresponding relationship between u, U, and V provides two constraint equations). Therefore, when the number of corner points of the calibration plate on an image is equal to 4, the matrix H corresponding to the image can be obtained.

[0087] When the number of calibration plate corner points on an image is greater than 4, the least squares method is used to regress the optimal matrix H.

[0088] Now that the H matrix is ​​known, we can further solve the internal parameter matrix:

[0089] Now that the matrix H=A(R1, R2, T) is known, we need to solve the camera's intrinsic parameter matrix A.

[0090]

[0091]

[0092] Then matrix A is used to represent matrix B:

[0093]

[0094] At this point, we only need to solve the vector b to get the matrix B. Each calibration plate image can provide a constraint relationship of vb=0, which contains two constraint equations. However, vector b has 6 unknown elements. Therefore, the two constraint equations provided by a single image are not enough to solve the vector b. Therefore, we only need to take 3 calibration plate photos and get 3 constraint relationships of vb=0, that is, 6 equations, to solve the vector b. When the number of calibration plate images is greater than 3 (in fact, generally 15 to 20 calibration plate images are required), the least squares method can be used to fit the best vector b and obtain the matrix B. (B is only related to the internal parameters)

[0095]

[0096] Then solve the external parameter matrix.

[0097] It should be noted that for the same camera, the camera's intrinsic parameter matrix depends on the camera's internal parameters. No matter what the positional relationship between the calibration plate and the camera is, the camera's intrinsic parameter matrix remains unchanged. This is why in "Solving the intrinsic parameter matrix", the matrix H obtained from different images (with different positional relationships between the calibration plate and the camera) can be used to jointly solve the camera's intrinsic parameter matrix A.

[0098] However, the extrinsic matrix reflects the positional relationship between the calibration plate and the camera. For different pictures, the positional relationship between the calibration plate and the camera has changed, and the extrinsic matrix corresponding to each picture is different.

[0099] Finally, calibrate the distortion parameters of the camera. Through the above steps, we can get:

[0100]

[0101]

[0102] Thus, ideal, distortion-free pixel coordinates (u, v) can be obtained.

[0103] Step S41, scanning the wafer in its entirety through the current lens to obtain the overall positioning coordinates of the plurality of chips on the surface of the current wafer, and eliminating the distortion coordinates in the overall positioning coordinates according to the lens intrinsic parameters and the lens distortion parameters to generate corresponding linear positioning coordinates;

[0104] Furthermore, in this step, it should be noted that after obtaining the lens intrinsic parameters and lens distortion parameters corresponding to the current lens through the above-mentioned pre-scan, this step will again perform a full scan of the current wafer through the above-mentioned lens, that is, scan all images of the current wafer surface to obtain the overall positioning coordinates corresponding to several chips on the current wafer surface.

[0105] Furthermore, in this step, after the overall positioning coordinates are obtained, it can be understood that the overall positioning coordinates include a series of coordinate values ​​corresponding to the position of each chip, wherein the size of each coordinate value may also be different. Therefore, this step will eliminate the distorted coordinates in the current overall positioning coordinates through the lens intrinsic parameters and lens distortion parameters obtained in the above step S31, that is, correct the distorted coordinates. It can be understood that, as Figure 3 As shown, the "arc" relationship between the coordinate positions of two adjacent chips is converted into a "straight line" relationship, so that the corresponding linear positioning coordinates can be generated.

[0106] Step S51, inputting the theoretical positioning coordinates of the plurality of chips into a blank mapping matrix, and fitting the mapping matrix based on the RANSAC algorithm to generate the single mapping matrix; mapping the linear positioning coordinates to a standard rectangular grid through the single mapping matrix to generate corresponding theoretical positioning coordinates.

[0107] Specifically, in this step, it should be noted that this step will pre-create a blank mapping matrix. Further, the theoretical positioning coordinates of the above-mentioned chips are input into the current blank mapping matrix, and the current mapping matrix is ​​fitted through the RANSAC algorithm to generate the corresponding single mapping matrix.

[0108] On this basis, this step maps the above linear positioning coordinates to the standard rectangular grid through the calculated single projection matrix to finally generate the corresponding theoretical positioning coordinates.

[0109] Among them, the expression of the mapping matrix is:

[0110]

[0111] Among them, ∝ means proportional to the sign. In addition, the final calculation formula of the single-image matrix is:

[0112]

[0113] Among them, the homography matrix H ba It consists of the rotation and translation information of the two cameras (R, t), the internal parameter matrix K of the two cameras, and the plane parameters (n, d).

[0114] Step S61, calculate the theoretical positioning coordinates on the image corresponding to the standard rectangular grid through the single-image matrix, and compare the theoretical chip coordinate value in the theoretical positioning coordinates with the actual chip coordinate value in the overall positioning coordinates to obtain the positioning error between the theoretical chip coordinate value and the actual chip coordinate value; determine whether the positioning error between the theoretical chip coordinate value and the actual chip coordinate value corresponding to each chip is greater than a preset threshold; if it is determined that the positioning error between the theoretical chip coordinate value and the actual chip coordinate value corresponding to a chip is greater than the preset threshold, replace the actual chip coordinate value in the overall positioning coordinates with the theoretical chip coordinate value in the theoretical positioning coordinates.

[0115] Furthermore, in this step, it should be noted that after calculating the theoretical positioning coordinates on the image corresponding to the above-mentioned standard rectangular grid through the above-mentioned single-image matrix, this step will also compare the theoretical chip coordinate value in the current theoretical positioning coordinate with the actual chip coordinate value in the above-mentioned overall positioning coordinate, that is, calculate the difference between the two, so as to obtain the corresponding positioning error between each theoretical chip coordinate value and each actual chip coordinate value.

[0116] Furthermore, it is determined whether the positioning error between the theoretical chip coordinate value and the actual chip coordinate value corresponding to each chip is greater than a preset threshold, for example, whether it is greater than 0.1 pixel; specifically, if it is determined that the positioning error between the theoretical chip coordinate value and the actual chip coordinate value corresponding to a chip is greater than the preset threshold, the actual chip coordinate value in the current overall positioning coordinate is replaced by the theoretical chip coordinate value in the current theoretical positioning coordinate.

[0117] Step S71, when the theoretical positioning coordinates are obtained, the theoretical chip coordinate values ​​in the theoretical positioning coordinates are reversely calculated into the overall positioning coordinates according to the lens intrinsic parameters and the lens distortion parameters, so as to replace the actual chip coordinate values ​​with the theoretical chip coordinate values ​​in the overall positioning coordinates.

[0118] Finally, in this step, it should be noted that after obtaining the above-mentioned theoretical positioning coordinates, the theoretical chip coordinate values ​​in the current theoretical positioning coordinates are reversely calculated into the above-mentioned overall positioning coordinates according to the lens intrinsic parameters and lens distortion parameters obtained in the above-mentioned steps, so as to replace the current actual chip coordinate values ​​with the above-mentioned theoretical chip coordinate values ​​in the above-mentioned overall positioning coordinates, thereby being able to simply and quickly complete the positioning of several chips on the current wafer surface.

[0119] It should be pointed out that the implementation principle and some technical effects of the method provided in the second embodiment of the present invention are the same as those of the first embodiment. For the sake of brief description, for matters not mentioned in this embodiment, reference may be made to the corresponding contents provided in the first embodiment.

[0120] In summary, the chip positioning method provided by the above embodiment of the present invention can repeatedly scan different wafers of the same product after calculating the lens parameters for the first time. At the same time, the generated detection results are accurate and stable, positioning deviations are eliminated, and the product yield is improved, which is suitable for large-scale promotion and use.

[0121] See also Figure 4 , shown is a chip positioning system provided by a third embodiment of the present invention, which is applied to a wafer, and a plurality of chips are arranged on the surface of the wafer. The system comprises:

[0122] A first acquisition module 12 is used to acquire a detection image of the current wafer through a lens to obtain local positioning coordinates of a plurality of chips on the current surface of the wafer and position data between the plurality of chips, wherein the position data includes a row spacing and a column spacing between the plurality of chips;

[0123] A calculation module 22, configured to calculate reference spacing values ​​corresponding to a plurality of the chips according to the row spacing and the column spacing, and calculate lens parameters corresponding to the current lens according to the local positioning coordinates and the reference spacing values ​​based on a preset algorithm, wherein the lens parameters include lens intrinsic parameters and lens distortion parameters;

[0124] A second acquisition module 32 is used to perform a full scan of the wafer through the current lens to obtain the overall positioning coordinates of the plurality of chips on the current surface of the wafer, and eliminate the distortion coordinates in the overall positioning coordinates according to the lens intrinsic parameters and the lens distortion parameters to generate corresponding linear positioning coordinates;

[0125] The processing module 42 is used to perform standardization processing on the linear positioning coordinates based on a preset single-image matrix to generate corresponding theoretical positioning coordinates, and replace the actual chip coordinate values ​​in the overall positioning coordinates with the theoretical chip coordinate values ​​in the theoretical positioning coordinates.

[0126] Wherein, in the above chip positioning system, the calculation module 22 is specifically used for:

[0127] When the row spacing and the column spacing between the chips are obtained, the maximum and minimum values ​​of the row spacing and the column spacing are screened out, and the average values ​​corresponding to the remaining intermediate values ​​of the row spacing and the column spacing are calculated to set the average value as the reference spacing value.

[0128] Wherein, in the above chip positioning system, the processing module 42 is specifically used for:

[0129] Inputting the theoretical positioning coordinates of the chips into a blank mapping matrix, and fitting the mapping matrix based on a RANSAC algorithm to generate the single mapping matrix;

[0130] The linear positioning coordinates are mapped onto a standard rectangular grid through the single-mapping matrix to generate corresponding theoretical positioning coordinates.

[0131] Wherein, in the above chip positioning system, the processing module 42 is specifically used for:

[0132] The theoretical positioning coordinates on the image corresponding to the standard rectangular grid are calculated by the single-image matrix, and the theoretical chip coordinate values ​​in the theoretical positioning coordinates are compared with the actual chip coordinate values ​​in the overall positioning coordinates to obtain the positioning error between the theoretical chip coordinate values ​​and the actual chip coordinate values;

[0133] Determine whether the positioning error between the theoretical chip coordinate value and the actual chip coordinate value corresponding to each of the chips is greater than a preset threshold;

[0134] If it is determined that the positioning error between the theoretical chip coordinate value and the actual chip coordinate value corresponding to the chip is greater than a preset threshold, the actual chip coordinate value in the overall positioning coordinate is replaced by the theoretical chip coordinate value in the theoretical positioning coordinate.

[0135] In the above chip positioning system, the processing module 42 is further specifically used for:

[0136] When the theoretical positioning coordinates are obtained, the theoretical chip coordinate values ​​in the theoretical positioning coordinates are reversely calculated into the overall positioning coordinates according to the lens intrinsic parameters and the lens distortion parameters, so as to replace the actual chip coordinate values ​​with the theoretical chip coordinate values ​​in the overall positioning coordinates.

[0137] A fourth embodiment of the present invention provides a computer, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the chip positioning method provided in the first embodiment or the second embodiment when executing the computer program.

[0138] A fifth embodiment of the present invention provides a readable storage medium on which a computer program is stored. When the program is executed by a processor, the chip positioning method provided in the first embodiment or the second embodiment described above is implemented.

[0139] In summary, the chip positioning method, system, computer and readable storage medium provided by the above embodiments of the present invention can repeatedly scan different wafers of the same product after calculating the lens parameters for the first time. At the same time, the generated detection results are accurate and stable, positioning deviations are eliminated, and the product yield is improved, which is suitable for large-scale promotion and use.

[0140] It should be noted that the above modules can be functional modules or program modules, and can be implemented by software or hardware. For modules implemented by hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.

[0141] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0142] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0143] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0144] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0145] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A chip positioning method, characterized in that: Applied on a wafer, a plurality of chips are arranged on the surface of the wafer, and the method comprises: Scan the current wafer locally through a lens to obtain local positioning coordinates of a plurality of chips on the current surface of the wafer and position data between the plurality of chips, wherein the position data includes row spacing and column spacing between the plurality of chips; Calculating reference spacing values ​​corresponding to a number of the chips according to the row spacing and the column spacing, and calculating lens parameters corresponding to the current lens according to the local positioning coordinates and the reference spacing values ​​based on a preset algorithm, wherein the lens parameters include lens intrinsic parameters and lens distortion parameters; Scanning the wafer in its entirety through the current lens to obtain overall positioning coordinates of the plurality of chips on the current surface of the wafer, and eliminating the distortion coordinates in the overall positioning coordinates according to the lens intrinsic parameters and the lens distortion parameters to generate corresponding linear positioning coordinates; The linear positioning coordinates are standardized based on a preset single-image matrix to generate corresponding theoretical positioning coordinates, and the actual chip coordinate values ​​in the overall positioning coordinates are replaced by the theoretical chip coordinate values ​​in the theoretical positioning coordinates.

2. The chip positioning method according to claim 1, characterized in that: The step of calculating reference spacing values ​​corresponding to a plurality of the chips according to the row spacing and the column spacing comprises: When the row spacing and the column spacing between the chips are obtained, the maximum and minimum values ​​of the row spacing and the column spacing are screened out, and the average values ​​corresponding to the remaining intermediate values ​​of the row spacing and the column spacing are calculated to set the average value as the reference spacing value.

3. The chip positioning method according to claim 1, characterized in that: The step of normalizing the linear positioning coordinates based on a preset single-image matrix to generate corresponding theoretical positioning coordinates includes: Inputting the theoretical positioning coordinates of the chips into a blank mapping matrix, and fitting the mapping matrix based on a RANSAC algorithm to generate the single mapping matrix; The linear positioning coordinates are mapped onto a standard rectangular grid through the single-mapping matrix to generate corresponding theoretical positioning coordinates.

4. The chip positioning method according to claim 3, characterized in that: The step of replacing the actual chip coordinate value in the overall positioning coordinate with the theoretical chip coordinate value in the theoretical positioning coordinate comprises: The theoretical positioning coordinates on the image corresponding to the standard rectangular grid are calculated by the single-image matrix, and the theoretical chip coordinate values ​​in the theoretical positioning coordinates are compared with the actual chip coordinate values ​​in the overall positioning coordinates to obtain the positioning error between the theoretical chip coordinate values ​​and the actual chip coordinate values; Determine whether the positioning error between the theoretical chip coordinate value and the actual chip coordinate value corresponding to each of the chips is greater than a preset threshold; If it is determined that the positioning error between the theoretical chip coordinate value and the actual chip coordinate value corresponding to the chip is greater than a preset threshold, the actual chip coordinate value in the overall positioning coordinate is replaced by the theoretical chip coordinate value in the theoretical positioning coordinate.

5. The chip positioning method according to claim 1, characterized in that: The step of replacing the actual chip coordinate value in the overall positioning coordinate with the theoretical chip coordinate value in the theoretical positioning coordinate also includes: When the theoretical positioning coordinates are obtained, the theoretical chip coordinate values ​​in the theoretical positioning coordinates are reversely calculated into the overall positioning coordinates according to the lens intrinsic parameters and the lens distortion parameters, so as to replace the actual chip coordinate values ​​with the theoretical chip coordinate values ​​in the overall positioning coordinates.

6. A chip positioning system, characterized in that: Applied on a wafer, a plurality of chips are arranged on the surface of the wafer, and the system includes: A first acquisition module is used to acquire a detection image of the current wafer through a lens to obtain local positioning coordinates of a plurality of chips on the current surface of the wafer and position data between the plurality of chips, wherein the position data includes a row spacing and a column spacing between the plurality of chips; A calculation module, used to calculate reference spacing values ​​corresponding to the chips according to the row spacing and the column spacing, and calculate lens parameters corresponding to the current lens according to the local positioning coordinates and the reference spacing values ​​based on a preset algorithm, wherein the lens parameters include lens intrinsic parameters and lens distortion parameters; A second acquisition module is used to perform a full scan of the wafer through the current lens to obtain the overall positioning coordinates of the plurality of chips on the surface of the current wafer, and eliminate the distortion coordinates in the overall positioning coordinates according to the lens intrinsic parameters and the lens distortion parameters to generate corresponding linear positioning coordinates; A processing module is used to perform standardization processing on the linear positioning coordinates based on a preset single-image matrix to generate corresponding theoretical positioning coordinates, and replace the actual chip coordinate values ​​in the overall positioning coordinates with the theoretical chip coordinate values ​​in the theoretical positioning coordinates.

7. The chip positioning system according to claim 6, characterized in that: The calculation module is specifically used for: When the row spacing and the column spacing between the chips are obtained, the maximum and minimum values ​​of the row spacing and the column spacing are screened out, and the average values ​​corresponding to the remaining intermediate values ​​of the row spacing and the column spacing are calculated to set the average value as the reference spacing value.

8. The chip positioning system according to claim 6, characterized in that: The processing module is specifically used for: Inputting the theoretical positioning coordinates of the chips into a blank mapping matrix, and fitting the mapping matrix based on a RANSAC algorithm to generate the single mapping matrix; The linear positioning coordinates are mapped onto a standard rectangular grid through the single-mapping matrix to generate corresponding theoretical positioning coordinates.

9. A computer comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the chip positioning method according to any one of claims 1 to 5 is implemented.

10. A readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the chip positioning method according to any one of claims 1 to 5 is implemented.