Method and device for focusing based on image clarity
Through optical imaging and superposition imaging combined with piezoelectric technology, the focal plane position is determined based on image clarity, which solves the problem of complex and inaccurate focusing in the existing technology, achieves fast and accurate self-focusing for semiconductor wafer measurement, and improves quality. measurement efficiency and accuracy.
Patent Information
- Application Number
- CN202311459256.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-03
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2043-11-03
AI Technical Summary
In existing semiconductor wafer measurement technology, the focusing process is complex and inaccurate. It relies on the imaging lens to obtain optical signals and requires specific algorithms to convert them, resulting in difficulty in focusing and large errors.
Coarse focusing based on optical imaging is used to obtain the focal plane range, and combined with superimposed imaging and piezoelectric fine focusing, the focal plane position is determined through image clarity, simplifying the focusing process and reducing the need for improvements to the optical imaging system.
It achieves fast and accurate self-focusing, improves the efficiency and accuracy of wafer measurement, simplifies the focusing process, and reduces errors.
Smart Images

Figure CN117491285B
Abstract
Description
Technical Field
[0001] The present application relates to the field of semiconductor measurement technology, and in particular to a method and device based on image clarity focusing. Background Art
[0002] Semiconductor wafer CD (Critical Dimension, referred to as CD) and OVL (overlay, overlay accuracy) require self-focusing technology under high-power microscopes (typical magnification 100X, 150X in the future) to achieve rapid measurement. Existing technologies rely on imaging lenses to obtain field-of-view light signals, and then convert the light signals into level signals for processing to achieve focusing. In some cases, it is also necessary to combine specific algorithms to convert and calculate the level signals in order to achieve focusing. This results in the image focusing during wafer measurement being limited to focusing by using specific algorithms to calculate and process the converted level signals. On the one hand, the focusing process is complicated and difficult to focus, and on the other hand, the large number of conversion and calculation steps causes problems such as inaccurate focusing.
[0003] Therefore, a new focusing scheme based on image clarity is needed. Summary of the invention
[0004] In view of this, the embodiments of this specification provide a method and device for focusing based on image clarity.
[0005] The embodiments of this specification provide the following technical solutions:
[0006] The embodiment of the present specification provides a method for focusing based on image clarity, the method for focusing based on image clarity comprising: performing optical imaging on a sample to be measured and obtaining a focal plane range through coarse focusing, the optical imaging process comprising sample imaging and superimposed imaging;
[0007] The focal plane position is obtained by stacking imaging and piezoelectric fine focusing according to the focal plane range;
[0008] If the clarity of the superimposed image corresponding to the focal plane position is the maximum image clarity, the captured image corresponding to the focal plane position is used in the wafer measurement process.
[0009] Compared with the prior art, the at least one technical solution adopted in the embodiments of this specification can achieve the following beneficial effects:
[0010] The focal plane range is obtained based on the coarse focusing of optical imaging. The optical imaging process includes not only sample imaging but also superimposed imaging, and then the focal plane position is obtained according to the focal plane range through superimposed imaging combined with piezoelectric fine focusing. If the clarity of the superimposed imaging corresponding to the focal plane position is detected to be the maximum image clarity, the captured image corresponding to the focal plane position is used in the wafer measurement process. The optical imaging system of the embodiment of this specification only requires simple improvements, hardly takes up too much space, and does not require complex improvements. Then, based on the image corresponding to the superimposed light signal after optical imaging, the target focal plane position is determined, without the need to convert the light signal into a level signal and rely on specific algorithms to perform focusing calculations as in the prior art. The embodiment of this specification quickly and accurately achieves self-focusing based on image clarity focusing, so that it can be used for wafer measurement to improve measurement efficiency and accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0012] Figure 1 is a flow chart of a method for focusing based on image clarity in this application;
[0013] Figure 2 is a schematic diagram of a device for focusing based on image clarity in the present application;
[0014] Figure 3 is a schematic diagram of another device for focusing based on image clarity in the present application;
[0015] Figure 4 is a schematic diagram of an image clarity evaluation curve in this application;
[0016] Figure 5 is a schematic diagram of a focused image in this application;
[0017] Figure 6 It is a schematic diagram of wafer measurement line width;
[0018] Figure 7 It is a schematic diagram of wafer overlay marking;
[0019] Figure 8 It is a schematic diagram of obtaining overlay error based on image clarity focusing in this application. DETAILED DESCRIPTION
[0020] The embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0021] The following describes the implementation methods of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that, in the absence of conflict, the following embodiments and the features in the embodiments can be combined with each other. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work belong to the scope of protection of the present application.
[0022] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein can be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present application, it should be understood by those skilled in the art that an aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number and aspect described herein can be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein can be used to implement this device and / or practice this method.
[0023] It should also be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application. 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 arbitrarily, and the component layout may also be more complicated.
[0024] Additionally, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the examples can be practiced without these specific details.
[0025] The prior art relies on an imaging lens to obtain a field of view light signal, converts the light signal into level information, and uses a specific algorithm (such as a neural network-related algorithm) to calculate and implement the focusing process. This makes focusing dependent on a specific algorithm, resulting in a complex focusing process that is not conducive to wafer measurement. There are even problems such as inaccurate focusing leading to large errors in the wafer measurement process.
[0026] In view of this, the inventors found that superimposed imaging based on grating scale transmission imaging or interference fringes not only makes little improvement to the existing optical imaging system, but also found that based on the clarity of grating scale transmission imaging or interference fringes image, high-precision focal plane position can be quickly and accurately acquired.
[0027] Based on this, the embodiment of this specification proposes a new image-based focusing solution: high-precision focal plane position determination is achieved through grating scale transmission imaging and interference fringe image clarity, which is suitable for semiconductor wafer CD measurement and OVL overlay process, and improves the overall yield level of integrated circuit chips.
[0028] The technical solutions provided by various embodiments of the present application are described below in conjunction with the accompanying drawings.
[0029] like Figure 1 As shown, the method for focusing based on image clarity in the embodiment of this specification includes: step S101, optical imaging of the sample to be measured is performed to obtain the focal plane range through coarse focusing, and the optical imaging process includes sample imaging and superimposed imaging. Step S102, the focal plane position is obtained according to the focal plane range through superimposed imaging combined with piezoelectric fine focusing. Step S103, if the clarity of the superimposed image corresponding to the focal plane position is the maximum image clarity, the captured image corresponding to the focal plane position is used for the wafer measurement process.
[0030] Optical imaging is used to self-focus the sample to be measured. Optical imaging is a process based on the optical system projecting the image of the sample to be measured onto the imaging plane, which can be based on refraction, reflection, transmission and interference, and finally converges to the imaging plane to form an image. Step S101 can use grating ruler transmission imaging combined with sample imaging to perform self-focusing, or set interference fringes during the sample optical imaging process to perform self-focusing. Superimposed imaging corresponds to superimposed images such as grating ruler transmission imaging or interference fringe images.
[0031] For example, a grating ruler is set based on sample imaging, and after the grating ruler and sample imaging are combined, the grating ruler imaging and sample imaging separated by the camera end are combined again through a polarization beam splitter prism. In this way, the focal plane range is obtained by coarse focusing through grating ruler transmission imaging and sample imaging. In some embodiments, the grating ruler is set between two short-focus lenses, which not only realizes the conversion of the focused light beam into parallel light on the grating ruler to realize grating ruler imaging, but also does not occupy volume and has little improvement on the optical system.
[0032] For another example, based on interference fringes formed by two objective lenses, sample imaging is combined with interference fringes superposition imaging to obtain the focal plane range.
[0033] It should be noted that the superimposed imaging in the embodiments of this specification may include superimposed imaging of grating transmission imaging and sample imaging, and may also include superimposed imaging of sample imaging combined with interference fringes. In the process of coarse focusing to obtain the focal plane range, the embodiments of this specification may also use a 2X or 5X small lens barrel, spectral confocal, laser ranging and other hardware coarse focusing arranged on the main optical module to assist in finding the approximate focal plane, that is, to assist in obtaining the focal plane range.
[0034] Step S102 obtains the focal position by stacking imaging combined with piezoelectric precision focusing according to the focal range. Step S103 if the clarity of the stacked image corresponding to the focal position is the maximum image clarity, the captured image corresponding to the focal position is used for the wafer measurement process. The captured image represents the sample image corresponding to the focal position when the focal position is focused with high precision.
[0035] The focal plane range is obtained in combination with the above embodiments, such as the focal plane range is obtained based on the confocality of the grating ruler imaging and the sample imaging. The precision scanning self-focusing can be determined by the clarity values of different Z-axis positions of the grating ruler through a small stroke motor or piezoelectric scanning. If the piezoelectric scanning finds that the image clarity of the grating ruler imaging is the maximum image clarity, it is determined as the focal plane position of the sample imaging. Another example is based on white light interference, sample imaging is combined with interference fringe superposition imaging, and the focal plane range is obtained by controlling the shutter switch time. The clarity of the superimposed image (such as the interference fringe image) is determined to be the maximum image clarity within this time range. If the clarity of the superimposed image corresponding to the focal plane position is the maximum image clarity, the focal plane position is determined to be the precise focal plane position of self-focusing.
[0036] The superimposed image includes a grating ruler transmission image and an interference fringe image. In some embodiments, the clarity of the superimposed image is obtained using a clarity evaluation curve, the horizontal axis of which is represented by the z position coordinate value, the y axis is the clarity value, and the maximum image clarity is the peak vertex of the clarity curve. The piezoelectric in the embodiment of this specification uses a piezoelectric device with higher Z-axis precision to control the focal plane position of the objective lens and scan the Z position at the fine nm level.
[0037] The embodiments of this specification implement rough scanning by superimposing a specific image on the sample image based on the optical imaging process, and use the superimposed image in combination with piezoelectric scanning or a small-stroke motor for fine focusing. When the clarity of the superimposed image is the maximum image clarity, a high-precision focal plane position is obtained for wafer CD and OVL measurement. There is no need to make complex improvements to the existing optical imaging system, and no additional space is required. A fast and accurate self-focusing process is achieved based on the clarity evaluation of the grating ruler imaging or the interference fringe image, thereby improving the accuracy of the lithography machine.
[0038] In some embodiments, optical imaging of the sample to be measured is performed to obtain the focal plane range through coarse focusing, including: obtaining the focal plane range through grating ruler transmission imaging combined with sample imaging confocal imaging; or obtaining the focal plane range through sample imaging combined with interference fringe superposition imaging.
[0039] Semiconductor wafer CD measurement and OVL overlay require self-focusing technology under high magnification (typical magnification 100X, even 150X) conditions to achieve rapid measurement. The embodiment of this specification is used for wafer key dimension measurement and overlay, and high-precision focal plane position is achieved through grating ruler transmission imaging and interference fringe image clarity evaluation. This will improve the overall yield level of integrated circuit chips.
[0040] like Figure 2 As shown in the figure, a self-focusing imaging system based on grating ruler transmission image. Figure 3 As shown, another focusing imaging system based on white light interference fringe image.
[0041] Based on the grating ruler transmission image focusing, the grating pitch can be adjusted to adapt to different wafer processes by moving the grating ruler position, such as the main reflectivity and step difference of the wafer. Based on the conventional sample imaging light source and imaging system, the grating ruler is set at the appropriate position of the system to achieve confocality through the grating ruler transmission imaging and sample imaging to achieve grating ruler image focusing. The core components of the grating ruler image focusing include camera, displacement beam splitter, beam splitter, polarization beam splitter, light source, piezoelectric, objective lens, sample and stage, etc.
[0042] Based on the white light interference fringe image focusing, the white light interference fringe is sensitive to steps, etc., and more accurate self-focusing imaging can be achieved, among which the three indicators of fine focusing are RMS repeatability: 0.002-0.005nm; step repeatability 0.008%-0.025%; step accuracy 0.025%-0.08%. There are three typical types of white light interference in the prior art, such as Michelson, Mirau, and Linnik. The embodiment of this specification takes the combination of white light interference technology and Linnik type microscope interference technology as an example. The light source adopts a white light source, and the shutter switch is used to realize sample imaging and superposition imaging of sample + interference fringes to obtain the focal range.
[0043] The contrast of interference fringes is different under different optical path differences. Since the contrast of interference fringes is different under different optical path differences, it is possible to distinguish surface morphologies with vertical heights exceeding 1 / 4 wavelength height (1 / 2 optical path difference). The embodiment of this specification uses a wide-band white light LED with a larger measurement range than single-wavelength interference. Among them, the core components of white light interference image focusing include: camera, dichroic prism, white light LED light source, piezoelectric, 2 100X high-power objective lenses, reflector, shutter, sample and stage.
[0044] In summary, the layout positions and distances of the core components in the optical imaging system corresponding to the grating scale transmission imaging or interference fringe imaging are set according to actual needs.
[0045] In some embodiments, a piezoelectric range and a sharpness evaluation curve of the superimposed image are obtained. When the sharpness of the superimposed image corresponding to the focal plane position is at the peak of the sharpness evaluation curve, it is determined as the maximum image sharpness.
[0046] Specifically, as Figure 4 shown, a piezoelectric fine-scanning range and a sharpness evaluation curve of the superimposed image are obtained, that is, Figure 4 in which the abscissa X-axis is the Z position coordinate value and Y is the sharpness value. The grating scale transmission imaging or the interference fringes generated by the crystal circular morphology steps are obtained, and whether the superimposed image is at the clearest Z position is judged through the sharpness evaluation curve, that is, the maximum image sharpness is located at the vertex position of the parabola.
[0047] As shown in the typical "square" nested Mark, after rough focusing scanning, piezoelectric fine focusing is performed. The sharpness curves of different Z positions are driven by piezoelectricity, such as the real-time image sharpness values at different positions of the 100X objective lens of the nested Mark 100X, such as Figure 5 A and Figure 5 B are respectively the focusing schematics of the inner and outer frames of the "square" Mark, so as to achieve double focusing on the inner and outer frames, and then the error calculation can be realized through the centers of the inner and outer frames. As Figure 8 shown, for the "square" nested Mark, the Halcon algorithm is used to actually grab the edges of the inner and outer frames of the "square", calculate the displacement of the cross point positions of the centers of the inner and outer frames, and obtain the dx and dy values, which meet the index within 5 nm, so as to achieve OVL.
[0048] In some embodiments, the focal plane position is used for measuring different line widths of the wafer or measuring the overlay error of the wafer. The embodiments of this specification are used for measuring the CD of the metal gate line and OVL of the wafer, measuring the surface morphology lines of the semiconductor material wafer (wafer), and identifying the nested marks such as "square" and rings. Ten parameters are obtained to guide the lithography machine, and the result data includes indicators such as the 3S values of dx and dy, which improve the etching accuracy of the lithography machine.
[0049] Specifically, as Figure 6 shown, the embodiments of this specification judge the best focal plane through the image sharpness of the superimposed image of the grating scale transmission imaging or interference fringes, and measure different width lines at this position for CD; Figure 6 The patterns of different line widths of the calibration wafer are shown, including the theoretically minimum recognizable line width, to measure the CD measurement performance of the equipment, etc. As Figure 7 shown, the autofocus focal plane position of the embodiments of this specification is also used for measuring the overlay error of the wafer. As Figure 7OVL overlay measurement mark patterns, including the inner and outer frames of the square "回" character, and the inner and outer frames of the inner and outer diameters of the ring.
[0050] In some embodiments, the focal plane range of the rough scan is determined by laser ranging and confocal spectroscopy. Specifically, the autofocus rough scan focusing hardware includes a small lens barrel for 2X or 5X leveling; laser ranging and confocal spectroscopy to find the approximate Z-axis focal plane range of the rough scan.
[0051] In some embodiments, the device for focusing based on image sharpness realizes autofocus based on grating scale transmission imaging and sample imaging. The core components include a grating scale, a short-focus lens, a long-focus lens, a polarization beam splitter prism, a camera, a displacement beam splitter prism, a beam splitter prism, a light source, a piezoelectric element, and an objective lens.
[0052] Such as Figure 2 Schematically from right to left, the grating scale is coaxially arranged between two short-focus lenses to convert the transmitted light of the grating scale into parallel light to obtain grating scale transmission imaging. In the embodiments of this specification, arranging the grating scale between two short-focus lenses hardly occupies too much volume, so there is no need to make too many complex improvements to the optical system.
[0053] Two short-focus lenses are arranged along the optical path direction of the short-focus lens. From right to left, they are the first short-focus lens and the second short-focus lens. After the second short-focus lens, a first polarization beam splitter prism, a beam splitter prism, a piezoelectric element, an objective lens, and a sample are arranged in sequence.
[0054] The first polarization beam splitter prism sequentially arranges a first light source, a rotatable polarizer, and a long-focus lens (to achieve Köhler illumination) on the sample imaging optical path. The polarizer adjusts the polarization direction, and the long-focus lens can focus the light spot onto the rear focal plane of the objective lens to achieve Köhler illumination.
[0055] The beam splitter prism sequentially arranges a second polarization beam splitter prism, a displacement beam splitter prism, and a grating scale image imaging camera on the grating scale transmission imaging optical path. The beam splitter prism is arranged on the sample imaging camera on the sample imaging optical path. Among them, the optical paths of the grating scale transmission imaging and the sample imaging are combined by the first polarization beam splitter prism and then separated by the beam splitter prism at the sample imaging camera end; the grating scale transmission imaging and the sample imaging are combined by the second polarization beam splitter prism to obtain a superimposed image. The displacement beam splitter prism is adapted to different grating scales for micro-distance movement and then beam splitting or beam dispersion.
[0056] In the embodiments of this specification, through grating scale transmission imaging, the grating scale imaging and the sample imaging are confocal. When the piezoelectric element scans to obtain the peak of the image sharpness corresponding to the grating scale imaging, the sample imaging corresponds to the target focal plane position of high-precision autofocus. Among them, the piezoelectric scan is set to 2um, and the step is at the nm level. The focal plane is at the position of the image sharpness peak to achieve the purpose of focusing.
[0057] In some embodiments, the grating ruler sets the width of the grating strips and the spacing between adjacent grating strips, wherein the transparent grating strips or the non-transparent grating strips are set to be equal length or unequal length.
[0058] In combination with the above embodiments, the grating ruler in the grating ruler transmission imaging self-focusing device is customized according to different wafer processes, the width of the grating bars set by the grating ruler and the spacing between adjacent grating bars, the grating ruler variable pitch design, the pitch range is 5-200μm. Figure 2 As shown, the transparent grating strips or the non-transparent grating strips are set to be equal in length or unequal in length. The grating ruler and the short-focus lens are integrated and installed in a circular lens barrel. In this way, no complicated improvements are made to the optical imaging system, and no additional volume is occupied.
[0059] In some embodiments, the second light source corresponding to the grating ruler is set to a red light source, and the first light source in the sample imaging light path adopts a blue light, white light or a halogen light source.
[0060] In combination with the above embodiments, Figure 2 As shown, the second light source corresponding to the grating ruler arranged near the first short-focus lens is a red light source, providing red light in the direction of the grating ruler transmission light path. The first light source in the sample imaging light path adopts a blue light, white light or halogen light source.
[0061] In some embodiments, the grating ruler imaging light source is a red light laser light source with a wavelength of 660nm or a conventional LED light source in the red light band.
[0062] In summary, based on Figure 2 In the medium grating scale transmission imaging device, after the grating scale and sample images are combined through the first polarized light splitting prism, the grating scale image and sample image separated at the sample camera end (such as a conventional imaging unit using a splitting prism) are combined through the second polarized light splitting prism to realize the superimposed imaging process, so as to realize the approximate position of the self-focusing coarse scanning focal plane, that is, the focal plane range.
[0063] Precision scanning and self-focusing can be achieved through a small-stroke motor or piezoelectric scanning. The clarity value of the grating ruler at different Z-axis positions is used to determine whether it is in focus. The sample is imaged on the Camera array camera, and the grating ruler is imaged on the Line Scan Camera. The rotation angle of the mechanical micrometer set by the sample imaging camera prevents the piezoelectric scanning from being misaligned, so that the image is positioned correctly on the target surface, which is convenient for graphic algorithm recognition. The objective end is controlled by piezoelectric within a 3μm stroke range, with a step of 0.3μm, and piezoelectric pulse stepping and flying. The high-power mirror (100X) fine self-focusing function is realized based on the judgment of the image clarity curve value. PZT requires a controller to provide voltage to control its displacement.
[0064] In some embodiments, based on the white light interference self-focusing device, the core components of the white light interference image focusing include a camera, a dichroic prism, a white light LED light source, a piezoelectric, two 100X high-power objective lenses, a reflector, a shutter, a sample and a stage.
[0065] The beam splitter prism is set up so that the light emitted by the white light LED light source is divided into two beams after passing through the beam splitter prism, one beam is reflected back by the surface of the sample to be measured, and the other beam is reflected by the reflector. Along the sample imaging optical path, piezoelectric, second objective lens, sample, shutter, interference fringe image imaging and sample imaging area array camera are respectively set on both sides of the beam splitter prism; the light beam reflected by the reflector and the light beam reflected by the sample surface converge and interfere, forming sample imaging and interference fringe superposition imaging.
[0066] Specifically, the added objective lens and reflector utilize white light interference, and the shutter is used to realize sample imaging and sample and interference fringe superposition imaging; the best focal plane Z position is determined by the clarity of the interference fringe to achieve fine focusing. Figure 3 Based on two 100X HDR APO objective lenses, interference fringes are formed with NA values ranging from 0.7 to 0.9. During the scanning process, the surface to be measured can only obtain the strongest interference fringes light intensity at a certain height. PZT has a minimum step, each step is about tens of nanometers, and continuous light intensity changes are obtained. By controlling the switching time through the shutter, the piezoelectric fine nm-level scanning is carried out to determine the self-focusing clarity of the interference fringe image within this time range, thereby finding the fine focal plane Z position. Figure 3 The tube lens here refers to the tube lens.
[0067] In some embodiments, a fine focal plane Z position can be obtained by controlling multiple shutter times and determining the interference fringe image with maximum image clarity from multiple interference fringe images, and finally retaining the sample imaging taken at the focal plane Z position for wafer CD measurement and OVL overlay process.
[0068] It should be noted that the terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein.
[0069] The same or similar parts between the various embodiments in this specification can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the product embodiment described later, since it corresponds to the method, the description is relatively simple, and the relevant parts can be referred to the partial description of the system embodiment.
[0070] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A device for focusing based on image clarity, characterized in that: The device for focusing based on image clarity includes: a grating ruler, a short-focus lens, a long-focus lens, a polarization beam splitter prism, a camera, a displacement beam splitter prism, a beam splitter prism, a light source, piezoelectricity, and an objective lens; The grating ruler is coaxially arranged between two short-focus lenses to convert the transmitted light of the grating ruler into parallel light to obtain the transmission imaging of the grating ruler; A first polarization beam splitter prism, a beam splitter prism, a piezoelectric lens, an objective lens and a sample are sequentially arranged after the second short-focus lens along the optical path direction of the short-focus lens; The first polarization beam splitter prism sequentially arranges a first light source, a polarizer and a telephoto lens on the imaging light path of the sample; The beam splitter prism sequentially arranges a second polarization beam splitter prism, a displacement beam splitter prism, and a grating ruler image imaging camera on the grating ruler transmission imaging optical path; The beam splitter prism is arranged on the sample imaging camera in the sample imaging optical path; Among them, the optical paths of the grating ruler transmission imaging and the sample imaging are combined by the first polarization beam splitter prism, and then separated by the beam splitter prism at the sample imaging camera end; The grating ruler transmission imaging and the sample imaging are combined through the second polarization beam splitter prism to obtain a superimposed imaging, so as to obtain the focal plane position through piezoelectric precision focusing, and determine the clarity of the superimposed image corresponding to the grating ruler imaging as the maximum image clarity to determine the target focal plane position; The grating ruler sets the width of the grating strips and the spacing between adjacent grating strips, wherein the transparent grating strips or the non-transparent grating strips are set to be equal in length or unequal in length.
2. The device for focusing based on image clarity according to claim 1, characterized in that: The second light source corresponding to the grating ruler is set as a red light source; the first light source in the sample imaging light path adopts blue light, white light or halogen light source.
3. The device for focusing based on image clarity according to claim 1, characterized in that: A mechanical micrometer is set at the sample imaging camera end to rotate the angle to prevent the piezoelectric scanning from being misaligned.
4. A method for focusing based on image clarity, characterized in that: Applied to the apparatus for focusing based on image clarity as claimed in any one of claims 1 to 3, the method for focusing based on image clarity comprises: Perform optical imaging on the sample to be measured and obtain the focal range through coarse focusing. The optical imaging process includes sample imaging and superposition imaging. The focal plane position is obtained by stacking imaging and piezoelectric fine focusing according to the focal plane range; If the clarity of the superimposed image corresponding to the focal plane position is the maximum image clarity, the captured image corresponding to the focal plane position is used in the wafer measurement process.
5. The method for focusing based on image clarity according to claim 4, characterized in that: The focal range of the optical imaging of the sample to be measured through coarse focusing includes: The focal plane range is obtained by combining grating ruler transmission imaging with sample imaging confocally; Alternatively, the focal plane range can be obtained by combining sample imaging with interference fringe superposition imaging.
6. The method for focusing based on image clarity according to claim 4, characterized in that: The method for focusing based on image clarity also includes: Obtain the clarity evaluation curve of the piezoelectric range and the superimposed image. When the clarity of the superimposed image corresponding to the focal plane position is at the peak of the clarity evaluation curve, it is determined as the maximum image clarity.
7. The method for focusing based on image clarity according to claim 4, characterized in that: The focal plane position is used to measure different line widths of a wafer or to measure wafer overlay errors.
8. The method for focusing based on image clarity according to claim 4, characterized in that: The method based on image definition focusing also includes: determining the focal plane range of the rough scan by laser ranging and spectral confocal assistance.
