Method and device for measuring flatness of bearing platform and storage medium

By acquiring multiple images on the bearing platform, the sample image data of the height is obtained, the image contrast and focal plane height are calculated, and the flatness of the bearing platform is determined, which solves the problem of measuring the flatness of the bearing platform and improves detection sensitivity and system stability.

CN118565391APending Publication Date: 2024-08-30RAINTREE SCI INSTR SHANGHAI
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410593292.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-14
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The existing technology cannot effectively measure the flatness of the carrying platform, resulting in problems such as poor system stability and detection failure during the wafer inspection process.

Method used

By acquiring the sample image data of the carrying platform at multiple image acquisition heights, the image contrast of each image module is calculated, the optimal focal plane height is determined, and the flatness is determined based on the focal length height difference. The image contrast calculation module and the optimal focal plane are used to determine the flatness. The surface height acquisition module and flatness determination module realize flatness determination.

Benefits of technology

The detection sensitivity is improved, the platform tilt and large-area unevenness are detected in time, the problem of weak optical signal is solved, and the system performance and stability are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118565391A
    Figure CN118565391A
Patent Text Reader

Abstract

The invention discloses a bearing platform flatness measuring method and device and a storage medium, and the method comprises the steps: obtaining the sample image data of a to-be-measured sample on a bearing platform when the bearing platform is located at a reference height and a plurality of image obtaining heights, and calculating the image contrast of each image module; comparing the image contrast of all image modules corresponding to the same module position in the to-be-detected sample in all sample image data to obtain the optimal focal plane height of each module position in the to-be-detected sample; and the optimal focal plane height of each module position of the to-be-measured sample is subtracted from the reference height to obtain the focal length height difference corresponding to each module position, and the flatness of the bearing platform is judged based on the focal length height differences corresponding to all module positions. According to the invention, the surface flatness of the bearing platform can be rapidly and effectively improved, so that the performance and stability of the system can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of optical detection technology, and in particular to a method and device for measuring the flatness of a bearing platform, and a storage medium. Background Art

[0002] During the automatic optical inspection process of wafers, because the wafer is small in thickness and easy to deform, it is usually necessary to adsorb the wafer on the carrying platform through negative pressure, and then the moving platform drives the wafer to scan. The matching scanning camera collects the wafer surface image in real time to serve as the basis for wafer surface defect detection.

[0003] During the above-mentioned wafer inspection process, the wafer needs to be adsorbed on the carrying platform, so the flatness of the carrying platform surface directly determines the flatness of the wafer surface. If the flatness of the carrying platform surface is poor, it is necessary to compensate for the height difference through offline or real-time focusing during the wafer inspection process, which leads to poor system stability; if the flatness of the carrying platform surface is very poor, the wafer surface cannot be completely adsorbed on the carrying platform, making the wafer larger, or under the action of negative pressure, abnormal protrusions or depressions cause wafer damage, which leads to wafer inspection failure. In addition to the above-mentioned wafer carrying platforms, other platforms to be verified for flatness often have the problem of flatness that cannot be measured.

[0004] Therefore, it is necessary to measure the flatness of the surface of the load-bearing platform, but there is currently no method to measure the flatness of the load-bearing platform. Summary of the invention

[0005] The purpose of the present application is to provide a method and device for measuring the flatness of a carrying platform, and a storage medium, so as to solve the problem that the flatness difference of the carrying platform makes it difficult to detect the sample to be tested, and there is currently no method for measuring the flatness of the carrying platform.

[0006] In a first aspect, the present application provides a method for measuring the flatness of a bearing platform, comprising:

[0007] Acquire sample image data of the sample to be tested on the carrying platform when the carrying platform is respectively located at a reference height and a plurality of image acquisition heights, each of the sample image data includes a plurality of image modules, and the contents of all image modules located at the same position of the sample image data in all the sample image data correspond to each other, and calculate the image contrast of each image module;

[0008] Comparing the image contrasts of all image modules corresponding to the same module position in the sample to be tested in all the sample image data to obtain the optimal focal plane height of each module position in the sample to be tested;

[0009] Subtract the optimal focal plane height of each module position of the sample to be tested from the reference height to obtain the focal height difference corresponding to each module position, and determine the flatness of the carrying platform based on the focal height differences corresponding to all module positions;

[0010] The module position in the sample to be tested is the position of the module in the sample to be tested that corresponds to the image module in the sample image data.

[0011] In one embodiment of the present application, the image contrast of all image modules corresponding to the same module position in the sample to be tested in all the sample image data is compared to obtain the optimal focal plane height of each module position in the sample to be tested, including:

[0012] The image contrasts of all image modules corresponding to the same module position in the sample to be tested in all the sample image data are compared to obtain the image module with the highest image contrast as the ideal focal image module for the corresponding module position in the sample to be tested, and the supporting platform height corresponding to the sample image data to which the ideal focal image module belongs is used as the optimal focal plane height for the corresponding module position in the sample to be tested.

[0013] In one embodiment of the present application, the image contrast of the image module is obtained in the following manner:

[0014] Divide the image module into a plurality of rectangular units, and set a horizontal gradient operator and a vertical gradient operator;

[0015] Acquire the horizontal chromaticity gradient of each rectangular unit based on the horizontal gradient operator, and acquire the vertical chromaticity gradient of each rectangular unit based on the vertical gradient operator;

[0016] The chromaticity gradient value of the corresponding rectangular unit is obtained based on the horizontal chromaticity gradient and the vertical chromaticity gradient of each rectangular unit, and the chromaticity gradient values ​​of all rectangular units are summed up to serve as the image contrast of the image module.

[0017] In one embodiment of the present application, the chromaticity in the horizontal chromaticity gradient and the vertical chromaticity gradient is any one or a combination of any several of the grayscale, the R color channel, the G color channel and the B color channel.

[0018] In one embodiment of the present application, the reference height is the height of the carrying platform after a scanning camera focuses on the center position of the sample to be measured on the carrying platform.

[0019] In one embodiment of the present application, the method for obtaining the height of multiple images is as follows:

[0020] The carrying platform takes the reference height as the starting height, and steps upward with a preset step distance within a preset vertical height range, and each step acquires an image acquisition height;

[0021] The carrying platform takes the reference height as a starting height, and steps downward with a preset step distance within a preset vertical height range, and obtains an image acquisition height each time it steps.

[0022] In one embodiment of the present application, determining the flatness of the carrying platform based on the focal height difference of all module positions includes:

[0023] Determine whether the focal height difference of each module position is greater than a preset height threshold. If so, it indicates that there is an abnormal pit or abnormal protrusion at the supporting platform corresponding to the corresponding module position; otherwise, it indicates that the supporting platform corresponding to the corresponding module position is flat.

[0024] In one embodiment of the present application, the method for measuring the flatness of the supporting platform further includes:

[0025] Taking the center position of the sample to be tested as the center, the upper surface of the sample to be tested is divided into four quadrants according to a plane rectangular coordinate system. If the focal height difference of all module positions in one quadrant or multiple quadrants is greater than a preset height threshold, it is determined that the supporting platform is in a tilted state; otherwise, it is determined that the supporting platform is not in a tilted state.

[0026] In a second aspect, the present application also provides a flatness measuring device for a carrying platform, including an image contrast calculation module, an optimal focal plane height acquisition module, and a flatness determination module;

[0027] The image contrast calculation module is used to obtain sample image data of the sample to be tested on the carrying platform when the carrying platform is respectively located at a reference height and a plurality of image acquisition heights, each of the sample image data includes a plurality of image modules, and the contents of all image modules located at the same position of the sample image data in all the sample image data are corresponding, and the image contrast of each image module is calculated;

[0028] The optimal focal plane height acquisition module is used to compare the image contrasts of all image modules corresponding to the same module position in the sample to be tested in all the sample image data, so as to obtain the optimal focal plane height of each module position in the sample to be tested;

[0029] The flatness determination module is used to make a difference between the optimal focal plane height of each module position of the sample to be tested and the reference height, so as to obtain the focal height difference corresponding to each module position, and determine the flatness of the carrying platform based on the focal height differences corresponding to all module positions;

[0030] The module position in the sample to be tested is the position of the module in the sample to be tested that corresponds to the image module in the sample image data.

[0031] In a third aspect, the present application also provides a storage medium on which a computer program is stored, and when the program is executed by a processor, the method for measuring the flatness of the supporting platform is implemented.

[0032] Compared with the prior art, one or more embodiments of the above scheme may have the following advantages or beneficial effects:

[0033] The method for measuring the flatness of the carrier platform provided by the embodiment of the present invention is applied to obtain sample image data of the carrier platform at multiple image acquisition heights, and compare the image modules processed at the same position of all sample image data to obtain the ideal focal image module at the corresponding module position of the sample to be tested, determine the optimal focal plane height of the corresponding module position in the sample to be tested based on the ideal focal image module, and finally determine the flatness of the carrier platform based on the difference between the optimal focal plane height of all module positions in the sample to be tested and the reference height, thereby solving the problems of weak light signal and low detection sensitivity caused by poor light reflectivity of the carrier platform; at the same time, the method can timely discover the process problem of installation tilt, and discover the large uneven position on the platform surface before testing to solve the quality problem of large processed parts. The present invention can quickly and effectively determine the surface flatness of the carrier platform, thereby improving the performance and stability of the system.

[0034] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0036] Figure 1 Shown is a schematic flow chart of the method for measuring the flatness of a supporting platform described in an embodiment of the present application.

[0037] Figure 2 Shown is a schematic diagram of the structure of the automatic optical inspection equipment in the method for measuring the flatness of the supporting platform described in an embodiment of the present application.

[0038] Figure 3 Shown is a structural schematic diagram of the center position of the carrying platform and the establishment of the coordinate system in the method for measuring the flatness of the carrying platform described in an embodiment of the present application.

[0039] Figure 4 Shown is a schematic diagram of the scanning strategy for sample image data acquired in the method for measuring the flatness of a supporting platform described in an embodiment of the present application.

[0040] Figure 5 Shown is a schematic diagram of the flatness of a carrying platform in the method for measuring the flatness of a carrying platform described in an embodiment of the present application.

[0041] Figure 6 Shown is a schematic diagram of the structure of the carrying platform flatness measuring device described in an embodiment of the present application.

[0042] Among them, 1 is a scanning camera, 2 is a tube lens, 3 is an aperture, 4 is an optical lens, 5 is a light source, 6 is an objective lens group, 7 is a sample to be tested, 8 is a carrying platform, and 9 is a data acquisition system. DETAILED DESCRIPTION

[0043] The following will describe the implementation methods of the present invention in detail with reference to the accompanying drawings and embodiments, so that the implementation process of how the present invention applies technical means to solve technical problems and achieve technical effects can be fully understood and implemented accordingly. It should be noted that as long as there is no conflict, the various embodiments of the present invention and the various features in the embodiments can be combined with each other, and the technical solutions formed are all within the protection scope of the present invention.

[0044] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.

[0045] The following embodiments of the present application provide a method and device for measuring the flatness of a carrying platform, and a storage medium, which are used to solve the problem that the flatness difference of the carrying platform makes it difficult to detect the sample to be tested, and there is currently no method for measuring the flatness of the carrying platform.

[0046] The following will describe in detail the principles and implementation methods of a method and device for measuring the flatness of a load-bearing platform and a storage medium of this embodiment in conjunction with the accompanying drawings, so that those skilled in the art can understand the method and device for measuring the flatness of a load-bearing platform and a storage medium of this embodiment without creative work.

[0047] like Figure 1 As shown, this embodiment provides a method for measuring the flatness of a bearing platform, comprising the following steps.

[0048] Step S101, obtaining sample image data of the sample to be tested on the supporting platform when the supporting platform is located at a reference height and multiple image acquisition heights respectively, each sample image data includes multiple image modules, and the contents of all image modules located at the same position of the sample image data in all sample image data are corresponding, and the image contrast of each image module is calculated.

[0049] In this embodiment, the method for measuring the flatness of the carrier platform is described in detail by taking the carrier platform of the wafer as an example. In this case, the sample to be tested is the wafer, and the wafer as the sample to be tested can be any complete and suitable wafer. It should be noted that, although the method for measuring the flatness of the carrier platform of the wafer is given in this embodiment, the method for measuring the flatness of the carrier platform disclosed in this embodiment can also be applied to the flatness measurement of other reasonable carrier platforms, such as a photomask, a flat panel, or a personal computer (PC) board. In this case, the sample to be tested is the sample on the corresponding carrier platform.

[0050] Due to material problems, the reflectivity of the carrying platform to light is poor. If the flatness of the carrying platform is directly measured by automatic optical detection equipment, there will be problems such as low detection sensitivity due to weak light signals. Therefore, in order to solve the above problems, this embodiment combines actual usage scenarios, uses a thin wafer with the same area as the carrying platform as the sample to be tested, adsorbs it on the carrying platform, and measures the flatness of the carrying platform by measuring the flatness of the sample to be tested.

[0051] This embodiment uses an automatic optical detection device to scan and obtain sample image data on the carrier platform 8. Figure 2 As shown, the automatic optical inspection equipment used in this embodiment includes a carrying platform 8, an objective lens group 6, a light source 5, a tube lens 2, an aperture 3, an optical lens 4 and a data acquisition system 9. The carrying platform 8 can carry the sample 7 to be tested to perform X / Y / Z three-degree-of-freedom movement; the objective lens group 6 includes a microscope objective lens with a low magnification and a large focal depth and a microscope objective lens with a high magnification and a small focal depth, which can realize the free switching of the objective lens in the objective lens group 6; the light source 5 is used for dark field detection and bright field detection; the tube lens 2 is used to cooperate with the objective lens for imaging; the scanning camera 1 includes a surface array camera or a TDI scanning camera, which is used to collect contour and defect detection images, and can also be used for alignment and defect review; the optical lens 4 (such as a semi-transparent and semi-reflective lens) is used to help irradiate the light of the light source 5 to the sample 7 to be tested and transmit the light reflected by the sample to the tube lens 2; the data acquisition system 9 is used to analyze the image data collected by the scanning camera 1, and send corresponding instructions to the motion control system of the carrying platform 8 according to the collected data, so as to control the movement of the carrying platform 8. This embodiment may also use automatic optical detection equipment with other structures that can complete the scanning of the sample 7 to be tested, and this embodiment does not impose any fixed restrictions on it.

[0052] Specifically, in this embodiment, the sample to be tested is first placed on the carrying platform manually or through an automatic transmission system. Then, any point of the sample to be tested on the sample to be tested is focused, so that the image data of the sample after focusing is obtained through the automatic optical detection device, and the height of the carrying platform at this time is used as the reference height. Preferably, the height of the carrying platform after the scanning camera 1 in the automatic optical detection device focuses on the center position of the sample to be tested on the carrying platform can be set as the reference height (reference height Figure 3 As shown). Further, the center position of the sample to be tested can be obtained by: the upper, lower, left and right edge points of the mobile supporting platform appear in the field of view of the scanning camera 1, and the center position of the sample to be tested can be determined based on the coordinates of the four edge points. It should be noted that the center position of the sample to be tested can also be obtained by other reasonable methods, and no fixed restrictions are imposed on them here.

[0053] The multiple image acquisition heights can be multiple heights obtained by taking the reference height as the starting height and stepping the carrying platform upward and downward. Furthermore, taking the reference height as the starting height, stepping upward with a preset step distance within the preset vertical height range Zm, and obtaining an image acquisition height each time stepping, thereby obtaining multiple image acquisition heights above the reference height. At the same time, the reference height can also be used as the starting height, and stepping downward with a preset step distance within the preset vertical height range Zm, and obtaining an image acquisition height each time stepping, thereby obtaining multiple image acquisition heights above the reference height. For example, Zm can be set to 20um, and the preset step distance can be set to 1um. Multiple image acquisition heights can also be obtained in other reasonable ways, and there is no fixed restriction on them here.

[0054] After obtaining the reference height, other scanning conditions except the height of the carrier platform are kept unchanged, and the height of the carrier platform is raised or lowered to multiple image acquisition heights, and the sample image data corresponding to each image acquisition height is obtained by automatic optical detection equipment.

[0055] It should be noted that the above sample image data are all obtained using a certain scanning strategy. Figure 4 As shown, the wafer surface of the sample to be tested is fully scanned and imaged using the illustrated scanning strategy to obtain N rows of scanned images, which form sample image data. Preferably, the full scan image can be set to scan from one side to the other, or from the middle to both sides.

[0056] Then, each column of scanned images in each sample image data is divided into multiple image modules using the same division method. Since all sample image data are of the same size, and each column of scanned images in each sample image data is divided using the same division method, the image modules divided from all sample image data should have a positional correspondence, that is, the module position in the sample to be tested is the position of the module in the sample to be tested corresponding to the image module in the sample image data. For example, the image size and image content of the image module at the Kth module position in the Wth column of each sample image data are the same, and the difference between the corresponding image modules is only the difference in clarity.

[0057] Preferably, a sliding window method can be selected to divide each column of scanned images in the sample image data. For example, a focus window w*h is set, where w is the camera field width and h is the window height (h can be set to a certain number of pixels according to the objective lens magnification); the window starts to move from the starting coordinates of a column of scanned images; each time the window overlaps with the image, the image data of the window size is intercepted as an image module.

[0058] Then, the image contrast of all image modules is obtained. The image contrast acquisition process of the image module is as follows: the image module is divided into multiple rectangular units, and the horizontal gradient operator kernel_x and the vertical gradient operator kernel_y are set; for each rectangular unit, the pixel value of the horizontal pixel in the rectangular unit is convolved with the horizontal gradient operator kernel_x to obtain the horizontal chromaticity gradient Gx of the rectangular unit, and the pixel value of the vertical pixel in the rectangular unit is convolved with the vertical gradient operator kernel_y to obtain the vertical chromaticity gradient Gy of the rectangular unit, and the chromaticity gradient value of the rectangular unit is obtained by summing the squares of the horizontal chromaticity gradient Gx and the vertical chromaticity gradient Gy of the rectangular unit and then taking the square root; the chromaticity gradient values ​​of all rectangular units are obtained in the same way; finally, the chromaticity gradient values ​​of all rectangular units are summed to obtain the image contrast of the image module.

[0059] The formula for obtaining the chromaticity gradient value can be shown as follows:

[0060]

[0061] The summation formula for the chromaticity gradient values ​​of all rectangular units is as follows:

[0062] C=Sum(G)

[0063] At this time, the image contrast of the image module can be recorded as: (x1, x2, y1, y2, C)

[0064] Among them, (x1, y1) can represent the coordinates of the upper left corner of the image module, and (x2, y2) can represent the coordinates of the lower right corner of the image module.

[0065] Preferably, the chromaticity in the horizontal chromaticity gradient and the vertical chromaticity gradient may be any one of grayscale, R color channel, G color channel and B color channel, or a combination of any several of them.

[0066] The image contrast of each image module can be calculated in the above manner.

[0067] Step S102 , comparing the image contrasts of all image modules corresponding to the same module position in the sample to be tested in all sample image data, so as to obtain the optimal focal plane height of each module position in the sample to be tested.

[0068] Specifically, for all sample image data, all image modules corresponding to the same module position in the sample to be tested are formed into a comparison group to obtain multiple comparison groups. Then, the image module with the highest image contrast in each comparison group is obtained as the focus image module of the corresponding comparison group, and the focus image module is the ideal focal image module of the module position corresponding to the corresponding comparison group in the sample to be tested. Then, the height of the supporting platform corresponding to the sample image data to which the ideal focal image module belongs is used as the optimal focal plane height of the module position corresponding to the corresponding comparison group in the sample to be tested. For example, since each sample image data is obtained by scanning the sample to be tested, each sample image data has the same coordinate system as the sample to be tested. Furthermore, each sample image data has an image module defined by coordinates (x1, y1) and coordinates (x2, y2). If there are M sample image data, it means that there are M image modules defined by coordinates (x1, y1) and coordinates (x2, y2). M image modules with coordinates (x1, y1) and coordinates (x2, y2) are formed into a comparison group; then the image module with the highest image contrast in the comparison group is obtained as the focus image module of the group, and finally the focus image module is used as the ideal focus image module for the module position defined by the coordinates (x1, y1) and the coordinates (x2, y2) in the sample to be tested, and at the same time, the height of the supporting platform corresponding to the sample image data to which the ideal focus image module belongs is used as the optimal focal plane height for the module position defined by the coordinates (x1, y1) and the coordinates (x2, y2) in the sample to be tested.

[0069] In the above process, the module position of the sample to be tested corresponds to each image module, and the optimal focal plane height of each module position of the sample to be tested can be obtained by the above method.

[0070] Step S103, subtracting the optimal focal plane height of each module position of the sample to be tested from the reference height to obtain the focal height difference corresponding to each module position, and determining the flatness of the supporting platform based on the focal height differences corresponding to all module positions.

[0071] Specifically, the optimal focal plane height of each module position of the sample to be tested is subtracted from the reference height to obtain the focal height difference corresponding to each module position of the sample to be tested. Then, it is determined whether the focal height difference of each module position is greater than the preset height threshold. If the focal height difference of a module position is greater than the preset height threshold, it means that there are abnormal pits or abnormal protrusions at the supporting platform corresponding to the module position, which further indicates that the surface flatness of the supporting platform is poor. If the focal height difference of all module positions of the sample to be tested is not greater than the preset height threshold, it means that the surface flatness of the supporting platform is good. Preferably, the preset height threshold can be set to 6um.

[0072] The method of this embodiment can also detect whether the bearing platform is installed tilted, and the specific determination process is as described in step S104.

[0073] Step S104: With the center position of the sample to be tested as the center, the upper surface of the sample to be tested is divided into four quadrants according to a plane rectangular coordinate system. If the focal height difference of all module positions in one quadrant or multiple quadrants is greater than a preset height threshold, it is determined that the supporting platform is in a tilted state, otherwise it is determined that the supporting platform is not in a tilted state.

[0074] Specifically, with the center position of the sample to be tested as the center, the upper surface of the sample to be tested is divided into a plane rectangular coordinate system in an arbitrary setting manner, and the plane rectangular coordinate system divides the upper surface of the sample to be tested into four quadrants. It is determined whether there is a quadrant or multiple quadrants in which the focal height difference of all module positions is greater than a preset height threshold. If so, it means that the carrier platform is in a tilted state and needs to be adjusted and installed to be in a balanced state; otherwise, it means that the carrier platform is not in a tilted state. Figure 5 This is an example diagram of a load-bearing platform in a tilted state.

[0075] The method for measuring the flatness of a carrier platform provided by an embodiment of the present invention obtains sample image data of the carrier platform at multiple image acquisition heights, and compares the image modules processed at the same position of all sample image data to obtain the ideal focal image module at the corresponding module position of the sample to be tested, determines the optimal focal plane height of the corresponding module position in the sample to be tested based on the ideal focal image module, and finally determines the flatness of the carrier platform based on the difference between the optimal focal plane height of all module positions in the sample to be tested and the reference height, thereby solving the problems of weak light signal and low detection sensitivity caused by poor light reflectivity of the carrier platform; at the same time, the method can timely discover the process problem of installation tilt, and discover the large uneven position on the platform surface before testing to solve the large quality problem of the processed parts. The present invention can quickly and effectively determine the surface flatness of the carrier platform, thereby improving the performance and stability of the system.

[0076] like Figure 6As shown, this embodiment provides a flatness measuring device for a carrier platform, characterized in that it includes an image contrast calculation module, an optimal focal plane height acquisition module and a flatness determination module.

[0077] The image contrast calculation module is used to obtain sample image data of the sample to be tested on the carrying platform when the carrying platform is located at a reference height and multiple scanning heights respectively. Each sample image data includes multiple image modules, and the contents of all image modules located at the same position of the sample image data in all sample image data are corresponding, and the image contrast of each image module is calculated.

[0078] The optimal focal plane height acquisition module is used to compare the image contrasts of all image modules corresponding to the same module position in the sample to be tested in all sample image data to obtain the optimal focal plane height of each module position in the sample to be tested.

[0079] The flatness determination module is used to subtract the optimal focal plane height of each module position of the sample to be tested from the reference height to obtain the focal height difference corresponding to each module position, and determine the flatness of the carrying platform based on the focal height difference corresponding to all module positions.

[0080] The module position in the sample to be tested is the position of the module in the sample to be tested that corresponds to the image module in the sample image data.

[0081] The flatness measuring device of the carrying platform provided by the embodiment of the present invention obtains sample image data of the carrying platform at multiple image acquisition heights, and compares the image modules processed at the same position of all sample image data to obtain the ideal focal image module at the corresponding module position of the sample to be tested, determines the optimal focal plane height of the corresponding module position in the sample to be tested based on the ideal focal plane image module, and finally determines the flatness of the carrying platform based on the difference between the optimal focal plane height of all module positions in the sample to be tested and the reference height, thereby solving the problems of weak light signal and low detection sensitivity caused by the poor light reflectivity of the carrying platform; at the same time, the device can timely discover the process problem of installation tilt, and discover the large uneven position on the platform surface before testing to solve the large quality problem of the processed parts. The present invention can quickly and effectively determine the surface flatness of the carrying platform, thereby improving the performance and stability of the system.

[0082] The present application embodiment also provides a computer-readable storage medium. A person of ordinary skill in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the processor through a program, and the program can be stored in a computer-readable storage medium, and the storage medium is a non-transitory medium, such as a random access memory, a read-only memory, a flash memory, a hard disk, a solid-state hard disk, a magnetic tape, a floppy disk, an optical disc, and any combination thereof. The above-mentioned storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a digital video disc (DVD)), or a semiconductor medium (for example, a solid-state disk (SSD)), etc.

[0083] Although the embodiments disclosed in the present invention are as above, the contents described are only embodiments adopted for facilitating the understanding of the present invention and are not intended to limit the present invention. Any technician in the technical field to which the present invention belongs can make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed in the present invention, but the protection scope of the present invention shall still be subject to the scope defined in the attached claims.

Claims

1. A method for measuring the flatness of a bearing platform, comprising: Acquire sample image data of the sample to be tested on the carrying platform when the carrying platform is respectively located at a reference height and a plurality of image acquisition heights, each of the sample image data includes a plurality of image modules, and the contents of all image modules located at the same position of the sample image data in all the sample image data correspond to each other, and calculate the image contrast of each image module; Comparing the image contrasts of all image modules corresponding to the same module position in the sample to be tested in all the sample image data to obtain the optimal focal plane height of each module position in the sample to be tested; Subtract the optimal focal plane height of each module position of the sample to be tested from the reference height to obtain the focal height difference corresponding to each module position, and determine the flatness of the carrying platform based on the focal height differences corresponding to all module positions; The module position in the sample to be tested is the position of the module in the sample to be tested that corresponds to the image module in the sample image data.

2. The measuring method according to claim 1, characterized in that The step of comparing the image contrasts of all image modules corresponding to the same module position in the sample to be tested in all the sample image data to obtain the optimal focal plane height of each module position in the sample to be tested includes: The image contrasts of all image modules corresponding to the same module position in the sample to be tested in all the sample image data are compared to obtain the image module with the highest image contrast as the ideal focal image module for the corresponding module position in the sample to be tested, and the supporting platform height corresponding to the sample image data to which the ideal focal image module belongs is used as the optimal focal plane height for the corresponding module position in the sample to be tested.

3. The measuring method according to claim 1, characterized in that The image contrast of the image module is obtained in the following manner: Divide the image module into a plurality of rectangular units, and set a horizontal gradient operator and a vertical gradient operator; Acquire the horizontal chromaticity gradient of each rectangular unit based on the horizontal gradient operator, and acquire the vertical chromaticity gradient of each rectangular unit based on the vertical gradient operator; The chromaticity gradient value of the corresponding rectangular unit is obtained based on the horizontal chromaticity gradient and the vertical chromaticity gradient of each rectangular unit, and the chromaticity gradient values ​​of all rectangular units are summed up to serve as the image contrast of the image module.

4. The measuring method according to claim 3, characterized in that The chromaticity in the horizontal chromaticity gradient and the vertical chromaticity gradient is any one or a combination of any several of grayscale, R color channel, G color channel and B color channel.

5. The measuring method according to claim 1, characterized in that The reference height is the height of the carrying platform after the scanning camera focuses on the center position of the sample to be measured on the carrying platform.

6. The measuring method according to claim 1, characterized in that The method for obtaining height of multiple images is as follows: The carrying platform takes the reference height as the starting height, and steps upward with a preset step distance within a preset vertical height range, and each step acquires an image acquisition height; The carrying platform takes the reference height as a starting height, and steps downward with a preset step distance within a preset vertical height range, and obtains an image acquisition height each time it steps.

7. The measuring method according to claim 1, characterized in that Determining the flatness of the carrying platform based on the focal height difference of all module positions includes: Determine whether the focal height difference of each module position is greater than a preset height threshold. If so, it indicates that there is an abnormal pit or abnormal protrusion at the supporting platform corresponding to the corresponding module position; otherwise, it indicates that the supporting platform corresponding to the corresponding module position is flat.

8. The measuring method according to claim 1, characterized in that Also includes: Taking the center position of the sample to be tested as the center, the upper surface of the sample to be tested is divided into four quadrants according to a plane rectangular coordinate system. If the focal height difference of all module positions in one quadrant or multiple quadrants is greater than a preset height threshold, it is determined that the supporting platform is in a tilted state; otherwise, it is determined that the supporting platform is not in a tilted state.

9. A device for measuring the flatness of a bearing platform, characterized in that: It includes an image contrast calculation module, an optimal focal plane height acquisition module and a flatness determination module; The image contrast calculation module is used to obtain sample image data of the sample to be tested on the carrying platform when the carrying platform is respectively located at a reference height and a plurality of image acquisition heights, each of the sample image data includes a plurality of image modules, and the contents of all image modules located at the same position of the sample image data in all the sample image data are corresponding, and the image contrast of each image module is calculated; The optimal focal plane height acquisition module is used to compare the image contrasts of all image modules corresponding to the same module position in the sample to be tested in all the sample image data, so as to obtain the optimal focal plane height of each module position in the sample to be tested; The flatness determination module is used to make a difference between the optimal focal plane height of each module position of the sample to be tested and the reference height, so as to obtain the focal height difference corresponding to each module position, and determine the flatness of the carrying platform based on the focal height differences corresponding to all module positions; The module position in the sample to be tested is the position of the module in the sample to be tested that corresponds to the image module in the sample image data.

10. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for measuring the flatness of a carrier platform described in any one of claims 1 to 8 is implemented.

Citation Information

Cited By

  • Machine carrier flatness measurement method and device, storage medium and terminal

    CN119826746A