JPH0449044B2 - - Google Patents
Info
- Publication number
- JPH0449044B2 JPH0449044B2 JP61119766A JP11976686A JPH0449044B2 JP H0449044 B2 JPH0449044 B2 JP H0449044B2 JP 61119766 A JP61119766 A JP 61119766A JP 11976686 A JP11976686 A JP 11976686A JP H0449044 B2 JPH0449044 B2 JP H0449044B2
- Authority
- JP
- Japan
- Prior art keywords
- horizontal
- signal
- pattern
- reference pattern
- vertical
- 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.)
- Expired - Lifetime
Links
Landscapes
- Testing Or Measuring Of Semiconductors Or The Like (AREA)
- Length Measuring Devices By Optical Means (AREA)
- Length Measuring Devices With Unspecified Measuring Means (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は製品に施された形状、模様の検査、特
にICパツケージ表面に施された捺印の良否を検
査する際に必要となるパターン移動装置に関す
る。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a pattern moving device that is necessary for inspecting the shape and pattern applied to a product, particularly for inspecting the quality of a stamp applied to the surface of an IC package. Regarding.
従来、CRT等を使用して、製品に施された形
状等を検査するには、基準品を設定し、この基準
品に施された形状等をビデオカメラで撮像し、こ
の映像信号を2値化して基準パターン(以下2値
化したものを基準パターンと称す)を得、この基
準パターンのビツト数の総和を基準パターンの面
積として予め記憶しておき、他方、ビデオカメラ
で撮像した被検査品の映像信号を2値化して被検
体パターン(以下、2値化したものを被検体パタ
ーンとする。)を得るとともにビツト数の総和を
算出することで被検体パターンの面積を算出し、
この面積を予め記憶された基準パターンの面積と
比較し、両面積が合致すれば良品と判断すること
が行われていた。
Conventionally, in order to inspect the shape etc. applied to a product using a CRT etc., a reference product is set, the shape etc. applied to this reference product is imaged with a video camera, and this video signal is converted into a binary signal. A standard pattern is obtained by converting it into a standard pattern (hereinafter referred to as a binary standard pattern), and the sum of the number of bits of this standard pattern is stored in advance as the area of the standard pattern. The area of the object pattern is calculated by binarizing the video signal to obtain the object pattern (hereinafter, the binary object pattern is referred to as the object pattern) and calculating the sum of the number of bits.
This area is compared with the area of a reference pattern stored in advance, and if the two areas match, the product is determined to be non-defective.
しかしながらこの方法では、基準パターンの面
積と被検体パターンの面積を比較しているのみで
あるから、被検体パターンの形状そのものに凹部
と凸部が存在して面積増減が相殺されている場
合、形状が不一致であるにもかかわらず同一パタ
ーンであると判断してしまうという問題点があ
る。 However, this method only compares the area of the reference pattern and the area of the subject pattern, so if the subject pattern itself has concave and convex parts and the area increases and decreases cancel each other out, There is a problem in that the patterns are determined to be the same even though they do not match.
このような問題をなくすためには、基準パター
ンと被検体パターンの形状的な一致性を調べるこ
とが是非とも必要であり、このためには被検体パ
ターンと基準パターンを重ね合わせる必要があ
る。従来、このパターン相互を一致させる手段と
しては、予め記憶された基準パターンと被検体パ
ターン相互の関係をマイクロコンピユターが比較
演算して、被検体パターンの基準パターンに対す
るずれ量(ビツト数)を、水平方向、垂直方向お
よび回転方向のそれぞれについて算出したうえ
で、ずれた量を補正する指令をし、この指令に基
づきX−Yステージをサーボモータを移動させ
て、被検体パターンを所定の位置にセツトするこ
とが行われていた。 In order to eliminate such problems, it is absolutely necessary to check the conformity of the shape of the reference pattern and the subject pattern, and for this purpose it is necessary to overlap the subject pattern and the reference pattern. Conventionally, as a means for matching these patterns with each other, a microcomputer compares and calculates the relationship between a pre-stored reference pattern and the subject pattern, and calculates the amount of deviation (number of bits) of the subject pattern with respect to the reference pattern. After calculating each of the horizontal, vertical, and rotational directions, a command is issued to correct the amount of deviation, and based on this command, the servo motor of the X-Y stage is moved to bring the subject pattern to the specified position. It was being set.
〔発明が解決しようとする課題〕
しかしながら、マイクロコンピユーターの指令
信号に基づいて被検体のセツテイング位置をサー
ボ機構で移動させるのは速度が遅く大量に流れる
製品を処理することはできない。また、サーボ機
構等の機械的手段を用いることなく、半導体メモ
リー上で基準パターン若しくは被検体パターンの
一方を他方に一致させるべくソフト処理により移
動させる方法もあるものの、この種の検査に用い
られるCRTは512×512程度の膨大な画素数を有
することから、それぞれの画素に対応するメモリ
ーのそれぞれについて調べることは多大の時間を
有し、この方法も大量の製品を検査処理するには
適さなかつた。本発明はかかる現況に鑑みてなさ
れたものであり、パターン検査の際に必要となる
パターン移動をソフト的な手法に依存せず、ハー
ド的な方法により行うことによつて、検査速度の
高速化をはからんとするものである。[Problems to be Solved by the Invention] However, moving the setting position of the subject using a servo mechanism based on command signals from a microcomputer is slow and cannot process a large amount of flowing product. There is also a method of moving one of the reference pattern or the subject pattern on a semiconductor memory using software processing to match the other without using mechanical means such as a servo mechanism. has a huge number of pixels (approximately 512 x 512), so it would take a lot of time to examine each memory corresponding to each pixel, and this method was also not suitable for inspecting and processing a large number of products. . The present invention has been made in view of the current situation, and aims to speed up inspection by performing pattern movement required during pattern inspection using a hardware method without relying on software methods. It is intended to include
上記課題を解決するために、本発明者は次の手
順により本発明を完成させた。
In order to solve the above problems, the present inventor completed the present invention through the following procedure.
先ず本発明の基本的な考え方を添付した概念図
を用いて説明する。本発明は第1図に示す如く左
側に図示した基準パターンを右側に図示した被検
体パターンに重ね合わせることによつて、被検体
パターンの良否を判定することが最終目的であ
る。被検体パターンの不良としては、例えば欠損
aやはみ出し汚れbがあり、これら欠損aおよび
汚れbを検出する装置を提供せんとするものであ
る。 First, the basic idea of the present invention will be explained using the attached conceptual diagram. The ultimate purpose of the present invention is to determine the quality of the test object pattern by superimposing the reference pattern shown on the left side on the test object pattern shown on the right side as shown in FIG. Defects in the object pattern include, for example, defects a and protruding stains b, and it is an object of the present invention to provide a device that can detect these defects a and stains b.
基準パターンおよび被検体パターンはそれぞれ
別々に半導体メモリー上に格納され、基準パター
ンの被検体パターンへの重ね合わせは装置内部の
半導体メモリー上で行われる。このときそれぞれ
のメモリーにおける基準パターンの配置位置と被
検体パターンの配置位置が一致していればそのま
ま重ね合わて比較すればよいば、ほとんどの場
合、両パターンのメモリー上における配置位置は
一致しておらず、第2図に示す如く、被検体パタ
ーンは基準パターンに対して、回転方向および水
平、垂直方向のそれぞれについてずれている。し
たがつて、図例の基準パターンを被検体パターン
に重ね合わせようとすれば第3図イに示すよう
に、先ず基準パターンを表示画面左上Pを中心と
して時計方向にθだけ回転させてパターンの傾き
を被検体パターンの傾きに一致させたのち、第3
図ロに示すように水平方向にX、垂直方向にYだ
け移動させる必要がある。勿論、図示しないが、
最初に基準パターンの水平方向および垂直方向の
移動を行つたのち、回転させてもよい。本発明は
この回転方向、水平方向および垂直方向の移動を
ハード的処理により行うことが要旨である。 The reference pattern and the subject pattern are each stored separately on a semiconductor memory, and the superposition of the reference pattern onto the subject pattern is performed on the semiconductor memory inside the apparatus. At this time, if the placement position of the reference pattern and the placement position of the subject pattern in each memory match, you can simply superimpose them and compare them, but in most cases, the placement positions of both patterns in the memory will not match. First, as shown in FIG. 2, the subject pattern is shifted from the reference pattern in the rotational direction and in the horizontal and vertical directions. Therefore, if you want to superimpose the reference pattern in the example on the subject pattern, first rotate the reference pattern by θ clockwise around the upper left P of the display screen, as shown in Figure 3A. After matching the slope to the slope of the subject pattern, the third
As shown in Figure B, it is necessary to move by X in the horizontal direction and by Y in the vertical direction. Of course, although not shown,
The reference pattern may be first moved in the horizontal and vertical directions and then rotated. The gist of the present invention is to perform this movement in the rotational direction, horizontal direction, and vertical direction by hardware processing.
尚、基準パターンが被検体パターンに対して回
転方向、水平方向、垂直方向のそれぞれについ
て、どれだけずれているかの検知方法は、公知の
手法が採用可能であり、本発明は、この公知の手
法により求められた回転方向のずれ角度θ、水平
方向のずれX、垂直方向のずれYを用いて、メモ
リー上における基準パターンの存在位置をハード
的に移動させて被検体パターンに重ね合わせるこ
とが特徴である。 Note that a known method can be adopted as a method for detecting how far the reference pattern deviates from the subject pattern in each of the rotational direction, horizontal direction, and vertical direction, and the present invention is based on this known method. The feature is that the position of the reference pattern on the memory is moved by hardware using the rotational direction deviation angle θ, horizontal direction deviation It is.
ところでパターンの移動において特に面倒なの
は回転移動である。本発明は回転方向への移動を
簡略化できる方法について鋭意検討した結果、回
転移動を基準パターンを構成する各ドツトの水平
移動および垂直移動に置き換えて理解し、これら
水平移動および垂直移動した後の各ドツトの集合
体を元の基準パターンを回転したものであると近
似的に理解することとすれば、各ドツトのアドレ
スに水平方向移動量および垂直方向移動量を加算
するだけで、あたかもパターン全体を回転したの
と同じ結果が得られことに着目した。以下、この
手法の概念を図により簡単に説明する。 By the way, rotational movement is particularly troublesome in pattern movement. As a result of intensive study on a method that can simplify movement in the rotational direction, the present invention has been developed by replacing rotational movement with horizontal movement and vertical movement of each dot constituting the reference pattern. If we approximately understand that each collection of dots is a rotated version of the original reference pattern, then by simply adding the amount of horizontal movement and the amount of vertical movement to the address of each dot, we can create the entire pattern as if it were a rotation of the original reference pattern. We noticed that the same result could be obtained by rotating the . The concept of this method will be briefly explained below using diagrams.
例えば、水平方向14ドツト、垂直方向14ドツト
の表示画面上に存在するL字パターンを回転移動
させる場合を考えると、回転移動前のパターンの
状態は第4図で示されるように表示画面を構成す
る各画素(ドツト)の点滅の集合体によつて表現
され、したがつて回転移動後のパターンも第4図
ロに示されようなドツトの集合体で表現されるこ
とになる。そこで、これら第4図イ,ロのパター
ンを比較してみると、パターン全体としては回転
した状態となつているが、パターンを構成する各
ドツト単位でみると、ドツトは水平移動および垂
直移動を行つていると見なすことができる。そし
て、各ドツトの移動は回転中心Pからの距離に依
存し、例えば水平移動は第5図に示すように垂直
方向にαドツト進んだ位置で1ドツト移動してお
り、tanθ=1/αの関係が成立する。この関係か
ら垂直方向にn×αドツト進んだところでは水平
方向にnドツト移動することが容易に理解され
る。また同様に、垂直移動については水平方向に
βドツト進んだ位置で1ドツト移動し、tanθ=
1/βの関係が成立する。通常はα=βである。
このような考え方に基づけば第4図イで示される
パターンの回転移動は、第4図ロに示すように、
回転中心Pから垂直方向にαドツト進むごとに水
平方向に1ドツトずつ移動させ、また、回転中心
Pから水平方向にβドツト進むごとに垂直方向に
1ドツトずつ移動させることによつて可能である
ことがわかる。尚、このような手法による回転移
動には当然、誤差が含まれるが、画面を構成する
ドツト数が充分多く、且つ回転移動させる角度が
小さい場合にはこの誤差は実質上無視できる。特
に本発明が適応対象として意識する半導体パツケ
ージ表面の捺印検査の場合、文字や数字パターン
の回転ずれは極めて少ないから全く問題はない。 For example, if we consider a case where an L-shaped pattern existing on a display screen with 14 dots in the horizontal direction and 14 dots in the vertical direction is rotated, the state of the pattern before the rotation is configured to configure the display screen as shown in Figure 4. Therefore, the pattern after rotational movement is also expressed by a collection of dots as shown in FIG. 4B. Therefore, when comparing the patterns in Figure 4 A and B, the pattern as a whole is in a rotated state, but when looking at each dot that makes up the pattern, the dots move horizontally and vertically. It can be seen as progressing. The movement of each dot depends on the distance from the center of rotation P. For example, in the case of horizontal movement, as shown in Fig. 5, the dot moves one dot at a position α dot advanced in the vertical direction, and tanθ=1/α. A relationship is established. From this relationship, it can be easily understood that when n×α dots are advanced in the vertical direction, n dots are moved in the horizontal direction. Similarly, for vertical movement, move one dot at the position where β dot has advanced in the horizontal direction, and tanθ=
A relationship of 1/β holds true. Usually α=β.
Based on this idea, the rotational movement of the pattern shown in Figure 4 A is as shown in Figure 4 B,
This is possible by moving one dot horizontally for every α dot that moves vertically from the rotation center P, and by moving one dot vertically for every β dot that moves horizontally from the rotation center P. I understand that. Incidentally, rotational movement using such a method naturally includes an error, but if the number of dots forming the screen is sufficiently large and the angle of rotational movement is small, this error can be substantially ignored. Particularly in the case of seal inspection on the surface of a semiconductor package, to which the present invention is intended, there is no problem at all because the rotational deviation of character and number patterns is extremely small.
ところで上記手法による回転移動を行う際に問
題となるのは、パターンを構成する各ドツトの回
転中心Pからの距離をどのようにして計数するか
である。本発明ではこの計数手段として表示画面
作成用信号である水平同期信号と水平ドツトクロ
ツクを用いた。 By the way, when performing rotational movement using the above method, a problem arises in how to count the distance from the rotation center P of each dot composing the pattern. In the present invention, a horizontal synchronizing signal and a horizontal dot clock, which are signals for creating a display screen, are used as the counting means.
例えば512×512ドツトの表示領域を有する
CRTを対象とした場合、CRTに供給される同期
信号は第6図に示す如く、画面切替え信号である
垂直同期信号cに続いて、次段の走査線への切替
え信号である水平同期信号dが512個続き、そし
て、ある水平同期信号dが検出されたのち、次の
水平同期信号dが検出されるまでの間には512個
の水平ドツトクロツクeが発振されるように構成
されており、これら水平同期信号dおよび水平ド
ツトクロツクeとCRT画面との対応関係は第7
図で示されるような関係を有している。したがつ
て、垂直方向へαドツト進んだ位置の検出は水平
同期信号dをα個計数することで行うことがで
き、また水平方向へβドツト進んだ位置の検出は
水平ドツトクロツクeをβ個計数することで行う
ことができる。このように本発明では回転中心P
からの距離を水平同期信号dおよび水平ドツトク
ロツクeの数を計数することで検出することにし
た。 For example, it has a display area of 512 x 512 dots.
When targeting a CRT, the synchronization signals supplied to the CRT are, as shown in Figure 6, a vertical synchronization signal c, which is a screen switching signal, followed by a horizontal synchronization signal d, which is a switching signal to the next scanning line. 512 consecutive horizontal dot clocks e are oscillated between the detection of a certain horizontal synchronization signal d and the detection of the next horizontal synchronization signal d. The correspondence relationship between the horizontal synchronizing signal d and the horizontal dot clock e and the CRT screen is as follows.
They have the relationship as shown in the figure. Therefore, the position that has advanced by α dots in the vertical direction can be detected by counting α horizontal synchronizing signals d, and the position that has advanced β dots in the horizontal direction can be detected by counting β horizontal dot clocks e. This can be done by doing this. In this way, in the present invention, the rotation center P
It was decided to detect the distance from the center by counting the number of horizontal synchronizing signals d and horizontal dot clocks e.
以上のような原理によりパターンの回転移動は
完了するが、回転移動を完了したパターンは第4
図ハに示す如く水平方向にXドツト、垂直方向に
Yドツト平行移動させることによつて全ての移動
動作を終了させることができる。 The rotational movement of the pattern is completed according to the principle described above, but the pattern that has completed the rotational movement is in the fourth position.
As shown in Figure C, all moving operations can be completed by moving the X dot in the horizontal direction and the Y dot in the vertical direction.
以上のような考え方に基づいてなされた本発明
は、
基準パターンを予め記憶しておく基準パターン
記憶手段Aと、
該基準パターン記憶手段Aに記憶された基準パ
ターンと被検体パターンを比較し、基準パターン
の被検体パターンに対する回転方向、水平および
垂直方向のずれに応じて、基準パターンを被検体
パターンに重畳させるための回転方向への移動指
令と、水平方向および垂直方向への平行移動を指
令する信号を発する機能を有し、前記回転方向へ
の指令信号は、表示画面左上を回転中心となすと
ともにその回転動作を基準パターンを構成する各
ドツトの水平方向および垂直方向移動の集合に置
き換えて近似させた際に得られるところの定数の
形式で与えられ、その定数の内容は、水平方向に
1ドツト移動させるのに必要な垂直方向のドツト
数αと、垂直方向に1ドツト移動させるのに必要
な水平方向のドツト数βであり、他方、水平方向
および垂直方向に平行移動させるための指令信号
は水平方向移動ドツト数X、垂直方向移動ドツト
数Yで与えられてなる演算処理手段Bと、
前記演算処理手段Bの指令信号に応じて、α個
の水平同期信号を計数する毎に繰り返して信号を
出力する水平方向への回転信号作成手段C、並び
にβ個の水平ドツトクロツクを計数する毎に繰り
返して信号を出力する垂直方向への回転信号作成
手段C′と、
前記水平方向への回転信号作成手段Cより信号
が出力される毎に前記演算処理手段Bより指令さ
れた水平方向移動ドツト数Xをカウントアツプま
たはカウントダウンする水平方向の平行移動信号
作成手段D、並びに前記垂直方向への回転信号作
成手段C′より信号が出力される毎に前記演算処理
手段Bより指令された垂直方向移動ドツト数Yを
カウントアツプまたはカウントダウンする垂直方
向の平行移動信号作成手段D′と、
前記水平方向の平行移動信号作成手段Dから出
力されるカウントアツプまたはカウントダウンし
た水平方向への平行移動指令信号を基準パターン
の水平アドレスに加算し、この加算された水平ア
ドレスを前記基準パターン記憶手段Aに供給する
加算手段E、並びに前記垂直方向の平行移動信号
作成手段D′から出力されるカウントアツプまた
はカウントダウンした垂直方向への平行移動指令
信号を基準パターンの垂直アドレスに加算し、こ
の加算された垂直アドレスを前記基準パターン記
憶手段Aに供給する加算手段E′と、
よりなり基準パターン記憶手段Aのアドレスを加
減算して被検体パターンと重畳すべく基準パター
ンを移動させることを特徴としている。 The present invention, which has been made based on the above idea, includes a reference pattern storage means A that stores a reference pattern in advance, and a reference pattern stored in the reference pattern storage means A that compares the subject pattern. Depending on the deviation of the pattern from the subject pattern in the rotational direction, horizontal and vertical directions, commands are given to move the reference pattern in the rotational direction to superimpose it on the subject pattern, and to make parallel movements in the horizontal and vertical directions. It has a function of emitting a signal, and the command signal in the rotation direction is approximated by setting the upper left of the display screen as the rotation center and replacing the rotation operation with a set of horizontal and vertical movements of each dot forming a reference pattern. It is given in the form of a constant that is obtained when moving the dot in the horizontal direction, and the contents of the constant are the number of vertical dots α required to move one dot in the horizontal direction, and the number α of dots required in the vertical direction to move one dot in the vertical direction. the number β of dots in the horizontal direction, and a command signal for parallel movement in the horizontal and vertical directions is given by the number X of dots moved in the horizontal direction and the number Y of dots moved in the vertical direction; In response to the command signal of the arithmetic processing means B, a horizontal rotation signal generating means C repeatedly outputs a signal every time α horizontal synchronizing signals are counted, and every time β horizontal dot clocks are counted. Vertical rotation signal generation means C' that repeatedly outputs a signal, and the number of horizontal movement dots commanded by the arithmetic processing means B each time a signal is output from the horizontal rotation signal generation means C. A vertical movement dot commanded by the arithmetic processing means B each time a signal is output from the horizontal translation signal generation means D for counting up or down X, and the vertical rotation signal generation means C'. A vertical parallel movement signal generating means D' that counts up or counts down the number Y, and a horizontal parallel movement command signal outputted from the horizontal direction parallel movement signal generating means D that counts up or counts down are used as a reference pattern. an addition means E which supplies the added horizontal address to the reference pattern storage means A, and a vertical direction count-up or count-down output from the vertical parallel movement signal generation means D'. adding means E' for adding a parallel movement command signal to the vertical address of the reference pattern and supplying the added vertical address to the reference pattern storage means A; The method is characterized in that the reference pattern is moved so as to overlap with the subject pattern.
上記パターン移動装置の動作を第8図のブロツ
ク図に基づき説明する。
The operation of the pattern moving device will be explained based on the block diagram of FIG.
予め記憶されている基準パターンとアドレスを
指定して一時記憶した被検体パターンを演算処理
手段Bが公知の手法により比較演算し、被検体パ
ターンに対する基準パターンの回転ずれを補正す
る指令信号と、水平および垂直方向のずれを補正
する指令信号を作成して、回転ずれを補正する指
令信号を回転信号作成手段C,C′に供給し、また
水平および垂直方向のずれを補正する指令信号を
平行移動信号作成手段D,D′に供給する。 The arithmetic processing means B compares and calculates a pre-stored reference pattern and a temporarily stored object pattern by specifying an address using a known method, and generates a command signal for correcting rotational deviation of the reference pattern with respect to the object pattern, and a horizontal and a command signal to correct the deviation in the vertical direction, and supplies the command signal to correct the rotational deviation to the rotation signal generation means C, C', and also moves the command signal to correct the deviation in the horizontal and vertical directions in parallel. The signal is supplied to signal generating means D and D'.
回転ずれを補正する指令信号の内容は、水平方
向に1ドツト移送させるのに必要な垂直方向のド
ツト数αと、垂直方向に1ドツト移動させるのに
必要な水平方向のドツト数βで与えられ、αは水
平方向の回転信号作成手段Cに供給され、βは垂
直方向の回転信号作成手段C′に供給される。 The content of the command signal for correcting rotational deviation is given by the number α of dots in the vertical direction required to move one dot in the horizontal direction and the number β of dots in the horizontal direction required to move one dot in the vertical direction. , α are supplied to horizontal rotation signal generation means C, and β is supplied to vertical rotation signal generation means C'.
また、水平および垂直方向のずれは水平方向移
動ドツト数Xおよび垂直方向移動ドツト数Yの形
式で与えられ、水平方向移動ドツト数Xが水平方
向の平行移動信号作成手段Dに与えられ、垂直方
向移動ドツト数Yが垂直方向の平行移動信号作成
手段D′に供給される。 Further, the horizontal and vertical deviations are given in the form of the number of dots moving in the horizontal direction X and the number Y of moving dots in the vertical direction, and the number of moving dots in the horizontal direction The number Y of moving dots is supplied to vertical translation signal generating means D'.
そして、回転信号作成手段C,C′からの出力も
それぞれ平行移動信号作成手段D,D′に供給さ
れて、回転信号作成手段C,C′から信号が出力さ
れる毎に、水平方向移動ドツト数Xおよび垂直方
向移動ドツト数Yに、回転移動に伴うドツト増加
分をカウントアツプ、又はドツト減少分をカウン
トダウンし、回転ずれと水平、垂直ずれを同時に
補正するために必要な水平および垂直方向への移
動ドツト数の合計値を算出して後続の加算手段
E,E′にそれぞれ供給するものである。 The outputs from the rotation signal generation means C and C' are also supplied to the parallel movement signal generation means D and D', respectively, and each time a signal is output from the rotation signal generation means C and C', a horizontally moving dot is generated. Count up the increase in dots due to rotational movement or count down the decrease in dots to the number The total number of moving dots is calculated and supplied to the subsequent adding means E and E', respectively.
回転ずれを補正するための水平および垂直移動
量の算出過程およびこの算出結果に基づくパター
ンの回転移動動作と、元々の水平、垂直ずれを補
正するために必要な水平および垂直移動量の算出
過程およびこの算出結果に基づくパターンの回転
移動動作とをそれぞれ別々に説明すると次の如く
である。ここでは、水平、垂直方向へのずれを補
正するための平行移動動作を述べた後、回転ずれ
を補正するための動作を述べるが、実際のこれら
処理は同時並行的に行われる。 The process of calculating the amount of horizontal and vertical movement to correct the rotational deviation, the rotational movement operation of the pattern based on this calculation result, the process of calculating the amount of horizontal and vertical movement necessary to correct the original horizontal and vertical deviation, and The rotational movement operation of the pattern based on this calculation result will be explained separately as follows. Here, the parallel movement operation for correcting the horizontal and vertical deviations will be described, and then the operation for correcting the rotational deviation will be described, but these processes are actually performed simultaneously.
先ず水平、垂直ずれを補正するために水平また
は垂直方向に平行移動させるには次のようにす
る。即ち、演算処理手段Bから供給される水平方
向への移動指令信号である水平方向移動ドツト数
Xが平行移動信号作成手段Dを介して加算手段E
に供給され、加算手段Eはパターンを構成する各
ドツトの元の水平アドレスに水平方向移動ドツト
数Xを加算し、この加算した水平アドレスを基準
パターン記憶手段Aに供給する。一方、垂直方向
についても同様の処理が行われ、垂直方向への移
動指令信号である垂直方向移動ドツト数Yが平行
移動信号作成手段D′に入力される。 First, to perform parallel translation in the horizontal or vertical direction in order to correct horizontal and vertical deviations, do the following. That is, the horizontal movement dot number X, which is a horizontal movement command signal supplied from the arithmetic processing means B, is sent to the addition means E via the parallel movement signal generation means D.
The addition means E adds the number X of horizontally moved dots to the original horizontal address of each dot constituting the pattern, and supplies the added horizontal address to the reference pattern storage means A. On the other hand, similar processing is performed in the vertical direction, and the number Y of vertically moving dots, which is a vertically moving command signal, is input to the parallel moving signal generating means D'.
回転ずれの補正がない場合は、平行移動信号作
成手段D,D′に入力された水平、垂直方向への
移動指令信号はそのまま加算手段E,E′に供給さ
れ、加算手段E,E′は元の垂直アドレスに垂直方
向への平行移動すべき信号を加算し、この加算し
た水平、垂直アドレスを基準パターン記憶手段A
に供給する。このようにすることで基準パターン
記憶手段Aのアドレス内に格納している内容をア
ドレスとともに移送したことになる。 If the rotational deviation is not corrected, the horizontal and vertical movement command signals input to the parallel movement signal generation means D and D' are supplied as they are to the addition means E and E', and the addition means E and E' The signal to be translated in the vertical direction is added to the original vertical address, and the added horizontal and vertical addresses are stored in the reference pattern storage means A.
supply to. By doing this, the contents stored in the address of the reference pattern storage means A are transferred together with the address.
また回転移動させるには、演算処理手段Bから
供給される水平方向へ1ビツト進みまたは遅れに
対して、画面作成に使用される水平同期信号をα
個計数せよとの指令信号が回転信号作成手段Cに
対し与えられ、また、同様にして垂直方向へ1ビ
ツト進みまたは遅れに対して、画面作成に使用さ
れる水平ドツトクロツクをβ個計数せよとの指令
信号が回転信号作成手段C′に対して与えられる。 In addition, in order to rotate, the horizontal synchronization signal used for screen creation is
A command signal to count the dot clocks is given to the rotation signal generating means C, and in the same way, a command signal to count β horizontal dot clocks used for screen creation is given to the rotation signal generating means C for one bit advance or delay in the vertical direction. A command signal is given to the rotation signal generating means C'.
回転信号作成手段C,C′は当該指令に基づきそ
れぞれ水平同期信号および水平ドツトクロツクを
計数し、水平同期信号がα個計数される毎あるい
は水平ドツトクロツクがβ個計数される毎に次段
の平行移動信号作成手段D,D′に対しそれぞれ
信号を発し、平行移動信号作成手段D,D′はこ
の信号を受ける度に演算処理手段Bより供給され
た前記水平および垂直方向への移動指令信号であ
る水平方向移動ドツト数Xおよび垂直方向移動ド
ツト数Yをその回転方向に応じてカウントアツプ
またはカウントダウンする。そして、このカウン
トアツプまたはカウントダウンして得られた合算
された水平および垂直方向の平行移動信号を加算
手段E,E′により、パターンを構成する各ドツト
の元の水平アドレス、垂直アドレスに加算し、加
算されたアドレスを基準パターン記憶手段に供給
して、基準パターンのアドレスを移動させること
により、アドレス内の2値化信号を実質上移動さ
せるものである。 The rotation signal generating means C and C' count horizontal synchronization signals and horizontal dot clocks respectively based on the commands, and each time α horizontal synchronization signals are counted or β horizontal dot clocks are counted, parallel movement of the next stage is started. A signal is issued to the signal generating means D, D' respectively, and each time the parallel movement signal generating means D, D' receives this signal, the horizontal and vertical movement command signals are supplied from the arithmetic processing means B. The number X of horizontally moving dots and the number Y of vertically moving dots are counted up or down depending on the direction of rotation. Then, the summed horizontal and vertical translation signals obtained by counting up or down are added to the original horizontal and vertical addresses of each dot constituting the pattern by means of addition means E and E'. By supplying the added address to the reference pattern storage means and moving the address of the reference pattern, the binary signal within the address is substantially moved.
以上のようにしてパターンを移動した後は、移
動した基準パターンと被検体パターンの信号を単
に論理演算等することによりパターン検査を行う
ものである。 After the pattern has been moved as described above, pattern inspection is performed by simply performing a logical operation on the signals of the moved reference pattern and the object pattern.
本発明に係るパターン移動装置の詳細を図示し
た実施例に基づき説明する。
The details of the pattern moving device according to the present invention will be explained based on the illustrated embodiment.
第9図はパターン移動装置の全体ブロツク図を
示し、第10図はアドレスを移動する部分を示す
ブロツク図を示す。 FIG. 9 shows an overall block diagram of the pattern moving device, and FIG. 10 shows a block diagram showing the part that moves addresses.
図中、1は2値化回路で、ビデオカメラがIC、
プリント基板等の形状、模様やICパツケージ表
面の捺印を撮像したビデオ信号をアンプ等を介し
て2値化するものであり、この2値化回路1が2
値化した信号を窓回路2で作成した窓内に制限し
てCRTに表示する。この窓を作成するのは、周
知の如く、画面アドレス作成回路3が画像作成の
基準となる水平ドツトクロツクを分周等して、画
面上の各位置を設定する水平および垂直方向のア
ドレス信号を作成し、走査映像の外周を決定する
窓を形成する。 In the figure, 1 is a binarization circuit, the video camera is an IC,
A video signal that captures the shape and pattern of a printed circuit board, etc., and the markings on the surface of an IC package is converted into a binary signal via an amplifier, etc., and this binary conversion circuit 1 converts the
The converted signal is restricted within the window created by the window circuit 2 and displayed on the CRT. As is well known, this window is created by the screen address creation circuit 3, which divides the horizontal dot clock, which is the reference for image creation, to create horizontal and vertical address signals that set each position on the screen. and forms a window that determines the outer periphery of the scanned image.
以上の回路で、予めビデオカメラで基準品の模
様、形状等を撮像して、基準パターンの2値化信
号を作成し、このデータを一時記憶回路4に一時
記憶させる。一時記憶回路4は、集積回路でな
り、前記窓内に制限された2値化信号(以下単に
2値化信号という)と画面アドレス作成回路3で
作成されたアドレス信号を入力とし、指定された
アドレスに2値化信号を一時記憶するものであ
り、後述する基準パターン記憶手段に2値化信号
を移送した後は記憶は空になる。次に、この空に
なつた一時記憶回路4に被検体パターンを一時記
憶する。 With the above circuit, the pattern, shape, etc. of the reference product is imaged in advance with a video camera, a binary signal of the reference pattern is created, and this data is temporarily stored in the temporary storage circuit 4. The temporary storage circuit 4 is an integrated circuit, and inputs the binary signal limited within the window (hereinafter simply referred to as the binary signal) and the address signal created by the screen address creation circuit 3, and receives the specified signal. The binary signal is temporarily stored at the address, and the memory becomes empty after the binary signal is transferred to the reference pattern storage means to be described later. Next, the subject pattern is temporarily stored in this empty temporary storage circuit 4.
A,A′は集積回路よりなる基準パターン記憶
手段で、前記一時記憶回路4との間にゲート回路
5,6,7を介して接続され、一時記憶回路4に
記憶されている内容を記憶するためのものであ
る。この基準パターン記憶手段Aに一時記憶回路
4の記憶内容を移送するには、ゲート回路5が後
述の演算処理手段の指令信号により開放されたと
きに一時記憶回路4内の2値化信号を通過させ、
基準パターン記憶手段Aの入力端子に接続されて
いるゲート回路6がCPUの指令信号により開放
されるとともに2値化信号を適宜数ビツト縮小し
た信号を出力し、基準パターンAはこの縮小され
た2値化信号を記憶し、これを基準パターン(1)と
する。他方の基準パターン記憶手段A′に基準パ
ターンを記憶するには、ゲート回路7により2値
化信号を適宜数ビツト拡大された基準パターンを
記憶させ、これを基準パターン(2)とする。上記記
憶手段A,A′は集積回路よりなる記憶素子であ
るが、フロツピーデイスクやデータテープを使用
して記憶容量を増加してもよい。 Reference pattern storage means A and A' are integrated circuits, which are connected to the temporary storage circuit 4 through gate circuits 5, 6, and 7, and store the contents stored in the temporary storage circuit 4. It is for. In order to transfer the memory contents of the temporary storage circuit 4 to the reference pattern storage means A, the binary signal in the temporary storage circuit 4 is passed through when the gate circuit 5 is opened by a command signal from the arithmetic processing means to be described later. let me,
The gate circuit 6 connected to the input terminal of the reference pattern storage means A is opened by a command signal from the CPU and outputs a signal obtained by appropriately reducing the binary signal by several bits. The value signal is stored and used as a reference pattern (1). To store a reference pattern in the other reference pattern storage means A', the gate circuit 7 stores a reference pattern obtained by appropriately enlarging the binary signal by several bits, and sets this as a reference pattern (2). The storage means A, A' are storage elements made of integrated circuits, but a floppy disk or data tape may be used to increase the storage capacity.
Bは演算処理手段で、前記のゲート回路5,
6,7を開閉する指令をするとともに、前記基準
パターン(1)(2)と一時記憶された被検体パターンを
比較して、水平、垂直および回転の各方向におけ
るずれを算出し、モニタープログラムよりずれに
応じた各方向への移動する定数を呼び出し、この
定数をデータバスラインに乗せる。ここにいう定
数には、水平、垂直方向ずれを補正するために必
要な定数と、回転ずれを補正するために必要な定
数とがあり、水平、垂直方向ずれを補正するため
に必要な定数とは具体的には、垂直方向にXビツ
ト平行移動する指令信号、垂直方向にYビツト平
行移動する指令信号であり、また回転ずれを補正
するために必要な定数とは、第11図イおよびロ
に例示するように、水平方向に1ビツト進みに対
し水平同期信号をα個計数する指令および垂直方
向に1ビツト進みに対し水平ドツトクロツク信号
をβ個計数する指令がその内容である。尚、ここ
でいう進み、遅れという意味は表示画面左上を回
転中心とした時計回り方向への移動を進みとし、
その逆方向への移動を遅れとしている。 B is an arithmetic processing means, which includes the gate circuit 5,
At the same time, commands are given to open and close 6 and 7, and the reference patterns (1) and 7 are compared with the temporarily stored subject pattern to calculate the deviations in the horizontal, vertical and rotational directions, and the monitor program calculates the deviations in the horizontal, vertical and rotational directions. Call a constant that moves in each direction according to the shift, and put this constant on the data bus line. The constants mentioned here include constants necessary to correct horizontal and vertical deviations, constants necessary to correct rotational deviations, and constants necessary to correct horizontal and vertical deviations. Specifically, they are a command signal for parallel translation by X bits in the vertical direction, and a command signal for parallel translation by Y bits in the vertical direction, and the constants necessary to correct rotational deviation are shown in Figure 11 A and B. As shown in FIG. 1, the contents include a command to count α horizontal synchronizing signals for each bit advance in the horizontal direction, and a command to count β horizontal dot clock signals for each one bit advance in the vertical direction. In addition, the meaning of advance and delay here is that movement in the clockwise direction with the upper left of the display screen as the center of rotation is progress.
Movement in the opposite direction is considered a delay.
Cは、水平方向に対する回転信号作成手段で、
ラツチ回路8の出力と同期カウンタ9の出力がコ
ンパレータ10の入力端子に接続され、コンパレ
ータ10の出力端子が同期カウンタ9のリセツト
端子に帰還して接続されるとともに次段のアツプ
ダウンカウンタ11に接続されている。この回転
信号作成手段Cは演算処理手段Bより供給される
前記計数指令信号(水平同期信号をα個計数)を
ラツチ回路8が一画像が完成するまで出力し続け
ており、ラツチ回路8の計数指令信号αと同期カ
ウンタ9が計数している水平同期信号数が一致す
るとコンパレータ10が1パルス出力し、この出
力パルスは同期カウンタ9のリセツト端子に戻さ
れ、上記と同様な動作を繰り返して、コンパレー
タ10は一画像作成完了まで繰り返しパルスを出
力する。 C is a rotation signal generating means for the horizontal direction;
The output of the latch circuit 8 and the output of the synchronous counter 9 are connected to the input terminal of the comparator 10, and the output terminal of the comparator 10 is fed back and connected to the reset terminal of the synchronous counter 9, and is also connected to the up-down counter 11 of the next stage. has been done. The rotation signal generating means C continues to output the counting command signal (counting α horizontal synchronizing signals) supplied from the arithmetic processing means B until the latch circuit 8 completes one image, and the latch circuit 8 When the command signal α and the number of horizontal synchronization signals counted by the synchronization counter 9 match, the comparator 10 outputs one pulse, this output pulse is returned to the reset terminal of the synchronization counter 9, and the same operation as above is repeated. The comparator 10 repeatedly outputs pulses until one image is completed.
Dは水平方向に対する平行移動信号作成手段
で、前記コンパレータ10の出力をアツプダウン
カウンタ11のクロツク入力端子に接続し、ラツ
チ回路12の出力端子をアツプダウンカウンタ1
1のデータ入力端子に接続してあり、前記演算処
理手段Bより供給された水平方向へ移動すべき指
令信号(Xドツト移動指令)をラツチ回路12が
出力し続け、このラツチ回路12の指令信号をベ
ース値として、前記コンパレータ10からパルス
が出力される度に前記ベース値として指令信号
(Xドツト移動指令)にカウントアツプまたはカ
ウントダウンして水平方向への移動信号を作成
し、この移動信号を加算手段Eに供給する。 Reference numeral D denotes horizontal translation signal generation means, in which the output of the comparator 10 is connected to the clock input terminal of the up-down counter 11, and the output terminal of the latch circuit 12 is connected to the up-down counter 1.
The latch circuit 12 continues to output a command signal to move in the horizontal direction (X dot movement command) supplied from the arithmetic processing means B, and the command signal of this latch circuit 12 Using this as a base value, every time a pulse is output from the comparator 10, the command signal (X dot movement command) is counted up or down as the base value to create a movement signal in the horizontal direction, and this movement signal is added. Supply means E.
加算手段Eは、集積回路でなるいわゆるアダー
を使用し、水平アドレス信号(H0,H1,H2…
…)と、前記アツプダウンカウンタ11の出力信
号つまり全体をXドツト平行移動する信号を水平
同期信号α個毎に1ドツトづつ水平移動した信号
(X+1,X+2,X+3……)を入力とし、水
平アドレス信号(H0,H1,H2……)に水平移
動する信号(X+1,X+2,X+3,……)を
加算するもので、この加算手段Eにより変更され
た水平アドレス信号(H0,H1+X+1,H2+
X+2,……)を基準パターン記憶手段A,
A′はアドレスにするのである。第11図で示し
たものは説明を簡略化するために水平方向ずれが
ない(X=0)と仮定した場合である。 The addition means E uses a so-called adder made of an integrated circuit, and uses horizontal address signals (H0, H1, H2...
), and the output signal of the up-down counter 11, that is, the signal that moves the whole in parallel by X dots, is horizontally shifted by 1 dot for every α horizontal synchronization signals (X+1, X+2, X+3...), and the horizontal It adds a horizontally moving signal (X+1, X+2, X+3,...) to the address signal (H0, H1, H2...), and the horizontal address signal (H0, H1+
X+2,...) as the reference pattern storage means A,
A′ is an address. What is shown in FIG. 11 is a case where it is assumed that there is no horizontal displacement (X=0) to simplify the explanation.
以上述べたものは水平方向への移動についての
ものであるが、垂直方向への移動は、水平に移動
させたときと同様に、回転信号作成手段C′、平行
移動信号作成手段D′および加算手段E′を使用し、
全体をYドツト平行移動する信号を水平ドツトク
ロツクをβ個計数する毎に1ドツトづつ垂直移動
した信号(Y+1,Y+2,Y+3,……)を作
成し、この信号を加算手段E′に入力することで垂
直アドレス(V0,V1,V2,V……)に垂直移動
すべき信号(Y+1,Y+2,Y+3,……)を
加算し、加算後の垂直アドレス信号(V0,VI+
Y+1,V2+Y+2,……)を基準パターン記
憶手段A,A′に供給して、基準パターンの新ア
ドレスとするものである。 What has been described above relates to movement in the horizontal direction, but movement in the vertical direction is performed using rotation signal generation means C', parallel movement signal generation means D', and addition in the same way as for horizontal movement. using means E′,
Create a signal (Y+1, Y+2, Y+3, . . .) that moves the entire dot in parallel Y dots vertically by one dot every time β horizontal dot clocks are counted, and input this signal to the addition means E'. Add the signal to be vertically moved (Y+1, Y+2, Y+3,...) to the vertical address (V0, V1, V2, V...), and add the vertical address signal (V0, VI+
Y+1, V2+Y+2, . . . ) are supplied to the reference pattern storage means A, A' to be used as the new address of the reference pattern.
基準パターン記憶手段Aには前記したように縮
小パターンである基準パターン(1)が格納され、他
方、基準パターン記憶手段A′には拡大パターン
である基準パターン(2)が格納されている。本実施
例において(縮小)基準パターン(1)と(拡大)基
準パターン(2)に両方を作成するのは次の理由によ
る。 The reference pattern storage means A stores the reference pattern (1) which is a reduced pattern as described above, while the reference pattern storage means A' stores the reference pattern (2) which is an enlarged pattern. The reason why both the (reduced) reference pattern (1) and (enlarged) reference pattern (2) are created in this embodiment is as follows.
本発明のパターン移動装置の最終目的は移動さ
せた基準パターンを被検体パターンに重ね合わせ
て、被検体の良否の判定を行うことにあるが、こ
の際、注意しなければいけないのは、基準パター
ンと完全一致する被検体パターンを有するものが
良品であることは当然であるが、仮に完全一致し
ない場合でもその誤差が許容できる範囲内であれ
ば、その製品は良品として判断する必要があるこ
とである。即ち良品ワークの中でも多少の形状変
動があり、この形状変動は許容する必要があると
いうことであり、例えば欠損については第12図
に示されるように実線で示されるパターン上に存
在する欠け部分のうち実線パターン内側に示した
二点鎖線パターンよりも内側に食い込む欠け部分
のみが不良検出の対象であり、また汚れについて
は第13図に示すように実線で示されるパターン
上に存在するはみ出し汚れのうち実線パターン外
側に存在する二点鎖線パターンよりも外側にはみ
出す部分のみが不良検出の対象となることであ
る。そして、このような一定の許容範囲を与える
意味で本実施例では第14図に示すように、(縮
小)基準パターン(1)と(拡大)基準パターン(2)を
用意したのである。 The final purpose of the pattern moving device of the present invention is to superimpose the moved reference pattern on the object pattern to judge whether the object is good or bad. It goes without saying that a product with a test pattern that completely matches the test pattern is a good product, but even if it does not match completely, as long as the error is within an acceptable range, the product must be judged as a good product. be. In other words, there is some variation in shape even in a non-defective workpiece, and this variation in shape must be tolerated. Of these, only the chipped portions that cut into the inside of the two-dot chain line pattern shown inside the solid line pattern are subject to defect detection.As for stains, protruding stains existing on the solid line pattern as shown in Fig. 13 are subject to defect detection. Of these, only the portion that protrudes outside the two-dot chain line pattern that exists outside the solid line pattern is subject to defect detection. In order to provide such a certain tolerance range, this embodiment provides a (reduced) reference pattern (1) and an (enlarged) reference pattern (2), as shown in FIG.
(縮小)基準パターン(1)および(拡大)基準パ
ターン(2)は、上述の手法によりアドレス移動する
ことによつてアドレス内の記憶内容を実質上移動
させ、被検体パターンに重畳させてその不良を検
出するが、例えば欠損検出に際しては、第9図、
第15図に示すようにインバータ13で反転させ
た基準パターン(1)の反転パターンと被検体パター
ンをANDゲート14に入力することにより行わ
れ、このときANDゲート14からパルス信号が
出力されると被検体パターンに欠損があると判断
するものであり、また汚れ検出に際しては、第9
図、第16図に示すように、基準パターン(2)とイ
ンバータ15により反転せられた被検体パターン
の反転パターンをANDゲート16で論理演算し、
この結果、パルス信号が出力されると被検体パタ
ーンに汚れがあると判断するものである。この論
理演算した結果は電気的に信号処理をしたもので
あり、極めて正確なものであるため、半導体の捺
印のような人間の視覚を考慮した判断をしなけれ
ばならないものは、フイルタ17を通してある程
度幅をもたしている。このフイルタ17を通つた
信号をカウンタ18が計数することによつて不良
品の数が分かるのである。また、出力アンプ19
はビデオ信号、2値化信号、一時記憶信号、基準
パターン(1)(2)およびフイルタ17の出力信号と接
続され、これらの信号を選択して、CRT20に
供給するものである。 The (reduced) reference pattern (1) and the (enlarged) reference pattern (2) are created by moving the address using the method described above, thereby effectively moving the memory contents within the address, and superimposing it on the subject pattern to detect defects. However, for example, when detecting defects, Fig. 9,
As shown in FIG. 15, this is performed by inputting the inverted pattern of the reference pattern (1) inverted by the inverter 13 and the subject pattern to the AND gate 14. At this time, when a pulse signal is output from the AND gate 14, It is determined that there is a defect in the subject pattern, and when detecting dirt, the 9th
As shown in FIG. 16, the reference pattern (2) and the inverted pattern of the object pattern inverted by the inverter 15 are logically operated by the AND gate 16,
As a result, when a pulse signal is output, it is determined that there is dirt on the object pattern. The results of this logical operation are electrically processed signal processing and are extremely accurate. Therefore, for things such as semiconductor markings that require human visual perception to be judged, they are passed through the filter 17 to some extent. It has a wide range. The number of defective products can be determined by counting the signals passed through the filter 17 by the counter 18. In addition, the output amplifier 19
is connected to the video signal, the binary signal, the temporary storage signal, the reference patterns (1) and (2), and the output signal of the filter 17, and selects these signals and supplies them to the CRT 20.
以上のように演算処理手段Bからの指令信号
を、半導体素子で構成された移動手段が電気信号
のみで処理するため、ソフトで構成したのと比し
て処理速度が速くなり、半導体等に施された捺印
等のパターン検査を大量且つ高速に行うことがで
きるとともに、縮小した基準パターン(1)と拡大し
た基準パターン(2)を被検体パターンと比較するこ
とにより欠損像および汚れの検出判断が可能にな
るのである。 As described above, since the moving means composed of semiconductor elements processes the command signal from the arithmetic processing means B using only electric signals, the processing speed is faster than when it is composed of software. In addition to being able to perform large-volume and high-speed inspection of patterns such as stamps, defective images and stains can be detected and judged by comparing the reduced reference pattern (1) and the enlarged reference pattern (2) with the subject pattern. It becomes possible.
本発明に係るパターン移動装置は、演算処理手
段から発せられた基準パターンを被検体パターン
と重畳させる指令を、信号の流れで処理するた
め、従来のサーボ機構による被検体の機械的移動
による方法や、メモリー上に展開したパターン相
互を全ドツトにわたつてプログラムソフトウエア
によつて逐一比較照合する方法に比べて高速に処
理することが可能となる。また本発明装置はパタ
ーン同士を正確に重ね合わせてパターンの形状比
較をするものであるから従来広く行われている面
積比較による不良品検出装置に比べて検査精度も
格段に優れている。
The pattern moving device according to the present invention processes a command to superimpose a reference pattern on a subject pattern issued from an arithmetic processing means using a signal flow, so it uses a conventional method of mechanically moving a subject using a servo mechanism, or , it becomes possible to process faster than a method in which patterns developed in memory are compared point-by-point by program software over all dots. Furthermore, since the apparatus of the present invention compares the shapes of patterns by accurately superimposing the patterns, the inspection accuracy is far superior to that of defective product detection apparatuses that use area comparison, which has been widely used in the past.
第1図は基準パターンと不良箇所を有する被検
体パターンを示す説明図、第2図は基準パターン
と位置のずれた被検体パターンを示す説明図、第
3図イはパターンの回転移動方向を示す説明図、
第3図ロはパターンの平行移動方向を示す説明
図、第4図イ,ロ,ハおよび第5図は本発明にお
けるパターン移動の考え方を示す説明図、第6図
は画面作成用の同期信号の説明図、第7図は表示
画面と水平同期信号および水平ドツトクロツクと
の関係を示す説明図、第8図は本発明に係るパタ
ーン移動装置のブロツク図、第9図および第10
図は本発明に係るパターン移動装置の実施例を示
すブロツク図、第11図イ,ロは回転移動の説明
図、第12図は縮小基準パターンを作成する意味
を示す説明図、第13図は拡大基準パターンを作
成する意味を示す説明図、第14図は基準パター
ンを元にして縮小基準パターンと拡大基準パター
ンを作成する様子を示す説明図、第15図は欠損
検査の方法を示す説明図、第16図は汚れ検査の
方法を示す説明図である。
A,A′……基準パターン記憶手段、B……演
算処理手段、C,C′……回転信号作成手段、D,
D′……水平方向移動手段、E,E′……加算手段、
1……2値化回路、3……画面アドレス作成回
路、4……一時記憶回路、8……ラツチ回路、9
……コンパレータ、10……同期カウンタ、11
……アツプダウンカウンタ、12……ラツチ回
路。
Fig. 1 is an explanatory diagram showing a reference pattern and an object pattern having a defective part, Fig. 2 is an explanatory drawing showing an object pattern that is misaligned with the reference pattern, and Fig. 3 A shows the rotational movement direction of the pattern. Explanatory diagram,
Figure 3B is an explanatory diagram showing the direction of parallel movement of the pattern, Figures 4A, B, C and 5 are explanatory diagrams showing the concept of pattern movement in the present invention, and Figure 6 is a synchronization signal for screen creation. FIG. 7 is an explanatory diagram showing the relationship between the display screen, the horizontal synchronizing signal and the horizontal dot clock, FIG. 8 is a block diagram of the pattern moving device according to the present invention, and FIGS.
The figure is a block diagram showing an embodiment of the pattern moving device according to the present invention, FIGS. 11A and 11B are explanatory diagrams of rotational movement, FIG. An explanatory diagram showing the meaning of creating an enlarged reference pattern, Fig. 14 is an explanatory diagram showing how a reduced reference pattern and an enlarged reference pattern are created based on the reference pattern, and Fig. 15 is an explanatory diagram showing the defect inspection method. , FIG. 16 is an explanatory diagram showing a method of soil inspection. A, A'...Reference pattern storage means, B...Arithmetic processing means, C, C'...Rotation signal generation means, D,
D'...Horizontal movement means, E, E'...Addition means,
1... Binarization circuit, 3... Screen address creation circuit, 4... Temporary storage circuit, 8... Latch circuit, 9
... Comparator, 10 ... Synchronous counter, 11
...Up-down counter, 12...Latch circuit.
Claims (1)
ン記憶手段Aと、 該基準パターン記憶手段Aに記憶された基準パ
ターンと被検体パターンを比較し、基準パターン
の被検体パターンに対する回転方向、水平および
垂直方向のずれに応じて、基準パターンを被検体
パターンに重畳させるための回転方向への移動指
令と、水平方向および垂直方向への平行移動を指
令する信号を発する機能を有し、前記回転方向へ
の指令信号は、表示画面左上を回転中心となすと
ともにその回転動作を基準パターンを構成する各
ドツトの水平方向および垂直方向移動の集合に置
き換えて近似させた際に得られるところの定数の
形式で与えられ、その定数の内容は、水平方向に
1ドツト移動させるのに必要な垂直方向のドツト
数αと、垂直方向に1ドツト移動させるのに必要
な水平方向のドツト数βであり、他方、水平方向
および垂直方向に平行移動させるための指令信号
は水平方向移動ドツト数X、垂直方向移動ドツト
数Yで与えられてなる演算処理手段Bと、 前記演算処理手段Bの指令信号に応じて、α個
の水平同期信号を計数する毎に繰り返して信号を
出力する水平方向への回転信号作成手段C、並び
にβ個の水平ドツトクロツクを計数する毎に繰り
返して信号を出力する垂直方向への回転信号作成
手段C′と、 前記水平方向への回転信号作成手段Cより信号
が出力される毎に前記演算処理手段Bより指令さ
れた水平方向移動ドツト数Xをカウントアツプま
たはカウントダウンする水平方向の平行移動信号
作成手段D、並びに前記垂直方向への回転信号作
成手段C′より信号が出力される毎に前記演算処理
手段Bより指令された垂直方向移動ドツト数Yを
カウントアツプまたはカウントダウンする垂直方
向の平行移動信号作成手段D′と、 前記水平方向の平行移動信号作成手段Dから出
力されるカウントアツプまたはカウントダウンし
た水平方向への平行移動指令信号を基準パターン
の水平アドレスに加算し、この加算された水平ア
ドレスを前記基準パターン記憶手段Aに供給する
加算手段E、並びに前記垂直方向の平行移動信号
作成手段D′から出力されるカウントアツプまた
はカウントダウンした垂直方向への平行移動指令
信号を基準パターンの垂直アドレスに加算し、こ
の加算された垂直アドレスを前記基準パターン記
憶手段Aに供給する加算手段E′と、 よりなり基準パターン記憶手段Aのアドレスを加
減算して被検体パターンと重畳すべく基準パター
ンを移動させることを特徴とするパターン移動装
置。[Scope of Claims] 1. A reference pattern storage means A that stores a reference pattern in advance, and a comparison between the reference pattern stored in the reference pattern storage means A and the subject pattern, and rotation of the reference pattern with respect to the subject pattern. It has a function of emitting a command to move the reference pattern in the rotational direction to superimpose it on the subject pattern and a signal to command parallel movement in the horizontal and vertical directions, depending on the deviation in the horizontal and vertical directions. , the command signal in the rotational direction is obtained by approximating the upper left of the display screen as the center of rotation and replacing the rotational movement with a set of horizontal and vertical movements of each dot forming a reference pattern. It is given in the form of a constant, and the contents of the constant are the number of vertical dots α required to move one dot in the horizontal direction, and the number β of horizontal dots required to move one dot in the vertical direction. On the other hand, a command signal for parallel movement in the horizontal direction and vertical direction is given by the number of dots to be moved in the horizontal direction, X, and the number of dots to be moved in the vertical direction, Y. In accordance with the signal, a horizontal rotation signal generating means C repeatedly outputs a signal every time α horizontal synchronization signals are counted, and a vertical rotation signal generating means C repeatedly outputs a signal every time β horizontal dot clocks are counted. counting up or down the number of horizontally moving dots X commanded by the arithmetic processing means B each time a signal is output from the horizontal direction rotation signal generation means C' and the horizontal direction rotation signal generation means C; Each time a signal is output from the horizontal translation signal generation means D and the vertical rotation signal generation means C', the number Y of vertical movement dots commanded by the arithmetic processing means B is counted up or down. adding the count-up or count-down horizontal parallel movement command signal output from the vertical parallel movement signal generating means D′ and the horizontal direction parallel movement signal generating means D to the horizontal address of the reference pattern; Adding means E supplies this added horizontal address to the reference pattern storage means A, and a parallel movement command signal in the vertical direction which is counted up or down is outputted from the vertical direction parallel movement signal generating means D'. an addition means E' that adds to the vertical address of the reference pattern and supplies the added vertical address to the reference pattern storage means A; 1. A pattern moving device that moves a reference pattern as desired.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11976686A JPS62274209A (en) | 1986-05-23 | 1986-05-23 | Pattern moving device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11976686A JPS62274209A (en) | 1986-05-23 | 1986-05-23 | Pattern moving device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62274209A JPS62274209A (en) | 1987-11-28 |
| JPH0449044B2 true JPH0449044B2 (en) | 1992-08-10 |
Family
ID=14769657
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11976686A Granted JPS62274209A (en) | 1986-05-23 | 1986-05-23 | Pattern moving device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS62274209A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01269035A (en) * | 1988-04-21 | 1989-10-26 | Ibiden Co Ltd | Instrument for inspecting printed circuit board |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5835408A (en) * | 1981-08-28 | 1983-03-02 | Dainippon Printing Co Ltd | Signal processor for checking pattern defect |
-
1986
- 1986-05-23 JP JP11976686A patent/JPS62274209A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62274209A (en) | 1987-11-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4566126A (en) | Pattern discriminator | |
| KR100952815B1 (en) | Exposure pattern data inspection device, method and program | |
| US20230296531A1 (en) | Information processing apparatus, information processing method, and information processing program | |
| JP3265595B2 (en) | Image processing method and apparatus | |
| JP2009302217A (en) | Pattern inspection method, pattern inspection apparatus and pattern processing apparatus | |
| JPH0449044B2 (en) | ||
| JP3281457B2 (en) | Board component mounting inspection method and inspection device | |
| US4984075A (en) | Contour detecting apparatus | |
| JP3216439B2 (en) | Internal inspection equipment for circular containers | |
| JP2536127B2 (en) | Board inspection equipment | |
| JP4653339B2 (en) | Image matching processing method | |
| JP3218875B2 (en) | Three-dimensional object shape inspection device | |
| JP2501436B2 (en) | Pattern data inspection device | |
| JPH05231842A (en) | Shape pattern inspection method and device | |
| JPS62154076A (en) | Image processing method | |
| JPH0894534A (en) | Pattern defect detector | |
| JPH061247B2 (en) | Defect inspection method by image processing | |
| JPH10160681A (en) | Pattern defect detection device and pattern defect detection method | |
| JPH05281151A (en) | Wafer pattern inspection device | |
| JPH0325357A (en) | Image defect detecting method | |
| JP3448322B2 (en) | Calibration method of CCD camera for image input device | |
| JPH11101753A (en) | Image processing and inspection apparatus | |
| JPS62274245A (en) | Surface inspection device for discoid component | |
| JPH0329178B2 (en) | ||
| JPH09264723A (en) | Shape inspecting method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |