A method, device, system and medium for calibrating the position of a camera and a turntable
By establishing a parallel coordinate system on the turntable, using front and side cameras to acquire images and determine wafer parameters, the problem of difficulty in marking the side area of the silicon wafer is solved, the position calibration accuracy of the camera and turntable is improved, and the accuracy of defect location is improved .
Patent Information
- Application Number
- CN202310430814.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-20
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2043-04-20
AI Technical Summary
The existing camera position calibration method is difficult to mark the side area of the silicon wafer, resulting in deviations in defect positioning, and cannot meet the positioning accuracy requirements of high-precision visual positioning systems.
By establishing a turntable coordinate system parallel to the first surface on the turntable, using the front camera and the side camera to obtain the detection image, determine the coordinate points of the detection mark and the orientation mark, calculate the center point, radius and deflection angle of the wafer, and then determine the side camera The angle between the azimuth and the coordinate axis of the turntable is measured accurately using multiple parameters to improve the calibration accuracy.
It improves the position calibration accuracy of the side camera and the turntable, eliminates defect positioning deviations caused by inaccurate azimuth angles, and improves the accuracy of subsequent defect positioning.
Smart Images

Figure CN116452679B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of camera calibration, and in particular to a method, device, system and medium for calibrating the position of a camera and a turntable. Background Art
[0002] With the continuous development of the solar cell field, the photovoltaic industry chain has higher and higher requirements for the fragmentation rate of silicon wafers / cells, higher positioning accuracy, and simpler maintenance. This high-precision visual positioning system is one of the main ways to reduce the fragmentation rate of silicon wafers / cells and improve positioning accuracy.
[0003] When using a visual positioning system to detect the type and location of defects in silicon wafers / cells, the relative position of each camera in the visual positioning system is the key data for accurately locating the defect position in the silicon wafer. Mechanical assembly can ensure a certain error, but to obtain more accurate defect location accuracy, it is necessary to measure the system error and eliminate it during the defect location process. At present, the commonly used camera position calibration method is to use each camera to align the marked position with a known position relationship, and obtain the camera position by reverse calculation.
[0004] However, the above-mentioned camera position calibration method is only suitable for the area where the pattern is engraved on the front side of the silicon wafer, and it is difficult to add markings to the side area of the silicon wafer. Summary of the invention
[0005] The present invention provides a method, device, system and medium for calibrating the position of a camera and a turntable, which can improve the calibration accuracy of a side camera and a turntable, so as to eliminate the problem of deviation in defect positioning due to inaccurate azimuth angle of the side camera in the subsequent inspection of the side edge of the wafer, thereby improving the accuracy of subsequent defect positioning.
[0006] In a first aspect, the present invention provides a method for calibrating the position of a camera and a turntable, wherein the turntable is used to place a wafer to be inspected; the wafer comprises a first surface facing away from the turntable and a side surface adjacent to the first surface; the edge of the first surface comprises at least three inspection marks and at least one orientation mark; the camera comprises a front camera and a side camera; the method for calibrating the position of the camera and the turntable comprises:
[0007] Establishing a turntable coordinate system parallel to the first surface with the center of the turntable as the origin;
[0008] When the turntable drives the wafer to rotate, a front detection image of an edge of the first surface is acquired based on the front camera, and a side detection image of the side surface is acquired based on the side camera;
[0009] Determine, according to the front detection image, the detection mark coordinate point of each detection mark on the turntable coordinate system and the orientation coordinate point of the orientation mark on the turntable coordinate system;
[0010] Determine the center coordinate point of the center of the wafer on the turntable coordinate system, the actual radius of the wafer, and the deflection angle of the center according to each of the detection mark coordinate points and the azimuth coordinate points;
[0011] When the turntable rotates a preset angle, the azimuth angle between the side camera and the coordinate axis of the turntable coordinate system is determined according to the preset angle, the side detection image, the center coordinate point, the actual radius, the deflection angle and the theoretical radius of the wafer.
[0012] In a second aspect, the present invention provides a position calibration device for a camera and a turntable, comprising:
[0013] A turntable coordinate system establishing module, used to establish a turntable coordinate system parallel to the first surface with the center of the turntable as the origin;
[0014] a detection image acquisition module, configured to acquire a front detection image of an edge of the first surface based on the front camera, and acquire a side detection image of the side surface based on the side camera, when the turntable drives the wafer to rotate;
[0015] A coordinate point determination module, used for determining the detection mark coordinate point of each detection mark on the turntable coordinate system and the orientation coordinate point of the orientation mark on the turntable coordinate system according to the front detection image;
[0016] A wafer parameter determination module, used to determine the center coordinate point of the center of the wafer on the turntable coordinate system, the actual radius of the wafer and the deflection angle of the center according to each of the detection mark coordinate points and the azimuth coordinate points;
[0017] An azimuth angle determination module is used to determine the azimuth angle between the side camera and the coordinate axis of the turntable coordinate system according to the preset angle, the side detection image, the center coordinate point, the actual radius, the deflection angle and the theoretical radius of the wafer when the turntable rotates by a preset angle.
[0018] In a third aspect, the present invention provides a position calibration system for a camera and a turntable, comprising: a turntable, a front camera, a side camera, a wafer, and a controller;
[0019] The turntable is used to place the wafer;
[0020] The wafer includes a first surface facing away from the turntable and a side surface adjacent to the first surface;
[0021] The front camera is used to obtain a front detection image of the edge of the first surface;
[0022] The side camera is used to obtain a side detection image of the side;
[0023] The controller is electrically connected to the front camera and the side camera respectively, and is used to execute the position calibration method of the camera and the turntable described in the first aspect.
[0024] In a fourth aspect, the present invention provides a computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a processor to implement the camera and turntable position calibration method described in the first aspect when executed.
[0025] The technical solution provided by the present invention establishes a turntable coordinate system parallel to the first surface with the center of the turntable as the origin, and when the turntable drives the wafer to rotate, a front detection image of the edge of the first surface is obtained based on the front camera, and a side detection image of the side is obtained based on the side camera, so as to determine the detection mark coordinate points of each detection mark on the turntable coordinate system and the azimuth coordinate points of the orientation mark on the turntable coordinate system according to the front detection image, and then determine the center coordinate point of the wafer on the turntable coordinate system and the center coordinate point of the wafer on the turntable coordinate system according to each detection mark coordinate point and the azimuth coordinate point. The actual radius of the circle and the deflection angle of the center of the circle. When the turntable rotates to a preset angle, the azimuth angle of the coordinate axes of the side camera and the turntable coordinate system are determined according to the preset angle, the side detection image, the coordinate point of the center of the circle, the actual radius, the deflection angle and the theoretical radius of the wafer. In this way, the azimuth angle is determined by multi-parameter precise measurement, which can improve the accuracy of the position calibration of the side camera and the turntable, so as to eliminate the problems such as deviation in defect positioning due to inaccurate azimuth angle of the side camera in the subsequent inspection of the side of the wafer, thereby improving the accuracy of subsequent defect positioning. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 A schematic diagram of the structure of a camera and a turntable provided in an embodiment of the present invention;
[0027] Figure 2 A flow chart of a method for calibrating the position of a camera and a turntable provided in an embodiment of the present invention;
[0028] Figure 3 A schematic diagram of a front detection mark provided by an embodiment of the present invention;
[0029] Figure 4 A method of obtaining a front camera using an embodiment of the present invention Figure 3 Schematic diagram of the front detection image of the middle area Q;
[0030] Figure 5A flowchart of another method for calibrating the position of a camera and a turntable provided by an embodiment of the present invention;
[0031] Figure 6 A flowchart of another method for calibrating the position of a camera and a turntable provided in an embodiment of the present invention;
[0032] Figure 7 A schematic diagram of the structure of a side camera and a turntable provided in an embodiment of the present invention;
[0033] Figure 8 A schematic diagram of a position calibration device for a camera and a turntable provided in an embodiment of the present invention;
[0034] Fig. 9 A schematic structural diagram of a camera and turntable position calibration system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0035] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0036] Figure 1 A schematic diagram of the structure of a camera and a turntable provided in an embodiment of the present invention is shown in FIG. Figure 1 As shown, the turntable 10 is used to place a wafer 20 to be inspected. The wafer 20 includes a first surface 21 facing away from the turntable 10 and a side surface 22 adjacent to the first surface. The edge of the first surface 21 includes at least three detection marks and at least one orientation mark. The camera includes a front camera 30 and a side camera 40.
[0037] Among them, the wafer 20 is placed on the turntable 10 by vacuum adsorption or other means, and the front camera 30 is placed in a fixed area on the side of the first surface 21, and the side camera 40 is placed in a fixed area on the side of the side 22. The turntable 10 can be controlled to rotate by manual or automatic control equipment. When the turntable 10 drives the wafer 20 to rotate, the front camera 30 obtains the image of the current front detection area, and the side camera 40 obtains the image in the current side detection area. The images of each front detection area obtained by the front camera 30 are spliced into a wafer front image, and the images of each side detection area obtained by the side camera 40 are spliced into a wafer side image. The front image and the side image of the wafer are analyzed to determine the defect type and defect position in the image, and then the specific position of the defect in the wafer is determined by the coordinate position of the front camera and / or the side camera in the turntable coordinate system. Therefore, before determining the specific position of the defect on the wafer, it is necessary to determine the specific orientation of the front camera and the side camera in the turntable coordinate system.
[0038] Based on the above content, an embodiment of the present invention provides a method for calibrating the position of a camera and a turntable. The method is suitable for determining the position relationship between a turntable and a camera. The method can be executed by a camera and turntable position calibration device provided by an embodiment of the present invention. The camera and turntable position calibration device can be implemented in the form of hardware and / or software. Figure 2 A flow chart of a method for calibrating the position of a camera and a turntable provided in an embodiment of the present invention, such as Figure 2 As shown, the position calibration method of the camera and the turntable includes:
[0039] S101, establishing a turntable coordinate system parallel to the first surface with the center of the turntable as the origin.
[0040] Specifically, refer to Figure 1 The turntable 10 includes a circular supporting platform, and the center of the circular supporting platform is the origin O. A turntable coordinate system (not shown in the figure) parallel to the first surface 21 is established based on the origin O. The specific orientation of the coordinate system is not specifically limited here. It is only necessary that the X-axis and the Y-axis in the coordinate system are perpendicular and pass through the origin O. After the turntable coordinate system is established, the subsequent position calibration process is completed based on the turntable coordinate system, and the turntable coordinate system no longer changes, thereby preventing errors in the calibration position due to different turntable coordinate systems and ensuring the accuracy of the position calibration.
[0041] S102, when the turntable drives the wafer to rotate, a front detection image of an edge of the first surface is obtained based on the front camera, and a side detection image of the side is obtained based on the side camera.
[0042] Specifically, refer to Figure 1 , the front camera 30 is located directly above the edge 22 of the first surface of the wafer 20. The position of the front camera 30 relative to the turntable coordinate system is fixed. By rotating the turntable 10 at different angles, the front camera 30 can obtain different front detection images. Correspondingly, the azimuth angle of the side camera 40 relative to the coordinate axis of the turntable coordinate system is fixed. By rotating the turntable 10 at different angles, the side camera 40 can obtain different side detection images, so that position calibration can be performed later according to the parameter information of the front detection image and the side detection image.
[0043] S103, determining the detection mark coordinate points of each detection mark on the turntable coordinate system and the orientation coordinate points of the orientation mark on the turntable coordinate system according to the front detection image.
[0044] Wherein, each detection mark and orientation mark is located at the edge of the first surface of the wafer.
[0045] For example, Figure 3 A schematic diagram of a positive detection mark provided by an embodiment of the present invention, referring to Figure 3, A(x1,y1), B(x1,y1) and C(x1,y1) are the coordinate points of each detection mark on the turntable coordinate system, Notch(Notch x ,Notch y ) is the coordinate point of the orientation mark on the turntable coordinate system.
[0046] Figure 4 A method of obtaining a front camera using an embodiment of the present invention Figure 3 Schematic diagram of the positive detection image of the middle area Q, combined with reference Figure 3 and Figure 4 Before the front camera acquires the front detection image, the position coordinates of the center point of the front camera in the turntable coordinate system are known. Therefore, after the front camera acquires the front detection image, the coordinates (x1, y1) of the detection mark point A in the turntable coordinate system are determined according to the positional relationship between the detection mark point A (x1, y1) and the center point of the front camera in the front detection image, the magnification of the front camera, and the coordinate position of the center point of the front camera in the turntable coordinate system. The method for determining the coordinate points of other detection mark points B, C and the orientation mark Notch in the turntable coordinate system is similar to the method for determining the coordinate points of the detection mark point A mentioned above, and the above description can be referred to, which will not be repeated here.
[0047] It is understandable that the positional relationship of each detection mark can be as described above. Figure 3 As shown, it can also be others, but it must include at least three detection marks, that is, at least three detection mark points can determine the actual outline of the wafer. The specific selection method is related to the rotation angle of the turntable and can be set according to actual needs. No specific limitation is made here.
[0048] It should be noted that before the front camera acquires the front detection image, the process of determining the position coordinates of the center point of the front camera in the turntable coordinate system can refer to the following description: the front camera is placed at a suitable position on the first surface side of the wafer, so that when the turntable drives the wafer to rotate, the front camera can detect various positions of the edge of the first surface of the wafer. In the subsequent process of acquiring the front detection image, the projection position of the center point of the front camera in the turntable coordinate system is fixed, and the position coordinates of one of the detection marks or orientation marks and other marking points in the wafer coordinate system are obtained through other detection methods; when the turntable is controlled to rotate a certain angle, the marking point with known position coordinates appears in the image acquisition field of view of the front camera. At this time, the front camera acquires an image including the marking point, and determines the position relationship between the mark and the center point of the front camera in the real physical world according to parameters such as the magnification of the front camera, and then determines the coordinates of the front camera in the turntable coordinate system according to the above position relationship and the calculation relationship between parameters such as the deviation distance between the wafer center and the origin of the turntable coordinate system.
[0049] The calculation relationship can be E*p+E*s=rz -1 *(y+f), E is the wafer rotation matrix, p is the position coordinate of the mark point in the wafer coordinate system, s is the distance between the center of the wafer and the origin of the turntable coordinate system, rz is the rotation parameter of the front camera, y is the relative position coordinate of the mark in the physical coordinate system and the center of the front camera, and f is the coordinate point of the center of the front camera in the turntable coordinate system.
[0050] Specifically, s, rz and f in the calculation relationship are unknown quantities, which need to be solved by substituting the parameter information of multiple sets of front detection images into the above calculation relationship. After the turntable rotates a certain angle, the wafer rotation matrix E can be determined according to the angle. p is a known quantity, that is, the position coordinates of a certain mark in the wafer coordinate system are known. After the front camera obtains the front detection image, the relative position coordinates y of the mark in the physical coordinate system and the center of the front camera can be obtained according to the pixel position of the mark in the front detection image and the magnification of the front camera. It is necessary to obtain at least three sets of front detection images, and substitute E, p and y corresponding to each front detection image into the above calculation relationship. Solving the three-variable linear equation can obtain s, rz and f.
[0051] It can be understood that the above-mentioned positional relationship between the front camera and the turntable is only an exemplary description and may be other, and the embodiment of the present invention does not specifically limit this.
[0052] S104 , determining the center coordinate point of the wafer on the turntable coordinate system, the actual radius of the wafer, and the deflection angle of the center according to the detection mark coordinate points and the azimuth coordinate points.
[0053] Among them, the actual radius of the wafer corresponds to the theoretical radius of the wafer. When preparing the wafer according to the theoretical radius, due to the preparation process or preparation tools, etc., there is an error between the actual radius of the prepared wafer and the theoretical radius. Therefore, it is necessary to determine the actual radius of the wafer here to ensure the accuracy of the subsequent position calibration based on the actual radius. The deflection angle of the center of the circle can be the angle between the center of the wafer and the coordinate axis in the turntable coordinate system, which can be positive or negative.
[0054] Specifically, after determining the above-mentioned detection mark coordinate point, the center coordinate point of the wafer in the turntable coordinate system is determined according to the principle of determining a circle by three points, and the actual radius of the wafer is determined by the calculated relationship between the center coordinate point, the detection mark coordinate point and the actual radius of the wafer, and the deviation angle of the center is determined according to the calculated relationship between the center coordinate point, the azimuth coordinate point and the deviation angle of the center, so as to subsequently determine the azimuth angle between the side camera and the coordinate axis of the turntable coordinate system according to the center coordinate point, the actual radius of the wafer, the deviation angle of the center and other parameters.
[0055] S105. When the turntable rotates to a preset angle, determine the azimuth angle between the side camera and the coordinate axis of the turntable coordinate system according to the preset angle, the side detection image, the center coordinate point, the actual radius, the deflection angle and the theoretical radius of the wafer.
[0056] Among them, the preset angle can be a fixed value or a non-fixed value, and can be determined according to the actual detection process. The value range of the preset angle can be 0°-360°. In an exemplary embodiment, the preset angle can be 90°. In another exemplary embodiment, the preset angle can also be 80° or 120°.
[0057] Specifically, when the turntable rotates to a preset angle, the side camera acquires the side detection image while the side camera can display parameter information about the current side detection image. The azimuth angle between the side camera and the turntable coordinate system is determined based on the preset angle, the parameter information of the side detection image, the center coordinate point, the actual radius, the deflection angle, and the geometric relationship between the theoretical radius of the wafer and the azimuth angle between the coordinate axes of the side camera and the turntable coordinate system. In this way, by acquiring multiple parameters related to the azimuth angle between the coordinate axes of the side camera and the turntable coordinate system and determining the azimuth angle based on the multiple parameters, the accuracy of determining the azimuth angle can be improved.
[0058] The technical solution provided by the embodiment of the present invention establishes a turntable coordinate system parallel to the first surface with the center of the turntable as the origin, and when the turntable drives the wafer to rotate, obtains a front detection image of the edge of the first surface based on the front camera, and obtains a side detection image of the side based on the side camera, so as to determine the detection mark coordinate points of each detection mark on the turntable coordinate system and the azimuth coordinate points of the orientation mark on the turntable coordinate system according to the front detection image, and then determine the center coordinate point of the wafer on the turntable coordinate system according to each detection mark coordinate point and the azimuth coordinate point. , the actual radius of the wafer and the deflection angle of the center of the circle. When the turntable rotates to a preset angle, the azimuth angle between the coordinate axes of the side camera and the turntable coordinate system is determined according to the preset angle, the side detection image, the coordinate point of the center of the circle, the actual radius, the deflection angle and the theoretical radius of the wafer. In this way, the azimuth angle is determined by multi-parameter precise measurement, which can improve the accuracy of the position calibration of the side camera and the turntable, so as to eliminate the problems such as deviation in defect positioning due to inaccurate azimuth angle of the side camera in the subsequent inspection of the side of the wafer, thereby improving the accuracy of subsequent defect positioning.
[0059] In an alternative embodiment, reference Figure 3 When the edge of the first surface includes three detection marks and one orientation mark, the orientation mark and the detection marks can be evenly distributed on the edge of the first surface.
[0060] When the turntable rotates, the orientation mark is used to assist in determining the direction and angle of rotation.
[0061] Specifically, after the front camera acquires the orientation mark, the turntable is rotated 90° in sequence to acquire front detection images corresponding to three evenly distributed detection marks, and the rotation direction can be clockwise or counterclockwise.
[0062] It is understandable that the positional relationship between the three detection marks and the orientation mark may be other than uniform distribution. According to the position of the orientation mark, the turntable may be controlled to rotate at different angles to obtain detection marks at different positions.
[0063] Optional, Figure 5 A flowchart of another method for calibrating the position of a camera and a turntable provided in an embodiment of the present invention, referring to Figure 3 When the edge of the first surface includes three detection marks A, B, C and one orientation mark Notch, the orientation mark Notch and the detection marks A, B, C are evenly distributed on the edge of the first surface. Figure 5 As shown, according to the detection mark coordinate points A, B, C and the orientation coordinate point Notch, the center coordinate point of the wafer on the turntable coordinate system, the actual radius of the wafer and the deflection angle of the center are determined, specifically including:
[0064] S141. According to each detection mark coordinate point, based on the first calculation formula, determine the center coordinate point of the wafer on the turntable coordinate system and the actual radius of the wafer.
[0065] The first calculation formula is:
[0066]
[0067] Among them, (s x ,s y ) is the center coordinate point of the wafer in the turntable coordinate system; (x1, y1), (x2, y2), (x3, y3) are the coordinate points of each detection mark in the turntable coordinate system; r is the actual radius of the wafer.
[0068] Specifically, the coordinate points of the center of the wafer (s x ,s y ) and x 2 +s y 2 -r 2 The result value is calculated by s x 2 +s y 2 , will s x 2 +s y2 -r 2 The result value is the same as s x 2 +s y 2 The actual radius r of the wafer can be obtained by calculating the difference between the results and taking the square root. x 2 +s y 2 The square root of the calculation result can also be used to obtain the distance s between the center of the wafer and the origin of the turntable coordinate system.
[0069] S142. Determine the deflection angle of the circle center according to the circle center coordinate point and the azimuth coordinate point.
[0070] Specifically, in the turntable coordinate system, according to the position and azimuth relationship between the center coordinate point, the azimuth coordinate point and the deflection angle of the center of the circle, a calculation relationship between the three is established through trigonometric functions and the like, and the deflection angle of the center of the circle is determined based on the calculation relationship.
[0071] Optionally, determining the deflection angle of the center of the circle according to the center coordinate point and the azimuth coordinate point specifically includes: determining the deflection angle of the center of the circle according to the center coordinate point and the azimuth coordinate point based on a second calculation formula, the second calculation formula being:
[0072]
[0073] Among them, (Notch x , Notch y ) is the coordinate point of the azimuth coordinate point in the turntable coordinate system, and t is the deflection angle of the center of the circle.
[0074] Specifically, refer to Figure 3 When the azimuth coordinate point is close to the negative direction of the Y axis in the turntable coordinate system, the calculation relationship between the center coordinate point, the azimuth coordinate point and the deflection angle of the center of the circle is the second calculation formula, and Notch x 、Notch y 、s x ,s y Substituting into the second calculation formula, the deflection angle t of the center of the circle can be obtained.
[0075] It can be understood that the above-mentioned second calculation formula is only established for illustrative purposes based on the position of the azimuth coordinate point close to the negative direction of the Y-axis in the turntable coordinate system. When the azimuth coordinate point is at other positions in the turntable coordinate system, the second calculation formula can be adjusted accordingly. The adjusted second calculation formula is similar to the calculation principle listed above and will not be repeated here.
[0076] In an optional embodiment, Figure 6A flowchart of another method for calibrating the position of a camera and a turntable provided in an embodiment of the present invention, Figure 7 A schematic diagram of the structure of a side camera and a turntable provided in an embodiment of the present invention, as shown in FIG. Figure 6 As shown, when the turntable rotates at a preset angle, the azimuth angle between the side camera and the coordinate axis of the turntable coordinate system is determined according to the preset angle, the side detection image, the center coordinate point, the actual radius, the deflection angle and the theoretical radius of the wafer, specifically including:
[0077] S151. When the turntable drives the wafer to rotate, the rotation angle of the turntable and the side detection image obtained based on the side camera at the current rotation angle are obtained in real time.
[0078] Specifically, refer to Figure 7 , the rotation angle of the turntable is θ, and the rotation angle θ can be determined according to the azimuth coordinate point of the azimuth mark. When the current rotation angle θ of the turntable is a preset angle, the side detection image of the wafer at the rotation angle can be obtained through the side camera, so as to subsequently determine the azimuth angle according to the rotation angle and the side detection image at the rotation angle, thereby improving the accuracy of the azimuth angle.
[0079] S152: Determine the optimal focal plane deviation of the side camera at the current rotation angle according to the side detection image acquired by the side camera at the current rotation angle.
[0080] Specifically, when the side camera acquires the side detection image, it can realize automatic focusing. During the focusing process, the deviation between the actual detection image and its best focal plane, that is, the best focal plane deviation, can be known. Figure 6 , the optimal focal plane deviation is the distance between the actual focal plane J1 and the optimal focal plane J2. When the side camera acquires the side detection image, the optimal focal plane deviation can be obtained in the side camera.
[0081] S153. When the current rotation angle is used as the preset angle, the azimuth angle between the side camera and the coordinate axis of the turntable coordinate system is determined according to the preset angle, the optimal focal plane deviation, the center coordinate point, the actual radius, the deflection angle and the theoretical radius of the wafer.
[0082] Specifically, in the turntable coordinate system, according to the preset angle, the best focal plane deviation, the center coordinate point, the actual radius, the deflection angle, the theoretical radius of the wafer, the azimuth angle θ between the side camera and the coordinate axis of the turntable coordinate system, R1 The position and orientation relationship of the side camera is determined by using trigonometric functions and the like, and the azimuth angle θ between the coordinate axes of the turntable coordinate system is determined based on the calculation relationship. R1 .
[0083] Optional, reference Figure 7, according to the preset angle, the best focal plane deviation, the center coordinate point, the actual radius, the deflection angle and the theoretical radius of the wafer, determine the azimuth angle between the side camera and the coordinate axis of the turntable coordinate system, specifically including: according to the current rotation angle, the best focal plane deviation, the center coordinate point, the actual radius, the deflection angle and the theoretical radius of the wafer, based on the third calculation formula, determine the azimuth angle between the side camera and the coordinate axis of the turntable coordinate system, the third calculation formula is:
[0084]
[0085] Where B is the optimal focal plane deviation, θ is the current rotation angle, r0 is the theoretical radius of the wafer, r is the actual radius of the wafer, and θ R1 is the azimuth angle between the side camera and the coordinate axis of the turntable coordinate system, (s x ,s y ) is the center coordinate point of the wafer on the turntable coordinate system, and t is the deflection angle.
[0086] Specifically, the distance s between the center of the wafer and the origin of the turntable coordinate system can be calculated by The deflection angle t is the angle between the line connecting the center of the side camera and the origin and the positive direction of the X-axis of the turntable coordinate system, which can be a positive angle or a negative angle.
[0087] It can be understood that the above-mentioned third calculation formula is only used as an example to illustrate the azimuth angle between the side camera and the positive direction of the X-axis of the turntable coordinate system. The azimuth angle can also be the angle between the side camera and other orientations in the turntable coordinate system. The third calculation formula can be adjusted according to actual conditions and is not specifically limited here.
[0088] Optionally, the azimuth angle calculated based on the above-mentioned third calculation formula is a calculation method that combines theory and practice. This calculation method may have certain errors. At this time, the azimuth angles at different preset angles can be determined based on the third calculation formula, and the azimuth angles of the side camera and the coordinate axes of the turntable coordinate system can be determined based on the average value of each azimuth angle.
[0089] Specifically, during the rotation of the turntable, the side camera acquires side detection images in real time, that is, the side camera can obtain side detection images corresponding to different rotation angles. At this time, based on the third calculation formula, the azimuth angles corresponding to different side detection images can be determined respectively, and the average value of each azimuth angle is added and taken as the azimuth angle of the coordinate axis of the side camera and the turntable coordinate system, thereby reducing the calculation error of the azimuth angle and improving the accuracy of the determined azimuth angle, thereby improving the accuracy of the camera and turntable position calibration, and then in the subsequent defect detection process, it can have a higher defect position positioning accuracy.
[0090] Based on the same inventive concept, an embodiment of the present invention further provides a camera and turntable position calibration device, which can execute the camera and turntable position calibration method provided by the embodiment of the present invention. The device can be implemented in the form of hardware and / or software, and the device can be integrated into the camera and turntable position calibration system provided by the present invention. Figure 8 A schematic diagram of a position calibration device for a camera and a turntable provided in an embodiment of the present invention is shown in FIG. Figure 8 As shown, the device comprises:
[0091] A turntable coordinate system establishing module 11, used to establish a turntable coordinate system parallel to the first surface with the center of the turntable as the origin;
[0092] The detection image acquisition module 12 is used to acquire a front detection image of the edge of the first surface based on the front camera and to acquire a side detection image of the side based on the side camera when the turntable drives the wafer to rotate;
[0093] A coordinate point determination module 13, for determining the detection mark coordinate points of each detection mark on the turntable coordinate system and the orientation coordinate points of the orientation mark on the turntable coordinate system according to the front detection image;
[0094] The wafer parameter determination module 14 is used to determine the center coordinate point of the wafer on the turntable coordinate system, the actual radius of the wafer and the deflection angle of the center according to the detection mark coordinate points and the azimuth coordinate points;
[0095] The azimuth angle determination module 15 is used to determine the azimuth angle between the side camera and the coordinate axis of the turntable coordinate system according to the preset angle, the side detection image, the center coordinate point, the actual radius, the deflection angle and the theoretical radius of the wafer when the turntable rotates by a preset angle.
[0096] The camera and turntable position calibration device provided in the embodiment of the present invention can execute the camera and turntable position calibration method provided in the above embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. The similarities can be referred to the above description.
[0097] Based on the same inventive concept, an embodiment of the present invention further provides a camera and turntable position calibration system, which can execute the camera and turntable position calibration method provided in an embodiment of the present invention, and the system can be implemented in the form of hardware and / or software. Fig. 9A structural schematic diagram of a camera and turntable position calibration system provided for an embodiment of the present invention includes: a turntable 10, a front camera 30, a side camera 40, a wafer 20 and a controller 50; the turntable 10 is used to place the wafer 20; the wafer 20 includes a first surface 21 facing away from the turntable 10 and a side surface 22 adjacent to the first surface 21; the front camera 30 is used to obtain a front detection image of the edge of the first surface 21; the side camera 40 is used to obtain a side detection image of the side 22.
[0098] Among them, the controller 50 is electrically connected to the front camera 30 and the side camera 40 respectively, and is used to execute the camera and turntable position calibration method of the above embodiment of the present invention. It has functional modules and beneficial effects corresponding to the execution method. The similarities can be referred to the above description.
[0099] Based on the same inventive concept, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer instructions. The computer instructions are used to enable a processor to implement the camera and turntable position calibration method of the above-mentioned embodiment of the present invention when executed. The method has corresponding functional modules and beneficial effects, which will not be repeated here.
[0100] Computer readable storage medium can be a tangible medium that can contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. Computer readable storage medium can include but is not limited to electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the above. Alternatively, computer readable storage medium can be a machine readable signal medium. More specific examples of machine readable storage medium can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.
[0101] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, combinations and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for calibrating the position of a camera and a turntable, characterized in that: The turntable is used to place a wafer to be inspected; the wafer includes a first surface facing away from the turntable and a side surface adjacent to the first surface; the edge of the first surface includes at least three inspection marks and at least one orientation mark; the camera includes a front camera and a side camera; The position calibration method of the camera and the turntable comprises: Establishing a turntable coordinate system parallel to the first surface with the center of the turntable as the origin; When the turntable drives the wafer to rotate, a front detection image of an edge of the first surface is acquired based on the front camera, and a side detection image of the side surface is acquired based on the side camera; Determine, according to the front detection image, the detection mark coordinate point of each detection mark on the turntable coordinate system and the orientation coordinate point of the orientation mark on the turntable coordinate system; Determine the center coordinate point of the center of the wafer on the turntable coordinate system, the actual radius of the wafer, and the deflection angle of the center according to each of the detection mark coordinate points and the azimuth coordinate points; When the turntable rotates a preset angle, the azimuth angle between the side camera and the coordinate axis of the turntable coordinate system is determined according to the preset angle, the side detection image, the center coordinate point, the actual radius, the deflection angle and the theoretical radius of the wafer.
2. The method for calibrating the position of a camera and a turntable according to claim 1, characterized in that: When the edge of the first surface includes three detection marks and one orientation mark, the orientation mark and the detection marks are evenly distributed on the edge of the first surface.
3. The method for calibrating the position of a camera and a turntable according to claim 2, characterized in that: Determining the center coordinate point of the center of the wafer on the turntable coordinate system, the actual radius of the wafer, and the deflection angle of the center according to each of the detection mark coordinate points and the azimuth coordinate points, including: According to each of the detection mark coordinate points, based on a first calculation formula, respectively determining the center coordinate point of the center of the wafer on the turntable coordinate system and the actual radius of the wafer; Determine the deflection angle of the center of the circle according to the center coordinate point and the azimuth coordinate point; The first calculation formula is: Among them, (s x ,s y ) is the center coordinate point of the wafer in the turntable coordinate system; (x1, y1), (x2, y2), (x3, y3) are the coordinate points of each detection mark in the turntable coordinate system; r is the actual radius of the wafer.
4. The method for calibrating the position of a camera and a turntable according to claim 3, characterized in that: Determining the deflection angle of the center of the circle according to the center coordinate point and the azimuth coordinate point includes: Determine the deflection angle of the center of the circle based on the center coordinate point and the azimuth coordinate point and based on a second calculation formula; The second calculation formula is: Among them, (Notch x , Notch y ) is the coordinate point of the azimuth coordinate point in the turntable coordinate system, and t is the deflection angle of the center of the circle.
5. The method for calibrating the position of a camera and a turntable according to claim 1, characterized in that: When the turntable rotates a preset angle, determining the azimuth angle between the side camera and the coordinate axis of the turntable coordinate system according to the preset angle, the side detection image, the center coordinate point, the actual radius, the deflection angle and the theoretical radius of the wafer, including: When the turntable drives the wafer to rotate, the rotation angle of the turntable and the side detection image acquired based on the side camera at the current rotation angle are acquired in real time; Determining, according to the side detection image acquired by the side camera at the current rotation angle, an optimal focal plane deviation of the side camera at the current rotation angle; When the current rotation angle is used as the preset angle, the azimuth angle between the side camera and the coordinate axis of the turntable coordinate system is determined according to the preset angle, the optimal focal plane deviation, the center coordinate point, the actual radius, the deflection angle and the theoretical radius of the wafer.
6. The method for calibrating the position of a camera and a turntable according to claim 5, characterized in that: Determining the azimuth angle between the side camera and the coordinate axis of the turntable coordinate system according to the preset angle, the optimal focal plane deviation, the center coordinate point, the actual radius, the deflection angle, and the theoretical radius of the wafer, including: Determine the azimuth angle between the side camera and the coordinate axis of the turntable coordinate system based on a third calculation formula according to the current rotation angle, the optimal focal plane deviation, the center coordinate point, the actual radius, the deflection angle, and the theoretical radius of the wafer; The third calculation formula is: Wherein, B is the optimal focal plane deviation, θ is the current rotation angle, r0 is the theoretical radius of the wafer, r is the actual radius of the wafer, and θ R1 is the azimuth angle, (s x ,s y ) is the center coordinate point of the center of the wafer on the turntable coordinate system, and t is the deflection angle.
7. The method for calibrating the position of a camera and a turntable according to claim 6, characterized in that: Also includes: Based on the third calculation formula, respectively determine the azimuth angles at different preset angles; The azimuth angle between the side camera and the coordinate axis of the turntable coordinate system is determined according to the average value of each azimuth angle.
8. A camera and turntable position calibration device, characterized in that: The turntable is used to place a wafer to be inspected; the wafer includes a first surface facing away from the turntable and a side surface adjacent to the first surface; the edge of the first surface includes at least three inspection marks and at least one orientation mark; the camera includes a front camera and a side camera; The position calibration device of the camera and the turntable comprises: A turntable coordinate system establishing module, used to establish a turntable coordinate system parallel to the first surface with the center of the turntable as the origin; a detection image acquisition module, configured to acquire a front detection image of an edge of the first surface based on the front camera, and acquire a side detection image of the side surface based on the side camera, when the turntable drives the wafer to rotate; A coordinate point determination module, used for determining the detection mark coordinate point of each detection mark on the turntable coordinate system and the orientation coordinate point of the orientation mark on the turntable coordinate system according to the front detection image; A wafer parameter determination module, used to determine the center coordinate point of the center of the wafer on the turntable coordinate system, the actual radius of the wafer and the deflection angle of the center according to each of the detection mark coordinate points and the azimuth coordinate points; An azimuth angle determination module is used to determine the azimuth angle between the side camera and the coordinate axis of the turntable coordinate system according to the preset angle, the side detection image, the center coordinate point, the actual radius, the deflection angle and the theoretical radius of the wafer when the turntable rotates by a preset angle.
9. A camera and turntable position calibration system, characterized in that: include: Turntable, front camera, side camera, wafer and controller; The turntable is used to place the wafer; The wafer comprises a first surface facing away from the turntable and a side surface adjacent to the first surface; The front camera is used to obtain a front detection image of the edge of the first surface; The side camera is used to obtain a side detection image of the side; The controller is electrically connected to the front camera and the side camera respectively, and is used to execute the camera and turntable position calibration method described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the camera and turntable position calibration method according to any one of claims 1 to 7 when executed.
