Pattern inspection method and pattern inspection device

By adjusting the stage height and alternating scan directions, the method and apparatus maintain focus across inspection areas with non-inspection areas, addressing the issue of image blurring in pattern inspection systems with significant step differences.

JP2024162872APending Publication Date: 2024-11-21NUFLARE TECH INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023078824
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-05-11
Publication Date
2024-11-21

AI Technical Summary

Technical Problem

Existing pattern inspection systems struggle to maintain focus when scanning between inspection areas and non-inspection areas with significant step differences, leading to blurred images due to the autofocus mechanism's inability to follow the step difference.

Method used

A method and apparatus that adjust the height position of the stage to maintain focus by varying the stage height during scanning, using autofocus control to align the pattern forming surface with the desired focus height, and alternating scan directions to mitigate focus shifts.

Benefits of technology

This approach effectively suppresses or reduces image blurring when scanning across inspection areas with non-inspection areas, ensuring clear imaging even with large step differences.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024162872000001_ABST
    Figure 2024162872000001_ABST
Patent Text Reader

Abstract

To provide a method capable of suppressing or reducing the blurring of an image captured immediately after the entry of a scan position into an inspection region, even when a large level difference difficult for an auto-focusing mechanism to follow is formed between the inspection region and a non-inspection region.SOLUTION: A patter inspection method includes: holding a stage height position during scanning of a non-inspection region at a stage height so that a pattern forming surface comes at a focus height position at a position in the vicinity of a scanning start position by using a stage height where the pattern forming surface comes at the focus height position at the position in the vicinity of the scanning start position of the inspection region adjoining forward in the scanning direction with respect to the non-inspection region when scanning the non-inspection region with inspection light; and adjusting a height position of the pattern forming surface adjoining forward in the scanning direction to the focus height position by starting scanning from a stage height position where a height position of a stage is held and variably controlling the height position of the stage when scanning the inspection region adjoining forward in the scanning direction with the inspection light with respect to the non-inspection region.SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] One aspect of the present invention relates to a pattern inspection method and a pattern inspection apparatus, for example, to an apparatus for inspecting a pattern defect of an exposure mask used in semiconductor manufacturing and autofocus control of the apparatus. [Background technology]

[0002] In recent years, with the increasing integration and capacity of large scale integrated circuits (LSI), the circuit line width required for semiconductor elements has become increasingly narrow. These semiconductor elements are manufactured by forming circuits by exposing and transferring a pattern onto a wafer using a reduced projection exposure device called a stepper, using an original pattern (also called a mask or reticle, hereafter collectively referred to as a mask) on which a circuit pattern is formed.

[0003] Improving yield is essential for the manufacture of LSIs, which are very costly to manufacture. One of the major factors that reduce yield is pattern defects in the masks used when exposing and transferring ultra-fine patterns onto semiconductor wafers using photolithography technology. In recent years, as the dimensions of LSI patterns formed on semiconductor wafers become finer, the dimensions that must be detected as pattern defects have become extremely small. This has created a need for high-precision pattern inspection equipment that inspects for defects in transfer masks used in LSI manufacturing.

[0004] Inspection techniques include, for example, "die-to-die inspection," which compares optical image data captured of the same pattern at different locations on the same mask, and "die-to-database inspection," which inputs drawing data (design data) converted from CAD data used to design the pattern into an equipment input format for input by a drawing device when drawing the pattern on a mask into an inspection device, generates a reference image based on this, and compares this with an optical image that serves as measurement data captured of the pattern.

[0005] In such an inspection device, it is necessary to obtain a clear image of the pattern on the sample to be inspected, such as a mask. However, since the optical system of the inspection device has a finite focal depth, it is necessary to keep the inspection surface of the sample to be inspected within the focal depth of the optical system during inspection. In other words, it is required to keep the contrast of the captured image within an acceptable range. Therefore, in addition to the inspection optical system for capturing an image, the inspection device employs an autofocus mechanism that detects the displacement of the object to be inspected in the height direction relative to the inspection optical system and adjusts the height position.

[0006] The sample to be inspected has a non-inspection area where no pattern is formed, surrounding the inspection area where a pattern is formed. In pattern inspection, scanning starts from the non-inspection area, proceeds to the inspection area, and continues to the non-inspection area on the opposite side. During this time, autofocus control is performed.

[0007] In some cases, a sample to be inspected has a large step between the surface of the non-inspection area and the surface of the inspection area, and in such a case, when the scanning position enters the inspection area from the non-inspection area, the autofocus control cannot keep up with the step, and the image captured immediately after entering the inspection area becomes blurred.

[0008] A method has been disclosed in which, for a sample that has a large difference in level between the inspection area surface and the non-inspection area surface, it is determined whether the area is an inspection area or a non-inspection area, an autofocus mechanism is driven in the inspection area, and the autofocus mechanism is stopped just before the scanning position enters the non-inspection area (see, for example, Patent Document 1).

[0009] However, some specimens have multiple inspection regions arranged with non-inspection regions sandwiched between them in the scanning direction during inspection. In such specimens, when the specimen is bent, the focus height position immediately before switching from the inspection region to the non-inspection region does not necessarily match the focus height position immediately after switching from the non-inspection region to the next inspection region. Therefore, there are cases where the problem of a blurred image captured immediately after the scanning position enters the next inspection region cannot be solved by simply stopping the autofocus mechanism immediately before the scanning position enters the non-inspection region. [Prior art documents] [Patent documents]

[0010] [Patent Document 1] JP 2012-078164 A Summary of the Invention [Problem to be solved by the invention]

[0011] Therefore, one aspect of the present invention provides a method and apparatus that, when inspecting a sample in which multiple inspection areas are arranged with a non-inspection area between them, can suppress or reduce blurring of an image captured immediately after the scanning position enters the inspection area, even when a large step occurs between the inspection area and the non-inspection area that is difficult for an autofocus mechanism to follow. [Means for solving the problem]

[0012] A pattern inspection method according to one aspect of the present invention includes: a step of scanning the plurality of inspection areas and the non-inspection areas between the inspection areas with an inspection light in a predetermined direction using a sample to be inspected, the sample having a plurality of inspection areas in which a geometric pattern is formed and non-inspection areas between the plurality of inspection areas; a step of capturing an optical image of the sample to be inspected by receiving light, which is irradiated with the inspection light and transmitted through or reflected from the sample to be inspected, by a sensor via an inspection optical system; using a reference image to compare the captured optical pixels with the reference image and output the result; Equipped with The scanning step described above includes: a step of performing autofocus control in which, when scanning an inspection area in front of a non-inspection area in a scanning direction with inspection light, a height position of a stage on which a sample to be inspected is placed is variably controlled to adjust a height position of a pattern-forming surface at each position of the inspection area to a desired focus height position; a step of, when scanning a non-inspection region with the inspection light, using a stage height at which the pattern-formed surface is at a focus height position in a position near a scanning start position of an inspection region adjacent to the non-inspection region in the scanning direction, and holding the stage height position during scanning of the non-inspection region at a stage height at which the pattern-formed surface is at a focus height position in the vicinity of the scanning start position of the inspection region; a step of performing autofocus control in which, when scanning an inspection area adjacent to a non-inspection area ahead in a scanning direction with the inspection light, the height position of the stage is started from a held stage height position, and the height position of the stage is variably controlled to adjust the height position of the pattern forming surface of the inspection area adjacent to the ahead in the scanning direction to a focus height position; The present invention is characterized by having the following.

[0013] Furthermore, scanning of the plurality of inspection areas and non-inspection areas between the inspection areas in a first direction and scanning of the plurality of inspection areas and non-inspection areas between the inspection areas in a direction opposite to the first direction are alternately repeated while shifting the positions in a second direction perpendicular to the first direction; The scanning step described above includes: a step of storing an autofocus-controlled stage height position immediately before the scanning position is switched from the inspection region on the front side to a non-inspection region in the (n-1)th scanning direction when performing the (n-1)th scanning (n is an integer of 2 or more); a step of moving, when performing an nth scan whose scanning direction is opposite to that of the n-1th scan, a stage height position to a stage height position stored when the n-1th scan was performed, which corresponds to a position in the vicinity of a position immediately after the scanning position is switched from the non-inspection region to an adjacent inspection region ahead in the nth scan direction, at a timing when the scanning position is switched from the inspection region on the front side in the nth scan direction to a non-inspection region, in the nth scan direction; It is preferable that the ion exchange resin further comprises the following:

[0014] The scanning step described above further comprises: a step of scanning the first scanning region in a direction opposite to the first scanning direction before performing the first scanning, and storing an autofocus-controlled stage height position immediately before the scanning position is switched from the preceding inspection region to a non-inspection region in the direction opposite to the first scanning direction; a step of moving, when performing a first scan, a stage height position to a stage height position stored for a position immediately after the scanning position is switched from the non-inspection region to an adjacent inspection region ahead in the first scan direction, at a timing when the scanning position is switched from the non-inspection region to a non-inspection region in the first scan direction; It is preferable that the ion exchange resin further comprises the following:

[0015] The sample to be inspected further has a second set of the plurality of inspection areas and the non-inspection areas between the inspection areas in a second direction from the first set of the plurality of inspection areas and the non-inspection areas between the inspection areas, with the non-inspection areas being sandwiched between the inspection areas; The scanning step described above includes: when scanning a second set following scanning a first set, before scanning the second set, scanning a first scanning area of ​​the second set in a direction opposite to a first scanning direction for the second set, and storing an autofocus-controlled stage height position immediately before the scanning position switches from a preceding inspection area to a non-inspection area in the direction opposite to the first scanning direction for the second set; a step of moving, when performing the first scan of the second set, the stage height position to a stage height position stored for the position immediately after the scanning position is switched from the non-inspection region to an adjacent inspection region ahead in the first scanning direction of the second set, at a timing when the scanning position is switched from the front inspection region to a non-inspection region in the first scanning direction of the second set; It is preferable that the ion exchange resin further comprises:

[0016] A pattern inspection apparatus according to one aspect of the present invention comprises: a movable stage on which a sample to be inspected is placed, the sample having a plurality of inspection regions on which a graphic pattern is formed and non-inspection regions between the plurality of inspection regions; A drive mechanism for moving the height position of the stage; an illumination optical system that illuminates the sample to be inspected with inspection light; a sensor that captures an optical image of the sample by receiving light that is transmitted through or reflected from the sample and is irradiated with the inspection light; an inspection optical system that guides light transmitted through or reflected from the sample to a sensor; an autofocus mechanism that performs autofocus control to adjust the height position of the pattern formation surface to a desired focus height position at each position of the plurality of inspection regions by variably controlling the height position of the stage when the plurality of inspection regions and the non-inspection regions between the inspection regions are scanned in a predetermined direction with the inspection light; a comparison circuit for comparing the captured optical pixels with the reference image using the reference image; Equipped with The autofocus mechanism is a storage device that stores a stage height at which the pattern forming surface is at a focus height position in a position near a scanning start position of an inspection area adjacent to the non-inspection area in the scanning direction; an autofocus processing unit which, when a non-inspection area is scanned with the inspection light, holds a stage height position during scanning of the non-inspection area at a stage height at which the pattern forming surface is at a focus height position in a position nearby the non-inspection area, and, when an inspection area adjacent to the non-inspection area in the forward scanning direction is scanned with the inspection light, starts from the held stage height position and variably controls the stage height position to adjust the height position of the pattern forming surface of the adjacent inspection area in the forward scanning direction to the focus height position; The present invention is characterized by having the following. Effect of the Invention

[0017] According to one aspect of the present invention, when inspecting a sample in which multiple inspection areas are arranged with a non-inspection area between them, even if a large step occurs between the inspection area and the non-inspection area that is difficult for the autofocus mechanism to follow, it is possible to suppress or reduce blurring of the image captured immediately after the scanning position enters the inspection area. [Brief description of the drawings]

[0018] [Figure 1] FIG. 1 is a configuration diagram showing a configuration of a pattern inspection device according to a first embodiment. [Diagram 2] FIG. 2 is a conceptual diagram for explaining an inspection region in the first embodiment. [Diagram 3] FIG. 2 is a top view showing an example of an inspection sample in the first embodiment. [Figure 4] 1 is a cross-sectional view showing an example of an inspection sample in the first embodiment. [Diagram 5] 2 is a block diagram showing an example of the internal configuration of an autofocus control circuit in the first embodiment. FIG. [Figure 6] FIG. 2 is a diagram showing a part of a stripe region in the first embodiment. [Figure 7] 4 is a top view showing another example of the inspected sample in the first embodiment. FIG. [Figure 8] FIG. 4 is a diagram for explaining a filter process in the first embodiment. [Figure 9]4 is a diagram showing an example of an internal configuration of a comparison circuit according to the first embodiment; FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0019] Embodiment 1 Fig. 1 is a configuration diagram showing the configuration of a pattern inspection apparatus in embodiment 1. In Fig. 1, an inspection apparatus 100 for inspecting defects in a pattern formed on an inspected sample such as a mask includes an optical image acquisition mechanism 150 and a control circuit 160.

[0020] The optical image acquisition mechanism 150 includes a light source 103, a reflection illumination optical system 171, a movably arranged XYθ table 102, a magnification optical system 104, a beam splitter 174, a beam splitter 177, a collimator lens 176, an imaging optical system 178, an autofocus mechanism 131, an image sensor 105, a sensor circuit 106, a stripe pattern memory 123, a laser measurement system 122, and an autoloader 130. When a transmission inspection using transmitted light is performed, a transmission illumination optical system 170 is further arranged. When only a reflection inspection using reflected light is performed without performing a transmission inspection, the transmission illumination optical system 170 may be omitted. When both a transmission inspection and a reflection inspection are performed simultaneously, an image sensor (not shown) may be further added, and the image sensor 105 captures an image for the reflection inspection, and the added image sensor captures an image for the transmission inspection.

[0021] The autofocus mechanism 131 has an autofocus optical system 180, a light amount sensor 185 (first light amount sensor), a light amount sensor 187 (second light amount sensor), a Z drive mechanism 132, and a position sensor 134. When the sample 101 to be inspected is irradiated with inspection light, the autofocus optical system 180 receives light that is transmitted through or reflected from the sample to be inspected, passes through the magnifying optical system 104 and a beam splitter 174, and is split by a beam splitter 177. The light that has passed through the beam splitter 177 passes through an imaging optical system 178 and is incident on the imaging sensor 105.

[0022] The autofocus optical system 180 includes an imaging optical system 181, a beam splitter 182, a slit plate 184, and a slit plate 186. The autofocus optical system 180 guides light transmitted through or reflected from the sample to a light amount sensor 185 and a light amount sensor 187. The beam splitter 182 is disposed in front of the focal position. The slit plate 184 is disposed at a front focal position (front focus position) and receives light transmitted through the beam splitter 182. The light amount sensor 185 measures the amount of light that has passed through the slit plate 184 disposed at the front focal position (front focus position). The slit plate 186 is disposed at a back focal position (back focus position) and receives light split by the beam splitter 182. The light amount sensor 187 measures the amount of light that has passed through the slit plate 186 disposed at a back focal position (back focus position).

[0023] The sample 101 to be inspected, which has been transferred from the autoloader 130, is placed on the XYθ table 102. The sample 101 to be inspected includes, for example, a photomask for exposure that transfers a pattern onto a semiconductor substrate such as a wafer. In addition, a graphic pattern to be inspected is formed on this photomask. The sample 101 to be inspected is not limited to a photomask. In addition, the sample 101 to be inspected is placed on the XYθ table 102 with, for example, the pattern-formed surface facing downward. This is an example of a stage for the XYθ table 102.

[0024] A line sensor or a two-dimensional sensor is used as the imaging sensor 105. For example, a TDI (time delay integration) sensor is preferably used. The TDI sensor has a plurality of photosensor elements arranged two-dimensionally. A predetermined image accumulation time is set for each photosensor element when capturing an image. In the TDI sensor, the output of a plurality of photosensor elements arranged in the scanning direction is integrated and output. The plurality of photosensor elements arranged in the scanning direction capture the same pixel while shifting the time according to the movement of the XYθ table 102. When a line sensor is used, the plurality of photosensor elements are arranged so as to be lined up in a direction perpendicular to the scanning direction.

[0025] In the control system circuit 160, a control computer 110 that controls the entire inspection apparatus 100 is connected to a position circuit 107, a comparison circuit 108, a reference image creation circuit 112, an autoloader control circuit 113, a table control circuit 114, an autofocus control circuit 140, a magnetic disk device 109, a memory 111, a magnetic tape device 115, a flexible disk device (FD) 116, a CRT 117, a pattern monitor 118, and a printer 119 via a bus 120. In addition, the sensor circuit 106 is connected to a stripe pattern memory 123, which is connected to the comparison circuit 108. In addition, the reference image creation circuit 112 is connected to the comparison circuit 108.

[0026] The output of the position sensor 134 is connected to the autofocus control circuit 140. In addition, the outputs of the light amount sensors 185 and 187 are connected to the autofocus control circuit 140.

[0027] In addition, a series of "circuits" such as the position circuit 107, the comparison circuit 108, the reference image creation circuit 112, the autoloader control circuit 113, the table control circuit 114, and the autofocus control circuit 140 have a processing circuit. Such processing circuits include electric circuits, computers, processors, circuit boards, quantum circuits, or semiconductor devices. Each circuit may be configured using the same processing circuit (one processing circuit), or different processing circuits (separate processing circuits). For example, a series of "circuits" such as the position circuit 107, the comparison circuit 108, the reference image creation circuit 112, the autoloader control circuit 113, the table control circuit 114, and the autofocus control circuit 140 may be configured and executed by the control computer 110. Input data or calculated results required for the position circuit 107, the comparison circuit 108, the reference image creation circuit 112, the autoloader control circuit 113, the table control circuit 114, and the autofocus control circuit 140 are stored in a memory (not shown) in each circuit or in the memory 111 each time. Input data required for the control computer 110 or the results of calculations are stored in a memory (not shown) in the control computer 110 or in the memory 111 each time. The programs for executing the processor and the like may be recorded on a recording medium such as the magnetic disk device 109, the magnetic tape device 115, the FD 116, or a ROM (read only memory).

[0028] The inspection device 100 is equipped with a reflection inspection optical system and / or a transmission inspection optical system as the inspection optical system 175. A high-magnification reflection inspection optical system is configured by the light source 103, the reflection illumination optical system 171, the beam splitter 174, the magnification optical system 104, the XYθ table 102, the collimator lens 176, and the imaging optical system 178. Alternatively, a high-magnification transmission inspection optical system is configured by the light source 103, the transmission illumination optical system 170, the XYθ table 102, the magnification optical system 104, the collimator lens 176, and the imaging optical system 178.

[0029] The XYθ table 102 is driven by a table control circuit 114 under the control of the control computer 110. It can be moved by a drive system such as a three-axis (XY-θ) motor that drives in the X, Y, and θ directions. These X, Y, and θ motors can be, for example, step motors. The XYθ table 102 can be moved in the horizontal and rotational directions by motors of the XYθ axes. The XYθ table 102 is an example of a stage. The scanning position (imaging position or optical axis position) of the sample 101 placed on the XYθ table 102 is measured by a laser length measurement system 122 and supplied to a position circuit 107. The transport of the sample 101 from the autoloader 130 to the XYθ table 102 and the transport process of the sample 101 from the XYθ table 102 to the autoloader 130 are controlled by an autoloader control circuit 113.

[0030] Furthermore, the XYθ table 102 is driven in the z direction by a Z driving mechanism 132 controlled by an autofocus control circuit 140. For example, a piezoelectric element or a step motor is preferably used as the Z driving mechanism 132. Furthermore, the height position of the surface of the inspected sample 101 (for example, a pattern-formed surface) is measured by a position sensor 134, and the measurement result is output to the autofocus control circuit 140.

[0031] Drawing data (design data) on which the pattern of the sample 101 to be inspected is formed is input from outside the inspection device 100 and stored in the magnetic disk device 109. In the drawing data, a plurality of geometric patterns are defined, and each geometric pattern is usually composed of a combination of a plurality of element geometric patterns. It is also possible for a geometric pattern to be composed of a single geometric pattern. On the sample 101 to be inspected, a corresponding pattern is formed based on each of the geometric patterns defined in the drawing data.

[0032] 1 illustrates components necessary for explaining the embodiment 1. It goes without saying that the inspection device 100 may include other components that are normally required.

[0033] 2 is a conceptual diagram for explaining the inspection area in the first embodiment. The inspection area 10 (in the case where there are multiple inspection areas, a circumscribing rectangular area of ​​all the multiple inspection areas) of the inspected sample 101 is virtually divided, for example, in the Y direction into multiple rectangular inspection stripes 20 having a scan width W of the image sensor 105. The inspection device 100 then acquires an image (stripe area image) for each inspection stripe 20. For each inspection stripe 20, an image of a figure pattern arranged within the inspection stripe 20 is captured in the longitudinal direction (X direction) of the stripe area using a laser beam (inspection beam). In order to prevent missing an image, it is preferable that the multiple inspection stripes 20 are set so that adjacent inspection stripes 20 overlap with each other with a predetermined margin width.

[0034] The movement of the XYθ table 102 causes the image sensor 105 to move continuously in the X direction relative to the object, thereby acquiring optical images. The image sensor 105 continuously captures optical images of a scan width W as shown in FIG. 2. In the first embodiment, after capturing an optical image of one inspection stripe 20, the image sensor 105 moves in the Y direction to the position of the next inspection stripe 20, and then moves in the reverse direction to similarly capture optical images of the scan width W continuously. That is, imaging is repeated in the forward (FWD)-backward (BWD) directions, which are opposite directions, on the outward and return paths.

[0035] Furthermore, for actual inspection, the stripe region image of each inspection stripe 20 is divided into a plurality of rectangular frame region 30 images (frame images 31) as shown in Fig. 2. Then, inspection is performed for each frame image 31 of the frame region 30. For example, it is divided into a size of 512 x 512 pixels. Therefore, a reference image to be compared with the frame images 31 of the frame region 30 is also created for each frame region 30.

[0036] When acquiring an image of each inspection stripe 20, the optical image acquisition mechanism 150 places the sample 101 under inspection on the XYθ table 102, and receives light irradiated with inspection light and transmitted or reflected by the sample 101 under inspection at a set sample surface height position, at the imaging sensor 105 via the inspection optical system 175, thereby capturing an optical image of the sample under inspection in a preset frame region 30. Specifically, it operates as follows.

[0037] The optical image acquisition mechanism 150 scans the inspection stripe 20 including the preset frame region 30 with a laser beam (inspection beam) and captures an image of the stripe region with the imaging sensor 105. Specifically, it operates as follows. The XYθ table 102 is moved to a position where the target inspection stripe 20 can be imaged. In the transmission inspection, a pattern formed on the sample 101 to be inspected is irradiated with a laser beam (e.g., DUV beam) having a wavelength of ultraviolet or less, which serves as inspection beam, from an appropriate light source 103 via the transmission illumination optical system 170. In other words, the transmission illumination optical system 170 illuminates the sample on which the pattern is formed. The light transmitted through the sample 101 to be inspected is imaged as an optical image by the imaging optical system 178 via the magnifying optical system 104 and the collimator lens 176, and is incident on the imaging sensor 105 (an example of a sensor). In other words, the inspection optical system 175 guides the light transmitted through the sample to the imaging sensor 105.

[0038] Alternatively, in a reflection inspection, a laser light having a wavelength of ultraviolet or less (e.g., DUV light) serving as inspection light is irradiated from an appropriate light source 103 to a beam splitter 174 by a reflection illumination optical system 171. The irradiated laser light is reflected by the beam splitter 174 and irradiated to the sample 101 by the magnifying optical system 104. The light reflected from the sample 101 passes through the magnifying optical system 104, the beam splitter 174, and the collimator lens 176, and is formed as an optical image by the imaging optical system 178 on the imaging sensor 105 and enters the imaging sensor 105. In other words, the inspection optical system 175 guides the light reflected from the sample to the imaging sensor 105.

[0039] The image sensor 105 captures an optical image of the sample 101 by receiving light that is transmitted through or reflected from the sample 101 irradiated with inspection light.

[0040] The pattern image formed on the image sensor 105 is photoelectrically converted by each photosensor element of the image sensor 105, and further A / D (analog-to-digital) converted by the sensor circuit 106. Then, pixel value data of the inspection stripe 20 to be measured is stored in the stripe pattern memory 123. The measurement data (pixel data) is, for example, 8-bit unsigned data, and represents the brightness gradation (light amount) of each pixel.

[0041] As described above, the inspection device 100, in addition to the inspection optical system 175 (the reflection inspection optical system and / or the transmission inspection optical system), is equipped with an autofocus mechanism 131 that detects the displacement of the inspected sample 101 in the height direction relative to the inspection optical system 175 and adjusts the height position of the inspected sample 101 to the focus position.

[0042] The autofocus mechanism 131 performs autofocus control to adjust the height position of the pattern formation surface to a desired focus height position at each position of the target stripe region by variably controlling the height position of the XYθ table 102 (stage) while acquiring an image of the inspection stripe 20. In other words, when a plurality of inspection regions 12 described below and non-inspection regions 14 between the inspection regions are scanned in a predetermined direction with the inspection light, the autofocus mechanism 131 performs autofocus control to adjust the height position of the pattern formation surface to a desired focus height position at each position of the plurality of inspection regions 12 by variably controlling the height position of the XYθ table 102 (stage). The height position of the XYθ table 102 (stage) is moved by the Z drive mechanism 132.

[0043] Here, as patterns become finer, the wavelength of the inspection light is becoming shorter, and as a result, the focal depth of the inspection optical system 175 becomes shallower. Therefore, while the accuracy of an independent measurement system installed near the inspection optical system was previously sufficient, it has become impossible to detect various fluctuation factors (temperature / mechanical deformation dependence) of the inspection optical system without performing (in-situ) measurements using the inspection optical system itself, making it impossible to perform high-precision focus adjustment.

[0044] Therefore, the autofocus mechanism 131 adjusts the height position of the surface of the sample 101 to the focus position using the light amount measured at the front and back focal positions of the light transmitted through or reflected from the sample 101 when the sample 101 is irradiated with the inspection light (DUV light). In the example of FIG. 1, the autofocus mechanism 131 adjusts the height position of the surface of the sample 101 to the focus position using the light amount measured at the front and back focal positions of the light reflected from the sample 101. Specifically, the autofocus mechanism 131 adjusts the height position of the surface of the sample 101 to the focus position using a confocal optical system, where a value (autofocus signal) obtained by dividing the difference between the light amount signal AF-F at the front focal position measured by the light amount sensor 185 and the light amount signal AF-R at the back focal position measured by the light amount sensor 187 with respect to the height position of the pattern formation surface of the sample is a predetermined value (for example, zero). When there is a deviation between the focus height position for the image sensor 105 and the focus height position for the autofocus mechanism 131, the height position of the surface of the sample 101 to be inspected is adjusted to a position to which an offset for the deviation is added. A specific description will be given below.

[0045] When capturing the optical images of each inspection stripe 20 described above, the autofocus mechanism 131 adjusts the sample surface height position of the inspected sample 101, which may vary with the horizontal movement of the XYθ table 102, to a sample surface height position corresponding to a desired autofocus signal (e.g., zero) with the inspected sample 101 placed on the XYθ table 102. Specifically, it operates as follows.

[0046] The light transmitted through or reflected by the inspected sample 101 passes through the magnifying optical system 104 and the beam splitter 174, and a portion of the light is branched off by the beam splitter 177. The branched light is incident on the autofocus optical system 180. As described above, the light amount sensor 185 measures the amount of light at the front focal position (front focus position). The light amount sensor 187 measures the amount of light at the back focal position (back focus position). The light amounts measured by the light amount sensors 185 and 187 are output to the autofocus control circuit 140.

[0047] The autofocus control circuit 140 receives the amounts of light at the front focus position and the rear focus position from the light amount sensors 185 and 187 and stores them in the storage device 51 .

[0048] An autofocus signal calculation unit 62 inputs the amount of light at the front focus position and the amount of light at the back focus position from the storage device 51, and calculates an autofocus signal (AF signal).

[0049] The autofocus processor 64 controls the Z drive mechanism 132 so that the calculated autofocus signal becomes a desired autofocus signal (for example, zero).

[0050] In this manner, autofocus control is performed while an image is being captured (while the inspection area is being scanned).

[0051] FIG. 3 is a top view showing an example of the inspected sample in the first embodiment. FIG. 4 is a cross-sectional view showing an example of the inspected sample in the first embodiment. As shown in FIG. 3 and FIG. 4, a plurality of inspection regions 12 are arranged in the sample 101 to be inspected in the first embodiment. A graphic pattern is arranged in each inspection region 12. The same graphic pattern may be arranged in each inspection region 12, or different graphic patterns may be arranged in each inspection region 12. The plurality of inspection regions 12 are arranged with non-inspection regions 14 between the inspection regions 12. The surrounding area of ​​the plurality of inspection regions 12 is also a non-inspection region. In other words, each inspection region 12 is surrounded by the non-inspection region 14. Although a pattern is not generally formed in the non-inspection region 14, a pattern may be formed in the non-inspection region 14. The example of FIG. 3 and FIG. 4 shows, for example, a case where two inspection regions 12a and 12b are formed with the non-inspection region 14 between them. When capturing an optical image of such a sample 101 to be inspected, as described in FIG. 2, a circumscribing rectangular area of ​​the plurality of inspection regions 12 is divided into a plurality of inspection stripes 20 in the y direction, for example. Alternatively, a circumscribing rectangular area of ​​at least the entire inspection regions 12 aligned in the x direction is divided into a plurality of inspection stripes 20 in the y direction, for example. Then, the inspection stripe 20 is scanned with the inspection light for each inspection stripe 20, thereby capturing an image within the stripe region. Therefore, the non-inspection region 14 located between the inspection regions 12a and 12b is also scanned with the inspection light. When capturing an image, the above-mentioned autofocus mechanism 131 is used to perform autofocus control.

[0052] Here, in the first embodiment, as shown in FIG. 4, a sample 101 to be inspected is used that has a large step between the surface of the inspection region 12 and the surface of the non-inspection region 14. In the example of FIG. 4, the pattern-forming surface of the sample 101 to be inspected is shown facing downward. In the example of FIG. 4, the sample 101 to be inspected has a pattern formed on a glass substrate 16 with a light-shielding film 17 made of, for example, chromium (Cr). In addition, a light-shielding film 18 made of, for example, chromium (Cr) having a different thickness from the light-shielding film 17 is formed around the area where the pattern is formed (the inspection region 12 in this case). In this manner, for example, a mask or the like in which a large step is formed by two films having different thicknesses is used as the sample 101 to be inspected. In the example of FIG. 4, the light-shielding film 18 protrudes (has a large thickness) outward from the light-shielding film 17 (to the lower side in FIG. 4), but the present invention is not limited to this. For example, the thickness of the glass substrate 16 in the non-inspection region 14 may be formed to be thinner, thereby forming a sample to be inspected that has a large step between the surface of the inspection region 12 and the surface of the non-inspection region 14.

[0053] In the comparative example of the first embodiment, when scanning the sample 101 to be inspected, as shown in FIG. 4, the autofocus mechanism 131 adjusts the inspection region 12 surface to the focus height position on the inspection region 12 surface, and adjusts the non-inspection region 14 surface to the focus height position on the non-inspection region 14 surface. In the method of the comparative example, when the scanning position of the inspection light enters the inspection region 12 from the non-inspection region 14, the step is large, and the focus control may not be able to keep up. As a result, the image captured immediately after entering the inspection region 12 has a misaligned focus position, and the image is blurred. This phenomenon of focus deviation occurs when the scanning position enters the inspection region 12 of the target inspection stripe 20 from the non-inspection region 14 outside each inspection stripe 20, which is the approach section of the scanning operation. Similarly, it occurs when the scanning position enters the next inspection region 12 adjacent in the scanning direction of the target inspection stripe 20 from the non-inspection region 14 between the inspection regions 12 in each inspection stripe 20.

[0054] Therefore, in the first embodiment, when the scanning position enters the inspection area 12 from the non-inspection area 14, the height of the XYθ table 102 (stage) is adjusted in advance to a height position where the height position of the inspection area surface of the entering destination substantially matches the focus height position, or to a height position of the XYθ table 102 that can be tracked by autofocus control. A specific description will be given below.

[0055] FIG. 5 is a block diagram showing an example of the internal configuration of the autofocus control circuit in the first embodiment. In the autofocus control circuit 140, storage devices 51, 61, 69 such as a magnetic disk device, an AF signal calculation unit 62, an autofocus processing unit 64, an area determination unit 66, and a stage height position recording unit 68 are arranged. A series of "~ units" such as the AF signal calculation unit 62, the autofocus processing unit 64, the area determination unit 66, and the stage height position recording unit 68 have processing circuits. Such processing circuits include electric circuits, computers, processors, circuit boards, quantum circuits, or semiconductor devices. In addition, each "~ unit" may use a common processing circuit (the same processing circuit). Alternatively, different processing circuits (separate processing circuits) may be used. Input data required for the AF signal calculation unit 62, the autofocus processing unit 64, the area determination unit 66, and the stage height position recording unit 68 or the calculated results are stored in a memory (not shown) in the comparison circuit 108 or in the memory 111 each time.

[0056] FIG. 6 is a diagram showing a part of a stripe region in the first embodiment. In the first embodiment, a sample 101 to be inspected is used, which has a plurality of inspection regions 12a, 12b in which a graphic pattern is formed and a non-inspection region 14 between the inspection regions 12a, 12b. In the example of FIG. 6, the first to third inspection stripes 20 out of a plurality of inspection stripes 20 of the sample 101 to be inspected and the non-inspection region portions on both sides thereof are shown. In FIG. 6, in order to make it easy to understand the scanning course, the y coordinates of positions P0, A, and B are shown shifted from the y coordinates of positions P1, B', C, A', and D, but the y coordinates of positions P0, A, A', B, B', P1, C, and D are the same.

[0057] First, a movable XYθ table 102 places thereon an inspected sample 101 having a plurality of inspection regions 12 on which a geometric pattern is formed and non-inspection regions 14 between the inspection regions 12 .

[0058] When acquiring an image of each inspection stripe 20, the optical image acquisition mechanism 150 scans the inspection areas 12a, 12b and the non-inspection areas 14 between the inspection areas in a predetermined direction with the inspection light. In the example of FIG. 6, the first inspection stripe 20 is scanned in the +x direction, for example. In this case, the second inspection stripe 20 is scanned in the -x direction. The third inspection stripe 20 is scanned in the +x direction. Thereafter, scanning is performed alternately while changing the direction in a similar manner.

[0059] When scanning each inspection stripe 20, the non-inspection region 14 located before the scanning start position of each inspection stripe 20 in the scanning direction is used as the run-up region, and the XYθ table 102 (stage) speed is accelerated within the run-up region to a desired speed and scanning is started. Then, scanning is continued without reducing the stage speed until the stage enters the non-inspection region 14 located ahead of the scanning end position of each inspection stripe 20 in the scanning direction, and then the non-inspection region 14 is used as a deceleration region, and the XYθ table 102 (stage) speed is decelerated within the non-inspection region 14. This makes it possible to keep the stage speed constant within each inspection stripe 20 during scanning.

[0060] When each inspection area 12a, 12b is scanned with the inspection light, the autofocus mechanism 131 performs autofocus control to adjust the height position of the surface (e.g., pattern-formed surface) of the inspected sample 101 to a desired focus height position at each position of the inspection area 12a (12b) by variably controlling the height position of the XYθ table 102 (stage) on which the inspected sample 101 is placed. The desired focus height position is a height position at which the above-mentioned autofocus signal becomes a predetermined value (e.g., zero).

[0061] On the other hand, when scanning the non-inspection region 14 with the inspection light, the autofocus mechanism 131 holds the stage height position during scanning of the non-inspection region 14 at the stage height position z where the pattern-formed surface is at the focus height position at a position near the scanning start position of the inspection region 12a (12b) adjacent to the non-inspection region 14 in the scanning direction, by using the height position z of the XYθ table 102 (stage) where the pattern-formed surface is at the focus height position at the position near the scanning start position of the inspection region 12a (12b) adjacent to the non-inspection region 14 in the scanning direction. Then, autofocus control is stopped in the held state.

[0062] When the autofocus mechanism 131 scans the adjacent inspection area 12a (12b) in the scanning direction relative to the non-inspection area 14 with inspection light, it starts from the maintained stage height position of the XYθ table 102 (stage) and performs autofocus control to adjust the height position of the pattern formation surface of the adjacent inspection area 12a (12b) in the scanning direction to the focus height position by variably controlling the height position of the XYθ table 102 (stage).

[0063] While scanning each inspection stripe 20, the area determination unit 66 inputs the coordinates (x, y) of the scanning position from the position circuit 107. Then, the area determination unit 66 refers to the non-inspection area information to determine the relative positional relationship between the current scanning position and the non-inspection area 14. The non-inspection area information defines the position, size, etc. of the non-inspection area 14. The non-inspection area information is stored in advance in the storage device 61. A specific description will be given below.

[0064] First, before scanning the first inspection stripe 20 (first scanning), the optical image acquisition mechanism 150 scans (pre-scans) the first inspection stripe 20 (first scanning area) in the opposite direction (-x direction) to the first scanning direction (+x direction). At this time, for example, scanning is started from a position P0 in the non-inspection area 14c in front of the first inspection stripe 20 in the scanning direction (-x direction). The autofocus processing unit 64 executes autofocus control.

[0065] As the scanning of the inspection region 12b progresses, when the scanning position reaches position A immediately before the non-inspection region 14b, the region determination unit 66 outputs an identifier indicating that fact to the stage height position recording unit 68. The distance from the end of the non-inspection region 14b, which is the immediately before position A, may be set to a desired distance in advance. The stage height position recording unit 68 records the height position z of the XYθ table 102 (stage) at the time when the scanning position reaches position A just before the non-inspection area 14b (the time when the identifier is input), and stores it in the memory device 69 in association with the coordinates (x, y) of position A.

[0066] Similarly, when the scanning of the inspection area 12a progresses and the scanning position reaches position B just before the non-inspection area 14a, the area determination unit 66 outputs an identifier indicating that to the stage height position recording unit 68. The distance from the end of the non-inspection area 14a, which is the just before position B, may be set to a desired distance in advance. The stage height position recording unit 68 records the height position z of the XYθ table 102 (stage) at the time when the scanning position reaches position B just before the non-inspection area 14a (the time when the identifier is input), and stores it in the memory device 69 in association with the coordinates (x, y) of position B. The autofocus processing unit 64 stops the autofocus control while maintaining the height position z of the XYθ table 102 (stage) at position B.

[0067] Thereafter, scanning of the first inspection stripe 20 (first scanning) is performed. The optical image acquisition mechanism 150 scans the first inspection stripe 20 (first scanning area) in the first scanning direction (+x direction). At this time, scanning is started from a position P1 in the non-inspection area 14a on the front side in the scanning direction (+x direction) of the first inspection stripe 20.

[0068] When the scanning position enters the inspection region 12a from the non-inspection region 14a during scanning of the first inspection stripe 20 (first scan), the region determination unit 66 outputs a command to that effect to the autofocus processing unit 64.

[0069] The autofocus processing unit 64 executes autofocus control starting from the height position of the XYθ table 102 (stage) where the height position of the stage is held at the timing when the scanning position enters the inspection area 12a from the non-inspection area 14a. Position B' (same as position B) where the scanning position enters the inspection area 12a becomes the start position of autofocus control, but when the scanning position reaches position B', the height position of the XYθ table 102 (stage) becomes the height position where autofocus control was performed at position B. This prevents the autofocus control from being unable to keep up and being delayed. Then, the autofocus processing unit 64 executes autofocus control for the inspection area 12a.

[0070] During scanning of the first inspection stripe 20 (first scan), when scanning of the inspection region 12a progresses and the scanning position reaches position C just before the non-inspection region 14b, the region determination unit 66 outputs an identifier indicating that to the stage height position recording unit 68. The distance from the end of the non-inspection region 14b, which is the just before position C, may be set to a desired distance in advance. The stage height position recording unit 68 records the height position z of the XYθ table 102 (stage) at the time when the scanning position reaches position C just before the non-inspection area 14b (the time when the identifier is input), and stores it in the memory device 69 in association with the coordinates (x, y) of position C.

[0071] In scanning the first inspection stripe 20 (first scan), at the timing when the scanning position switches from the front inspection region 12a to the non-inspection region 14b in the scanning direction (+x direction) of the first inspection stripe 20, the autofocus processing unit 64 controls the driving mechanism 132 to move the height position of the XYθ table 102 (stage) to the XYθ table 102 (stage) height position z stored for the position A' (same as position A) immediately after the scanning position switches from the non-inspection region 14b to the adjacent inspection region 12b ahead in the scanning direction (+x direction) of the first inspection stripe 20. Then, the autofocus processing unit 64 stops the autofocus control while maintaining the moved XYθ table 102 (stage) height position z.

[0072] Then, at the timing when the scanning position enters the inspection region 12b from the non-inspection region 14b during the scanning of the first inspection stripe 20 (first scan), the region determination unit 66 outputs a command to that effect to the autofocus processing unit 64.

[0073] The autofocus processing unit 64 executes autofocus control starting from the height position of the XYθ table 102 (stage) where the height position of the stage is held at the timing when the scanning position enters the inspection area 12b from the non-inspection area 14b. Position A' (same as position A) where the scanning position enters the inspection area 12b is the start position of autofocus control, but when the scanning position reaches position A', the height position of the XYθ table 102 (stage) is the height position where autofocus control was performed at position A. This prevents the autofocus control from being unable to keep up and being delayed. Then, the autofocus processing unit 64 executes autofocus control for the inspection area 12b.

[0074] During scanning of the first inspection stripe 20 (first scan), when scanning of the inspection region 12b progresses and the scanning position reaches position D just before the non-inspection region 14c, the region determination unit 66 outputs an identifier indicating that to the stage height position recording unit 68. The distance from the end of the non-inspection region 14c, which is the just before position D, may be set to a desired distance in advance. The stage height position recording unit 68 records the height position z of the XYθ table 102 (stage) at the time when the scanning position reaches position D just before the non-inspection area 14c (the time when the identifier is input), and stores it in the memory device 69 in association with the coordinates (x, y) of position D.

[0075] In the scanning of the first inspection stripe 20 (first scanning), at the timing when the scanning position switches from the inspection region 12b in front in the scanning direction (+x direction) of the first inspection stripe 20 to the non-inspection region 14c, the autofocus processing unit 64 controls the driving mechanism 132 to move the height position of the XYθ table 102 (stage) to the XYθ table 102 (stage) height position z stored for the nearby position D of the position D′ immediately after the scanning position switches from the non-inspection region 14c to the adjacent inspection region 12b ahead in the scanning direction (-x direction) of the second inspection stripe 20. Then, the autofocus processing unit 64 stops the autofocus control while maintaining the moved height position z of the XYθ table 102 (stage). In other words, the autofocus processing unit 64 stops the autofocus control while maintaining the height position z of the XYθ table 102 (stage) at the position D.

[0076] As described above, scanning of the multiple inspection areas 12a, 12b and the non-inspection areas 14 between the inspection areas 12a, 12b in the +x direction (first direction) and scanning of the multiple inspection areas 12a, 12b and the non-inspection areas 14 between the inspection areas 12a, 12b in the direction opposite to the x direction (-x direction) are alternately repeated while shifting the position in the y direction (second direction) perpendicular to the +x direction.

[0077] The stage height position recording unit 68 stores the autofocus controlled stage height position immediately before the scanning position switches from the inspection region 12a (12b) on the front side to the non-inspection region 14b in the n-1th scanning direction when scanning the n-1th (n is an integer equal to or greater than 2) inspection stripe 20 (the n-1th scanning). As described above, in the scanning of the first inspection stripe 20 (the first scanning), the autofocus controlled stage height positions of the positions C and D are stored. Thereafter, in the scanning of each stripe region, the autofocus controlled stage height position immediately before the scanning position switches from the inspection region 12a (12b) on the front side to the non-inspection region 14b in the scanning direction is stored in the same manner.

[0078] Then, when performing the nth scan in which the scanning direction is opposite to that of the n-1th scan, at the timing when the scanning position switches from the inspection region 12a (12b) on the front side in the nth scan direction to the non-inspection region 14b, the stage height position is moved to the stage height position of the position stored when the n-1th scan was performed, which corresponds to the position in the vicinity of the position immediately after the scanning position switches from the non-inspection region 14b to the adjacent inspection region 12b (12a) ahead in the nth scan direction. A specific description will be given below.

[0079] The second inspection stripe 20 is scanned (second scanning). The optical image acquisition mechanism 150 scans the second inspection stripe 20 (second scanning area) in the second scanning direction (-x direction). At this time, scanning is started from a position P2 in the non-inspection area 14c on the front side in the scanning direction (-x direction) of the second inspection stripe 20.

[0080] When the scanning position enters the inspection region 12b from the non-inspection region 14c during the scanning of the second inspection stripe 20 (second scanning), the region determination unit 66 outputs a command to that effect to the autofocus processing unit 64.

[0081] The autofocus processing unit 64 executes autofocus control starting from the height position of the XYθ table 102 (stage) where the height position of the stage is held at the timing when the scanning position enters the inspection area 12b from the non-inspection area 14c. The position D' where the scanning position enters the inspection area 12b is the start position of the autofocus control, but when the scanning position reaches position D', the height position of the XYθ table 102 (stage) is the height position where the autofocus control is performed at position D near position D'. This prevents the autofocus control from being unable to keep up and being delayed. Then, the autofocus processing unit 64 executes autofocus control for the inspection area 12b.

[0082] During scanning of the second inspection stripe 20 (second scan), when the scanning of the inspection region 12b progresses and the scanning position reaches position E just before the non-inspection region 14b, the region determination unit 66 outputs an identifier indicating that to the stage height position recording unit 68. The distance from the end of the non-inspection region 14b just before to position E may be set similarly to the distance from the end of the non-inspection region 14b to position A. The stage height position recording unit 68 records the height position z of the XYθ table 102 (stage) at the time when the scanning position reaches position E just before the non-inspection area 14b (the time when the identifier is input), and stores it in the memory device 69 in association with the coordinates (x, y) of position E.

[0083] In scanning the second inspection stripe 20 (second scan), at the timing when the scanning position switches from the front inspection region 12b to the non-inspection region 14b in the scanning direction (-x direction) of the second inspection stripe 20, the autofocus processing unit 64 controls the driving mechanism 132 to move the height position of the XYθ table 102 (stage) to the XYθ table 102 (stage) height position z stored for the position C near the position C' immediately after the scanning position switches from the non-inspection region 14b to the adjacent inspection region 12a ahead in the scanning direction (-direction) of the second inspection stripe 20. Then, the autofocus processing unit 64 stops the autofocus control while maintaining the moved XYθ table 102 (stage) height position z.

[0084] Then, when the scanning position enters the inspection area 12a from the non-inspection area 14b during the scanning of the second inspection stripe 20 (second scan), the area determination unit 66 outputs a command to that effect to the autofocus processing unit 64.

[0085] The autofocus processing unit 64 executes autofocus control starting from the height position of the XYθ table 102 (stage) where the height position of the stage is held at the timing when the scanning position enters the inspection area 12a from the non-inspection area 14b. The position C' where the scanning position enters the inspection area 12a is the start position of the autofocus control, but when the scanning position reaches position C', the height position of the XYθ table 102 (stage) is the height position where the autofocus control is performed at position C near position C'. This prevents the autofocus control from being unable to keep up and being delayed. Then, the autofocus processing unit 64 executes autofocus control for the inspection area 12b.

[0086] During scanning of the second inspection stripe 20 (second scan), when the scanning of the inspection region 12a progresses and the scanning position reaches a position F just before the non-inspection region 14a, the region determination unit 66 outputs an identifier indicating that to the stage height position recording unit 68. The distance from the end of the non-inspection region 14a to the immediately preceding position F may be the same as the distance from the end of the non-inspection region 14a to the immediately preceding position B. The stage height position recording unit 68 records the height position z of the XYθ table 102 (stage) at the time when the scanning position reaches position F just before the non-inspection area 14a (the time when the identifier is input), and stores it in the memory device 69 in association with the coordinates (x, y) of position F.

[0087] In the scanning of the second inspection stripe 20 (second scanning), the autofocus processing unit 64 controls the driving mechanism 132 at the timing when the scanning position switches from the inspection region 12a in front in the scanning direction (-x direction) of the second inspection stripe 20 to the non-inspection region 14a to move the height position of the XYθ table 102 (stage) to the XYθ table 102 (stage) height position z stored for the nearby position F of the position F′ immediately after the scanning position switches from the non-inspection region 14a to the adjacent inspection region 12a ahead in the scanning direction (+x direction) of the third inspection stripe 20. Then, the autofocus processing unit 64 stops the autofocus control while maintaining the moved XYθ table 102 (stage) height position z. In other words, the autofocus processing unit 64 stops the autofocus control while maintaining the height position z of the XYθ table 102 (stage) at the position F.

[0088] The third inspection stripe 20 is scanned (third scanning). The optical image acquisition mechanism 150 scans the third inspection stripe 20 (third scanning area) in the third scanning direction (+x direction). At this time, scanning is started from a position P3 in the non-inspection area 14a on the front side in the scanning direction (+x direction) of the third inspection stripe 20.

[0089] When the scanning position enters the inspection region 12a from the non-inspection region 14a during scanning of the third inspection stripe 20 (third scan), the region determination unit 66 outputs a command to that effect to the autofocus processing unit 64.

[0090] The autofocus processing unit 64 executes autofocus control starting from the height position of the XYθ table 102 (stage) where the height position of the stage is held at the timing when the scanning position enters the inspection area 12ba from the non-inspection area 14a. The position F' where the scanning position enters the inspection area 12a becomes the start position of the autofocus control, but when the scanning position reaches position F', the height position of the XYθ table 102 (stage) is at the height position where the autofocus control is performed at position F near position F'. This prevents the autofocus control from being unable to keep up and being delayed. Then, the autofocus processing unit 64 executes autofocus control for the inspection area 12a.

[0091] When the scanning of the inspection region 12a progresses during the scanning of the third inspection stripe 20 (third scan) and the scanning position reaches position G just before the non-inspection region 14b, the region determination unit 66 outputs an identifier indicating that to the stage height position recording unit 68. The distance from the end of the non-inspection region 14b just before to position G may be set similarly to the distance from the end of the non-inspection region 14b to position C. The stage height position recording unit 68 records the height position z of the XYθ table 102 (stage) at the time when the scanning position reaches position G just before the non-inspection area 14b (the time when the identifier is input), and stores it in the memory device 69 in association with the coordinates (x, y) of position G.

[0092] In scanning the third inspection stripe 20 (third scan), at the timing when the scanning position switches from the front inspection region 12a to the non-inspection region 14b in the scanning direction (+x direction) of the third inspection stripe 20, the autofocus processing unit 64 controls the driving mechanism 132 to move the height position of the XYθ table 102 (stage) to the XYθ table 102 (stage) height position z stored for the position E near the position E′ immediately after the scanning position switches from the non-inspection region 14b to the adjacent inspection region 12b ahead in the scanning direction (+ direction) of the third inspection stripe 20. Then, the autofocus processing unit 64 stops the autofocus control while maintaining the moved XYθ table 102 (stage) height position z.

[0093] Then, when the scanning position enters the inspection region 12b from the non-inspection region 14b during the scanning of the third inspection stripe 20 (third scan), the region determination unit 66 outputs a command to that effect to the autofocus processing unit 64.

[0094] The autofocus processing unit 64 executes autofocus control starting from the height position of the XYθ table 102 (stage) where the height position of the stage is held at the timing when the scanning position enters the inspection area 12b from the non-inspection area 14b. The position E' where the scanning position enters the inspection area 12b is the start position of the autofocus control, but when the scanning position reaches position E', the height position of the XYθ table 102 (stage) is the height position where the autofocus control is performed at position E near position E'. This prevents the autofocus control from being unable to keep up and being delayed. Then, the autofocus processing unit 64 executes autofocus control for the inspection area 12b.

[0095] During scanning of the third inspection stripe 20 (third scan), when scanning of the inspection region 12b progresses and the scanning position reaches a position H just before the non-inspection region 14c, the region determination unit 66 outputs an identifier indicating that to the stage height position recording unit 68. The distance from the end of the non-inspection region 14c to the immediately preceding position H may be the same as the distance from the end of the non-inspection region 14c to the immediately preceding position D. The stage height position recording unit 68 records the height position z of the XYθ table 102 (stage) at the time when the scanning position reaches the position H just before the non-inspection area 14c (the time when the identifier is input), and stores it in the memory device 69 in association with the coordinates (x, y) of position H.

[0096] In the scanning of the third inspection stripe 20 (third scanning), at the timing when the scanning position switches from the inspection region 12b in front in the scanning direction (+x direction) of the third inspection stripe 20 to the non-inspection region 14c, the autofocus processing unit 64 controls the driving mechanism 132 to move the height position of the XYθ table 102 (stage) to the XYθ table 102 (stage) height position z stored for the nearby position H immediately after the scanning position switches from the non-inspection region 14c to the adjacent inspection region 12b ahead in the scanning direction (-x direction) of the fourth inspection stripe 20. Then, the autofocus processing unit 64 stops the autofocus control while maintaining the moved XYθ table 102 (stage) height position z. In other words, the autofocus processing unit 64 stops the autofocus control while maintaining the height position z of the XYθ table 102 (stage) at the position F.

[0097] Thereafter, scanning of each inspection stripe 20 is repeated in the same manner.

[0098] As described above, in the sample 101 to be inspected in which a plurality of inspection regions are arranged with non-inspection regions sandwiched between them in the scanning direction during inspection, when the sample 101 to be inspected supported by a three-point support method or a four-point or more support method is bent, the focus height position immediately before switching from the inspection region 12a (12b) to the non-inspection region 14b does not necessarily match the focus height position immediately after switching from the non-inspection region 14b to the next inspection region 12b (12a). Therefore, there are cases where the problem of the image captured immediately after the scanning position enters the next inspection region 12a (12b) being blurred cannot be solved by simply stopping the autofocus mechanism immediately before the scanning position enters the non-inspection region 14a, 14b, 14c.

[0099] In contrast, according to the first embodiment, before switching to the adjacent inspection area 12a (12b) ahead in the scanning direction, the XYθ table 102 (stage) is moved to a stored XYθ table 102 (stage) height position z for a position (position on the previous adjacent stripe area) close to the position immediately after switching to the adjacent inspection area 12a (12b) ahead in the scanning direction. This makes it possible to prevent autofocus control from being unable to keep up and being delayed. Also, for the scanning start position of the first inspection area of ​​each inspection stripe 20, the stage height position at the scanning end position of the last inspection area of ​​the previous adjacent inspection stripe 20 is held, so similarly it is possible to prevent autofocus control from being unable to keep up and being delayed.

[0100] FIG. 7 is a top view showing another example of the mask according to the first embodiment. In the example of FIG. 7, two or more non-inspection regions are sandwiched between the inspection regions in each inspection stripe 20. Even in this case, when scanning each inspection stripe 20, the height position z of the XYθ table 102 (stage) is recorded at the timing when the scanning position reaches a position just before the non-inspection region 14 when straddling each non-inspection region, as in the above-mentioned case. Then, the scanning position is moved to the stored XYθ table 102 (stage) height position z for the vicinity position (position on the previous adjacent stripe region) immediately after the position is switched from the non-inspection region 14 to the adjacent inspection region 12 ahead in the scanning direction. Then, the autofocus processing unit 64 stops the autofocus control while holding the moved XYθ table 102 (stage) height position z. Then, at the timing when the scanning position enters the inspection region 12 from the non-inspection region 14, the height position of the stage is started from the held XYθ table 102 (stage) height position, and autofocus control is performed.

[0101] In this way, it is possible to prevent the autofocus control from being unable to keep up and being delayed.

[0102] In the example of FIG. 7, the sample 101 to be inspected further has a second set of the inspection regions 12 and the non-inspection regions 14 between the inspection regions in the y direction (second direction) of the first set of the inspection regions 12 and the non-inspection regions 14 between the inspection regions, sandwiching the non-inspection regions 14. The example of FIG. 7 shows a case where the sample 101 to be inspected has a third set of the inspection regions 12 and the non-inspection regions 14 between the inspection regions, sandwiching the non-inspection regions 14 in the y direction of the second set. When scanning each inspection stripe 20 in this manner, there is a case where a non-inspection region 14 is sandwiched between the next stripe region. In such a case, it is preferable to operate as follows. It is preferable to set each inspection stripe 20 for each set. However, this is not limited to this, and the circumscribing rectangular region of each set, including the non-inspection regions 14 between the sets in the y direction, may be divided into a plurality of inspection stripes 20.

[0103] When a non-inspection region 14 is sandwiched between sets, the position in the final inspection stripe 20 of the previous set is too far away to be close to the position immediately after switching from the non-inspection region to the inspection region of the first inspection stripe 20 of the next set. Therefore, in the first embodiment, when scanning each inspection stripe 20 for such an inspected sample 101, it is preferable to operate as follows.

[0104] When scanning the second set following scanning the first set, before scanning the second set, the first scanning area of ​​the second set is scanned in the direction opposite to the first scanning direction for the second set. For example, when the scanning direction of the last inspection stripe 20 of the first set is, for example, the -x direction, as shown in FIG. 7, before scanning the first inspection stripe 20 of the second set, the first inspection stripe 20 of the second set is scanned in the x direction as a pre-scan. At that time, scanning is started from a position in the non-inspection area 14 in front of the first inspection stripe 20 of the second set in the scanning direction (+x direction) of the pre-scan. The autofocus processing unit 64 executes autofocus control. In this case, the scanning direction of the first inspection stripe 20 of the second set is the −x direction, which is the reverse direction of the previous scan.

[0105] Then, the autofocus controlled stage height position immediately before the scanning position switches from the front inspection region 12 to the non-inspection region 14 in the direction opposite to the first scanning direction of the second set (+x direction) is stored. A specific description will be given below.

[0106] As the scanning of the inspection area 12 progresses and the scanning position reaches a position just before the non-inspection area 14 in the middle of the inspection stripe 20, the area determination unit 66 outputs an identifier indicating this to the stage height position recording unit 68. The stage height position recording unit 68 records the height position z of the XYθ table 102 (stage) when the scanning position reaches a position just before the non-inspection area 14 (the time when the identifier is input), and stores it in the memory device 69 in association with the coordinates (x, y) of the previous position.

[0107] Similarly, when scanning of the inspection area 12 progresses and the scanning position reaches a position just before the last non-inspection area of ​​the inspection stripe 20, the area determination unit 66 outputs an identifier indicating this to the stage height position recording unit 68. The stage height position recording unit 68 records the height position z of the XYθ table 102 (stage) at the time when the scanning position reaches a position just before the last non-inspection area 14 of the inspection stripe 20 (the time when the identifier is input), and stores it in the memory device 69 in association with the coordinates (x, y) of position B. The autofocus processing unit 64 stops the autofocus control while maintaining the height position z of the XYθ table 102 (stage) at a position immediately before the last non-inspection region 14 of the inspection stripe 20.

[0108] Then, the first inspection stripe 20 of the second set is scanned (first scan). The optical image acquisition mechanism 150 scans the first inspection stripe 20 of the second set in the first scanning direction (-x direction) of the second set. At this time, scanning is started from a position in the non-inspection region 14 in front of the first inspection stripe 20 of the second set in the scanning direction (-x direction) of the scan.

[0109] When the scanning position enters the inspection area 12 from the non-inspection area 14 during scanning of the first inspection stripe 20 of the second set (first scan), the area determination unit 66 outputs a command to that effect to the autofocus processing unit 64.

[0110] The autofocus processing unit 64 executes autofocus control starting from the height position of the XYθ table 102 (stage) where the height position of the stage is held at the timing when the scanning position enters the inspection area 12 from the non-inspection area 14. When the scanning position enters the inspection area 12, the height position of the XYθ table 102 (stage) is at the height position where autofocus control is performed at that position by the pre-scanning. This makes it possible to prevent the autofocus control from being unable to keep up and being delayed. Then, the autofocus processing unit 64 executes autofocus control for the inspection area 12.

[0111] Thereafter, the operation is the same as that of scanning the first inspection stripe 20 of the first set. At this time, at the timing when the scanning position switches from the inspection region in front in the -x direction, which is the scanning direction (first scanning direction) of the first inspection stripe 20 of the second set, to a non-inspection region in the middle of the first inspection stripe 20, the stage height position is moved to the stage height position stored in the pre-scan with respect to the position immediately after the scanning position switches from the non-inspection region in the middle of the first inspection stripe 20 to the adjacent inspection region ahead in the scanning direction of the first inspection stripe 20 of the second set. A specific description will be given below.

[0112] When the scanning of the inspection area 12 progresses during the scanning of the first inspection stripe 20 of the second set (first scan) and the scanning position reaches a position just before the non-inspection area 14 in the middle of the first inspection stripe 20 of the second set, the area determination unit 66 outputs an identifier indicating this to the stage height position recording unit 68. The stage height position recording unit 68 records the height position z of the XYθ table 102 (stage) when the scanning position reaches a position just before the non-inspection area 14 in the middle of the first inspection stripe 20 of the second set (the time when the identifier is input), and stores it in the memory device 69 in association with the coordinates (x, y) of position C.

[0113] In scanning the first inspection stripe 20 of the second set (first scan), at the timing when the scanning position switches from the front inspection region 12 in the scanning direction (+x direction) of the first inspection stripe 20 of the second set to the non-inspection region 14 in the middle of the first inspection stripe 20 of the second set, the autofocus processing unit 64 controls the driving mechanism 132 to move the height position of the XYθ table 102 (stage) to the XYθ table 102 (stage) height position z stored in the pre-scanning with respect to the position immediately after the scanning position switches from the non-inspection region 14 to the adjacent inspection region 12 ahead in the scanning direction (-x direction) of the first inspection stripe 20. Then, the autofocus processing unit 64 stops the autofocus control while maintaining the moved XYθ table 102 (stage) height position z.

[0114] Then, when the scanning position enters the inspection area 12 from the non-inspection area 14 in the middle of the first inspection stripe 20 during scanning of the first inspection stripe 20 of the second set (first scan), the area determination unit 66 outputs a command to that effect to the autofocus processing unit 64.

[0115] The autofocus processing unit 64 executes autofocus control by starting from the height position of the XYθ table 102 (stage) where the height position of the stage is held at the timing when the scanning position enters the next inspection area 12 from the non-inspection area 14 in the middle of the first inspection stripe 20. When the scanning position enters the inspection area 12b (the same as the position stored in the pre-scanning), the height position of the XYθ table 102 (stage) is the height position where the autofocus control is performed at the position stored in the pre-scanning. This prevents the autofocus control from being unable to keep up and being delayed. Then, the autofocus processing unit 64 executes autofocus control for the inspection area 12b.

[0116] As described above, when a non-inspection region is sandwiched between sets, a pre-scan is performed for each set before scanning the first inspection stripe 20, thereby making it possible to suppress or reduce deviations in the focus height position.

[0117] In the above example, the timing of switching from the inspection area 12 on the front side in the scanning direction to the non-inspection area 14 is cited as the timing for moving the height position of the XYθ table 102 (stage) to the XYθ table 102 (stage) height position z stored for the vicinity of the position immediately after switching from the non-inspection area 14 to the adjacent inspection area 12 ahead in the scanning direction. The timing of switching from the inspection area 12 on the front side in the scanning direction to the non-inspection area 14 may be the following cases in addition to the timing immediately after switching from the inspection area 12 on the front side in the scanning direction to the non-inspection area 14. For example, it may be the timing of reaching a position immediately before switching from the inspection area 12 on the front side in the scanning direction to the non-inspection area 14, which is followed by the storage process of the height position z of the XYθ table 102 (stage) at that position.

[0118] Alternatively, the timing for moving the height position of the XYθ table 102 (stage) to the XYθ table 102 (stage) height position z stored for a position close to the position immediately after switching from the non-inspection area 14 to the adjacent inspection area 12 further ahead in the scanning direction can also be within the period after switching from the inspection area 12 to the non-inspection area 14 and before switching to the adjacent inspection area 12 further ahead in the scanning direction.

[0119] The reference image creation circuit 112 uses graphic pattern data (design data) to create a reference image that serves as a reference. The creation of the reference image is performed for each inspection stripe 20 in parallel with the scanning operation of the inspection stripe 20. More specifically, the operation is as follows. The reference image creation circuit 112 inputs graphic pattern data (design data) for each frame area 30 of the target inspection stripe 20, and converts each graphic pattern defined in the graphic pattern data into binary or multi-value image data.

[0120] The figures defined in the graphic pattern data are, for example, rectangles and triangles as basic figures, and graphic data is stored that defines the shape, size, position, etc. of each pattern figure using information such as the coordinates (x, y) at the reference position of the figure, the length of the sides, and a graphic code that serves as an identifier to distinguish the type of figure, such as a rectangle or triangle.

[0121] When the design pattern data that becomes such graphic data is input to the reference image creation circuit 112, it is expanded into data for each graphic, and the graphic code indicating the graphic shape of the graphic data, the graphic dimensions, etc. are interpreted. Then, it is expanded into binary or multi-value design pattern image data as a pattern to be placed within a grid with a predetermined quantized dimension as a unit, and output. In other words, the design data is read, the frame area is virtually divided into grids with a predetermined dimension as a unit, the occupancy rate of the graphic in the design pattern is calculated for each grid, and n-bit occupancy data (design image data) is output. For example, it is preferable to set one grid as one pixel. Then, 1 / 2 pixel is assigned to one pixel. 8 If a pixel has a resolution of (=1 / 256), a small area of ​​1 / 256 is allocated for the area of ​​the figure placed within the pixel to calculate the occupancy rate within the pixel. This is then created as 8-bit occupancy data. The grid (inspection pixels) can be aligned with the pixels of the measurement data.

[0122] Next, the reference image creation circuit 112 performs filtering using a filter function on the design image data of the design pattern, which is image data of the graphic.

[0123] FIG. 8 is a diagram for explaining the filter processing in the first embodiment. The pixel data of the optical image captured from the inspected sample 101 is in a state where a filter is applied due to the resolution characteristics of the optical system used for capturing the image, in other words, in an analog state where the pixel data is continuously changing, and therefore, for example, as shown in FIG. 8, the pixel data is different from the developed image (design image) in which the image intensity (gray value) is a digital value. On the other hand, as described above, the figure pattern data is defined by the figure code, and therefore the image intensity (gray value) may be a digital value in the developed design image. Therefore, the reference image creation circuit 112 creates a reference image that is close to the optical image by performing image processing (filter processing) on ​​the developed image. This allows the design image data, which is the image data on the design side in which the image intensity (gray value) is a digital value, to be matched to the image generation characteristics of the measurement data (optical image). The created reference image is output to the comparison circuit 108.

[0124] FIG. 9 is a diagram showing an example of the internal configuration of the comparison circuit in the first embodiment. In FIG. 9, the comparison circuit 108 includes storage devices 70, 72, 76 such as a magnetic disk device, a frame image creation unit 74, a positioning unit 78, and a comparison processing unit 79. A series of "units" such as the frame image creation unit 74, the positioning unit 78, and the comparison processing unit 79 have processing circuits. Such processing circuits include electric circuits, computers, processors, circuit boards, quantum circuits, or semiconductor devices. In addition, each "unit" may use a common processing circuit (the same processing circuit). Alternatively, different processing circuits (separate processing circuits) may be used. Input data required for the frame image creation unit 74, the positioning unit 78, and the comparison processing unit 79 or the results of the calculation are stored in a memory (not shown) in the comparison circuit 108 or in a memory 111 each time.

[0125] The stripe data (stripe area image) input to the comparison circuit 108 is stored in the storage device 70. The reference image data input to the comparison circuit 108 is stored in the storage device 72.

[0126] The comparison circuit 108 (an example of a comparison unit) uses a reference image to compare the captured optical pixels with the reference image and outputs the result. Specifically, it operates as follows.

[0127] In the comparison circuit 108, first, the frame image creation unit 74 generates a plurality of frame images 31 by dividing the stripe region image (optical image) at a predetermined width. Specifically, as shown in FIG. 2, the stripe region image is divided into frame images of a plurality of rectangular frame regions 30. For example, the image is divided into frames of 512×512 pixels. Data of each frame region 30 is stored in the storage device 76.

[0128] Next, the alignment unit 78 reads out the corresponding frame image 31 and the corresponding reference image for each frame region 30 from the storage devices 72 and 76, and aligns the frame image 31 with the corresponding reference image using a predetermined algorithm. For example, the alignment is performed using the least squares method.

[0129] Then, the comparison processing section 79 (another example of a comparison section) compares the frame image 31 with a reference image corresponding to the frame image 31. For example, it compares them pixel by pixel. Here, the two are compared pixel by pixel according to a predetermined judgment condition to judge the presence or absence of a defect such as a shape defect. The judgment condition may be, for example, to compare the two pixel by pixel according to a predetermined algorithm to judge the presence or absence of a defect. For example, the difference value between the pixel values ​​of both images is calculated pixel by pixel, and if the difference value is greater than a threshold value Th, it is judged to be a defect. The comparison result may be output to, for example, the magnetic disk device 109, the magnetic tape device 115, the flexible disk device (FD) 116, the CRT 117, the pattern monitor 118, or may be output from the printer 119.

[0130] In the above example, the case of die-database inspection has been described, but die-die inspection may also be performed. In this case, the comparison circuit 108 uses the frame image (optical image) of the die 2 acquired for one of the frame areas 30 for which the die-die inspection is performed as a reference (reference image). First, the alignment unit 78 reads out the frame image 31 of the die 1 and the frame image of the die 2 corresponding to each frame area 30 for which the die-die inspection is performed from the storage device 76, and aligns the frame image 31 of the die 1 and the frame image of the die 2 using a predetermined algorithm. For example, the alignment is performed using the least squares method. Then, the comparison processing unit 79 (comparison unit) compares the frame image 31 of the die 1 and the frame image of the die 2 corresponding to each frame area 30 for which the die-die inspection is performed, pixel by pixel.

[0131] As described above, according to embodiment 1, in the inspection of a sample 101 in which multiple inspection regions 12 are arranged with non-inspection regions 14 in between, even if a large step occurs between the inspection regions 12 and the non-inspection regions 14 that is difficult for the autofocus mechanism to follow, blurring of the image captured immediately after the scanning position enters the inspection region 12 can be suppressed or reduced.

[0132] Although the embodiments have been described above with reference to specific examples, the present invention is not limited to these specific examples.

[0133] In addition, although the description of the device configuration, control method, and other parts that are not directly necessary for the explanation of the present invention are omitted, the required device configuration and control method can be appropriately selected and used. For example, although the description of the control unit configuration that controls the inspection device 100 is omitted, it goes without saying that the required control unit configuration can be appropriately selected and used.

[0134] In addition, all pattern inspection methods and pattern inspection apparatuses that include the elements of the present invention and that can be appropriately modified by those skilled in the art are included within the scope of the present invention. [Explanation of symbols]

[0135] 12 Inspection area 14 Non-inspection area 16 Glass substrate 17,18 Light-shielding film 20 Inspection Stripes 30 Frame Area 31 Frame Images 51,61,69 Storage device 62 AF signal calculation section 64 Autofocus processing unit 66 Area determination section 68 Stage height position recorder 70,71,72,76 Storage device 74 Frame image generator 78 Alignment section 79 Comparison processing section 100 Inspection Equipment 101 Sample to be inspected 102 XYθ table 103 Light source 104 Magnifying Optical System 105 Image Sensor 106 Sensor Circuit 107 Position circuit 108 Comparison circuit 109 Magnetic disk device 110 Control computer 111 Memory 112 Reference image creation circuit 113 Autoloader control circuit 114 Table control circuit 115 Magnetic Tape Unit 116FD 117CR 118 Pattern Monitor 119 Printer 120 Bus 122 Laser length measurement system 123 Stripe Pattern Memory 130 Autoloader 131 Autofocus mechanism 132 Z drive mechanism 134 Position Sensor 140 Autofocus control circuit 150 Optical image acquisition mechanism 160 Control Circuits 170 Transmitted illumination optical system 171 Reflected illumination optical system 174 Beam splitter 175 Inspection Optical System 176 Collimator Lens 177 Beam splitter 178 Imaging Optical System 180 Autofocus Optical System 181 Imaging Optical System 182 Beam splitter 184,186 Slit plate 185,187 Light sensor

Claims

1. a step of scanning the plurality of inspection areas and the non-inspection areas between the inspection areas with an inspection light in a predetermined direction using a specimen to be inspected, the specimen having a plurality of inspection areas in which a geometric pattern is formed and non-inspection areas between the inspection areas; a step of capturing an optical image of the sample to be inspected by receiving light irradiated with the inspection light and transmitted through or reflected from the sample to be inspected by a sensor via an inspection optical system; using a reference image to compare the captured optical pixels with the reference image and outputting the result; Equipped with The scanning step includes: performing autofocus control for adjusting the height position of the pattern-forming surface at each position of the inspection area to a desired focus height position by variably controlling the height position of a stage on which the sample to be inspected is placed, when scanning an inspection area in front of the non-inspection area in a scanning direction with the inspection light; a step of, when scanning the non-inspection region with the inspection light, using a stage height at which a pattern-formed surface is at the focus height position at a position near a scanning start position of an inspection region adjacent to the non-inspection region in the scanning direction, holding a stage height position during scanning of the non-inspection region at the stage height at which the pattern-formed surface is at the focus height position at the position near the non-inspection region; a step of performing autofocus control in which, when scanning an adjacent inspection area ahead of the non-inspection area in the scanning direction with the inspection light, a height position of the stage is started from the held stage height position, and a height position of the stage is variably controlled to adjust a height position of a pattern formation surface of the adjacent inspection area ahead of the scanning direction to the focus height position; 1. A pattern inspection method comprising:

2. a scanning of the plurality of inspection areas and the non-inspection areas between the inspection areas in a first direction and a scanning of the plurality of inspection areas and the non-inspection areas between the inspection areas in a direction opposite to the first direction are alternately repeated while shifting positions in a second direction perpendicular to the first direction; The scanning step includes: a step of storing an autofocus-controlled stage height position immediately before the scanning position is switched from the inspection region on the front side in the (n-1)th scanning direction to the non-inspection region when performing the (n-1)th scanning (n is an integer of 2 or more); a step of moving a height position of the stage to a stage height position stored when the n-1th scan was performed, the stage height position being a position in the vicinity of a position immediately after the scan position is switched from the non-inspection region to an adjacent inspection region ahead in the n-th scan direction, when the nth scan is performed in a scanning direction opposite to that of the n-1th scan; 2. The pattern inspection method according to claim 1, further comprising:

3. The scanning step includes: a step of scanning a first scanning region in a direction opposite to a first scanning direction before performing a first scan, and storing an autofocus-controlled stage height position immediately before a scanning position is switched from a preceding inspection region to the non-inspection region in a direction opposite to the first scanning direction; a step of moving, when performing the first scan, a height position of the stage to a stage height position stored for a position immediately after the scanning position is switched from the non-inspection region to an adjacent inspection region ahead in the first scanning direction, at a timing when the scanning position is switched from the front inspection region in the first scanning direction to the non-inspection region; 3. The pattern inspection method according to claim 2, further comprising:

4. the inspection sample further includes a second set of the plurality of inspection areas and the non-inspection areas between the inspection areas in the second direction, the second set of the plurality of inspection areas and the non-inspection areas between the inspection areas sandwiching the non-inspection areas; The scanning step includes: when scanning the second set following scanning of the first set, before scanning the second set, scanning a first scanning area of ​​the second set in a direction opposite to a first scanning direction for the second set, and storing an autofocus-controlled stage height position immediately before a scanning position switches from a preceding inspection area to the non-inspection area in a direction opposite to the first scanning direction of the second set; a step of moving, when performing the first scan of the second set, the stage height position to the stage height position stored for the position immediately after the scanning position is switched from the non-inspection area to the adjacent inspection area ahead in the first scanning direction of the second set, at a timing when the scanning position is switched from the non-inspection area to the non-inspection area in the first scanning direction of the second set; 4. The pattern inspection method according to claim 2, further comprising:

5. a movable stage on which a sample to be inspected is placed, the sample having a plurality of inspection regions on which a graphic pattern is formed and non-inspection regions between the plurality of inspection regions; A drive mechanism for moving the height position of the stage; an illumination optical system that illuminates the sample to be inspected with inspection light; a sensor that captures an optical image of the sample by receiving light that is irradiated with the inspection light and transmitted through or reflected from the sample; an inspection optical system that guides light transmitted through or reflected by the inspection sample to the sensor; an autofocus mechanism that performs autofocus control to adjust a height position of the pattern formation surface at each position of the plurality of inspection areas to a desired focus height position by variably controlling a height position of the stage when the plurality of inspection areas and the non-inspection areas between the inspection areas are scanned in a predetermined direction with the inspection light; a comparison circuit for comparing the imaged optical pixels with a reference image; Equipped with The autofocus mechanism includes: a storage device that stores a stage height at which a pattern forming surface is at the focus height position in a position near a scanning start position of an inspection area adjacent to the non-inspection area in a scanning direction; an autofocus processing unit that, when the non-inspection area is scanned with the inspection light, holds a stage height position during scanning of the non-inspection area at the stage height at which a pattern-formed surface is at the focus height position in a position nearby the non-inspection area, and, when an inspection area adjacent to the non-inspection area in the forward direction of the scanning direction is scanned with the inspection light, starts from the held stage height position and variably controls the height position of the stage to adjust the height position of the pattern-formed surface of the adjacent inspection area in the forward direction of the scanning direction to the focus height position; A pattern inspection apparatus comprising:

Citation Information

Patent Citations

  • Pattern inspection device

    JP2012078164A