JP2001091228A - Pattern inspection device - Google Patents

Pattern inspection device

Info

Publication number
JP2001091228A
JP2001091228A JP26542499A JP26542499A JP2001091228A JP 2001091228 A JP2001091228 A JP 2001091228A JP 26542499 A JP26542499 A JP 26542499A JP 26542499 A JP26542499 A JP 26542499A JP 2001091228 A JP2001091228 A JP 2001091228A
Authority
JP
Japan
Prior art keywords
pattern
image
unit
cycle
ideal
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.)
Granted
Application number
JP26542499A
Other languages
Japanese (ja)
Other versions
JP4175748B2 (en
Inventor
Yuichiro Hikita
雄一郎 疋田
Hiroyuki Onishi
浩之 大西
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.)
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Dainippon Screen Manufacturing Co Ltd
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 Dainippon Screen Manufacturing Co Ltd filed Critical Dainippon Screen Manufacturing Co Ltd
Priority to JP26542499A priority Critical patent/JP4175748B2/en
Publication of JP2001091228A publication Critical patent/JP2001091228A/en
Application granted granted Critical
Publication of JP4175748B2 publication Critical patent/JP4175748B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a pattern inspection device, capable of conducting stable detecting operation by reducing influence of noise in detecting defects in a repeated pattern, without previously giving an ideal pattern. SOLUTION: According to plural (three) unit patterns (e.g., PA, PB, PC) contained in an inspection image S formed by a repeated pattern, a reference image PI is automatically generated as an ideal pattern. A defect is determined according to the result of comparison between the generated ideal pattern and the unit patterns contained in the inspection image S. Since the automatically generated ideal pattern is generated by using plural unit patterns, influence of noise is reduced.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、繰り返しパターン
を有するカラーフィルター、シャドウマスク、プリント
配線板、半導体ウエハなどにおけるパターン欠陥検査に
適用可能なパターン検査装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pattern inspection apparatus applicable to inspection of pattern defects in a color filter having a repetitive pattern, a shadow mask, a printed wiring board, a semiconductor wafer, and the like.

【0002】[0002]

【従来の技術】繰り返しパターンを有する検査対象物
(たとえば、カラーフィルター、シャドウマスク、プリ
ント配線板、半導体ウエハなど)において、その繰り返
しパターンに存在する欠陥を検出するため、あらかじめ
理想パターンを与えることなく、被検査画像に含まれる
複数の単位パターンを用いて、欠陥の自動検出を行う技
術が存在する。たとえば、図22に示すように、繰り返
しパターン内の単位パターンであるパターンPAとパタ
ーンPBとを比較し、相違する部分を欠陥として検出す
る技術が存在する。さらに、このような比較のみでは、
欠陥がパターンPAとパターンPBとのいずれに存在す
るかが不明であるため、これを解決する技術として、た
とえば、特公平6−56293号公報に記載の技術が存
在する。これは、3つの単位パターンPA,PB,PC
に関して、パターンPAとパターンPBとの比較を行い
(比較結果AB)、パターンPCとパターンPBとの比
較との比較とを行い(比較結果CB)、そして両比較結
果AB,CBをさらに比較することにより、パターンP
Bに存在する欠陥のみを特定するものである。なお、こ
れらの比較動作は、図23に示すように、両パターンの
各画素の階調値の差分の絶対値を閾値で区切ることによ
り2値化する(正常または欠陥として検出する)処理に
より行われる。
2. Description of the Related Art In an inspection object having a repetitive pattern (for example, a color filter, a shadow mask, a printed wiring board, a semiconductor wafer, etc.), a defect existing in the repetitive pattern is detected without providing an ideal pattern in advance. There is a technique for automatically detecting a defect using a plurality of unit patterns included in an image to be inspected. For example, as shown in FIG. 22, there is a technique for comparing a pattern PA and a pattern PB, which are unit patterns in a repeated pattern, and detecting a different portion as a defect. In addition, such a comparison alone
Since it is unknown whether the defect exists in the pattern PA or the pattern PB, there is, for example, a technique described in Japanese Patent Publication No. 6-56293 as a technique for solving this. This consists of three unit patterns PA, PB, PC
, The pattern PA and the pattern PB are compared (comparison result AB), the pattern PC and the pattern PB are compared with the comparison (comparison result CB), and the comparison results AB and CB are further compared. By the pattern P
Only the defect existing in B is specified. As shown in FIG. 23, these comparison operations are performed by binarizing (detecting as normal or defective) by dividing the absolute value of the difference between the gradation values of each pixel of both patterns by a threshold value. Will be

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記の
技術においては、2つの単位パターンを比較する際に、
画像入力部により得られる被検査画像を用いているが、
この被検査画像にはノイズが含まれていることが多く、
2つの単位パターンの(差分絶対値の2値化による)比
較結果はノイズの影響を受けやすい。すなわち、ノイズ
を多く含む被検査画像について、上記の技術を適用した
場合、本来欠陥である部分を見逃すことによる欠陥検出
率の低下、あるいは逆に、本来正常な部分を欠陥として
誤検出することによる過剰検出率の増加を引き起こすこ
ととなり、検出結果が不安定になるという問題がある。
However, in the above technique, when comparing two unit patterns,
Although the inspection image obtained by the image input unit is used,
This inspection image often contains noise,
The comparison result of the two unit patterns (by binarizing the absolute difference value) is susceptible to noise. In other words, when the above technique is applied to an image to be inspected that contains a lot of noise, the defect detection rate is reduced by overlooking a part that is originally a defect, or conversely, an erroneously detected part that is originally normal is defective. There is a problem in that an excessive detection rate is increased and the detection result becomes unstable.

【0004】そこで、本発明は前記問題点に鑑み、あら
かじめ理想パターンを与えることなく、繰り返しパター
ンに存在する欠陥を検出するにあたって、ノイズの影響
を低減させて安定した検出動作を行うことが可能なパタ
ーン検査装置を提供することを目的とする。
In view of the above problem, the present invention can perform a stable detection operation by reducing the influence of noise when detecting a defect existing in a repetitive pattern without giving an ideal pattern in advance. It is an object to provide a pattern inspection device.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するた
め、請求項1に記載のパターン検査装置は、繰り返しパ
ターンの欠陥検査を行うパターン検査装置であって、被
検査画像を入力する被検査画像入力手段と、被検査画像
に含まれる複数の単位パターンに基づいて理想パターン
を生成する理想パターン生成手段と、前記生成された理
想パターンと前記被検査画像に含まれる単位パターンと
を比較した比較結果を用いて、前記被検査画像中の単位
パターンの欠陥を判定する比較判定手段と、を備えるこ
とを特徴とする。
According to a first aspect of the present invention, there is provided a pattern inspection apparatus for performing a defect inspection of a repetitive pattern. An input unit, an ideal pattern generating unit that generates an ideal pattern based on a plurality of unit patterns included in the inspection image, and a comparison result of comparing the generated ideal pattern with a unit pattern included in the inspection image. And comparing and judging means for judging a defect of the unit pattern in the image to be inspected.

【0006】請求項2に記載のパターン検査装置は、請
求項1に記載のパターン検査装置において、前記被検査
画像中の単位パターンが順次に被検査単位パターンとし
て選択され、前記理想パターンは、前記被検査単位パタ
ーンと、前記被検査単位パターン以外の単位パターンと
に基づいて生成されることを特徴とする。
According to a second aspect of the present invention, in the pattern inspection apparatus according to the first aspect, unit patterns in the inspection image are sequentially selected as inspection unit patterns, and the ideal pattern is It is generated based on a unit pattern to be inspected and a unit pattern other than the unit pattern to be inspected.

【0007】請求項3に記載のパターン検査装置は、請
求項1に記載のパターン検査装置において、前記被検査
画像中の単位パターンが順次に被検査単位パターンとし
て選択され、前記理想パターンは、前記被検査単位パタ
ーン以外の複数の単位パターンに基づいて生成されるこ
とを特徴とする。
According to a third aspect of the present invention, in the pattern inspection apparatus of the first aspect, unit patterns in the image to be inspected are sequentially selected as unit patterns to be inspected, and the ideal pattern is It is generated based on a plurality of unit patterns other than the unit pattern to be inspected.

【0008】請求項4に記載のパターン検査装置は、請
求項1または請求項2に記載のパターン検査装置におい
て、前記理想パターンの生成に使用される前記被検査単
位パターン以外の単位パターンは、前記被検査単位パタ
ーンに対して所定の相対的位置関係にある単位パターン
であることを特徴とする。
According to a fourth aspect of the present invention, in the pattern inspection apparatus according to the first or second aspect, the unit pattern other than the unit pattern to be inspected used for generating the ideal pattern is the same as the pattern inspection apparatus. It is a unit pattern having a predetermined relative positional relationship to the unit pattern to be inspected.

【0009】請求項5に記載のパターン検査装置は、請
求項4に記載のパターン検査装置において、前記理想パ
ターンの生成に使用される前記被検査単位パターン以外
の単位パターンは、前記被検査単位パターンに対して隣
接する単位パターンであることを特徴とする。
According to a fifth aspect of the present invention, in the pattern inspection apparatus according to the fourth aspect, the unit pattern other than the unit pattern to be used for generating the ideal pattern is the unit pattern to be inspected. Is a unit pattern adjacent to.

【0010】請求項6に記載のパターン検査装置は、請
求項4または請求項5に記載のパターン検査装置におい
て、前記被検査単位パターンに対して前記相対的位置関
係にある場所に単位パターンが存在しない場合には、前
記被検査画像中に実在する他の単位パターンを代用して
前記理想パターンを生成することを特徴とする。
A pattern inspection apparatus according to a sixth aspect of the present invention is the pattern inspection apparatus according to the fourth or fifth aspect, wherein a unit pattern exists at a position in the relative positional relationship with respect to the unit pattern to be inspected. If not, the ideal pattern is generated by substituting another unit pattern actually existing in the inspection image.

【0011】請求項7に記載のパターン検査装置は、請
求項6に記載のパターン検査装置において、前記理想パ
ターン生成手段が、前記被検査画像の一方側の端部付近
の単位パターンが前記被検査単位パターンとなる際に
は、前記相対的位置関係を変更することにより、前記被
検査単位パターンに関して前記被検査画像の他方側に隣
接する単位パターンを利用して前記理想パターンを生成
する手段、を備えることを特徴とする。
According to a seventh aspect of the present invention, in the pattern inspection apparatus according to the sixth aspect, the ideal pattern generating means determines that the unit pattern near one end of the inspection image is the inspection target. Means for generating the ideal pattern using a unit pattern adjacent to the other side of the image to be inspected with respect to the unit pattern to be inspected by changing the relative positional relationship when the unit pattern is used. It is characterized by having.

【0012】請求項8に記載のパターン検査装置は、請
求項1ないし請求項7のいずれかに記載のパターン検査
装置において、前記比較判定手段が、前記被検査画像と
前記理想パターンとの差分を単位パターンごとに求め
て、一連の信号列を得る手段と、前記一連の信号列に現
れる変動部分のうち、所定の閾値以上の絶対値を有する
変動部分を抽出し、それによって欠陥を有する単位パタ
ーンの位置を特定する位置特定手段と、を備えることを
特徴とする。
According to an eighth aspect of the present invention, in the pattern inspection apparatus according to any one of the first to seventh aspects, the comparing and judging means determines a difference between the image to be inspected and the ideal pattern. Means for obtaining a series of signal trains obtained for each unit pattern, and extracting, from among the fluctuating sections appearing in the series of signal trains, a fluctuating section having an absolute value equal to or greater than a predetermined threshold, thereby obtaining a unit pattern having a defect. And a position specifying means for specifying the position of (1).

【0013】請求項9に記載のパターン検査装置は、請
求項1ないし請求項7のいずれかに記載のパターン検査
装置において、前記理想パターン生成手段は、前記被検
査画像の画像信号を単位パターン順次に入力する手段
と、前記被検査画像の画像信号を単位パターンの繰返し
周期の整数倍の遅延時間だけ遅延させることによって、
互いに異なる遅延時間を持った複数の遅延被検査画像信
号を得る手段と、前記被検査画像の画像信号と前記複数
の遅延被検査画像信号とからなる集合のうち、2以上の
信号を合成して前記理想パターンの信号を得る手段と、
を備えることを特徴とする。
According to a ninth aspect of the present invention, in the pattern inspection apparatus according to any one of the first to seventh aspects, the ideal pattern generating means sequentially converts an image signal of the image to be inspected into a unit pattern. And by delaying the image signal of the image to be inspected by a delay time that is an integral multiple of the repetition period of the unit pattern,
Means for obtaining a plurality of delayed inspected image signals having different delay times from each other, and combining two or more signals from a set consisting of the image signal of the inspected image and the plurality of delayed inspected image signals. Means for obtaining a signal of the ideal pattern;
It is characterized by having.

【0014】請求項10に記載のパターン検査装置は、
請求項1に記載のパターン検査装置において、前記理想
パターン生成手段は、前記被検査画像に含まれる単位パ
ターンの異なる組合せに基づいて複数の理想パターンを
生成可能であり、前記比較判定手段は、前記複数の理想
パターンのうち少なくとも2つと、前記被検査画像に含
まれる被検査単位パターンとを比較して前記被検査単位
パターンの欠陥を判定する、ことを特徴とする。
According to a tenth aspect of the present invention, there is provided a pattern inspection apparatus comprising:
2. The pattern inspection apparatus according to claim 1, wherein the ideal pattern generation unit is capable of generating a plurality of ideal patterns based on different combinations of unit patterns included in the image to be inspected, and A defect of the unit pattern to be inspected is determined by comparing at least two of the plurality of ideal patterns with a unit pattern to be inspected included in the image to be inspected.

【0015】[0015]

【発明の実施の形態】<第1実施形態>図1は、本発明
の第1実施形態に係るパターン検査装置1(1A)の構
成を表す概略図である。パターン検査装置1Aは、検査
対象となる対象物2を載置するXYテーブル3と、XY
テーブル3をX方向およびY方向にそれぞれ駆動するモ
ータ4a,4bなどを含む駆動部4と、CCDラインセ
ンサ5とを備える。ここでは、対象物2として半導体ウ
エハWを検査する場合を想定し、図2にその詳細を表す
平面図を示す。図2に示すように、半導体ウエハWは、
複数の単位パターンである「ダイ(die)」2aがX方
向およびY方向にそれぞれ繰り返しマトリクス状に配列
されている構造を有する。また、パターン検査装置1A
は、CCDラインセンサ5を介して得られる被検査画像
の入力処理を行う画像入力処理部10を備えており、画
像入力処理部10はCCDラインセンサ5と協働して被
検査画像を入力する被検査画像入力手段として機能す
る。
<First Embodiment> FIG. 1 is a schematic diagram showing a configuration of a pattern inspection apparatus 1 (1A) according to a first embodiment of the present invention. The pattern inspection apparatus 1A includes: an XY table 3 on which an object 2 to be inspected is placed;
A drive unit 4 including motors 4a and 4b for driving the table 3 in the X and Y directions, respectively, and a CCD line sensor 5 are provided. Here, it is assumed that a semiconductor wafer W is inspected as the object 2, and FIG. 2 is a plan view showing details thereof. As shown in FIG. 2, the semiconductor wafer W
It has a structure in which “die” 2a, which is a plurality of unit patterns, is repeatedly arranged in a matrix in the X direction and the Y direction. Also, the pattern inspection apparatus 1A
Includes an image input processing unit 10 for performing input processing of an image to be inspected obtained through the CCD line sensor 5, and the image input processing unit 10 inputs the image to be inspected in cooperation with the CCD line sensor 5. It functions as a test image input means.

【0016】ここで、CCDラインセンサ5は、XYテ
ーブル3のY方向(−)の移動に伴い対象物2に対して
相対的にY方向(+)に移動し、対象物2上をY方向
(+)に一定速度で走査を行う。このようなY方向の走
査によって、被検査画像Sが得られる。そして、得られ
た被検査画像Sについて後述のパターン検査動作が行わ
れる。また、その後、CCDラインセンサ5は、対象物
2に対してX方向(+)に所定幅(たとえば幅xa)だ
け相対的に移動した後、相対的にY方向(−)に移動し
走査することによっても、同様の被検査画像Sを得るこ
とができる。さらに、X方向(+)の移動動作と、Y方
向(+,−)への走査動作とを順次に繰り返すことによ
り、同様の被検査画像Sを得て、パターン検査動作を繰
り返して行うことができる。
Here, the CCD line sensor 5 moves in the Y direction (+) relative to the object 2 with the movement of the XY table 3 in the Y direction (-), and moves on the object 2 in the Y direction. Scanning is performed at a constant speed at (+). The inspection image S is obtained by such scanning in the Y direction. Then, a pattern inspection operation described later is performed on the obtained inspection image S. Thereafter, the CCD line sensor 5 relatively moves in the X direction (+) with respect to the target object 2 by a predetermined width (for example, the width xa), and then relatively moves in the Y direction (-) to scan. By doing so, a similar inspection image S can be obtained. Further, by sequentially repeating the moving operation in the X direction (+) and the scanning operation in the Y direction (+,-), a similar inspection image S is obtained, and the pattern inspection operation can be repeatedly performed. it can.

【0017】このようなY方向の走査により得られる被
検査画像SのX方向の大きさは、CCDラインセンサ5
の有効幅xa(図1)の大きさなどに依存し、たとえ
ば、有効幅xaと単位パターンの幅xb(図2)とが同
一である場合には、1回のY方向の走査動作で各ダイ2
aの全体をX方向に含む被検査画像Sを得ることができ
る。また、幅xaが単位パターンの幅xbより大きい場
合、たとえば、幅xaが幅xbのn倍(n>1)である
場合には、1回のY方向の走査動作でn個のダイ2aを
X方向に含む被検査画像Sを得ることができる。また逆
に、有効幅xaが単位パターンの幅xbより小さい場合
には、1回のY方向の走査動作で得られる被検査画像S
は、X方向に各ダイ2aの一部のみを含むものとなる。
The size of the inspection image S obtained by such scanning in the Y direction in the X direction is determined by the CCD line sensor 5.
For example, when the effective width xa and the unit pattern width xb (FIG. 2) are the same, each scanning operation in the Y-direction depends on the effective width xa (FIG. 1). Die 2
It is possible to obtain the inspection image S including the whole of a in the X direction. When the width xa is larger than the width xb of the unit pattern, for example, when the width xa is n times the width xb (n> 1), n dies 2a are scanned by one scanning operation in the Y direction. An image S to be inspected in the X direction can be obtained. Conversely, when the effective width xa is smaller than the width xb of the unit pattern, the inspection image S obtained by one scanning operation in the Y direction
Includes only a part of each die 2a in the X direction.

【0018】上記のように、被検査画像Sに関して、そ
のX方向の幅は有効幅xaの大きさに依存して相違する
ものの、走査方向であるY方向には常に単位パターンで
あるダイ2aが所定の周期で繰り返し出現する画像とな
っている。この場合の周期は、Y方向のダイ2aの大き
さyb(図2参照)を1ユニット(単位)とする空間的
周期でもあり、また、CCDラインセンサ5が一定速度
で走査するときには、CCDラインセンサ5が距離yb
を所定の速度vで進むのに要する時間(yb/v)を1
ユニット(単位)とする時間的周期であるとして考える
こともできる。このように、被検査画像Sは、走査方向
であるY方向に単位パターンの周期的な繰り返しを含む
画像として得られる。
As described above, although the width of the inspection image S in the X direction differs depending on the size of the effective width xa, the die 2a, which is a unit pattern, is always present in the Y direction, which is the scanning direction. The image repeatedly appears at a predetermined cycle. The cycle in this case is also a spatial cycle in which the size yb (see FIG. 2) of the die 2a in the Y direction is one unit (unit), and when the CCD line sensor 5 scans at a constant speed, the CCD line Sensor 5 is at distance yb
At a predetermined speed v (yb / v) is 1
It can also be considered as a time period of a unit. As described above, the inspection image S is obtained as an image including the periodic repetition of the unit pattern in the Y direction which is the scanning direction.

【0019】また、パターン検査装置1Aは、被検査画
像Sに含まれる複数の単位パターンに基づいて理想パタ
ーンを生成する理想パターン生成部30A(30)と、
生成された理想パターンと被検査画像に含まれる各単位
パターンとを比較することにより欠陥を判定する比較判
定部50A(50)とを備える。
The pattern inspection apparatus 1A includes an ideal pattern generation unit 30A (30) that generates an ideal pattern based on a plurality of unit patterns included in the inspection image S;
A comparison / determination unit 50A (50) for determining a defect by comparing the generated ideal pattern with each unit pattern included in the inspection image is provided.

【0020】図3は理想パターン生成部30Aおよび比
較判定部50Aの具体的構成を示す機能ブロック図であ
り、図4は具体的なパターン検査の各動作において得ら
れる各画像信号の概要を示す説明図である。図4は、単
位パターンPBに欠陥DTが存在する場合を示してお
り、欠陥DTは、周囲の画素に対して相対的に大きな階
調値を有するものとして原画像S(すなわち被検査画像
S)において検出されている。なお、図4では、簡単化
のため、各画像信号は1次元的な画像信号であるとして
表している。これは、X方向に複数の撮像素子が配列さ
れて構成されるCCDラインセンサ5の1つの撮像素子
が、対象物2上を(たとえば点Eから点Fへと)走査す
ることにより得られる画像信号に相当する。以下では、
これらの図を参照しながら、パターン検査装置1のさら
に具体的な構成およびパターン検査動作について説明す
る。
FIG. 3 is a functional block diagram showing a specific configuration of the ideal pattern generation unit 30A and the comparison and determination unit 50A. FIG. 4 is a diagram showing an outline of each image signal obtained in each operation of a specific pattern inspection. FIG. FIG. 4 shows a case where a defect DT exists in the unit pattern PB. The defect DT has an original image S (that is, the inspection image S) assuming that the defect DT has a relatively large gradation value with respect to surrounding pixels. Has been detected. In FIG. 4, for simplicity, each image signal is represented as a one-dimensional image signal. This is because an image obtained by a single image sensor of the CCD line sensor 5 configured by arranging a plurality of image sensors in the X direction scans the object 2 (for example, from point E to point F). Signal. Below,
A more specific configuration and pattern inspection operation of the pattern inspection apparatus 1 will be described with reference to these drawings.

【0021】この第1実施形態においては、得られる被
検査画像Sの3つの単位パターンに関する平均(加算平
均)を求めて理想パターンとしての参照画像PIを生成
する場合について説明する。この参照画像PIを生成す
るため、理想パターン生成部(または参照画像生成部)
30Aは、図3に示すように、1周期遅延回路31A,
32A、加算回路36A、および除算回路38Aを有し
ている。1周期遅延回路31Aは、原画像Sを1周期遅
延させた画像SD1を生成し、1周期遅延回路32A
は、画像SD1をさらに1周期遅延させた画像SD2を
生成する。したがって、図4にも示すように、画像SD
1は原画像Sに対して1周期遅延しており、画像SD2
は原画像Sに対して2周期遅延している。このため、画
像SD1を1周期遅延画像SD1、画像SD2を2周期
遅延画像SD2とも称する。
In the first embodiment, a case will be described in which an average (addition average) of three unit patterns of the obtained image to be inspected S is obtained to generate a reference image PI as an ideal pattern. In order to generate the reference image PI, an ideal pattern generation unit (or a reference image generation unit)
30A is a one-cycle delay circuit 31A, as shown in FIG.
32A, an addition circuit 36A, and a division circuit 38A. The one-cycle delay circuit 31A generates an image SD1 obtained by delaying the original image S by one cycle, and generates a one-cycle delay circuit 32A.
Generates an image SD2 obtained by further delaying the image SD1 by one cycle. Therefore, as shown in FIG.
1 is one cycle delayed from the original image S, and the image SD2
Is delayed by two periods with respect to the original image S. Therefore, the image SD1 is also called a one-cycle delayed image SD1, and the image SD2 is also called a two-cycle delayed image SD2.

【0022】そして、加算回路36Aはこれらの3つの
画像S,SD1,SD2を加算し、除算回路38Aは加
算回路36Aの加算結果を3で除する(割る)。これに
より、参照画像PIを得ることができる。すなわち参照
画像PIは、各瞬間に得られる原画像S,1周期遅延画
像SD1,2周期遅延画像SD2について、各画像の対
応する画素の階調値に関して平均値を求めることにより
得られる。ここでは、これをPI=(S+SD1+SD
2)/3として表現することにする。なお、加算回路3
6Aおよび除算回路38Aは、被検査画像Sと1周期遅
延画像SD1と2周期遅延画像SD2とを合成する合成
手段として機能する。
The adding circuit 36A adds these three images S, SD1 and SD2, and the dividing circuit 38A divides (divides) the addition result of the adding circuit 36A by three. Thereby, the reference image PI can be obtained. That is, the reference image PI is obtained by calculating the average value of the tone values of the corresponding pixels of the original image S, the one-cycle delayed image SD1, and the one-cycle delayed image SD2 obtained at each moment. Here, PI = (S + SD1 + SD
2) / 3. The addition circuit 3
The division circuit 6A and the division circuit 38A function as synthesizing means for synthesizing the image S to be inspected, the one-cycle delayed image SD1, and the two-cycle delayed image SD2.

【0023】この参照画像PIは、単位パターンが繰り
返し現れる画像となっており、それぞれの単位パターン
が「理想パターン」である。被検査画像Sにノイズが含
まれている場合であっても、複数(ここでは3つ)の単
位パターンについての平均を求めることにより、被検査
画像Sに含まれるノイズ成分の影響を(この場合は1/
3に)軽減して、より理想的な画像信号を有するパター
ンを生成することができる。このように、ノイズの影響
を低減させた理想パターンを用いて、次述の比較動作
(ひいては欠陥検出動作)が行われるので、検出結果に
対するノイズの影響を低減させて、安定した欠陥検出が
可能になる。なお、この「理想パターン」は、あらかじ
めパターン検査に先立って与えられるものではなく、被
検査画像Sから自動的に生成されるものである。
The reference image PI is an image in which unit patterns repeatedly appear, and each unit pattern is an “ideal pattern”. Even when the image S to be inspected includes noise, the influence of the noise component included in the image S to be inspected is obtained by calculating the average of a plurality (here, three) of unit patterns (in this case, Is 1 /
3) It is possible to reduce and generate a pattern having a more ideal image signal. As described above, the following comparison operation (and, consequently, the defect detection operation) is performed using the ideal pattern in which the influence of noise is reduced, so that the influence of noise on the detection result is reduced, and stable defect detection is possible. become. Note that the “ideal pattern” is not given in advance prior to the pattern inspection, but is generated automatically from the inspection image S.

【0024】そして、理想パターンを繰り返し含む画像
である参照画像PIを用いて、比較判定部50Aによる
欠陥に関する比較判定動作が行われる。比較判定部50
Aは比較回路52Aを有しており、この比較回路52A
は、参照画像PIと1周期遅延画像SD1との比較動作
を行うことにより、被検査画像Sの欠陥検査を行う。具
体的には、まず、1周期遅延画像SD1と参照画像PI
との差分画像を求め、その差分画像の各階調値の絶対値
をとる。そして、閾値THにより2値化を行い、閾値T
H以上の値を有する部分を欠陥として検出することによ
り、欠陥に関する比較判定動作を行う。
Then, using the reference image PI, which is an image repeatedly including the ideal pattern, a comparison / determination operation regarding a defect by the comparison / determination unit 50A is performed. Comparison judgment unit 50
A has a comparison circuit 52A.
Performs a defect inspection of the inspection target image S by performing a comparison operation between the reference image PI and the one-cycle delayed image SD1. Specifically, first, the one-cycle delayed image SD1 and the reference image PI
Is obtained, and the absolute value of each gradation value of the difference image is obtained. Then, binarization is performed using the threshold value TH, and the threshold value T
By detecting a portion having a value equal to or greater than H as a defect, a comparative determination operation regarding the defect is performed.

【0025】ここにおいて、この理想パターンは、空間
的に隣接する3つの単位パターンについて、対応する画
素の階調値の平均を求めたパターンに相当する。たとえ
ば、図4に示すように、単位パターンPAの撮像時点か
ら2周期遅延した時点においては、原画像S中の単位パ
ターンPCと、1周期遅延画像SD1中の単位パターン
PBと、2周期遅延画像SD2中の単位パターンPAと
に関する画像信号が同時に得られることになり、参照画
像PIはこれらの平均、すなわち(PC+PB+PA)
/3として得られる。そして、この理想パターン(参照
画像PI)と、同一時点において得られている1周期遅
延画像SD1中の単位パターンPBとを比較することに
より、上記の比較判定動作が行われ、この場合には、単
位パターンPBに存在する欠陥DTが、閾値処理により
欠陥として検出されている。
Here, this ideal pattern corresponds to a pattern obtained by averaging the gradation values of the corresponding pixels for three spatially adjacent unit patterns. For example, as shown in FIG. 4, at a time point two cycles after the imaging time of the unit pattern PA, the unit pattern PC in the original image S, the unit pattern PB in the one-cycle delayed image SD1, and the two-cycle delayed image Image signals relating to the unit pattern PA in SD2 are obtained at the same time, and the reference image PI is the average of these, that is, (PC + PB + PA)
/ 3. Then, by comparing the ideal pattern (reference image PI) with the unit pattern PB in the one-cycle delayed image SD1 obtained at the same time, the above-described comparison determination operation is performed. In this case, The defect DT existing in the unit pattern PB has been detected as a defect by threshold processing.

【0026】すなわち、被検査画像S内の所定の単位パ
ターン(たとえばPB)を被検査対象とする場合におい
て、その単位パターン(PB)の近傍位置に存在する所
定の単位パターン(ここでは空間的に隣接する3つの単
位パターンPA,PB,PC)を用いて理想パターンを
生成し、その理想パターンと被検査対象である単位パタ
ーン(PB)とを比較することにより所定の単位パター
ン(PB)の欠陥検出が行われていることに相当する。
That is, when a predetermined unit pattern (for example, PB) in the inspection image S is to be inspected, a predetermined unit pattern (here, spatially) located near the unit pattern (PB) is used. An ideal pattern is generated by using three adjacent unit patterns PA, PB, and PC), and the ideal pattern is compared with the unit pattern (PB) to be inspected, thereby obtaining a defect of a predetermined unit pattern (PB). This corresponds to detection being performed.

【0027】このように、各理想パターンは、被検査対
象とする単位パターン(以下、「被検査単位パターン」
とも称する)の近傍位置(ここでは隣接位置)に存在す
る所定の単位パターンを用いて生成されているので、被
検査画像内の単位パターンが走査方向に徐々に変化する
場合であっても、より理想的な理想パターンを生成する
ことができる。たとえば、各単位パターン自体の大きさ
や各単位パターン内の所定の部分の大きさなどが走査方
向に徐々に変化する(大きくなるまたは小さくなる)場
合であっても、その変化の影響を最小限に抑制して、理
想的なパターンを生成することが可能である。
As described above, each ideal pattern is a unit pattern to be inspected (hereinafter, "unit pattern to be inspected").
) Is generated using a predetermined unit pattern existing in the vicinity (here, adjacent position) of the inspection image. Therefore, even when the unit pattern in the inspection image gradually changes in the scanning direction, An ideal ideal pattern can be generated. For example, even when the size of each unit pattern itself or the size of a predetermined portion in each unit pattern gradually changes (increases or decreases) in the scanning direction, the influence of the change is minimized. It is possible to generate an ideal pattern by suppressing such a pattern.

【0028】また、参照画像PIは、各瞬間に得られ
る、少なくとも1つの遅延画像と被検査画像とのうち少
なくとも2つの画像(この場合は、原画像S,1周期遅
延画像SD1,2周期遅延画像SD2の3つの画像)を
合成してリアルタイムに生成される。そして、上記の比
較判定動作は、各瞬間における1周期遅延画像SD1と
参照画像PIとに対して随時行われ、上記の単位パター
ンPBの欠陥検出動作の次には単位パターンPC,PD
に関する欠陥検出動作が順次に行われる。したがって、
被検査画像Sに対して1周期ずつ遅れはするものの、被
検査画像S内に含まれる各単位パターンに対する欠陥検
出結果がリアルタイムで順次に生成される。すなわち、
参照画像PIを所定の各瞬間において理想パターンとし
て用いることにより、パターン検査をリアルタイムに行
うことができる。
The reference image PI includes at least two images (in this case, the original image S, the one-cycle delayed image SD1, and the two-cycle delayed image) of at least one delayed image and the image to be inspected obtained at each instant. (The three images SD2) are generated in real time. The above-described comparison and determination operation is performed on the one-period delay image SD1 and the reference image PI at each moment as needed. After the above-described defect detection operation on the unit pattern PB, the unit patterns PC and PD are used.
Are sequentially performed. Therefore,
Despite being delayed by one cycle from the inspection image S, defect detection results for each unit pattern included in the inspection image S are sequentially generated in real time. That is,
By using the reference image PI as an ideal pattern at each predetermined moment, the pattern inspection can be performed in real time.

【0029】なお、上記においては、3つのパターンに
ついて加算平均を算出することにより理想パターンを生
成しているが、4つ以上のパターンについて加算平均を
算出することにより理想パターンを生成してもよい。多
くのパターンを用いて加算平均を算出して理想パターン
を生成することにより、さらにノイズの影響を軽減させ
ることができる。
In the above description, the ideal pattern is generated by calculating the average of three patterns. However, the ideal pattern may be generated by calculating the average of four or more patterns. . By calculating an average using many patterns to generate an ideal pattern, it is possible to further reduce the influence of noise.

【0030】<第2実施形態>上記第1実施形態におい
ては、被検査対象となる単位パターンを含む隣接する3
つの単位パターンを用いて理想パターンとしての参照画
像PIを生成していたが、本発明はこれに限定されな
い。たとえば、被検査対象となるパターンの両側の単位
パターンを用いて理想パターンとしての参照画像PIを
生成してもよい。この第2実施形態においては、このよ
うな場合について説明する。
<Second Embodiment> In the first embodiment, three adjacent patterns including a unit pattern to be inspected are included.
Although the reference image PI as an ideal pattern is generated using one unit pattern, the present invention is not limited to this. For example, the reference image PI as an ideal pattern may be generated using unit patterns on both sides of the pattern to be inspected. In the second embodiment, such a case will be described.

【0031】第2実施形態のパターン検査装置1Bは、
理想パターン生成部30B以外については、第1実施形
態のパターン検査装置1Aと同様の構成を有しており、
ここでは、相違点を中心に説明する。
The pattern inspection apparatus 1B according to the second embodiment comprises:
Except for the ideal pattern generation unit 30B, it has the same configuration as the pattern inspection apparatus 1A of the first embodiment,
Here, differences will be mainly described.

【0032】図5は理想パターン生成部30Bおよび比
較判定部50Bの具体的構成を示す機能ブロック図であ
り、図6は具体的なパターン検査の各動作において得ら
れる画像信号の概要を示す説明図である。
FIG. 5 is a functional block diagram showing a specific configuration of the ideal pattern generation section 30B and the comparison / determination section 50B. FIG. 6 is an explanatory diagram showing an outline of an image signal obtained in each specific pattern inspection operation. It is.

【0033】理想パターン生成部30Bは、図5に示す
ように、1周期遅延回路31B,32B、加算回路36
B、および除算回路38Bを有している。1周期遅延回
路31Bは1周期遅延画像SD1を生成し、1周期遅延
回路32Bは2周期遅延画像SD2を生成する。そし
て、加算回路36Bは、被検査画像Sと2周期遅延画像
SD2とを加算し、除算回路38Bは加算回路36Bの
加算結果を2で除する(割る)ことにより、参照画像P
Iを得る。すなわち参照画像PIは、各瞬間に得られる
原画像S,2周期遅延画像SD2について、各画像の対
応する画素の階調値に関して平均値を求めることにより
得られる。ここでは、これをPI=(S+SD2)/2
として表現することにする。なお、加算回路36Bおよ
び除算回路38Bは、被検査画像Sと2周期遅延画像S
D2とを合成する合成手段として機能する。これによ
り、参照画像PIは、各瞬間に得られる、少なくとも1
つの遅延画像と被検査画像とのうち少なくとも2つの画
像(この場合は、被検査画像S,2周期遅延画像SD2
の2つの画像)を合成してリアルタイムに生成されるこ
とになる。
As shown in FIG. 5, the ideal pattern generator 30B includes one-cycle delay circuits 31B and 32B,
B and a division circuit 38B. The one-cycle delay circuit 31B generates a one-cycle delay image SD1, and the one-cycle delay circuit 32B generates a two-cycle delay image SD2. Then, the adder circuit 36B adds the image to be inspected S and the two-cycle delayed image SD2, and the divider circuit 38B divides (divides) the addition result of the adder circuit 36B by 2, thereby obtaining the reference image P.
Get I. That is, the reference image PI is obtained by obtaining the average value of the tone values of the corresponding pixels of the original image S and the two-cycle delayed image SD2 obtained at each instant. Here, PI = (S + SD2) / 2
Will be expressed as Note that the addition circuit 36B and the division circuit 38B provide the image to be inspected S and the two-cycle delayed image S
It functions as a synthesizing means for synthesizing D2. As a result, at least one reference image PI is obtained at each moment.
At least two of the two delayed images and the image to be inspected (in this case, the image to be inspected S, the two-period delayed image SD2
Are synthesized in real time.

【0034】また、パターン検査装置1Bの比較判定部
50Bは、比較回路52Bを有しており、この比較回路
52Bは、参照画像PIと1周期遅延画像SD1との比
較動作を行うことにより、被検査画像Sの欠陥検査を行
う。
The comparison / determination section 50B of the pattern inspection apparatus 1B has a comparison circuit 52B. The comparison circuit 52B performs a comparison operation between the reference image PI and the one-cycle delay image SD1 to obtain a target image. The defect inspection of the inspection image S is performed.

【0035】ここにおいて、理想パターンには、被検査
単位パターン自体の画像信号は含まれていないため、自
己のデータを除外した客観的なデータに基づいて、理想
パターンを生成することができる。そして、このような
理想パターンに基づいて、各単位パターンに関する欠陥
検査を行うので、検出結果に対するノイズの影響を低減
させて、安定した欠陥検出が可能になる。
Here, since the ideal pattern does not include the image signal of the unit pattern to be inspected, the ideal pattern can be generated based on objective data excluding its own data. Since the defect inspection for each unit pattern is performed based on such an ideal pattern, the influence of noise on the detection result is reduced, and stable defect detection can be performed.

【0036】<第3実施形態>この第3実施形態におい
ては、第1実施形態および第2実施形態のさらなる変形
例を示す。ここでは、被検査対象となる単位パターンを
含む隣接する3つの単位パターンのうち、値の近い2つ
の単位パターンを用いて理想パターンとしての参照画像
PIを生成する場合について説明する。
<Third Embodiment> In the third embodiment, a further modification of the first and second embodiments will be described. Here, a case will be described where a reference image PI as an ideal pattern is generated using two unit patterns having close values among three adjacent unit patterns including a unit pattern to be inspected.

【0037】第3実施形態のパターン検査装置1Cは、
理想パターン生成部30C以外については、第1実施形
態のパターン検査装置1Aと同様の構成を有しており、
ここでは、相違点を中心に説明する。
The pattern inspection apparatus 1C according to the third embodiment comprises:
Except for the ideal pattern generation unit 30C, it has the same configuration as the pattern inspection apparatus 1A of the first embodiment,
Here, differences will be mainly described.

【0038】図7は理想パターン生成部30Cおよび比
較判定部50Cの具体的構成を示す機能ブロック図であ
り、図8は具体的なパターン検査の各動作において得ら
れる画像信号の概要を示す説明図である。
FIG. 7 is a functional block diagram showing a specific configuration of the ideal pattern generation section 30C and the comparison / determination section 50C. FIG. 8 is an explanatory diagram showing an outline of an image signal obtained in each specific pattern inspection operation. It is.

【0039】理想パターン生成部30Cは、図7に示す
ように、1周期遅延回路31C,32C、選択回路35
C、加算回路36C、および除算回路38Cを有してい
る。1周期遅延回路31Cは1周期遅延画像SD1を生
成し、1周期遅延回路32Cは2周期遅延画像SD2を
生成する。そして、選択回路35Cは、被検査画像S、
1周期遅延画像SD1、および2周期遅延画像SD2の
3つの画像のうち、値の近い2つの値を選択する。加算
回路36Cは、選択回路35Cで選択された2つの画像
信号を加算し、除算回路38Cは加算回路36Cの加算
結果を2で除する(割る)ことにより、参照画像PIを
得る。すなわち参照画像PIは、各瞬間に得られる原画
像S,1周期遅延画像SD1、および2周期遅延画像S
D2の3つの画像のうちの値の近い2つの画像につい
て、各画像の対応する画素の階調値に関して平均値を求
めることにより得られる。なお、選択回路35C、加算
回路36Cおよび除算回路38Cは、被検査画像S、1
周期遅延画像SD1、および2周期遅延画像SD2の3
つの画像のうちの2つの画像を合成する合成手段として
機能する。これにより、参照画像PIは、各瞬間に得ら
れる、少なくとも1つの遅延画像と被検査画像とのうち
少なくとも2つの画像(この場合は、被検査画像S、1
周期遅延画像SD1、および2周期遅延画像SD2の3
つの画像のうちの2つの画像)を合成してリアルタイム
に生成されることになる。
As shown in FIG. 7, the ideal pattern generator 30C includes one-cycle delay circuits 31C and 32C,
C, an adder circuit 36C, and a divider circuit 38C. The one-cycle delay circuit 31C generates a one-cycle delay image SD1, and the one-cycle delay circuit 32C generates a two-cycle delay image SD2. Then, the selection circuit 35C outputs the inspection image S,
From the three images of the one-cycle delayed image SD1 and the two-cycle delayed image SD2, two values having similar values are selected. The addition circuit 36C adds the two image signals selected by the selection circuit 35C, and the division circuit 38C divides (divides) the addition result of the addition circuit 36C by 2 to obtain a reference image PI. That is, the reference image PI includes the original image S, the one-cycle delayed image SD1, and the two-cycle delayed image S obtained at each moment.
It is obtained by calculating the average value of the gradation values of the corresponding pixels of each of the two images having similar values among the three images of D2. Note that the selection circuit 35C, the addition circuit 36C, and the division circuit 38C provide the inspection images S, 1
Periodic delay image SD1 and three of two-period delay image SD2
It functions as a synthesizing means for synthesizing two of the two images. Thereby, the reference image PI is obtained at least at least one of the at least one delayed image and the inspected image (in this case, the inspected images S, 1
Periodic delay image SD1 and three of two-period delay image SD2
(Two of the two images) are synthesized and generated in real time.

【0040】また、パターン検査装置1Cの比較判定部
50Cは、比較回路52Cを有しており、この比較回路
52Cは、参照画像PIと1周期遅延画像SD1との比
較動作を行うことにより、被検査画像Sの欠陥検査を行
う。
The comparison / determination section 50C of the pattern inspection apparatus 1C has a comparison circuit 52C. The comparison circuit 52C performs a comparison operation between the reference image PI and the one-period delay image SD1 to obtain an image to be processed. The defect inspection of the inspection image S is performed.

【0041】ここにおいて、理想パターンは、値が近い
2つの単位パターンの加算平均により得られており、値
が離れた他の1つの単位パターンの画像信号は含まれて
いない。言い換えれば、確率的に最もノイズまたは欠陥
である確率が大きいと考えられる部分を除外した2つの
値に基づいて理想パターンが生成されている。そのた
め、理想パターンは、ノイズの影響を低減させたものと
して得ることができる。そして、このような理想パター
ンに基づいて、各単位パターンに関する欠陥検査を行う
ので、検出結果に対するノイズの影響を低減させて、安
定した欠陥検出が可能になる。
Here, the ideal pattern is obtained by averaging two unit patterns having close values, and does not include an image signal of another unit pattern having a distant value. In other words, an ideal pattern is generated based on two values excluding a portion that is considered to have the highest probability of being a noise or a defect. Therefore, the ideal pattern can be obtained as a pattern in which the influence of noise is reduced. Since the defect inspection for each unit pattern is performed based on such an ideal pattern, the influence of noise on the detection result is reduced, and stable defect detection can be performed.

【0042】<第4実施形態>つぎに、第4実施形態に
ついて説明する。この第4実施形態は、第1実施形態の
変形例である。上記第1実施形態においては、後述する
ように、欠陥DTの値が欠陥位置から単位周期だけ離れ
た位置において参照画像PIの生成に影響を与えるた
め、閾値THの設定値の大きさによっては、真欠陥以外
をも欠陥として検出する誤検出を生じることがある。こ
の第4実施形態によれば、このような誤検出を抑制する
ことが可能である。
<Fourth Embodiment> Next, a fourth embodiment will be described. This fourth embodiment is a modification of the first embodiment. In the first embodiment, as described later, since the value of the defect DT affects the generation of the reference image PI at a position separated from the defect position by a unit cycle, the value of the threshold value TH depends on the magnitude of the set value of the threshold value TH. An erroneous detection of detecting a defect other than a true defect as a defect may occur. According to the fourth embodiment, it is possible to suppress such erroneous detection.

【0043】第4実施形態のパターン検査装置1Dは、
比較判定部50D以外については、第1実施形態のパタ
ーン検査装置1Aと同様の構成を有しており、ここで
は、相違点を中心に説明する。
The pattern inspection apparatus 1D according to the fourth embodiment comprises:
Except for the comparison / determination unit 50D, the configuration is the same as that of the pattern inspection apparatus 1A of the first embodiment, and the description here will focus on the differences.

【0044】図9は理想パターン生成部30Dおよび比
較判定部50Dの具体的構成を示す機能ブロック図であ
り、図10は具体的なパターン検査の各動作において得
られる画像信号の概要を示す説明図である。
FIG. 9 is a functional block diagram showing a specific configuration of the ideal pattern generation section 30D and the comparison / determination section 50D. FIG. 10 is an explanatory diagram showing an outline of an image signal obtained in each specific pattern inspection operation. It is.

【0045】図9に示すように、比較判定部50Dは、
比較回路51D,52D,53Dを有しており、各比較
回路51D,52D,53Dは、それぞれ、被検査画像
Sと参照画像PIとの比較,1周期遅延画像SD1と参
照画像PIとの比較,2周期遅延画像SD2と参照画像
PIとの比較を行う。なお、各比較回路51D,52
D,53Dは、第1実施形態の比較回路52Aと同様の
具体的構成を有しており、比較対象となる両画像信号の
差分の絶対値を所定の閾値THにより2値化することに
より比較結果を得ることができる。また、比較判定部5
0Dは、2周期遅延回路71D,1周期遅延回路72
D、およびAND回路76Dを有している。2周期遅延
回路71Dは、参照画像PIと被検査画像Sとの比較結
果COMP1を2周期遅延させてAND回路76Dに入
力する。同様に、1周期遅延回路72Dは、参照画像P
Iと1周期遅延画像SD1との比較結果COMP2を1
周期遅延させてAND回路76Dに入力する。また、参
照画像PIと2周期遅延画像SD2との比較結果COM
P3は、遅延されることなくそのままAND回路76D
に入力される。そして、AND回路76Dは、これらの
比較結果COMP1,COMP2,COMP3のAND
(論理積)をとり検査結果として出力する。
As shown in FIG. 9, the comparison / determination unit 50D
It has comparison circuits 51D, 52D, 53D, and each of the comparison circuits 51D, 52D, 53D compares the inspection image S with the reference image PI, compares the one-cycle delayed image SD1 with the reference image PI, The two-cycle delayed image SD2 is compared with the reference image PI. Note that each of the comparison circuits 51D, 52
D and 53D have the same specific configuration as the comparison circuit 52A of the first embodiment, and perform comparison by binarizing the absolute value of the difference between the two image signals to be compared with a predetermined threshold value TH. The result can be obtained. In addition, the comparison determination unit 5
0D is a two-cycle delay circuit 71D, a one-cycle delay circuit 72
D and an AND circuit 76D. The two-cycle delay circuit 71D delays the comparison result COMP1 between the reference image PI and the inspection image S by two cycles and inputs the result to the AND circuit 76D. Similarly, the one-cycle delay circuit 72D outputs the reference image P
The comparison result COMP2 between I and the one-cycle delayed image SD1 is 1
The signal is input to the AND circuit 76D with a period delay. The comparison result COM between the reference image PI and the two-cycle delayed image SD2
P3 is the AND circuit 76D without delay
Is input to The AND circuit 76D calculates the AND of the comparison results COMP1, COMP2 and COMP3.
(Logical product) and outputs the result as an inspection result.

【0046】図10を参照しながら、この真欠陥位置の
特定動作を説明する。図10においては、単位パターン
PA,PB,PCなどの画像は示されていないが、図4
と同様に、得られた被検査画像S,1周期遅延画像SD
1,2周期遅延画像SD2などが示されている。図10
の中央下寄りに示されている信号ABS(SD1−P
I)は、図4の下から2段目に示されている信号ABS
(SUB)と同一の信号を示す。なお、記号ABS()
は、括弧内の絶対値を意味するものである。
The operation of specifying the true defect position will be described with reference to FIG. Although the images of the unit patterns PA, PB, PC, etc. are not shown in FIG.
In the same manner as described above, the obtained inspection image S and the one-cycle delayed image SD
A one or two cycle delayed image SD2 and the like are shown. FIG.
Signal ABS (SD1-P
I) is the signal ABS shown in the second stage from the bottom in FIG.
The same signal as (SUB) is shown. The symbol ABS ()
Means the absolute value in parentheses.

【0047】ここで、単位パターンPBにおける欠陥D
Tの値は、その欠陥DTの位置から単位周期だけ離れた
位置における参照画像PIの生成に影響を与える。たと
えば、参照画像PIを、1周期遅延画像SD1と、1周
期遅延画像SD1に対して前後に1周期ずつずれた被検
査画像Sと2周期遅延画像SD2とを加算平均すること
により求める場合には、参照画像PIにおいて、1周期
遅延画像SD1の単位パターンPBに対応する周期位置
(図中左から3番目の位置)の前後の周期位置(図中左
から2番目,4番目の位置)においても、欠陥DTの値
の欠陥成分(正常値との差)の1/3程度が参照画像P
Iの対応部分に現れており、欠陥DTの値が参照画像P
I内の破線A20で囲まれる3つの単位パターンに影響
を与える。このように、欠陥DTは、欠陥位置の前後の
周期における参照画像PIの生成においても影響を与え
る。
Here, the defect D in the unit pattern PB
The value of T affects the generation of the reference image PI at a position separated by a unit period from the position of the defect DT. For example, in the case where the reference image PI is obtained by averaging the one-cycle delayed image SD1 and the inspected image S and the two-cycle delayed image SD2 which are shifted by one cycle before and after the one-cycle delayed image SD1, respectively. In the reference image PI, also at the periodic positions (the second and fourth positions from the left in the figure) before and after the periodic position (the third position from the left in the figure) corresponding to the unit pattern PB of the one-cycle delayed image SD1. , About の of the defect component (difference from the normal value) of the value of the defect DT is the reference image P
I, and the value of the defect DT is
Affects three unit patterns surrounded by a broken line A20 in I. As described above, the defect DT affects the generation of the reference image PI in the period before and after the defect position.

【0048】上記第1実施形態においては、1周期遅延
画像SD1と参照画像PIとの比較を行うことにより、
単位パターンPBにおける欠陥を検出したが、これは、
閾値THが適切な値であること、たとえば閾値THが所
定値TPよりも大きい(TH>TP)ことが前提とな
る。ここで値TPは、適切な閾値THの下限値を示す。
仮に閾値THが適切でない場合、たとえば、閾値TH=
TH2<TPとなる場合には、単位パターンPA,P
B,PCの全てにおいて欠陥が存在するとして判定して
しまい、上記の真欠陥以外をも欠陥として検出すること
になる。
In the first embodiment, by comparing the one-cycle delayed image SD1 with the reference image PI,
A defect in the unit pattern PB was detected.
It is assumed that the threshold value TH is an appropriate value, for example, the threshold value TH is larger than a predetermined value TP (TH> TP). Here, the value TP indicates an appropriate lower limit value of the threshold value TH.
If the threshold value TH is not appropriate, for example, the threshold value TH =
If TH2 <TP, the unit patterns PA, P
It is determined that a defect exists in all of B and PC, and a defect other than the true defect is detected as a defect.

【0049】この第4実施形態では、このような誤検出
を防止するため、比較回路52Dに加えて、さらに比較
回路51D,53Dを設ける。以下では、これらを用い
て単位パターンPA,PB,PCにおける真欠陥を特定
する動作を説明する。
In the fourth embodiment, in order to prevent such erroneous detection, comparison circuits 51D and 53D are provided in addition to the comparison circuit 52D. In the following, an operation for specifying a true defect in the unit patterns PA, PB, and PC using these will be described.

【0050】比較回路51Dは、被検査画像Sと参照画
像PIとの差分の絶対値ABS(S−PI)を所定の閾
値で2値化することにより両者を比較する。この比較に
おいては、参照画像PI内の破線A10で囲まれた3つ
の理想パターンと、被検査画像S内の各単位パターンP
A,PB,PCとがそれぞれ比較される。この被検査画
像Sは1周期遅延画像SD1よりも1周期前の画像であ
り、各単位パターンPA,PB,PCの比較対象となる
参照画像PI内の3つの理想パターンに対して、破線A
20で囲まれた3つの理想パターンより1周期前の破線
A10内の3つの理想パターンが対応する。この破線A
10内の3つの理想パターンのうちの左端の理想パター
ンには、欠陥DTによる影響が及んでおらず、単位パタ
ーンPAについては欠陥DTの影響が及んでいない参照
画像PIとの正確な比較結果を得ることができる。その
ため、比較結果COMP1においては、PBおよびPC
にのみ欠陥が存在するという判定結果が得られる。
The comparison circuit 51D compares the absolute value ABS (S-PI) of the difference between the image to be inspected S and the reference image PI by binarizing it with a predetermined threshold value. In this comparison, three ideal patterns surrounded by a broken line A10 in the reference image PI and each unit pattern P
A, PB, and PC are respectively compared. This image to be inspected S is an image one cycle before the one-cycle delayed image SD1, and is compared with three ideal patterns in the reference image PI to be compared with each unit pattern PA, PB, PC by a broken line A
Three ideal patterns in a broken line A10 one cycle before the three ideal patterns surrounded by 20 correspond. This broken line A
The ideal pattern at the left end of the three ideal patterns in 10 is not affected by the defect DT, and the unit pattern PA is accurately compared with the reference image PI not affected by the defect DT. Obtainable. Therefore, in the comparison result COMP1, PB and PC
The result of the determination that the defect exists only in is obtained.

【0051】同様に、比較回路53Dは、2周期遅延画
像SD2と参照画像PIとの差分の絶対値ABS(SD
2−PI)を所定の閾値で2値化することにより両者を
比較する。この比較においては、参照画像PI内の破線
A30で囲まれた3つの理想パターンと、2周期遅延画
像SD2内の各単位パターンPA,PB,PCとがそれ
ぞれ比較される。この2周期遅延画像SD2は1周期遅
延画像SD1よりも1周期遅れた(1周期後の)画像で
あり、各単位パターンPA,PB,PCの比較対象とな
る参照画像PI内の3つの理想パターンに対して、破線
A20で囲まれた3つの理想パターンよりも1周期遅れ
た破線A30内の3つの理想パターンが対応する。この
破線A30内の3つの理想パターンのうちの右端の理想
パターンには、欠陥DTによる影響が及んでいないの
で、単位パターンPCについては欠陥DTの影響が及ん
でいない参照画像PIとの正確な比較結果を得ることが
できる。そのため、比較結果COMP3においては、単
位パターンPAおよびPBにのみ欠陥が存在するという
判定結果が得られる。
Similarly, the comparison circuit 53D outputs the absolute value ABS (SD) of the difference between the two-cycle delayed image SD2 and the reference image PI.
2-PI) is binarized with a predetermined threshold to compare the two. In this comparison, three ideal patterns surrounded by a broken line A30 in the reference image PI are compared with each unit pattern PA, PB, PC in the two-period delay image SD2. The two-cycle delayed image SD2 is an image one cycle later (one cycle later) than the one-cycle delayed image SD1, and includes three ideal patterns in the reference image PI to be compared with each of the unit patterns PA, PB, and PC. Correspond to three ideal patterns in a broken line A30 which is one cycle later than the three ideal patterns surrounded by the broken line A20. Since the rightmost ideal pattern among the three ideal patterns in the broken line A30 is not affected by the defect DT, the unit pattern PC is accurately compared with the reference image PI not affected by the defect DT. The result can be obtained. Therefore, in the comparison result COMP3, a determination result that a defect exists only in the unit patterns PA and PB is obtained.

【0052】そして、上記の比較回路51Dによる比較
結果COMP1を2周期遅延し、比較回路52Dによる
比較結果COMP2を1周期遅延し、さらに、比較回路
53Dによる比較結果COMP3を遅延しない状態で、
各比較結果を同期させてAND回路76Dに入力し、こ
れらの比較結果の論理積をとり、各比較結果COMP1
〜COMP3のいずれもが「1」である(欠陥である)
場合に、真の欠陥であるとして検出する。また、この欠
陥の検出結果は、被検査画像Sに対して2周期遅延され
たタイミングで出力される。この場合は、単位パターン
PBに存在する欠陥DTのみを真の欠陥とする検出結果
が、被検査画像Sに対して2周期遅延されて(第3周期
目に)得られる。なお、上記においては3つの単位パタ
ーンPA,PB,PCについて説明したが、同様に、被
検査画像S内の連続する各パターンについての検出結果
が順次にリアルタイムで出力される。
Then, the comparison result COMP1 by the comparison circuit 51D is delayed by two cycles, the comparison result COMP2 by the comparison circuit 52D is delayed by one cycle, and the comparison result COMP3 by the comparison circuit 53D is not delayed.
Each comparison result is synchronized and input to the AND circuit 76D, and the logical product of these comparison results is calculated.
To COMP3 are all "1" (defective)
In this case, it is detected as a true defect. The detection result of the defect is output at a timing delayed by two cycles with respect to the image S to be inspected. In this case, a detection result in which only the defect DT existing in the unit pattern PB is a true defect is obtained by being delayed by two cycles with respect to the image S to be inspected (in the third cycle). In the above description, the three unit patterns PA, PB, and PC have been described. Similarly, detection results for successive patterns in the inspection image S are sequentially output in real time.

【0053】この実施形態においても、ノイズの影響が
軽減された理想パターンとの比較を行って2値化するの
で、検出結果に対するノイズの影響を低減させて、安定
した欠陥検出が可能になる。さらに、比較判定部50D
は、比較回路51D,52D,53D、2周期遅延回路
71D、1周期遅延回路72D、およびAND回路76
Dを有し、これらが欠陥位置を特定する欠陥位置特定手
段として機能するので、上述したような影響、すなわ
ち、被検査画像に含まれる欠陥が理想パターン生成に与
える影響を排除して、この影響に起因する誤検出を抑制
することができる。
Also in this embodiment, binarization is performed by comparing with an ideal pattern in which the influence of noise is reduced, so that the influence of noise on the detection result is reduced, and stable defect detection becomes possible. Further, the comparison determination unit 50D
Correspond to comparison circuits 51D, 52D, 53D, two-cycle delay circuit 71D, one-cycle delay circuit 72D, and AND circuit 76.
D, and these function as defect position specifying means for specifying a defect position. Therefore, the above-described effect, that is, the effect of the defect included in the image to be inspected on the generation of the ideal pattern is eliminated, and this effect is eliminated. Erroneous detection due to the above can be suppressed.

【0054】<第5実施形態>この第5実施形態も、第
4実施形態と同様、第1実施形態の変形例であり、上述
の誤検出を抑制することができる。第5実施形態のパタ
ーン検査装置1Eは、比較判定部50E以外について
は、第1実施形態のパターン検査装置1Aと同様の構成
を有しており、ここでは、相違点を中心に説明する。
<Fifth Embodiment> This fifth embodiment is a modification of the first embodiment, similarly to the fourth embodiment, and can suppress the erroneous detection described above. The pattern inspection apparatus 1E according to the fifth embodiment has the same configuration as that of the pattern inspection apparatus 1A according to the first embodiment, except for the comparison / determination unit 50E. Here, differences will be mainly described.

【0055】図11は理想パターン生成部30Eおよび
比較判定部50Eの具体的構成を示す機能ブロック図で
あり、図12は具体的なパターン検査の各動作において
得られる画像信号の概要を示す説明図である。なお、図
12においては、被検査画像S,1周期遅延画像SD
1,2周期遅延画像SD2、参照画像PIが示されてい
ないが、各画像S,SD1,SD2,PIは、図10
(図4)と同様である。
FIG. 11 is a functional block diagram showing a specific configuration of the ideal pattern generation unit 30E and the comparison and determination unit 50E. FIG. 12 is an explanatory diagram showing an outline of an image signal obtained in each operation of a specific pattern inspection. It is. In FIG. 12, the image to be inspected S and the one-cycle delayed image SD
Although the one or two cycle delayed image SD2 and the reference image PI are not shown, each of the images S, SD1, SD2, and PI is shown in FIG.
It is the same as (FIG. 4).

【0056】図11に示すように、比較判定部50E
は、差分絶対値算出回路80E、1周期遅延回路81
E、2周期遅延回路82E、最大値選択部83E、コン
パレータ84E、AND回路85E、および2値化回路
86Eを有している。
As shown in FIG. 11, the comparison / determination unit 50E
Is a differential absolute value calculation circuit 80E, a one-cycle delay circuit 81
E, a two-cycle delay circuit 82E, a maximum value selector 83E, a comparator 84E, an AND circuit 85E, and a binarization circuit 86E.

【0057】差分絶対値算出回路80Eは、1周期遅延
画像SD1と参照画像PIとの差分の絶対値を信号AS
(図12最上段)として出力する。また、1周期遅延回
路81Eは、信号ASを1周期遅延させた信号ASD1
を生成し、2周期遅延回路82Eは、信号ASを2周期
遅延させた信号ASD2を生成する。そして、最大値選
択部83Eは、信号ASと信号ASD1と信号ASD2
との3つの値のうち各瞬間(各位置)における最大値を
選択して信号MAXを生成する。さらに、コンパレータ
84Eは、信号MAXと信号ASD1とを比較し、両信
号が等価(同一値)である場合に「真」、等価でない場
合に「偽」とする信号EQUを出力する。
The absolute difference calculating circuit 80E calculates the absolute value of the difference between the one-cycle delayed image SD1 and the reference image PI as a signal AS.
(The uppermost row in FIG. 12). The one-cycle delay circuit 81E is a signal ASD1 obtained by delaying the signal AS by one cycle.
And the two-cycle delay circuit 82E generates a signal ASD2 obtained by delaying the signal AS by two cycles. Then, the maximum value selection unit 83E outputs the signal AS, the signal ASD1, and the signal ASD2.
The signal MAX is generated by selecting the maximum value at each instant (each position) from the above three values. Further, the comparator 84E compares the signal MAX and the signal ASD1, and outputs a signal EQU that is “true” when both signals are equivalent (same value) and “false” when they are not equivalent.

【0058】これらの処理により、基準となる信号AS
D1とその前後に1周期ずつずれた信号AS,ASD2
の3つの信号の中で、基準となる信号ASD1の信号値
が最も大きい場合(たとえば図12中の波線で囲まれた
領域)においてのみ、信号EQUの値が「真」となる。
したがって、欠陥が存在する単位パターンと参照画像P
Iの理想パターンとの比較結果が前後の周期の単位パタ
ーンと参照画像PIの理想パターンとの比較結果に現れ
る値に比べて大きな値を有しているという性質に基づ
き、欠陥である可能性が高い位置を特定することができ
る。ここにおいて、基準として用いられている信号AS
D1は、被検査画像Sに対して1周期遅延された信号A
Sに対してさらに1周期遅延された信号、すなわち、被
検査画像Sに対して2周期遅延された信号である。した
がって、検出結果は、被検査画像Sに対して2周期遅延
されたタイミングで出力される。
By these processes, the reference signal AS
D1 and signals AS and ASD2 shifted one cycle before and after D1
Of the three signals described above, only when the signal value of the reference signal ASD1 is the largest (for example, in a region surrounded by a dashed line in FIG. 12), the value of the signal EQU becomes “true”.
Therefore, the unit pattern having the defect and the reference image P
Based on the property that the result of comparison with the ideal pattern of I has a larger value than the value appearing in the result of comparison between the unit pattern of the preceding and succeeding periods and the ideal pattern of the reference image PI, the possibility of a defect is high. A high position can be specified. Here, the signal AS used as a reference
D1 is a signal A delayed by one cycle with respect to the image S to be inspected.
S is a signal delayed by one cycle with respect to S, that is, a signal delayed by two cycles with respect to the image S to be inspected. Therefore, the detection result is output at a timing delayed by two cycles with respect to the image S to be inspected.

【0059】最後に、AND回路85Eは、(2値信号
の論理積をとるのではなく、)信号ASD1を信号EQ
Uでマスクする処理を行い、信号ASD1のうち信号E
QUが「真」である部分のみ、すなわち欠陥である可能
性が高い部分のみの階調値を抽出する。そして、2値化
回路86Eにより、閾値THにより2値化を行い、閾値
TH以上の値を有する部分を欠陥として検出することに
より、欠陥に関する比較判定動作を行う。
Finally, the AND circuit 85E outputs the signal ASD1 (instead of taking the logical product of the binary signals) to the signal EQ.
U is masked, and the signal ESD of the signal ASD1 is
The tone value is extracted only for the portion where the QU is “true”, that is, only for the portion that is likely to be defective. Then, the binarization circuit 86E performs binarization using the threshold value TH, and detects a portion having a value equal to or greater than the threshold value TH as a defect, thereby performing a comparison determination operation regarding the defect.

【0060】この実施形態においても、ノイズの影響が
軽減された理想パターンとの比較を行うので、検出結果
に対するノイズの影響を低減させて、安定した欠陥検出
が可能になる。さらに、比較判定部50Eは、差分絶対
値算出回路80E、1周期遅延回路81E、2周期遅延
回路82E、最大値選択部83E、コンパレータ84
E、AND回路85E、および2値化回路86Eを有
し、これらが欠陥位置を特定する欠陥位置特定手段とし
て機能するので、上述したような影響、すなわち、被検
査画像に含まれる欠陥が理想パターン生成に与える影響
を排除して、この影響に起因する誤検出を抑制すること
ができる。
Also in this embodiment, since comparison with an ideal pattern in which the influence of noise is reduced is performed, the influence of noise on the detection result is reduced, and stable defect detection becomes possible. Further, the comparison determination unit 50E includes a difference absolute value calculation circuit 80E, a one-cycle delay circuit 81E, a two-cycle delay circuit 82E, a maximum value selection unit 83E, and a comparator 84.
E, an AND circuit 85E, and a binarization circuit 86E, which function as defect position specifying means for specifying a defect position. By eliminating the influence on the generation, it is possible to suppress erroneous detection caused by this influence.

【0061】<第6実施形態>つぎに、第6実施形態に
ついて説明する。この第6実施形態は、第2実施形態の
変形例である。上述のような誤検出は、第2実施形態に
関しても生じる可能性が存在するが、この第6実施形態
のパターン検査装置1Fによれば、そのような誤検出を
抑制することができる。第6実施形態のパターン検査装
置1Fは、比較判定部50F以外については、第2実施
形態のパターン検査装置1Bと同様の構成を有してお
り、ここでは、相違点を中心に説明する。
<Sixth Embodiment> Next, a sixth embodiment will be described. The sixth embodiment is a modification of the second embodiment. Although the above-described erroneous detection may possibly occur in the second embodiment, the erroneous detection can be suppressed according to the pattern inspection apparatus 1F of the sixth embodiment. The pattern inspection apparatus 1F of the sixth embodiment has the same configuration as that of the pattern inspection apparatus 1B of the second embodiment, except for the comparison / determination unit 50F. Here, the differences will be mainly described.

【0062】図13は理想パターン生成部30Fおよび
比較判定部50Fの具体的構成を示す機能ブロック図で
あり、図14は具体的なパターン検査の各動作において
得られる画像信号の概要を示す説明図である。なお、図
14においては、被検査画像S,1周期遅延画像SD
1,2周期遅延画像SD2、参照画像PIが示されてい
ないが、各画像S,SD1,SD2,PIは、図6と同
様である。
FIG. 13 is a functional block diagram showing a specific configuration of the ideal pattern generation unit 30F and the comparison determination unit 50F. FIG. 14 is an explanatory diagram showing an outline of an image signal obtained in each operation of a specific pattern inspection. It is. In FIG. 14, the image to be inspected S, the one-cycle delayed image SD
Although the 1, 2 cycle delayed image SD2 and the reference image PI are not shown, the images S, SD1, SD2, PI are the same as those in FIG.

【0063】図13に示すように、比較判定部50F
は、差分回路91F,92F,93Fと加算回路94
F,95Fと、絶対値算出回路96F,97Fと2値化
回路98F,99FとAND回路76Fとを有してい
る。
As shown in FIG. 13, the comparison / determination section 50F
Are the difference circuits 91F, 92F, 93F and the addition circuit 94
F, 95F, absolute value calculation circuits 96F, 97F, binarization circuits 98F, 99F, and an AND circuit 76F.

【0064】差分回路93Fは、被検査画像Sと参照画
像PIとの差分を算出して、信号SUB3(=S−P
I)を出力する。なお、記号SUB()は、括弧内の差
分を意味する。同様に、差分回路92Fは1周期遅延画
像SD1と参照画像PIとの差分を算出して信号SUB
2(=SD1−PI)を出力し、差分回路91Fは2周
期遅延画像SD2と参照画像PIとの差分を算出して信
号SUB1(=SD2−PI)を出力する。また、加算
回路94Fは信号SUB1,SUB2を加算して信号A
DD1を出力し、加算回路95Fは信号SUB3,SU
B2を加算して信号ADD2を出力する。そして、絶対
値算出回路96F,97Fは、それぞれ、信号ADD1
の絶対値,信号ADD2の絶対値を出力し、2値化回路
98F,99Fは、出力された各絶対値信号を所定の閾
値によって2値化して各信号THD1,THD2をす
る。さらに、AND回路76Fは、これらの2値化され
た両信号THD1,THD2のAND(論理積)をとる
ことにより検査結果を出力する。そして、このような処
理において、2つの比較結果である信号THD1,TH
D2を用いて、両者がともに「1」である部分を真の欠
陥である部分として検出することができる。
The difference circuit 93F calculates a difference between the image S to be inspected and the reference image PI, and outputs a signal SUB3 (= SP).
I) is output. Note that the symbol SUB () means a difference in parentheses. Similarly, the difference circuit 92F calculates the difference between the one-cycle delayed image SD1 and the reference image PI, and outputs the signal SUB
2 (= SD1-PI), and the difference circuit 91F calculates the difference between the two-cycle delayed image SD2 and the reference image PI, and outputs a signal SUB1 (= SD2-PI). The addition circuit 94F adds the signals SUB1 and SUB2 to generate a signal A.
DD1 is output, and the adder circuit 95F outputs signals SUB3 and SU
B2 is added to output a signal ADD2. The absolute value calculation circuits 96F and 97F respectively output the signal ADD1
And the absolute value of the signal ADD2, and the binarization circuits 98F and 99F binarize the output absolute value signals with a predetermined threshold to generate the signals THD1 and THD2. Further, the AND circuit 76F outputs an inspection result by taking an AND (logical product) of these two binarized signals THD1 and THD2. Then, in such processing, the signals THD1 and TH, which are two comparison results, are obtained.
Using D2, a part where both are "1" can be detected as a part which is a true defect.

【0065】この実施形態においても、ノイズの影響が
軽減された理想パターンとの比較を行うので、検出結果
に対するノイズの影響を低減させて、安定した欠陥検出
が可能になる。さらに、比較判定部50Fは、差分回路
91F,92F,93Fと加算回路94F,95Fと、
絶対値算出回路96F,97Fと2値化回路98F,9
9FとAND回路76Fとを有し、これらが欠陥位置を
特定する欠陥位置特定手段として機能するので、上述し
たような影響、すなわち、被検査画像に含まれる欠陥が
理想パターン生成に与える影響を排除して、この影響に
起因する誤検出を抑制することができる。
Also in this embodiment, since the comparison with the ideal pattern in which the influence of noise is reduced is performed, the influence of noise on the detection result is reduced, and stable defect detection becomes possible. Further, the comparison / determination section 50F includes difference circuits 91F, 92F, 93F and addition circuits 94F, 95F.
Absolute value calculation circuits 96F, 97F and binarization circuits 98F, 9
9F and an AND circuit 76F, which function as defect position specifying means for specifying a defect position. Therefore, the above-described effect, that is, the effect of the defect included in the inspection image on the ideal pattern generation is eliminated. Thus, erroneous detection due to this effect can be suppressed.

【0066】<第7実施形態>第1実施形態ないし第6
実施形態においては、周期的な繰り返しパターンを有す
る被検査画像Sの欠陥検査について説明した。ここにお
いて、被検査画像Sがn個の単位パターンの繰り返しに
より構成されている場合には、第2周期目以降第(n−
1)周期目までの単位パターンについては、上述の技術
により単位パターン内の欠陥検査を行うことが可能であ
る。しかしながら、第1周期目の単位パターンおよび第
n周期目の単位パターン(言い換えれば、被検査画像S
の端部の単位パターン)については、理想パターンを生
成するための所定の相対的位置関係にある単位パターン
が存在しないため、上記の技術では、理想パターンを生
成することができず、欠陥検査を行うことができない。
<Seventh Embodiment> First to sixth embodiments
In the embodiment, the defect inspection of the inspection image S having the periodic repetition pattern has been described. Here, when the inspection image S is configured by repeating n unit patterns, the (n-
1) For the unit pattern up to the cycle, it is possible to perform a defect inspection in the unit pattern by the above-described technique. However, the unit pattern in the first cycle and the unit pattern in the n-th cycle (in other words, the inspection image S
(The end unit pattern), there is no unit pattern in a predetermined relative positional relationship for generating the ideal pattern. Therefore, the above technique cannot generate the ideal pattern, and the defect inspection is not performed. Can't do it.

【0067】この第7実施形態では、このような場合、
すなわち、理想パターンを生成するための所定の相対的
位置関係にある単位パターンが存在しない場合にあって
も、異なる単位パターンを代用して理想パターンを生成
し欠陥検出を行うこと(具体的には、参照画像R内の異
なる周期位置に存在する理想パターンを用いて欠陥検出
を行うこと)により、被検査画像S内の全ての単位パタ
ーンに関する欠陥検出動作を行う場合について説明す
る。
In the seventh embodiment, in such a case,
In other words, even when there is no unit pattern having a predetermined relative positional relationship for generating an ideal pattern, generating an ideal pattern by using a different unit pattern and performing defect detection (specifically, The defect detection operation for all the unit patterns in the inspection image S is performed by performing the defect detection using an ideal pattern existing at a different periodic position in the reference image R).

【0068】第7実施形態のパターン検査装置1Gは、
比較判定部50G以外については、第3実施形態のパタ
ーン検査装置1C(図7)と同様の構成を有しており、
ここでは、相違点を中心に説明する。
The pattern inspection apparatus 1 G according to the seventh embodiment
Except for the comparison / determination unit 50G, it has the same configuration as the pattern inspection apparatus 1C (FIG. 7) of the third embodiment,
Here, differences will be mainly described.

【0069】図15は理想パターン生成部30Gおよび
比較判定部50Gの具体的構成を示す機能ブロック図で
あり、図16および図17は具体的なパターン検査の各
動作において得られる画像信号の概要を示す説明図であ
る。
FIG. 15 is a functional block diagram showing a specific configuration of the ideal pattern generation section 30G and the comparison / determination section 50G. FIGS. 16 and 17 show an outline of an image signal obtained in each specific pattern inspection operation. FIG.

【0070】図15に示すように、理想パターン生成部
30Gは、理想パターン生成部30C(図7)と同様の
構成を有する。ただし、図15においては、簡略化のた
め、図7の選択回路35C、加算回路36C、除算回路
38Cに相当する複数の回路をまとめて参照画像作成回
路40Gとして表記している。
As shown in FIG. 15, the ideal pattern generator 30G has the same configuration as the ideal pattern generator 30C (FIG. 7). However, in FIG. 15, for simplification, a plurality of circuits corresponding to the selection circuit 35C, the addition circuit 36C, and the division circuit 38C in FIG. 7 are collectively described as a reference image creation circuit 40G.

【0071】また、比較判定部50Gは、比較回路52
Gに加えて、比較回路51G,53G、2周期遅延回路
71G、1周期遅延回路72G、およびセレクタ77G
を有している。
The comparing / determining section 50G includes a comparing circuit 52
G, comparison circuits 51G, 53G, two-cycle delay circuit 71G, one-cycle delay circuit 72G, and selector 77G
have.

【0072】比較回路51Gは、被検査画像Sと参照画
像R(上記PIと同一)との比較結果を表す信号C0
(=S−R)を出力し、2周期遅延回路71Gは、信号
C0を2周期遅延させて信号C0Dを生成してセレクタ
77Gへと出力する。また、比較回路52Gは、1周期
遅延画像O1(上記SD1と同一)と参照画像Rとの比
較結果を表す信号C1(=O1−R)を出力し、1周期
遅延回路72Gは、信号C1を1周期遅延させて信号C
1Dを生成してセレクタ77Gへと出力する。さらに、
比較回路53Gは、2周期遅延画像O2(上記SD2と
同一)と参照画像Rとの比較結果を表す信号C2(=O
2−R)をそのままセレクタ77Gへと出力する。そし
て、セレクタ77Gは、被検査画像Sの最初の単位パタ
ーン撮像時点に対して2周期遅延した周期(すなわち第
3周期目)においては信号C2を選択し、3周期遅延し
た周期(すなわち第4周期目)からn周期遅延した周期
(すなわち第(n+1)周期目)までは信号C1Dを選
択し、(n+1)周期遅延した周期(すなわち第(n+
2)周期目)においては信号C0Dを選択する。これに
より、被検査画像Sの欠陥検出結果を連続的にリアルタ
イムで得ることが可能になる。
The comparison circuit 51G outputs a signal C0 representing the result of comparison between the inspected image S and the reference image R (same as PI).
(= SR), and the two-cycle delay circuit 71G delays the signal C0 by two cycles, generates a signal C0D, and outputs the signal C0D to the selector 77G. Further, the comparison circuit 52G outputs a signal C1 (= O1-R) representing a comparison result between the one-cycle delayed image O1 (same as the above SD1) and the reference image R, and the one-cycle delay circuit 72G outputs the signal C1. Delay the signal C by one cycle
1D is generated and output to the selector 77G. further,
The comparison circuit 53G outputs a signal C2 (= O2) representing a comparison result between the two-cycle delayed image O2 (same as SD2) and the reference image R.
2-R) is output to the selector 77G as it is. Then, the selector 77G selects the signal C2 in a cycle delayed by two cycles (that is, a third cycle) with respect to the time of capturing the first unit pattern of the image S to be inspected, and a cycle delayed by three cycles (ie, a fourth cycle) The signal C1D is selected from the signal C1D to the cycle delayed by n cycles (ie, the (n + 1) th cycle) from the cycle delayed by (n + 1) cycles (ie, the (n +
2) In the cycle), the signal C0D is selected. This makes it possible to continuously obtain the defect detection result of the inspection image S in real time.

【0073】ここで、図16および図17を参照しなが
ら、動作原理について説明する。なお、図16および図
17の最上段の番号は、周期性を有する各信号の周期番
号(周期No.)を表記している。
Here, the principle of operation will be described with reference to FIG. 16 and FIG. The numbers at the top of FIGS. 16 and 17 represent the cycle numbers (cycle numbers) of the respective signals having periodicity.

【0074】図16には、被検査画像S、1周期遅延画
像O1、2周期遅延画像O2、および参照画像Rが示さ
れている。この参照画像Rは、被検査画像Sと1周期遅
延画像O1と2周期遅延画像O2との3つの画像を用い
て作成されており、参照画像Rの第3周期目から第n周
期目において、有効な参照画像Rが作成されている。
FIG. 16 shows an image S to be inspected, a one-cycle delayed image O1, a two-cycle delayed image O2, and a reference image R. This reference image R is created using three images, the image S to be inspected, the one-cycle delayed image O1 and the two-cycle delayed image O2, and in the third to n-th cycles of the reference image R, An effective reference image R has been created.

【0075】つぎに、図17をも参照しながら、説明を
続ける。まず、被検査画像Sの第2周期目から第(n−
1)周期目までの各単位パターンは、被検査画像Sを1
周期遅延させた1周期遅延画像O1においては、第3周
期目から第n周期目までの各単位パターン(破線B10
で囲まれた部分)に対応し、参照画像R内においてもこ
れに対応する周期位置に有効な理想パターン(破線B1
1で囲まれた部分)が存在するので、両者の比較結果で
ある信号C1の対応する部分(破線B12で囲まれた部
分)は有効な検出結果となる。セレクタ77Gは、この
信号C1内の有効な単位パターン(破線B12で囲まれ
た部分)をさらに1周期遅延させた信号C1Dの対応す
る部分(破線B13で囲まれた部分)、すなわち、信号
C1Dの第4周期目から第(n+1)周期目までに現れ
る検出結果を欠陥の検出結果として選択して出力する。
このように、被検査画像Sの第2周期目から第(n−
1)周期目までの各単位パターンについての欠陥検出結
果は、被検査画像Sに対して2周期遅延されて、信号C
1Dの第4周期目から第(n+1)周期目までに現れ、
この検出結果がセレクタ77Gによって選択出力され
る。
Next, the description will be continued with reference to FIG. First, from the second cycle of the inspection image S to the (n−
1) For each unit pattern up to the cycle, the inspection image S
In the one-cycle delayed image O1 delayed by the cycle, each unit pattern from the third cycle to the n-th cycle (broken line B10
, And also in the reference image R, an ideal pattern (broken line B1) effective at the corresponding periodic position.
1), the corresponding portion of the signal C1, which is the comparison result between the two (the portion surrounded by the dashed line B12), is a valid detection result. The selector 77G outputs a corresponding portion (a portion surrounded by a broken line B13) of the signal C1D obtained by further delaying an effective unit pattern (a portion surrounded by a broken line B12) in the signal C1, that is, a signal C1D. The detection results appearing from the fourth cycle to the (n + 1) th cycle are selected and output as the defect detection results.
In this manner, the (n-
1) The defect detection result for each unit pattern up to the cycle is delayed by two cycles with respect to the image S to be inspected, and the signal C
Appears from the 4th cycle to the (n + 1) th cycle of 1D,
This detection result is selectively output by the selector 77G.

【0076】一方、被検査画像Sの第1周期目(最初の
周期)の単位パターンは、1周期遅延画像O1において
第2周期目の単位パターンに対応するが、参照画像R内
においてはこの第2周期目の周期位置には有効な理想パ
ターンが存在しない。参照画像Rの第2周期目において
は、2周期遅延画像O2が、無効な値を有する無効デー
タとなっているため、2周期遅延画像O2の2周期目に
所定の単位パターンが存在しないことになり、参照画像
Rの第2周期目において有効な理想パターンを生成する
ことができないからである。したがって、上述と同様の
方法では、欠陥検出を行うことができない。
On the other hand, the unit pattern in the first cycle (first cycle) of the image to be inspected S corresponds to the unit pattern in the second cycle in the one-cycle delayed image O1. There is no effective ideal pattern at the cycle position of the second cycle. In the second cycle of the reference image R, the two-cycle delayed image O2 is invalid data having an invalid value, so that the predetermined unit pattern does not exist in the second cycle of the two-cycle delayed image O2. That is, an effective ideal pattern cannot be generated in the second cycle of the reference image R. Therefore, defect detection cannot be performed by the same method as described above.

【0077】そこで、被検査画像Sの第1周期目(最初
の周期)の単位パターンの欠陥検査にあたって、本来は
被検査画像Sの第2周期目の欠陥検出のために用いる単
位パターン(すなわち参照画像Rの第3周期目の単位パ
ターン)を用いて比較検出動作を行う。そのため、2周
期遅延画像O2の第3周期目の単位パターンと参照画像
Rの第3周期目の単位パターンとの比較動作の結果を表
す信号C2を求める。この2周期遅延画像O2の第3周
期目の単位パターンは、被検査画像Sの第1周期目の単
位パターンに対応するものであるので、この部分の信号
C2を被検査画像Sの第1周期目に関する欠陥検出結果
として選択することができる。この選択は、セレクタ7
7Gにより行われる。これにより、図示のように被検査
画像Sの第1周期目に欠陥が存在する場合であっても、
その欠陥を検出することができる。
Therefore, in the defect inspection of the unit pattern in the first cycle (first cycle) of the image S to be inspected, the unit pattern originally used for the defect detection in the second cycle of the image S to be inspected (ie, the reference) The comparison detection operation is performed using the unit pattern in the third cycle of the image R). Therefore, a signal C2 representing the result of the comparison operation between the unit pattern in the third cycle of the two-cycle delayed image O2 and the unit pattern in the third cycle of the reference image R is obtained. Since the unit pattern in the third cycle of the two-cycle delayed image O2 corresponds to the unit pattern in the first cycle of the image to be inspected S, the signal C2 in this portion is converted to the first cycle of the image S to be inspected. It can be selected as an eye defect detection result. This selection is made by the selector 7
7G. Accordingly, even if a defect exists in the first cycle of the inspection target image S as illustrated,
The defect can be detected.

【0078】同様に、被検査画像Sの第n周期目(最後
の周期)の単位パターンは、1周期遅延画像O1におい
て第(n+1)周期目の単位パターンに対応するが、参
照画像R内においてはこの第(n+1)周期目の周期位
置には有効な理想パターンが存在しない。そこで、本来
は被検査画像Sの第(n−1)周期目の欠陥検出のため
に用いる単位パターン(すなわち参照画像Rの第n周期
目の単位パターン)を用いて、被検査画像Sの第n周期
目の単位パターンとの比較検出動作を行う。そのため、
被検査画像Sの第n周期目の単位パターンと参照画像R
の第n周期目の単位パターンとの比較動作の結果を表す
信号C0を求める。そして、セレクタ77Gは、この信
号C0を2周期遅延させた信号C0Dの第(n+2)周
期目の単位パターンを被検査画像Sの第n周期目に関す
る欠陥検出結果として選択して出力する。これにより、
図示のように被検査画像Sの第n周期目(最後の周期)
に欠陥が存在する場合であっても、その欠陥を検出する
ことができる。
Similarly, the unit pattern of the n-th cycle (last cycle) of the inspection image S corresponds to the (n + 1) -th cycle of the unit pattern in the one-cycle delayed image O1. No effective ideal pattern exists at the (n + 1) -th cycle position. Therefore, the unit pattern originally used for the (n−1) th cycle defect detection of the inspection image S (that is, the unit pattern of the nth cycle of the reference image R) is used to detect the defect of the inspection image S. A comparison detection operation with the unit pattern in the n-th cycle is performed. for that reason,
The unit pattern of the n-th cycle of the inspection image S and the reference image R
A signal C0 representing the result of the comparison operation with the unit pattern of the n-th cycle is obtained. Then, the selector 77G selects and outputs the (n + 2) -th unit pattern of the signal C0D obtained by delaying the signal C0 by two cycles as a defect detection result for the n-th cycle of the inspection target image S. This allows
As shown, the n-th cycle (last cycle) of the inspection image S
Even if a defect exists in the device, the defect can be detected.

【0079】このように、被検査画像Sの第1周期目
(最初の周期)および第n周期目(最後の周期)の単位
パターンの欠陥検出において、所定の相対的位置関係に
ある単位パターンが存在しないためにその比較検出動作
に必要な理想パターンが生成できない場合であっても、
異なる周期位置の単位パターンに関する欠陥を検出する
ための理想パターン(すなわち、第2周期目および第
(n−1)周期目の単位パターンの欠陥検出のための理
想パターン)に基づいて、比較検出動作を行うことがで
きるので、被検査画像S内の全ての単位パターンについ
て欠陥検査を行うことができる。なお、ここでは、異な
る周期位置に存在する単位パターンの欠陥検出のための
理想パターンをそのまま利用して比較検出動作を行って
いるが、所定の単位パターンとは異なる単位パターンを
用いて別個の理想パターンを新たに生成し、その生成さ
れた理想パターンを利用して比較検出動作を行ってもよ
い。このことは、一般的には、理想パターンを生成する
ための所定の相対的位置関係にある単位パターンが存在
しない場合には、当該所定の相対的位置関係にある単位
パターンとは異なる単位パターンを用いて理想パターン
を生成し、その理想パターンに基づいて比較動作を行う
ことにより欠陥検査を行うものとして表現することがで
きる。この第7実施形態においても、被検査画像Sの第
1周期目(最初の周期)および第n周期目(最後の周
期)の単位パターンの欠陥検出のために用いられる理想
パターンは、所定の相対的位置関係にある単位パターン
(すなわち被検査単位パターンおよびその前後に隣接す
る合計3つの単位パターン)とは異なる単位パターンに
基づいて生成された理想パターンであるとも理解され
る。
As described above, in the defect detection of the unit patterns in the first cycle (first cycle) and the n-th cycle (last cycle) of the inspection image S, the unit patterns having a predetermined relative positional relationship are not detected. Even if the ideal pattern required for the comparison detection operation cannot be generated because it does not exist,
Comparison detection operation based on an ideal pattern for detecting a defect related to a unit pattern at a different cycle position (that is, an ideal pattern for detecting a defect of a unit pattern in the second cycle and the (n-1) th cycle) Can be performed, so that the defect inspection can be performed on all the unit patterns in the inspection target image S. In this case, the comparison detection operation is performed using the ideal pattern for defect detection of the unit pattern existing at a different periodic position as it is, but a different ideal pattern is used by using a unit pattern different from the predetermined unit pattern. A pattern may be newly generated, and the comparison detection operation may be performed using the generated ideal pattern. This generally means that when there is no unit pattern having a predetermined relative positional relationship for generating an ideal pattern, a unit pattern different from the unit pattern having the predetermined relative positional relationship is generated. An ideal pattern is generated using the pattern, and a comparison operation is performed based on the ideal pattern. Also in the seventh embodiment, the ideal pattern used for defect detection of the unit pattern in the first cycle (first cycle) and the n-th cycle (last cycle) of the image S to be inspected is a predetermined relative pattern. It can also be understood that the unit pattern is an ideal pattern generated based on a unit pattern different from the unit pattern having a positional relationship (ie, the unit pattern to be inspected and a total of three unit patterns adjacent before and after the unit pattern).

【0080】<第8実施形態>第8実施形態は、第7実
施形態の変形例である。第7実施形態においては、被検
査画像S内の各パターンと参照画像R内の理想パターン
との比較を行う際に、参照画像Rの所定の1つの理想パ
ターンと被検査画像S内の1つのパターンとを比較して
いたが、この第8実施形態においては、参照画像Rの異
なる位置に存在する所定の2つの理想パターンと被検査
画像S内の1つのパターンとを比較する場合について説
明する。より具体的には、この第8実施形態において
は、n個の繰り返し単位パターンを有する被検査画像S
内の異なる位置に存在する複数(3個)の単位パターン
の組合せに基づいて複数((n−2)個)の理想パター
ンを生成し、そのうち少なくとも2つ(ここでは2つ)
の異なる理想パターンのそれぞれと被検査画像に含まれ
る各単位パターンとを比較した複数の比較結果を用いて
各単位パターンの欠陥を判定する。さらに具体的には、
参照画像内の隣接する2つの理想パターンと被検査画像
S内の所定の被検査対象パターンとのそれぞれの比較結
果を用いて欠陥検出を行う。これによれば、被検査画像
S内に含まれるノイズの影響をさらに低減することがで
きる。
<Eighth Embodiment> The eighth embodiment is a modification of the seventh embodiment. In the seventh embodiment, when comparing each pattern in the inspection image S with an ideal pattern in the reference image R, one predetermined ideal pattern of the reference image R and one ideal pattern in the inspection image S are compared. In the eighth embodiment, a case where two predetermined ideal patterns existing at different positions in the reference image R are compared with one pattern in the image to be inspected S will be described. . More specifically, in the eighth embodiment, the inspection image S having n repetition unit patterns
Generates a plurality of ((n-2)) ideal patterns based on a combination of a plurality of (3) unit patterns existing at different positions in the at least two (here, two)
The defect of each unit pattern is determined using a plurality of comparison results obtained by comparing each of the different ideal patterns with each unit pattern included in the inspection image. More specifically,
Defect detection is performed using the respective comparison results between two adjacent ideal patterns in the reference image and a predetermined pattern to be inspected in the image to be inspected S. According to this, the influence of noise included in the inspection image S can be further reduced.

【0081】また、この第8実施形態では、第7実施形
態と同様、理想パターンを生成するための所定の相対的
位置関係にある単位パターンが存在しない場合に、異な
る単位パターンを用いて理想パターンを生成し欠陥検出
を行うこと(具体的には、参照画像R内の異なる周期位
置に存在する理想パターンを用いて欠陥検出を行うこ
と)について説明する。
In the eighth embodiment, as in the seventh embodiment, when there is no unit pattern having a predetermined relative positional relationship for generating an ideal pattern, the ideal pattern is formed using a different unit pattern. (Specifically, defect detection using ideal patterns existing at different periodic positions in the reference image R) will be described.

【0082】第8実施形態のパターン検査装置1Hは、
理想パターン生成部30Hおよび比較判定部50H以外
については、第7実施形態のパターン検査装置1G(図
15)と同様の構成を有しており、ここでは、相違点を
中心に説明する。
The pattern inspection apparatus 1H of the eighth embodiment is
Except for the ideal pattern generation unit 30H and the comparison determination unit 50H, the configuration is the same as that of the pattern inspection apparatus 1G of the seventh embodiment (FIG. 15), and the description here will focus on the differences.

【0083】図18は、理想パターン生成部30Gおよ
び比較判定部50Gの具体的構成を示す機能ブロック図
であり、図19および図20は具体的なパターン検査の
各動作において得られる画像信号の概要を示す説明図で
ある。
FIG. 18 is a functional block diagram showing a specific configuration of the ideal pattern generation section 30G and the comparison / determination section 50G. FIGS. 19 and 20 show an outline of an image signal obtained in each operation of a specific pattern inspection. FIG.

【0084】図18に示すように、理想パターン生成部
30Hは、1周期遅延回路31H,32H,33H,3
4H、および参照画像作成回路40Hを有している。
As shown in FIG. 18, ideal pattern generator 30H includes one-cycle delay circuits 31H, 32H, 33H, 3H.
4H and a reference image creation circuit 40H.

【0085】1周期遅延回路31Hは、被検査画像Sを
1周期遅延させた1周期遅延画像O1を生成し、1周期
遅延回路32Hは、その1周期遅延画像O1をさらに1
周期遅延させた2周期遅延画像O2を生成する。同様
に、1周期遅延回路33Hは、2周期遅延画像O2をさ
らに1周期遅延させた3周期遅延画像O3を生成し、1
周期遅延回路34Hは、その3周期遅延画像O1をさら
に1周期遅延させた4周期遅延画像O4を生成する。そ
して、参照画像作成回路40Hは、これらのうち1周期
遅延画像O1と2周期遅延画像O2と3周期遅延画像O
3とに基づいて、参照画像R(上記PIと同一)を生成
する。この参照画像作成回路40Hは、具体的には、第
3実施形態などと同様の構成を有する。
The one-period delay circuit 31H generates a one-period delay image O1 obtained by delaying the image to be inspected S by one period, and the one-period delay circuit 32H further converts the one-period delay image O1 by one.
A two-cycle delayed image O2 delayed by a cycle is generated. Similarly, the one-period delay circuit 33H generates a three-period delay image O3 obtained by further delaying the two-period delay image O2 by one period.
The cycle delay circuit 34H generates a four-cycle delayed image O4 by further delaying the three-cycle delayed image O1 by one cycle. Then, the reference image creation circuit 40H outputs the one-cycle delayed image O1, the two-cycle delayed image O2, and the three-cycle delayed image O
3 to generate a reference image R (same as the above PI). Specifically, the reference image creation circuit 40H has a configuration similar to that of the third embodiment.

【0086】また、比較判定部50Hは、比較回路51
H,52H,53H,54H,55H、1周期遅延回路
56H,57H,58H,59H、AND回路61H,
62H,63H,64H、3周期遅延回路66H、2周
期遅延回路67H、1周期遅延回路68H、およびセレ
クタ69Hを有する。
The comparison / determination section 50H includes a comparison circuit 51
H, 52H, 53H, 54H, 55H, one cycle delay circuits 56H, 57H, 58H, 59H, AND circuit 61H,
62H, 63H, 64H, a three-cycle delay circuit 66H, a two-cycle delay circuit 67H, a one-cycle delay circuit 68H, and a selector 69H.

【0087】比較回路51Hは、被検査画像Sと参照画
像Rとの比較結果を算出して信号C0(=S−R)を出
力し、比較回路52Hは、1周期遅延画像O1と参照画
像Rとの比較結果を表す信号C1(=O1−R)を出力
する。同様に、比較回路53Hは、2周期遅延画像O2
と参照画像Rとの比較結果を算出して信号C2(=O2
−R)を出力し、比較回路54Hは、3周期遅延画像O
3と参照画像Rとの比較結果を表す信号C3(=O3−
R)を出力し、比較回路55Hは、4周期遅延画像O4
と参照画像Rとの比較結果を表す信号C4(=O4−
R)を出力する。
The comparison circuit 51H calculates the comparison result between the image S to be inspected and the reference image R and outputs a signal C0 (= SR). The comparison circuit 52H outputs the one-cycle delay image O1 and the reference image R. And outputs a signal C1 (= O1-R) representing the result of the comparison. Similarly, the comparison circuit 53H outputs the two-cycle delayed image O2
And the comparison result between the reference image R and the signal C2 (= O2
-R), and the comparison circuit 54H outputs the three-cycle delayed image O
3 and the signal C3 (= O3-
R), and the comparison circuit 55H outputs the four-cycle delayed image O4
C4 (= O4-
R) is output.

【0088】また、1周期遅延回路56Hは、信号C0
を1周期遅延させて信号C0Dを生成し、AND回路6
1Hは、この信号C0Dと信号C1とのAND(論理
積)を求めて信号A0として出力する。3周期遅延回路
66Hは、この信号A0を3周期遅延させて信号A0D
を生成して、セレクタ69Hに対して出力する。
The one-cycle delay circuit 56H outputs the signal C0
Is delayed by one cycle to generate a signal C0D, and an AND circuit 6
1H calculates AND (logical product) of the signal C0D and the signal C1 and outputs the result as a signal A0. The three-cycle delay circuit 66H delays the signal A0 by three cycles and outputs a signal A0D
Is generated and output to the selector 69H.

【0089】同様に、1周期遅延回路57Hは、信号C
1を1周期遅延させて信号C1Dを生成し、AND回路
62Hは、この信号C1Dと信号C2とのAND(論理
積)を求めて信号A1として出力する。2周期遅延回路
67Hは、この信号A1を2周期遅延させて信号A1D
を生成して、セレクタ69Hに対して出力する。
Similarly, one-cycle delay circuit 57H outputs signal C
1 is delayed by one cycle to generate a signal C1D, and the AND circuit 62H obtains an AND (logical product) of the signal C1D and the signal C2 and outputs the result as a signal A1. The two-cycle delay circuit 67H delays the signal A1 by two cycles to generate a signal A1D
Is generated and output to the selector 69H.

【0090】さらに、1周期遅延回路58Hは、信号C
2を1周期遅延させて信号C2Dを生成し、AND回路
63Hは、この信号C2Dと信号C3とのAND(論理
積)を求めて信号A2として出力する。1周期遅延回路
68Hは、この信号A2を1周期遅延させて信号A2D
を生成して、セレクタ69Hに対して出力する。
Further, one-cycle delay circuit 58H outputs signal C
The signal C2D is generated by delaying the signal C2 by one cycle, and the AND circuit 63H obtains AND (logical product) of the signal C2D and the signal C3 and outputs the result as a signal A2. One-cycle delay circuit 68H delays signal A2 by one cycle to generate signal A2D
Is generated and output to the selector 69H.

【0091】また、1周期遅延回路59Hは、信号C3
を1周期遅延させて信号C3Dを生成し、AND回路6
4Hは、この信号C3Dと信号C4とのAND(論理
積)を求めて信号A3とし、そのままセレクタ69Hに
対して出力する。
The one-cycle delay circuit 59H outputs the signal C3
Is delayed by one cycle to generate a signal C3D, and an AND circuit 6
4H obtains an AND (logical product) of the signal C3D and the signal C4 and outputs it as a signal A3 to the selector 69H as it is.

【0092】そして、セレクタ69Hは、被検査画像S
の最初の単位パターン撮像時点に対して4周期遅延した
周期、すなわち第5周期目においては信号A3を選択
し、第6周期目から第(n+2)周期目までは信号A2
Dを選択し、第(n+3)周期目においては信号A1D
を選択し、第(n+4)周期目においては信号A0Dを
選択する。これにより、被検査画像Sの欠陥検出結果を
連続的にリアルタイムで得ることが可能になる。
Then, the selector 69H outputs the image S to be inspected.
, The signal A3 is selected in a cycle delayed by four cycles from the imaging time of the first unit pattern, that is, in the fifth cycle, and the signal A2 is selected in the sixth to (n + 2) th cycles.
D is selected, and in the (n + 3) th cycle, the signal A1D
Is selected, and the signal A0D is selected in the (n + 4) th cycle. This makes it possible to continuously obtain the defect detection result of the inspection image S in real time.

【0093】つぎに、検出原理について、図19および
図20を参照しながら説明する。図19には、被検査画
像S、1周期遅延画像O1、2周期遅延画像O2、3周
期遅延画像O3、4周期遅延画像O4、および参照画像
Rが示されている。この参照画像Rは、1周期遅延画像
O1と2周期遅延画像O2と3周期遅延画像O3との3
つの画像を用いて作成されており、参照画像Rの第4周
期目から第(n+1)周期目において、有効な参照画像
Rが作成されている。
Next, the principle of detection will be described with reference to FIGS. 19 and 20. FIG. 19 shows the image S to be inspected, the one-cycle delayed image O1, the two-cycle delayed image O2, the three-cycle delayed image O3, the four-cycle delayed image O4, and the reference image R. This reference image R is composed of a one-cycle delayed image O1, a two-cycle delayed image O2, and a three-cycle delayed image O3.
And an effective reference image R is created in the fourth to (n + 1) th cycles of the reference image R.

【0094】ここにおいて、たとえば、被検査画像Sの
第2周期目のパターンU(2)の欠陥検出を行うにあた
っては、参照画像Rの第5周期目の理想パターンR
(5)と3周期遅延画像O3の第5周期目のパターンU
(2)とを比較した結果C3と、参照画像Rの第4周期
目の理想パターンR(4)と2周期遅延画像O2の第4
周期目のパターンU(2)とを比較した結果である信号
C2とを求め、さらに信号C2を1周期遅延させた信号
C2Dと上記結果C3とを同期させてAND回路63H
に入力し、その比較判定結果である信号A2を結果とし
て得ることができる。ただし、ここでは、他の信号との
同期をとるため、信号A2を1周期遅延させた信号A2
Dを検出結果としている。
Here, for example, in detecting a defect in the pattern U (2) in the second cycle of the inspection image S, the ideal pattern R in the fifth cycle of the reference image R is used.
(5) and the pattern U in the fifth cycle of the three-cycle delayed image O3
(2) is compared with the ideal pattern R (4) in the fourth cycle of the reference image R and the fourth pattern of the two-cycle delayed image O2.
A signal C2, which is a result of comparison with the pattern U (2) in the cycle, is obtained, and a signal C2D obtained by delaying the signal C2 by one cycle and the result C3 are synchronized with each other to form an AND circuit 63H.
, And a signal A2 as a result of the comparison can be obtained as a result. However, here, in order to synchronize with another signal, the signal A2 is obtained by delaying the signal A2 by one cycle.
D is the detection result.

【0095】このように、本実施形態においては、被検
査画像S内の1つの単位パターンの欠陥検出にあたっ
て、参照画像R内の異なる2つ以上の理想パターンを用
いて比較判定動作を行うことにより、ノイズの影響を低
減することができる。以下では、上記のような動作など
について、図20を参照しながら、さらに詳しく説明す
る。なお、図20の最上段の番号は、周期性を有する各
信号の周期番号(周期No.)を表記している。図20
では、n=6の場合について例示しており、記号〜
の欠陥が図示の位置に存在するものとしている。
As described above, in the present embodiment, when detecting a defect of one unit pattern in the image S to be inspected, the comparison and determination operation is performed by using two or more different ideal patterns in the reference image R. , The effect of noise can be reduced. Hereinafter, the above operation and the like will be described in more detail with reference to FIG. The numbers at the top of FIG. 20 represent the cycle numbers (cycle numbers) of the respective signals having periodicity. FIG.
Here, the case where n = 6 is illustrated, and
Is present at the position shown in FIG.

【0096】最初に、被検査画像Sの第2周期目から第
(n−2)周期目までの各単位パターンに関する欠陥検
査について説明する。これは、2つの比較結果の信号C
2,C3、すなわち、2周期遅延画像O2と参照画像R
との比較結果を表す信号C2と、3周期遅延画像O3と
参照画像Rとの比較結果を表す信号C3とを用いて行
う。
First, the defect inspection for each unit pattern from the second cycle to the (n-2) th cycle of the inspection image S will be described. This is the signal C of the two comparison results.
2, C3, that is, the two-cycle delayed image O2 and the reference image R
And a signal C3 representing a result of comparison between the three-cycle delayed image O3 and the reference image R.

【0097】ここにおいて、被検査画像Sの第2周期目
から第4(=n−2)周期目は、3周期遅延画像O3の
第5周期目から第7周期目に相当する。また、参照画像
Rの第5周期目から第7周期目は、有効なデータとして
得られており、3周期遅延画像O3と参照画像Rとの比
較結果である信号C3も第5周期目から第7周期目にお
いて有効な値となる。同様に、被検査画像Sの第2周期
目から第4周期目は、2周期遅延画像O2の第4周期目
から第6周期目に相当する。また、参照画像Rの第4周
期目から第6周期目は、有効なデータとして得られてお
り、2周期遅延画像O2と参照画像Rとの比較結果であ
る信号C2も第4周期目から第6周期目において有効な
値となる。
Here, the second to fourth (= n−2) cycles of the image S to be inspected correspond to the fifth to seventh cycles of the three-cycle delayed image O3. The fifth to seventh cycles of the reference image R are obtained as valid data, and the signal C3, which is the comparison result between the three-cycle delayed image O3 and the reference image R, is also obtained from the fifth cycle to the seventh cycle. It becomes a valid value in the seventh cycle. Similarly, the second to fourth cycles of the inspection image S correspond to the fourth to sixth cycles of the two-cycle delayed image O2. The fourth to sixth cycles of the reference image R are obtained as valid data, and the signal C2, which is a comparison result between the two-cycle delayed image O2 and the reference image R, is also obtained from the fourth cycle to the sixth cycle. It becomes a valid value in the sixth cycle.

【0098】そして、信号C2を1周期遅延させて信号
C2Dを生成することにより、信号C3と同期させて、
AND回路63Hによりアンド動作を行い信号A2を得
る。これにより、被検査画像Sの第2周期目から第4周
期目の各パターンについて、参照画像Rの異なる位置に
存在する2つの理想パターンを用いて比較動作を行うこ
とになる。ここで、被検査画像Sの第2周期目のパター
ンU(2)について考えると、参照画像Rの異なる2つ
の理想パターン(第4周期目および第5周期目の理想パ
ターンR(4),R(5))を用いて比較動作を行うこ
とになる。したがって、異なる理想パターンを用いるこ
とにより誤検出を抑制し、ノイズの影響を低減すること
ができる。
Then, the signal C2 is delayed by one cycle to generate the signal C2D, thereby synchronizing with the signal C3,
An AND operation is performed by the AND circuit 63H to obtain a signal A2. Thus, the comparison operation is performed for each pattern in the second to fourth cycles of the inspection image S using two ideal patterns existing at different positions in the reference image R. Here, considering the pattern U (2) in the second cycle of the inspection image S, two ideal patterns (ideal patterns R (4) and R (4) in the fourth and fifth cycles) of the reference image R which are different from each other. The comparison operation is performed using (5)). Therefore, erroneous detection can be suppressed by using different ideal patterns, and the influence of noise can be reduced.

【0099】一方、被検査画像Sの第1周期目(最初の
周期)の単位パターンは、第2周期遅延画像O2におい
て第3周期目の単位パターンに対応するが、参照画像R
内においてはこの第3周期目の周期位置には有効な理想
パターンが存在しない。参照画像Rの第3周期目におい
ては、3周期遅延画像O3が、無効な値を有する無効デ
ータとなっているためである。
On the other hand, the unit pattern in the first cycle (initial cycle) of the image S to be inspected corresponds to the unit pattern in the third cycle in the second cycle delayed image O2, but the reference image R
, There is no effective ideal pattern at this third cycle position. This is because in the third cycle of the reference image R, the three-cycle delayed image O3 is invalid data having invalid values.

【0100】そこで、本来は被検査画像Sの第2周期目
の欠陥検出のために用いる参照画像R内の異なる2つの
理想パターン(すなわち参照画像Rの第4周期目,第5
周期目の単位パターンU(4),U(5))を用いて、
被検査画像Sの第1周期目の単位パターンとの比較検出
動作を行う。ここでは、2つの比較結果の信号C3,C
4、すなわち、3周期遅延画像O3と参照画像Rとの比
較結果を表す信号C3と、4周期遅延画像O4と参照画
像Rとの比較結果を表す信号C4とを用いて比較動作を
行う。
Therefore, two different ideal patterns in the reference image R originally used for the defect detection in the second cycle of the inspection image S (ie, the fourth and fifth ideal patterns in the reference image R).
Using the unit pattern U (4), U (5) of the cycle,
A comparison detection operation with the unit pattern in the first cycle of the inspection image S is performed. Here, the signals C3 and C of two comparison results
4, that is, the comparison operation is performed using the signal C3 indicating the comparison result between the three-cycle delayed image O3 and the reference image R and the signal C4 indicating the comparison result between the four-cycle delayed image O4 and the reference image R.

【0101】ここにおいて、被検査画像Sの第1周期目
は、4周期遅延画像O4の第5周期目に相当する。ま
た、参照画像Rの第5周期目は、有効なデータとして得
られており、4周期遅延画像O4と参照画像Rとの比較
結果である信号C4も第5周期目において有効な値とな
る。したがって、第5周期目において、4周期遅延画像
O4と参照画像Rとを比較して、比較結果の信号C4を
得ることにより、被検査画像Sの1周期目のパターンを
理想パターンと比較することができる。同様に、被検査
画像Sの第1周期目は、3周期遅延画像O3の第4周期
目に相当する。また、参照画像Rの第4周期目は、有効
なデータとして得られており、3周期遅延画像O3と参
照画像Rとの比較結果である信号C3も第4周期目にお
いて有効な値となる。したがって、第4周期目におい
て、3周期遅延画像O3と参照画像Rとを比較して、比
較結果の信号C3を得ることにより、被検査画像Sの1
周期目のパターンを理想パターンと比較することができ
る。そして、この信号C3を1周期遅延させて信号C3
Dを生成して信号C4と同期させてAND回路64Hに
よりアンド動作を行うことにより、信号A3を得る。こ
れにより、被検査画像Sの第1周期目のパターンU
(1)について、参照画像Rの異なる位置に存在する2
つの理想パターン(第4周期目および第5周期目の理想
パターンR(4),R(5))を用いて比較動作を行う
ことができる。
Here, the first cycle of the inspected image S corresponds to the fifth cycle of the four-cycle delayed image O4. The fifth cycle of the reference image R is obtained as valid data, and the signal C4, which is the comparison result between the four-cycle delayed image O4 and the reference image R, also has a valid value in the fifth cycle. Therefore, in the fifth cycle, the pattern of the first cycle of the image to be inspected S is compared with the ideal pattern by comparing the four-cycle delayed image O4 with the reference image R and obtaining the comparison result signal C4. Can be. Similarly, the first cycle of the inspected image S corresponds to the fourth cycle of the three-cycle delayed image O3. The fourth cycle of the reference image R is obtained as valid data, and the signal C3, which is the comparison result between the three-cycle delayed image O3 and the reference image R, also has a valid value in the fourth cycle. Therefore, in the fourth cycle, the three-cycle delayed image O3 is compared with the reference image R, and a signal C3 of the comparison result is obtained.
The pattern in the cycle can be compared with the ideal pattern. Then, the signal C3 is delayed by one cycle to produce a signal C3.
The signal A3 is obtained by generating D and performing an AND operation by the AND circuit 64H in synchronization with the signal C4. Thereby, the pattern U of the first cycle of the inspection image S
Regarding (1), 2 existing at different positions of the reference image R
The comparison operation can be performed using one ideal pattern (the ideal patterns R (4) and R (5) in the fourth and fifth cycles).

【0102】また、被検査画像Sの第5(=n−1)周
期目(最後から2つめの周期)の単位パターンは、第3
周期遅延画像O3において第8(=n+2)周期目の単
位パターンに対応するが、参照画像R内においてはこの
第8周期目の周期位置には有効な理想パターンが存在し
ない。参照画像Rの第8周期目においては、1周期遅延
画像O1が、無効な値を有する無効データとなっている
ためである。
The unit pattern of the fifth (= n−1) -th cycle (the second cycle from the end) of the inspection image S is the third cycle.
Although this corresponds to the eighth (= n + 2) -th cycle unit pattern in the cycle delay image O3, there is no effective ideal pattern at the cycle position in the eighth cycle in the reference image R. This is because in the eighth cycle of the reference image R, the one-cycle delayed image O1 is invalid data having an invalid value.

【0103】そこで、本来は被検査画像Sの第4周期目
の欠陥検出のために用いる参照画像R内の異なる2つの
理想パターン(すなわち参照画像Rの第6周期目,第7
周期目の単位パターンU(6),U(7))を用いて、
被検査画像Sの第5周期目の単位パターンとの比較検出
動作を行う。ここでは、2つの比較結果の信号C1,C
2、すなわち、1周期遅延画像O1と参照画像Rとの比
較結果を表す信号C1と、2周期遅延画像O2と参照画
像Rとの比較結果を表す信号C2とを用いて比較動作を
行う。
Therefore, two different ideal patterns in the reference image R originally used for the defect detection in the fourth cycle of the inspection image S (ie, the sixth and seventh cycles of the reference image R).
Using the unit pattern U (6), U (7) of the cycle,
A comparison detection operation with the unit pattern in the fifth cycle of the inspection target image S is performed. Here, the two comparison result signals C1, C
2, that is, a comparison operation is performed using a signal C1 representing a comparison result between the one-cycle delayed image O1 and the reference image R and a signal C2 representing a comparison result between the two-cycle delayed image O2 and the reference image R.

【0104】ここにおいて、被検査画像Sの第5周期目
は、2周期遅延画像O2の第7周期目に相当する。ま
た、参照画像Rの第7周期目は、有効なデータとして得
られており、2周期遅延画像O2と参照画像Rとの比較
結果である信号C2も第7周期目において有効な値とな
る。したがって、第7周期目において、2周期遅延画像
O2と参照画像Rとを比較して、比較結果の信号C2を
得ることにより、被検査画像Sの5周期目のパターンを
理想パターンと比較することができる。同様に、被検査
画像Sの第5周期目は、1周期遅延画像O1の第6周期
目に相当する。また、参照画像Rの第6周期目は、有効
なデータとして得られており、1周期遅延画像O1と参
照画像Rとの比較結果である信号C1も第6周期目にお
いて有効な値となる。したがって、第6周期目におい
て、1周期遅延画像O1と参照画像Rとを比較して、比
較結果の信号C1を得ることにより、被検査画像Sの5
周期目のパターンを理想パターンと比較することができ
る。そして、信号C1を1周期遅延させて信号C1Dを
生成することにより、信号C2と同期させて、AND回
路62Hによりアンド動作を行い信号A1を得る。これ
により、被検査画像Sの第5周期目のパターンU(5)
について、参照画像Rの異なる位置に存在する2つの理
想パターン(第6周期目および第7周期目の理想パター
ンR(6),R(7))を用いて比較動作を行うことに
なる。なお、ここでは、他の信号との同期をとるため、
信号A1を2周期遅延させた信号A1Dを検出結果とし
ている。
Here, the fifth cycle of the inspected image S corresponds to the seventh cycle of the two-cycle delayed image O2. Further, the seventh cycle of the reference image R is obtained as valid data, and the signal C2 which is a comparison result between the two-cycle delayed image O2 and the reference image R also has a valid value in the seventh cycle. Therefore, in the seventh cycle, the two-cycle delayed image O2 and the reference image R are compared to obtain a comparison result signal C2, whereby the pattern of the fifth cycle of the image S to be inspected is compared with the ideal pattern. Can be. Similarly, the fifth cycle of the inspected image S corresponds to the sixth cycle of the one-cycle delayed image O1. Further, the sixth cycle of the reference image R is obtained as valid data, and the signal C1, which is a comparison result between the one-cycle delayed image O1 and the reference image R, also has a valid value in the sixth cycle. Therefore, in the sixth cycle, the one-cycle delayed image O1 and the reference image R are compared to obtain a comparison result signal C1, thereby obtaining the 5
The pattern in the cycle can be compared with the ideal pattern. Then, the signal C1 is delayed by one cycle to generate the signal C1D, and the AND operation is performed by the AND circuit 62H in synchronization with the signal C2 to obtain the signal A1. Thereby, the pattern U (5) in the fifth cycle of the image to be inspected S
, A comparison operation is performed using two ideal patterns (ideal patterns R (6) and R (7) in the sixth and seventh cycles) existing at different positions in the reference image R. In this case, in order to synchronize with other signals,
A signal A1D obtained by delaying the signal A1 by two periods is used as a detection result.

【0105】さらに、被検査画像Sの第6(=n)周期
目(最後の周期)の単位パターンは、第3周期遅延画像
O3において第9(=n+3)周期目の単位パターンに
対応するが、参照画像R内においてはこの第9周期目の
周期位置には有効な理想パターンが存在しない。参照画
像Rの第9周期目においては、1周期遅延画像O1が、
無効な値を有する無効データとなっているためである。
Further, the unit pattern of the sixth (= n) cycle (last cycle) of the image S to be inspected corresponds to the unit pattern of the ninth (= n + 3) cycle in the third cycle delayed image O3. In the reference image R, there is no effective ideal pattern at the ninth cycle position. In the ninth cycle of the reference image R, the one-cycle delayed image O1 is
This is because the invalid data has invalid values.

【0106】そこで、本来は被検査画像Sの第4周期目
の欠陥検出のために用いる参照画像R内の異なる2つの
理想パターン(すなわち参照画像Rの第6周期目,第7
周期目の単位パターンU(6),U(7))を用いて、
被検査画像Sの第6周期目の単位パターンとの比較検出
動作を行う。ここでは、2つの比較結果である信号C
0,C1、すなわち、被検査画像Sと参照画像Rとの比
較結果を表す信号C0と、1周期遅延画像O1と参照画
像Rとの比較結果を表す信号C1とを用いて比較動作を
行う。
Therefore, two different ideal patterns in the reference image R originally used for the defect detection in the fourth cycle of the inspection image S (ie, the sixth and seventh cycles of the reference image R).
Using the unit pattern U (6), U (7) of the cycle,
A comparison detection operation with the unit pattern in the sixth cycle of the inspection target image S is performed. Here, the signal C, which is the result of the two comparisons,
The comparison operation is performed using 0, C1, that is, the signal C0 representing the comparison result between the image to be inspected S and the reference image R, and the signal C1 representing the comparison result between the one-cycle delayed image O1 and the reference image R.

【0107】ここにおいて、被検査画像Sの第6周期目
は、1周期遅延画像O1の第7周期目に相当する。ま
た、参照画像Rの第7周期目は、有効なデータとして得
られており、1周期遅延画像O1と参照画像Rとの比較
結果である信号C1も第7周期目において有効な値とな
る。したがって、第7周期目において、1周期遅延画像
O1と参照画像Rとを比較して、比較結果の信号C1を
得ることにより、被検査画像Sの6周期目のパターンを
理想パターンと比較することができる。同様に、参照画
像Rの第6周期目は、有効なデータとして得られてお
り、被検査画像Sと参照画像Rとの比較結果である信号
C0も第6周期目において有効な値となる。したがっ
て、第6周期目において、被検査画像Sと参照画像Rと
を比較して、比較結果の信号C0を得ることにより、被
検査画像Sの6周期目のパターンを理想パターンと比較
することができる。そして、信号C0を1周期遅延させ
て信号C0Dを生成して信号C1と同期させて、AND
回路61Hにより信号C0Dと信号C1とのアンド動作
を行い信号A0を得る。これにより、被検査画像Sの第
6周期目のパターンU(6)について、参照画像Rの異
なる位置に存在する2つの理想パターン(第6周期目お
よび第7周期目の理想パターンR(6),R(7))を
用いて比較動作を行うことになる。なお、ここでは、他
の信号との同期をとるため、信号A0を3周期遅延させ
た信号A0Dを検出結果としている。
Here, the sixth cycle of the inspected image S corresponds to the seventh cycle of the one-cycle delayed image O1. Further, the seventh cycle of the reference image R is obtained as valid data, and the signal C1, which is a comparison result between the one-cycle delayed image O1 and the reference image R, also has a valid value in the seventh cycle. Therefore, in the seventh cycle, the one-cycle delayed image O1 and the reference image R are compared to obtain a comparison result signal C1, whereby the pattern of the sixth cycle of the image S to be inspected is compared with the ideal pattern. Can be. Similarly, the sixth cycle of the reference image R is obtained as valid data, and the signal C0, which is the comparison result between the inspection image S and the reference image R, also has a valid value in the sixth cycle. Therefore, in the sixth cycle, the image S to be inspected is compared with the reference image R to obtain the comparison result signal C0, so that the pattern in the sixth cycle of the image S to be inspected can be compared with the ideal pattern. it can. Then, a signal C0D is generated by delaying the signal C0 by one cycle, synchronized with the signal C1, and AND
The signal C0D and the signal C1 are ANDed by the circuit 61H to obtain the signal A0. Thus, for the pattern U (6) in the sixth cycle of the inspection image S, two ideal patterns (ideal patterns R (6) in the sixth and seventh cycles) existing at different positions in the reference image R , R (7)). Here, in order to synchronize with other signals, a signal A0D obtained by delaying the signal A0 by three periods is used as a detection result.

【0108】さらに、上述したように、セレクタ69H
によって、上記の検出結果を表す信号A0D,A1D,
A2D,A3のうちのいずれかの信号が選択される。す
なわち、セレクタ69Hは、被検査画像Sの最初の単位
パターン撮像時点に対して4周期遅延した周期、すなわ
ち第5周期目においては信号A3を選択し、第6周期目
から第8(=n+2)周期目までは信号A2Dを選択
し、第9(=n+3)周期目においては信号A1Dを選
択し、第10(=n+4)周期目においては信号A0D
を選択する。これにより、被検査画像Sに含まれるn個
の各単位パターンに関する欠陥検出結果を順次連続的に
リアルタイムで得ることが可能になる。特に、被検査画
像Sの第1周期目(最初の周期)、第(n−1)周期目
(最後から2つめの周期)、および第n周期目(最後の
周期)の単位パターンの欠陥検出において、その理想パ
ターンを生成するための所定の相対的位置関係にある単
位パターンが存在しない場合にあっても、当該所定の相
対的位置関係にある単位パターンとは異なる単位パター
ンを用いて理想パターンを生成し、その理想パターンに
基づいて比較動作を行うことにより欠陥検査を行ってい
るので、被検査画像S内の全ての単位パターンについて
欠陥検査を行うことができる。
Further, as described above, the selector 69H
The signals A0D, A1D,
One of the signals A2D and A3 is selected. That is, the selector 69H selects the signal A3 in a cycle delayed by four cycles from the time of capturing the first unit pattern of the image S to be inspected, that is, in the fifth cycle, and selects the signal A3 from the sixth cycle to the eighth (= n + 2). The signal A2D is selected up to the cycle, the signal A1D is selected in the ninth (= n + 3) cycle, and the signal A0D is selected in the tenth (= n + 4) cycle.
Select This makes it possible to sequentially and continuously obtain defect detection results for the n unit patterns included in the inspection image S in real time. In particular, the defect detection of the unit pattern of the first cycle (first cycle), the (n-1) th cycle (second last cycle), and the nth cycle (last cycle) of the inspection image S In the case where there is no unit pattern in a predetermined relative positional relationship for generating the ideal pattern, even if there is no unit pattern in the predetermined relative positional relationship, an ideal pattern Is generated, and the defect inspection is performed by performing the comparison operation based on the ideal pattern. Therefore, the defect inspection can be performed for all the unit patterns in the inspection target image S.

【0109】ここで、図20においては、被検査画像S
の第1周期目と第4周期目とにノイズを含む場合を示し
ている。また、図21は、第7実施形態のパターン検査
装置1Gによる処理結果を示す図であり、図20と同様
の位置においてノイズを含む場合を示している。ノイズ
を含む場合には、ノイズの大きさや、比較動作における
閾値の設定値によっては誤検出を伴うことになる。両図
20,21においては、ノイズによる誤検出を黒色部分
(黒色で塗りつぶした部分)で示している。なお、これ
らの図では、説明を行う上での便宜上、ノイズによる誤
検出が頻繁に発生している場合を想定して示している。
Here, in FIG. 20, the inspection image S
3 shows a case where noise is included in the first cycle and the fourth cycle. FIG. 21 is a diagram illustrating a processing result by the pattern inspection apparatus 1G according to the seventh embodiment, and illustrates a case where noise is included at the same position as in FIG. When noise is included, erroneous detection may be caused depending on the magnitude of the noise or the set value of the threshold in the comparison operation. In both FIGS. 20 and 21, erroneous detection due to noise is indicated by a black portion (portion painted black). In these figures, for the sake of convenience in description, it is assumed that erroneous detection due to noise frequently occurs.

【0110】図20および図21を比較すると判るよう
に、図21の検査結果においては、被検査画像Sの第
1,2,4,6周期目の単位パターンの検出結果に対応
する第3,4,6,8周期目において合計4つの誤検出
を伴っている。一方、図20に検査結果においては、被
検査画像Sの第1,4,6周期目の単位パターンの検出
結果に対応する第5,8,10周期目において合計3つ
の誤検出を伴っている。すなわち、図20に示す場合に
は、図21に示す場合よりも、1つ誤検出が減ってい
る。
As can be seen by comparing FIGS. 20 and 21, in the inspection result of FIG. 21, the third and third unit patterns corresponding to the detection results of the unit patterns in the first, second, fourth and sixth cycles of the image S to be inspected. In the fourth, sixth, and eighth periods, a total of four erroneous detections are involved. On the other hand, the inspection result shown in FIG. 20 involves a total of three erroneous detections in the fifth, eighth, and tenth cycles corresponding to the detection results of the unit patterns in the first, fourth, and sixth cycles of the image S to be inspected. . That is, in the case shown in FIG. 20, one erroneous detection is reduced as compared with the case shown in FIG.

【0111】このように、第8実施形態のパターン検査
装置1Hによれば、被検査画像Sに含まれる異なる複数
(3つ)の単位パターンの組合せに基づいて生成された
複数の理想パターンの中から、参照画像Rに含まれる少
なくとも2つの異なる理想パターンを選択し、選択され
た少なくとも理想パターンのそれぞれと被検査画像に含
まれる単位パターンとを比較した複数の比較結果を用い
て欠陥を判定するので、同等のノイズが被検査画像S内
に含まれている場合であっても、第7実施形態のパター
ン検査装置1Gに比べて、誤検出を抑制してノイズの影
響を低減させることができることが判る。
As described above, according to the pattern inspection apparatus 1H of the eighth embodiment, a plurality of ideal patterns generated based on a combination of a plurality of (three) unit patterns included in the image S to be inspected are included. , At least two different ideal patterns included in the reference image R are selected, and a defect is determined using a plurality of comparison results obtained by comparing each of the selected at least ideal patterns with a unit pattern included in the inspection image. Therefore, even when the same noise is included in the image to be inspected S, the erroneous detection can be suppressed and the influence of the noise can be reduced as compared with the pattern inspection apparatus 1G of the seventh embodiment. I understand.

【0112】<その他>上記第7実施形態および第8実
施形態においては、参照画像Rを生成する参照画像作成
回路40Gおよび40Hは、第3実施形態と同様の構成
を有するものとしたが、これに限定されず、第1実施形
態または第2実施形態などと同様の構成を有していても
よい。これらによって生成される参照画像Rを用いて、
上記と同様の欠陥検出動作を行うことができる。
<Others> In the seventh and eighth embodiments, the reference image creation circuits 40G and 40H for generating the reference image R have the same configuration as in the third embodiment. The present invention is not limited to this, and may have the same configuration as the first embodiment or the second embodiment. Using the reference image R generated by these,
The same defect detection operation as described above can be performed.

【0113】また、上記各実施形態では、半導体ウエハ
上の単位パターンとして「ダイ」が繰り返し配列されて
いる場合について説明したが、これに限定されず、「ダ
イ」内部のさらに小さな単位パターンを「単位パター
ン」としてもよい。
In each of the above embodiments, the case where “dies” are repeatedly arranged as unit patterns on the semiconductor wafer has been described. However, the present invention is not limited to this. A "unit pattern" may be used.

【0114】さらに、上記各実施形態においては、検査
対象物として半導体ウエハを例示したが、これに限定さ
れず、繰り返しパターンを有するものであればよく、た
とえば、カラーフィルター、シャドウマスク、プリント
配線板などであってもよい。
Further, in each of the above embodiments, the semiconductor wafer is exemplified as the object to be inspected. However, the invention is not limited to this, and any object having a repetitive pattern may be used, for example, a color filter, a shadow mask, a printed wiring board. And so on.

【0115】[0115]

【発明の効果】以上のように、請求項1ないし請求項1
0に記載のパターン検査装置によれば、被検査画像を入
力する被検査画像入力手段と、被検査画像に含まれる複
数の単位パターンに基づいて理想パターンを生成する理
想パターン生成手段と、生成された理想パターンと被検
査画像に含まれる単位パターンとを比較した比較結果を
用いて、被検査画像中の単位パターンの欠陥を判定する
比較判定手段とを備えるので、ノイズの影響が軽減され
た理想パターンを自動的に生成し、生成された理想パタ
ーンとの比較を行って欠陥検出を行うことにより、検出
結果に対するノイズの影響を低減させて安定した欠陥検
出が可能になる。
As described above, claims 1 to 1 are described.
According to the pattern inspection apparatus described in Item 0, the inspection image input means for inputting the inspection image, the ideal pattern generation means for generating an ideal pattern based on a plurality of unit patterns included in the inspection image, A comparison / determination unit that determines a defect of the unit pattern in the inspected image by using a comparison result of comparing the ideal pattern and the unit pattern included in the inspected image. By automatically generating a pattern and performing defect detection by comparing the generated ideal pattern with the generated ideal pattern, it is possible to reduce the influence of noise on the detection result and perform stable defect detection.

【0116】特に、請求項5に記載のパターン検査装置
によれば、被検査単位パターンに対して隣接する単位パ
ターンを使用して理想パターンを生成するので、被検査
画像内の単位パターンが徐々に変化する場合であって
も、より理想的な理想パターンを生成することができ
る。
In particular, according to the pattern inspection apparatus of the present invention, since the ideal pattern is generated using the unit pattern adjacent to the unit pattern to be inspected, the unit pattern in the image to be inspected gradually becomes smaller. Even if it changes, a more ideal pattern can be generated.

【0117】また、請求項6に記載のパターン検査装置
によれば、理想パターンを生成するための所定の相対的
位置関係にある単位パターンが存在しない場合であって
も、被検査画像中に実在する他の単位パターンを代用し
て理想パターンを生成するので、被検査画像内の全ての
単位パターンについて欠陥検査を行うことができる。
Further, according to the pattern inspection apparatus of the sixth aspect, even if there is no unit pattern having a predetermined relative positional relationship for generating an ideal pattern, the actual pattern exists in the image to be inspected. Since the ideal pattern is generated by substituting the other unit patterns to be inspected, the defect inspection can be performed for all the unit patterns in the image to be inspected.

【0118】さらに、請求項8に記載のパターン検査装
置によれば、比較判定手段は、欠陥を有する単位パター
ンの位置を特定する欠陥位置特定手段を有するので、被
検査画像に含まれる欠陥が理想パターン生成に与える影
響を排除して、この影響に起因する誤検出を抑制するこ
とができる。
Further, according to the pattern inspection apparatus of the present invention, since the comparing and judging means has the defect position specifying means for specifying the position of the unit pattern having the defect, the defect contained in the image to be inspected is ideal. By eliminating the influence on the pattern generation, erroneous detection due to this influence can be suppressed.

【0119】また、請求項9に記載のパターン検査装置
によれば、理想パターン生成手段は、被検査画像の画像
信号を単位パターン順次に入力する手段と、被検査画像
の画像信号を単位パターンの繰返し周期の整数倍の遅延
時間だけ遅延させることによって、互いに異なる遅延時
間を持った複数の遅延被検査画像信号を得る手段と、被
検査画像の画像信号と複数の遅延被検査画像信号とから
なる集合のうち、2以上の信号を合成して理想パターン
の信号を得る手段とを備えるので、リアルタイムに理想
パターンを生成することができる。したがって、このリ
アルタイムに得られる理想パターンを用いることによ
り、パターン検査をリアルタイムに行うことができる。
According to the pattern inspection apparatus of the ninth aspect, the ideal pattern generating means includes means for sequentially inputting the image signal of the image to be inspected in unit patterns, and converting the image signal of the image to be inspected into the unit pattern. Means for obtaining a plurality of delayed inspected image signals having different delay times by delaying by an integral multiple of the repetition period, and an image signal of the inspected image and a plurality of delayed inspected image signals. Means for synthesizing two or more signals of the set to obtain a signal of an ideal pattern is provided, so that an ideal pattern can be generated in real time. Therefore, the pattern inspection can be performed in real time by using the ideal pattern obtained in real time.

【0120】さらに、請求項10に記載のパターン検査
装置によれば、理想パターン生成手段は、被検査画像に
含まれる単位パターンの異なる組合せに基づいて複数の
理想パターンを生成可能であり、比較判定手段は、複数
の理想パターンのうち少なくとも2つと、被検査画像に
含まれる被検査単位パターンとを比較して被検査単位パ
ターンの欠陥を判定するので、ノイズの影響をさらに低
減することができる。
Further, according to the pattern inspection apparatus of the tenth aspect, the ideal pattern generation means can generate a plurality of ideal patterns based on different combinations of the unit patterns included in the image to be inspected. Since the means determines at least two of the plurality of ideal patterns and the unit pattern to be inspected included in the image to be inspected to determine a defect in the unit pattern to be inspected, the influence of noise can be further reduced.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1実施形態に係るパターン検査装置
1Aの構成を表す概略図である。
FIG. 1 is a schematic diagram illustrating a configuration of a pattern inspection apparatus 1A according to a first embodiment of the present invention.

【図2】半導体ウエハWの詳細を表す平面図である。FIG. 2 is a plan view illustrating details of a semiconductor wafer W.

【図3】理想パターン生成部30Aおよび比較判定部5
0Aの機能ブロック図である。
FIG. 3 shows an ideal pattern generation unit 30A and a comparison determination unit 5
It is a functional block diagram of 0A.

【図4】パターン検査装置1Aにおいて得られる各画像
信号の概要を示す説明図である。
FIG. 4 is an explanatory diagram showing an outline of each image signal obtained in the pattern inspection apparatus 1A.

【図5】理想パターン生成部30Bおよび比較判定部5
0Bの機能ブロック図である。
FIG. 5 shows an ideal pattern generation unit 30B and a comparison determination unit 5
It is a functional block diagram of 0B.

【図6】パターン検査装置1Bにおいて得られる各画像
信号の概要を示す説明図である。
FIG. 6 is an explanatory diagram showing an outline of each image signal obtained in the pattern inspection apparatus 1B.

【図7】理想パターン生成部30Cおよび比較判定部5
0Cの機能ブロック図である。
FIG. 7 shows an ideal pattern generation unit 30C and a comparison determination unit 5
It is a functional block diagram of 0C.

【図8】パターン検査装置1Cにおいて得られる各画像
信号の概要を示す説明図である。
FIG. 8 is an explanatory diagram showing an outline of each image signal obtained in the pattern inspection apparatus 1C.

【図9】理想パターン生成部30Dおよび比較判定部5
0Dの機能ブロック図である。
FIG. 9 shows an ideal pattern generation unit 30D and a comparison determination unit 5
It is a functional block diagram of 0D.

【図10】パターン検査装置1Dにおいて得られる各画
像信号の概要を示す説明図である。
FIG. 10 is an explanatory diagram showing an outline of each image signal obtained in the pattern inspection apparatus 1D.

【図11】理想パターン生成部30Eおよび比較判定部
50Eの機能ブロック図である。
FIG. 11 is a functional block diagram of an ideal pattern generation unit 30E and a comparison determination unit 50E.

【図12】パターン検査装置1Eにおいて得られる各画
像信号の概要を示す説明図である。
FIG. 12 is an explanatory diagram showing an outline of each image signal obtained in the pattern inspection apparatus 1E.

【図13】理想パターン生成部30Fおよび比較判定部
50Fの機能ブロック図である。
FIG. 13 is a functional block diagram of an ideal pattern generation unit 30F and a comparison determination unit 50F.

【図14】パターン検査装置1Fにおいて得られる各画
像信号の概要を示す説明図である。
FIG. 14 is an explanatory diagram showing an outline of each image signal obtained in the pattern inspection apparatus 1F.

【図15】理想パターン生成部30Gおよび比較判定部
50Gの機能ブロック図である。
FIG. 15 is a functional block diagram of an ideal pattern generation unit 30G and a comparison determination unit 50G.

【図16】パターン検査装置1Gにおいて得られる各画
像信号の概要を示す説明図である。
FIG. 16 is an explanatory diagram showing an outline of each image signal obtained in the pattern inspection apparatus 1G.

【図17】パターン検査装置1Gにおいて得られる各画
像信号の概要を示す説明図である。
FIG. 17 is an explanatory diagram showing an outline of each image signal obtained in the pattern inspection apparatus 1G.

【図18】理想パターン生成部30Hおよび比較判定部
50Hの機能ブロック図である。
FIG. 18 is a functional block diagram of an ideal pattern generation unit 30H and a comparison determination unit 50H.

【図19】パターン検査装置1Hにおいて得られる各画
像信号の概要を示す説明図である。
FIG. 19 is an explanatory diagram showing an outline of each image signal obtained in the pattern inspection apparatus 1H.

【図20】パターン検査装置1Hにおいて得られる各画
像信号の概要を示す説明図である。
FIG. 20 is an explanatory diagram showing an outline of each image signal obtained in the pattern inspection apparatus 1H.

【図21】パターン検査装置1Gにおいて得られる各画
像信号の概要を示す説明図である。
FIG. 21 is an explanatory diagram showing an outline of each image signal obtained in the pattern inspection apparatus 1G.

【図22】従来技術を説明するための図である。FIG. 22 is a diagram for explaining a conventional technique.

【図23】従来技術を説明するための図である。FIG. 23 is a diagram for explaining a conventional technique.

【符号の説明】[Explanation of symbols]

1,1A〜1H パターン検査装置 2 対象物 3 XYテーブル 10 画像入力処理部 30,30A〜30H 理想パターン生成部 50,50A〜50H 比較判定部 DT 欠陥 PI,R 参照画像 R(i) 理想パターン S 被検査画像(原画像) U 単位パターン W 半導体ウエハ 1, 1A to 1H Pattern inspection apparatus 2 Object 3 XY table 10 Image input processing unit 30, 30A to 30H Ideal pattern generation unit 50, 50A to 50H Comparison judgment unit DT Defect PI, R Reference image R (i) Ideal pattern S Inspection image (original image) U Unit pattern W Semiconductor wafer

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G01N 21/956 H01L 21/66 J G06T 7/00 G01B 11/24 F H01L 21/66 K G06F 15/62 405A (72)発明者 大西 浩之 京都市上京区堀川通寺之内上る4丁目天神 北町1番地の1 大日本スクリーン製造株 式会社内 Fターム(参考) 2F065 AA49 AA56 BB02 BB18 CC01 CC19 CC25 DD04 FF01 FF04 JJ02 JJ25 MM03 PP12 QQ04 QQ11 QQ25 QQ26 QQ31 QQ42 RR03 2G051 AA51 AA65 AA90 CA03 DA07 EA04 EA08 EA11 EA25 EB01 EB09 EC03 4M106 AA01 AA20 CA39 DB02 DJ04 DJ14 DJ18 5B057 AA03 DA03 DA07 DB02 DC32──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) G01N 21/956 H01L 21/66 J G06T 7/00 G01B 11/24 F H01L 21/66 K G06F 15/62 405A (72) Inventor Hiroyuki Onishi 4-chome Tenjin Kitamachi 1-chome, Horikawa-dori Teranouchi, Kamigyo-ku, Kyoto F-term (reference) 2F065 AA49 AA56 BB02 BB18 CC01 CC19 CC25 DD04 FF01 FF04 JJ02 JJ25 MM03 PP12 QQ04 QQ11 QQ25 QQ26 QQ31 QQ42 RR03 2G051 AA51 AA65 AA90 CA03 DA07 EA04 EA08 EA11 EA25 EB01 EB09 EC03 4M106 AA01 AA20 CA39 DB02 DJ04 DJ14 DJ18 5B007 AA03 DA03 DA03 DA03 DA03 DA03 DA03 DA03 DA03

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 繰り返しパターンの欠陥検査を行うパタ
ーン検査装置であって、 被検査画像を入力する被検査画像入力手段と、 被検査画像に含まれる複数の単位パターンに基づいて理
想パターンを生成する理想パターン生成手段と、 前記生成された理想パターンと前記被検査画像に含まれ
る単位パターンとを比較した比較結果を用いて、前記被
検査画像中の単位パターンの欠陥を判定する比較判定手
段と、を備えることを特徴とするパターン検査装置。
1. A pattern inspection apparatus for performing a defect inspection of a repetitive pattern, comprising: an inspection image input means for inputting an inspection image; and an ideal pattern generated based on a plurality of unit patterns included in the inspection image. An ideal pattern generation unit, a comparison determination unit that determines a defect of the unit pattern in the inspection image using a comparison result of comparing the generated ideal pattern and a unit pattern included in the inspection image, A pattern inspection apparatus comprising:
【請求項2】 請求項1に記載のパターン検査装置にお
いて、 前記被検査画像中の単位パターンが順次に被検査単位パ
ターンとして選択され、 前記理想パターンは、前記被検査単位パターンと、前記
被検査単位パターン以外の単位パターンとに基づいて生
成されることを特徴とするパターン検査装置。
2. The pattern inspection apparatus according to claim 1, wherein unit patterns in the inspection image are sequentially selected as inspection unit patterns, and the ideal pattern is the inspection unit pattern and the inspection unit. A pattern inspection apparatus, which is generated based on a unit pattern other than a unit pattern.
【請求項3】 請求項1に記載のパターン検査装置にお
いて、 前記被検査画像中の単位パターンが順次に被検査単位パ
ターンとして選択され、 前記理想パターンは、前記被検査単位パターン以外の複
数の単位パターンに基づいて生成されることを特徴とす
るパターン検査装置。
3. The pattern inspection apparatus according to claim 1, wherein unit patterns in the inspection image are sequentially selected as inspection unit patterns, and the ideal pattern is a plurality of units other than the inspection unit pattern. A pattern inspection apparatus characterized by being generated based on a pattern.
【請求項4】 請求項1または請求項2に記載のパター
ン検査装置において、 前記理想パターンの生成に使用される前記被検査単位パ
ターン以外の単位パターンは、前記被検査単位パターン
に対して所定の相対的位置関係にある単位パターンであ
ることを特徴とするパターン検査装置。
4. The pattern inspection apparatus according to claim 1, wherein a unit pattern other than the unit pattern to be inspected used for generating the ideal pattern is a predetermined unit pattern with respect to the unit pattern to be inspected. A pattern inspection apparatus characterized by being unit patterns having a relative positional relationship.
【請求項5】 請求項4に記載のパターン検査装置にお
いて、 前記理想パターンの生成に使用される前記被検査単位パ
ターン以外の単位パターンは、前記被検査単位パターン
に対して隣接する単位パターンであることを特徴とする
パターン検査装置。
5. The pattern inspection apparatus according to claim 4, wherein the unit pattern other than the unit pattern to be used for generating the ideal pattern is a unit pattern adjacent to the unit pattern to be inspected. A pattern inspection apparatus, characterized in that:
【請求項6】 請求項4または請求項5に記載のパター
ン検査装置において、 前記被検査単位パターンに対して前記相対的位置関係に
ある場所に単位パターンが存在しない場合には、前記被
検査画像中に実在する他の単位パターンを代用して前記
理想パターンを生成することを特徴とするパターン検査
装置。
6. The pattern inspection apparatus according to claim 4, wherein, when a unit pattern does not exist at a position having the relative positional relationship with respect to the unit pattern to be inspected, the image to be inspected. A pattern inspection apparatus, wherein the ideal pattern is generated by substituting another unit pattern actually existing therein.
【請求項7】 請求項6に記載のパターン検査装置にお
いて、 前記理想パターン生成手段が、 前記被検査画像の一方側の端部付近の単位パターンが前
記被検査単位パターンとなる際には、前記相対的位置関
係を変更することにより、前記被検査単位パターンに関
して前記被検査画像の他方側に隣接する単位パターンを
利用して前記理想パターンを生成する手段、を備えるこ
とを特徴とするパターン検査装置。
7. The pattern inspection apparatus according to claim 6, wherein the ideal pattern generating unit is configured to: when a unit pattern near one end of the inspection image becomes the inspection unit pattern, Means for generating the ideal pattern using a unit pattern adjacent to the other side of the image to be inspected with respect to the unit pattern to be inspected by changing a relative positional relationship. .
【請求項8】 請求項1ないし請求項7のいずれかに記
載のパターン検査装置において、 前記比較判定手段が、 前記被検査画像と前記理想パターンとの差分を単位パタ
ーンごとに求めて、一連の信号列を得る手段と、 前記一連の信号列に現れる変動部分のうち、所定の閾値
以上の絶対値を有する変動部分を抽出し、それによって
欠陥を有する単位パターンの位置を特定する位置特定手
段と、を備えることを特徴とするパターン検査装置。
8. The pattern inspection apparatus according to claim 1, wherein the comparison and determination unit obtains a difference between the image to be inspected and the ideal pattern for each unit pattern, Means for obtaining a signal sequence; and a position specifying means for extracting a variable portion having an absolute value equal to or greater than a predetermined threshold value from among the variable portions appearing in the series of signal sequences, thereby specifying a position of a unit pattern having a defect. A pattern inspection apparatus comprising:
【請求項9】 請求項1ないし請求項7のいずれかに記
載のパターン検査装置において、 前記理想パターン生成手段は、 前記被検査画像の画像信号を単位パターン順次に入力す
る手段と、 前記被検査画像の画像信号を単位パターンの繰返し周期
の整数倍の遅延時間だけ遅延させることによって、互い
に異なる遅延時間を持った複数の遅延被検査画像信号を
得る手段と、 前記被検査画像の画像信号と前記複数の遅延被検査画像
信号とからなる集合のうち、2以上の信号を合成して前
記理想パターンの信号を得る手段と、を備えることを特
徴とするパターン検査装置。
9. The pattern inspection apparatus according to claim 1, wherein the ideal pattern generating unit is configured to sequentially input an image signal of the image to be inspected in a unit pattern; Means for obtaining a plurality of delayed inspected image signals having different delay times by delaying the image signal of the image by an integral multiple of the repetition period of the unit pattern; and Means for synthesizing two or more signals of a set consisting of a plurality of delayed image signals to be inspected to obtain a signal of the ideal pattern.
【請求項10】 請求項1に記載のパターン検査装置に
おいて、 前記理想パターン生成手段は、前記被検査画像に含まれ
る単位パターンの異なる組合せに基づいて複数の理想パ
ターンを生成可能であり、 前記比較判定手段は、前記複数の理想パターンのうち少
なくとも2つと、前記被検査画像に含まれる被検査単位
パターンとを比較して前記被検査単位パターンの欠陥を
判定する、ことを特徴とするパターン検査装置。
10. The pattern inspection apparatus according to claim 1, wherein the ideal pattern generation unit can generate a plurality of ideal patterns based on different combinations of unit patterns included in the inspection image. A pattern inspection apparatus for comparing at least two of the plurality of ideal patterns with a unit pattern to be inspected included in the image to be inspected to determine a defect of the unit pattern to be inspected; .
JP26542499A 1999-09-20 1999-09-20 Pattern inspection device Expired - Lifetime JP4175748B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26542499A JP4175748B2 (en) 1999-09-20 1999-09-20 Pattern inspection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26542499A JP4175748B2 (en) 1999-09-20 1999-09-20 Pattern inspection device

Publications (2)

Publication Number Publication Date
JP2001091228A true JP2001091228A (en) 2001-04-06
JP4175748B2 JP4175748B2 (en) 2008-11-05

Family

ID=17416976

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26542499A Expired - Lifetime JP4175748B2 (en) 1999-09-20 1999-09-20 Pattern inspection device

Country Status (1)

Country Link
JP (1) JP4175748B2 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003035525A (en) * 2001-07-24 2003-02-07 Nec Corp Method and device for surface inspection
WO2008068896A1 (en) * 2006-12-04 2008-06-12 Tokyo Electron Limited Defect detecting device, defect detecting method, information processing device, information processing method, and program therefor
WO2008068895A1 (en) * 2006-12-04 2008-06-12 Tokyo Electron Limited Defect detecting device, defect detecting method, information processing device, information processing method, and program therefor
WO2008068894A1 (en) * 2006-12-04 2008-06-12 Tokyo Electron Limited Defect detecting device, defect detecting method, information processing device, information processing method and program
JP2009218241A (en) * 2008-03-07 2009-09-24 Hitachi High-Technologies Corp Device and method for inspecting circuit pattern
JP2010151824A (en) * 2005-01-14 2010-07-08 Hitachi High-Technologies Corp Method and apparatus for inspecting pattern
CN102124411A (en) * 2008-04-04 2011-07-13 卡尔蔡司Smt有限责任公司 Device for microlithographic projection illumination and device for the inspection of a surface of a substrate
JP2012019220A (en) * 2011-08-01 2012-01-26 Hitachi High-Technologies Corp Circuit pattern inspection device and circuit pattern inspection method
JP2012059129A (en) * 2010-09-10 2012-03-22 Bridgestone Corp Tire master image generation method and tire master image generation device
US8467594B2 (en) 2005-01-14 2013-06-18 Hitachi High-Technologies Corporation Method and apparatus for inspecting patterns formed on a substrate
JP2015115504A (en) * 2013-12-12 2015-06-22 三星電子株式会社Samsung Electronics Co.,Ltd. Semiconductor inspection method, semiconductor inspection device, and method of manufacturing semiconductor
TWI491873B (en) * 2003-05-09 2015-07-11 Ebara Corp Inspection method, inspection apparatus and electron beam apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01173172A (en) * 1987-12-28 1989-07-07 Laser Tec Kk Pattern defect inspecting method
JPH095058A (en) * 1995-06-15 1997-01-10 Hamamatsu Photonics Kk Defect inspection device for regular pattern
JPH09265537A (en) * 1996-03-29 1997-10-07 Hitachi Ltd Image processing method
JPH11160247A (en) * 1997-11-28 1999-06-18 Hitachi Ltd Method and apparatus for visual inspection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01173172A (en) * 1987-12-28 1989-07-07 Laser Tec Kk Pattern defect inspecting method
JPH095058A (en) * 1995-06-15 1997-01-10 Hamamatsu Photonics Kk Defect inspection device for regular pattern
JPH09265537A (en) * 1996-03-29 1997-10-07 Hitachi Ltd Image processing method
JPH11160247A (en) * 1997-11-28 1999-06-18 Hitachi Ltd Method and apparatus for visual inspection

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003035525A (en) * 2001-07-24 2003-02-07 Nec Corp Method and device for surface inspection
TWI491873B (en) * 2003-05-09 2015-07-11 Ebara Corp Inspection method, inspection apparatus and electron beam apparatus
US8824774B2 (en) 2005-01-14 2014-09-02 Hitachi High-Technologies Corporation Method and apparatus for inspecting patterns formed on a substrate
US8467594B2 (en) 2005-01-14 2013-06-18 Hitachi High-Technologies Corporation Method and apparatus for inspecting patterns formed on a substrate
JP2010151824A (en) * 2005-01-14 2010-07-08 Hitachi High-Technologies Corp Method and apparatus for inspecting pattern
JP2008139203A (en) * 2006-12-04 2008-06-19 Tokyo Electron Ltd Apparatus and method for detecting defect, apparatus and method for processing information, and its program
WO2008068895A1 (en) * 2006-12-04 2008-06-12 Tokyo Electron Limited Defect detecting device, defect detecting method, information processing device, information processing method, and program therefor
WO2008068896A1 (en) * 2006-12-04 2008-06-12 Tokyo Electron Limited Defect detecting device, defect detecting method, information processing device, information processing method, and program therefor
KR100924985B1 (en) 2006-12-04 2009-11-04 도쿄엘렉트론가부시키가이샤 Defect detecting apparatus, defect detecting method, information processing apparatus, information processing method, and program therefor
KR100924986B1 (en) 2006-12-04 2009-11-04 도쿄엘렉트론가부시키가이샤 Defect detecting apparatus, defect detecting method, information processing apparatus, information processing method, and program therefor
JP2008139201A (en) * 2006-12-04 2008-06-19 Tokyo Electron Ltd Apparatus and method for detecting defect, apparatus and method for processing information, and its program
US7783102B2 (en) 2006-12-04 2010-08-24 Tokyo Electron Limited Defect detecting apparatus, defect detecting method, information processing apparatus, information processing method, and program therefor
US7783104B2 (en) 2006-12-04 2010-08-24 Tokyo Electron Limited Defect detecting apparatus, defect detecting method, information processing apparatus, information processing method, and program therefor
JP2008139202A (en) * 2006-12-04 2008-06-19 Tokyo Electron Ltd Apparatus and method for detecting defect, apparatus and method for processing information, and its program
WO2008068894A1 (en) * 2006-12-04 2008-06-12 Tokyo Electron Limited Defect detecting device, defect detecting method, information processing device, information processing method and program
US8121395B2 (en) 2008-03-07 2012-02-21 Hitachi High-Technologies Corporation Inspection apparatus and an inspection method for inspecting a circuit pattern
JP2009218241A (en) * 2008-03-07 2009-09-24 Hitachi High-Technologies Corp Device and method for inspecting circuit pattern
CN102124411A (en) * 2008-04-04 2011-07-13 卡尔蔡司Smt有限责任公司 Device for microlithographic projection illumination and device for the inspection of a surface of a substrate
US8953173B2 (en) 2008-04-04 2015-02-10 Carl Zeiss Smt Gmbh Apparatus for microlithographic projection exposure and apparatus for inspecting a surface of a substrate
JP2012059129A (en) * 2010-09-10 2012-03-22 Bridgestone Corp Tire master image generation method and tire master image generation device
JP2012019220A (en) * 2011-08-01 2012-01-26 Hitachi High-Technologies Corp Circuit pattern inspection device and circuit pattern inspection method
JP2015115504A (en) * 2013-12-12 2015-06-22 三星電子株式会社Samsung Electronics Co.,Ltd. Semiconductor inspection method, semiconductor inspection device, and method of manufacturing semiconductor

Also Published As

Publication number Publication date
JP4175748B2 (en) 2008-11-05

Similar Documents

Publication Publication Date Title
US4949390A (en) Interconnect verification using serial neighborhood processors
JP2001091228A (en) Pattern inspection device
JP4776308B2 (en) Image defect inspection apparatus, image defect inspection system, defect classification apparatus, and image defect inspection method
US7436993B2 (en) Apparatus and method for detecting defects in periodic pattern on object
JP2003223630A (en) Method and device for pattern inspection
JP2006098163A (en) Flaw detector and flaw detecting method
WO2005001456A1 (en) Pattern comparison inspection method and pattern comparison inspection device
JPH05256796A (en) Inspecting system
IL189010A (en) Advanced cell-to-cell inspection
JPH0526136B2 (en)
JP4564768B2 (en) Pattern inspection method and apparatus
EP0488031B1 (en) Method of and apparatus for inspecting a printed circuit board
JP2006113073A (en) System and method for pattern defect inspection
US7706598B2 (en) Method and apparatus for visual inspection
JP3752849B2 (en) Pattern defect inspection apparatus and pattern defect inspection method
JP2696000B2 (en) Printed circuit board pattern inspection method
JPH08136466A (en) Image pattern inspection device
JP2502853B2 (en) Wiring pattern inspection device
JPH0674972B2 (en) Pattern defect detector
WO1988008168A2 (en) Interconnect verification using serial neighborhood processors
JP2003203218A (en) Visual inspection device and method
JP2818644B2 (en) Micro shape detector
JP2561050B2 (en) Repeat pattern defect inspection system
JPH07200830A (en) Defect checking device
JPS6147365B2 (en)

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040401

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050215

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050415

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060725

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060911

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20061005

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20070223

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080819

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110829

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4175748

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110829

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110829

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120829

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120829

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120829

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130829

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term