JP2022077420A - Image correcting device, pattern inspecting device and image correcting method - Google Patents

Image correcting device, pattern inspecting device and image correcting method Download PDF

Info

Publication number
JP2022077420A
JP2022077420A JP2020188280A JP2020188280A JP2022077420A JP 2022077420 A JP2022077420 A JP 2022077420A JP 2020188280 A JP2020188280 A JP 2020188280A JP 2020188280 A JP2020188280 A JP 2020188280A JP 2022077420 A JP2022077420 A JP 2022077420A
Authority
JP
Japan
Prior art keywords
image
pixel
shift amount
gradation value
sum
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2020188280A
Other languages
Japanese (ja)
Inventor
昌孝 白土
Masataka Shirato
長作 能弾
Chosaku Noda
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nuflare Technology Inc
Original Assignee
Nuflare Technology Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nuflare Technology Inc filed Critical Nuflare Technology Inc
Priority to JP2020188280A priority Critical patent/JP2022077420A/en
Priority to PCT/JP2021/035451 priority patent/WO2022102266A1/en
Priority to TW110138648A priority patent/TW202219499A/en
Publication of JP2022077420A publication Critical patent/JP2022077420A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/387Composing, repositioning or otherwise geometrically modifying originals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Testing Or Measuring Of Semiconductors Or The Like (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE: To provide a device capable of correcting an image in such a way that the fluctuation of a noise level does not occur according to changes in a shift amount.CONSTITUTION: An image correcting device according to an aspect of the present invention includes: a storing device 50 that stores images; an optimization processing unit 64 that determines a shift amount in the unit of a sub-pixel for either one of the entire image of the image or the partial image of the image for each position; and a sub-pixel interpolation processing unit 60 that performs an interpolation process on either one of the entire image or the partial image for each position according to the shift amount by use of the gradation value of the objective pixel and the gradation value of the peripheral pixel of the objective pixel for each pixel. The interpolation process calculates a linear sum of the gradation value of the objective pixel and the gradation value of the peripheral pixel as the interpolation value of the objective pixel by use of a weighting coefficient of each item set in such a way that the sum of the weighting coefficients of the respective items of the linear sum at the position of the pixel becomes 1, and the square sum of the weighting coefficient of each item becomes a constant which does not depend on the shift amount.SELECTED DRAWING: Figure 5

Description

本発明は、画像補正装置、パターン検査装置、及び画像補正方法に関する。例えば、電子ビームを用いて検査用に撮像された基板に形成された図形パターンの画像の位置合わせの手法に関する。 The present invention relates to an image correction device, a pattern inspection device, and an image correction method. For example, the present invention relates to a method of aligning an image of a graphic pattern formed on a substrate imaged for inspection using an electron beam.

近年、大規模集積回路(LSI)の高集積化及び大容量化に伴い、半導体素子に要求される回路線幅はますます狭くなってきている。これらの半導体素子は、回路パターンが形成された原画パターン(マスク或いはレチクルともいう。以下、マスクと総称する)を用いて、いわゆるステッパと呼ばれる縮小投影露光装置でウェハ上にパターンを露光転写して回路形成することにより製造される。 In recent years, with the increasing integration and capacity of large-scale integrated circuits (LSIs), the circuit line width required for semiconductor devices has become narrower and narrower. These semiconductor elements use an original image pattern (also referred to as a mask or reticle, hereinafter collectively referred to as a mask) on which a circuit pattern is formed, and the pattern is exposed and transferred onto a wafer by a reduction projection exposure device called a so-called stepper. Manufactured by forming a circuit.

そして、多大な製造コストのかかるLSIの製造にとって、歩留まりの向上は欠かせない。しかし、1ギガビット級のDRAM(ランダムアクセスメモリ)に代表されるように、LSIを構成するパターンは、サブミクロンからナノメータのオーダーになっている。近年、半導体ウェハ上に形成されるLSIパターン寸法の微細化に伴って、パターン欠陥として検出しなければならない寸法も極めて小さいものとなっている。よって、半導体ウェハ上に転写された超微細パターンの欠陥を検査するパターン検査装置の高精度化が必要とされている。その他、歩留まりを低下させる大きな要因の一つとして、半導体ウェハ上に超微細パターンをフォトリソグラフィ技術で露光、転写する際に使用されるマスクのパターン欠陥があげられる。そのため、LSI製造に使用される転写用マスクの欠陥を検査するパターン検査装置の高精度化が必要とされている。 Further, improvement of the yield is indispensable for manufacturing LSI, which requires a large manufacturing cost. However, as typified by 1-gigabit class DRAM (random access memory), the patterns constituting the LSI are on the order of submicrons to nanometers. In recent years, with the miniaturization of LSI pattern dimensions formed on semiconductor wafers, the dimensions that must be detected as pattern defects have become extremely small. Therefore, it is necessary to improve the accuracy of the pattern inspection device for inspecting the defects of the ultrafine pattern transferred on the semiconductor wafer. In addition, one of the major factors that reduce the yield is the pattern defect of the mask used when the ultrafine pattern is exposed and transferred on the semiconductor wafer by the photolithography technique. Therefore, it is necessary to improve the accuracy of the pattern inspection device for inspecting defects of the transfer mask used in LSI manufacturing.

検査手法としては、半導体ウェハやリソグラフィマスク等の基板上に形成されているパターンを撮像した測定画像と、設計データ、あるいは基板上の同一パターンを撮像した測定画像と比較することにより検査を行う方法が知られている。例えば、パターン検査方法として、同一基板上の異なる場所の同一パターンを撮像した測定画像データ同士を比較する「die to die(ダイ-ダイ)検査」や、パターン設計された設計データをベースに設計画像データ(参照画像)を生成して、それとパターンを撮像した測定データとなる測定画像とを比較する「die to database(ダイ-データベース)検査」がある。かかる検査装置における検査方法では、検査対象基板はステージ上に載置され、ステージが動くことによって光束が試料上を走査し、検査が行われる。検査対象基板には、光源及び照明光学系によって光束が照射される。検査対象基板を透過あるいは反射した光は光学系を介して、センサ上に結像される。センサで撮像された画像は測定データとして比較回路へ送られる。比較回路では、画像同士の位置合わせの後、測定データと参照データとを適切なアルゴリズムに従って比較し、一致しない場合には、パターン欠陥有りと判定する。 As an inspection method, a method of inspecting by comparing a measurement image of a pattern formed on a substrate such as a semiconductor wafer or a lithography mask with design data or a measurement image of the same pattern on the substrate. It has been known. For example, as a pattern inspection method, "die to die (die-die) inspection" in which measurement image data obtained by imaging the same pattern in different places on the same substrate are compared, or a design image based on pattern-designed design data. There is a "die to database inspection" that generates data (reference image) and compares it with a measurement image that is measurement data obtained by imaging a pattern. In the inspection method in such an inspection device, the substrate to be inspected is placed on the stage, and the light flux scans the sample by the movement of the stage, and the inspection is performed. The substrate to be inspected is irradiated with a luminous flux by a light source and an illumination optical system. The light transmitted or reflected through the substrate to be inspected is imaged on the sensor via the optical system. The image captured by the sensor is sent to the comparison circuit as measurement data. In the comparison circuit, after the images are aligned with each other, the measurement data and the reference data are compared according to an appropriate algorithm, and if they do not match, it is determined that there is a pattern defect.

かかる画像同士の位置合わせの手法として、SSD(Sum of Squared Difference)法が用いられていた。SSD法では、比較する画像同士の一方をサブ画素単位でシフトさせ、シフト後の画素値を1画素未満の位置ずれについては補間により求めて、両画像の画素値の差の二乗和が最小となる位置に合わせる。 The SSD (Sum of Squared Difference) method has been used as a method for aligning images with each other. In the SSD method, one of the images to be compared is shifted in units of sub-pixels, the shifted pixel value is obtained by interpolation for the positional deviation of less than one pixel, and the sum of squares of the difference between the pixel values of both images is the minimum. Adjust to the position where.

上述したパターン検査装置では、レーザ光を検査対象基板に照射して、その透過像或いは反射像を撮像することにより、光学画像を取得する。これに対して、電子ビームを使ったマルチビームを検査対象基板に照射して、検査対象基板から放出される各ビームに対応する2次電子を検出して、パターン像を取得する検査装置の開発も進んでいる。ここで、電子ビームを用いて画像を撮像する場合、従来のSSD法だけでは、画像同士の位置合わせが十分にできないことが分かってきた。電子ビーム検査装置では、単位領域あたりに入射する電子数が限られているために個々の電子に対するショットノイズの影響が大きい。そこで、画像全体に対してシフト量に応じた補間処理を行い、かかる補間処理により生じたシフト量に応じたノイズレベルの変動分を抑制する補償フィルタをさらに適用するといった2段階での処理手法を提案した(例えば特許文献1参照)。 In the pattern inspection apparatus described above, an optical image is acquired by irradiating the substrate to be inspected with a laser beam and capturing a transmitted image or a reflected image thereof. On the other hand, the development of an inspection device that irradiates the substrate to be inspected with a multi-beam using an electron beam, detects secondary electrons corresponding to each beam emitted from the substrate to be inspected, and acquires a pattern image. Is also progressing. Here, it has been found that when an image is captured using an electron beam, the images cannot be sufficiently aligned with each other only by the conventional SSD method. In the electron beam inspection device, the number of electrons incident per unit region is limited, so that the influence of shot noise on individual electrons is large. Therefore, a two-step processing method is used, such as performing interpolation processing according to the shift amount for the entire image, and further applying a compensation filter that suppresses the fluctuation of the noise level according to the shift amount generated by the interpolation processing. Proposed (see, for example, Patent Document 1).

しかしながら、かかる処理では、例えば4タップによる補間処理と例えば3タップによる補償フィルタ処理の2段階での処理となるためデータ処理に必要なメモリ量が大きくなってしまうといった問題点や、ノイズレベルの変動を完全に消すことができない場合があり得るといった問題点があった。そこで、さらなる改良が求められる。また、2つの画像同士の位置合わせに限らず、画像が持つ歪を補正する場合等、位置に応じてシフト量が変化する場合でもノイズレベルの変動を抑制することが求められる。 However, in such processing, since the processing is performed in two stages, for example, interpolation processing with 4 taps and compensation filter processing with 3 taps, there is a problem that the amount of memory required for data processing becomes large, and the noise level fluctuates. There was a problem that it may not be possible to completely erase. Therefore, further improvement is required. Further, it is required to suppress the fluctuation of the noise level not only when the two images are aligned with each other but also when the shift amount changes depending on the position, such as when correcting the distortion of the image.

特開2019-039808号公報JP-A-2019-039808

そこで、本発明の一態様は、シフト量に応じたノイズレベルの変動分が生じないように画像を補正可能な装置及び方法を提供する。 Therefore, one aspect of the present invention provides a device and a method capable of correcting an image so that a variation in noise level according to a shift amount does not occur.

本発明の一態様の画像補正装置は、
画像を記憶する記憶装置と、
画像の全体画像と画像の位置毎の部分画像との一方に対して、サブ画素単位のシフト量を決定するシフト量決定部と、
全体画像と位置毎の部分画像との前記一方に対して、画素毎に対象画素の階調値と対象画素の周辺画素の階調値とを用いてシフト量に応じた補間処理を行う補間処理部と、
を備え、
補間処理は、画素の位置における線形和の各項の重み付け係数の和が1となり、各項の重み付け係数の2乗和がシフト量に依存しない定数となるように設定された各項の重み付け係数を用いて、対象画素の補間値として、対象画素の階調値と周辺画素の階調値との線形和を演算することを特徴とする。
The image correction device of one aspect of the present invention is
A storage device that stores images and
A shift amount determination unit that determines the shift amount for each sub-pixel with respect to one of the entire image and the partial image for each position of the image.
Interpolation processing that performs interpolation processing according to the shift amount using the gradation value of the target pixel and the gradation value of the peripheral pixels of the target pixel for each pixel for the above one of the entire image and the partial image for each position. Department and
Equipped with
In the interpolation process, the sum of the weighting coefficients of each term of the linear sum at the pixel position is 1, and the weighting coefficient of each term is set so that the sum of squares of the weighting coefficients of each term is a constant that does not depend on the shift amount. Is used to calculate the linear sum of the gradation value of the target pixel and the gradation value of the peripheral pixels as the interpolation value of the target pixel.

また、補間処理は、対象画素の階調値と3つの周辺画素の階調値との合計4つの階調値を用いた線形和を演算すると好適である。 Further, in the interpolation processing, it is preferable to calculate a linear sum using a total of four gradation values of the gradation value of the target pixel and the gradation value of the three peripheral pixels.

また、サブ画素単位のシフト量に応じた線形和の各項の係数を定義するテーブルをさらに備え、
テーブルを参照して、決定されたシフト量に対応する各項の係数を取得すると好適である。
In addition, a table that defines the coefficients of each term of the linear sum according to the shift amount in sub-pixel units is further provided.
It is preferable to refer to the table to obtain the coefficient of each term corresponding to the determined shift amount.

本発明の一態様のパターン検査装置は、
図形パターンが形成された第1の画像を記憶する記憶装置と、
第1の画像の全体画像と第1の画像の位置毎の部分画像との一方に対して、サブ画素単位のシフト量を決定するシフト量決定部と、
全体画像と位置毎の部分画像との一方に対して、画素毎に対象画素の階調値と対象画素の周辺画素の階調値とを用いてシフト量に応じた補間処理を行う補間処理部と、
補間処理が行われた第1の画像と、第1の画像に対応する第2の画像とを比較する比較部と、
を備え、
補間処理は、画素の位置における線形和の各項の重み付け係数の和が1となり、各項の重み付け係数の2乗和がシフト量に依存しない定数となるように設定された各項の重み付け係数を用いて、前記対象画素の補間値として、前記対象画素の階調値と前記周辺画素の階調値との線形和を演算することを特徴とする。
The pattern inspection device of one aspect of the present invention is
A storage device that stores the first image on which the graphic pattern is formed, and
A shift amount determining unit that determines the shift amount for each sub-pixel with respect to one of the entire image of the first image and the partial image for each position of the first image.
Interpolation processing unit that performs interpolation processing according to the shift amount using the gradation value of the target pixel and the gradation value of the peripheral pixels of the target pixel for each pixel for one of the entire image and the partial image for each position. When,
A comparison unit that compares the first image that has been interpolated with the second image that corresponds to the first image.
Equipped with
In the interpolation process, the sum of the weighting coefficients of each term of the linear sum at the pixel position is 1, and the weighting coefficient of each term is set so that the sum of squares of the weighting coefficients of each term is a constant that does not depend on the shift amount. Is used to calculate the linear sum of the gradation value of the target pixel and the gradation value of the peripheral pixels as the interpolation value of the target pixel.

また、補間処理は、対象画素の階調値と3つの周辺画素の階調値との合計4つの階調値を用いた線形和を演算すると好適である。 Further, in the interpolation processing, it is preferable to calculate a linear sum using a total of four gradation values of the gradation value of the target pixel and the gradation value of the three peripheral pixels.

また、サブ画素単位のシフト量に応じた線形和の各項の係数を定義するテーブルをさらに備え、
テーブルを参照して、決定されたシフト量に対応する各項の係数を取得すると好適である。
In addition, a table that defines the coefficients of each term of the linear sum according to the shift amount in sub-pixel units is further provided.
It is preferable to refer to the table to obtain the coefficient of each term corresponding to the determined shift amount.

本発明の一態様の画像補正方法は、
記憶装置に記憶された画像の全体画像と画像の位置毎の部分画像との一方に対して、サブ画素単位のシフト量を決定する工程と、
全体画像と位置毎の部分画像との前記一方に対して、画素毎に対象画素の階調値と対象画素の周辺画素の階調値とを用いてシフト量に応じた補間処理を行う工程と、
を備え、
補間処理は、画素の位置における線形和の各項の重み付け係数の和が1となり、各項の重み付け係数の2乗和がシフト量に依存しない定数となるように設定された各項の重み付け係数を用いて、対象画素の補間値として、対象画素の階調値と周辺画素の階調値との線形和を演算することを特徴とする。
The image correction method of one aspect of the present invention is
A process of determining the shift amount for each sub-pixel with respect to one of the entire image of the image stored in the storage device and the partial image for each position of the image, and
A step of performing interpolation processing according to the shift amount using the gradation value of the target pixel and the gradation value of the peripheral pixels of the target pixel for each pixel for the above one of the entire image and the partial image for each position. ,
Equipped with
In the interpolation process, the sum of the weighting coefficients of each term of the linear sum at the pixel position is 1, and the weighting coefficient of each term is set so that the sum of squares of the weighting coefficients of each term is a constant that does not depend on the shift amount. Is used to calculate the linear sum of the gradation value of the target pixel and the gradation value of the peripheral pixels as the interpolation value of the target pixel.

また、補間処理は、対象画素の階調値と3つの周辺画素の階調値との合計4つの階調値を用いた線形和を演算すると好適である。 Further, in the interpolation processing, it is preferable to calculate a linear sum using a total of four gradation values of the gradation value of the target pixel and the gradation value of the three peripheral pixels.

また、サブ画素単位のシフト量に応じた線形和の各項の係数を定義するテーブルを参照して、決定されたシフト量に対応する各項の係数を取得すると好適である。 Further, it is preferable to obtain the coefficient of each term corresponding to the determined shift amount by referring to the table that defines the coefficient of each term of the linear sum according to the shift amount of each sub-pixel unit.

本発明の一態様によれば、シフト量に応じたノイズレベルの変動分が生じないように画像を補正できる。そのため、高精度なパターン検査ができる。 According to one aspect of the present invention, the image can be corrected so that the fluctuation of the noise level according to the shift amount does not occur. Therefore, highly accurate pattern inspection can be performed.

実施の形態1におけるパターン検査装置の構成を示す構成図である。It is a block diagram which shows the structure of the pattern inspection apparatus in Embodiment 1. FIG. 実施の形態1における成形アパーチャアレイ基板の構成を示す概念図である。It is a conceptual diagram which shows the structure of the molded aperture array substrate in Embodiment 1. FIG. 実施の形態1における半導体基板に形成される複数のチップ領域の一例を示す図である。It is a figure which shows an example of the plurality of chip regions formed on the semiconductor substrate in Embodiment 1. FIG. 実施の形態1における画像取得処理を説明するための図である。It is a figure for demonstrating the image acquisition process in Embodiment 1. 実施の形態1における比較回路内の構成を示す内部構成図の一例である。It is an example of the internal block diagram which shows the structure in the comparison circuit in Embodiment 1. 実施の形態1の比較例におけるノイズレベルの変動の一例を示す図である。It is a figure which shows an example of the fluctuation of a noise level in the comparative example of Embodiment 1. FIG. 実施の形態1における画像補正方法の要部工程を示すフローチャート図である。It is a flowchart which shows the main process of the image correction method in Embodiment 1. FIG. 実施の形態1におけるサブ画素補間処理のフィルタ関数を説明するための図である。It is a figure for demonstrating the filter function of the sub-pixel interpolation processing in Embodiment 1. FIG. 実施の形態1におけるフィルタテーブル作成工程の内部工程を示すフローチャート図である。It is a flowchart which shows the internal process of the filter table making process in Embodiment 1. FIG. 実施の形態1におけるフィルタテーブルの一例をグラフで示した図である。It is a figure which showed the example of the filter table in Embodiment 1 by a graph. 実施の形態1における位置に依存させてシフトする場合のシフト量を求める方法を説明するための図である。It is a figure for demonstrating the method of obtaining the shift amount in the case of shifting depending on the position in Embodiment 1. FIG. 実施の形態1の比較例における補正前後の画像の一例を示す図である。It is a figure which shows an example of the image before and after the correction in the comparative example of Embodiment 1. 実施の形態1における補正前後の画像の一例を示す図である。It is a figure which shows an example of the image before and after the correction in Embodiment 1. FIG. 実施の形態2における比較回路内の構成を示す内部構成図の一例である。It is an example of the internal block diagram which shows the structure in the comparison circuit in Embodiment 2. 実施の形態3における画像補正装置の構成の一例を示す図である。It is a figure which shows an example of the structure of the image correction apparatus in Embodiment 3. FIG. 実施の形態3における補正対象画像の形状の一例を示す図である。It is a figure which shows an example of the shape of the correction target image in Embodiment 3. FIG.

以下、実施の形態において、画像補正装置の一例として、電子ビームを用いて画像を取得する電子ビーム検査装置について説明する。但し、これに限るものではない。イオンビーム或いは紫外線等を用いて画像を取得する装置であっても構わない。或いは、外部で取得された画像を入力して、かかる画像を補正する装置であっても構わない。また、以下、電子ビームについては、マルチビームを用いた構成について説明するが、例えば、1本の電子ビームによるシングルビームを用いた構成であっても構わない。 Hereinafter, in the embodiment, an electron beam inspection device that acquires an image using an electron beam will be described as an example of the image correction device. However, it is not limited to this. It may be a device that acquires an image using an ion beam, ultraviolet rays, or the like. Alternatively, it may be a device that corrects such an image by inputting an image acquired externally. Further, although the electron beam will be described below with respect to the configuration using a multi-beam, for example, a configuration using a single beam with one electron beam may be used.

実施の形態1.
図1は、実施の形態1におけるパターン検査装置の構成を示す構成図である。図1において、基板に形成されたパターンを検査する検査装置100は、電子ビーム検査装置の一例である。検査装置100は、画像取得機構150、及び制御系回路160(制御部)を備えている。画像取得機構150は、電子ビームカラム102(電子鏡筒)、検査室103、検出回路106、チップパターンメモリ123、ステージ駆動機構142、及びレーザ測長システム122を備えている。電子ビームカラム102内には、電子銃201、照明レンズ202、成形アパーチャアレイ基板203、縮小レンズ205、制限アパーチャ基板213、対物レンズ207、主偏向器208、副偏向器209、一括ブランキング偏向器212、ビームセパレーター214、偏向器218、投影レンズ224,226、及びマルチ検出器222が配置されている。
Embodiment 1.
FIG. 1 is a configuration diagram showing a configuration of a pattern inspection device according to the first embodiment. In FIG. 1, the inspection device 100 for inspecting a pattern formed on a substrate is an example of an electron beam inspection device. The inspection device 100 includes an image acquisition mechanism 150 and a control system circuit 160 (control unit). The image acquisition mechanism 150 includes an electron beam column 102 (electron lens barrel), an inspection room 103, a detection circuit 106, a chip pattern memory 123, a stage drive mechanism 142, and a laser length measuring system 122. In the electron beam column 102, an electron gun 201, an illumination lens 202, a molded aperture array substrate 203, a reduction lens 205, a limiting aperture substrate 213, an objective lens 207, a main deflector 208, a sub-deflector 209, and a batch blanking deflector are included. 212, beam separator 214, deflector 218, projection lenses 224,226, and multi-detector 222 are arranged.

電子銃201、電磁レンズ202、成形アパーチャアレイ基板203、電磁レンズ205、一括ブランキング偏向器212、制限アパーチャ基板213、電磁レンズ206、電磁レンズ207(対物レンズ)、主偏向器208、及び副偏向器209によって1次電子光学系を構成する。また、電磁レンズ207、ビームセパレーター214、偏向器218、及び電磁レンズ224,226によって2次電子光学系を構成する。 Electron gun 201, electromagnetic lens 202, molded aperture array substrate 203, electromagnetic lens 205, batch blanking deflector 212, limiting aperture substrate 213, electromagnetic lens 206, electromagnetic lens 207 (objective lens), main deflector 208, and sub-deflection The primary electron optical system is configured by the device 209. Further, the secondary electron optical system is composed of the electromagnetic lens 207, the beam separator 214, the deflector 218, and the electromagnetic lenses 224 and 226.

検査室103内には、少なくともXY方向に移動可能なステージ105が配置される。ステージ105上には、検査対象となる基板101(試料)が配置される。基板101には、露光用マスク基板、及びシリコンウェハ等の半導体基板が含まれる。基板101が半導体基板である場合、半導体基板には複数のチップパターン(ウェハダイ)が形成されている。基板101が露光用マスク基板である場合、露光用マスク基板には、チップパターンが形成されている。チップパターンは、複数の図形パターンによって構成される。かかる露光用マスク基板に形成されたチップパターンが半導体基板上に複数回露光転写されることで、半導体基板には複数のチップパターン(ウェハダイ)が形成されることになる。以下、基板101が半導体基板である場合を主として説明する。基板101は、例えば、パターン形成面を上側に向けてステージ105に配置される。また、ステージ105上には、検査室103の外部に配置されたレーザ測長システム122から照射されるレーザ測長用のレーザ光を反射するミラー216が配置されている。 In the examination room 103, a stage 105 that can move at least in the XY direction is arranged. A substrate 101 (sample) to be inspected is arranged on the stage 105. The substrate 101 includes a mask substrate for exposure and a semiconductor substrate such as a silicon wafer. When the substrate 101 is a semiconductor substrate, a plurality of chip patterns (wafer dies) are formed on the semiconductor substrate. When the substrate 101 is an exposure mask substrate, a chip pattern is formed on the exposure mask substrate. The chip pattern is composed of a plurality of graphic patterns. By exposing and transferring the chip pattern formed on the exposure mask substrate to the semiconductor substrate a plurality of times, a plurality of chip patterns (wafer dies) are formed on the semiconductor substrate. Hereinafter, the case where the substrate 101 is a semiconductor substrate will be mainly described. The substrate 101 is arranged on the stage 105, for example, with the pattern forming surface facing upward. Further, on the stage 105, a mirror 216 that reflects the laser beam for laser length measurement emitted from the laser length measuring system 122 arranged outside the examination room 103 is arranged.

また、マルチ検出器222は、電子ビームカラム102の外部で検出回路106に接続される。検出回路106は、チップパターンメモリ123に接続される。 Further, the multi-detector 222 is connected to the detection circuit 106 outside the electron beam column 102. The detection circuit 106 is connected to the chip pattern memory 123.

制御系回路160では、検査装置100全体を制御する制御計算機110が、バス120を介して、位置回路107、比較回路108、参照画像作成回路112、ステージ制御回路114、レンズ制御回路124、ブランキング制御回路126、偏向制御回路128、フィルタテーブル作成回路130、磁気ディスク装置等の記憶装置109、モニタ117、メモリ118、及びプリンタ119に接続されている。また、偏向制御回路128は、DAC(デジタルアナログ変換)アンプ144,146,148に接続される。DACアンプ146は、主偏向器208に接続され、DACアンプ144は、副偏向器209に接続される。DACアンプ148は、偏向器218に接続される。 In the control system circuit 160, the control computer 110 that controls the entire inspection device 100 uses the position circuit 107, the comparison circuit 108, the reference image creation circuit 112, the stage control circuit 114, the lens control circuit 124, and the blanking via the bus 120. It is connected to a control circuit 126, a deflection control circuit 128, a filter table creation circuit 130, a storage device 109 such as a magnetic disk device, a monitor 117, a memory 118, and a printer 119. Further, the deflection control circuit 128 is connected to a DAC (digital-to-analog conversion) amplifier 144, 146, 148. The DAC amplifier 146 is connected to the main deflector 208, and the DAC amplifier 144 is connected to the sub-deflector 209. The DAC amplifier 148 is connected to the deflector 218.

また、チップパターンメモリ123は、比較回路108に接続されている。また、ステージ105は、ステージ制御回路114の制御の下に駆動機構142により駆動される。駆動機構142では、例えば、ステージ座標系におけるX方向、Y方向、θ方向に駆動する3軸(X-Y-θ)モータの様な駆動系が構成され、XYθ方向にステージ105が移動可能となっている。これらの、図示しないXモータ、Yモータ、θモータは、例えばステップモータを用いることができる。ステージ105は、XYθ各軸のモータによって水平方向及び回転方向に移動可能である。そして、ステージ105の移動位置はレーザ測長システム122により測定され、位置回路107に供給される。レーザ測長システム122は、ミラー216からの反射光を受光することによって、レーザ干渉法の原理でステージ105の位置を測長する。ステージ座標系は、例えば、マルチ1次電子ビーム20の光軸に直交する面に対して、1次座標系のX方向、Y方向、θ方向が設定される。 Further, the chip pattern memory 123 is connected to the comparison circuit 108. Further, the stage 105 is driven by the drive mechanism 142 under the control of the stage control circuit 114. In the drive mechanism 142, for example, a drive system such as a three-axis (XY−θ) motor that drives in the X direction, the Y direction, and the θ direction in the stage coordinate system is configured, and the stage 105 can be moved in the XYθ direction. It has become. As these X motors, Y motors, and θ motors (not shown), for example, step motors can be used. The stage 105 can be moved in the horizontal direction and the rotational direction by the motor of each axis of XYθ. Then, the moving position of the stage 105 is measured by the laser length measuring system 122 and supplied to the position circuit 107. The laser length measuring system 122 measures the position of the stage 105 by the principle of the laser interferometry method by receiving the reflected light from the mirror 216. In the stage coordinate system, for example, the X direction, the Y direction, and the θ direction of the primary coordinate system are set with respect to the plane orthogonal to the optical axis of the multi-primary electron beam 20.

電磁レンズ202、電磁レンズ205、電磁レンズ206、電磁レンズ207(対物レンズ)、電磁レンズ224,226、及びビームセパレーター214は、レンズ制御回路124により制御される。また、一括ブランキング偏向器212は、2極以上の電極により構成され、電極毎に図示しないDACアンプを介してブランキング制御回路126により制御される。副偏向器209は、4極以上の電極により構成され、電極毎にDACアンプ144を介して偏向制御回路128により制御される。主偏向器208は、4極以上の電極により構成され、電極毎にDACアンプ146を介して偏向制御回路128により制御される。偏向器218は、4極以上の電極により構成され、電極毎にDACアンプ148を介して偏向制御回路128により制御される。 The electromagnetic lens 202, the electromagnetic lens 205, the electromagnetic lens 206, the electromagnetic lens 207 (objective lens), the electromagnetic lenses 224, 226, and the beam separator 214 are controlled by the lens control circuit 124. Further, the batch blanking deflector 212 is composed of electrodes having two or more poles, and is controlled by the blanking control circuit 126 via a DAC amplifier (not shown) for each electrode. The sub-deflector 209 is composed of electrodes having four or more poles, and each electrode is controlled by the deflection control circuit 128 via the DAC amplifier 144. The main deflector 208 is composed of electrodes having four or more poles, and each electrode is controlled by a deflection control circuit 128 via a DAC amplifier 146. The deflector 218 is composed of electrodes having four or more poles, and each electrode is controlled by a deflection control circuit 128 via a DAC amplifier 148.

電子銃201には、図示しない高圧電源回路が接続され、電子銃201内の図示しないフィラメントと引出電極間への高圧電源回路からの加速電圧の印加と共に、所定の引出電極(ウェネルト)の電圧の印加と所定の温度のカソードの加熱によって、カソードから放出された電子群が加速させられ、電子ビーム200となって放出される。照明レンズ202、縮小レンズ205、対物レンズ207、及び投影レンズ224,226は、例えば電磁レンズが用いられる。 A high-voltage power supply circuit (not shown) is connected to the electron gun 201, and an acceleration voltage from the high-voltage power supply circuit is applied between the filament and the extraction electrode (not shown) in the electron gun 201, and the voltage of a predetermined extraction electrode (Wenert) is applied. By the application and heating of the cathode at a predetermined temperature, the electron group emitted from the cathode is accelerated and emitted as an electron beam 200. As the illumination lens 202, the reduction lens 205, the objective lens 207, and the projection lenses 224,226, for example, an electromagnetic lens is used.

ここで、図1では、実施の形態1を説明する上で必要な構成を記載している。検査装置100にとって、通常、必要なその他の構成を備えていても構わない。 Here, FIG. 1 describes a configuration necessary for explaining the first embodiment. The inspection device 100 may usually have other configurations required.

図2は、実施の形態1における成形アパーチャアレイ基板の構成を示す概念図である。図2において、成形アパーチャアレイ基板203には、2次元状の横(x方向)m列×縦(y方向)n段(m,nは2以上の整数)の穴(開口部)22がx,y方向に所定の配列ピッチで形成されている。図2の例では、23×23の穴(開口部)22が形成されている場合を示している。各穴22は、共に同じ寸法形状の矩形で形成される。或いは、同じ外径の円形であっても構わない。これらの複数の穴22を電子ビーム200の一部がそれぞれ通過することで、マルチ1次電子ビーム20が形成されることになる。次に、2次電子画像を取得する場合における画像取得機構150の動作について説明する。 FIG. 2 is a conceptual diagram showing the configuration of the molded aperture array substrate according to the first embodiment. In FIG. 2, the molded aperture array substrate 203 has holes (openings) of two-dimensional horizontal (x direction) m 1 row × vertical (y direction) n 1 step (m 1 and n 1 are integers of 2 or more). ) 22 are formed at a predetermined arrangement pitch in the x and y directions. In the example of FIG. 2, a case where a hole (opening) 22 of 23 × 23 is formed is shown. Each hole 22 is formed by a rectangle having the same size and shape. Alternatively, it may be a circle having the same outer diameter. A part of the electron beam 200 passes through each of these plurality of holes 22, so that the multi-primary electron beam 20 is formed. Next, the operation of the image acquisition mechanism 150 in the case of acquiring a secondary electronic image will be described.

画像取得機構150は、電子ビームによるマルチビーム20を用いて、図形パターンが形成された基板101から図形パターンの被検査画像を取得する。以下、検査装置100における画像取得機構150の動作について説明する。 The image acquisition mechanism 150 acquires an image to be inspected of the graphic pattern from the substrate 101 on which the graphic pattern is formed by using the multi-beam 20 by the electron beam. Hereinafter, the operation of the image acquisition mechanism 150 in the inspection device 100 will be described.

電子銃201(放出源)から放出された電子ビーム200は、電磁レンズ202によって屈折させられ、成形アパーチャアレイ基板203全体を照明する。成形アパーチャアレイ基板203には、図2に示すように、複数の穴22(開口部)が形成され、電子ビーム200は、すべての複数の穴22が含まれる領域を照明する。複数の穴22の位置に照射された電子ビーム200の各一部が、かかる成形アパーチャアレイ基板203の複数の穴22をそれぞれ通過することによって、マルチ1次電子ビーム20が形成される。 The electron beam 200 emitted from the electron gun 201 (emission source) is refracted by the electromagnetic lens 202 to illuminate the entire molded aperture array substrate 203. As shown in FIG. 2, a plurality of holes 22 (openings) are formed in the molded aperture array substrate 203, and the electron beam 200 illuminates a region including all the plurality of holes 22. Each part of the electron beam 200 irradiated to the positions of the plurality of holes 22 passes through the plurality of holes 22 of the molded aperture array substrate 203, respectively, thereby forming the multi-primary electron beam 20.

形成されたマルチ1次電子ビーム20は、電磁レンズ205、及び電磁レンズ206によってそれぞれ屈折させられ、中間像およびクロスオーバーを繰り返しながら、マルチ1次電子ビーム20の各ビームの中間像面(像面共役位置:I.I.P.)に配置されたビームセパレーター214を通過して電磁レンズ207(対物レンズ)に進む。 The formed multi-primary electron beam 20 is refracted by the electromagnetic lens 205 and the electromagnetic lens 206, respectively, and the intermediate image plane (image plane) of each beam of the multi-primary electron beam 20 is repeated while repeating the intermediate image and the crossover. It passes through the beam separator 214 arranged at the conjugate position (IP) and proceeds to the electromagnetic lens 207 (objective lens).

マルチ1次電子ビーム20が電磁レンズ207(対物レンズ)に入射すると、電磁レンズ207は、マルチ1次電子ビーム20を基板101にフォーカスする。対物レンズ207により基板101(試料)面上に焦点が合わされ(合焦され)たマルチ1次電子ビーム20は、主偏向器208及び副偏向器209によって一括して偏向され、各ビームの基板101上のそれぞれの照射位置に照射される。なお、一括ブランキング偏向器212によって、マルチ1次電子ビーム20全体が一括して偏向された場合には、制限アパーチャ基板213の中心の穴から位置がはずれ、制限アパーチャ基板206によってマルチ1次電子ビーム20全体が遮蔽される。一方、一括ブランキング偏向器212によって偏向されなかったマルチ1次電子ビーム20は、図1に示すように制限アパーチャ基板206の中心の穴を通過する。かかる一括ブランキング偏向器212のON/OFFによって、ブランキング制御が行われ、ビームのON/OFFが一括制御される。このように、制限アパーチャ基板206は、一括ブランキング偏向器212によってビームOFFの状態になるように偏向されたマルチ1次電子ビーム20を遮蔽する。そして、ビームONになってからビームOFFになるまでに形成された、制限アパーチャ基板206を通過したビーム群により、画像取得用のマルチ1次電子ビーム20が形成される。 When the multi-primary electron beam 20 is incident on the electromagnetic lens 207 (objective lens), the electromagnetic lens 207 focuses the multi-primary electron beam 20 on the substrate 101. The multi-primary electron beam 20 focused (focused) on the surface of the substrate 101 (sample) by the objective lens 207 is collectively deflected by the main deflector 208 and the sub-deflector 209, and the substrate 101 of each beam is applied. Each of the above irradiation positions is irradiated. When the entire multi-primary electron beam 20 is collectively deflected by the batch blanking deflector 212, the position is displaced from the central hole of the limiting aperture substrate 213, and the multi-primary electrons are displaced by the limiting aperture substrate 206. The entire beam 20 is shielded. On the other hand, the multi-primary electron beam 20 not deflected by the batch blanking deflector 212 passes through the central hole of the limiting aperture substrate 206 as shown in FIG. By turning ON / OFF of the batch blanking deflector 212, blanking control is performed, and ON / OFF of the beam is collectively controlled. In this way, the limiting aperture substrate 206 shields the multi-primary electron beam 20 deflected so that the beam is turned off by the batch blanking deflector 212. Then, the multi-primary electron beam 20 for image acquisition is formed by the beam group that has passed through the limiting aperture substrate 206 formed from the time when the beam is turned on to the time when the beam is turned off.

基板101の所望する位置にマルチ1次電子ビーム20が照射されると、かかるマルチ1次電子ビーム20が照射されたことに起因して基板101からマルチ1次電子ビーム20の各ビームに対応する、反射電子を含む2次電子の束(マルチ2次電子ビーム300)が放出される。 When the multi-primary electron beam 20 is irradiated to a desired position of the substrate 101, it corresponds to each beam of the multi-primary electron beam 20 from the substrate 101 due to the irradiation of the multi-primary electron beam 20. , A bundle of secondary electrons including backscattered electrons (multi-secondary electron beam 300) is emitted.

基板101から放出されたマルチ2次電子ビーム300は、電磁レンズ207を通って、ビームセパレーター214に進む。 The multi-secondary electron beam 300 emitted from the substrate 101 passes through the electromagnetic lens 207 and advances to the beam separator 214.

ここで、ビームセパレーター214はマルチ1次電子ビーム20の中心ビームが進む方向(軌道中心軸)に直交する面上において電界と磁界を直交する方向に発生させる。電界は電子の進行方向に関わりなく同じ方向に力を及ぼす。これに対して、磁界はフレミング左手の法則に従って力を及ぼす。そのため電子の侵入方向によって電子に作用する力の向きを変化させることができる。ビームセパレーター214に上側から侵入してくるマルチ1次電子ビーム20には、電界による力と磁界による力が打ち消し合い、マルチ1次電子ビーム20は下方に直進する。これに対して、ビームセパレーター214に下側から侵入してくるマルチ2次電子ビーム300には、電界による力と磁界による力がどちらも同じ方向に働き、マルチ2次電子ビーム300は斜め上方に曲げられ、マルチ1次電子ビーム20から分離する。 Here, the beam separator 214 generates an electric field and a magnetic field in a direction orthogonal to each other on a plane orthogonal to the direction (orbital center axis) in which the central beam of the multi-primary electron beam 20 travels. The electric field exerts a force in the same direction regardless of the traveling direction of the electron. On the other hand, the magnetic field exerts a force according to Fleming's left-hand rule. Therefore, the direction of the force acting on the electron can be changed depending on the intrusion direction of the electron. The force due to the electric field and the force due to the magnetic field cancel each other out in the multi-primary electron beam 20 that enters the beam separator 214 from above, and the multi-primary electron beam 20 travels straight downward. On the other hand, in the multi-secondary electron beam 300 that invades the beam separator 214 from below, both the force due to the electric field and the force due to the magnetic field act in the same direction, and the multi-secondary electron beam 300 moves diagonally upward. It is bent and separated from the multi-primary electron beam 20.

斜め上方に曲げられ、マルチ1次電子ビーム20から分離したマルチ2次電子ビーム300は、偏向器218によって、さらに曲げられ、電磁レンズ224,226によって、屈折させられながらマルチ検出器222に投影される。マルチ検出器222は、投影されたマルチ2次電子ビーム300を検出する。マルチ検出器222は、複数の検出エレメント(例えば図示しないダイオード型の2次元センサ)を有する。そして、マルチ1次電子ビーム20の各ビームは、マルチ検出器222の検出面において、マルチ2次電子ビーム300の各2次電子ビームに対応する検出エレメントに衝突して、電子を発生し、2次電子画像データを画素毎に生成する。マルチ検出器222にて検出された強度信号は、検出回路106に出力される。各1次電子ビームは、基板101上における自身のビームが位置するx方向のビーム間ピッチとy方向のビーム間ピッチとで囲まれるサブ照射領域内に照射され、当該サブ照射領域内を走査(スキャン動作)する。 The multi-secondary electron beam 300, which is bent diagonally upward and separated from the multi-primary electron beam 20, is further bent by the deflector 218 and projected onto the multi-detector 222 while being refracted by the electromagnetic lenses 224 and 226. To. The multi-detector 222 detects the projected multi-secondary electron beam 300. The multi-detector 222 has a plurality of detection elements (for example, a diode type two-dimensional sensor (not shown)). Then, each beam of the multi-primary electron beam 20 collides with the detection element corresponding to each secondary electron beam of the multi-secondary electron beam 300 on the detection surface of the multi-detector 222 to generate electrons. Next-electron image data is generated for each pixel. The intensity signal detected by the multi-detector 222 is output to the detection circuit 106. Each primary electron beam is irradiated into a sub-irradiation region surrounded by an inter-beam pitch in the x direction and an inter-beam pitch in the y direction in which its own beam is located on the substrate 101, and scans the sub-irradiation region ( Scan operation).

図3は、実施の形態1における半導体基板に形成される複数のチップ領域の一例を示す図である。図3において、半導体基板(ウェハ)101の検査領域330には、複数のチップ(ウェハダイ)332が2次元のアレイ状に形成されている。各チップ332には、露光用マスク基板に形成された1チップ分のマスクパターンが図示しない露光装置(ステッパ)によって例えば1/4に縮小されて転写されている。 FIG. 3 is a diagram showing an example of a plurality of chip regions formed on the semiconductor substrate according to the first embodiment. In FIG. 3, a plurality of chips (wafer dies) 332 are formed in a two-dimensional array in the inspection region 330 of the semiconductor substrate (wafer) 101. A mask pattern for one chip formed on an exposure mask substrate is transferred to each chip 332 by being reduced to, for example, 1/4 by an exposure device (stepper) (not shown).

図4は、実施の形態1における画像取得処理を説明するための図である。図4に示すように、各チップ332の領域は、例えばy方向に向かって所定の幅で複数のストライプ領域32に分割される。画像取得機構150によるスキャン動作は、例えば、ストライプ領域32毎に実施される。例えば、-x方向にステージ105を移動させながら、相対的にx方向にストライプ領域32のスキャン動作を進めていく。各ストライプ領域32は、長手方向に向かって複数の矩形領域33に分割される。対象となる矩形領域33へのビームの移動は、主偏向器208によるマルチ1次電子ビーム20全体での一括偏向によって行われる。 FIG. 4 is a diagram for explaining the image acquisition process according to the first embodiment. As shown in FIG. 4, the region of each chip 332 is divided into a plurality of stripe regions 32 with a predetermined width, for example, in the y direction. The scanning operation by the image acquisition mechanism 150 is performed, for example, for each stripe region 32. For example, while moving the stage 105 in the −x direction, the scanning operation of the stripe region 32 is relatively advanced in the x direction. Each stripe region 32 is divided into a plurality of rectangular regions 33 in the longitudinal direction. The movement of the beam to the rectangular region 33 of interest is performed by batch deflection of the entire multi-primary electron beam 20 by the main deflector 208.

図4の例では、例えば、5×5列のマルチ1次電子ビーム20の場合を示している。1回のマルチ1次電子ビーム20の照射で照射可能な照射領域34は、(基板101面上におけるマルチ1次電子ビーム20のx方向のビーム間ピッチにx方向のビーム数を乗じたx方向サイズ)×(基板101面上におけるマルチ1次電子ビーム20のy方向のビーム間ピッチにy方向のビーム数を乗じたy方向サイズ)で定義される。照射領域34が、マルチ1次電子ビーム20の視野となる。そして、マルチ1次電子ビーム20を構成する各1次電子ビーム10は、自身のビームが位置するx方向のビーム間ピッチとy方向のビーム間ピッチとで囲まれるサブ照射領域29内に照射され、当該サブ照射領域29内を走査(スキャン動作)する。各1次電子ビーム10は、互いに異なるいずれかのサブ照射領域29を担当することになる。そして、各ショット時に、各1次電子ビーム10は、担当サブ照射領域29内の同じ位置を照射することになる。サブ照射領域29内の1次電子ビーム10の移動は、副偏向器209によるマルチ1次電子ビーム20全体での一括偏向によって行われる。かかる動作を繰り返し、1つの1次電子ビーム10で1つのサブ照射領域29内を順に照射していく。 In the example of FIG. 4, for example, the case of a multi-primary electron beam 20 having 5 × 5 rows is shown. The irradiation region 34 that can be irradiated by one irradiation of the multi-primary electron beam 20 is (the x-direction obtained by multiplying the x-direction beam-to-beam pitch of the multi-primary electron beam 20 on the substrate 101 surface by the number of beams in the x-direction. Size) × (size in the y direction obtained by multiplying the pitch between beams of the multi-primary electron beam 20 in the y direction on the surface of the substrate 101 by the number of beams in the y direction). The irradiation region 34 becomes the field of view of the multi-primary electron beam 20. Then, each of the primary electron beams 10 constituting the multi-primary electron beam 20 is irradiated into the sub-irradiation region 29 surrounded by the inter-beam pitch in the x-direction and the inter-beam pitch in the y direction in which the own beam is located. , Scan (scan operation) in the sub-irradiation area 29. Each primary electron beam 10 is responsible for any of the sub-irradiation regions 29 that are different from each other. Then, at each shot, each primary electron beam 10 irradiates the same position in the responsible sub-irradiation region 29. The movement of the primary electron beam 10 in the sub-irradiation region 29 is performed by batch deflection of the entire multi-primary electron beam 20 by the sub-deflector 209. This operation is repeated to sequentially irradiate the inside of one sub-irradiation region 29 with one primary electron beam 10.

各ストライプ領域32の幅は、照射領域34のy方向サイズと同様、或いはスキャンマージン分狭くしたサイズに設定すると好適である。図4の例では、照射領域34が矩形領域33と同じサイズの場合を示している。但し、これに限るものではない。照射領域34が矩形領域33よりも小さくても良い。或いは大きくても構わない。そして、マルチ1次電子ビーム20を構成する各1次電子ビーム10は、自身のビームが位置するサブ照射領域29内に照射され、当該サブ照射領域29内を走査(スキャン動作)する。そして、1つのサブ照射領域29のスキャンが終了したら、主偏向器208によるマルチ1次電子ビーム20全体での一括偏向によって照射位置が同じストライプ領域32内の隣接する矩形領域33へと移動する。かかる動作を繰り返し、ストライプ領域32内を順に照射していく。1つのストライプ領域32のスキャンが終了したら、ステージ105の移動或いは/及び主偏向器208によるマルチ1次電子ビーム20全体での一括偏向によって照射領域34が次のストライプ領域32へと移動する。以上のように各1次電子ビーム10の照射によってサブ照射領域29毎のスキャン動作および2次電子画像の取得が行われる。これらのサブ照射領域29毎の2次電子画像を組み合わせることで、矩形領域33の2次電子画像、ストライプ領域32の2次電子画像、或いはチップ332の2次電子画像が構成される。また、実際に画像比較を行う場合には、各矩形領域33内のサブ照射領域29をさらに複数のフレーム領域30に分割して、フレーム領域30毎のフレーム画像31について比較することになる。図4の例では、1つの1次電子ビーム10によってスキャンされるサブ照射領域29を例えばx,y方向にそれぞれ2分割することによって形成される4つのフレーム領域30に分割する場合を示している。 It is preferable that the width of each stripe region 32 is set to the same size as the y-direction size of the irradiation region 34 or to be narrowed by the scan margin. In the example of FIG. 4, the case where the irradiation area 34 has the same size as the rectangular area 33 is shown. However, it is not limited to this. The irradiation area 34 may be smaller than the rectangular area 33. Or it may be large. Then, each primary electron beam 10 constituting the multi-primary electron beam 20 is irradiated into the sub-irradiation region 29 in which its own beam is located, and scans (scans) the inside of the sub-irradiation region 29. Then, when the scan of one sub-irradiation region 29 is completed, the irradiation position is moved to the adjacent rectangular region 33 in the same stripe region 32 by the collective deflection of the entire multi-primary electron beam 20 by the main deflector 208. This operation is repeated to irradiate the inside of the stripe region 32 in order. After scanning one stripe region 32 is complete, the irradiation region 34 moves to the next stripe region 32 by moving the stage 105 and / or batch deflection of the entire multi-primary electron beam 20 by the main deflector 208. As described above, by irradiating each of the primary electron beams 10, the scanning operation for each sub-irradiation region 29 and the acquisition of the secondary electron image are performed. By combining these secondary electronic images for each sub-irradiation region 29, a secondary electronic image of the rectangular region 33, a secondary electronic image of the striped region 32, or a secondary electronic image of the chip 332 is configured. Further, when actually performing image comparison, the sub-irradiation region 29 in each rectangular region 33 is further divided into a plurality of frame regions 30, and the frame image 31 for each frame region 30 is compared. The example of FIG. 4 shows a case where the sub-irradiation region 29 scanned by one primary electron beam 10 is divided into four frame regions 30 formed by dividing the sub-irradiation region 29 into two in the x and y directions, for example. ..

ここで、ステージ105が連続移動しながらマルチ1次電子ビーム20を基板101に照射する場合、マルチ1次電子ビーム20の照射位置がステージ105の移動に追従するように主偏向器208によって一括偏向によるトラッキング動作が行われる。そのため、マルチ2次電子ビーム300の放出位置がマルチ1次電子ビーム20の軌道中心軸に対して刻々と変化する。同様に、サブ照射領域29内をスキャンする場合に、各2次電子ビームの放出位置は、サブ照射領域29内で刻々と変化する。このように放出位置が変化した各2次電子ビームをマルチ検出器222の対応する検出領域内に照射させるように、偏向器218は、マルチ2次電子ビーム300を一括偏向する。 Here, when the substrate 101 is irradiated with the multi-primary electron beam 20 while the stage 105 continuously moves, the main deflector 208 collectively deflects the irradiation position of the multi-primary electron beam 20 so as to follow the movement of the stage 105. Tracking operation is performed by. Therefore, the emission position of the multi-secondary electron beam 300 changes momentarily with respect to the orbital central axis of the multi-primary electron beam 20. Similarly, when scanning in the sub-irradiation region 29, the emission position of each secondary electron beam changes momentarily in the sub-irradiation region 29. The deflector 218 collectively deflects the multi-secondary electron beam 300 so that each secondary electron beam whose emission position has changed is irradiated into the corresponding detection region of the multi-detector 222.

以上のように、画像取得機構150は、ストライプ領域32毎に、スキャン動作をすすめていく。上述したように、マルチ1次電子ビーム20を照射して、マルチ1次電子ビーム20の照射に起因して基板101から放出されるマルチ2次電子ビーム300は、マルチ検出器222で検出される。検出されるマルチ2次電子ビーム300には、反射電子が含まれていても構わない。或いは、反射電子は、2次電子光学系を移動中に発散し、マルチ検出器222まで到達しない場合であっても構わない。マルチ検出器222によって検出された各サブ照射領域29内の画素毎の2次電子の検出データ(測定画像データ:2次電子画像データ:被検査画像データ)は、測定順に検出回路106に出力される。検出回路106内では、図示しないA/D変換器によって、アナログの検出データがデジタルデータに変換され、チップパターンメモリ123に格納される。そして、得られた測定画像データは、位置回路107からの各位置を示す情報と共に、比較回路108に転送される。 As described above, the image acquisition mechanism 150 promotes the scanning operation for each stripe region 32. As described above, the multi-secondary electron beam 300 emitted from the substrate 101 due to the irradiation of the multi-primary electron beam 20 by irradiating the multi-primary electron beam 20 is detected by the multi-detector 222. .. The detected multi-secondary electron beam 300 may contain backscattered electrons. Alternatively, the backscattered electrons may diverge while moving through the secondary electron optical system and may not reach the multi-detector 222. The secondary electron detection data (measured image data: secondary electron image data: inspected image data) for each pixel in each sub-irradiation region 29 detected by the multi-detector 222 is output to the detection circuit 106 in the order of measurement. To. In the detection circuit 106, analog detection data is converted into digital data by an A / D converter (not shown) and stored in the chip pattern memory 123. Then, the obtained measurement image data is transferred to the comparison circuit 108 together with the information indicating each position from the position circuit 107.

一方、参照画像作成回路112は、基板101に形成された複数の図形パターンの元になる設計データに基づいて、フレーム領域30毎に、フレーム画像31に対応する参照画像を作成する。具体的には、以下のように動作する。まず、記憶装置109から制御計算機110を通して設計パターンデータを読み出し、この読み出された設計パターンデータに定義された各図形パターンを2値ないしは多値のイメージデータに変換する。 On the other hand, the reference image creation circuit 112 creates a reference image corresponding to the frame image 31 for each frame region 30 based on the design data that is the source of the plurality of graphic patterns formed on the substrate 101. Specifically, it operates as follows. First, the design pattern data is read from the storage device 109 through the control computer 110, and each graphic pattern defined in the read design pattern data is converted into binary or multi-valued image data.

上述したように、設計パターンデータに定義される図形は、例えば長方形や三角形を基本図形としたもので、例えば、図形の基準位置における座標(x、y)、辺の長さ、長方形や三角形等の図形種を区別する識別子となる図形コードといった情報で各パターン図形の形、大きさ、位置等を定義した図形データが格納されている。 As described above, the figure defined in the design pattern data is, for example, a rectangle or a triangle as a basic figure, for example, the coordinates (x, y) at the reference position of the figure, the length of the side, the rectangle, the triangle, or the like. Graphical data that defines the shape, size, position, etc. of each pattern graphic is stored with information such as a graphic code that serves as an identifier that distinguishes the graphic types of.

かかる図形データとなる設計パターンデータが参照画像作成回路112に入力されると図形ごとのデータにまで展開し、その図形データの図形形状を示す図形コード、図形寸法などを解釈する。そして、所定の量子化寸法のグリッドを単位とするマス目内に配置されるパターンとして2値ないしは多値の設計パターン画像データに展開し、出力する。言い換えれば、設計データを読み込み、検査領域を所定の寸法を単位とするマス目として仮想分割してできたマス目毎に設計パターンにおける図形が占める占有率を演算し、nビットの占有率データを出力する。例えば、1つのマス目を1画素として設定すると好適である。そして、1画素に1/2(=1/256)の分解能を持たせるとすると、画素内に配置されている図形の領域分だけ1/256の小領域を割り付けて画素内の占有率を演算する。そして、8ビットの占有率データとなる。かかるマス目(検査画素)は、測定データの画素に合わせればよい。 When the design pattern data to be the graphic data is input to the reference image creation circuit 112, the data is expanded to the data for each graphic, and the graphic code indicating the graphic shape of the graphic data, the graphic dimension, and the like are interpreted. Then, it is developed into binary or multi-valued design pattern image data as a pattern arranged in the squares having a grid of predetermined quantized dimensions as a unit and output. In other words, the design data is read, the occupancy rate of the figure in the design pattern is calculated for each cell created by virtually dividing the inspection area into cells with a predetermined dimension as a unit, and the n-bit occupancy rate data is obtained. Output. For example, it is preferable to set one cell as one pixel. Then, assuming that one pixel has a resolution of 1/28 ( = 1/256), a small area of 1/256 is allocated to the area of the figure arranged in the pixel to determine the occupancy rate in the pixel. Calculate. Then, it becomes 8-bit occupancy rate data. Such squares (inspection pixels) may be matched with the pixels of the measurement data.

次に、参照画像作成回路112は、図形のイメージデータである設計パターンの設計画像データに、所定のフィルタ関数を使ってフィルタ処理を施す。これにより、画像強度(濃淡値)がデジタル値の設計側のイメージデータである設計画像データをマルチ1次電子ビーム20の照射によって得られる像生成特性に合わせることができる。作成された参照画像の画素毎の画像データは比較回路108に出力される。 Next, the reference image creation circuit 112 filters the design image data of the design pattern, which is the image data of the figure, by using a predetermined filter function. Thereby, the design image data in which the image intensity (shade value) is the image data on the design side of the digital value can be matched with the image generation characteristic obtained by the irradiation of the multi-primary electron beam 20. The image data for each pixel of the created reference image is output to the comparison circuit 108.

図5は、実施の形態1における比較回路内の構成を示す内部構成図の一例である。図5において、比較回路108内には、磁気ディスク装置等の記憶装置50,51,52,74、スムージング処理部54,56、サブ画素補間処理部60、サブ画素シフト処理部63、SSD(Sum of Squared Difference)値算出部62、最適化処理部64、スムージング処理部70、及び比較処理部72が配置される。スムージング処理部54,56、サブ画素補間処理部60、サブ画素シフト処理部63、SSD(Sum of Squared Difference)値算出部62、最適化処理部64、スムージング処理部70、及び比較処理部72といった各「~部」は、処理回路を含み、その処理回路には、電気回路、コンピュータ、プロセッサ、回路基板、量子回路、或いは、半導体装置等が含まれる。また、各「~部」は、共通する処理回路(同じ処理回路)を用いてもよい。或いは、異なる処理回路(別々の処理回路)を用いても良い。スムージング処理部54,56、サブ画素補間処理部60、サブ画素シフト処理部63、SSD(Sum of Squared Difference)値算出部62、最適化処理部64、スムージング処理部70、及び比較処理部72内に必要な入力データ或いは演算された結果はその都度図示しないメモリに記憶される。 FIG. 5 is an example of an internal configuration diagram showing a configuration in the comparison circuit according to the first embodiment. In FIG. 5, in the comparison circuit 108, storage devices 50, 51, 52, 74 such as a magnetic disk device, smoothing processing units 54, 56, sub-pixel interpolation processing unit 60, sub-pixel shift processing unit 63, SSD (Sum). of Squared Difference) Value calculation unit 62, optimization processing unit 64, smoothing processing unit 70, and comparison processing unit 72 are arranged. Smoothing processing units 54 and 56, sub-pixel interpolation processing unit 60, sub-pixel shift processing unit 63, SSD (Sum of Squared Difference) value calculation unit 62, optimization processing unit 64, smoothing processing unit 70, and comparison processing unit 72. Each "-part" includes a processing circuit, and the processing circuit includes an electric circuit, a computer, a processor, a circuit board, a quantum circuit, a semiconductor device, and the like. Further, a common processing circuit (same processing circuit) may be used for each "-part". Alternatively, different processing circuits (separate processing circuits) may be used. Smoothing processing unit 54, 56, sub-pixel interpolation processing unit 60, sub-pixel shift processing unit 63, SSD (Sum of Squared Difference) value calculation unit 62, optimization processing unit 64, smoothing processing unit 70, and comparison processing unit 72. The input data required for the above or the result of the calculation is stored in a memory (not shown) each time.

比較回路108内に転送された被検査画像データ(フレーム画像データ)は、記憶装置52に格納される。また、比較回路108内に転送された参照画像データは、記憶装置50に格納される。比較回路108内にて、被検査画像となるフレーム画像と参照画像との位置合わせを行うことになる。 The image to be inspected image data (frame image data) transferred into the comparison circuit 108 is stored in the storage device 52. Further, the reference image data transferred into the comparison circuit 108 is stored in the storage device 50. In the comparison circuit 108, the frame image to be the inspected image and the reference image are aligned.

ここで、上述したように、電子ビーム検査装置では、単位領域あたりに入射する電子数が限られているために個々の電子に対するショットノイズの影響が大きい。そのため、1画素未満の位置ずれについて、画像全体に対してシフト量に応じた補間処理を行い、補間処理により生じたシフト量に応じたノイズレベルの変動分を抑制する補償フィルタをさらに適用するといった2段階での処理手法が考えられる。しかしながら、かかる処理では、例えば4タップによる補間処理と例えば3タップによる補償フィルタ処理の2段階での処理となるためデータ処理に必要なメモリ量が大きくなってしまうといった問題点や、ノイズレベルの変動を完全に消すことができない場合があり得るといった問題点があった。 Here, as described above, in the electron beam inspection device, since the number of electrons incident per unit region is limited, the influence of shot noise on individual electrons is large. Therefore, for misalignment of less than one pixel, interpolation processing is performed on the entire image according to the shift amount, and a compensation filter that suppresses the fluctuation of the noise level according to the shift amount generated by the interpolation processing is further applied. A two-step processing method can be considered. However, in such processing, since the processing is performed in two stages, for example, interpolation processing with 4 taps and compensation filter processing with 3 taps, there is a problem that the amount of memory required for data processing becomes large, and the noise level fluctuates. There was a problem that it may not be possible to completely erase.

図6は、実施の形態1の比較例におけるノイズレベルの変動の一例を示す図である。図6に示す比較例では、上述したように、4タップによる補間処理と例えば3タップによる補償フィルタ処理の2段階での処理を行う。この4タップのシフトフィルタと、3タップの補償ブラー(blur)フィルタを連続で掛けた場合、6タップのフィルタと等価になるが、この係数二乗和は図6に示すように厳密には一定値にならない。したがって、シフト量によっておこるノイズ量の変動が完全には抑制されておらず、わずかに残っていることがわかる。このように、2段階でフィルタを掛けた場合、ノイズ量の変動を完全には抑えられないことがわかる。そこで、実施の形態1では、画像補正を行うための補間処理の際に、シフト量に応じたノイズレベルの変動分が生じないように補間する。 FIG. 6 is a diagram showing an example of fluctuation in noise level in the comparative example of the first embodiment. In the comparative example shown in FIG. 6, as described above, the interpolation processing by 4 taps and the compensation filter processing by, for example, 3 taps are performed in two stages. When this 4-tap shift filter and 3-tap compensation blur filter are applied continuously, it is equivalent to a 6-tap filter, but this sum of squares of coefficients is strictly a constant value as shown in FIG. do not become. Therefore, it can be seen that the fluctuation of the noise amount caused by the shift amount is not completely suppressed and remains slightly. As described above, it can be seen that the fluctuation of the noise amount cannot be completely suppressed when the filter is applied in two steps. Therefore, in the first embodiment, when the interpolation processing for performing the image correction is performed, the interpolation is performed so that the fluctuation of the noise level according to the shift amount does not occur.

図7は、実施の形態1における画像補正方法の要部工程を示すフローチャート図である。図7において、実施の形態1における画像補正方法は、フィルタテーブル作成工程(S102)と、シフト量決定工程(S202)と、補間処理工程(S204)と、いう一連の工程を実施する。 FIG. 7 is a flowchart showing a main process of the image correction method according to the first embodiment. In FIG. 7, the image correction method according to the first embodiment carries out a series of steps of a filter table creation step (S102), a shift amount determination step (S202), and an interpolation processing step (S204).

図8は、実施の形態1におけるサブ画素補間処理のフィルタ関数を説明するための図である。図8の例では、1次元方向(x方向)へ画像をシフトする場合の補間処理を示している。図8(a)において参照画像をシフトした場合に、シフト後の位置xでの画素値f(x)を補間により求める場合、シフト後の位置xから見てシフト方向の両側に隣接する2画素ずつ計4画素(-1,0,1,2)の階調値(f(-1),f(0),f(1),f(2)を用いて補間する方法がよく用いられる。言い換えれば、補間処理では、対象画素の階調値f(0)と3つの周辺画素の階調値f(-1),f(1),f(2)との合計4つの階調値を用いた線形和を演算する。かかる場合、対象画素は、画素(0)と周辺画素(1)との間にあって、画素(0)からシフト量xだけずらした位置になる場合を想定している。シフト量xはサブ画素単位になるので0≦x≦1となる。かかる場合の対象画素の階調値f(x)(補間値)は、例えば、4タップフィルタを用いて、図8(b)に示すように、4つの画素の画素値を用いた線形和で定義できる。具体的には、4つの画素の画素値にそれぞれ重み付け係数a(x)、b(x)、c(x)、d(x)を乗じた値の和を示す式(1)(補間フィルタ関数)で定義できる。 FIG. 8 is a diagram for explaining a filter function of the sub-pixel interpolation processing in the first embodiment. In the example of FIG. 8, the interpolation processing in the case of shifting the image in the one-dimensional direction (x direction) is shown. When the reference image is shifted in FIG. 8A and the pixel value f (x) at the shifted position x is obtained by interpolation, the two pixels adjacent to both sides in the shift direction when viewed from the shifted position x. A method of interpolating using gradation values (f (-1), f (0), f (1), f (2) of 4 pixels (-1, 0, 1, 2) in total) is often used. In other words, in the interpolation processing, a total of four gradation values, that is, the gradation value f (0) of the target pixel and the gradation values f (-1), f (1), f (2) of the three peripheral pixels, are obtained. The linear sum used is calculated. In this case, it is assumed that the target pixel is located between the pixel (0) and the peripheral pixel (1) and is shifted from the pixel (0) by the shift amount x. Since the shift amount x is in sub-pixel units, 0 ≦ x ≦ 1. In this case, the gradation value f (x) (interpolation value) of the target pixel is obtained in FIG. 8 using, for example, a 4-tap filter. As shown in b), it can be defined by a linear sum using the pixel values of four pixels. Specifically, the weighting coefficients a (x), b (x), and c (x) are applied to the pixel values of the four pixels, respectively. ), It can be defined by the equation (1) (interpolation filter function) showing the sum of the values multiplied by d (x).

Figure 2022077420000002
Figure 2022077420000002

その際、図8(b)に示すように、線形和の各項の重み付け係数a(x)、b(x)、c(x)、d(x)の和が1となり、各項の重み付け係数a(x)、b(x)、c(x)、d(x)の2乗和がシフト量xに依存しない定数Rとなるように設定する。具体的には、式(2-1)及び式(2-2)の関係になるように定義する。 At that time, as shown in FIG. 8 (b), the sum of the weighting coefficients a (x), b (x), c (x), and d (x) of each term of the linear sum becomes 1, and the weighting of each term becomes 1. The sum of squares of the coefficients a (x), b (x), c (x), and d (x) is set to be a constant R that does not depend on the shift amount x. Specifically, it is defined so that the relationship between the equation (2-1) and the equation (2-2) is established.

Figure 2022077420000003
Figure 2022077420000003

f(-1),f(0),f(1),f(2)が一定量のノイズを含む場合、補間後のノイズ量は、式(2-2)の左辺で定義できる。よって、式(2-2)の左辺を定数Rになるように定義できれば、補間後のノイズ量はシフト量xに依存せずに一定にできる。言い換えれば、シフト量xに関わらずノイズレベルの変動分をゼロにできる。ここで、各項の重み付け係数a(x)、b(x)、c(x)、d(x)を具体的に算出する方法の一例について説明する。図8(a)に示す位置xから見た各周辺画素までの位置に依存する偶関数k(x)を用いて、以下の式(3-1)~式(3-4)のように定義できる。 When f (-1), f (0), f (1), and f (2) contain a certain amount of noise, the amount of noise after interpolation can be defined by the left side of the equation (2-2). Therefore, if the left side of the equation (2-2) can be defined to be a constant R, the noise amount after interpolation can be made constant without depending on the shift amount x. In other words, the fluctuation of the noise level can be made zero regardless of the shift amount x. Here, an example of a method for specifically calculating the weighting coefficients a (x), b (x), c (x), and d (x) of each term will be described. Using the even function k (x) that depends on the position from the position x shown in FIG. 8 (a) to each peripheral pixel, it is defined as the following equations (3-1) to (3-4). can.

Figure 2022077420000004
ここで、k1(x)は、k(x)の0<x<1の区間を定義する関数であり、k2(x)は、k(x)の1<x<2の区間を定義する関数であって、これらの範囲において定義されるものとする。
Figure 2022077420000004
Here, k1 (x) is a function that defines an interval of 0 <x <1 of k (x), and k2 (x) is a function that defines an interval of 1 <x <2 of k (x). And shall be defined in these ranges.

そして、式(2-1)、式(2-2)、及び式(3-1)~式(3-4)を用いて変形すると、例えばx=1/2のとき、定数Rは、以下の式(4)で定義できる。 Then, when transformed using the equations (2-1), the equation (2-2), and the equations (3-1) to (3-4), for example, when x = 1/2, the constant R is as follows. It can be defined by the equation (4) of.

Figure 2022077420000005
Figure 2022077420000005

また、式(2-1)、式(2-2)、及び式(3-1)~式(3-4)を用いて変形すると、例えばx=0のとき、k1(0)は式(5-1)で定義できる。また、k1(1)は式(5-2)で定義できる。 Further, when the equations (2-1), the equations (2-2), and the equations (3-1) to the equations (3-4) are used, for example, when x = 0, the k1 (0) becomes the equation (0). It can be defined in 5-1). Further, k1 (1) can be defined by the equation (5-2).

Figure 2022077420000006
したがって、k(1/2)が決まれば、R、k1(0)、k1(1)の3つの値が決まることになる。これら4つの値のうち、独立に決定できるのは1つだけである。
Figure 2022077420000006
Therefore, once k (1/2) is determined, the three values R, k1 (0), and k1 (1) are determined. Of these four values, only one can be determined independently.

また、式(2-1)、式(2-2)、及び式(3-1)~式(3-4)を用いて変形すると、k2(x+1)は式(6-1)で定義できる。また、k2(2-x)は式(6-2)で定義できる。 Further, k2 (x + 1) can be defined by the equation (6-1) by transforming using the equation (2-1), the equation (2-2), and the equations (3-1) to (3-4). .. Further, k2 (2-x) can be defined by the equation (6-2).

Figure 2022077420000007
つまり、R とk1(x)が決まれば、k2(x)も決まる。Rはk1(0)、k1(1/2)、k1(1)のどれか1つが決まれば決まるので、要するにk1(x)が決まれば、k2(x)も決まる。
Figure 2022077420000007
That is, if R and k1 (x) are determined, k2 (x) is also determined. Since R is determined if any one of k1 (0), k1 (1/2), and k1 (1) is determined, in short, if k1 (x) is determined, k2 (x) is also determined.

ここで、k1(x)を例えば式(7)に示す3次元多項式で表せるものとする。 Here, it is assumed that k1 (x) can be represented by, for example, the three-dimensional polynomial shown in the equation (7).

Figure 2022077420000008
Figure 2022077420000008

かかる場合、式(7)の右辺の係数p、q、r、sは、以下の式(8-1)~式(8-4)で定義できる。 In such a case, the coefficients p, q, r, and s on the right side of the equation (7) can be defined by the following equations (8-1) to (8-4).

Figure 2022077420000009
Figure 2022077420000009

以上のように、k1(1/2)を与えるとR、k1(0)、k1(1)の値が決まり、これに加えてr=k1’(0)の値も与えれば、p,q,r,sの4つの値が決まるのでk1(x)が決定し、k2(x)も決定する。これらの計算過程において独立な変数は2つであり、例えば、k1(1/2)とrの2つの値を自由に決めることができる。
以上の関係を満たすフィルタ関数の係数a(x)、b(x)、c(x)、d(x)をまずは求める。
As described above, when k1 (1/2) is given, the values of R, k1 (0), and k1 (1) are determined, and when the value of r = k1'(0) is also given, p, q. Since the four values of, r, and s are determined, k1 (x) is determined, and k2 (x) is also determined. There are two independent variables in these calculation processes, and for example, two values of k1 (1/2) and r can be freely determined.
First, the coefficients a (x), b (x), c (x), and d (x) of the filter function satisfying the above relationship are obtained.

フィルタテーブル作成工程(S102)として、フィルタテーブル作成回路130は、補間処理を行うための係数が定義されるフィルタテーブルを作成する。 As a filter table creation step (S102), the filter table creation circuit 130 creates a filter table in which coefficients for performing interpolation processing are defined.

図9は、実施の形態1におけるフィルタテーブル作成工程の内部工程を示すフローチャート図である。フィルタテーブルは、検査装置100内で作成しても良いし、外部で作成した後に入力しても構わない。 FIG. 9 is a flowchart showing an internal process of the filter table creating process in the first embodiment. The filter table may be created in the inspection device 100 or may be input after being created externally.

フィルタテーブル作成回路130は、k1(1/2)、rを設定する(S104)。これらの値は外部からユーザによって入力された値を設定すればよい。 The filter table creation circuit 130 sets k1 (1/2) and r (S104). These values may be set to values input by the user from the outside.

次に、フィルタテーブル作成回路130は、k1(1/2)を式(4)に代入して、定数Rを演算する(S106)。 Next, the filter table creation circuit 130 substitutes k1 (1/2) into the equation (4) to calculate the constant R (S106).

次に、フィルタテーブル作成回路130は、Rを式(5-1)及び式(5-2)に代入して、k1(0)、k1(1)を演算する(S108)。 Next, the filter table creation circuit 130 substitutes R into the equations (5-1) and (5-2) to calculate k1 (0) and k1 (1) (S108).

次に、フィルタテーブル作成回路130は、k1(0)、k1(1/2)、k1(1)、rの各値を、式(8-1)、式(8-2)、及び式(8-4)に代入して、係数p,q,sを演算する(S110)。これにより、k1(x)を求めることができる。 Next, the filter table creation circuit 130 sets the values of k1 (0), k1 (1/2), k1 (1), and r into the equations (8-1), equations (8-2), and equations (8-2). Substitute in 8-4) to calculate the coefficients p, q, s (S110). As a result, k1 (x) can be obtained.

次に、フィルタテーブル作成回路130は、R、及びk1(x)を、式(6-1)、及び式(6-2)に代入して、例えばx=0のとき、k2(1)、k2(2)を演算する(S112)。 Next, the filter table creation circuit 130 substitutes R and k1 (x) into the equations (6-1) and (6-2), and when x = 0, for example, k2 (1),. Calculate k2 (2) (S112).

次に、フィルタテーブル作成回路130は、得られたk1(0)、k1(1)、k2(1)、及びk2(2)が実数かどうかを判定する(S114)。k1(0)、k1(1)、k2(1)、及びk2(2)のすべてが実数でない場合、実数になるまで、k1(1/2)、rの値を変更して、同様にS104~S114までの各工程を繰り返す。 Next, the filter table creation circuit 130 determines whether or not the obtained k1 (0), k1 (1), k2 (1), and k2 (2) are real numbers (S114). If all of k1 (0), k1 (1), k2 (1), and k2 (2) are not real numbers, change the values of k1 (1/2) and r until they become real numbers, and similarly S104. Each step up to S114 is repeated.

以上により、重み付け係数a(x)、b(x)、c(x)、d(x)を求めることができる。次に、サブ画素単位のシフト量毎の重み付け係数a(x)、b(x)、c(x)、d(x)の各値を演算する(S114)。1画素が例えば256階調で定義される場合、n=0~255の各値におけるx=n/256に対し、重み付け係数a(x)、b(x)、c(x)、d(x)の各値が求まる。k1(1/2)、rの値の組は1種に限るものではない。そのため、k1(1/2)、rの値の組毎に、x=0~255の各値における係数a(x)、b(x)、c(x)、d(x)の各値を求めても好適である。 From the above, the weighting coefficients a (x), b (x), c (x), and d (x) can be obtained. Next, each value of the weighting coefficients a (x), b (x), c (x), and d (x) for each shift amount in the sub-pixel unit is calculated (S114). When one pixel is defined by, for example, 256 gradations, the weighting coefficients a (x), b (x), c (x), and d (x) are given to x = n / 256 at each value of n = 0 to 255. ) Can be obtained. The set of values of k1 (1/2) and r is not limited to one type. Therefore, for each set of values of k1 (1/2) and r, each value of the coefficients a (x), b (x), c (x), and d (x) in each value of x = 0 to 255 is set. It is also suitable even if it is sought.

そして、フィルタテーブル作成回路130は、k1(1/2)、rの値の組毎に、x=0~255の各値における重み付け係数a(x)、b(x)、c(x)、d(x)の各値を定義するフィルタテーブルを作成する(S118)。 Then, in the filter table creation circuit 130, the weighting coefficients a (x), b (x), c (x) at each value of x = 0 to 255 for each set of values of k1 (1/2) and r. A filter table that defines each value of d (x) is created (S118).

図10は、実施の形態1におけるフィルタテーブルの一例をグラフで示した図である。図10(a)では、横軸に、シフト量となる0から255の値を示し、縦軸に各重み付け係数a(x)、b(x)、c(x)、d(x)の値を示す。図10(b)では、シフト量xがとり得る0から255の256階調を0~1の値に変換した場合の図10(a)に示した各係数のフィルタ波形を示す。得られたフィルタテーブルは、記憶装置109に格納される。 FIG. 10 is a graph showing an example of a filter table according to the first embodiment. In FIG. 10A, the horizontal axis shows the values from 0 to 255 which are the shift amounts, and the vertical axis shows the values of the weighting coefficients a (x), b (x), c (x), and d (x). Is shown. FIG. 10B shows the filter waveforms of the respective coefficients shown in FIG. 10A when the 256 gradations from 0 to 255 that the shift amount x can take are converted into the values of 0 to 1. The obtained filter table is stored in the storage device 109.

シフト量決定工程(S202)として、最適化処理部64(シフト量決定部)は、参照画像(第1の画像)の全体画像と参照画像の位置毎の部分画像との一方に対して、サブ画素単位のシフト量を決定する。ここでは、例えば、参照画像の全体に対して一定のシフト量xでシフトさせる場合について説明する。 As a shift amount determination step (S202), the optimization processing unit 64 (shift amount determination unit) is subordinate to one of the entire image of the reference image (first image) and the partial image for each position of the reference image. Determine the shift amount for each pixel. Here, for example, a case where the entire reference image is shifted by a constant shift amount x will be described.

まず、スムージング処理部56は、記憶装置52から被検査画像となるフレーム画像(第2の画像)を読み出し、フレーム画像内の図形パターンに対してパターン端部をなめらかにするスムージング処理を行う。同様に、スムージング処理部54は、記憶装置50から対応するフレーム領域30の参照画像を読み出し、参照画像の図形パターンに対してパターン端部をなめらかにするスムージング処理を行う。スムージング処理用のフィルタとして、例えば、ガウシアンフィルタを用いると好適である。例えば、7行×7列のガウシアンフィルタを用いる。或いは、例えば、5行×5列のガウシアンフィルタを用いて構わない。或いは、7×7列よりも大きい行列のガウシアンフィルタを用いて構わない。ガウシアンフィルタの各要素値は、中心の要素値a(i,j)が最も大きく、中心から外れるに従い小さくなるように設定される。例えば、1/4096,6/4096,15/4096,20/4096,36/4096,90/4096,120/4096,225/4096,300/4096,400/4096のいずれかの値が設定される。かかる場合には、中心の要素値a(i,j)は400/4096となる。また、4隅の要素値a(i-3,j-3),a(i+3,j-3),a(i-3,j+3),a(i+3,j+3)は、共に1/4096となる。この場合のσは約1.3となる。7×7列の各要素値を1画素に当てはめ、例えば、512×512画素で構成されるマスクダイ画像内において、7×7画素の領域を2次元状に1画素ずつずらしながら移動させる。そして、それぞれのシフト位置において、7×7画素の中心画素の画素値g(x,y)を演算する。中心画素の画素値g(x,y)は、以下の式(2)(ガウシアンフィルタ関数)で定義できる。 First, the smoothing processing unit 56 reads out a frame image (second image) to be an inspected image from the storage device 52, and performs smoothing processing for smoothing the pattern end portion with respect to the graphic pattern in the frame image. Similarly, the smoothing processing unit 54 reads out the reference image of the corresponding frame area 30 from the storage device 50, and performs smoothing processing for smoothing the pattern end portion with respect to the graphic pattern of the reference image. As a filter for smoothing processing, for example, it is preferable to use a Gaussian filter. For example, a 7-row x 7-column Gaussian filter is used. Alternatively, for example, a Gaussian filter having 5 rows × 5 columns may be used. Alternatively, a Gaussian filter with a matrix larger than 7 × 7 columns may be used. Each element value of the Gaussian filter is set so that the central element value a (i, j) is the largest and decreases as it deviates from the center. For example, one of 1/4096, 6/4096, 15/4096, 20/4096, 36/4096, 90/4096, 120/4096, 225/4096, 300/4096, 400/4096 is set. .. In such a case, the central element value a (i, j) is 400/4096. Further, the element values a (i-3, j-3), a (i + 3, j-3), a (i-3, j + 3), and a (i + 3, j + 3) at the four corners are all 1/4096. .. In this case, σ is about 1.3. Each element value in the 7 × 7 column is applied to one pixel, and for example, in a mask die image composed of 512 × 512 pixels, the area of the 7 × 7 pixel is moved while being two-dimensionally shifted by one pixel. Then, at each shift position, the pixel value g (x, y) of the central pixel of 7 × 7 pixels is calculated. The pixel value g (x, y) of the central pixel can be defined by the following equation (2) (Gaussian filter function).

Figure 2022077420000010
Figure 2022077420000010

かかるスムージング処理によって、被検査画像と参照画像のショットノイズを含むノイズを低減できる。特に、ガウシアンフィルタの行列の要素数を多くするほど、その効果を大きくすることができる。実施の形態1では、7行×7列の行列で示すガウシアンフィルタを用いることで、実質的にノイズを消去することができる。このように、実質的にノイズを消去した状態で、以下に示すように、位置合わせのためのシフト量(ずらし量)を演算する。 By such smoothing processing, noise including shot noise of the image to be inspected and the reference image can be reduced. In particular, the effect can be increased by increasing the number of elements in the Gaussian filter matrix. In the first embodiment, noise can be substantially eliminated by using a Gaussian filter represented by a matrix of 7 rows × 7 columns. In this way, with the noise substantially eliminated, the shift amount (shift amount) for alignment is calculated as shown below.

まず、サブ画素シフト処理部63は、スムージング処理が行われた参照画像をサブ画素単位で可変にずらす。1画素が例えば256階調で定義される場合、例えば、x,y方向に1/16画素ずつ、或いは1/8画素ずつシフトさせると好適である。そして、SSD値算出部62は、シフト量(ずらし量)毎に、フレーム画像の各画素値と参照画像の対応する画素値との差分二乗和(SSD)を演算する。 First, the sub-pixel shift processing unit 63 variably shifts the smoothed reference image in sub-pixel units. When one pixel is defined by, for example, 256 gradations, it is preferable to shift by 1/16 pixel or 1/8 pixel in the x and y directions, for example. Then, the SSD value calculation unit 62 calculates the difference squared sum (SSD) of each pixel value of the frame image and the corresponding pixel value of the reference image for each shift amount (shift amount).

次に、最適化処理部64は、差分二乗和(SSD)が最小となる画像シフト量(ずらし量)を演算する。そのために、サブ画素シフト処理部63は、画像シフト量を可変にずらして、その都度、SSD値算出部62は、上述したように差分二乗和(SSD)を演算し、演算結果を最適化処理部64に出力する。以上のようにして、最適化処理部64は、差分二乗和(SSD)が最小となる画像シフト量(ずらし量)を決定する。以上の繰り返し演算によって得られた、差分二乗和(SSD)が最小となる画像シフト量(ずらし量)は、サブ画素補間処理部60に出力される。 Next, the optimization processing unit 64 calculates an image shift amount (shift amount) that minimizes the difference squared sum (SSD). Therefore, the sub-pixel shift processing unit 63 variably shifts the image shift amount, and each time, the SSD value calculation unit 62 calculates the difference square sum (SSD) as described above, and optimizes the calculation result. Output to unit 64. As described above, the optimization processing unit 64 determines the image shift amount (shift amount) at which the difference squared sum (SSD) is minimized. The image shift amount (shift amount) that minimizes the difference squared sum (SSD) obtained by the above iterative calculation is output to the sub-pixel interpolation processing unit 60.

上述した例では、参照画像全体を1つのシフト量でシフトされる場合を説明したが、これに限るものではない。位置毎にシフト量を変化させても好適である。 In the above-mentioned example, the case where the entire reference image is shifted by one shift amount has been described, but the present invention is not limited to this. It is also preferable to change the shift amount for each position.

図11は、実施の形態1における位置に依存させてシフトする場合のシフト量を求める方法を説明するための図である。図11において、フレーム領域30サイズの参照画像を複数の小領域35に分割する。図11の例では、フレーム領域30を例えば4×4の小領域35に分割する場合を示している。そして、SSD値算出部62は、小領域35毎に、小領域35に分割された部分画像を使ってシフト量を可変にずらしながら差分二乗和(SSD)を演算する。そして、最適化処理部64は、小領域35毎に、差分二乗和(SSD)が最小となる画像シフト量(ずらし量)を決定する。 FIG. 11 is a diagram for explaining a method of obtaining a shift amount in the case of shifting depending on the position in the first embodiment. In FIG. 11, the reference image of the frame area 30 size is divided into a plurality of small areas 35. The example of FIG. 11 shows a case where the frame area 30 is divided into, for example, a 4 × 4 small area 35. Then, the SSD value calculation unit 62 calculates the difference squared sum (SSD) for each small area 35 while variably shifting the shift amount using the partial image divided into the small areas 35. Then, the optimization processing unit 64 determines the image shift amount (shift amount) at which the difference squared sum (SSD) is minimized for each small area 35.

補間処理工程(S204)として、サブ画素補間処理部60(補間処理部)は、全体画像と位置毎の部分画像との一方に対して、画素毎に対象画素の階調値と対象画素の周辺画素の階調値とを用いてシフト量に応じた補間処理を行う。補間処理は、画素の位置における線形和の各項の重み付け係数の和が1となり、各項の重み付け係数の2乗和がシフト量xに依存しない定数Rとなるように設定された各項の重み付け係数数a(x)、b(x)、c(x)、d(x)を用いて、対象画素の補間値として、対象画素の階調値と周辺画素の階調値との線形和を演算する。参照画像全体に対して1つのシフト量が決定された場合には、かかる全体画像に対して、画素毎に対象画素の階調値と対象画素の周辺画素の階調値とを用いてシフト量に応じた補間処理を行う。参照画像を複数の小領域35に分割して小領域35毎にシフト量が決定された場合には、小領域35毎にかかる部分画像に対して、画素毎に対象画素の階調値と対象画素の周辺画素の階調値とを用いてシフト量に応じた補間処理を行う。具体的には、以下のように動作する。 As the interpolation processing step (S204), the sub-pixel interpolation processing unit 60 (interpolation processing unit) has the gradation value of the target pixel and the periphery of the target pixel for each pixel with respect to one of the entire image and the partial image for each position. Interpolation processing is performed according to the shift amount using the gradation value of the pixel. In the interpolation process, the sum of the weighting coefficients of each term of the linear sum at the pixel position is 1, and the square sum of the weighting coefficients of each term is a constant R that does not depend on the shift amount x. Using the number of weighting coefficients a (x), b (x), c (x), and d (x), the linear sum of the gradation value of the target pixel and the gradation value of the peripheral pixels is used as the interpolation value of the target pixel. Is calculated. When one shift amount is determined for the entire reference image, the shift amount is used for each pixel using the gradation value of the target pixel and the gradation value of the peripheral pixels of the target pixel for the entire image. Interpolation processing is performed according to. When the reference image is divided into a plurality of small areas 35 and the shift amount is determined for each small area 35, the gradation value of the target pixel and the target for each pixel with respect to the partial image applied to each small area 35. Interpolation processing is performed according to the shift amount using the gradation values of the peripheral pixels of the pixels. Specifically, it operates as follows.

まず、サブ画素補間処理部60は、サブ画素単位のシフト量に応じた補間用の線形和の各項の重み付け係数a(x)、b(x)、c(x)、d(x)を定義するフィルタテーブルを参照して、決定されたシフト量xに対応する各項の重み付け係数a(x)、b(x)、c(x)、d(x)を取得する。 First, the sub-pixel interpolation processing unit 60 sets the weighting coefficients a (x), b (x), c (x), and d (x) of each term of the linear sum for interpolation according to the shift amount in the sub-pixel unit. With reference to the defined filter table, the weighting coefficients a (x), b (x), c (x), and d (x) of each term corresponding to the determined shift amount x are acquired.

そして、サブ画素補間処理部60は、補間の対象となる参照画像について、画素毎に、画素値f(x)(補間値)を算出する。補間処理では、上述したように、対象画素の階調値f(0)と3つの周辺画素の階調値f(-1),f(1),f(2)との合計4つの階調値を用いた線形和を演算する。対象画素の画素値f(x)(補間値)は、式(1)に示した、例えば、4タップフィルタを用いて、4つの周辺画素の画素値を用いた線形和によって算出される。 なお、通常画像の位置ずれは横方向のみでなく縦方向にも起こりえる。その場合、x方向のサブ画素補間処理とy方向のサブ画素補間処理を連続して行なう。シフト量xが、例えば画像全体で同じである場合には、x=constとなるため、a(x),b(x),c(x),d(x)は定数係数になり、パイプライン処理のように各画素の階調値をどんどん流すことで補間処理を行えばよい。 Then, the sub-pixel interpolation processing unit 60 calculates the pixel value f (x) (interpolation value) for each pixel of the reference image to be interpolated. In the interpolation processing, as described above, a total of four gradations of the gradation value f (0) of the target pixel and the gradation values f (-1), f (1), f (2) of the three peripheral pixels are used. Compute the linear sum using the values. The pixel value f (x) (interpolated value) of the target pixel is calculated by a linear sum using the pixel values of the four peripheral pixels, for example, using a 4-tap filter shown in the equation (1). It should be noted that the misalignment of the normal image can occur not only in the horizontal direction but also in the vertical direction. In that case, the sub-pixel interpolation processing in the x-direction and the sub-pixel interpolation processing in the y-direction are continuously performed. If the shift amount x is the same for the entire image, for example, x = const, so that a (x), b (x), c (x), and d (x) are constant coefficients, and the pipeline. Interpolation processing may be performed by steadily flowing the gradation values of each pixel as in the processing.

以上のように補間処理によって位置合わせのために画像補正された参照画像を生成できる。実施の形態1では、上述したように、線形和の各項の重み付け係数a(x)、b(x)、c(x)、d(x)の和が1となり、各項の重み付け係数a(x)、b(x)、c(x)、d(x)の2乗和がシフト量xに依存しない定数Rとなるように設定されているので、シフト量に応じたノイズレベルの変動を回避できる。 As described above, it is possible to generate a reference image that has been image-corrected for alignment by interpolation processing. In the first embodiment, as described above, the sum of the weighting coefficients a (x), b (x), c (x), and d (x) of each term of the linear sum is 1, and the weighting coefficient a of each term is 1. Since the sum of squares of (x), b (x), c (x), and d (x) is set to be a constant R that does not depend on the shift amount x, the noise level fluctuates according to the shift amount. Can be avoided.

図12は、実施の形態1の比較例における補正前後の画像の一例を示す図である。図13は、実施の形態1における補正前後の画像の一例を示す図である。比較例では、図12(a)に示す画像の中心部分について、従来の4タップフィルタ処理の後に3タップの補償フィルタを実施した。その結果、図12(b)に示すように、画像の中心部分についてボケが残ることがわかる。これに対して、図12(a)に示した画像と同じ図13(a)に示す画像の中心部分について、実施の形態1の補間処理を実施した。その結果、図13(b)に示すように、画像の中心部分についてボケが低減されていることがわかる。 FIG. 12 is a diagram showing an example of images before and after correction in the comparative example of the first embodiment. FIG. 13 is a diagram showing an example of images before and after correction in the first embodiment. In the comparative example, a 3-tap compensation filter was applied to the central portion of the image shown in FIG. 12A after the conventional 4-tap filter processing. As a result, as shown in FIG. 12B, it can be seen that blurring remains in the central portion of the image. On the other hand, the interpolation processing of the first embodiment was performed on the central portion of the image shown in FIG. 13 (a), which is the same as the image shown in FIG. 12 (a). As a result, as shown in FIG. 13B, it can be seen that the blurring is reduced in the central portion of the image.

また、上述した例では、4タップフィルタを用いて補間しているが、これに限るものではない。さらに多くのタップ数のフィルタを用いて補間しても好適である。例えば、対象画素の階調値f(0)と5つの周辺画素の階調値f(-2),f(-1),f(1),f(2),f(3)との合計6つの階調値を用いた4タップフィルタを用いても好適である。 Further, in the above-mentioned example, interpolation is performed using a 4-tap filter, but the present invention is not limited to this. It is also preferable to interpolate using a filter with a larger number of taps. For example, the sum of the gradation value f (0) of the target pixel and the gradation values f (-2), f (-1), f (1), f (2), f (3) of the five peripheral pixels. It is also preferable to use a 4-tap filter using 6 gradation values.

上述した例では、x方向について説明しているが、y方向についても同様に補間する。例えば、x方向に補間処理された補間値に対いて、y方向に補間処理すればよい。 In the above example, the x direction is described, but the y direction is also interpolated in the same manner. For example, the interpolated value that has been interpolated in the x direction may be interpolated in the y direction.

補間処理された参照画像は比較処理部72に出力されると共に、かかる状態で、被検査画像となるフレーム画像と参照画像とを比較する。なお、サブ画素補間処理部60による補間処理によって、参照画像は少しボケるので、フレーム画像についても、サブ画素補間処理部60での処理と同程度のスムージング効果が得られるスムージング処理を行って条件を同程度に近づけると好適である。かかる場合、スムージング処理部70は、記憶装置52からスムージング処理を行っていないフレーム画像を読み出し、フレーム画像内の図形パターンに対してパターン端部を若干なめらかにする弱めのスムージング処理を行っても好適である。スムージング処理用のフィルタとして、例えば、3行×3列のガウシアンフィルタを用いる。 The interpolated reference image is output to the comparison processing unit 72, and in such a state, the frame image to be the inspected image and the reference image are compared. Since the reference image is slightly blurred by the interpolation processing by the sub-pixel interpolation processing unit 60, the frame image is also subjected to the smoothing processing that can obtain the same smoothing effect as the processing by the sub-pixel interpolation processing unit 60. It is preferable to bring them closer to the same degree. In such a case, it is also preferable that the smoothing processing unit 70 reads out the frame image that has not been smoothed from the storage device 52, and performs a weak smoothing process that slightly smoothes the pattern end portion with respect to the graphic pattern in the frame image. Is. As a filter for smoothing processing, for example, a Gaussian filter having 3 rows × 3 columns is used.

比較処理部72(比較部)は、補間処理が行われた参照画像(第1の画像)と、参照画像に対応するフレーム画像(第2の画像)とを比較する。具体的には、被検査画像と参照画像とを、画素毎に比較する。所定の判定閾値を用いて所定の判定条件に従って画素毎に両者を比較し、例えば形状欠陥といった欠陥の有無を判定する。例えば、画素毎の階調値差が判定閾値Thよりも大きければ欠陥候補と判定する。そして、比較結果が出力される。比較結果は、記憶装置109、モニタ117、若しくはメモリ118に、或いはプリンタ119より出力されればよい。 The comparison processing unit 72 (comparison unit) compares the interpolated reference image (first image) with the frame image (second image) corresponding to the reference image. Specifically, the image to be inspected and the reference image are compared for each pixel. Using a predetermined determination threshold value, the two are compared for each pixel according to a predetermined determination condition, and the presence or absence of a defect such as a shape defect is determined. For example, if the difference in gradation value for each pixel is larger than the determination threshold value Th, it is determined as a defect candidate. Then, the comparison result is output. The comparison result may be output to the storage device 109, the monitor 117, or the memory 118, or from the printer 119.

或いは、比較処理部72(比較部)は、被検査画像と参照画像とからそれぞれ画像内の図形パターンの輪郭線を生成する。そして、マッチングする図形パターンの輪郭線同士のずれを比較して良い。例えば、輪郭線同士のずれが判定閾値Th’よりも大きければ欠陥候補と判定する。そして、比較結果が出力される。比較結果は、記憶装置74に出力されると共に、記憶装置109、モニタ117、若しくはメモリ118に出力される、或いはプリンタ119から出力されればよい。 Alternatively, the comparison processing unit 72 (comparison unit) generates contour lines of graphic patterns in the image from the image to be inspected and the reference image, respectively. Then, the deviations between the contour lines of the matching graphic patterns may be compared. For example, if the deviation between the contour lines is larger than the determination threshold value Th', it is determined as a defect candidate. Then, the comparison result is output. The comparison result may be output to the storage device 74, output to the storage device 109, the monitor 117, or the memory 118, or output from the printer 119.

以上のように、実施の形態1によれば、シフト量に応じたノイズレベルの変動分が生じないように画像を補正できる。そのため、高精度なパターン検査ができる。また、従来のような4タップフィルタ処理の後にさらにノイズレベルの変動分を補償する3タップフィルタ処理(合計6タップ処理に相当する)を必要としないで済む。これにより、演算処理の負荷を低減できる。また、実施の形態1によれば、図11を使って説明したように、画像全体ではなく部分ごとにシフト量が異なる場合でも位置毎のシフト量に応じたノイズレベルの変動分が生じないように画像を補正できる。 As described above, according to the first embodiment, the image can be corrected so that the fluctuation of the noise level according to the shift amount does not occur. Therefore, highly accurate pattern inspection can be performed. Further, it is not necessary to perform the 3-tap filter processing (corresponding to a total of 6-tap processing) for compensating for the fluctuation of the noise level after the conventional 4-tap filter processing. As a result, the load of arithmetic processing can be reduced. Further, according to the first embodiment, as described with reference to FIG. 11, even if the shift amount is different for each part instead of the entire image, the fluctuation of the noise level according to the shift amount for each position does not occur. The image can be corrected.

実施の形態2.
実施の形態1では、ノイズ成分自体を消去してから位置合わせを行う構成について説明したが、実施の形態2では、シフト量(ずらし量)に依存したノイズレベルの変動分が発生しない補間処理を行った上で位置合わせを行う構成について説明する。実施の形態2における検査装置100の構成は図1と同様である。また、以下、特に説明する点以外の内容は、実施の形態1と同様で構わない。
Embodiment 2.
In the first embodiment, the configuration in which the noise component itself is erased and then the alignment is performed has been described, but in the second embodiment, the interpolation processing in which the fluctuation of the noise level depending on the shift amount (shift amount) does not occur is performed. A configuration in which alignment is performed after performing the alignment will be described. The configuration of the inspection device 100 in the second embodiment is the same as that in FIG. Further, the contents other than the points particularly described below may be the same as those in the first embodiment.

図14は、実施の形態2における比較回路内の構成を示す内部構成図の一例である。図14の例では、まず、参照画像に対して設定されるシフト量に応じた補間処理を行った後で、差分二乗和(SSD)が算出される。 FIG. 14 is an example of an internal configuration diagram showing a configuration in the comparison circuit according to the second embodiment. In the example of FIG. 14, first, the difference squared sum (SSD) is calculated after performing interpolation processing according to the shift amount set for the reference image.

サブ画素補間処理部60(サブ画素補間処理部)は、被検査画像に対応する参照画像を用いて、被検査画像と参照画像とを相対的にサブ画素単位で可変にずらしながら、当該参照画像を補間処理する。補間処理の内容は実施の形態1と同様である。サブ画素補間処理部60により補間処理されることでシフト量(ずらし量)xに依存したショットノイズのレベルの変動は生じない。 The sub-pixel interpolation processing unit 60 (sub-pixel interpolation processing unit) uses the reference image corresponding to the inspected image, and while variably shifting the inspected image and the reference image in sub-pixel units, the reference image. Is interpolated. The content of the interpolation process is the same as that of the first embodiment. Since the interpolation processing is performed by the sub-pixel interpolation processing unit 60, the shot noise level does not change depending on the shift amount (shift amount) x.

次に、SSD値算出部62は、シフト量(ずらし量)毎に、被検査画像の各画素値と補間処理された参照画像の対応する画素値との差分二乗和(SSD)を演算する。 Next, the SSD value calculation unit 62 calculates the difference squared sum (SSD) of each pixel value of the image to be inspected and the corresponding pixel value of the interpolated reference image for each shift amount (shift amount).

次に、最適化処理部64は、差分二乗和(SSD)が最小となる画像シフト量(ずらし量)を演算する。そのために、最適化処理部64は、画像シフト量を可変にずらして、その都度、設定した画像シフト量をサブ画素補間処理部60に出力する。そして、サブ画素補間処理部60は上述したように設定された画像シフト量で参照画像を補間する。そして、SSD値算出部62が差分二乗和(SSD)を演算し、演算結果を最適化処理部64に出力する。以上のようにして、最適化処理部64は、差分二乗和(SSD)が最小となる画像シフト量(ずらし量)を得る。そして、差分二乗和(SSD)が最小となる画像シフト量にて補間処理された参照画像と、被検査画像とが、比較処理部72に出力される。 Next, the optimization processing unit 64 calculates an image shift amount (shift amount) that minimizes the difference squared sum (SSD). Therefore, the optimization processing unit 64 variably shifts the image shift amount, and outputs the set image shift amount to the sub-pixel interpolation processing unit 60 each time. Then, the sub-pixel interpolation processing unit 60 interpolates the reference image with the image shift amount set as described above. Then, the SSD value calculation unit 62 calculates the difference squared sum (SSD), and outputs the calculation result to the optimization processing unit 64. As described above, the optimization processing unit 64 obtains an image shift amount (shift amount) that minimizes the difference squared sum (SSD). Then, the reference image interpolated with the image shift amount that minimizes the sum of squared differences (SSD) and the image to be inspected are output to the comparison processing unit 72.

以上のように、実施の形態2では、シフト量(ずらし量)xに依存するノイズレベル変動が生じない補間処理を行った参照画像を使って、被検査画像との位置合わせを行う。 As described above, in the second embodiment, the alignment with the image to be inspected is performed using the reference image subjected to the interpolation processing in which the noise level fluctuation depending on the shift amount (shift amount) x does not occur.

比較処理部72(比較部)は、補間処理が行われた参照画像(第1の画像)と、参照画像に対応するフレーム画像(第2の画像)とを比較する。比較の仕方は、実施の形態1と同様である。 The comparison processing unit 72 (comparison unit) compares the interpolated reference image (first image) with the frame image (second image) corresponding to the reference image. The method of comparison is the same as that of the first embodiment.

上述した例では、比較される2つの画像の一方(例えば参照画像)をシフトさせて位置合わせする場合を説明したが、これに限るものではない。参照画像と被検査画像との両画像をシフトさせて歩み寄らせるように構成しても良い。ずらす方向は、被検査画像と参照画像とで逆方向となる。所望の画像シフト量(ずらし量)xについて、参照画像を例えば+x/2、被検査画像を例えば-x/2ずつずらしていけばよい。そして、被検査画像と参照画像とに対して、それぞれシフト量に応じた補間処理を行う。なお、被検査画像と参照画像とのそれぞれの補間処理に用いる線形和の各項の重み付け係数a(x)、b(x)、c(x)、d(x)については、その和が1となり、各項の重み付け係数a(x)、b(x)、c(x)、d(x)の2乗和がシフト量xに依存しない定数Rとなるように設定されていることは言うまでもない。そして、差分二乗和(SSD)が最小となる画像シフト量の半分ずつで補間された被検査画像と参照画像とに対して比較処理を行えばよい。 In the above-mentioned example, the case where one of the two images to be compared (for example, the reference image) is shifted and aligned has been described, but the present invention is not limited to this. Both the reference image and the image to be inspected may be configured to shift and approach each other. The direction of shifting is opposite between the image to be inspected and the reference image. With respect to the desired image shift amount (shift amount) x, the reference image may be shifted by, for example, + x / 2, and the image to be inspected may be shifted by, for example, −x / 2. Then, interpolation processing is performed on the image to be inspected and the reference image according to the shift amount. The sum of the weighting coefficients a (x), b (x), c (x), and d (x) of each term of the linear sum used for the interpolation processing of the image to be inspected and the reference image is 1. Needless to say, the sum of squares of the weighting coefficients a (x), b (x), c (x), and d (x) of each term is set to be a constant R that does not depend on the shift amount x. stomach. Then, the comparison process may be performed on the image to be inspected and the reference image interpolated by half of the image shift amount that minimizes the sum of squared differences (SSD).

以上のように、実施の形態2によれば、補間処理後の画像を使って差分二乗和(SSD)を演算するので、シフト量自体の精度を高めることができる。よって、実施の形態2によれば、実施の形態1よりも、さらにノイズの影響を低減した画像同士の位置合わせができる。そのため、高精度なパターン検査ができる。 As described above, according to the second embodiment, since the difference squared sum (SSD) is calculated using the image after the interpolation processing, the accuracy of the shift amount itself can be improved. Therefore, according to the second embodiment, it is possible to align the images with each other with the influence of noise further reduced as compared with the first embodiment. Therefore, highly accurate pattern inspection can be performed.

実施の形態3.
上述した各実施の形態では、2つの画像の例えば一方を補間処理することで2つの画像の位置合わせを行う場合について説明した。但し、画像補正は位置合わせに限るものではない。実際の形態3では、画像自体の歪を補正する場合について説明する。
Embodiment 3.
In each of the above-described embodiments, a case where the alignment of two images is performed by interpolating, for example, one of the two images has been described. However, image correction is not limited to alignment. In the actual form 3, a case of correcting the distortion of the image itself will be described.

図15は、実施の形態3における画像補正装置の構成の一例を示す図である。図15において、実施の形態3における画像補正装置200内には、磁気ディスク装置等の記憶装置50,51,53,54、シフト量演算部61、及びサブ画素補間処理部60が配置される。シフト量演算部61、及びサブ画素補間処理部60といった各「~部」は、処理回路を含み、その処理回路には、電気回路、コンピュータ、プロセッサ、回路基板、量子回路、或いは、半導体装置等が含まれる。また、各「~部」は、共通する処理回路(同じ処理回路)を用いてもよい。或いは、異なる処理回路(別々の処理回路)を用いても良い。シフト量演算部61、及びサブ画素補間処理部60内に必要な入力データ或いは演算された結果はその都度図示しないメモリに記憶される。 FIG. 15 is a diagram showing an example of the configuration of the image correction device according to the third embodiment. In FIG. 15, a storage device 50, 51, 53, 54 such as a magnetic disk device, a shift amount calculation unit 61, and a sub-pixel interpolation processing unit 60 are arranged in the image correction device 200 according to the third embodiment. Each "-unit" such as the shift amount calculation unit 61 and the sub-pixel interpolation processing unit 60 includes a processing circuit, and the processing circuit includes an electric circuit, a computer, a processor, a circuit board, a quantum circuit, a semiconductor device, or the like. Is included. Further, a common processing circuit (same processing circuit) may be used for each "-part". Alternatively, different processing circuits (separate processing circuits) may be used. The input data or the calculation result required in the shift amount calculation unit 61 and the sub-pixel interpolation processing unit 60 are stored in a memory (not shown) each time.

記憶装置50には、補正対象の画像が外部から入力され、格納されている。また、記憶装置51には、上述したフィルタテーブルを格納しておく。 The image to be corrected is input from the outside and stored in the storage device 50. Further, the above-mentioned filter table is stored in the storage device 51.

図16は、実施の形態3における補正対象画像の形状の一例を示す図である。図16(a)に示すように、画像を取得する際の光学系の収差等により、画像に歪が生じてしまう場合がある。かかる歪の程度は、位置によって異なるため、画像全体を一様にシフトさせても補正されたことにはならない。そこで、実施の形態3では、予め実験或いはシミュレーション等によりレンズ等の光学系の特性に応じた位置に依存した歪量を測定しておく。歪曲補正などの場合には、レンズの歪曲特性があらかじめ分かっていれば、どの画素がどっちの方向にどのくらい移動するということが分かる。そのため、その値を使って補正できる。レンズの歪曲特性とは、例えば、たる型歪みや糸巻型歪みなどが知られている。あるいは、詳細な測定値にもとづいて、画素毎に補正量(シフト量)を決めるように構成しても良い。そして、位置に応じたシフト量を定義した相関データ(シフト量データ)を作成しておき、記憶装置53に格納しておく。 FIG. 16 is a diagram showing an example of the shape of the image to be corrected in the third embodiment. As shown in FIG. 16A, the image may be distorted due to aberrations of the optical system when acquiring the image. Since the degree of such distortion varies depending on the position, even if the entire image is uniformly shifted, it is not corrected. Therefore, in the third embodiment, the amount of strain depending on the position according to the characteristics of the optical system such as a lens is measured in advance by an experiment or a simulation. In the case of distortion correction, if the distortion characteristics of the lens are known in advance, it is possible to know which pixel moves in which direction and how much. Therefore, the value can be used for correction. As the distortion characteristics of the lens, for example, barrel distortion and pincushion distortion are known. Alternatively, the correction amount (shift amount) may be determined for each pixel based on the detailed measured value. Then, the correlation data (shift amount data) that defines the shift amount according to the position is created and stored in the storage device 53.

シフト量演算部61は、記憶装置53に格納された相関データを参照して、記憶装置50に記憶された画像の位置毎の部分画像に対して、サブ画素単位のシフト量を演算し、位置毎にシフト量を決定する。 The shift amount calculation unit 61 refers to the correlation data stored in the storage device 53, calculates the shift amount for each sub-pixel unit for the partial image for each position of the image stored in the storage device 50, and calculates the position. The shift amount is determined for each.

サブ画素補間処理部60は、画像の位置毎の部分画像に対して、画素毎に対象画素の階調値と対象画素の周辺画素の階調値とを用いてシフト量に応じた補間処理を行う。実施の形態3では、上述した各実施の形態と同様、補間処理は、線形和の各項の係数の和が1となり、各項の係数の2乗和がシフト量xに依存しない定数Rとなるように設定された各項の重み付け係数a(x)、b(x)、c(x)、d(x)を用いて、式(1)に示すように、対象画素の補間値f(x)として、対象画素の階調値f(0)と周辺画素の階調値f(-1),f(1),f(2)との線形和を演算する。実際の各項の重み付け係数a(x)、b(x)、c(x)、d(x)の値は、位置毎に、決定されたシフト量に対応する各係数を記憶装置51のフィルタテーブルから求める点で実施の形態1と同様である。これにより、図16(b)に示すように、歪を補正できる。補間処理された画像(補間画像)は、記憶装置54に出力され、格納される。 The sub-pixel interpolation processing unit 60 performs interpolation processing according to the shift amount on the partial image for each position of the image by using the gradation value of the target pixel and the gradation value of the peripheral pixels of the target pixel for each pixel. conduct. In the third embodiment, as in each of the above-described embodiments, in the interpolation processing, the sum of the coefficients of each term of the linear sum is 1, and the sum of squares of the coefficients of each term is a constant R that does not depend on the shift amount x. Using the weighting coefficients a (x), b (x), c (x), and d (x) of each term set so as to be, as shown in the equation (1), the interpolated value f ( As x), a linear sum of the gradation value f (0) of the target pixel and the gradation values f (-1), f (1), f (2) of the peripheral pixels is calculated. The actual values of the weighting coefficients a (x), b (x), c (x), and d (x) of each term are filters of the storage device 51 for each coefficient corresponding to the determined shift amount for each position. It is the same as the first embodiment in that it is obtained from the table. As a result, distortion can be corrected as shown in FIG. 16 (b). The interpolated image (interpolated image) is output to the storage device 54 and stored.

実施の形態3によれば、位置合わせだけではなく、個別の歪みを持った画像自体の補正が可能となる。 According to the third embodiment, it is possible not only to align the image but also to correct the image itself having individual distortion.

以上の説明において、一連の「~回路」は、処理回路を含み、その処理回路には、電気回路、コンピュータ、プロセッサ、回路基板、量子回路、或いは、半導体装置等が含まれる。また、各「~回路」は、共通する処理回路(同じ処理回路)を用いてもよい。或いは、異なる処理回路(別々の処理回路)を用いても良い。プロセッサ等を実行させるプログラムは、磁気ディスク装置、磁気テープ装置、FD、或いはROM(リードオンリメモリ)等の記録媒体に記録されればよい。例えば、位置回路107、比較回路108、及び参照画像作成回路112等は、上述した少なくとも1つの処理回路で構成されても良い。 In the above description, the series of "-circuits" includes a processing circuit, and the processing circuit includes an electric circuit, a computer, a processor, a circuit board, a quantum circuit, a semiconductor device, and the like. Further, a common processing circuit (same processing circuit) may be used for each "-circuit". Alternatively, different processing circuits (separate processing circuits) may be used. The program for executing the processor or the like may be recorded on a recording medium such as a magnetic disk device, a magnetic tape device, an FD, or a ROM (read-only memory). For example, the position circuit 107, the comparison circuit 108, the reference image creation circuit 112, and the like may be configured by at least one processing circuit described above.

以上、具体例を参照しつつ実施の形態について説明した。しかし、本発明は、これらの具体例に限定されるものではない。実施の形態1,2では、参照画像をシフトする場合を示したが、これに限るものではない。被検査画像をシフトする場合であっても適用できる。また、上述したサブ画素単位のずらしについて、ずらし量が1画素以上の場合については、例えば、3+5/16画素分シフトする場合は、3画素分は画素単位でシフトさせ、5/16画素分は上述した方法によりサブ画素単位でシフトさせればよい。 The embodiment has been described above with reference to specific examples. However, the present invention is not limited to these specific examples. In the first and second embodiments, the case where the reference image is shifted is shown, but the present invention is not limited to this. It can be applied even when the image to be inspected is shifted. Regarding the above-mentioned shift in sub-pixel units, when the shift amount is 1 pixel or more, for example, when shifting by 3 + 5/16 pixels, 3 pixels are shifted in pixel units and 5/16 pixels are shifted. It may be shifted in units of sub-pixels by the method described above.

また、装置構成や制御手法等、本発明の説明に直接必要しない部分等については記載を省略したが、必要とされる装置構成や制御手法を適宜選択して用いることができる。 Further, although the description of parts not directly required for the description of the present invention such as the device configuration and the control method is omitted, the required device configuration and the control method can be appropriately selected and used.

その他、本発明の要素を具備し、当業者が適宜設計変更しうる全てのパターン検査装置及びパターン検査方法は、本発明の範囲に包含される。 In addition, all pattern inspection devices and pattern inspection methods that include the elements of the present invention and can be appropriately redesigned by those skilled in the art are included in the scope of the present invention.

10 1次電子ビーム
20 マルチビーム
22 穴
29 サブ照射領域
30 フレーム領域
31 フレーム画像
32 ストライプ領域
33 矩形領域
34 照射領域
35 小領域
50,51,52,53,74 記憶装置
54,56,70 スムージング処理部
60 サブ画素補間処理部
61 シフト量演算部
62 SSD値算出部
63 サブ画素シフト処理部
64 最適化処理部
72 比較処理部
100 検査装置
101 基板
102 電子ビームカラム
103 検査室
106 検出回路
107 位置回路
108 比較回路
109 記憶装置
110 制御計算機
112 参照画像作成回路
114 ステージ制御回路
117 モニタ
118 メモリ
119 プリンタ
120 バス
122 レーザ測長システム
123 チップパターンメモリ
124 レンズ制御回路
126 ブランキング制御回路
128 偏向制御回路
130 フィルタテーブル作成回路
142 ステージ駆動機構
150 画像取得機構
160 制御系回路
200 電子ビーム
201 電子銃
202 照明レンズ
203 成形アパーチャアレイ基板
205 縮小レンズ
207 対物レンズ
208 主偏向器
209 副偏向器
212 一括ブランキング偏向器
213 制限アパーチャ基板
214 ビームセパレーター
216 ミラー
218 偏向器
222 マルチ検出器
224,226 投影レンズ
300 2次電子
330 検査領域
332 チップ
10 Primary electron beam 20 Multi-beam 22 Hole 29 Sub-irradiation area 30 Frame area 31 Frame image 32 Stripe area 33 Rectangular area 34 Irradiation area 35 Small area 50, 51, 52, 53, 74 Storage device 54, 56, 70 Smoothing processing Unit 60 Sub-pixel interpolation processing unit 61 Shift amount calculation unit 62 SSD value calculation unit 63 Sub-pixel shift processing unit 64 Optimization processing unit 72 Comparison processing unit 100 Inspection device 101 Board 102 Electron beam column 103 Inspection room 106 Detection circuit 107 Position circuit 108 Comparison circuit 109 Storage device 110 Control computer 112 Reference image creation circuit 114 Stage control circuit 117 Monitor 118 Memory 119 Printer 120 Bus 122 Laser length measurement system 123 Chip pattern memory 124 Lens control circuit 126 Blanking control circuit 128 Deflection control circuit 130 Filter Table creation circuit 142 Stage drive mechanism 150 Image acquisition mechanism 160 Control system circuit 200 Electron beam 201 Electron gun 202 Illumination lens 203 Molded aperture array board 205 Reduction lens 207 Objective lens 208 Main deflector 209 Sub-deflector 212 Collective blanking deflector 213 Restricted Aperture Board 214 Beam Separator 216 Mirror 218 Deflector 222 Multi-Detector 224,226 Projection Lens 300 Secondary Electron 330 Inspection Area 332 Chip

Claims (9)

画像を記憶する記憶装置と、
前記画像の全体画像と前記画像の位置毎の部分画像との一方に対して、サブ画素単位のシフト量を決定するシフト量決定部と、
前記全体画像と前記位置毎の部分画像との前記一方に対して、画素毎に対象画素の階調値と前記対象画素の周辺画素の階調値とを用いて前記シフト量に応じた補間処理を行う補間処理部と、
を備え、
前記補間処理は、画素の位置における線形和の各項の重み付け係数の和が1となり、各項の重み付け係数の2乗和がシフト量に依存しない定数となるように設定された各項の重み付け係数を用いて、前記対象画素の補間値として、前記対象画素の階調値と前記周辺画素の階調値との線形和を演算することを特徴とする画像補正装置。
A storage device that stores images and
A shift amount determining unit that determines the shift amount for each sub-pixel with respect to one of the entire image of the image and the partial image for each position of the image.
Interpolation processing according to the shift amount using the gradation value of the target pixel and the gradation value of the peripheral pixels of the target pixel for each pixel for the one of the entire image and the partial image for each position. Interpolation processing unit that performs
Equipped with
In the interpolation process, the sum of the weighting coefficients of each term of the linear sum at the pixel position is 1, and the weighting of each term is set so that the sum of squares of the weighting coefficients of each term is a constant independent of the shift amount. An image correction device characterized in that a linear sum of a gradation value of the target pixel and a gradation value of the peripheral pixels is calculated as an interpolation value of the target pixel using a coefficient.
前記補間処理は、対象画素の階調値と3つの前記周辺画素の階調値との合計4つの階調値を用いた線形和を演算することを特徴とする請求項1記載の画像補正装置。 The image correction device according to claim 1, wherein the interpolation process calculates a linear sum using a total of four gradation values of a gradation value of a target pixel and a gradation value of three peripheral pixels. .. サブ画素単位のシフト量に応じた前記線形和の各項の係数を定義するテーブルをさらに備え
前記テーブルを参照して、決定された前記シフト量に対応する各項の係数を取得することを特徴とする請求項1又は2記載の画像補正装置。
It is further provided with a table that defines the coefficient of each term of the linear sum according to the shift amount of each sub-pixel unit, and is characterized in that the coefficient of each term corresponding to the determined shift amount is obtained by referring to the table. The image correction device according to claim 1 or 2.
図形パターンが形成された第1の画像を記憶する記憶装置と、
前記第1の画像の全体画像と前記第1の画像の位置毎の部分画像との一方に対して、サブ画素単位のシフト量を決定するシフト量決定部と、
前記全体画像と前記位置毎の部分画像との前記一方に対して、画素毎に対象画素の階調値と前記対象画素の周辺画素の階調値とを用いて前記シフト量に応じた補間処理を行う補間処理部と、
前記補間処理が行われた第1の画像と、前記第1の画像に対応する第2の画像とを比較する比較部と、
を備え、
前記補間処理は、画素の位置における線形和の各項の係数の和が1となり、各項の重み付け係数の2乗和がシフト量に依存しない定数となるように設定された各項の重み付け係数を用いて、前記対象画素の補間値として、前記対象画素の階調値と前記周辺画素の階調値との線形和を演算することを特徴とするパターン検査装置。
A storage device that stores the first image on which the graphic pattern is formed, and
A shift amount determining unit that determines the shift amount for each sub-pixel with respect to one of the entire image of the first image and the partial image for each position of the first image.
Interpolation processing according to the shift amount using the gradation value of the target pixel and the gradation value of the peripheral pixels of the target pixel for each pixel for the one of the entire image and the partial image for each position. Interpolation processing unit that performs
A comparison unit that compares the first image subjected to the interpolation processing with the second image corresponding to the first image.
Equipped with
In the interpolation process, the sum of the coefficients of each term of the linear sum at the pixel position is 1, and the weighting coefficient of each term is set so that the sum of squares of the weighting coefficients of each term is a constant that does not depend on the shift amount. A pattern inspection device for calculating a linear sum of the gradation value of the target pixel and the gradation value of the peripheral pixels as the interpolation value of the target pixel.
前記補間処理は、対象画素の階調値と3つの前記周辺画素の階調値との合計4つの階調値を用いた線形和を演算することを特徴とする請求項4記載のパターン検査装置。 The pattern inspection apparatus according to claim 4, wherein the interpolation process calculates a linear sum using a total of four gradation values of the gradation value of the target pixel and the gradation value of the three peripheral pixels. .. サブ画素単位のシフト量に応じた前記線形和の各項の係数を定義するテーブルをさらに備え、
前記テーブルを参照して、決定された前記シフト量に対応する各項の係数を取得することを特徴とする請求項4又は5記載のパターン検査装置。
Further provided with a table that defines the coefficients of each term of the linear sum according to the shift amount in sub-pixel units.
The pattern inspection apparatus according to claim 4 or 5, wherein the coefficient of each item corresponding to the determined shift amount is acquired with reference to the table.
記憶装置に記憶された画像の全体画像と前記画像の位置毎の部分画像との一方に対して、サブ画素単位のシフト量を決定する工程と、
前記全体画像と前記位置毎の部分画像との前記一方に対して、画素毎に対象画素の階調値と前記対象画素の周辺画素の階調値とを用いて前記シフト量に応じた補間処理を行う工程と、
を備え、
前記補間処理は、画素の位置における線形和の各項の係数の和が1となり、各項の重み付け係数の2乗和がシフト量に依存しない定数となるように設定された各項の重み付け係数を用いて、前記対象画素の補間値として、前記対象画素の階調値と前記周辺画素の階調値との線形和を演算することを特徴とする画像補正方法。
A step of determining a shift amount for each sub-pixel with respect to one of an entire image stored in a storage device and a partial image for each position of the image, and
Interpolation processing according to the shift amount using the gradation value of the target pixel and the gradation value of the peripheral pixels of the target pixel for each pixel for the one of the entire image and the partial image for each position. And the process of doing
Equipped with
In the interpolation process, the sum of the coefficients of each term of the linear sum at the pixel position is 1, and the weighting coefficient of each term is set so that the sum of squares of the weighting coefficients of each term is a constant that does not depend on the shift amount. A method for correcting an image, which comprises calculating a linear sum of a gradation value of the target pixel and a gradation value of the peripheral pixels as an interpolation value of the target pixel using the above.
前記補間処理は、対象画素の階調値と3つの前記周辺画素の階調値との合計4つの階調値を用いた線形和を演算することを特徴とする請求項7記載の画像補正方法。 The image correction method according to claim 7, wherein the interpolation process calculates a linear sum using a total of four gradation values of the gradation value of the target pixel and the gradation value of the three peripheral pixels. .. サブ画素単位のシフト量に応じた前記線形和の各項の係数を定義するテーブルを参照して、決定された前記シフト量に対応する各項の係数を取得することを特徴とする請求項7又は8記載の画像補正方法。 Claim 7 is characterized in that the coefficient of each term corresponding to the determined shift amount is obtained by referring to a table that defines the coefficient of each term of the linear sum according to the shift amount of each sub-pixel unit. Or the image correction method according to 8.
JP2020188280A 2020-11-11 2020-11-11 Image correcting device, pattern inspecting device and image correcting method Pending JP2022077420A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2020188280A JP2022077420A (en) 2020-11-11 2020-11-11 Image correcting device, pattern inspecting device and image correcting method
PCT/JP2021/035451 WO2022102266A1 (en) 2020-11-11 2021-09-27 Image correction device, pattern inspection device and image correction method
TW110138648A TW202219499A (en) 2020-11-11 2021-10-19 Image correction device, pattern inspection device and image correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020188280A JP2022077420A (en) 2020-11-11 2020-11-11 Image correcting device, pattern inspecting device and image correcting method

Publications (1)

Publication Number Publication Date
JP2022077420A true JP2022077420A (en) 2022-05-23

Family

ID=81601142

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020188280A Pending JP2022077420A (en) 2020-11-11 2020-11-11 Image correcting device, pattern inspecting device and image correcting method

Country Status (3)

Country Link
JP (1) JP2022077420A (en)
TW (1) TW202219499A (en)
WO (1) WO2022102266A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000069280A (en) * 1998-08-24 2000-03-03 Canon Inc Image signal generating device, its method, pixel interpolation device, its method and storage medium
JP2001043356A (en) * 1999-07-27 2001-02-16 Konica Corp Data interpolating method and image formation system
JP2008300974A (en) * 2007-05-29 2008-12-11 Konica Minolta Business Technologies Inc Data interpolating method, image enlarging/reducing method, and image forming apparatus
JP4862747B2 (en) * 2007-05-29 2012-01-25 コニカミノルタビジネステクノロジーズ株式会社 Data interpolation method and image scaling method Image processing apparatus
JP6981811B2 (en) * 2017-08-25 2021-12-17 株式会社ニューフレアテクノロジー Pattern inspection device and pattern inspection method

Also Published As

Publication number Publication date
WO2022102266A1 (en) 2022-05-19
TW202219499A (en) 2022-05-16

Similar Documents

Publication Publication Date Title
JP6546509B2 (en) Pattern inspection method and pattern inspection apparatus
JP6981811B2 (en) Pattern inspection device and pattern inspection method
JP7352447B2 (en) Pattern inspection device and pattern inspection method
TWI717761B (en) Multiple electron beam irradiation apparatus, multiple electron beam irradiation method, and multiple electron beam inspection apparatus
JP7241570B2 (en) MULTI ELECTRON BEAM INSPECTION DEVICE AND MULTI ELECTRON BEAM INSPECTION METHOD
JP2019200052A (en) Pattern inspection device and pattern inspection method
JP2019020292A (en) Pattern inspection device and pattern inspection method
TW202015090A (en) Multi-electron beam image acquisition apparatus, and multi-electron beam image acquisition method
US20200168430A1 (en) Electron beam image acquisition apparatus and electron beam image acquisition method
JP2017162590A (en) Pattern inspection device and pattern inspection method
JP2022016779A (en) Pattern inspection device and method for obtaining contour position of pattern
JP6966319B2 (en) Multi-beam image acquisition device and multi-beam image acquisition method
WO2021235076A1 (en) Pattern inspection device and pattern inspection method
WO2022024499A1 (en) Pattern inspection device and method of acquiring alignment quantity between contour lines
TWI773329B (en) Pattern inspection device and pattern inspection method
WO2022102266A1 (en) Image correction device, pattern inspection device and image correction method
US10984978B2 (en) Multiple electron beam inspection apparatus and multiple electron beam inspection method
JP7326480B2 (en) PATTERN INSPECTION APPARATUS AND PATTERN INSPECTION METHOD
JP2021044461A (en) Method of detecting alignment mark position and device for detecting alignment mark position
JP2020085837A (en) Electron beam image-capturing apparatus and electron beam image-capturing method
WO2021205729A1 (en) Multi-electron beam inspection device and multi-electron beam inspection method
WO2021205728A1 (en) Multielectron beam inspection device and multielectron beam inspection method
JP2022077421A (en) Electron beam inspection device and electron beam inspection method