JPH0518372B2 - - Google Patents

Info

Publication number
JPH0518372B2
JPH0518372B2 JP61164207A JP16420786A JPH0518372B2 JP H0518372 B2 JPH0518372 B2 JP H0518372B2 JP 61164207 A JP61164207 A JP 61164207A JP 16420786 A JP16420786 A JP 16420786A JP H0518372 B2 JPH0518372 B2 JP H0518372B2
Authority
JP
Japan
Prior art keywords
pattern
inspection
standard
inspected
image
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
Application number
JP61164207A
Other languages
Japanese (ja)
Other versions
JPS6319541A (en
Inventor
Kyotaka Inada
Shuji Matsumoto
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.)
Nippon Steel Corp
Original Assignee
Sumitomo Metal Industries 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 Sumitomo Metal Industries Ltd filed Critical Sumitomo Metal Industries Ltd
Priority to JP61164207A priority Critical patent/JPS6319541A/en
Publication of JPS6319541A publication Critical patent/JPS6319541A/en
Publication of JPH0518372B2 publication Critical patent/JPH0518372B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • G01N21/956Inspecting patterns on the surface of objects
    • G01N21/95607Inspecting patterns on the surface of objects using a comparative method

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はパターンの欠陥を検出する方法及び装
置に関し、更に詳述すれば、IC配線基板等にプ
リントされたパターンの検査方法及びこれに使用
する装置に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a method and apparatus for detecting defects in a pattern, and more specifically, a method for inspecting a pattern printed on an IC wiring board, etc., and a method used therefor. related to a device for

〔従来技術〕[Prior art]

IC(集積回路)は、たとえばセラミツクス基板
上に導電性インクにて配線パターンをスクリーン
印刷し、これを複数積層して作成されるが、近年
のICの高密度化、多層化に伴つてパターン欠陥
の検査が重要な課題となつている。
ICs (integrated circuits) are created by screen-printing wiring patterns using conductive ink on ceramic substrates, for example, and stacking multiple layers of these, but as ICs have become more dense and multilayered in recent years, pattern defects inspection has become an important issue.

ところで、従来の配線パターンの検査方法とし
ては人間の目視による方法が一般的であつたが、
このような方法は、パターン欠陥の見落としによ
る成品の歩留りの低下、信頼性の低さ等の問題が
あり、また能率及び生産性も低い。
By the way, the conventional method for inspecting wiring patterns has been to use human visual inspection.
Such a method has problems such as a decrease in the yield of finished products due to oversight of pattern defects and low reliability, and also has low efficiency and productivity.

そこで、たとえば特開昭55−156804号及び特開
昭57−210627号の如く、欠陥のないパターン、即
ち設計通りに描かれた原パターン等を基準として
これと検査対象パターンとを重ね合わせて検査対
象パターンの余剰部分と欠損部分を求める装置
が、また特開昭57−34402号の発明の如く、複数
配列された同一検査対象パターンの予め指定され
た部分を撮像している時点で位置補正を行い比較
検査する方法が、更に特開昭59−168313号の如
く、設計上のパターンデータに従つて検査対象パ
ターンを走査して、パターンデータと異なる走査
結果が検出された場合にはこれを欠陥とする等の
手法を用いて自動的にパターンを検査し、その欠
陥を検出する装置が提案されている。
Therefore, as in JP-A-55-156804 and JP-A-57-210627, a defect-free pattern, that is, an original pattern drawn according to the design, is used as a reference, and the pattern to be inspected is superimposed on it for inspection. The apparatus for determining the surplus and missing parts of the target pattern also performs position correction at the time it is imaging a pre-specified part of the same pattern to be inspected arranged in plurality, as in the invention of JP-A No. 57-34402. Furthermore, as disclosed in Japanese Patent Application Laid-Open No. 168313/1983, the pattern to be inspected is scanned according to the designed pattern data, and if a scanning result different from the pattern data is detected, it is considered as a defect. An apparatus has been proposed that automatically inspects patterns and detects defects using techniques such as the following.

〔発明が解決しようとする問題点〕 ICマスク用の検査装置の場合には、ICマスク
がエツチングにより作成されるたせそのパターン
の境界が比較的明瞭な直線状となり、検査対象の
パターンの二値化画像のデータを検査の基準とな
る標準パターンと単純に比較する程度で充分であ
る。
[Problem to be solved by the invention] In the case of an inspection device for an IC mask, since the IC mask is created by etching, the boundaries of the pattern are relatively clear and linear, and the binary values of the pattern to be inspected are It is sufficient to simply compare the image data with a standard pattern that serves as a reference for inspection.

しかし、セラミツクス基板に配線パターンをス
クリーン印刷する場合には、インクの滲み、スク
リーンの網目等のためパターンの境界が微細な凹
凸を呈することは避けられず、このため上述の如
き特開昭55−156804号及び特開昭57−210627号の
如き二値化画像の単純な比較ではパターンの境界
の凹凸が大部分欠陥であると判定される。従つ
て、セラミツクス基板にスクリーン印刷されたパ
ターンの検査にはICマスクの検査等よりは比較
的高度な技術が要求される。
However, when screen printing a wiring pattern on a ceramic substrate, it is inevitable that the boundaries of the pattern will exhibit minute irregularities due to ink bleeding, screen mesh, etc. 156804 and Japanese Patent Application Laid-Open No. 57-210627, it is determined that most of the irregularities at the boundaries of patterns are defects. Therefore, inspection of patterns screen printed on ceramic substrates requires relatively more advanced technology than inspection of IC masks.

また、特開昭59−168313号の如き、座標データ
として与えられる数値化されたパターンデータを
検査基準とし、これと検査対象パターンの二値化
像との比較を行う手法では、パターンデータとし
て設計データ等を画素形式のデータに変換してお
く必要があり、これには相当程度の時間が必要で
あるため、実時間検査としての面から見ると実用
的とは言い難い。
In addition, in a method such as JP-A No. 59-168313, in which digitized pattern data given as coordinate data is used as an inspection standard, and this is compared with a binary image of the pattern to be inspected, the pattern data is It is necessary to convert data etc. into pixel format data, and this requires a considerable amount of time, so it is difficult to say that it is practical from the standpoint of real-time inspection.

また画素形式に変換されたパターンデータに従
つて検査対象パターンの走査を行うため、基準位
置を厳密に一致させる必要があり、このための特
別な距離計等が必要であり、複雑なパターンには
適用し難い等の難点がある。
In addition, since the pattern to be inspected is scanned according to the pattern data converted to pixel format, it is necessary to precisely match the reference position, and a special distance meter is required for this purpose. There are drawbacks such as difficulty in application.

更に、特開昭57−34402号の発明は、焼成前の
セラミツクのグリーンシート上の印刷パターンに
適用した場合には、グリーンシートの伸縮の面か
ら位置補正を検査対象パターンの全面に亙つて、
即ち撮像されている部分が移動するにつれて常時
行う必要がある。このため、処理時間が長時間化
して検査効率が低下するという問題が生じる。ま
た、検査対象パターンの位置補正は、撮像装置に
より撮像入力された検査対象パターンの像を適宜
処理してX軸及びY軸に直交する直線部分のエツ
ジ部を対象として行うのが通常である。しかし、
パターンによつては直線が少ない場合もあり、こ
のような場合には任意の位置において位置補正を
自由に行える保証はなく、限定された位置におい
てしか位置補正を行うことが出来ない。
Furthermore, when the invention of JP-A No. 57-34402 is applied to a printed pattern on a ceramic green sheet before firing, position correction is performed over the entire surface of the pattern to be inspected from the perspective of expansion and contraction of the green sheet.
In other words, it is necessary to constantly perform the process as the part being imaged moves. Therefore, a problem arises in that the processing time becomes long and the inspection efficiency decreases. Further, positional correction of the pattern to be inspected is normally performed by appropriately processing an image of the pattern to be inspected captured and inputted by an imaging device, targeting the edge portion of a straight line portion orthogonal to the X-axis and the Y-axis. but,
Depending on the pattern, there may be few straight lines, and in such cases, there is no guarantee that positional correction can be performed freely at any position, and positional correction can only be performed at limited positions.

更に、従来は一枚の検査対象パターンはその全
体が同一のスライスレベル(二値化の場合であれ
ば二値化レベル)にて処理されているので、たと
えば多層ICの最上層のパターン検査に際しては、
その下層の色、パターンが透過して画像として入
力されるため、最適な二値化画像を得るためには
同一枚の検査対象パターン内においても検査位置
によつてはその背景に応じて二値化レベルを変更
する必要がある。
Furthermore, conventionally, the entire pattern to be inspected on a single sheet is processed at the same slice level (binarization level in the case of binarization). teeth,
Since the underlying color and pattern are transmitted through and input as an image, in order to obtain the optimal binarized image, depending on the inspection position, even within the pattern to be inspected on the same sheet, it is necessary to It is necessary to change the encoding level.

しかし、位置補正を行うための適当な位置の情
報、あるいは二値化レベルの情報等を各パターン
と共に記憶させておくには、これらのデータと各
パターンの画像データはデータの形が異なるため
同一のメモリあるいは異なるメモリにそれぞれ別
のデータとして記憶させておく必要があり、装置
の大型化及び実際の使用に際してのデータの検
索・読出し時間の長時間化等の問題が生じる。
However, in order to store appropriate position information for position correction or binarization level information, etc. with each pattern, these data and the image data of each pattern have different data formats, so they must be the same. It is necessary to store each data as separate data in one memory or in different memories, which causes problems such as an increase in the size of the device and a long time for searching and reading data during actual use.

本発明は以上の如き事情に鑑みてなされたもの
であり、スクリーン印刷による配線パターンのイ
ンクの滲み、網目等に起因するパターン境界の凹
凸等を欠陥として判定することなく、直線部分が
少ないパターンでも位置合わせが容易に可能であ
り、また高速処理が可能で、パターンの変更にも
容易に対応可能であり、更に二値化レベル、位置
補正方法、位置補正のためのパターンの範囲(ウ
インドウ)等を検査のための基準となる各パター
ンそれぞれについて個別に設定し得るパターンの
検査方法及びその装置の提供を目的とする。
The present invention has been made in view of the above-mentioned circumstances, and can be used even in patterns with few straight parts without determining as defects the ink bleeding of wiring patterns by screen printing, unevenness of pattern boundaries caused by mesh, etc. Positioning can be easily performed, high-speed processing is possible, and patterns can be easily changed, and the binarization level, position correction method, pattern range (window) for position correction, etc. An object of the present invention is to provide a pattern inspection method and apparatus that can individually set each pattern as a standard for inspection.

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

本発明は、検査対象パターンの検査されるべき
各部分(撮像装置の視野単位)について、欠落部
検出用標準パターン及び突出部検出用標準パター
ンを作成してメモリに記憶させておくと共に、こ
のメモリ上に各標準パターンが記憶された際の空
白部分(同期信号の部分等)にその各検査対象部
分それぞれの最適の二値化レベル、位置補正のた
めのパターン上の範囲(ウインドウ)及びその方
法等を制御データとして書込んで記憶させ、実際
の検査時に各標準パターンを読出すと共に、その
空白部分に記憶されている制御データをも読出し
てそれぞれの部分の検査を行う構成を採つてい
る。
The present invention creates a standard pattern for detecting a missing part and a standard pattern for detecting a protruding part for each part of a pattern to be inspected (unit of field of view of an imaging device) and stores it in a memory. The blank area (synchronization signal area, etc.) when each standard pattern is stored above shows the optimum binarization level for each inspection target area, the range (window) on the pattern for position correction, and its method. etc. are written and stored as control data, and at the time of actual inspection, each standard pattern is read out, and the control data stored in the blank area is also read out to inspect each part.

即ち本発明のパターン検査方法は、検査基準パ
ターンの二値化画像を判定基準に対応するサイズ
に夫々拡大及び縮小した突出部検出用標準パター
ン及び欠落部検出用標準パターンを作成し、両標
準パターンを、その標準パターンによる検査に必
要な検査対象パターンの二値化の閾値、位置補正
のためのウインドウ座標及び位置補正の方法に関
する情報をそれぞれのパターンの画像がメモリに
記憶される際のメモリ上の空白部分に書込んでメ
モリに記憶させ、検査対象のパターンを撮像し、
撮像された検査対象のパターンの画像を前記二値
化の閾値に関する情報に従つて二値化し、メモリ
に記憶されている両標準パターンそれぞれと二値
化された検査対象パターンとの間の位置誤差を前
記位置補正のためのウインドウ座標に関する情報
にて規定されているウインドウ領域において前記
位置補正の方法に関する情報に従つて位置補正
し、両標準パターンの画像それぞれと二値画像化
された検査対象パターンとの論理積を求めること
により検査対象パターンの欠陥を検出することを
特徴とする。
That is, in the pattern inspection method of the present invention, a standard pattern for detecting protrusions and a standard pattern for detecting missing parts are created by enlarging and reducing the binary image of the inspection reference pattern to a size corresponding to the judgment criterion, and then information about the binarization threshold of the pattern to be inspected, the window coordinates for position correction, and the position correction method necessary for inspection using the standard pattern is stored in the memory when the image of each pattern is stored in the memory. Write in the blank space of , store it in memory, image the pattern to be inspected,
The captured image of the pattern to be inspected is binarized according to the information regarding the binarization threshold, and the position error between each of the two standard patterns stored in the memory and the binarized pattern to be inspected is calculated. The position is corrected in the window area defined by the information on the window coordinates for position correction according to the information on the position correction method, and the images of both standard patterns and the inspection target pattern converted into a binary image are It is characterized by detecting defects in the pattern to be inspected by calculating the logical product of

また本発明のパターン検査装置は検査対象パタ
ーンを検査基準パターンと比較してその欠陥を検
出するパターン検査装置において、検査基準のパ
ターンの二値化画像を判定基準に対応するサイズ
に夫々拡大及び縮小して突出部検出用標準パター
ン及び欠落部検出用標準パターンを作成する標準
パターン作成装置と、該標準パターン作成装置に
て作成された両標準パターンを、その標準パター
ンによる検査に必要な少なくとも検査対象パター
ンの二値化の閾値、位置補正のためのウインドウ
座標及び位置補正の方法に関する情報をそれぞれ
のパターンの画像が記憶される際の空白部分に書
込んで記憶するメモリと、検査対象のパターンを
載置する移動可能な検査台と、検査対象パターン
を撮像する撮像装置と、該撮像装置により撮像さ
れた検査対象のパターンの画像を前記二値化の閾
値に関する情報に従つて二値化する二値化回路
と、前記メモリに記憶されている両標準パターン
それぞれと前記二値化回路にて二値化された検査
対象パターンとの間の位置誤差を前記位置補正の
ためのウインドウ座標に関する情報にて規定され
ているウインドウ領域において前記位置補正の方
法に関する情報に従つて位置補正する手段と、前
記両標準パターンの画像それぞれと二値画像化さ
れた検査対象パターンとの論理積を求めることに
より検査対象パターンの欠陥を検出する欠陥判定
回路とを備えたことを特徴とする。
Further, the pattern inspection device of the present invention is a pattern inspection device that compares a pattern to be inspected with an inspection reference pattern to detect defects thereof, in which a binary image of the inspection reference pattern is enlarged and reduced to a size corresponding to the judgment criterion, respectively. A standard pattern creation device that creates a standard pattern for detecting protrusions and a standard pattern for detecting missing parts, and at least an inspection target necessary for inspection using the standard pattern, both standard patterns created by the standard pattern creation device. A memory for writing and storing information regarding the pattern binarization threshold, window coordinates for position correction, and position correction method in the blank area where each pattern image is stored, and a memory for storing the pattern to be inspected. a movable inspection table on which the inspection table is placed; an imaging device that captures an image of the pattern to be inspected; and a binarizer that binarizes the image of the pattern of the inspection target captured by the imaging device in accordance with the information regarding the binarization threshold value. A digitization circuit converts the positional error between each of the two standard patterns stored in the memory and the pattern to be inspected binarized by the binarization circuit into information regarding the window coordinates for the position correction. means for correcting the position in a window area defined by the method according to the information regarding the position correction method, and performing an inspection by calculating the logical product of each of the images of the two standard patterns and the pattern to be inspected which is converted into a binary image. The present invention is characterized by comprising a defect determination circuit that detects defects in the target pattern.

〔作 用〕[Effect]

本発明では、パターン境界での凹凸を欠陥と判
定することがなく、また直線部分が少ないパター
ンでも検査対象パターンの位置調整が容易であ
り、更に検査対象パターンの各検査部分それぞれ
について予め個別に設定された検査対象パターン
の最適の二値化レベル、位置補正のためのパター
ン上の範囲(ウインドウ)及びその方法等に従つ
て、最適な条件にて検査を行える。
In the present invention, irregularities at pattern boundaries are not judged as defects, and the position of the pattern to be inspected can be easily adjusted even in patterns with few straight parts.Furthermore, each inspection part of the pattern to be inspected can be individually set in advance. Inspection can be performed under optimal conditions according to the optimal binarization level of the pattern to be inspected, the range (window) on the pattern for position correction, the method thereof, etc.

そしてこの情報の記憶は標準パターンの記憶の
ためのメモリの余剰部を利用しており、資源の有
効利用が図れる。
The storage of this information utilizes the surplus memory for storing standard patterns, allowing for effective use of resources.

〔実施例〕〔Example〕

以下、本発明をその実施例を示す図面に基づい
て詳述する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below based on drawings showing embodiments thereof.

第1図は本発明に係るパターン検査装置の全体
の構成を示すブロツク図である。以下、まず本発
明装置の構成について説明する。
FIG. 1 is a block diagram showing the overall structure of a pattern inspection apparatus according to the present invention. Hereinafter, first, the configuration of the apparatus of the present invention will be explained.

検査台14は図示しない基盤上に水平に定置さ
れており、その上面に検査基準パターンBPまた
は検査対象パターンDPを載置して水平方向の直
交する2方向に移動させることが可能となつてい
る。即ち、検査台14は3層構造となつていて、
基盤に固定された最下層の支持台141に固定さ
れたパルスモータ15cにより中間層のY方向移
動台143が第1図上で奥行方向(以下、Y軸方
向という)に、またY方向移動台143に固定さ
れたパルスモータ15bにより最上層のX方向移
動台142が第1図上で左右方向、即ちY方向移
動台143の移動方向であるY軸方向とは直交す
る方向(以下、X軸方向という)にそれぞれ移動
する構成となつている。従つて、最上層のX方向
移動台142は、基盤に定置された支持台141
に対してX,Y軸両方向への移動が可能である。
The inspection table 14 is placed horizontally on a base (not shown), and the inspection reference pattern BP or the inspection target pattern DP can be placed on the top surface of the table 14 and moved in two orthogonal directions in the horizontal direction. . That is, the inspection table 14 has a three-layer structure,
A pulse motor 15c fixed to the lowest layer support 141 fixed to the base moves the middle layer Y-direction moving table 143 in the depth direction (hereinafter referred to as the Y-axis direction) in FIG. The pulse motor 15b fixed to the top layer moves the X-direction moving table 142 in the left-right direction in FIG. It is configured to move in each direction. Therefore, the top layer X-direction moving table 142 is connected to the support table 141 fixed on the base.
It is possible to move in both the X and Y axes directions.

検査台14の上方には、たとえばCCDイメー
ジセンサあるいはITVカメラ等の2次元撮像装
置1がそのレンズ系の光軸を垂直下方向きとして
図示しない適宜の除振装置等を介して基盤に支持
されており、更に撮像装置1のレンズ系の光軸を
その発光域の中心としたリング状の照明灯1lが
固定されているが、リング状の照明灯1lの高さ
位置は撮像装置1のレンズ系に直接その光が入射
しない位置となつている。
Above the examination table 14, a two-dimensional imaging device 1 such as a CCD image sensor or an ITV camera is supported by a base via an appropriate vibration isolator (not shown) with the optical axis of its lens system directed vertically downward. Furthermore, a ring-shaped illumination lamp 1l whose light emitting area is centered on the optical axis of the lens system of the imaging device 1 is fixed, but the height position of the ring-shaped illumination lamp 1l is determined by the lens system of the imaging device 1. The position is such that the light does not directly enter the area.

撮像装置1により撮像された撮像信号は、図示
しない画像歪補正回路にてレンズ系の収差等によ
る画像の歪を補正された後、二値化回路2に与え
られる。
The imaging signal captured by the imaging device 1 is supplied to the binarization circuit 2 after being corrected for image distortion due to aberrations of the lens system in an image distortion correction circuit (not shown).

二値化回路2は上述の撮像装置1から与えられ
る画像信号を二値化処理してパターン画像を作成
する。この際の二値化レベル、即ち閾値は後述す
る画像処理制御回路7から与えられるが、その値
は一定値ではなくて変更可能である。この二値化
回路2の出力信号、即ち二値画像信号は標準パタ
ーン作成回路3及び位置補正回路6に与えられて
いる。
The binarization circuit 2 binarizes the image signal provided from the above-described imaging device 1 to create a pattern image. The binarization level at this time, ie, the threshold value, is given from the image processing control circuit 7, which will be described later, but the value is not a constant value and can be changed. The output signal of this binarization circuit 2, ie, the binary image signal, is given to a standard pattern creation circuit 3 and a position correction circuit 6.

標準パターン作成回路3は、二値化回路2から
与えられた二値画像信号を拡大・縮小処理して突
出部検出用標準パターン及び欠落部検出用標準パ
ターンの概略パターンを作成する。この標準パタ
ーン作成回路3による概略パターンの作成は以下
の如くして行われる。第2図はその概念を示す説
明図である。
The standard pattern creation circuit 3 enlarges and reduces the binary image signal provided from the binarization circuit 2 to create approximate patterns of a standard pattern for detecting protrusions and a standard pattern for detecting missing parts. The creation of a rough pattern by the standard pattern creation circuit 3 is performed as follows. FIG. 2 is an explanatory diagram showing the concept.

まず撮像装置1にて撮像され二値化回路2にて
二値画像信号に変換された検査基準パターンBP
から拡大パターンLP及び縮小パターンSPが作成
される。但し、この際の「拡大・縮小」は通常の
意味での光学的拡大・縮小とは異なり、第3図に
示す如き手法により行われる。即ち、たとえば第
3図aに示す如く11〜55の5×5のマトリツ
クス状のドツトにて表される二値パターンについ
て、第3図bに示す如くその中心に位置するドツ
ト33のみ“1”、他のドツトは“0”であると
すると、拡大処理は各ドツトとその上下左右4個
のドツトとの論理和画像として、縮小処理は論理
積画像として表わされる。これを図面に即して説
明すると、第3図bにおいてドツト33とその上
下左右の各ドツト23,32,34,43との論
理和はそれぞれ“1”となる。従つて、第3図b
の拡大画像は第3図cの如くになる。一方、第3
図bにおいて中心のドツト33とその上下左右の
各ドツト23,32,34,43との論理積はそ
れぞれ“0”となる。従つて、第3図bを縮小し
た画像は全て“0”となる。
First, the inspection reference pattern BP is imaged by the imaging device 1 and converted into a binary image signal by the binarization circuit 2.
An enlarged pattern LP and a reduced pattern SP are created from the above. However, the "enlargement/reduction" at this time is different from optical enlargement/reduction in the usual sense, and is performed by a method as shown in FIG. That is, for example, for a binary pattern represented by a 5×5 matrix of dots 11 to 55 as shown in FIG. 3a, only the dot 33 located at the center is "1" as shown in FIG. 3b. , the other dots are "0", the enlargement process is expressed as a logical sum image of each dot and four dots above, below, left and right of it, and the reduction process is expressed as a logical product image. To explain this with reference to the drawings, in FIG. 3B, the logical sum of the dot 33 and each of the dots 23, 32, 34, and 43 above, below, and to the left and right is "1". Therefore, Figure 3b
The enlarged image is as shown in Fig. 3c. On the other hand, the third
In FIG. b, the logical product of the center dot 33 and each of the dots 23, 32, 34, and 43 above, below, and to the left and right is "0". Therefore, the reduced image of FIG. 3b is all "0".

このような手法により作成された概略の拡大パ
ターンLP及び縮小パターンSPは、具体的には第
2図にそれぞれ示す如く、言わば太線化及び細線
化というべきパターンとなるが、この段階ではあ
くまで概略パターンである。
The general enlarged pattern LP and the reduced pattern SP created by such a method become patterns that can be called thicker lines and thinner lines, respectively, as shown in Fig. 2, but at this stage, they are just rough patterns. It is.

パターン修正装置4は上述の標準パターン作成
回路3にて作成された概略のパターンを実際のパ
ターン検査のための標準パターンRLP,RSPと
すべく修正するために使用される。即ち、パター
ン修正装置4は画像モニタを備えており、これに
標準パターン作成回路3にて作成された概略パタ
ーンが表示されるので、この画面上でカーソル制
御あるいはマウス等にて必要に応じてパターンの
修正を施すことにより最終的な標準パターン、つ
まり突出部検出用標準パターンRLP及び欠落部
検出用標準パターンRSPが作成される。具体的
には、たとえば第2図の検査基準パターンBPの
上側の配線パターンがその先端部まで必ず必要な
場合には、それを縮小した縮小パターンSP上に
おいて破線にて示す如く、配線パターンを付加す
る修正を行う。このパターン修正装置4にて修正
されることにより作成された標準パターンRLP,
RSPは位置補正設定装置5に送られる。
The pattern modification device 4 is used to modify the rough pattern created by the above-mentioned standard pattern creation circuit 3 into standard patterns RLP and RSP for actual pattern inspection. That is, the pattern correction device 4 is equipped with an image monitor, on which the rough pattern created by the standard pattern creation circuit 3 is displayed. The final standard patterns, that is, the standard pattern RLP for detecting protrusions and the standard pattern RSP for detecting missing parts, are created by making the following corrections. Specifically, for example, if the upper wiring pattern of the inspection reference pattern BP in FIG. Make the necessary corrections. The standard pattern RLP created by being corrected by this pattern correction device 4,
The RSP is sent to the position correction setting device 5.

位置補正設定装置5は上述の如くして作成され
た標準パターンRLP,RSPに位置補正用計算用
ウインドウの設定を行う。この位置補正計算用ウ
インドウは標準パターンRLP,RSPと検査対象
パターンDPとの位置合わせを行うためのもので
あり、第4図a,bそれぞれに破線にて示す如
く、標準パターンRLP,RSPの画像上にカーソ
ル制御等にて設定することが可能である。位置補
正設定装置5は、このようにして設定された位置
補正計算用ウインドウの画像上のアドレスを演算
し、画像処理制御回路7に送る。
The position correction setting device 5 sets a position correction calculation window for the standard patterns RLP and RSP created as described above. This position correction calculation window is for aligning the standard patterns RLP, RSP and the pattern to be inspected DP, and as shown by the broken lines in Fig. 4a and b, the images of the standard patterns RLP, RSP are It is possible to set it by controlling the cursor on the top. The position correction setting device 5 calculates the address on the image of the position correction calculation window thus set and sends it to the image processing control circuit 7.

また、この位置補正設定装置5によつて、位置
補正の方法、即ち位置補正のためのアルゴリズム
の選択設定も行われる。位置補正アルゴリズム
は、実際のパターン検査において標準パターン
RPと検査対象パターンDPとの画像の位置のずれ
を補正するためのアルゴリズムであり、たとえば
以下の二通りのいずれかが選択可能である。その
第1は、検査基準パターンBP及び検査対象パタ
ーンDP両者の画像上での配線パターン縁辺の座
標の平均値をそれぞれ求め、両者の平均値を一致
させるように検査対象パターンDPの位置を補正
して検査対象パターンDPと標準パターンRLP,
RSPとのずれを補正する方法である。また第2
は、配線パターンのドツトの投影ヒストグラムを
利用する方法である。具体的には、第5図に示す
如く、ドツトマトリツクス画像として表されてい
る標準パターンRLP,RSP上の配線パターン
(実線にて示す)と検査対象パターンDP上の配線
パターン(破線にて示す)双方のX軸及びY軸方
向へ投影した場合のドツト分布のヒストグラムを
作成する。そして、それぞれのヒストグラムにお
いてピーク値の所定比率をスライスレベルとして
ヒストグラムをスライスし、スライスレベルでの
中央値の差ΔX、ΔYを求める。このΔX及びΔY
を両パターンのずれであるとする。従つて、ΔX
及びΔYが0になるように、検査対象パターン
DPの位置を補正して両パターンのずれを補正す
る方法である。
The position correction setting device 5 also performs selection and setting of a position correction method, that is, an algorithm for position correction. The position correction algorithm is used for standard pattern inspection in actual pattern inspection.
This is an algorithm for correcting the positional deviation of the image between RP and the pattern to be inspected DP, and for example, one of the following two methods can be selected. The first method is to calculate the average value of the coordinates of the wiring pattern edges on the images of both the inspection reference pattern BP and the pattern to be inspected DP, and correct the position of the pattern to be inspected DP so that the two average values match. The pattern to be inspected DP and the standard pattern RLP,
This is a method to correct the deviation from RSP. Also the second
This method uses a projection histogram of dots of a wiring pattern. Specifically, as shown in FIG. 5, the wiring patterns on the standard patterns RLP and RSP (shown by solid lines) represented as dot matrix images and the wiring pattern on the inspection target pattern DP (shown by broken lines) ) Create a histogram of the dot distribution when projected in both the X-axis and Y-axis directions. Then, the histogram is sliced using a predetermined ratio of peak values as the slice level in each histogram, and the differences ΔX and ΔY between the median values at the slice level are determined. This ΔX and ΔY
Let be the deviation between the two patterns. Therefore, ΔX
The pattern to be inspected so that ΔY and ΔY become 0.
This is a method of correcting the position of the DP to correct the deviation between the two patterns.

このようにして位置補正設定装置5にて設定さ
れた位置補正計算用ウインドウの座標値及び位置
補正アルゴリズムは画像処理制御回路7に送られ
る。
The coordinate values of the position correction calculation window and the position correction algorithm thus set by the position correction setting device 5 are sent to the image processing control circuit 7.

位置補正回路6は、実際のパターン検査時にお
いて、撮像装置1にて撮像され二値化回路2にて
二値画像に変換された検査対象パターンDPの画
像を処理対象とし、その前述の位置補正設定装置
5によつて設定された位置補正計算用ウインド
ウ、位置補正アルゴリズムに従つて位置補正処理
を行う。
During actual pattern inspection, the position correction circuit 6 processes an image of the inspection target pattern DP captured by the imaging device 1 and converted into a binary image by the binarization circuit 2, and performs the above-mentioned position correction. Position correction processing is performed according to the position correction calculation window and position correction algorithm set by the setting device 5.

画像処理制御回路7は、標準パターンRLP,
RSP作成時には、標準パターンRLP,RSPが後
述する標準パターン記憶装置9に記憶される際の
各1画面の記憶領域上の同期信号のための部分等
の空白部に、前述の位置補正計算用ウインドウの
座標、位置補正アルゴリズム及び二値化レベル等
の情報を制御パラメータとして書込んだ画像パタ
ーンデータを作成する。このようにして制御パラ
メータが書込まれた標準パターンRLP,RSPの
画像パターンデータは標準パターン記憶装置9に
送られて記憶される。
The image processing control circuit 7 uses standard patterns RLP,
At the time of RSP creation, the above-mentioned position correction calculation window is placed in the blank space such as the part for the synchronization signal on the storage area of each one screen when the standard patterns RLP and RSP are stored in the standard pattern storage device 9 described later. Image pattern data is created in which information such as coordinates, position correction algorithm, and binarization level are written as control parameters. The image pattern data of the standard patterns RLP and RSP in which the control parameters have been written in this way is sent to the standard pattern storage device 9 and stored therein.

一方、パターン検査時には、標準パターン記憶
装置9から読出されて画像メモリ11に一時的に
記憶されている標準パターンRLP,RSPの空白
部分から上述の制御パラメータを読出し、これに
従つて二値化回路2及び位置補正回路6を動作さ
せる。
On the other hand, at the time of pattern inspection, the above-mentioned control parameters are read from the blank parts of the standard patterns RLP and RSP read from the standard pattern storage device 9 and temporarily stored in the image memory 11, and the binarization circuit 2 and the position correction circuit 6 are operated.

標準パターン記憶装置9は画像処理制御回路7
にて制御パラメータがその空白部に書込まれた標
準パターンRLP,RSPの画像のパターンデータ
を記憶するための大容量メモリであり、書込み/
読出しの高速処理が可能である。第6図はこの標
準パターン記憶装置9に記憶される標準パターン
データの模式図である。この標準パターンデータ
は、たとえば512×512×8ビツトの立方体状、即
ち512×512ビツトのメモリ平面を8層積層した状
態に構成されており、各1層の512×512ビツトの
メモリ平面が標準パターンRPの1画面の記憶に
用いられる。そして、各1画面のための記憶領域
である一面のメモリ平面は、画像のパターンデー
タを記憶するための領域APの他に同期信号を記
憶するための領域ASに分けられている。この領
域ASは画像自体は記憶されない空白部となつて
おり、この部分に上述の制御パラメータ、具体的
には位置補正計算用ウインドウの座標、位置補正
アルゴリズム及び二値化レベル等の情報が書込ま
れている。
The standard pattern storage device 9 is the image processing control circuit 7
This is a large-capacity memory for storing the image pattern data of the standard patterns RLP and RSP in which the control parameters are written in the blank spaces.
High-speed read processing is possible. FIG. 6 is a schematic diagram of standard pattern data stored in this standard pattern storage device 9. As shown in FIG. This standard pattern data is configured, for example, in the form of a 512 x 512 x 8-bit cube, that is, in a state in which 8 layers of 512 x 512-bit memory planes are stacked, and each layer's 512 x 512-bit memory plane is standard. Used to store one screen of pattern RP. One memory plane, which is a storage area for each screen, is divided into an area AP for storing image pattern data and an area AS for storing a synchronization signal. This area AS is a blank area in which the image itself is not stored, and the above-mentioned control parameters, specifically information such as the coordinates of the position correction calculation window, position correction algorithm, and binarization level, are written in this area. It is rare.

なお、この標準パターン記憶装置9としては、
上述の如き大容量メモリに代えて、たとえば画像
データを転送するための専用のインターフエイス
及びデータバスに接続されたデイスクメモリ装置
を使用することも勿論可能である。
Note that this standard pattern storage device 9 includes:
Instead of a large capacity memory as described above, it is of course also possible to use, for example, a disk memory device connected to a dedicated interface and data bus for transferring image data.

画像メモリ10及び11は共にパターンデータ
を一時的に記憶するためのメモリであり、基本的
には上述の標準パターン記憶装置9と同様の構成
であるが、その記憶容量は1画面分の容量であ
る。そして、画像メモリ10には、撮像装置1に
て撮像され、二値化回路2にて二値化され、位置
補正回路6にて位置補正された検査対象パターン
DPの二値画像が記憶され、画像メモリ11には
標準パターン記憶装置9から読出された二種類の
標準パターン、つまり拡大及び縮小の両標準パタ
ーンRLP,RSPの一方の画像が必要に応じて選
択記憶される。両画像メモリ10,11の記憶内
容は判定回路12に与えられる。判定回路12は
両画像メモリ10,11の記憶内容、即ち検査対
象パターンDPと標準パターンRLP又はRSPの画
像とを比較して検査対象パターンDPの欠陥(欠
落及び/又は突出)を検出する。なお、この結果
は図示しない表示装置に与えられ、また記憶装置
に記録される。
Image memories 10 and 11 are both memories for temporarily storing pattern data, and basically have the same configuration as the standard pattern storage device 9 described above, but their storage capacity is the same as that of one screen. be. The image memory 10 stores an inspection target pattern imaged by the imaging device 1, binarized by the binarization circuit 2, and position-corrected by the position correction circuit 6.
A binary image of DP is stored in the image memory 11, and an image of one of two types of standard patterns read from the standard pattern storage device 9, that is, enlarged and reduced standard patterns RLP and RSP, is selected as necessary. be remembered. The stored contents of both image memories 10 and 11 are provided to a determination circuit 12. The determination circuit 12 compares the stored contents of both image memories 10 and 11, that is, the image of the pattern to be inspected DP and the standard pattern RLP or RSP, to detect defects (missing and/or protruding) in the pattern to be inspected DP. Note that this result is provided to a display device (not shown) and is also recorded in a storage device.

なお検査台制御装置13は、検査台14の制
御、より具体的には各パルスモータ15b,15
cの制御を行う。また、制御演算装置8は上述の
各構成回路等の全体的な制御を司る。
Note that the inspection table control device 13 controls the inspection table 14, more specifically, each pulse motor 15b, 15.
Control c. Further, the control arithmetic unit 8 is in charge of overall control of each of the above-mentioned component circuits and the like.

ここで、判定回路12により処理される欠陥判
定の手法について説明する。なおこれは本願発明
者等が特願昭60−94353号において開示している
発明である。
Here, a method of defect determination processed by the determination circuit 12 will be explained. This is an invention disclosed by the present inventors in Japanese Patent Application No. 60-94353.

即ち第2図において、前述の拡大パターンLP
を突出部検出用標準パターンRLP、縮小パター
ンSPを欠落部検出用標準パターンRSPとそれぞ
れする。
That is, in FIG. 2, the aforementioned enlarged pattern LP
is a standard pattern for detecting protrusions RLP, and the reduced pattern SP is a standard pattern for detecting missing parts RSP.

突出部検出用標準パターンRLPの反転パター
ンと検査対象パターンDPの論理積を求める
と検査対象パターンDPの画像の突出部検出用標
準パターンRLPに対する余剰部分のみが残つた
画像W1=(=DP∩)が得られる。
When calculating the logical product of the inverted pattern of the standard pattern RLP for detecting protrusions and the pattern DP to be inspected, an image W 1 = (= DP∩ ) is obtained.

一方、欠落部検出用標準パターンRSPと検査
対象パターンDPの反転パターンとの論理積を
求めると検査対象パターンDPの欠落部検出用標
準パターンRSPに対する欠落部分の画像W2(=
RSP∩)が得られる。
On the other hand, when calculating the logical product of the standard pattern RSP for missing part detection and the inverted pattern of the pattern DP to be inspected, the image W 2 (=
RSP∩) is obtained.

判定回路12はこのような演算処理を行つた結
果に従い欠陥を検出する。
The determination circuit 12 detects defects according to the results of such arithmetic processing.

このような処理において、検査基準パターン
BPに対する突出部検出用標準パターンRLPの拡
大比率あるいは検査基準パターンBPに対する欠
落部検出用標準パターンRSPの縮小比率(いず
れも具体的には画素の個数として表される)を適
宜に設定することによりパターン縁辺部が微細な
凹凸を呈するようなパターンの検査においてもそ
の縁辺部の凹凸が欠陥として判定されることはな
い。
In such processing, the inspection reference pattern
By appropriately setting the enlargement ratio of the standard pattern RLP for detecting protrusions relative to BP or the reduction ratio of the standard pattern RSP for detecting missing parts relative to the inspection reference pattern BP (both specifically expressed as the number of pixels). Even in the inspection of a pattern in which the edge of the pattern exhibits minute irregularities, the irregularities on the edge are not determined to be defects.

以上の如く構成された本発明装置の動作につい
て、標準パターンRLP,RSPの作成手順を示す
第7図のフローチヤート及び検査手順を示す第8
図のフローチヤートに従つて説明する。
Regarding the operation of the apparatus of the present invention configured as described above, the flowchart shown in FIG. 7 shows the procedure for creating standard patterns RLP and RSP, and the flowchart shown in FIG.
This will be explained according to the flowchart shown in the figure.

まず、制御演算装置8によりトラバースデータ
を作成する。即ち検査対象パターンDPの検査対
象位置それぞれの座標を制御演算装置8に設定す
ることにより、その位置を撮像装置1による撮像
に際して必要となる検査台14の移動のためのデ
ータを作成するのである。
First, the control arithmetic unit 8 creates traverse data. That is, by setting the coordinates of each inspection target position of the inspection target pattern DP in the control arithmetic unit 8, data for moving the inspection table 14, which is necessary when the imaging device 1 takes an image of the position, is created.

次に検査台14上に検査基準パターンBPを載
置して標準パターンRLP,RSPの作成を行う。
制御演算装置8は上述のトラバースデータに従つ
て検査台制御装置13を駆動制御して検査台14
を移動させつつ、検査基準パターンBPの各検査
位置を撮像装置1に撮像させる。撮像された画像
は二値化回路2にて二値画像化されるが、この際
の二値化レベルは画像の背景等により最適値がそ
れぞれ異なるので制御演算装置8を介して適宜設
定する。二値化された検査基準パターンBPの画
像は標準パターン作成回路3に送られる。
Next, the inspection reference pattern BP is placed on the inspection table 14, and standard patterns RLP and RSP are created.
The control calculation device 8 drives and controls the examination table control device 13 according to the above-mentioned traverse data to control the examination table 14.
While moving the inspection reference pattern BP, the imaging device 1 images each inspection position of the inspection reference pattern BP. The captured image is converted into a binary image by the binarization circuit 2, and the optimum level of the binarization level at this time differs depending on the background of the image, etc., so it is appropriately set via the control arithmetic unit 8. The binarized image of the inspection reference pattern BP is sent to the standard pattern creation circuit 3.

標準パターン作成回路3に与えられた検査基準
パターンBPの二値画像は、前述の第3図に示し
た手法にて拡大・縮小処理が行われ、拡大画像は
突出部検出用の、また縮小画像は欠落部検出用の
それぞれ概略の標準パターンとして自動的に作成
される。そして、更にこの概略の標準パターンを
必要に応じて、たとえばより厳密な検査が必要な
部分あるいは逆に比較的粗い検査でもよい部分等
の検査精度に応じて、パターン修正装置4を使用
して人手の介入により修正する。これにより、検
査対象パターンDPの検査に用いる突出部検出用
標準パターンRLP及び欠落部検出用標準パター
ンRSPが作成される。
The binary image of the inspection reference pattern BP given to the standard pattern creation circuit 3 is enlarged/reduced using the method shown in FIG. are automatically created as rough standard patterns for detecting missing parts. Further, this rough standard pattern is manually modified using the pattern correction device 4 according to the inspection accuracy, for example, parts that require more rigorous inspection or parts that can be inspected relatively roughly. corrected by intervention. As a result, a standard pattern RLP for detecting a protruding part and a standard pattern RSP for detecting a missing part used for inspecting the pattern DP to be inspected are created.

このようにして作成された標準パターンRLP,
RSPに、位置補正計算用のウインドウ座標及び
位置補正アルゴリズムが設定される。即ち、実際
の検査時に検査対象パターンDPと標準パターン
RLP,RSPとの間の位置のずれを補正するため
に使用されるウインドウが標準パターンRLP,
RSPの画像上で設定されると、位置補正設定装
置5によりその画面上での座標が計算される。
Standard pattern RLP created in this way,
Window coordinates and a position correction algorithm for position correction calculation are set in the RSP. In other words, during actual inspection, the pattern to be inspected DP and the standard pattern
The window used to correct the positional deviation between RLP and RSP is the standard pattern RLP,
Once set on the RSP image, the position correction setting device 5 calculates the coordinates on the screen.

次に画像処理制御回路7は、作成された両標準
パターンRLP,RSPの画像の空白部分にその標
準パターンRLP,RSPの二値化レベル、検査対
象パターンDP上における位置、位置補正計算用
ウインドウ座標及び位置補正アルゴリズムを書込
み、標準パターン記憶装置9へ送る。
Next, the image processing control circuit 7 displays the binary level of the standard patterns RLP and RSP, the position on the pattern to be inspected DP, and the window coordinates for position correction calculation in the blank areas of the images of both the created standard patterns RLP and RSP. and position correction algorithm are written and sent to the standard pattern storage device 9.

以上により検査対象パターンDPの一つの検査
位置についての標準パターンRLP,RSPの作成
及びその標準パターン記憶装置9への記憶が終了
するので、制御演算装置8はトラバースデータに
従つて検査台制御装置13を制御して次の検査位
置が撮像装置1にて撮像されるように検査台14
を移動させる。そして、上述同様の処理が反復さ
れてその検査位置の標準パターンRLP,RSPが
作成されて標準パターン記憶装置9に記憶され
る。
As described above, the creation of the standard patterns RLP and RSP for one inspection position of the pattern to be inspected DP and the storage of the standard patterns in the standard pattern storage device 9 are completed, so the control calculation device 8 uses the inspection table control device 13 according to the traverse data. The examination table 14 is controlled so that the next examination position is imaged by the imaging device 1.
move. Then, the same process as described above is repeated to create standard patterns RLP and RSP at the inspection position and store them in the standard pattern storage device 9.

このようにして、特定の検査対象のための検査
基準パターンBPについて総ての検査位置の標準
パターンRLP,RSPが作成されると、これらの
各標準パターンRLP,RSP及びその作成に用い
られたトラバースデータとを一括して適宜のコー
ド、たとえば品番等を付して整理しておく。この
一括されたデータは、これを一単位として外部記
憶装置に記憶・保管しておく。
In this way, when the standard patterns RLP and RSP for all inspection positions are created for the inspection reference pattern BP for a specific inspection object, each of these standard patterns RLP and RSP and the traverse used to create them are The data are organized together with appropriate codes, such as product numbers, etc. This consolidated data is stored and stored in an external storage device as a unit.

次に実検査時の手順について説明する。 Next, the procedure for actual inspection will be explained.

検査対象についてのデータが標準パターン記憶
装置9に記憶されていない場合には、それを外部
記憶装置から標準パターン記憶装置9へロードし
て準備する。
If the data regarding the inspection object is not stored in the standard pattern storage device 9, it is prepared by loading it from the external storage device into the standard pattern storage device 9.

そして、まず制御演算装置8は標準パターン記
憶装置9からトラバースデータを読出して検査台
14の移動を開始させると共に、検査対象の最初
の検査位置の標準パターンRLP又はRSPを読出
して画像メモリ11に記憶させ、更にこの画像メ
モリ11に記憶されている標準パターンRLP又
はRSPの空白部分から二値化レベル、位置補正
計算用ウインドウの座標及び位置補正アルゴリズ
ムを読出し、二値化レベルを二値化回路2へ、位
置補正計算用ウインドウの座標及び位置補正アル
ゴリズムを位置補正設定装置5へ転送する。この
後、検査台14の移動により、検査対象の最初の
検査位置が撮像装置1にて撮像される位置に移動
した時点で、制御演算装置8は撮像装置1による
撮像を行わせ、その結果得られた画像信号を二値
化回路2にて二値画像化する。この際の二値化レ
ベルは既に与えられている。
First, the control calculation device 8 reads the traverse data from the standard pattern storage device 9 to start moving the inspection table 14, and also reads out the standard pattern RLP or RSP at the first inspection position of the inspection object and stores it in the image memory 11. Then, the binarization level, the coordinates of the position correction calculation window, and the position correction algorithm are read from the blank part of the standard pattern RLP or RSP stored in the image memory 11, and the binarization level is read out from the blank part of the standard pattern RLP or RSP. , the coordinates of the position correction calculation window and the position correction algorithm are transferred to the position correction setting device 5. Thereafter, when the inspection table 14 is moved so that the first inspection position of the inspection object is moved to the position where the image is captured by the imaging device 1, the control calculation device 8 causes the imaging device 1 to perform imaging, and the result is obtained. The resulting image signal is converted into a binary image by a binarization circuit 2. The binarization level at this time has already been given.

二値化回路2にて二値化された検査対象パター
ンDPの画像は次に位置補正回路6へ送られる。
この位置補正回路6では、これに既に与えられて
いる位置補正計算用ウインドウの座標及び位置補
正アルゴリズムに従つて位置補正、即ち検査対象
パターンDPの画像と標準パターンRLP又はRSP
の画像とが位置的に一致するように補正が行われ
る。この位置補正された後の検査対象パターン
DPの画像は画像メモリ10に送られる。そして、
判定回路12は画像メモリ11に記憶されている
標準パターンRLP又はRSPの画像と画像メモリ
10に記憶されている検査対象パターンDPの画
像とを前述の如き論理積を求めることにより、検
査対象パターンDPの欠陥を検出する。
The image of the pattern to be inspected DP binarized by the binarization circuit 2 is then sent to the position correction circuit 6.
This position correction circuit 6 performs position correction according to the coordinates of the position correction calculation window already given to it and the position correction algorithm, that is, the image of the pattern to be inspected DP and the standard pattern RLP or RSP.
Correction is performed so that the images match in position. The pattern to be inspected after this position correction
The DP image is sent to the image memory 10. and,
The determination circuit 12 calculates the logical product of the image of the standard pattern RLP or RSP stored in the image memory 11 and the image of the pattern to be inspected DP stored in the image memory 10 as described above, thereby determining the pattern to be inspected DP. detect defects in

このようにして、検査対象の1つの検査位置に
ついての検査が終了すると、制御演算装置8はト
ラバースデータに従つて次の検査位置が撮像装置
1の視野となるように検査台14を移動させ、上
述同様の処理を反復してその検査位置の欠陥検査
を行う。一枚の検査対象の総ての検査位置につい
て上述の如き欠陥検査処理が反復される。
In this way, when the inspection for one inspection position of the inspection object is completed, the control calculation device 8 moves the inspection table 14 according to the traverse data so that the next inspection position is within the field of view of the imaging device 1, The same process as described above is repeated to perform defect inspection at the inspection position. The above-described defect inspection process is repeated for all inspection positions of one sheet of inspection object.

〔効 果〕〔effect〕

以上のように本発明によれば、同一の検査対象
パターン内においてもそれぞれの検査部分に対応
して最適の条件(二値化閾値、位置補正の基準位
置及びその方法など)にてパターンの欠陥検査が
行えるので、従来に比してより精確なパターン検
査が可能となる。そしてこの条件は標準パターン
の記憶のためのメモリの余剰部を利用して記憶す
るので資源の有効利用が図れる。
As described above, according to the present invention, even within the same pattern to be inspected, pattern defects can be detected under optimal conditions (binarization threshold, reference position for position correction, method thereof, etc.) corresponding to each inspection part. Since inspection can be performed, more accurate pattern inspection is possible than in the past. Since this condition is stored using the surplus memory for storing the standard pattern, resources can be used effectively.

また、予め標準パターンを作成して記憶装置に
記憶させておき、また同様に予め記憶させてある
実際の検査時の最適条件を表す情報とを同時に読
出して検査を行うように構成しているので、高速
でパターン検査を行える。
In addition, the standard pattern is created in advance and stored in the storage device, and the inspection is performed by simultaneously reading out the information representing the optimum conditions for the actual inspection, which has also been stored in advance. , pattern inspection can be performed at high speed.

更にパターン境界での凹凸による誤判定が回避
できる等、本発明は優れた効果を奏する。
Furthermore, the present invention has excellent effects such as being able to avoid erroneous judgments due to unevenness at pattern boundaries.

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

第1図は本発明装置の構成を示すブロツク図、
第2図は標準パターンの作成方法及びパターン欠
陥の検出方法を示す模式図、第3図は二値化画像
の論理和・論理積による拡大・縮小の方法の説明
図、第4図は位置補正のためのウインドウ設定の
説明図、第5図は位置補正の方法の一例の説明
図、第6図は標準パターン記憶装置に記憶される
標準パターンデータの記憶領域の構成を示す模式
図、第7図は本発明装置による標準パターン作成
時の動作説明のためのフローチヤート、第8図は
本発明装置による検査対象パターンの検査時の動
作説明のためのフローチヤートである。 1…撮像装置、2…二値化回路、3…標準パタ
ーン作成回路、4…パターン修正装置、5…位置
補正設定装置、6…位置補正回路、7…画像処理
制御回路、8…制御演算装置、9…標準パターン
記憶装置、10,11…画像メモリ、12…判定
回路、13…検査台制御装置、14…検査台。
FIG. 1 is a block diagram showing the configuration of the device of the present invention;
Figure 2 is a schematic diagram showing the standard pattern creation method and pattern defect detection method, Figure 3 is an explanatory diagram of the method of enlarging/reducing the binary image using logical sum and AND, and Figure 4 is position correction. FIG. 5 is an explanatory diagram of an example of the position correction method. FIG. 6 is a schematic diagram showing the configuration of the storage area of standard pattern data stored in the standard pattern storage device. The figure is a flowchart for explaining the operation of the apparatus of the present invention when creating a standard pattern, and FIG. 8 is a flowchart for explaining the operation of the apparatus of the present invention when inspecting a pattern to be inspected. DESCRIPTION OF SYMBOLS 1... Imaging device, 2... Binarization circuit, 3... Standard pattern creation circuit, 4... Pattern correction device, 5... Position correction setting device, 6... Position correction circuit, 7... Image processing control circuit, 8... Control calculation device , 9... Standard pattern storage device, 10, 11... Image memory, 12... Judgment circuit, 13... Inspection table control device, 14... Inspection table.

Claims (1)

【特許請求の範囲】 1 検査対象パターンを検査基準パターンと比較
してその欠陥を検出するパターン検査方法におい
て、検査基準パターンの二値化画像を判定基準に
対応するサイズに夫々拡大及び縮小した突出部検
出用標準パターン及び欠落部検出用標準パターン
を作成し、 両標準パターンを、その標準パターンによる検
査に必要な検査対象パターンの二値化の閾値、位
置補正のためのウインドウ座標及び位置補正の方
法に関する情報をそれぞれのパターンの画像がメ
モリに記憶される際のメモリ上の空白部分に書込
んでメモリに記憶させ、 検査対象のパターンを撮像し、 撮像された検査対象のパターンの画像を前記二
値化の閾値に関する情報に従つて二値化し、 メモリに記憶されている両標準パターンそれぞ
れと二値化された検査対象パターンとの間の位置
誤差を前記位置補正のためのウインドウ座標に関
する情報にて規定されているウインドウ領域にお
いて前記位置補正の方法に関する情報に従つて位
置補正し、 両標準パターンの画像それぞれと二値画像化さ
れた検査対象パターンとの論理積を求めることに
より検査対象パターンの欠陥を検出すること を特徴とするパターン検査方法。 2 検査対象パターンを検査基準パターンと比較
してその欠陥を検出するパターン検査装置におい
て、検査基準のパターンの二値化画像を判定基準
に対応するサイズに夫々拡大及び縮小して突出部
検出用標準パターン及び欠落部検出用標準パター
ンを作成する標準パターン作成装置と、 該標準パターン作成装置にて作成された両標準
パターンを、その標準パターンによる検査に必要
な少なくとも検査対象パターンの二値化の閾値、
位置補正のためのウインドウ座標及び位置補正の
方法に関する情報をそれぞれのパターンの画像が
記憶される際の空白部分に書込んで記憶するメモ
リと、 検査対象のパターンを載置する移動可能な検査
台と、 検査対象パターンを撮像する撮像装置と、 該撮像装置により撮像された検査対象のパター
ンの画像を前記二値化の閾値に関する情報に従つ
て二値化する二値化回路と、 前記メモリに記憶されている両標準パターンそ
れぞれと前記二値化回路にて二値化された検査対
象パターンとの間の位置誤差を前記位置補正のた
めのウインドウ座標に関する情報にて規定されて
いるウインドウ領域において前記位置補正の方法
に関する情報に従つて位置補正する手段と、 前記両標準パターンの画像それぞれと二値画像
化された検査対象パターンとの論理積を求めるこ
とにより検査対象パターンの欠陥を検出する欠陥
判定回路と を備えたことを特徴とするパターン検査装置。
[Scope of Claims] 1. In a pattern inspection method in which a pattern to be inspected is compared with an inspection reference pattern to detect its defects, a protruding image in which a binarized image of the inspection reference pattern is enlarged and reduced to a size corresponding to a determination criterion, respectively. A standard pattern for part detection and a standard pattern for missing part detection are created, and both standard patterns are used to determine the threshold for binarization of the pattern to be inspected, window coordinates for position correction, and position correction required for inspection using the standard patterns. Write information regarding the method into the blank space in the memory when the image of each pattern is stored in the memory, image the pattern to be inspected, and transfer the imaged image of the pattern to be inspected to the above-mentioned image. Binarize according to the information regarding the binarization threshold, and calculate the positional error between each of the two standard patterns stored in the memory and the binarized inspection target pattern with information regarding the window coordinates for position correction. The pattern to be inspected is corrected in accordance with the information regarding the position correction method in the window area defined by A pattern inspection method characterized by detecting defects in. 2. In a pattern inspection device that compares a pattern to be inspected with an inspection reference pattern to detect its defects, a binary image of the inspection reference pattern is enlarged and reduced to a size corresponding to the judgment criterion, respectively, and a standard for protrusion detection is used. A standard pattern creation device that creates a standard pattern for detecting patterns and missing portions, and a threshold value for at least the binarization of the pattern to be inspected that is necessary for inspecting both standard patterns created by the standard pattern creation device using the standard pattern. ,
A memory that writes and stores information regarding the window coordinates for position correction and the position correction method in the blank space where each pattern image is stored, and a movable inspection table on which the pattern to be inspected is placed. an imaging device that images the pattern to be inspected; a binarization circuit that binarizes the image of the pattern to be inspected captured by the imaging device according to information regarding the binarization threshold; The positional error between each of the stored standard patterns and the inspection target pattern binarized by the binarization circuit is calculated in the window area defined by the information regarding the window coordinates for position correction. means for correcting the position according to information regarding the position correction method; and a defect detecting a defect in the pattern to be inspected by calculating a logical product between each of the images of the two standard patterns and the pattern to be inspected which is converted into a binary image. A pattern inspection device comprising: a determination circuit.
JP61164207A 1986-07-11 1986-07-11 Method and device for checking pattern Granted JPS6319541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61164207A JPS6319541A (en) 1986-07-11 1986-07-11 Method and device for checking pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61164207A JPS6319541A (en) 1986-07-11 1986-07-11 Method and device for checking pattern

Publications (2)

Publication Number Publication Date
JPS6319541A JPS6319541A (en) 1988-01-27
JPH0518372B2 true JPH0518372B2 (en) 1993-03-11

Family

ID=15788700

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61164207A Granted JPS6319541A (en) 1986-07-11 1986-07-11 Method and device for checking pattern

Country Status (1)

Country Link
JP (1) JPS6319541A (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2682073B2 (en) * 1988-10-31 1997-11-26 松下電器産業株式会社 Appearance inspection device for thick film printing patterns
JP2007214388A (en) * 2006-02-09 2007-08-23 Shimadzu Corp Crystallizing device and positioning stage
JP5162854B2 (en) * 2006-07-18 2013-03-13 富士電機株式会社 Manufacturing method of semiconductor device
JP2009047458A (en) * 2007-08-14 2009-03-05 Toray Ind Inc Circuit pattern inspection device and inspection method
JP2009092954A (en) * 2007-10-09 2009-04-30 Toshiba Corp Pattern evaluation method
JP2015059875A (en) * 2013-09-20 2015-03-30 日置電機株式会社 Device for generating inspection result display data, inspection result display device, substrate inspection system, and method for generating inspection result display data

Also Published As

Publication number Publication date
JPS6319541A (en) 1988-01-27

Similar Documents

Publication Publication Date Title
JP2733206B2 (en) Method and apparatus for correcting distortion in an automatic optical inspection device for printed circuit boards
US7512260B2 (en) Substrate inspection method and apparatus
JP3515199B2 (en) Defect inspection equipment
JPH02148180A (en) Method and device for inspecting pattern
JPH07260701A (en) Recognition method of area of inspection
JPS61251705A (en) Method and apparatus for inspecting pattern
JPH0518372B2 (en)
JPS63167980A (en) Method and device for defect inspection of printed wiring pattern or the like
JP2536127B2 (en) Board inspection equipment
JP3039704B2 (en) Printing evaluation method and printing evaluation device
JPS60200382A (en) Method and device for pattern checking
JP3189308B2 (en) Method and apparatus for displaying soldering inspection results, method for correcting soldering failure, and soldering inspection apparatus
JP2005030893A (en) Positioning method of pattern
JPS5821110A (en) Inspecting device for pattern
JPH0674714A (en) Substrate position detecting method
JP3119376B2 (en) Printing evaluation method and printing evaluation device
JP3072787B2 (en) Printing evaluation method and printing evaluation device
JPH0224322B2 (en)
JP3119375B2 (en) Printing evaluation method and printing evaluation device
JP3029142B2 (en) Printing evaluation method and printing evaluation device
JP3072788B2 (en) Printing evaluation method and printing evaluation device
JP3511456B2 (en) Pattern inspection method
JP2639870B2 (en) Dimension measurement method of plate-like body by image processing
JP2000275185A (en) Flaw inspecting apparatus and method
JPH02105262A (en) Method for deciding optimum position correction area in inspection of wiring pattern