Scanning correction method and device for wafer detection
By selecting marking points from the wafer template, calculating and correcting the scanning position, the imaging inconsistency caused by the deviation between the wafer scanner and the template is solved, and the accuracy of wafer detection is achieved.
Patent Information
- Application Number
- CN202410908438.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-07-08
AI Technical Summary
In the prior art, there is a deviation between the wafer scanner and the wafer template, resulting in the problem of inconsistent imaging and the template image.
By selecting preset number of marking points from the wafer template, calculate the search area of the required scanned tiles, crop and splice marking points, locate the position information of the marking points, and use the affine matrix to calculate the rotation angle and Position offset component, correcting the scanning position.
The alignment of the wafer scanner and the wafer template is achieved, ensuring the consistency between the imaging and the template image, and improving the accuracy of detection.
Smart Images

Figure CN119006363A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of chip manufacturing, and in particular to a scanning correction method and device for wafer detection. Background Art
[0002] Currently, it is necessary to collect images when inspecting patterned wafers. However, the image collection of patterned wafers is of high quality. When scanning, there will be a deviation between the current scanning film and the wafer template, resulting in the problem that its imaging is inconsistent with the template image. Summary of the invention
[0003] In view of this, the purpose of the present invention is to provide a scanning correction method and ambition for wafer inspection, aiming to solve the problem in the prior art that there is a deviation between the wafer scanning piece and the wafer template, resulting in inconsistency between its imaging and the template image.
[0004] The embodiment of the present invention is implemented as follows: A scanning correction method for wafer inspection, the method comprising: Selecting a preset number of marking points from the wafer template according to a preset rule, and calculating the required scanning blocks according to the search range of the marking points; Crop the search area of the marking point contained in each of the required scanned image blocks, and splice the cropped search area of the marking point to locate the position information of the marking point; Calculating a positioning result of the marking point in a global coordinate system according to the position information of the marking point, and calculating an affine matrix using the positioning result and the position information of the marking point; The rotation angle and position offset component are calculated according to the affine matrix to correct the acquisition position during wafer scanning.
[0005] Furthermore, in the above-mentioned scanning correction method for wafer inspection, the preset number of selected marking points is three, and the step of selecting the preset number of marking points from the wafer template according to the preset rule includes: The area of the triangle formed by the marking points at different positions is obtained, and the target point corresponding to the triangle with the largest area is determined as the marking point to be selected.
[0006] Furthermore, in the above scanning correction method for wafer inspection, the area calculation formula of the triangle is: S=(X 1 *Y 2 -X 1 *Y 3 +X 2 *Y 3 -X2 *Y 1 +X 3 *Y 1 -X 2 *Y 2 ); Among them, (X 1 , Y 1 )、(X 2 , Y 2 )、(X 3 , Y 3 ) are the center coordinates of the three different marking points.
[0007] Furthermore, in the above-mentioned scanning correction method for wafer inspection, after the step of cropping the search area of the marking point contained in each of the required scanning blocks and splicing the cropped search area of the marking point, the step further includes: Determine whether the position information of the marking point is successfully located; If not, the step of selecting a preset number of marking points from the wafer template according to the preset rules is executed again.
[0008] Furthermore, the scanning correction method for wafer inspection mentioned above, wherein before the step of calculating the positioning result of the marking point in the global coordinate system according to the position information of the marking point, it also includes: Determine whether the three marking points satisfy the three-point positioning; If not, the step of calculating the required scanning blocks according to the search range of the marking point is performed again.
[0009] Furthermore, in the above-mentioned scanning correction method for wafer inspection, the step of splicing the cropped search area of the marking point to locate the position information of the marking point includes: splicing the cropped search areas of the marking points to merge the marking point images; Positioning the marked points on the marked point image to obtain the actual positions of the marked points in the image coordinate system; The step of calculating the positioning result of the marking point in the global coordinate system according to the position information of the marking point comprises: The positioning result of the marking point in the global coordinate system is calculated by coordinate transformation.
[0010] Further, in the above scanning correction method for wafer inspection, the search range of the marking point is contained in one image block; Or contained in two vertical tiles; Or included in two horizontal tiles; Or contained in four horizontal tiles.
[0011] Another object of the present invention is to provide a scanning correction device for wafer inspection, the device comprising: A selection module is used to select a preset number of marking points from the wafer template according to a preset rule, and calculate the required scanning blocks according to the search range of the marking points; A cropping module, used for cropping the search area of the marking point contained in each of the required scanned image blocks, and splicing the cropped search area of the marking point to locate the position information of the marking point; A scanning module, used to calculate the positioning result of the marked point in the global coordinate system according to the position information of the marked point, calculate the global coordinates of the positioning point during the current scan by coordinate transformation, and calculate the affine matrix using the positioning results of the three positioning points and the position information of the marked point; The correction module is used to calculate the rotation angle and the position offset component according to the affine matrix through the position relationship between the scanning starting point and the camera center point, so as to correct the acquisition position during wafer scanning.
[0012] Another object of the present invention is to provide a readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the steps of any one of the methods described above.
[0013] Another object of the present invention is to provide an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the program.
[0014] The present invention selects a preset number of marking points from the wafer template according to a preset rule, and calculates the required scanning blocks according to the search range of the marking points; cuts the search area of the marking points contained in each required scanning block, and splices the cropped search area of the marking points to locate the position information of the marking points; calculates the positioning result of the marking points in the global coordinate system according to the position information of the marking points, and calculates the affine matrix using the positioning result and the position information of the marking points; calculates the rotation angle and the position offset component according to the affine matrix to correct the acquisition position during wafer scanning, so as to achieve the purpose of aligning the wafer scanning piece with the wafer template. The present invention solves the problem that the wafer scanning piece and the wafer template have deviations in the prior art, resulting in the inconsistency between their imaging and the template image. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 is a flow chart of a scanning correction method for wafer inspection in a first embodiment of the present invention; Figure 2 Schematic diagram of coordinate transformation in a scanning correction method for wafer inspection in one embodiment of the present invention; Figure 3 It is a structural block diagram of a scanning correction device for wafer inspection in the second embodiment of the present invention.
[0016] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION
[0017] 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.
[0018] 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.
[0019] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. 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 of the related listed items.
[0020] The following will describe in detail how to ensure that the wafer image is consistent with the template image when the wafer is scanned in conjunction with specific embodiments and drawings.
[0021] First embodiment See also Figure 1 , shown is a scanning correction method for wafer inspection in a first embodiment of the present invention, the method comprising steps S10 to S13.
[0022] Step S10, selecting a preset number of marking points from the wafer template according to a preset rule, and calculating the required scanning blocks according to the search range of the marking points.
[0023] Among them, a preset number of marking points (i.e., positioning MarK) are selected from the wafer template to calculate the required scanning block. Specifically, the search range of the marking points is the area occupied by the marking points in the scanning block, and then the required scanning block is determined based on the search range of the marking points. For example, based on which block the area occupied by the marking points is in, it can be determined that the block is the required scanning block for the marking points.
[0024] In addition, in some optional embodiments of the present invention, three marking points are set, and the selection strategy is to maximize the area of the triangle formed by the three marking points. Specifically, the area of the triangle formed by the marking points at different positions is obtained, and the target point corresponding to the triangle with the largest area is determined as the marking point to be selected. Specifically, the area of the triangle is calculated as follows: S=(X 1 *Y 2 -X 1 *Y 3 +X 2 *Y 3 -X 2 *Y 1 +X 3 *Y 1 -X 2 *Y 2 ); Among them, (X 1 , Y 1 )、(X 2 , Y 2 )、(X 3 , Y 3 ) are the center coordinates of the three different marking points.
[0025] Step S11 , cropping the search areas of the marking points contained in the required scanned image blocks, and splicing the cropped search areas of the marking points to locate the position information of the marking points.
[0026] Specifically, after determining each required tile, only the search area containing the marked point in the tile is cropped, and the cropped search area of the marked point is spliced to locate the position information of the marked point. Exemplarily, the search area is divided into four cases, and the search range of the marked point is contained in one tile, or in two vertical tiles, or in two horizontal tiles, or in four horizontal tiles.
[0027] In a specific implementation, the search area of the cropped marker points is spliced to merge the marker point image; the marker point image is positioned to obtain the actual position ImagePose (X, Y) of the marker point in the image coordinate system.
[0028] In addition, in some optional embodiments of the present invention, the step of cropping the search area of the marker point contained in each of the required scanned image blocks and splicing the cropped search area of the marker point further includes: Determine whether the position information of the marking point is successfully located; If not, the step of selecting a preset number of marking points from the wafer template according to the preset rules is executed again.
[0029] Among them, in order to further improve the accuracy of scanning correction, after the search area is stitched, it is determined whether the position information of the marking point is successfully located; if not, the step of selecting a preset number of marking points from the wafer template according to the preset rules is re-executed.
[0030] Step S12, calculating the positioning result of the marking point in the global coordinate system according to the position information of the marking point, and calculating the affine matrix using the positioning result and the position information of the marking point.
[0031] Specifically, Figure 2 As shown, the position information of the mark point is increased by the offset in the image coordinate system and converted to the global coordinate system GlobalPoseDst. The positioning result of the mark point in the global coordinate system is calculated through coordinate transformation, and the three-point positioning result in the global coordinate system and the position information of the Mark (mark point) in the template GlobalPoseSrc are used to calculate the affine matrix. The affine matrix can calculate the deviation between the wafer scan and the wafer template.
[0032] Among them, the affine matrix is composed of translation, rotation, scaling and other transformations, and it can simultaneously realize rotation, scaling, translation and other spatial transformations. In mathematics, affine transformation refers to the process of transforming a vector space to another vector space after a linear transformation and then a translation. This transformation maintains the "straightness" and "parallelism" of the two-dimensional graphics, that is, the straight line still maintains the properties of a straight line after the transformation, and the relative position relationship between the two-dimensional graphics remains unchanged.
[0033] An affine matrix is usually a 4x4 transformation matrix, which consists of a 3x3 linear transformation matrix and a 3x1 translation vector. In the finite-dimensional case, each affine transformation can be given by a matrix A and a vector b, which can be written as A with an additional column b. Composition of affine transformations corresponds to ordinary matrix multiplication, by adding an extra row at the bottom of the matrix, which is all zeros except for a 1 on the right, and a 1 at the bottom of the column vector.
[0034] You can use the 'cv2.getAffineTransform()' function in OpenCV to calculate the affine transformation matrix. Take the three-point positioning result GlobalPoseDst and the Mark position information GlobalPoseSrc in the template as parameters, and then return a 2x3 affine transformation matrix. The affine transformation matrix contains translation and rotation information.
[0035] In addition, in some optional embodiments of the present invention, before the step of calculating the positioning result of the marking point in the global coordinate system according to the position information of the marking point, the step further includes: Determine whether the three marking points satisfy the three-point positioning; If not, the step of calculating the required scanning blocks according to the search range of the marking point is performed again.
[0036] In order to further improve the accuracy of scanning correction, it is determined whether the marked points meet the three-point positioning. If not, the scanning block is calculated again.
[0037] Step S13, calculating the rotation angle and the position offset component according to the affine matrix to correct the acquisition position during wafer scanning.
[0038] Specifically, the rotation angle and position offset component are calculated according to the affine matrix, and the deviation between the current scanning film and the wafer template is calculated. Through the translation and rotation information, the motion control system is operated to adjust the wafer to achieve the alignment purpose, so that the acquisition position can be corrected to make the wafer imaging consistent with the template image.
[0039] In summary, the scanning correction method for wafer detection in the above-mentioned embodiment of the present invention selects a preset number of marking points from the wafer template according to a preset rule, and calculates the required scanning blocks according to the search range of the marking points; crops the search area of the marking points contained in each required scanning block, and splices the cropped search area of the marking points to locate the position information of the marking points; calculates the positioning result of the marking points in the global coordinate system according to the position information of the marking points, and calculates the affine matrix using the positioning result and the position information of the marking points; calculates the rotation angle and position offset component according to the affine matrix to correct the acquisition position during wafer scanning, so as to achieve the purpose of aligning the wafer scanning film with the wafer template. The problem that the wafer scanning film and the wafer template have deviations in the prior art, resulting in the inconsistency between their imaging and the template image, is solved.
[0040] Second embodiment See also Figure 3 , shown is a scanning correction device for wafer inspection proposed in a second embodiment of the present invention, the device comprising: A selection module 100 is used to select a preset number of marking points from the wafer template according to a preset rule, and calculate the required scanning blocks according to the search range of the marking points; A cropping module 200, used for cropping the search area of the marking point contained in each of the required scanned image blocks, and splicing the cropped search area of the marking point to locate the position information of the marking point; The scanning module 300 is used to calculate the positioning result of the marked point in the global coordinate system according to the position information of the marked point, calculate the global coordinates of the positioning point during the current scan by coordinate transformation, and calculate the affine matrix using the positioning results of the three positioning points and the position information of the marked point; The correction module 400 is used to calculate the rotation angle and the position offset component according to the affine matrix through the position relationship between the scanning starting point and the camera center point, so as to correct the acquisition position during wafer scanning.
[0041] Furthermore, in the above-mentioned scanning correction device for wafer inspection, the preset number of selected marking points is three, and the step of selecting the preset number of marking points from the wafer template according to the preset rule includes: The area of the triangle formed by the marking points at different positions is obtained, and the target point corresponding to the triangle with the largest area is determined as the marking point to be selected.
[0042] Furthermore, in some optional embodiments of the present invention, the area calculation formula of the triangle is: S=(X 1 *Y 2 -X 1 *Y 3 +X 2 *Y 3 -X 2 *Y 1 +X 3 *Y 1 -X 2 *Y 2 ); Among them, (X 1 , Y 1 )、(X 2 , Y 2 )、(X 3 , Y 3 ) are the center coordinates of the three different marking points.
[0043] Furthermore, in some optional embodiments of the present invention, the step of cropping the search area of the marker point contained in each of the required scanned image blocks and splicing the cropped search area of the marker point further includes: Determine whether the position information of the marking point is successfully located; If not, the step of selecting a preset number of marking points from the wafer template according to the preset rules is executed again.
[0044] Furthermore, in some optional embodiments of the present invention, before the step of calculating the positioning result of the marking point in the global coordinate system according to the position information of the marking point, the step further includes: Determine whether the three marking points satisfy the three-point positioning; If not, the step of calculating the required scanning blocks according to the search range of the marking point is performed again.
[0045] Furthermore, in some optional embodiments of the present invention, the step of splicing the cropped search area of the marker point to locate the position information of the marker point includes: splicing the cropped search areas of the marking points to merge the marking point images; Positioning the marked points on the marked point image to obtain the actual positions of the marked points in the image coordinate system; The step of calculating the positioning result of the marking point in the global coordinate system according to the position information of the marking point comprises: The positioning result of the marking point in the global coordinate system is calculated by coordinate transformation.
[0046] Furthermore, in some optional embodiments of the present invention, the search range of the marking point is contained in a picture block; Or contained in two vertical tiles; Or included in two horizontal tiles; Or contained in four horizontal tiles.
[0047] The functions or operation steps implemented when the above modules are executed are substantially the same as those in the above method embodiments, and will not be repeated here.
[0048] Third embodiment Another aspect of the present invention further provides a readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the steps of the method described in the first embodiment are implemented.
[0049] Fourth embodiment Another aspect of the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in the first embodiment when executing the program.
[0050] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0051] Those skilled in the art will appreciate that the logic and / or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be specifically implemented in any computer-readable storage 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 purposes of this specification, a "computer-readable storage medium" may 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.
[0052] More specific examples (a non-exhaustive list) of computer-readable storage media 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 storage 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.
[0053] 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, multiple 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 a combination thereof: 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.
[0054] 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.
[0055] 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 scanning correction method for wafer inspection, characterized in that: The method comprises: Selecting a preset number of marking points from the wafer template according to a preset rule, and calculating the required scanning blocks according to the search range of the marking points; Crop the search area of the marking point contained in each of the required scanned image blocks, and splice the cropped search area of the marking point to locate the position information of the marking point; Calculating a positioning result of the marking point in a global coordinate system according to the position information of the marking point, and calculating an affine matrix using the positioning result and the position information of the marking point; The rotation angle and position offset component are calculated according to the affine matrix to correct the acquisition position during wafer scanning.
2. The scanning correction method for wafer inspection according to claim 1, characterized in that: The preset number of selected marking points is three, and the step of selecting the preset number of marking points from the wafer template according to the preset rule includes: The area of the triangle formed by the marking points at different positions is obtained, and the target point corresponding to the triangle with the largest area is determined as the marking point to be selected.
3. The scanning correction method for wafer inspection according to claim 2, characterized in that: The area calculation formula of the triangle is: S=(X1*Y2-X1*Y3+X2*Y3-X2*Y1+X3*Y1-X2*Y2); Among them, (X1, Y1), (X2, Y2), and (X3, Y3) are the center coordinates of the three different marking points respectively.
4. The scanning correction method for wafer inspection according to claim 1, characterized in that: After the step of cropping the search area of the marking point contained in each of the required scanned image blocks and splicing the cropped search area of the marking point, the method further includes: Determine whether the position information of the marking point is successfully located; If not, the step of selecting a preset number of marking points from the wafer template according to the preset rules is executed again.
5. The scanning correction method for wafer inspection according to claim 1, characterized in that: Before the step of calculating the positioning result of the marking point in the global coordinate system according to the position information of the marking point, the method further includes: Determine whether the three marking points satisfy the three-point positioning; If not, the step of calculating the required scanning blocks according to the search range of the marking point is performed again.
6. The scanning correction method for wafer inspection according to claim 1, characterized in that: The step of splicing the cropped search area of the marking point to locate the position information of the marking point includes: splicing the cropped search areas of the marking points to merge the marking point images; Positioning the marked points on the marked point image to obtain the actual positions of the marked points in the image coordinate system; The step of calculating the positioning result of the marking point in the global coordinate system according to the position information of the marking point comprises: The positioning result of the marked point in the global coordinate system is calculated by coordinate transformation.
7. The scanning correction method for wafer inspection according to any one of claims 1 to 6, characterized in that: The search range of the marking point is contained in one image block; Or contained in two vertical tiles; Or included in two horizontal tiles; Or contained in four horizontal tiles.
8. A scanning correction device for wafer inspection, characterized in that: The device comprises: A selection module, used to select a preset number of marking points from the wafer template according to a preset rule, and calculate the required scanning blocks according to the search range of the marking points; A cropping module, used for cropping the search area of the marking point contained in each of the required scanned image blocks, and splicing the cropped search area of the marking point to locate the position information of the marking point; A scanning module, used to calculate the positioning result of the marked point in the global coordinate system according to the position information of the marked point, calculate the global coordinates of the positioning point during the current scan by coordinate transformation, and calculate the affine matrix using the positioning results of the three positioning points and the position information of the marked point; The correction module is used to calculate the rotation angle and the position offset component according to the affine matrix through the position relationship between the scanning starting point and the camera center point, so as to correct the acquisition position during wafer scanning.
9. A readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Template matching alignment method based on affine iterative transformation
CN111461030A
Image correction method and device, electronic equipment and storage medium thereof
CN116071272A
Wafer grain image reconstruction method and device, electronic equipment and storage medium
CN117058005A
Wafer morphology measurement method and device, readable storage medium and electronic equipment
CN117664022A
Crystal grain coordinate sorting method and system
CN117871416A
Cited By
Wafer accurate positioning method and device, electronic equipment and storage medium
CN120809652A
