JPS63311153A - Pattern inspecting apparatus - Google Patents

Pattern inspecting apparatus

Info

Publication number
JPS63311153A
JPS63311153A JP14710387A JP14710387A JPS63311153A JP S63311153 A JPS63311153 A JP S63311153A JP 14710387 A JP14710387 A JP 14710387A JP 14710387 A JP14710387 A JP 14710387A JP S63311153 A JPS63311153 A JP S63311153A
Authority
JP
Japan
Prior art keywords
image
circuit
pattern
deviation
positional deviation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP14710387A
Other languages
Japanese (ja)
Inventor
Makoto Kogure
誠 小暮
Yutaka Sakurai
桜居 裕
Masanori Suzuki
正典 鈴木
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP14710387A priority Critical patent/JPS63311153A/en
Publication of JPS63311153A publication Critical patent/JPS63311153A/en
Pending legal-status Critical Current

Links

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

PURPOSE:To perform inspection accurately regardless of a pattern, by stopping the position correcting operation in the direction of position deviation, when the amount of the data of the position deviation is less than a specified threshold value. CONSTITUTION:Binary coded video signals are stored into the shift registers of image memories 91A and 91B. Every time the image datum of one bit is inputted, the image signal is shifted by every one bit. When the signal is taken out of each position of the shift registers of the memories 91A and 91B, an image which is deviated in the X and Y directions with respect to a reference image is obtained. The images are taken out with delay circuits 92A and 92B and inputted into an exclusive OR circuit 93. The disagreed parts of the images, which are deviated by several bits, are detected and counted with a counter circuits 94. The counter circuit, of minimum count is identified with computing circuits 95A and 95B. When the rare of change in each of X and Y is less than a specified preset value, the output of the position deviation in that direction from a changing-rate computing circuit 96A or 96B is forcibly judged to be no deviation. The signal of the judgment is outputted to a position-deviation correcting circuit 97. In this way, inspection can be performed accurately regardless of a pattern to be inspected.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はパターン検査装置に係り、特に半濡体やプリン
ト基板及びそれらの製造に使用される回路パターンを複
数の2次元パターンを比較してパターンの外観的欠陥を
検査するのに好適なパターン検査装置に関するものであ
る。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a pattern inspection device, and in particular, a pattern inspection device that compares a plurality of two-dimensional patterns for semi-wet bodies, printed circuit boards, and circuit patterns used in their manufacture. The present invention relates to a pattern inspection device suitable for inspecting patterns for external defects.

〔従来の技術〕[Conventional technology]

従来のパターン検査装置に用いられていた排他的論理和
を使った画像の位置合わせ方式は、2つの画像の不一致
部分の計数を基準画像とX、Yそれぞれの方向に数ビッ
トずつずらした画像間において行い、その計数値により
無条件に不一致部分が最小となるところへ補正していた
。そのため、検査対象の一部に不一致部分の計数値が小
さいパターンがあると、検査対象の欠陥や、画像信号中
のノイズにより誤動作することがあった。
The image alignment method using exclusive OR, which is used in conventional pattern inspection equipment, calculates the number of mismatched parts between two images by shifting them by several bits in each of the X and Y directions from the reference image. The calculation was carried out using the counted value, and the discrepancy was unconditionally corrected to the minimum value. Therefore, if there is a pattern with a small count of mismatched portions in a part of the object to be inspected, malfunctions may occur due to defects in the object to be inspected or noise in the image signal.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記従来の装置は、基準画像をずらした複数組の画像が
計数した不一致部分の計数値を加算し、その加算値があ
る値以下のときは、画像中に位置合わせに有効なパター
ンがないと判定し、位置合わせ動作をさせないことによ
り誤った位置合わせ動作を防止していた。
The above-mentioned conventional device adds the counted values of the mismatched portions of multiple sets of images with shifted reference images, and when the added value is less than a certain value, it is determined that there is no effective pattern for alignment in the images. This prevents erroneous positioning by not performing the positioning.

しかし、2次元画像の個別方向に対する位置合わせの誤
動作防止については配慮されていなかった。そのため、
第4図(a)に示すように、各方向の不一致部分の計数
値変化率が大きい画像に対値変化率が極端に小さい場合
に、変化率の小さい方向の位置合わせは、ノイズ等の外
乱により誤動作するという問題があった。
However, no consideration has been given to preventing malfunctions in positioning two-dimensional images in individual directions. Therefore,
As shown in Figure 4(a), when the relative change rate is extremely small in an image where the count value change rate of the mismatched portion in each direction is large, alignment in the direction where the change rate is small is caused by disturbances such as noise. There was a problem of malfunction due to this.

本発明の目的は、検査対象の一部に位置ずれを検出しに
くいパターンが存在しても、誤った位置合わせ動作を行
うことなく、正確に検査できるパターン検査装置を提供
する−ことにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a pattern inspection apparatus that can perform accurate inspection without performing erroneous alignment operations even if there is a pattern whose positional deviation is difficult to detect in a part of the inspection target.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的は、各補正方向毎に位置ずれ情報量を計測する
手段と、上記情報量がある特定の閾値以下の場合には該
当する方向の位置補正動作を停止させる手段とを設けて
達成させるようにした。
The above purpose is achieved by providing means for measuring the amount of positional deviation information for each correction direction, and means for stopping the positional correction operation in the corresponding direction when the amount of information is less than a certain threshold value. I made it.

〔作用〕[Effect]

第3図に示すように、各方向における最小計数値K a
 、 hに対する変化率ΔK x 、Δにアを求め、例
えば、 ΔKx= (K−ntb+ Kntb  2 Ka、b
)/ (2n + 1 )・・・(1) ΔKy=(xat−1+ Ka、−2Ka、b)/ (
2m +1 )・・・(2) とおいて、八KX 、ΔKyがある特定の値以下になっ
た場合に、位置ずれ情報量が少ないとして、その方向に
は位置ずれ補正動作を行わない。それによってノイズ等
により誤った位置補正をすることがなくなる。
As shown in FIG. 3, the minimum count value Ka in each direction
, A is calculated for the rate of change ΔK
)/ (2n + 1)...(1) ΔKy=(xat-1+ Ka, -2Ka, b)/(
2m +1 )...(2) When 8KX and ΔKy become less than a certain value, it is assumed that the amount of positional deviation information is small, and no positional deviation correction operation is performed in that direction. This prevents erroneous position correction due to noise or the like.

〔実施例〕〔Example〕

以下本発明を第1図、第2図に示した実施例及び第3図
、第4図を用いて詳細に説明する。
The present invention will be explained in detail below with reference to the embodiment shown in FIGS. 1 and 2, and FIGS. 3 and 4.

第1図は本発明のパターン検査装置の一実施例を示す概
念図、第2図は第1図の位置ずれ検出回路の一実施例を
示す構成図である。第1図において、2次元パターンを
有する2個(例えば、プリント基板のようなもの)の検
査対象IA、1Bは、XY方向に移動可能なXYテーブ
ル2に設けられた微調テーブル3A、3B上に固定され
る。2台の撮像装置4A、4Bは、2個の検査対象IA
FIG. 1 is a conceptual diagram showing an embodiment of the pattern inspection apparatus of the present invention, and FIG. 2 is a configuration diagram showing an embodiment of the positional deviation detection circuit of FIG. 1. In FIG. 1, two inspection objects IA and 1B (for example, printed circuit boards) having two-dimensional patterns are placed on fine adjustment tables 3A and 3B provided on an XY table 2 that is movable in the XY directions. Fixed. The two imaging devices 4A and 4B are the two inspection targets IA.
.

IBの同一パターンを撮像する位置に固定されている。It is fixed at a position where the same pattern of IB is imaged.

撮像装置4A、4Bの出力信号は、それぞれ2値化され
、ノイズ除去回路5A、5Bを経てマトリックス状に配
置された記憶装置6A、6Bに2値化ビデオ信号として
記憶され、特徴抽出回路7A、7Bでそれぞれのパター
ンに対応した特徴を抽出する。この特徴は、比較判定回
路8で比較され、両者の特徴が完全に一致する場合には
、欠陥がないと判定し、一致しない場合には、欠陥があ
ると判定する。
The output signals of the imaging devices 4A and 4B are respectively binarized, passed through noise removal circuits 5A and 5B, and stored as binarized video signals in storage devices 6A and 6B arranged in a matrix. In step 7B, features corresponding to each pattern are extracted. These features are compared by a comparison/determination circuit 8, and if the two features completely match, it is determined that there is no defect, and if they do not match, it is determined that there is a defect.

この比較判定法においては、2個の検査対象LA、IB
のパターンが極めて近い位置に同一の特徴があるか否か
の判定を行うため、比較する2つのパターンを高精度で
位置合わせする必要がある。そこで、ノイズ除去回路5
A、5Bの出力を位置ずれ検出回路9に送り、位置ずれ
量の計測を行い、測定したずれ量に応じて記憶装置6B
を制御し、位置ずれ量を補正するとともに、位置ずれ検
出回路9の出力をテーブル制御回路10へ送って位置ず
れ測定の都度、テーブル駆動部31A。
In this comparative judgment method, two test objects LA and IB
In order to determine whether or not the patterns have the same features in very close positions, it is necessary to align the two patterns to be compared with high precision. Therefore, the noise removal circuit 5
The outputs of A and 5B are sent to the positional deviation detection circuit 9, the amount of positional deviation is measured, and the output is sent to the storage device 6B according to the measured amount of deviation.
The table drive section 31A corrects the amount of positional deviation and sends the output of the positional deviation detection circuit 9 to the table control circuit 10 each time the positional deviation is measured.

31Bによって微調テーブル3A、3Bを制御し、累積
する位置ずれを補正している。ここで、位置ずれ検出回
路9には、排他的論理和を応用した回路が用いられてい
る。
31B controls the fine adjustment tables 3A and 3B to correct accumulated positional deviations. Here, the positional deviation detection circuit 9 uses a circuit to which exclusive OR is applied.

第2図において、位置ずれ検出回路9は、図に示すよう
に、複数個のシフトレジスタからなる画像メモリ91A
、91Bと、シフトレジスタのデータ取り出し位置を変
えることにより仮想的に複数組の画像ずれを発生させる
遅延回路92A。
In FIG. 2, the positional deviation detection circuit 9 includes an image memory 91A consisting of a plurality of shift registers, as shown in the figure.
, 91B, and a delay circuit 92A that virtually generates a plurality of sets of image shifts by changing the data extraction position of the shift register.

92Bと、画像の不一致部分を検出する排他的論理和回
路93と、各画像の不一致部分を計数するマトリックス
状に配置されたカウンタ回路94と、計数側が最小のカ
ウンタ回路を検出しX、Yそれぞれの方向のずれ量を検
出するずれ量算出回路95A、95Bと、最小計数値カ
ウンタ回路とその周辺のカウンタ回路の計数値によりX
、Yそれぞれの方向の計数値変化率を算出する変化率算
出回路96A、96Bと、変化率の値によりずれ量の補
正を行うか否かを判定する位置ずれ補正回路97から構
成される。
92B, an exclusive OR circuit 93 that detects the mismatched portions of the images, a counter circuit 94 arranged in a matrix that counts the mismatched portions of each image, and a counter circuit with the minimum counting side that detects each of X and Y. X is determined by the count values of the shift amount calculation circuits 95A and 95B that detect the shift amount in the direction of
, Y directions, and a positional deviation correction circuit 97 that determines whether or not to correct the amount of deviation based on the value of the change rate.

次に動作例について説明する。画像メモリ91A。Next, an example of operation will be explained. Image memory 91A.

91Bのシフトレジスタには、第1図の撮像装置4A、
4Bで撮像した検査対象がノイズ除去回路5A、5Bを
通して出力された2値化ビデオ信号が記憶される。第2
図の画像メモリ91A、91Bは、1ビツトの画像デー
タが入力されるたびに画像信号が1ビツトずつシフトす
る。したがって、画像メモリ91A、91Bのシフトレ
ジスタの各位置より信号を取り出すことにより、基準画
像に対してX、Y方向にずれた画像が得られる。このシ
フトレジスタの各位置の出力を遅延回路92A。
The shift register 91B includes the imaging device 4A in FIG.
A binarized video signal of the inspection object imaged by 4B and output through the noise removal circuits 5A and 5B is stored. Second
In the image memories 91A and 91B shown in the figure, the image signal is shifted by one bit each time one bit of image data is input. Therefore, by extracting signals from each position of the shift registers of the image memories 91A and 91B, an image shifted in the X and Y directions with respect to the reference image can be obtained. The output of each position of this shift register is delayed by a circuit 92A.

92Bにより取り出し、排他的論理和回路93に入力す
ることにより、両者の画像の関係を数ビットずつずらし
た画像の不一致部分を検出し、カウンタ回路94で各画
像の不一致部分を計数する。
92B and inputs it to the exclusive OR circuit 93 to detect the mismatched portions of the images obtained by shifting the relationship between the two images by several bits, and the counter circuit 94 counts the mismatched portions of each image.

このカウンタ回路94の計数値が最小のカウンタ回路を
位置ずれ量算出回路95A、95Bで判別することによ
り、画像の位置ずれを検出している。
The positional deviation of the image is detected by determining the counter circuit with the minimum count value of the counter circuit 94 by the positional deviation amount calculation circuits 95A and 95B.

この位置ずれ検出方法は公知であるが、例えば、第4図
(b)のような画像パターンの場合、Y方向に画像がず
れた状態と、ずれない状態との不一致部分の計数値の差
がほとんどないため、検査対象に欠陥パターンが存在し
たり、ノイズ等の外乱により位置ずれを誤検出してしま
うという欠点を有していた。
This positional deviation detection method is publicly known, but for example, in the case of an image pattern as shown in FIG. Since there are almost no defects, there is a drawback that a defective pattern exists in the inspection object or that a positional shift is erroneously detected due to disturbances such as noise.

本発明の実施例では、上記の現象に着目し、第2図の位
置ずれ量算出回路95A、95BからのX、Yそれぞれ
の方向の位置ずれ信号により、位置ずれの変化率算出回
路96A、96Bは、第4図に示すように、最小計数値
に、、bのカウンタ回路に対し、x、y個別の画像ずれ
変化率((Ka、−□+ Ka、n2 Ka、b)/ 
(2n + 1 )、(K −、b+に一、b−2Ka
、b)/(2m+1))を算出し、このX、Y個別の方
向の変化率がある特定の設定値以下であるならば、その
方向の位置ずれの変化率算出回路96A、96Bの出力
を強制的にずれ量なしと判定させる信号を位置ずれ補正
回路97へ出方するようにしである。
In the embodiment of the present invention, focusing on the above-mentioned phenomenon, the change rate calculation circuits 96A and 96B of the positional deviation are calculated based on the positional deviation signals in the X and Y directions from the positional deviation amount calculation circuits 95A and 95B shown in FIG. As shown in FIG. 4, for the minimum count value, the x, y individual image shift change rate ((Ka, -□+Ka, n2 Ka, b)/
(2n + 1), (K −, one on b+, b−2Ka
, b)/(2m+1)), and if the rate of change in the individual directions of A signal for forcibly determining that there is no deviation is output to the positional deviation correction circuit 97.

このように、本発明の実施例の位置ずれ検出回路9では
、X、Y各方向個別に画像の位置ずれ量算出回路95A
、95Bと、位置ずれの変化率算出回路96A、96B
を設けることにより、撮像されたパターンの特性に影響
されることなく、誤った位置合わせ動作を防止できると
いう効果がある。
In this way, in the positional deviation detection circuit 9 according to the embodiment of the present invention, the image positional deviation amount calculation circuit 95A is separately provided in each of the X and Y directions.
, 95B, and positional deviation change rate calculation circuits 96A, 96B.
By providing this, there is an effect that erroneous alignment operations can be prevented without being affected by the characteristics of the imaged pattern.

なお、本実施例では、すべてをハードウェアで構成して
説明したが、一部をマイクロプロセッサを用いて、ソフ
トウェアで処理しても同等の効果が得られる。
Although the present embodiment has been described in which everything is configured by hardware, the same effect can be obtained even if a part of the process is performed by software using a microprocessor.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、撮像されたパタ
ーンに位置ず九検出の感度が低い方向が存在しても、誤
った位置合わせ動作を行わないので、検査対象のパター
ンに関係なく、正確に検査を行えるという効果がある。
As explained above, according to the present invention, even if there is a direction in the imaged pattern in which the sensitivity of position detection is low, an erroneous alignment operation is not performed, regardless of the pattern to be inspected. This has the effect of allowing accurate testing.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明のパターン検出回路の一実施例を示す概
念図、第2図は第1図の位置ずれ検出回路の一実施例を
示す構成図、第3図は本発明の位置ずれ変化率の算出方
法の説明図、第4図は画像パターン図である。 IA、IB・・・検査対象、2・・・XYテーブル、3
A。 3B・・・微調テーブル、4A、4B・・・撮像装置、
5A、5B・・・ノイズ検出回路、6A、6B・・・記
憶装置、7A、7B・・・特徴抽出回路、8・・・比較
判定回路、9・・・位置ずれ検出回路、10・・・テー
ブル制御回路、91A、91B・・・画像メモリ、92
A。 92B・・・遅延回路、93・・・排他的論理和回路、
94・・・カウンタ回路、95A、95B・・・ずれ量
算出回路、96A、96B・・・変化率算出回路、97
・・・位置ずれ補正回路。
FIG. 1 is a conceptual diagram showing an embodiment of the pattern detection circuit of the present invention, FIG. 2 is a block diagram showing an embodiment of the positional deviation detection circuit of FIG. 1, and FIG. 3 is a conceptual diagram showing an embodiment of the pattern detection circuit of the present invention. An explanatory diagram of the rate calculation method, FIG. 4 is an image pattern diagram. IA, IB...Inspection object, 2...XY table, 3
A. 3B...fine adjustment table, 4A, 4B...imaging device,
5A, 5B...Noise detection circuit, 6A, 6B...Storage device, 7A, 7B...Feature extraction circuit, 8...Comparison/judgment circuit, 9...Positional deviation detection circuit, 10... Table control circuit, 91A, 91B... image memory, 92
A. 92B...Delay circuit, 93...Exclusive OR circuit,
94... Counter circuit, 95A, 95B... Deviation amount calculation circuit, 96A, 96B... Rate of change calculation circuit, 97
...Positional deviation correction circuit.

Claims (1)

【特許請求の範囲】[Claims] 1、あらかじめ粗く位置決めされた検査対象を撮像装置
により2次元画像として撮像し、基準となる2次元画像
と前記撮像した2次元画像を各各複数個の記憶要素に2
値化された画像信号として順次入力し、両者の排他的論
理和を演算し計数して2次元画像相互の位置ずれ量を求
めて位置補正する機能を有するパターン検査装置におい
て、各補正方向毎に位置ずれ情報量を計測する手段と、
前記情報量がある特定の閾値以下の場合には該当する方
向の位置補正動作を停止させる手段とを備えたことを特
徴とするパターン検査装置。
1. An inspection object that has been roughly positioned in advance is captured as a two-dimensional image by an imaging device, and the reference two-dimensional image and the captured two-dimensional image are each stored in multiple storage elements.
In a pattern inspection device that has the function of sequentially inputting digitized image signals, calculating the exclusive OR of the two, calculating the amount of positional deviation between two-dimensional images, and correcting the position, A means for measuring the amount of positional deviation information,
A pattern inspection apparatus comprising: means for stopping a position correction operation in a corresponding direction when the amount of information is less than a certain threshold value.
JP14710387A 1987-06-15 1987-06-15 Pattern inspecting apparatus Pending JPS63311153A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14710387A JPS63311153A (en) 1987-06-15 1987-06-15 Pattern inspecting apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14710387A JPS63311153A (en) 1987-06-15 1987-06-15 Pattern inspecting apparatus

Publications (1)

Publication Number Publication Date
JPS63311153A true JPS63311153A (en) 1988-12-19

Family

ID=15422575

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14710387A Pending JPS63311153A (en) 1987-06-15 1987-06-15 Pattern inspecting apparatus

Country Status (1)

Country Link
JP (1) JPS63311153A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04115145A (en) * 1990-09-05 1992-04-16 Sanyo Electric Co Ltd Inspecting apparatus for electronic component mounting

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04115145A (en) * 1990-09-05 1992-04-16 Sanyo Electric Co Ltd Inspecting apparatus for electronic component mounting

Similar Documents

Publication Publication Date Title
JP3927353B2 (en) Image alignment method, comparison inspection method, and comparison inspection apparatus in comparison inspection
US5574800A (en) Pattern defect inspection method and apparatus
KR900007434B1 (en) Pattern inspecting method
US7024041B2 (en) Pattern inspection apparatus and method
JPS61294342A (en) Method of compensating mismatching/strain
US5185811A (en) Automated visual inspection of electronic component leads prior to placement
EP0300572B1 (en) Method and apparatus for inspecting apertured mask sheets
US5872871A (en) Method and device for measuring the position of a pattern
JPH056928A (en) Method and apparatus for inspection of pattern
JP2851022B2 (en) IC tilt inspection method
US5912985A (en) Pattern detection method
JPS63311153A (en) Pattern inspecting apparatus
JP4121605B2 (en) Captured image composite distortion detector
JPS61198374A (en) Device for comparing and checking two-dimensional picture
JP2912070B2 (en) Object position recognition method
JPH0325304A (en) Pattern aligning method
JP2974037B2 (en) Method and apparatus for inspecting holes in substrate
JPH063541B2 (en) Pattern inspection equipment
JPH01296142A (en) Two-dimensional image comparison inspecting device
JP2720935B2 (en) Inspection device and inspection method
JPH02159545A (en) Method and apparatus for extracting defect of pattern
JPH05126754A (en) Pattern-defect inspecting apparatus
JPH038505B2 (en)
KR100249803B1 (en) Ic leadframe pad shift automatic visual inspection system
JPH0371263B2 (en)