JPS5828618B2 - pattern inspection equipment - Google Patents

pattern inspection equipment

Info

Publication number
JPS5828618B2
JPS5828618B2 JP54082349A JP8234979A JPS5828618B2 JP S5828618 B2 JPS5828618 B2 JP S5828618B2 JP 54082349 A JP54082349 A JP 54082349A JP 8234979 A JP8234979 A JP 8234979A JP S5828618 B2 JPS5828618 B2 JP S5828618B2
Authority
JP
Japan
Prior art keywords
pattern
inspected
digitized
signal
memory
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
Application number
JP54082349A
Other languages
Japanese (ja)
Other versions
JPS567181A (en
Inventor
道明 宮川
正夫 仁藤
裕 柚木
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP54082349A priority Critical patent/JPS5828618B2/en
Publication of JPS567181A publication Critical patent/JPS567181A/en
Publication of JPS5828618B2 publication Critical patent/JPS5828618B2/en
Expired legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明は、商品又はその包装に貼付された複数枚のラベ
ルを複数台のイメージセンサを使用して同時に検査する
ラベル検査装置に適用して好適なパターン検査装置に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a pattern inspection device suitable for application to a label inspection device that simultaneously inspects a plurality of labels attached to a product or its packaging using a plurality of image sensors. It is.

従来、生産ライン上で連続的に移動する物体のパターン
を識別する手法として、予め標準パターンを記憶してお
き、これにイメージセンサで検出した被検査パターンを
重ね合わせることにより被検査図形の良否を検査するパ
ターンマツチングの手法が使用されている。
Conventionally, as a method for identifying patterns of objects that move continuously on a production line, standard patterns are memorized in advance, and by superimposing the pattern to be inspected detected by an image sensor on this standard pattern, the quality of the figure to be inspected is determined. A pattern matching technique is used to test.

この手法によるパターン検査装置は、ビンのラベルの良
否検査や商品の外箱の外観検査などに汎用されている。
Pattern inspection devices using this method are widely used for inspecting the quality of bottle labels and the appearance of product boxes.

この種の従来例は、例えば本発明の出願人の出願による
特開昭53−69538号公報に開示され、また、例え
ば、1978年5月1日日刊工業新聞社発行の「電子技
術第20巻第5号」の第107ル109の種従来例にお
いては、商品などに貼付された2枚以上のラベルを検査
の対象とする場合、1台のイメージセンサを視野を拡大
して使用するか、又は被検査ラベル対応に複数台のイメ
ージセンサを使用する方法が用いられている。
This type of conventional example is disclosed in, for example, Japanese Patent Application Laid-open No. 53-69538 filed by the applicant of the present invention, and also, for example, in "Electronic Technology Vol. 20, published by Nikkan Kogyo Shimbun on May 1, 1978. In the conventional example of Article 107 and Rule 109 of ``No. 5'', when two or more labels affixed to products are to be inspected, one image sensor is used with an expanded field of view, or Alternatively, a method is used in which a plurality of image sensors are used for each label to be inspected.

しかし、前者の方法では視野の拡大に関して分解能など
の点から自ら技術的限界があり、また前者の方法では、
ラベル相互の貼付位置を異にする種々の商品を検査対象
とすることができないので、後者の方法、すなわち2台
以上のイメージセンサを使用する方法が専ら使用されて
いる。
However, the former method has its own technical limitations in terms of resolution when it comes to expanding the field of view;
Since it is not possible to inspect various products whose labels are attached at different positions, the latter method, that is, a method using two or more image sensors, is exclusively used.

この場合において、各ラベルの検査結果について最終的
には当然論理的組合せがとられ総合判断がされるのであ
るが、個々の論理情報を作成するための各ラベルの検査
は独立に行なわれるものであり、従って各イメージセン
サは独立に動作するものであった。
In this case, the inspection results of each label are of course logically combined and a comprehensive judgment is made in the end, but each label is inspected independently to create individual logical information. Therefore, each image sensor operated independently.

すなわち従来例は、被検査ラベル対応に独立した複数系
統の検査装置を動作させる構成であった。
That is, the conventional example has a configuration in which a plurality of independent systems of inspection apparatus are operated corresponding to the labels to be inspected.

ところで、最近は商品の外観について一層高度の規格が
要求されるようになってきており、単にラベルごとの規
格適合性だけでなく、ラベル貼付位置の相対関係につい
ても規格適合性が要求されるようになった。
By the way, in recent years, even higher standards have been required for the appearance of products, and it is not just standard compliance for each label, but also standard compliance for the relative relationship of label affixing positions. Became.

このような場合(こ、従来技術を単に延長することによ
りラベル間の相対関係を検査しようとすれば、極めて複
雑な演算操作が必要となり、多大なハードウェア費用と
極めて長い処理時間が必要となる。
In such a case, if one were to test the relative relationships between labels by simply extending the conventional technology, extremely complex arithmetic operations would be required, resulting in large hardware costs and extremely long processing times. .

通常この種の装置は、連続的に移動してくるパターンを
検査の対象とする関係上、種々の要因によるランダム位
置ずれが必然的に発生し、このようなランダム位置ずれ
の補正にも相当の処理時間をあてなければならず、しか
もパターンの移動速度は典型的には毎秒数個というよう
に比較的高速であるため、ラベル相互の件査に更に長時
間をあてることはこの種装置の実現を実質的に不可能と
するものである。
Normally, this type of equipment inspects continuously moving patterns, so random positional deviations due to various factors inevitably occur, and it takes a considerable amount of time to correct such random positional deviations. Since processing time must be allocated and the movement speed of the patterns is relatively fast, typically several pieces per second, it is difficult for this type of device to dedicate a longer period of time to scanning each label. This makes it virtually impossible.

さらに、従来技術を単に延長することによりラベルの相
対関係を検査しようとすれは、各イメージセンサの設置
を極めて高精度で行わなければならず、またこのような
高精度を長期間にわたって維持しなければならないとい
う困難さも伴う。
Furthermore, if the relative relationship of labels is to be inspected by simply extending the conventional technology, each image sensor must be installed with extremely high precision, and such high precision must be maintained over a long period of time. It also comes with the difficulty of not having to do so.

本発明は上述した種々の問題点を解決するためになされ
たものであり、その目的とするところは安価で、高速動
作が可能で、しかも高信頼の検査結果を得ることができ
るパターン検査装置を提供することにある。
The present invention has been made to solve the various problems mentioned above, and its purpose is to provide a pattern inspection device that is inexpensive, capable of high-speed operation, and that can obtain highly reliable inspection results. It is about providing.

上記目的を達成する本発明によれば、被検査パターン対
応に設置した複数台のイメージセンサのすべてを同期動
作するように制御し、かつすべての被検査パターン信号
を、これらのうちの任意の1個につき検出したパターン
先端出現時点を基準としてメモリへ蓄積する。
According to the present invention that achieves the above object, all of the plurality of image sensors installed corresponding to the pattern to be inspected are controlled to operate synchronously, and all the signals of the pattern to be inspected are transmitted to any one of them. The detected pattern tip appearance point for each pattern is stored in the memory as a reference.

このような構成とすれば、複数パターンがメモリに蓄積
されると同時に各パターンの相対位置情報も蓄積される
ことになり、従って蓄積された各パターンについて相対
位置を演算によって求めるための複雑な回路および演算
時間を完全に除去することができる。
With such a configuration, when multiple patterns are stored in the memory, the relative position information of each pattern is also stored at the same time, and therefore a complex circuit is required to calculate the relative position of each stored pattern. and computation time can be completely eliminated.

以下、本発明の更に詳細を図面によって説明する。Hereinafter, further details of the present invention will be explained with reference to the drawings.

まず本発明の一実施例の概略を第1図により説明する。First, an outline of an embodiment of the present invention will be explained with reference to FIG.

図示のように、商品ラベル(被検査パターン)1と2が
貼付された酒類等のビン9がある。
As shown in the figure, there is a bottle 9 of alcoholic beverages, etc., to which product labels (patterns to be inspected) 1 and 2 are attached.

たとえば、ビン9は黒褐色で、商品ラベル1,2は白色
ないし黄色系の台紙上に黒色等の文字、図形、記号等が
印刷されている。
For example, the bottle 9 is blackish brown, and the product labels 1 and 2 have characters, figures, symbols, etc. printed in black on a white or yellow base.

商品ラベル1と2は、それぞれビン9の胴部と肩部に貼
付されるものであるが、パターン分解能などの点から、
2台のテレビカメラ3.4(一般にはイメージセンサ)
で各々のラベルを操体する構成としている。
Product labels 1 and 2 are affixed to the body and shoulder of the bottle 9, respectively, but from the viewpoint of pattern resolution, etc.
Two TV cameras 3.4 (generally image sensors)
The structure is such that each label can be manipulated.

ビン9は、搬送装置(図示せず)により、毎秒数個程度
の速度でテレビカメラの前を通過していく。
The bins 9 are passed in front of the television camera at a rate of several bins per second by a conveyance device (not shown).

位置検出器7,7′は、ラベル1,2がテレビカメラ3
.4の所定の視野内に入ったことをビン9の位置Oこよ
り検知し、識別回路8に信号を送出する。
The position detectors 7 and 7' have labels 1 and 2 attached to the television camera 3.
.. 4 is detected from the position O of the bottle 9, and a signal is sent to the identification circuit 8.

これを受けた識別回路8は、内蔵のカメラ1駆動制御回
路が次の垂直同期信号を発生した時点で瞬間照明装置5
,6を点灯し、点灯直後の1フイールドのイメージセン
サ出力に基いてラベル1,2のパターンの適否および相
対位置関係の適否を以下に述べる方法により検査する。
Upon receiving this, the identification circuit 8 detects the momentary illumination device 5 when the built-in camera 1 drive control circuit generates the next vertical synchronization signal.
, 6 are turned on, and the appropriateness of the pattern and relative positional relationship of the labels 1 and 2 is inspected by the method described below based on the image sensor output of one field immediately after the lighting.

第2図は、本発明の一実施例の機能ブ陥ツク図、第3図
は第2図の動作を説明するための波形図である。
FIG. 2 is a functional block diagram of one embodiment of the present invention, and FIG. 3 is a waveform diagram for explaining the operation of FIG. 2.

テレビカメラ3,4は、共通のカメラ1駆動制御回路3
1から供給される垂直同期信号a(第3図参照)で7駆
動されて、同時刻において各操体管面上の同一位置を走
査するよう常時同期走査を行なっている。
The television cameras 3 and 4 have a common camera 1 drive control circuit 3.
It is driven by a vertical synchronization signal a (see FIG. 3) supplied from 1 to 7, and always performs synchronous scanning so as to scan the same position on each exercise tube surface at the same time.

以下では説明の便宜上、必要に応じてラベル1を主ラベ
ル、ラベル2を従ラベルと称し、各々の検査を行う回路
部分を必要に応じてそれぞれ主パターン系、従パターン
系と称する。
In the following, for convenience of explanation, label 1 will be referred to as a main label and label 2 will be referred to as a slave label, and the circuit parts to be tested will be referred to as a main pattern system and a slave pattern system, respectively, as necessary.

例えばカメラ3,4についてこのような表現をした場合
、カメラ3は主カメラであり、カメラ4は従カメラであ
る。
For example, when cameras 3 and 4 are expressed in this way, camera 3 is the main camera and camera 4 is the slave camera.

主カメラ3、従カメラ4の快偉出力(被検査パターン信
号)は各々アナログ−デジタル(A−D)変換回路34
.35に供給されるが、主カメラ3の出力については、
更に主パタン先端検出回路36にも供給される。
The signal outputs (pattern signals to be inspected) of the main camera 3 and slave camera 4 are output from analog-to-digital (A-D) conversion circuits 34 and 34, respectively.
.. 35, but regarding the output of the main camera 3,
Furthermore, it is also supplied to the main pattern tip detection circuit 36.

カメラ3゜4はいずれも、瞬間照明装置5,6の点灯時
を除き、有効な映倫信号を出力することができないよう
(こ感度が調整されており、このためA−I)変換回路
34.35、主パターン先端検出回路36はいづれも、
上記の点灯時を除いて出力機能に関しては実質上非動作
の状態にある。
Each of the cameras 3 and 4 is connected to a conversion circuit 34. The sensitivity is adjusted so that no effective video signal can be output except when the instantaneous illumination devices 5 and 6 are turned on. 35. The main pattern tip detection circuit 36 is
Except for the above-mentioned lighting, the output function is substantially inactive.

発光ダイオードとフォト・トランジスタの対などから構
成されている位置検出器7,7′は、被検査ラベル1,
2がカメラ3,4の所定視野内に入ったことを、ビン9
の位置から検知すると、瞬間照明制御装置32に検知信
号b(第3図参照)を送出する。
The position detectors 7, 7', which are composed of a pair of light emitting diodes and phototransistors, etc.
2 has entered the predetermined field of view of cameras 3 and 4.
When detected from the position, a detection signal b (see FIG. 3) is sent to the instantaneous illumination control device 32.

第3図に示すように、瞬間照明制御装置32は、検知信
号すを受けてからr時間後に、カメラ駆動制御回路31
から供給される最初の垂直同期信号aを受けると、瞬間
照明装置5,6に点灯信号Cを送出する。
As shown in FIG. 3, the instantaneous illumination control device 32 controls the camera drive control circuit 31 after r hours after receiving the detection signal.
Upon receiving the first vertical synchronizing signal a supplied from the synchronous lighting device 1, it sends a lighting signal C to the instantaneous lighting devices 5 and 6.

瞬間照明装置5,6の点灯により、カメラ3,4の信号
出力は後段の処理を可能とするような適正レベルとなる
By turning on the instantaneous illumination devices 5 and 6, the signal outputs of the cameras 3 and 4 are brought to an appropriate level to enable subsequent processing.

一方、判定制御回路33は、位置検出器7,7′からの
信号すと、垂直同期信号aに基いて、ビン9の位置が検
知されてから最初の1フイールドについて、第3図に示
すような有効フィールド期間信号dを作成し、これをA
−D変換回路34,35、主パターン先端検出回路36
、メモリ制御回路37.38(こ送出することにより、
上記回路34,35・・・・・・38を起動する。
On the other hand, the determination control circuit 33 receives the signals from the position detectors 7 and 7' and determines the first field after the position of the bin 9 is detected based on the vertical synchronization signal a as shown in FIG. Create an effective field period signal d and convert it to A
-D conversion circuits 34, 35, main pattern tip detection circuit 36
, memory control circuit 37, 38 (by sending this,
The circuits 34, 35, . . . 38 are activated.

従って、有効フィールド期間が開始されるとカメラ3,
4の映像出力(被検査パターン信号)は、A−D変換回
路34,35で2値又は多値のデジタル映偉信号に変換
されたのち、以下で述べる主パターン先端検出回路36
からの主パターン先端検出信号fの到来をまって、それ
ぞれメモリ制御回路37.38に入力される。
Therefore, when the effective field period starts, camera 3,
The video output (pattern signal to be inspected) No. 4 is converted into a binary or multi-value digital video signal by A-D conversion circuits 34 and 35, and then sent to a main pattern tip detection circuit 36, which will be described below.
Waiting for the arrival of the main pattern leading edge detection signal f from the main pattern leading edge detection signal f, the main pattern leading edge detection signal f is inputted to the memory control circuits 37 and 38, respectively.

主パターン先端検出回路36は、有効フィールド期間信
号dによって起動され、主カメラ3の映像出力である主
パターンについて、1水平走査期間ごとに画像信号レベ
ルの積分を行ない、この積分値が所定レベルを越えたと
きにパターンが開始されたものと判断する回路である。
The main pattern leading edge detection circuit 36 is activated by the effective field period signal d, and integrates the image signal level of the main pattern, which is the video output of the main camera 3, every horizontal scanning period, and when this integrated value reaches a predetermined level. This is a circuit that determines that the pattern has started when it exceeds the threshold.

すなわち、この回路は、パターンと背景との分離を行っ
て、パターンの始点を抽出する機能を有するものである
That is, this circuit has a function of separating the pattern and the background and extracting the starting point of the pattern.

この種パターン先端検出回路の更に詳細は、本発明の出
願人の出願による特開昭54−24546号公報に開示
されている。
Further details of this type of pattern tip detection circuit are disclosed in Japanese Unexamined Patent Publication No. 54-24546 filed by the applicant of the present invention.

メモリ制御回路37.38は、主パターン先端検出信号
fを受けると、A−D変換回路34.35から出力され
るデジタル画像信号を、画面分割回路45の制御のもと
に水平・垂直方向の単位絵素に分割する画面のデジタル
化操作を開始する。
When the memory control circuits 37 and 38 receive the main pattern leading edge detection signal f, the memory control circuits 37 and 38 convert the digital image signals output from the A-D conversion circuits 34 and 35 into horizontal and vertical directions under the control of the screen division circuit 45. Start the digitization operation of the screen to divide it into unit picture elements.

この結果、濃淡的Oこも空間的にもデジタル化された主
パターン信号と従パターン信号は、それぞれ被検査パタ
ーンメモリ(正確にはデジタル化被検査パターンメモリ
)40と41に蓄積される。
As a result, the main pattern signal and the sub-pattern signal, which have been digitized both grayscale and spatially, are stored in the test pattern memories (to be precise, digitized test pattern memories) 40 and 41, respectively.

このように、主パターン始点を示す主パターン先端検出
信号f(こよってメモリ制御回路37.38を起動する
構成としているので、被検査パターンメモ1J40,4
2には、それぞれ主パターンの始点を基準とする主パタ
ーンと従パターンの被検査パターンが蓄積される。
In this way, since the main pattern tip detection signal f indicating the main pattern starting point (thereby activating the memory control circuits 37 and 38), the pattern to be inspected memo 1J40, 4
2, the main pattern and the sub-pattern to be inspected, each of which is based on the starting point of the main pattern, are stored.

この様子を図式的に表現したものが第4図である。FIG. 4 is a diagrammatic representation of this situation.

位置検出器7,7′が動作した瞬間の主カメラ3の映像
出力3′(こは図示のように主ラベル1の映像出力1′
が含まれ、従カメラ4の映像出力4′には図示のように
従ラベル2の映像出力2が含まれている。
The video output 3' of the main camera 3 at the moment when the position detectors 7 and 7' operate (this is the video output 1' of the main label 1 as shown in the figure).
The video output 4' of the slave camera 4 includes the video output 2 of the slave label 2 as shown.

なお、図中の矢印はラベルの移動方向を表示している。Note that the arrow in the figure indicates the direction of movement of the label.

被検査パターンメモIJ 40 、41内への画体信号
3’、4’の蓄積は、位置検出器7.Tの動作後生パタ
ーン先端検出信号fの発生を待って行われるもので、上
記被検査パターンメモリ40.41に蓄積された内容4
0’、41’は、ある時間経過後の画像出力3’、4’
lど対応したものとなり、ラベル1“とγの各々は4σ
、41′内において左寄りの図形となる。
The image signals 3', 4' are stored in the inspected pattern memo IJ 40, 41 by the position detector 7. This is carried out after the operation of T and waits for the generation of the raw pattern tip detection signal f, and the content 4 stored in the pattern memory 40 and 41 to be inspected is
0', 41' are image outputs 3', 4' after a certain time has elapsed
The labels 1" and γ each correspond to 4σ
, 41', the figure is on the left side.

図中AとBの組合せは、主ラベル1と従ラベル2間の相
対位置が適正である場合、AとCの組合せは主、従のラ
ベル間の相対位置が離間しすぎて不適正な場合である。
In the figure, the combination A and B is when the relative position between the main label 1 and the slave label 2 is appropriate, and the combination A and C is when the relative position between the main and slave labels is too far apart and is inappropriate. It is.

いづれにしても、被検査パターンメモリ41内への従う
ベルハターンの蓄積は、主ラベルについてのパターン先
端検出信号fの発生を待って開始される構成となってい
る。
In any case, the storage of the Belhattern in the pattern memory 41 to be inspected is started after the generation of the pattern tip detection signal f for the main label.

さて、第2図において、標準パターンメモリ39と42
内には、それぞれ単独にも適正でありかつ相対位置関係
においても適正である主、従のデジタル化された標準パ
ターンが蓄積されている。
Now, in FIG. 2, standard pattern memories 39 and 42
Internally, main and sub-digitized standard patterns are stored that are appropriate both individually and in their relative positions.

このような適正パターンの蓄積は適宜な方法で行うこと
ができるが、一例として、スイッチ46をメモリ39側
へ切替え、スイッチ47をメモリ42側へ切替えた状態
で、適切な主、従パターンを有する良品をカメラ3,4
で撮影することによってもこれを行うことができる。
Such accumulation of appropriate patterns can be performed by any appropriate method, but as an example, when the switch 46 is switched to the memory 39 side and the switch 47 is switched to the memory 42 side, appropriate patterns are stored. Good quality camera 3, 4
You can also do this by shooting with .

標準パターン(正確にはデジタル化標準パターン)の蓄
積後はスイッチ46,47をそれぞれ被検査パターンメ
モ1140.41側に切替え、上述した方法により被検
査ラベルについて被検査パターンの蓄積を行う。
After storing the standard pattern (to be more precise, the digitized standard pattern), the switches 46 and 47 are respectively switched to the test pattern memo 1140 and 41 side, and the test pattern for the test label is stored in the method described above.

判定制御回路33は、上記被検査パターンの蓄積が完了
すると、照合判定回路43.44に判定タイミング制御
信号e(第2図参照)を送出する。
When the storage of the pattern to be inspected is completed, the determination control circuit 33 sends a determination timing control signal e (see FIG. 2) to the comparison determination circuits 43 and 44.

これを受けた照合判定回路43は、メモリ39.40か
ら主パターンについて標準パターンと被検査パターンを
読出して両者の照合判定を行い、一致したときは論理の
′1″を、不一致のときは論理の“′O″をアンドゲー
ト48の一方の入力端子に出力する。
Upon receipt of this, the comparison judgment circuit 43 reads out the standard pattern and the pattern to be inspected for the main pattern from the memory 39.40 and performs a comparison judgment between the two. "'O" is outputted to one input terminal of the AND gate 48.

これと並行して照合判定回路44は、メモ1J4L42
から従パターンについて標準パターンと被検査パターン
を読出して両者の照合判定を行い、一致したときは論理
の“1゛を、不一致のときは論理の11011をアンド
ゲート48の他方の入力端子に出力する。
In parallel with this, the collation determination circuit 44 outputs the memo 1J4L42.
The standard pattern and the pattern to be inspected are read out for the slave pattern, and a comparison judgment is made between the two. If they match, a logic "1" is output, and if they do not match, a logic 11011 is output to the other input terminal of the AND gate 48. .

従ってアンドゲート48の出力には、主従の両パターン
が独山こ適正でありかつ主従の相対位置も適正である場
合にのみ、良品であることを通知する論理の“1゛信号
が出力される。
Therefore, the AND gate 48 outputs a logic "1" signal indicating that the product is good only when both the master and slave patterns are correct and the relative positions of the master and slave are also appropriate. .

なお、照合判定回路43.44はパターン相互をつき合
せて比較照合を行う論理回路でありさえすれば適宜な形
式のものでよく、例えば、メモリの全画面の濃淡情報を
つき合わせることにより所定の濃淡差を有する絵素を計
数する形式のもの、1ないし2以上の所定のメモリ領域
について所定濃淡差の絵素を計数する形式のものなどで
よい。
Note that the matching judgment circuits 43 and 44 may be of any suitable type as long as they are logic circuits that compare and match patterns. It may be of a type that counts picture elements having a difference in shading, or of a type that counts picture elements having a predetermined difference in shading for one or more predetermined memory areas.

以上の説明から明らかなように、本発明によれば、主パ
ターンと従パターンをつき合わせるための手段を全く用
いることなく、主パターン独自、従パターン独自及び主
、従パターンの相互関係についての適合性を検査するこ
とができる。
As is clear from the above description, according to the present invention, the adaptation of the main pattern, the sub pattern, and the mutual relationship between the main pattern and the sub pattern can be performed without using any means for matching the main pattern and the sub pattern. The gender can be tested.

またスイッチ46,47を切替えて良品を撮影すること
により標準パターンの蓄積を行う上述の一実施例によれ
ば、カメラ3,4の設置誤差が多少あったとしても、良
品と被検査品との照合時にカメラの設置誤差が相殺され
るので、カメラ設置に対して相当の誤差が許容でき、カ
メラの据付機構や調整が簡単でそのための経費も少くて
すむという利点がある。
Furthermore, according to the above-mentioned embodiment in which standard patterns are accumulated by photographing non-defective products by switching the switches 46 and 47, even if there is some error in the installation of the cameras 3 and 4, the difference between non-defective products and the product to be inspected is Since camera installation errors are offset during verification, a considerable amount of error in camera installation can be tolerated, and the camera installation mechanism and adjustment are simple, with the advantage of requiring less expense.

以上説明した実施例では、パターンの濃淡情報について
標準パターンと被検査パターンとの照合を行う構成とし
たが、パターンの特徴情報について標準パターンと被検
査パターンとの照合を行う構成とした場合にも、本発明
の効果が奏されることは明らかである。
In the embodiment described above, the standard pattern and the pattern to be inspected are matched with respect to the pattern shading information. , it is clear that the effects of the present invention are achieved.

第5図は、そのような一実施例の機能ブロック図である
FIG. 5 is a functional block diagram of one such embodiment.

第5図と第2図の相異点は、A−D変換回路34とメモ
リ制御回路37問およびA−D変換回路35とメモリ制
御回路38間にそれぞれ特徴抽出回路51.52が挿入
されるか否かの点だけであり、他の部分は全て共通であ
るから、当該他の部分については重複した説明を要しな
いであろう。
The difference between FIG. 5 and FIG. 2 is that feature extraction circuits 51 and 52 are inserted between the A-D conversion circuit 34 and the memory control circuit 37, and between the A-D conversion circuit 35 and the memory control circuit 38, respectively. The only difference is whether or not it is, and all other parts are common, so there is no need for redundant explanation of the other parts.

第5図において、特徴抽出回路51.52は、A−D変
換回路34.35の出力と画面分割回路45からの画面
分割信号に基づき濃淡的にも空間的にもデジタル化され
た信号を作成し、これから所定の特徴を抽出し、その座
標清報をメモリ制御回路37.38を介して、被検査パ
ターンメモIJ 40 、41に転送するものである。
In FIG. 5, feature extraction circuits 51 and 52 create gray-scale and spatially digitized signals based on the outputs of the A-D conversion circuits 34 and 35 and the screen division signal from the screen division circuit 45. Then, predetermined features are extracted from this, and the coordinate information is transferred to the inspected pattern memos IJ 40 and 41 via the memory control circuits 37 and 38.

上記の特徴抽出項目としては、例えば、所定の大きさを
もつ円や矩形等の図形、文字または所定傾斜の直線など
とする。
The above feature extraction items include, for example, figures such as circles and rectangles having a predetermined size, characters, or straight lines with a predetermined slope.

このようにして特徴パターンの座標精報をメモリするが
、その基準座標として従パターンについても主パターン
の先端検出信号を使用するものである。
In this way, the detailed coordinate information of the characteristic pattern is memorized, and the tip detection signal of the main pattern is also used for the sub pattern as its reference coordinate.

以上の説明では説明の便宜上、主パターンと従パターン
という表現を用いたが、いずれを主としていずれを従と
するかは場合に応じて個々に決定すればよい。
In the above description, for convenience of explanation, the expressions "main pattern" and "sub pattern" are used, but which pattern is the main pattern and which is the sub pattern may be determined individually depending on the case.

また、2個のパターンについて説明したが、一般には3
個以上のパターンにも適用できることは明らかである。
Also, although we have explained two patterns, generally there are three patterns.
It is clear that it can also be applied to more than one pattern.

また、センサとしてテレビカメラで説明したが、一般(
こは二次元固体カメラその他の二次元電子走査形光電変
換装置を用いてよいことは明らかである。
Also, although I explained using a TV camera as a sensor, it is also common (
It is clear that a two-dimensional solid-state camera or other two-dimensional electronic scanning photoelectric conversion device may be used.

またメモリ容量節減のため、被検査パターンの一部分に
つき、メモリへの蓄積、照合判定などを行ってもよいこ
とは明らかである。
Furthermore, in order to save memory capacity, it is clear that a portion of the pattern to be inspected may be stored in the memory, collated and judged, etc.

以上詳細に説明したように、本発明のパターン検査装置
は、主、従の被検査パターン対応に設置した主、従のイ
メージセンサを同期動作させ、かつ主パターン先端検出
時点を基準として主、従各パターンをメモリに蓄積する
構成であるから、蓄積された主、従パターン間の相対位
置を検出するための複雑な演算回路が一切不要となり、
しかも高速のパターン検査が可能である。
As described above in detail, the pattern inspection apparatus of the present invention operates the main and slave image sensors installed corresponding to the master and slave patterns to be inspected in synchronization, and the master and slave image sensors are operated synchronously with respect to the main pattern tip detection point. Since each pattern is stored in memory, there is no need for any complicated arithmetic circuit to detect the relative position between the stored main and slave patterns.
Moreover, high-speed pattern inspection is possible.

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

第1図は本発明の一実施例の概略を示す概念図、第2図
、第5図は本発明の一実施例の機能ブロック図、第3図
、第4図は第2図、第5図の動作を説明する概念図であ
る。 1.2・・・・・・ラベル、3,4・・・・・・イメー
ジセンサ、8・・・・・・識別回路、31・・・・・・
カメラ1駆動制御回路、36・・・・・・パターン先端
検出回路、40 、41・・・・・・被検査パターンメ
モリ、39.42・・・・・・標準パターンメモリ、4
3,44・・・・・・照合判定回路、48・・・・・・
アンドゲート。
FIG. 1 is a conceptual diagram showing an outline of an embodiment of the present invention, FIGS. 2 and 5 are functional block diagrams of an embodiment of the present invention, and FIGS. It is a conceptual diagram explaining the operation|movement of a figure. 1.2...Label, 3,4...Image sensor, 8...Identification circuit, 31...
Camera 1 drive control circuit, 36...Pattern tip detection circuit, 40, 41...Test pattern memory, 39.42...Standard pattern memory, 4
3, 44... Verification judgment circuit, 48...
And gate.

Claims (1)

【特許請求の範囲】 1 複数個の被検査パターン対応に設置した複数台のイ
メージセンサと、該複数台のイメージセンサを同期走査
させる手段と、各々のイメージセンサから出力される被
検査パターン信号をデジタル化処理してデジタル化被検
査パターン信号を作成する手段と、前記複数個の被検査
パターン信号のうち任意の1個についてパターン信号の
開始点を検出してパターン先端検出信号を発生する手段
と、該パターン先端検出信号を受けて前記デジタル化被
検査パターン信号の各々を対応のデジタル化被検査パタ
ーン信号メモリに蓄積する手段と、該各各のデジタル化
被検査パターン信号対応にデジタル化標準パターン信号
を蓄積するデジタル化標準パターン信号メモリと、該デ
ジタル化被検査パターン信号メモリの内容と該デジタル
化標準パターン信号メモリの内容を照合判定して該判定
結果を出力する照合判定手段と、該各々の判定結果を論
理的に組合せてパターン検査結果を発生する論理手段と
を備えたことを特徴とするパターン検査装置。 2 前記デジタル化標準パターン信号メモリは、前記パ
ターン検査結果を良好とすべき被検査パターンについて
前記デジタル化被検査パターン信号の各々を蓄積する手
段を備えていることを特徴とする特許請求の範囲第1項
記載のパターン検査装置。 3 前記デジタル化被検査パターン信号とデジタル化標
準パターン信号の双方は、被検査パターンの一部分につ
いてのみ作成されることを特徴とする特許請求の範囲第
1項記載のパターン検査装置。
[Claims] 1. A plurality of image sensors installed corresponding to a plurality of patterns to be inspected, means for synchronously scanning the plurality of image sensors, and a pattern to be inspected signal output from each image sensor. means for creating a digitized pattern signal to be inspected through digitization processing; and means for detecting a starting point of a pattern signal for any one of the plurality of pattern signals to be inspected to generate a pattern tip detection signal; , means for receiving the pattern tip detection signal and storing each of the digitized pattern-to-be-inspected signals in a corresponding digitized pattern-to-be-inspected signal memory; and a digitized standard pattern corresponding to each digitized pattern-to-be-inspected signal. a digitized standard pattern signal memory for accumulating signals; a comparison and determination means for comparing and determining the contents of the digitized test pattern signal memory and the contents of the digitized standard pattern signal memory and outputting the determination result; 1. A pattern inspection device comprising: logical means for generating a pattern inspection result by logically combining the determination results of the above. 2. The digitized standard pattern signal memory comprises means for storing each of the digitized pattern signals to be inspected for the pattern to be inspected for which the pattern inspection result is to be good. The pattern inspection device according to item 1. 3. The pattern inspection apparatus according to claim 1, wherein both the digitized inspected pattern signal and the digitized standard pattern signal are created for only a portion of the inspected pattern.
JP54082349A 1979-06-29 1979-06-29 pattern inspection equipment Expired JPS5828618B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54082349A JPS5828618B2 (en) 1979-06-29 1979-06-29 pattern inspection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54082349A JPS5828618B2 (en) 1979-06-29 1979-06-29 pattern inspection equipment

Publications (2)

Publication Number Publication Date
JPS567181A JPS567181A (en) 1981-01-24
JPS5828618B2 true JPS5828618B2 (en) 1983-06-17

Family

ID=13772082

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54082349A Expired JPS5828618B2 (en) 1979-06-29 1979-06-29 pattern inspection equipment

Country Status (1)

Country Link
JP (1) JPS5828618B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108602570A (en) * 2015-12-04 2018-09-28 康尔福盛303公司 Label reader for automatic drug dispenser

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4589141A (en) * 1984-03-12 1986-05-13 Texas Instruments Incorporated Apparatus for automatically inspecting printed labels
US5356913A (en) * 1990-02-09 1994-10-18 The Upjohn Company Use of insulin sensitizing agents to treat hypertension

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108602570A (en) * 2015-12-04 2018-09-28 康尔福盛303公司 Label reader for automatic drug dispenser

Also Published As

Publication number Publication date
JPS567181A (en) 1981-01-24

Similar Documents

Publication Publication Date Title
US4446481A (en) Automatic product inspection system
US5007096A (en) Object inspection apparatus
EP0437273B1 (en) Method of matching patterns and apparatus therefor
US4872024A (en) Print inspection method, print inspection apparatus and automatic print sorting system
US5377279A (en) Method and apparatus for displaying defect in central area of monitor
US4742555A (en) Pattern processor controlled illuminator
JPH06174649A (en) Inspection apparatus of inside and outside of can
JPS5828618B2 (en) pattern inspection equipment
JPH06201611A (en) Method for detecting defect of sheetlike printed matter
KR20030013520A (en) Image processing system
JPH04305774A (en) High-resolution visual apparatus for part inspection
JPH07101048A (en) Printing inspecting method and apparatus
JP2014106069A (en) Printed matter inspection method and printed matter inspection device
JP2506201B2 (en) Goods inspection equipment
JP2765181B2 (en) Visual device for moving work and work posture determination device
JP2998203B2 (en) Inspection method and apparatus for symbol printing surface
JPH0560514A (en) Image processing device for traveling workpiece
JPH0565816B2 (en)
JPH09284753A (en) Method and device for controlling image pickup of supervisory camera
JPH0617876B2 (en) Object inspection device
CA1299735C (en) Object inspection apparatus
JP2670639B2 (en) Parts counting device
JPH01150987A (en) Method for recognizing shape
JPH03280165A (en) Appearance inspection device
JPS63221481A (en) Liquid quantity inspecting instrument for bottle