JPH0650735A - Mark inspection device - Google Patents

Mark inspection device

Info

Publication number
JPH0650735A
JPH0650735A JP4202060A JP20206092A JPH0650735A JP H0650735 A JPH0650735 A JP H0650735A JP 4202060 A JP4202060 A JP 4202060A JP 20206092 A JP20206092 A JP 20206092A JP H0650735 A JPH0650735 A JP H0650735A
Authority
JP
Japan
Prior art keywords
mark
color
pulley
inspection
measurement area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4202060A
Other languages
Japanese (ja)
Other versions
JP3008683B2 (en
Inventor
Tsuneyoshi Takahashi
常悦 高橋
Kiyohide Abe
清秀 阿部
Satoru Nomura
悟 野村
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP4202060A priority Critical patent/JP3008683B2/en
Publication of JPH0650735A publication Critical patent/JPH0650735A/en
Application granted granted Critical
Publication of JP3008683B2 publication Critical patent/JP3008683B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To automatically inspect whether the color and size of a mark which is coated on a pulley is proper or not. CONSTITUTION:A pulley 1 where a plurality of marks with different colors are coated is shot by a color camera 23 of a shooting device 20. The color camera outputs three types of color signals R, G, and B. An image processing device 32 of a control panel 30 processes the color signals R, G, and B individually to judge the color and size of the marks. Further, the position and spacing pitch of an instrumentation area formed in a screen obtained by the image processing device 32 are compensated.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はマーク検査装置に関し、
検査対象物の周面に付けたマークの色及び大きさが適切
であるか否かを自動的に判定できるようにしたものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a mark inspection device,
It is possible to automatically determine whether or not the color and size of the mark on the peripheral surface of the inspection object are appropriate.

【0002】[0002]

【従来の技術】図14に示すように、自動車部品のプー
リーのうち、例えばクランク軸に取り付けられるプーリ
ー1には、その周面にタイミング合せのためにマークM
が塗布されている。マークMのうちMW で示すものは白
色であり、MY で示すものは黄色であり、MO で示すも
のは橙色である。これらマークMは人手により、決めら
れたマーク位置に決められた色で決められた大きさに塗
布して形成されている。このプーリー1を自動車エンジ
ンに組み込むときには、エンジンの特性等に応じて特定
の色のマークMの位置を基準にして他の部品との位相合
せ等をする。
2. Description of the Related Art As shown in FIG. 14, among pulleys of automobile parts, for example, a pulley 1 attached to a crankshaft has a mark M on its peripheral surface for timing adjustment.
Has been applied. Among the marks M, those indicated by M W are white, those indicated by M Y are yellow, and those indicated by M O are orange. These marks M are formed by applying the marks M in a predetermined size with a predetermined color at a predetermined mark position by hand. When this pulley 1 is incorporated in an automobile engine, the phase of other pulleys is matched with the position of the mark M of a specific color as a reference according to the characteristics of the engine.

【0003】[0003]

【発明が解決しようとする課題】ところでマークMは手
作業で塗布されるため、マークMが正確に塗布されてい
るかどうかを検査しなければならず、従来ではこの検査
を人間が行っていた。つまり、決められたマーク位置に
決められた色のマークを決められた大きさに塗布されて
いるかどうかを、目視により検査していた。このため疲
労が大きく、また検査ミスをするおそれがあった。
By the way, since the mark M is applied by hand, it is necessary to inspect whether the mark M is applied correctly. Conventionally, this inspection was performed by a human. That is, it was visually inspected whether or not a mark of a predetermined color was applied in a predetermined size at a predetermined mark position. For this reason, fatigue was great, and there was a risk of making an inspection error.

【0004】本発明は、上記従来技術に鑑み、マークの
色及び大きさが適正であるかとうかを自動的且つ正確に
検査することのできるマーク検査装置を提供するもので
ある。
In view of the above-mentioned prior art, the present invention provides a mark inspection apparatus capable of automatically and accurately inspecting whether the color and size of the mark are proper.

【0005】[0005]

【課題を解決するための手段】上記課題を解決する本発
明の構成は、色の異なる複数のマークが周面に付された
ワークの、前記マークの色及び大きさが良好であるか否
かを検査するマーク検査装置であって、前記マークを撮
影して三種の色信号を出力するカラーカメラと、前記三
種の色信号を2値化して得た三種の各画像の中で、マー
クの像が形成される位置に計測エリアを生成し、しかも
マーク像が計測エリアに入るようにマーク像の位置を基
に計測エリアの位置及び間隔ピッチを補正し、各計測エ
リア内においてマークを示す画素の数をカウントするこ
とによりマークの大きさを判定するとともに、各計測エ
リア内においてどの色の画素が存在するかを基にマーク
の色を判定し、色の良否を判定する処理装置と、を有す
ることを特徴とする。
The structure of the present invention for solving the above-mentioned problems is to determine whether or not the color and size of the marks of a work having a plurality of marks of different colors on its peripheral surface are good. A mark inspection device for inspecting a mark, the image of a mark in a color camera that photographs the mark and outputs three kinds of color signals, and in each of the three kinds of images obtained by binarizing the three kinds of color signals. The measurement area is generated at the position where the mark is formed, and the position and interval pitch of the measurement area are corrected based on the position of the mark image so that the mark image enters the measurement area. A processing device that determines the size of the mark by counting the number, determines the color of the mark based on which color pixel exists in each measurement area, and determines whether the color is good or bad. Characterized by .

【0006】[0006]

【作用】本発明では、三種の信号を個別に画像処理する
ことによりマークの色が判定でき、この色が設定した色
であるかどうかの検査ができる。また画素数のカウント
によりマークの大きさの検査ができる。しかも、計測エ
リアの位置及び間隔ピッチを補正することにより、マー
ク像が計測エリアに入る。
In the present invention, the color of the mark can be determined by image-processing the three types of signals individually, and it can be inspected whether this color is the set color. The size of the mark can be inspected by counting the number of pixels. Moreover, the mark image enters the measurement area by correcting the position and interval pitch of the measurement area.

【0007】[0007]

【実施例】以下に本発明の実施例を図面に基づき詳細に
説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0008】まずはじめに図1を基に、本発明の実施例
に係るマーク検査装置10の構成及び動作を説明し、そ
の後に画像処理手順を説明する。図1に示すようにマー
ク検査装置10は、撮影装置20と制御盤30を有して
いる。
First, the configuration and operation of the mark inspection apparatus 10 according to the embodiment of the present invention will be described based on FIG. 1, and then the image processing procedure will be described. As shown in FIG. 1, the mark inspection device 10 has a photographing device 20 and a control panel 30.

【0009】撮影装置20では、下部が床面にアンカー
止めされたカメラスタンド21の頂部に、遮光ケース2
2が備えられている。遮光ケース22はカメラスタンド
21に対し分離可能となっている。遮光ケース22内に
は、CCDカラーカメラ23,照明ランプ24及び近接
センサ25が設置されている。図2に示すようにカラー
カメラ23は、α方向にスライドしたり、点線で示すよ
うに上方位置に移動することができる。また遮光ケース
22内には、横面に形成した窓22aを通してコンベア
26によりプーリー1が搬送されてくる。
In the photographing device 20, a light shielding case 2 is provided on the top of a camera stand 21 whose lower portion is anchored to the floor.
2 is provided. The light shielding case 22 is separable from the camera stand 21. A CCD color camera 23, an illumination lamp 24, and a proximity sensor 25 are installed in the light shielding case 22. The color camera 23 can slide in the α direction as shown in FIG. 2 or can move to the upper position as shown by the dotted line. Further, the pulley 1 is conveyed into the light shielding case 22 by the conveyor 26 through the window 22a formed on the lateral surface.

【0010】近接センサ25により、プーリー1が遮光
ケース22内の検査位置に達したことを検出すると、コ
ンベア26が停止するとともに治具(図示省略)により
プーリー1の位置が固定され、更に照明ランプ24によ
りプーリー1を照明しカラーカメラ23により、プーリ
ー1の周面に塗布されているマークを撮影する。カラー
カメラ23から出力されたカラー画像信号はケーブル2
7を介して制御盤30に送られる。詳細は後述するが、
制御盤30ではカラー画像信号を基にマークの適否検査
をする。
When the proximity sensor 25 detects that the pulley 1 has reached the inspection position in the light shielding case 22, the conveyor 26 stops and the position of the pulley 1 is fixed by a jig (not shown). The pulley 1 is illuminated by 24, and the color camera 23 photographs the mark applied to the peripheral surface of the pulley 1. The color image signal output from the color camera 23 is the cable 2
It is sent to the control panel 30 via 7. Details will be described later,
The control board 30 inspects the suitability of the mark based on the color image signal.

【0011】マークの適否検査が終了するとプーリー1
を固定していた治具が解除されるとともにコンベア26
が動き出し、検査済のプーリー1が遮光ケース22から
搬出されるとともに、別の新たなプーリー1が遮光ケー
ス22内に搬入される。
When the mark suitability inspection is completed, the pulley 1
The jig that fixed the
Starts to move, the tested pulley 1 is carried out of the light shielding case 22, and another new pulley 1 is carried into the light shielding case 22.

【0012】なお、遮光ケース22の上面はメンテナン
ス用蓋22bとなっており、この蓋22bは通常は閉め
られているが、カラーカメラ23の姿勢調整をしたりメ
ンテナンス等をするときに開けられる。
The upper surface of the light-shielding case 22 is a maintenance lid 22b, which is normally closed, but can be opened when adjusting the posture of the color camera 23 or performing maintenance.

【0013】一方、制御盤30は、ブレーキ付キャスタ
ーを有する制御ケース31内に、画像処理装置32,ノ
ート型のパソコン33,モニタ34,表示・設定装置3
5等を備えて構成されている。そして画像処理装置32
及びパソコン33が中心となって、カラー画像信号の処
理をしてマークの適否検査をする。また表示・設定装置
35により検査のためのデータ設定等をする。データ設
定としては、どのマーク位置に何色のマークが塗布され
ているか等を示すプログラムを設定したり、判定のため
の閾値の設定をしたりする。
On the other hand, the control panel 30 includes an image processing device 32, a notebook personal computer 33, a monitor 34, a display / setting device 3 in a control case 31 having casters with a brake.
5 and the like. The image processing device 32
The personal computer 33 plays a central role in processing the color image signal and inspecting the mark for suitability. Further, the display / setting device 35 sets data for inspection. As the data setting, a program indicating which color mark is applied at which mark position, or the like is set, or a threshold value for determination is set.

【0014】ここで画像処理装置32の構成及び機能
を、図3を参照して説明する。図3において51はビデ
オセレクター、52はA/D変換器、53は2値化回
路、54は2値化メモリ、55はマスクメモリ、56は
ヒストグラム発生器、57は濃淡メモリ、58はCP
U、59はA/D変換器である。ビデオセレクター51
は、CCDカラーカメラ23から送られてくる赤信号
R,緑信号G,青信号B,白黒信号Video のうち一つを
セレクトする。セレクトされた信号は、A/D変換器5
2により8ビットのデジタル信号d(256段階の濃淡
レベル)に変換される。デジタル信号dは、濃淡メモリ
57に記憶されるとともに、2値化回路53で2値化さ
れて2値メモリ54に記憶される。ヒストグラム発生器
56は、濃淡メモリ57のデータからヒストグラムを発
生し、このヒストグラムから塗布量が求められる。
The configuration and function of the image processing device 32 will be described with reference to FIG. In FIG. 3, 51 is a video selector, 52 is an A / D converter, 53 is a binarization circuit, 54 is a binarization memory, 55 is a mask memory, 56 is a histogram generator, 57 is a grayscale memory, and 58 is a CP.
U and 59 are A / D converters. Video selector 51
Selects one of the red signal R, the green signal G, the blue signal B, and the monochrome signal Video sent from the CCD color camera 23. The selected signal is sent to the A / D converter 5
2 converts it into an 8-bit digital signal d (256 levels of gray level). The digital signal d is stored in the density memory 57, binarized by the binarizing circuit 53, and stored in the binary memory 54. The histogram generator 56 generates a histogram from the data of the density memory 57, and the application amount is obtained from this histogram.

【0015】次に画像処理によりマーク適否を判定する
手法を説明する。まずプーリー1が遮光ケース22内に
入り検査位置に達すると、図4に示すように、プーリー
1は治具2により挾持される。これによりプーリー1の
鉛直方向(Y方向)の位置は精度よく規定位置に合う。
この状態でカラーカメラ23がマークMを撮影して、三
原色信号、つまり赤色信号R,緑色信号G,青色信号B
及び白黒信号Video を出力する。
Next, a method of determining mark suitability by image processing will be described. First, when the pulley 1 enters the light shielding case 22 and reaches the inspection position, the pulley 1 is clamped by the jig 2 as shown in FIG. As a result, the position of the pulley 1 in the vertical direction (Y direction) accurately matches the specified position.
In this state, the color camera 23 photographs the mark M, and the three primary color signals, that is, the red signal R, the green signal G, and the blue signal B
And output the black and white signal Video.

【0016】制御盤30では色信号R,G,Bを受けて
画像処理をしてマークMの良否判定をする。処理として
は「教示」と「検査」がある。そこで図5を参照して処
理の全体的な手順を説明し、次に図6を参照して「教
示」処理について説明し、図7〜図13を参照して「検
査」処理について説明する。
The control panel 30 receives the color signals R, G, B and performs image processing to determine whether the mark M is good or bad. The processing includes “teaching” and “inspection”. Therefore, the overall procedure of the process will be described with reference to FIG. 5, the “teaching” process will be described with reference to FIG. 6, and the “inspection” process will be described with reference to FIGS.

【0017】全体のフローは図5に示す手順の通りに行
う。つまり初期設定をしてデータを入力し(ステップ
1,2)、プログラム呼出をする(ステップ3)。この
とき表示・設定装置35により教示指令を出すと教示が
行なわれる(ステップ4)。
The entire flow is carried out according to the procedure shown in FIG. That is, initial setting is performed, data is input (steps 1 and 2), and the program is called (step 3). At this time, when a teaching command is issued from the display / setting device 35, teaching is performed (step 4).

【0018】検査をするにはステップ5にてプログラム
番号を設定してプーリー1の品番を設定する。なお未教
示のときには検査はしない(ステップ6)。呼出完了ラ
ンプを点灯し検査開始スイッチを投入してデータを取り
込むと(ステップ7,8)、検査が開始され(ステップ
9)検査ランプが点灯し(ステップ10)、検査が実行
される(ステップ11)。なお上述した各種ランプ、各
種スイッチは表示・設定装置35に備えられている。結
局図5に示すメインフローから、「教示」が先に行なわ
れてから「検査」が行なわれることが理解される。
In order to inspect, the program number is set in step 5 and the product number of the pulley 1 is set. It should be noted that the inspection is not performed when the instruction is not given (step 6). When the call completion lamp is turned on and the inspection start switch is turned on to capture data (steps 7 and 8), the inspection is started (step 9), the inspection lamp is turned on (step 10), and the inspection is executed (step 11). ). The various lamps and various switches described above are provided in the display / setting device 35. After all, it is understood from the main flow shown in FIG. 5 that "teaching" is performed first and then "inspection" is performed.

【0019】次に「教示」の手順を図6を参照して説明
する。まずパラメータ設定のため教示用メニューを表示
する(ステップ21,22)。そしてステップ23にて
各色信号R,G,Bについてのそれぞれの2値化レベル
を設定し、ステップ24にて計測エリアA1〜A12
(図7参照)の位置及び大きさを設定し、ステップ25
にてプログラム番号を設定してプーリー1の設定をす
る。更にステップ26にて画素数(面積)の判定値(塗
布広さの大小)を設定し、ステップ27にて位置補正ラ
インHX1,HX2,HX3,HX4,HY (図8参照)を設定
する。なお「教示」は主にパソコン33により行なわれ
る。
Next, the procedure of "teaching" will be described with reference to FIG. First, a teaching menu is displayed for parameter setting (steps 21 and 22). Then, in step 23, the respective binarization levels for the respective color signals R, G, B are set, and in step 24, the measurement areas A1 to A12 are set.
Set the position and size (see FIG. 7) and step 25
Set the program number and set pulley 1. Further, the judgment value of the number of pixels (area) (the size of the coating area) is set in step 26, and the position correction lines H X1 , H X2 , H X3 , H X4 , and H Y (see FIG. 8) are set in step 27. To set. The "teaching" is mainly performed by the personal computer 33.

【0020】次に「検査」の手順及び手法を説明する。
検査をする際にはまず補正計測をする。つまり、図4に
示すように、プーリー1は治具2で保持されるためY方
向位置は精確であるが、横スライドや回転する可能性が
あるため、マークMの検査をするには特にX方向の補正
が必要となる。そこで画像処理装置32は、図8に示す
ように、画像上においてX方向に伸びる複数本の位置補
正ラインHX1,HX2,HX3,HX4を生成する。これら位
置補正ラインHX1〜HX4の中での変化点P1 ,P2 ,・
・・P12を検出し、変化点P1 から数画素だけ内側の位
置に、Y方向に伸びる位置補正ラインHY を生成する。
そして位置補正ラインHX2,HY の交点の座標(x,
y)を補正座標として教示しておく。更に変化点P1
2 ,・・・P12から、各マークM間のピッチ間隔を検
出する。この補正計測をするときには、赤信号Rを用い
る。R信号を用いれば白色のマークMW も黄色のマーク
Yも橙色のマークMO も検出することができる。
Next, the procedure and method of "inspection" will be described.
At the time of inspection, first, correction measurement is performed. That is, as shown in FIG. 4, since the pulley 1 is held by the jig 2, the position in the Y direction is accurate, but there is a possibility of lateral sliding or rotation. Directional correction is required. Therefore, as shown in FIG. 8, the image processing device 32 generates a plurality of position correction lines H X1 , H X2 , H X3 , H X4 extending in the X direction on the image. Change points P 1 , P 2 , ... Of these position correction lines H X1 to H X4
.. P 12 is detected, and a position correction line H Y extending in the Y direction is generated at a position inside a few pixels from the change point P 1 .
The coordinates (x, x) of the intersection of the position correction lines H X2 and H Y
y) is taught as correction coordinates. Furthermore, the change point P 1 ,
The pitch interval between the marks M is detected from P 2 , ... P 12 . When performing this correction measurement, the red signal R is used. By using the R signal, it is possible to detect the white mark M W, the yellow mark M Y, and the orange mark M O.

【0021】上述した補正計測をしたらその結果を利用
して計測エリアA1〜A12の位置及びピッチ間隔を補
正する。つまり位置については、位置補正ラインHX2
Yの交点である補正座標(x,y)の分だけ、計測エ
リアA1〜A12の位置をズラす。このため図9に示す
ように、プーリー1がズレて保持されても、計測エリア
A1〜A12内にマークの像が入ってくる。
When the above-mentioned correction measurement is performed, the results and the results are used to correct the positions and pitch intervals of the measurement areas A1 to A12. That is, regarding the position, the position correction line H X2 ,
The positions of the measurement areas A1 to A12 are shifted by the correction coordinates (x, y) that are the intersections of H Y. Therefore, as shown in FIG. 9, even if the pulley 1 is misaligned and held, the image of the mark enters the measurement areas A1 to A12.

【0022】計測エリアA1〜A12のピッチ間隔の補
正については、図10〜図12を基に説明する。なお図
10(a),図11(a),図12(a)はプーリー1
を平面的に示し、図10(b),図11(b),図12
(b)は画像処理画面を示す。
The correction of the pitch intervals of the measurement areas A1 to A12 will be described with reference to FIGS. 10 (a), 11 (a) and 12 (a) show the pulley 1
FIG. 10 (b), FIG. 11 (b), FIG.
(B) shows an image processing screen.

【0023】図10(a)に示すように、プーリー1を
治具で固定したときに、カラーカメラ23の光軸23a
に対しマークMの配置数が左右でほぼ等しいときには、
図10(b)に示すように計測エリアA1〜A12のピ
ッチ間隔が等しいままでも、、マーカMの像はすべて計
測エリアA1〜A12内に入る。
As shown in FIG. 10A, the optical axis 23a of the color camera 23 is fixed when the pulley 1 is fixed by a jig.
On the other hand, when the numbers of the marks M arranged on the left and right are almost equal,
As shown in FIG. 10B, even if the pitch intervals of the measurement areas A1 to A12 remain the same, the images of the markers M all fall within the measurement areas A1 to A12.

【0024】ところで図11(a)や図12(a)に示
すように、プーリー1が周方向に回転した状態で位置固
定され、光軸23aに対しマークMの配置数が不均等に
なると、計測エリアのピッチ間隔が等しい場合には、図
11(b)に示すように、マークMが計測エリアAから
ズレてしまう。かかる事態はプーリー1の径が小さいほ
ど生じやすい。このズレは、マークMの付加位置が正常
であっても生じるものであり、マークMの付加位置は異
常であるわけではない。そこで本発明では、図12
(b)に示すように計測エリアA1〜A12のx方向に
沿うピッチ間隔の補正をして、マークMの像が全て計測
エリアA1〜A12に入るようにしている。前述したよ
うにピッチ間隔の補正は変化点P1〜P12(図8参
照)のピッチ間隔に合せて補正したものである。
By the way, as shown in FIGS. 11 (a) and 12 (a), when the pulley 1 is positionally fixed in a state of being rotated in the circumferential direction and the number of the marks M arranged on the optical axis 23a becomes uneven, When the pitch intervals of the measurement areas are equal, the mark M is displaced from the measurement area A as shown in FIG. Such a situation is more likely to occur as the diameter of the pulley 1 is smaller. This deviation occurs even if the position where the mark M is added is normal, and the position where the mark M is added is not abnormal. Therefore, in the present invention, FIG.
As shown in (b), the pitch intervals of the measurement areas A1 to A12 along the x direction are corrected so that all the images of the mark M enter the measurement areas A1 to A12. As described above, the pitch intervals are corrected according to the pitch intervals of the change points P1 to P12 (see FIG. 8).

【0025】上述したように本発明では、プーリー1が
周方向に沿い回転した状態で治具により位置固定されて
も、回転に応じてエリア補正ができる。
As described above, according to the present invention, even if the position of the pulley 1 is fixed by the jig while being rotated in the circumferential direction, the area can be corrected according to the rotation.

【0026】補正計測及びエリア補正が終了したら各色
信号R,G,B毎に個別に画素数のカウントをする。つ
まり、まず赤信号Rを2値化するとともに図7に示すよ
うに計測エリアA1〜A12を設定する。各計測エリア
A1〜A12はマークMの像が生じる部分に、マークの
大きさに対応して設定されており、しかも補正座標
(x,y)の分だけ位置シフトし、しかもエリアのピッ
チ間隔が補正されている。そして各計測エリアA1〜A
12内の画素数をカウントする。以下同様にして、緑信
号G,青信号Bについても、各計測エリアA1〜A12
内の画素数をカウントする。
When the correction measurement and the area correction are completed, the number of pixels is individually counted for each color signal R, G, B. That is, first, the red signal R is binarized and the measurement areas A1 to A12 are set as shown in FIG. Each of the measurement areas A1 to A12 is set in a portion where an image of the mark M is generated, corresponding to the size of the mark, and the position is shifted by the correction coordinate (x, y), and the pitch interval of the area is It has been corrected. And each measurement area A1-A
The number of pixels in 12 is counted. Similarly, for the green signal G and the blue signal B, the measurement areas A1 to A12 are also performed.
Count the number of pixels in.

【0027】マークMの色が白色であれば計測エリアA
内はR,G,Bすべての画素が存在し、マークMの色が
黄色であれば計測エリアA内にはR,Gの画素が存在
し、マークMの色が橙色であれば計測エリアA内にはR
の画素が存在する。なおプーリー1の周面は黒色となっ
ている。したがって各計測エリアA内にどの色の画素が
存在するかを検査することによりマークMの色判別がで
きる。このマークの色とあらかじめ教示されたマークの
色とを比べることにより、正しい色のマークMが塗布さ
れているかどうかを判定することができる。
If the color of the mark M is white, the measurement area A
All the pixels of R, G, B exist inside, and if the color of the mark M is yellow, the pixels of R and G exist inside the measurement area A, and if the color of the mark M is orange, the measurement area A R in
There are pixels of. The peripheral surface of the pulley 1 is black. Therefore, the color of the mark M can be discriminated by inspecting which color pixel exists in each measurement area A. By comparing the color of this mark with the color of the mark taught in advance, it can be determined whether or not the mark M of the correct color is applied.

【0028】更に、各計測エリアA内の画素のカウント
数と、あらかじめ教示された値とを比較することによ
り、マークMの大きさが適正であるかどうかを判定する
ことができる。
Further, by comparing the count number of pixels in each measurement area A with a value taught in advance, it is possible to determine whether or not the size of the mark M is proper.

【0029】次に検査の全体手順を図13を参照して説
明する。まずプログラム番号によりパラメータの設定を
し(ステップ31)、ワーク(プーリー)が存在し且つ
検査が終了していないことを確認して色信号R,G,B
を画像として取り込む(ステップ32〜37)。検査は
補正計測をしてからR,G,Bの画素数をカウントする
(ステップ38〜40)。マークの色及び大きさを判定
し、良否を判定する(ステップ41,42)。マークが
正常であれば次のプーリーの検査を行い、マークが異常
でブザーが鳴る(ステップ44)。
Next, the overall procedure of the inspection will be described with reference to FIG. First, the parameters are set by the program number (step 31), it is confirmed that the work (pulley) is present and the inspection is not completed, and the color signals R, G, B are checked.
Is captured as an image (steps 32 to 37). In the inspection, the number of R, G, and B pixels is counted after the correction measurement is performed (steps 38 to 40). The color and size of the mark are judged, and the quality is judged (steps 41 and 42). If the mark is normal, the next pulley is inspected, and if the mark is abnormal, the buzzer sounds (step 44).

【0030】マーク異常のときは再度検査をする(ステ
ップ45〜48)。再検査で正常を判定すれば次のプー
リーの検査を行い、あいかわらず異常であればマーク異
常と判定し、ブザーを停止させる(ステップ49,5
0)。
When the mark is abnormal, the inspection is performed again (steps 45 to 48). If it is determined to be normal by the re-inspection, the next pulley is inspected, and if abnormal, the mark is determined to be abnormal and the buzzer is stopped (steps 49, 5).
0).

【0031】[0031]

【発明の効果】以上実施例とともに具体的に説明したよ
うに本発明によれば、マークの色及びマークの大きさの
良否を自動的に且つ正確・迅速に検査することができ
る。
According to the present invention as specifically described in connection with the above embodiments, it is possible to automatically, accurately and promptly inspect the quality of the color of the mark and the size of the mark.

【0032】また本発明では、ワークが周方向に沿い回
転した状態で位置固定した場合でも、計測エリアの位置
及び間隔ピッチの補正をするため、正確にマーク検査を
することができる。
Further, according to the present invention, even if the work is rotated and fixed in the circumferential direction, the position of the measurement area and the interval pitch are corrected, so that the mark inspection can be accurately performed.

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

【図1】実施例のマーク検査装置を示す構成図。FIG. 1 is a configuration diagram showing a mark inspection device according to an embodiment.

【図2】撮影装置を示す構成図。FIG. 2 is a configuration diagram showing a photographing device.

【図3】画像処理装置を示すブロック図。FIG. 3 is a block diagram showing an image processing apparatus.

【図4】プーリーを保持した状態を示す説明図。FIG. 4 is an explanatory view showing a state in which a pulley is held.

【図5】実施例のメイン動作を示すフロー図。FIG. 5 is a flowchart showing a main operation of the embodiment.

【図6】実施例の教示動作を示すフロー図。FIG. 6 is a flowchart showing the teaching operation of the embodiment.

【図7】計測エリアを示す説明図。FIG. 7 is an explanatory diagram showing a measurement area.

【図8】位置補正ラインを示す説明図。FIG. 8 is an explanatory diagram showing a position correction line.

【図9】プーリーを保持した状態を示す説明図。FIG. 9 is an explanatory diagram showing a state in which a pulley is held.

【図10】マーク位置と画像の状態を示す説明図。FIG. 10 is an explanatory diagram showing mark positions and image states.

【図11】マーク位置と画像の状態を示す説明図。FIG. 11 is an explanatory diagram showing mark positions and image states.

【図12】マーク位置と画像の状態を示す説明図。FIG. 12 is an explanatory diagram showing mark positions and image states.

【図13】実施例の検査動作を示すフロー図。FIG. 13 is a flowchart showing the inspection operation of the embodiment.

【図14】マーカーを付したプーリーを示す斜視図。FIG. 14 is a perspective view showing a pulley with a marker.

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

1 プーリー 2 治具 10 マーク検査装置 20 撮影装置 21 カメラスタンド 22 遮光ケース 22a 窓 22b メンテナンス用蓋 23 カラーカメラ 24 照明ランプ 25 近接センサ 26 コンベア 27 ケーブル 30 制御盤 31 制御ケース 32 画像処理装置 33 パソコン 34 モニタ 35 表示・設定装置 M,MW1,MY ,MO マーク A1〜A12 計測エリア HX1,HX2,HX3,HX4,HY 位置補正ライン1 Pulley 2 Jig 10 Mark Inspection Device 20 Imaging Device 21 Camera Stand 22 Shading Case 22a Window 22b Maintenance Lid 23 Color Camera 24 Lighting Lamp 25 Proximity Sensor 26 Conveyor 27 Cable 30 Control Panel 31 Control Case 32 Image Processing Device 33 Personal Computer 34 monitor 35 display and setting device M, M W1, M Y, M O mark A1~A12 measurement area H X1, H X2, H X3 , H X4, H Y position correction line

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 色の異なる複数のマークが周面に付され
たワークの、前記マークの色及び大きさが良好であるか
否かを検査するマーク検査装置であって、 前記マークを撮影して三種の色信号を出力するカラーカ
メラと、 前記三種の色信号を2値化して得た三種の各画像の中
で、マークの像が形成される位置に計測エリアを生成
し、しかもマーク像が計測エリアに入るようにマーク像
の位置を基に計測エリアの位置及び間隔ピッチを補正
し、各計測エリア内においてマークを示す画素の数をカ
ウントすることによりマークの大きさを判定するととも
に、各計測エリア内においてどの色の画素が存在するか
を基にマークの色を判定し、色の良否を判定する処理装
置と、 を有することを特徴とするマーク検査装置。
1. A mark inspection apparatus for inspecting whether or not the color and size of a mark of a work having a plurality of marks of different colors on its peripheral surface are inspected. A color camera that outputs three types of color signals, and a measurement area is formed at a position where a mark image is formed in each of the three types of images obtained by binarizing the three types of color signals, and the mark image Corrects the position and interval pitch of the measurement area based on the position of the mark image so as to enter the measurement area, and determines the size of the mark by counting the number of pixels indicating the mark in each measurement area, A mark inspection apparatus comprising: a processing device that determines the color of a mark based on which color pixel exists in each measurement area and determines whether the color is good or bad.
JP4202060A 1992-07-29 1992-07-29 Mark inspection equipment Expired - Fee Related JP3008683B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4202060A JP3008683B2 (en) 1992-07-29 1992-07-29 Mark inspection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4202060A JP3008683B2 (en) 1992-07-29 1992-07-29 Mark inspection equipment

Publications (2)

Publication Number Publication Date
JPH0650735A true JPH0650735A (en) 1994-02-25
JP3008683B2 JP3008683B2 (en) 2000-02-14

Family

ID=16451281

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4202060A Expired - Fee Related JP3008683B2 (en) 1992-07-29 1992-07-29 Mark inspection equipment

Country Status (1)

Country Link
JP (1) JP3008683B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002048720A (en) * 2000-08-01 2002-02-15 Kawasaki Kiko Co Ltd Information processing method and device for tea leaves or the like
JP2010139483A (en) * 2008-12-15 2010-06-24 Synergy Optosystems Co Ltd Inspection system and inspection method of optical waveguide
CN117347374A (en) * 2023-12-05 2024-01-05 山东扬智汽车科技有限公司 Multi-station automobile part test bench

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002048720A (en) * 2000-08-01 2002-02-15 Kawasaki Kiko Co Ltd Information processing method and device for tea leaves or the like
JP2010139483A (en) * 2008-12-15 2010-06-24 Synergy Optosystems Co Ltd Inspection system and inspection method of optical waveguide
CN117347374A (en) * 2023-12-05 2024-01-05 山东扬智汽车科技有限公司 Multi-station automobile part test bench
CN117347374B (en) * 2023-12-05 2024-02-20 山东扬智汽车科技有限公司 Multi-station automobile part test bench

Also Published As

Publication number Publication date
JP3008683B2 (en) 2000-02-14

Similar Documents

Publication Publication Date Title
US7505149B2 (en) Apparatus for surface inspection and method and apparatus for inspecting substrate
JP5239314B2 (en) Object recognition method and board visual inspection apparatus using this method
TWI590725B (en) Detecting device and detecting method of appearance of printed circuit board
JPH0727714A (en) Inspection apparatus for plane display panel
JP5236241B2 (en) Defect inspection apparatus, defect inspection method, image processing apparatus, program, and computer-readable recording medium recording the program
WO2007066628A1 (en) Appearance inspecting device
JP3618713B2 (en) Display screen inspection method and display screen inspection apparatus
JPH07107514B2 (en) Display method and display device in substrate inspection apparatus
JP2000009655A (en) Visual inspection device
JP3008683B2 (en) Mark inspection equipment
US20120013731A1 (en) Component presence/absence judging apparatus and method
JP2009080004A (en) Inspection device
KR100467080B1 (en) Coil Spring Marking Examination Method to Use Vision System
JPH11132720A (en) Point defect detecting device and method therefor
JP2578288Y2 (en) Mark inspection equipment
JP3589756B2 (en) Inspection set value input display method and device for defect inspection
JPH08327497A (en) Method for inspecting color liquid crystal display panel
JP2903305B2 (en) Mounting component inspection method and mounting component inspection device
US6340988B1 (en) Method and apparatus for displaying video data for testing a video board
JP3584507B2 (en) Pattern unevenness inspection equipment
JP2008292398A (en) Method of inspecting floating defect of component electrode and substrate inspecting device
JP2006284543A (en) Method and device for inspecting mounted circuit board
JP2001083474A (en) Method for inspecting liquid crystal display panel
JPH06236162A (en) Test method for defect of color liquid crystal panel and device for test
JP4122099B2 (en) Inspection method for annular rubber seal member

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19991102

LAPS Cancellation because of no payment of annual fees