JP2001337044A - Visual inspection method for cast product - Google Patents

Visual inspection method for cast product

Info

Publication number
JP2001337044A
JP2001337044A JP2000160090A JP2000160090A JP2001337044A JP 2001337044 A JP2001337044 A JP 2001337044A JP 2000160090 A JP2000160090 A JP 2000160090A JP 2000160090 A JP2000160090 A JP 2000160090A JP 2001337044 A JP2001337044 A JP 2001337044A
Authority
JP
Japan
Prior art keywords
image
reference image
inspection
work
mold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000160090A
Other languages
Japanese (ja)
Inventor
Hirobumi Miyazaki
博文 宮崎
Seijo Hidaka
世城 日高
Yasutoshi Nakamura
康俊 中村
Teruyuki Yoshida
輝幸 吉田
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.)
Honda Motor Co Ltd
Original Assignee
Honda Motor 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 Honda Motor Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP2000160090A priority Critical patent/JP2001337044A/en
Publication of JP2001337044A publication Critical patent/JP2001337044A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a visual inspection method for cast products whereby a shape difference and defective points on appearance can be distinguished even if the shape difference in an allowable range is generated when the equal cast products are manufactured by a plurality of molds. SOLUTION: After shot blasting good products and products to be inspected, a reference image is formed by taking a plurality of images of the good products and filtering noises out from the images and an inspection image is formed by taking images of the products to be inspected and removing noises from the images. The reference image and the inspection image are compared with each other, whereby the defective points are detected. Moreover, when lots and molds change or in the like case, a correction reference image is formed with correction images added for each lot and for each mold to the reference image, and the correction reference image and the inspection image are compared with each other to detect the defective points.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、複数の金型で同じ
鋳造品を製造する場合の鋳造品の外観検査方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for inspecting the appearance of a casting when manufacturing the same casting with a plurality of dies.

【0002】[0002]

【従来の技術】従来、鋳造品の外観検査は、金型への離
型剤残りによる縞模様や製品形状独自の凹凸などによ
り、自動化が困難であるため作業者の目視によって行っ
ていた。また、同じ鋳造品を複数の金型によって製造
し、しかも肉盛りなどの金型補修があるため、完全同一
な鋳造品が製造されずに外観上許容範囲内にある形状差
が生じるので、その形状差と外観上の不良箇所(欠陥)
を区別することが容易でない点も、自動化を困難にして
いた。
2. Description of the Related Art Conventionally, the appearance of a cast product has been visually inspected by an operator because it is difficult to automate the appearance of the product due to a striped pattern due to a release agent remaining in a mold or a unique irregularity of a product shape. In addition, since the same casting is manufactured by a plurality of molds, and since there is mold repair such as overlaying, a completely identical casting is not manufactured, and a shape difference within an allowable range in appearance occurs. Shape differences and appearance defects (defects)
Also, it is difficult to distinguish between them, which also makes automation difficult.

【0003】[0003]

【発明が解決しようとする課題】しかし、作業者による
目視検査では、作業効率が悪く、他の工程を自動化して
も、検査工程が自動化されないため、生産ライン全体と
しての効率化が図れないという問題があった。
However, in a visual inspection by an operator, work efficiency is poor, and even if other processes are automated, the inspection process is not automated, so that the efficiency of the entire production line cannot be improved. There was a problem.

【0004】本発明は、従来の技術が有するこのような
問題点に鑑みてなされたものであり、その目的とすると
ころは、同じ鋳造品を複数の金型で製造することによっ
て、あるいは同じ金型であってもロット毎に許容範囲内
にある形状差が生じても、その形状差と外観上の不良箇
所を区別することができる鋳造品の外観検査方法を提供
しようとするものである。
[0004] The present invention has been made in view of such problems of the prior art, and has as its object to produce the same casting by using a plurality of dies or the same metal. An object of the present invention is to provide a method for inspecting the appearance of a cast product, which can distinguish a difference in shape from a defect in appearance even if a shape difference within an allowable range occurs for each lot even in a mold.

【0005】[0005]

【課題を解決するための手段】上記課題を解決すべく請
求項1に係る発明は、良品の画像を複数取り込んでノイ
ズ除去処理を施して作成した基準画像と、検査対象品の
画像を取り込んでノイズ除去処理を施して作成した検査
画像とを比較処理して不良箇所を検出すると共に、ロッ
トや金型が変わった場合などには前記基準画像に対しロ
ットや金型毎の補正画像を加味した補正基準画像を作成
し、この補正基準画像と前記検査画像とを比較処理して
不良箇所を検出するものである。
In order to solve the above-mentioned problems, the invention according to claim 1 takes in a reference image created by taking in a plurality of non-defective images and performing a noise removal process, and an image of an inspected product. In addition to detecting the defective portion by comparing the inspection image created by performing the noise removal processing and detecting a defective portion, a correction image for each lot or mold is added to the reference image when the lot or the mold changes. A correction reference image is created, and the correction reference image is compared with the inspection image to detect a defective portion.

【0006】請求項2に係る発明は、良品及び検査対象
品に対してショットブラスト処理を行った後に、前記良
品の画像を複数取り込んでノイズ除去処理を施して作成
した基準画像と、検査対象品の画像を取り込んでノイズ
除去処理を施して作成した検査画像とを比較処理して不
良箇所を検出すると共に、ロットや金型が変わった場合
などには前記基準画像に対しロットや金型毎の補正画像
を加味した補正基準画像を作成し、この補正基準画像と
前記検査画像とを比較処理して不良箇所を検出するもの
である。
According to a second aspect of the present invention, there is provided a reference image formed by performing a shot blast process on a non-defective product and an inspection target product, then capturing a plurality of non-defective products and performing a noise removal process, and The defect image is detected by performing a comparison process with the inspection image created by performing the noise removal processing by taking in the image of the image, and when the lot or the mold is changed, the lot is different from the reference image for each lot or the mold. A correction reference image taking into account the correction image is created, and the correction reference image is compared with the inspection image to detect a defective portion.

【0007】[0007]

【発明の実施の形態】以下に本発明の実施の形態を添付
図面に基づいて説明する。ここで、図1は本発明に係る
鋳造品の外観検査方法を使用する外観検査装置の概要構
成図、図2は基準画像作成のフローチャート、図3は本
発明に係る鋳造品の外観検査方法のフローチャートであ
る。
Embodiments of the present invention will be described below with reference to the accompanying drawings. Here, FIG. 1 is a schematic configuration diagram of an appearance inspection apparatus using the casting appearance inspection method according to the present invention, FIG. 2 is a flowchart of reference image creation, and FIG. 3 is a casting appearance inspection method according to the present invention. It is a flowchart.

【0008】本発明に係る鋳造品の外観検査方法を使用
する外観検査装置は、図1に示すように、ワーク(鋳造
品)Wを所望な姿勢にセットする治具1と、ロボット2
に装着されて治具1の上方に配置されるカメラ3と、ワ
ークWに光を当てる照明器具4と、カメラ3が撮影した
ワークWの画像を処理してワークWの外観検査結果を出
力する画像処理部(不図示)などを備えてなる。なお、
治具1、ロボット2、照明器具4は、不図示のキャスタ
などを備えて移動自在な枠体5に取り付けられている。
As shown in FIG. 1, the appearance inspection apparatus using the method for inspecting the appearance of a cast product according to the present invention comprises: a jig 1 for setting a work (cast product) W in a desired posture;
And a lighting device 4 for illuminating the work W, and processing an image of the work W taken by the camera 3 to output a result of the visual inspection of the work W. An image processing unit (not shown) is provided. In addition,
The jig 1, the robot 2, and the lighting fixture 4 are mounted on a movable frame 5 including casters (not shown) and the like.

【0009】治具1は、ワークWをテーブル1aに固定
する機能と、ワークWを固定したテーブル1aをその面
と平行に所定角度(例えば、90度)回転させる回転軸
R及び前後左右に所定角度(例えば、10度〜45度程
度)傾ける揺動軸(前後揺動軸YRと左右揺動軸XR)か
らなるワークWの姿勢を制御する機能を備え、ワークW
を所望な姿勢に保持する。
The jig 1 has a function of fixing the work W to the table 1a, a rotation axis R for rotating the table 1a to which the work W is fixed in parallel with its surface by a predetermined angle (for example, 90 degrees), and a predetermined front, rear, left and right. angle (e.g., 10 degrees to 45 degrees) inclined pivot shaft provided with a function of controlling the orientation of the (front and rear swing shaft Y R and the left and right swing axis X R) consisting of the workpiece W, the workpiece W
Is held in a desired posture.

【0010】ロボット2は、直交3軸(水平X−Y軸と
垂直Z軸)の自由度を有し、その先端を所望な位置に位
置決めする機能を備え、ワークWに対して所望な位置で
対向できるように先端に取り付けたカメラ3を位置決め
する。
The robot 2 has a degree of freedom of three orthogonal axes (horizontal XY axis and vertical Z axis), and has a function of positioning its tip at a desired position. The camera 3 attached to the tip is positioned so that it can face the camera 3.

【0011】カメラ3は、CCD(電荷結合素子)など
の固体撮像素子からなり、ワークWの外観形状の画像を
取り込み、取り込んだ画像を画像処理部に入力する。ま
た、画像処理部では、取り込んだ画像をノイズ除去処理
して、基準画像、補正基準画像や検査画像などを作成し
たり、それらの画像を記憶したり、基準画像又は補正基
準画像と検査画像との比較処理するパターンマッチング
を行ったり、ワークWの不良箇所を抽出して表示したり
する。
The camera 3 is composed of a solid-state image sensor such as a CCD (Charge Coupled Device), captures an image of the external shape of the work W, and inputs the captured image to an image processing unit. In the image processing unit, the captured image is subjected to noise removal processing to create a reference image, a corrected reference image, an inspection image, and the like, and those images are stored. The pattern matching for the comparison processing of the above is performed, and the defective portion of the work W is extracted and displayed.

【0012】照明器具4は、蛍光灯4aと半透明のアク
リル板4bを備え、カメラ3の視野内にある凹凸を有す
るワークWの壁面や底部に対して一方向からのみ所定の
照度の光を均等に当てるため、枠体5の一面に配置した
蛍光灯4aによる光(乳白色光)を半透明のアクリル板
4bを通してワークWに当てるようにしている。
The luminaire 4 includes a fluorescent lamp 4a and a translucent acrylic plate 4b, and emits light of a predetermined illuminance from only one direction to the wall or bottom of the work W having irregularities in the field of view of the camera 3. To evenly apply the light, the light (milky white light) from the fluorescent lamp 4a disposed on one surface of the frame 5 is applied to the work W through the translucent acrylic plate 4b.

【0013】以上のように構成した外観検査装置によっ
て実施される本発明に係る鋳造品の外観検査方法を図2
と図3に示すフローチャートにより説明する。最初に、
図2に示すフローチャートにより、外観検査の基準とな
る良品(登録ワーク)を対象とした基準画像を作成する
手順を説明する。
FIG. 2 shows a method for inspecting the appearance of a cast product according to the present invention, which is performed by the appearance inspection apparatus configured as described above.
And the flowchart shown in FIG. At first,
With reference to the flowchart shown in FIG. 2, a procedure for creating a reference image for a non-defective product (registered work) serving as a reference for an appearance inspection will be described.

【0014】先ず、ステップSP1において、登録ワー
クに対してショットブラスト処理を行う。鋳造後のワー
クは、離型剤やバリなどの影響で表面状態が各ワーク毎
で相違するため、そのままの状態で画像処理すると単な
る形状差と外観上の不良箇所を区別することができな
い。そこで、それらの影響を除去する手段として亜鉛粒
によるショットブラスト処理(亜鉛ショット)を行う。
但し、平均化処理や微分処理を行うことでショットブラ
スト処理を省略することもできる。
First, in step SP1, a shot blast process is performed on a registered work. Since the surface state of the cast workpiece is different for each workpiece due to the influence of a release agent, burrs, and the like, if the image processing is performed as it is, it is not possible to distinguish a mere difference in shape and a defective portion in appearance. Therefore, a shot blasting process (zinc shot) using zinc particles is performed as a means for removing these effects.
However, shot blast processing can be omitted by performing averaging processing and differentiation processing.

【0015】次いで、ステップSP2において、ショッ
トブラスト処理をした登録ワークを治具1にセットし、
照明器具4で登録ワークに光を一方向から当てる。そし
て、ステップSP3において、ロボット2により測定ポ
イントに順次カメラ3が位置決めされる。それと同時
に、登録ワークの凸凹の底や側面などを撮影し易いよう
に、治具1が前後左右に所定角度(10度〜45度程
度)傾いたり、90度水平回転したりして登録ワークの
姿勢を変える。
Next, in step SP2, the registered work subjected to the shot blast processing is set on the jig 1, and
Light is applied to the registered work from one direction by the lighting fixture 4. Then, in step SP3, the camera 3 is sequentially positioned at the measurement points by the robot 2. At the same time, the jig 1 is tilted forward and backward and left and right by a predetermined angle (about 10 to 45 degrees) or horizontally rotated by 90 degrees so that the registered work can be easily photographed. Change your posture.

【0016】ステップSP4において、位置決めされた
カメラ3が、各測定ポイントの登録ワークの画像を取り
込む。
In step SP4, the positioned camera 3 captures an image of a registered work at each measurement point.

【0017】このように、治具1を前後左右に傾けるこ
とにより、先端に自由度(回転軸や曲げ軸など)を持た
ない直交3軸のロボット2に装着されたカメラ3にとっ
て登録ワークの全体が見易くなり、これによって登録ワ
ークに形成されている油路の深い所や油路側面などを撮
影することができる。この時、ワークによっては油路の
深い所を照すためにスポット照明を使用することもあ
る。
As described above, by tilting the jig 1 back and forth and right and left, the camera 3 mounted on the robot 3 of three orthogonal axes having no degree of freedom (rotational axis, bending axis, etc.) at the tip end has the entire registered work. This makes it possible to photograph a deep part of the oil passage formed on the registered work, a side surface of the oil passage, and the like. At this time, depending on the work, spot lighting may be used to illuminate a deep part of the oil passage.

【0018】なお、ロボット2の先端に自由度を持たせ
ず、治具1を前後左右に傾けることで登録ワークに対す
るカメラ3の姿勢を取るようにしたのは、ロボット2を
直交3軸のみとし先端部を軽量化してカメラ3の高速位
置決めを可能にするためである。そして、登録ワークに
対するカメラ3の所望な姿勢は、治具1の水平回転及び
前後左右の揺動動作とロボット2の高速位置決め動作の
組合せ(治具1の回転軸R,前後揺動軸YR,左右揺動
軸XRと、ロボット2のX軸,Y軸,Z軸の合計6軸)
により、速やかに取れるようにしている。
The reason that the camera 2 does not have any degree of freedom at the tip of the robot 2 and tilts the jig 1 back and forth and left and right to take the posture of the camera 3 with respect to the registered work is that the robot 2 has only three orthogonal axes. This is for the purpose of reducing the weight of the distal end and enabling high-speed positioning of the camera 3. Then, the desired posture of the camera 3 to the registration work, the rotation axis R of the horizontal rotation and longitudinal and lateral of the rocking motion and a combination of high-speed positioning operation of the robot 2 of the jig 1 (the jig 1, the front and rear pivot shaft Y R right and left swing axis X R, X-axis of the robot 2, Y-axis, a total of 6 axes of Z-axis)
, So that it can be quickly obtained.

【0019】また、照明器具4による光を、ワークの壁
面に光がよく当るように一方向(治具を傾けた時、治具
の高い方向)からのみワークに当てることにより、光が
当った部分に角度があっても明るい状態で見ることがで
きる。画像の取り込みのタイミングは、各測定ポイント
毎の治具1及びロボット2の位置決め信号により行われ
る。
Further, the light from the luminaire 4 is applied to the work only from one direction (when the jig is tilted, the direction of the jig is higher) so that the light may well hit the wall surface of the work. Even if the part has an angle, it can be seen in a bright state. The timing of capturing the image is determined by the positioning signals of the jig 1 and the robot 2 at each measurement point.

【0020】次いで、ステップSP5で、取り込んだ複
数の画像について、直ちにノイズ除去処理を行う。ノイ
ズ除去処理とは、ショットブラスト処理(亜鉛ショッ
ト)によって、ワーク表面が梨地状になり、この梨地状
による明るさの違いによって生じるノイズなどを除去す
るために行う処置で、平均化処理や微分処理などであ
る。平均化処理に加え微分処理を行うことにより検査精
度を上げることが可能となる。
Next, in step SP5, noise removal processing is immediately performed on the plurality of captured images. The noise elimination process is a process performed to remove noise or the like caused by the difference in brightness due to the difference in brightness due to the matte surface due to the shot blasting process (zinc shot). And so on. Inspection accuracy can be improved by performing differential processing in addition to averaging processing.

【0021】登録ワークに対する平均化処理は、暗くな
らないようにするものの、明るくし過ぎると誤検出の原
因となるので、周りより明るい点(画素)については平
均値に置き換えるものとする。
The averaging process for the registered work does not make it dark, but if it is made too bright, it causes erroneous detection. Therefore, a point (pixel) brighter than the surroundings is replaced with an average value.

【0022】そして、ステップSP6において、1個の
登録ワークについて、各測定ポイントに対応した基準画
像を作成する。同様に、複数の登録ワークについて、各
測定ポイントに対応した基準画像を作成し、これらの基
準画像の互いに対応する画素中で暗い側の値を基準デー
タとした基準画像を各測定ポイント毎に作成し、ステッ
プSP7で登録する。
Then, in step SP6, a reference image corresponding to each measurement point is created for one registered work. Similarly, for a plurality of registered workpieces, a reference image corresponding to each measurement point is created, and a reference image is created for each measurement point using darker values in pixels corresponding to each other in the reference images as reference data. Then, it registers in step SP7.

【0023】次いで、ステップSP8において、測定ポ
イントの数(第1の姿勢と第2の姿勢で各4ポイント、
第3の姿勢と第4の姿勢で各3ポイント、合計14画
像)だけ基準画像を作成したか否かを判断し、14画像
まで作成していなければステップSP3へ戻り、14画
像作成すれば基準画像作成作業は終了する。
Next, in step SP8, the number of measurement points (4 points each in the first posture and the second posture,
It is determined whether or not the reference image has been created only for the three positions in the third posture and the fourth posture (a total of 14 images). If the 14 images have not been created, the process returns to step SP3. The image creation operation ends.

【0024】次に、登録ワークより得られた基準画像を
利用する外観検査方法について、図3に示すフローチャ
ートにより説明する。
Next, an appearance inspection method using a reference image obtained from a registered work will be described with reference to a flowchart shown in FIG.

【0025】先ず、ステップSP11において、登録ワ
ークより得られた基準画像を読み込む。次いで、ステッ
プSP12において、登録ワークの場合と同様に、鋳造
後のワークWに対して離型剤やバリなどの影響を除去す
るため、ショットブラスト処理(亜鉛ショット)を行
う。
First, in step SP11, a reference image obtained from a registered work is read. Next, in step SP12, similarly to the case of the registered work, a shot blast process (zinc shot) is performed on the work W after casting in order to remove the influence of the release agent and the burrs.

【0026】次いで、ステップSP13において、ショ
ットブラスト処理したワークWを治具1にセットし、照
明器具4による光をワークWに当てる。そして、ステッ
プSP14において、登録ワークの場合と同じ測定ポイ
ントに、ロボット2を位置決めすると共に、ワークWを
固定した治具1を測定ポイント毎に前後左右に所定角度
(10度〜45度程度)傾けたり、90度水平回転させ
たりする。
Next, in step SP13, the work W subjected to the shot blast processing is set on the jig 1, and the light from the lighting fixture 4 is applied to the work W. Then, in step SP14, the robot 2 is positioned at the same measurement point as that of the registered work, and the jig 1 to which the work W is fixed is tilted by a predetermined angle (about 10 to 45 degrees) back and forth and left and right for each measurement point. Or rotate 90 degrees horizontally.

【0027】次いで、ステップSP15において、ロボ
ット2により位置決めされたカメラ3が、測定ポイント
における検査ワークの画像を取り込む。このように、ワ
ークWの姿勢を変えて撮影することにより、ワークWの
凸凹の底や側面なども確実に検査することができる。
Next, in step SP15, the camera 3 positioned by the robot 2 captures an image of the inspection work at the measurement point. Thus, by changing the posture of the work W and photographing, it is possible to reliably inspect the uneven bottoms and side surfaces of the work W.

【0028】更に、ステップSP16において、取り込
んだ画像について、直ちにノイズ除去処理を行う。外観
検査の対象となるワークWに対しては、暗い箇所が明る
くならないような平均化処理を行う。但し、周囲に対し
て一点(画素)だけ暗い場合には平均化する。このよう
な平均化処理により、ノイズを除去することができる。
Further, in step SP16, a noise removal process is immediately performed on the captured image. An averaging process is performed on the work W to be subjected to the appearance inspection so that dark portions do not become bright. However, when only one point (pixel) is darker than the surroundings, averaging is performed. Noise can be removed by such an averaging process.

【0029】そして、ステップSP17において、1個
のワークWについて、各測定ポイントに対応した検査画
像を作成する。次いで、ステップSP18において、測
定ポイントの数(14画像)だけ検査画像を作成したか
否かを判断し、14画像まで作成していなければステッ
プSP14へ戻り、14画像作成すれば検査画像作成作
業は終了する。
Then, in step SP17, an inspection image corresponding to each measurement point is created for one work W. Next, in step SP18, it is determined whether or not inspection images have been created by the number of measurement points (14 images). If not up to 14 images have been created, the process returns to step SP14. finish.

【0030】更に、ステップSP19において、良品
(登録ワーク)から得た基準画像と外観検査の対象とな
るワークWから得た検査画像とを比較処理するパターン
マッチングを行う。パターンマッチングでは、各測定ポ
イント毎の基準画像と検査画像について画素毎に明るさ
を比較し、ある測定ポイントの検査画像において一定数
以上の画素に一定値以上の差があった場合には、外観検
査の対象となったワークWが不良であると判断する。
Further, in step SP19, pattern matching for comparing a reference image obtained from a non-defective product (registered work) with an inspection image obtained from a work W to be subjected to appearance inspection is performed. In pattern matching, the brightness of each pixel is compared between the reference image and the inspection image for each measurement point, and if there is a difference of a certain value or more in a certain number of pixels in the inspection image at a certain measurement point, the appearance It is determined that the inspection target work W is defective.

【0031】次いで、ステップSP20において、パタ
ーンマッチングにより検出したワークWの不良箇所を抽
出する。そして、ステップSP21において、ワークW
の不良箇所の座標を保存すると共に、ワークWの不良箇
所の座標を検査画像に重ね合わせて表示し、鋳造品の外
観検査作業は終了する。
Next, in step SP20, a defective portion of the work W detected by the pattern matching is extracted. Then, in step SP21, the work W
Are stored, and the coordinates of the defective portion of the workpiece W are displayed so as to be superimposed on the inspection image, and the appearance inspection work of the casting is completed.

【0032】また、ロットが変わった場合には、基準画
像にロットが変わったことによる変更内容を加味した補
正基準画像を各測定ポイント毎に作成し、ステップSP
11において、補正基準画像を読み込み、これらの補正
基準画像と検査画像をステップSP19において、比較
処理するパターンマッチングを行う。
If the lot changes, a correction reference image is created for each measurement point, taking into account the change caused by the lot change to the reference image.
At 11, the correction reference image is read, and at step SP19, the correction reference image and the inspection image are subjected to pattern matching for comparison processing.

【0033】ロットが変わった場合の補正基準画像は、
ロットが変わった後の最初の5〜10個程度のワークW
を目視で検査して変わった所を把握し、その内容を測定
ポイント毎に基準画像に加味して手操作で作成すること
もできるし、図2に示す基準画像の作成(ステップSP
1〜ステップSP8)と同様にカメラ3でロット変更後
のワークWを測定ポイント毎に撮影して作成することも
できる。
When the lot changes, the correction reference image is
The first 5-10 pieces of work W after lot change
Can be visually inspected to find out what has changed, and the contents can be manually created by adding the details to the reference image for each measurement point, or the reference image shown in FIG. 2 (step SP
Similarly to step 1 to step SP8), the work W after the lot change can be photographed by the camera 3 for each measurement point and created.

【0034】ロットの途中で、金型が微小剥離したよう
な場合等、それ以後ワークWが不良品と判断されるが、
この場合、作業者が目視でOKと判断すれば、その時点
で補正基準画像を作成して登録する。この際、不良箇所
(画像の暗い所)を膨張処理(面積を大きくして)して
登録し、以後のワークWは、この補正基準画像を用いて
検査する。
In the case where the mold is slightly peeled off in the middle of the lot, the work W is judged to be defective after that.
In this case, if the operator visually determines that the image is OK, a correction reference image is created and registered at that time. At this time, a defective portion (a dark portion of the image) is subjected to expansion processing (enlarged area) and registered, and the subsequent work W is inspected using the corrected reference image.

【0035】また、金型が変わった場合(例えば、同じ
鋳造品を3つの金型で製造する場合)にも、基準画像に
金型が変わったことによる変更内容を加味した補正基準
画像を各測定ポイント毎に作成し、ステップSP11に
おいて、補正基準画像を読み込み、これらの補正基準画
像と検査画像をステップSP19において、比較処理す
るパターンマッチングを行う。
Also, when the mold changes (for example, when the same casting is manufactured by three molds), a correction reference image that takes into account the change due to the change in the mold is added to the reference image. A correction reference image is created for each measurement point, and a correction reference image is read in step SP11, and pattern correction for comparing the correction reference image and the inspection image is performed in step SP19.

【0036】金型が変わった場合の補正基準画像は、金
型が変わった後の最初の5〜10個程度のワークWを目
視で検査して変わった所を把握し、その内容を測定ポイ
ント毎に基準画像に加味して手操作で作成することもで
きるし、図2に示す基準画像の作成(ステップSP1〜
ステップSP8)と同様にカメラ3で金型変更後のワー
クWを測定ポイント毎に撮影して作成することもでき
る。
The correction reference image when the mold is changed is obtained by visually inspecting the first 5 to 10 workpieces W after the mold is changed, grasping the changed place, and measuring the contents at the measurement points. It can be created manually by adding to the reference image every time, or creation of the reference image shown in FIG.
Similarly to step SP8), the work W after the mold change by the camera 3 can be photographed and prepared for each measurement point.

【0037】更に、金型に肉盛りなどの補修を施した場
合にも、基準画像に金型に肉盛りなどの補修を施したこ
とによる変更内容を加味した補正基準画像を各測定ポイ
ント毎に作成し、ステップSP11において、補正基準
画像を読み込み、これらの補正基準画像と検査画像をス
テップSP19において、比較処理するパターンマッチ
ングを行う。
Further, even when the mold is repaired such as overlay, a correction reference image is added for each measurement point in consideration of the change caused by repairing the mold to the reference image. In step SP11, the correction reference image is read, and the correction reference image and the inspection image are subjected to pattern matching for comparison processing in step SP19.

【0038】金型補修をした場合の補正基準画像は、金
型補修後の最初の5〜10個程度のワークWを目視で検
査して変わった所を把握し、その内容を測定ポイント毎
に基準画像に加味して手操作で作成することもできる
し、図2に示す基準画像の作成(ステップSP1〜ステ
ップSP8)と同様にカメラ3で金型補修後のワークW
を測定ポイント毎に撮影して作成することもできる。
The correction reference image when the mold is repaired is obtained by visually inspecting the first 5 to 10 workpieces W after the mold repair, grasping the changed places, and recognizing the contents at each measurement point. The work W after the mold repair by the camera 3 can be created manually by adding the reference image to the reference image, similarly to the creation of the reference image (steps SP1 to SP8) shown in FIG.
Can be created by photographing for each measurement point.

【0039】そして、これらのパターンマッチングで
は、ステップSP19において、測定ポイント毎の補正
基準画像と検査画像について画素毎に明るさを比較し、
ある測定ポイントの検査画像において一定数以上の画素
に一定値以上の差があった場合、外観検査の対象となっ
たワークWに不良箇所が存在すると判断する。
In these pattern matchings, in step SP19, the brightness is compared for each pixel between the correction reference image and the inspection image for each measurement point, and
If there is a difference of a certain value or more in a certain number of pixels or more in an inspection image at a certain measurement point, it is determined that a defective portion exists in the workpiece W subjected to the appearance inspection.

【0040】次いで、ステップSP20において、ワー
クWの不良箇所を抽出し、更にステップSP21におい
て、抽出したワークWの不良箇所の座標を保存し、ワー
クWの不良箇所の座標を検査画像に重ね合わせて表示す
る。
Next, in step SP20, a defective portion of the work W is extracted, and in step SP21, the coordinates of the extracted defective portion of the work W are stored, and the coordinates of the defective portion of the work W are superimposed on the inspection image. indicate.

【0041】[0041]

【発明の効果】以上説明したように請求項1に係る発明
によれば、ロットが変わった場合、金型が変わった場
合、金型に肉盛りなどの補修を施した場合であっても、
基準画像に変更内容を加味した補正基準画像を作成し、
この補正基準画像と検査画像を比較処理するパターンマ
ッチングを行うので、不良箇所でない単なる形状差と不
良箇所とを明確に識別することが可能になるため、鋳造
品の外観検査を自動化することができ、作業効率の向上
が図れる。
As described above, according to the first aspect of the present invention, even if the lot is changed, the mold is changed, or if the mold is repaired such as overlay,
Create a corrected reference image that takes into account the changes to the reference image,
Since the pattern matching for comparing the corrected reference image and the inspection image is performed, it is possible to clearly identify a mere shape difference that is not a defective portion and a defective portion, so that it is possible to automate a visual inspection of a cast product. In addition, work efficiency can be improved.

【0042】請求項2に係る発明によれば、ショットブ
ラスト処理を行うことにより、鋳造後の離型剤やバリな
どの影響を除去して、パターンマッチングの負担を軽減
し、不良箇所でない単なる形状差と不良箇所とを明確に
識別することが可能になるため、鋳造品の外観検査を自
動化することができ、作業効率の向上が図れる。
According to the second aspect of the present invention, by performing the shot blasting process, the effects of the mold release agent and burrs after casting are removed, the burden of pattern matching is reduced, and the simple shape that is not a defective portion is obtained. Since the difference and the defective portion can be clearly distinguished, the appearance inspection of the cast product can be automated, and the working efficiency can be improved.

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

【図1】本発明に係る鋳造品の外観検査方法を使用する
外観検査装置の概要構成図で、(a)は正面図、(b)
は側面図
FIG. 1 is a schematic configuration diagram of an appearance inspection apparatus using a method for inspecting the appearance of a cast product according to the present invention, wherein (a) is a front view and (b).
Is a side view

【図2】基準画像作成のフローチャートFIG. 2 is a flowchart for creating a reference image.

【図3】本発明に係る鋳造品の外観検査方法のフローチ
ャート
FIG. 3 is a flowchart of a method for inspecting the appearance of a cast product according to the present invention.

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

1…治具、2…ロボット、3…カメラ、4…照明器具、
5…枠体。
1: Jig, 2: Robot, 3: Camera, 4: Lighting equipment,
5 ... frame.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 中村 康俊 熊本県菊池郡大津町平川1500 本田技研工 業株式会社熊本製作所内 (72)発明者 吉田 輝幸 熊本県菊池郡大津町平川1500 本田技研工 業株式会社熊本製作所内 Fターム(参考) 2G051 AA90 AB07 AC01 AC12 AC19 AC21 CA03 CB01 CB05 DA01 DA07 EA11 EA12 EB01 EB02 ED30 FA01 5B057 AA01 CA08 CA12 CA16 CB08 CB12 CB16 CE02 CE05 DB02 DB09 DC22 DC33 DC36 5L096 BA08 CA02 CA14 EA05 EA06 GA08 HA07 KA04 KA13 KA15 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Yasutoshi Nakamura 1500 Hirakawa, Otsu-cho, Kikuchi-gun, Kumamoto Prefecture Inside Kumamoto Works, Ltd. (72) Inventor Teruyuki Yoshida 1500 Hirakawa, Otsu-cho, Kikuchi-gun, Kumamoto Honda Motor F-term (reference) in Kumamoto Seisakusho Co., Ltd. HA07 KA04 KA13 KA15

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 良品の画像を複数取り込んでノイズ除去
処理を施して作成した基準画像と、検査対象品の画像を
取り込んでノイズ除去処理を施して作成した検査画像と
を比較処理して不良箇所を検出すると共に、ロットや金
型が変わった場合などには前記基準画像に対しロットや
金型毎の補正画像を加味した補正基準画像を作成し、こ
の補正基準画像と前記検査画像とを比較処理して不良箇
所を検出することを特徴とする鋳造品の外観検査方法。
1. A reference image created by taking a plurality of non-defective images and performing a noise removal process, and an inspection image created by taking an image of an inspection target product and performing a noise removal process and comparing the reference image with a defective image. In addition, when a lot or a mold is changed, a correction reference image is added to the reference image in consideration of a correction image for each lot or a mold, and the corrected reference image is compared with the inspection image. A method for inspecting the appearance of a cast product, comprising processing to detect a defective portion.
【請求項2】 良品及び検査対象品に対してショットブ
ラスト処理を行った後に、前記良品の画像を複数取り込
んでノイズ除去処理を施して作成した基準画像と、検査
対象品の画像を取り込んでノイズ除去処理を施して作成
した検査画像とを比較処理して不良箇所を検出すると共
に、ロットや金型が変わった場合などには前記基準画像
に対しロットや金型毎の補正画像を加味した補正基準画
像を作成し、この補正基準画像と前記検査画像とを比較
処理して不良箇所を検出することを特徴とする鋳造品の
外観検査方法。
2. After performing shot blast processing on a non-defective product and an inspection target product, a reference image created by capturing a plurality of non-defective product images and performing a noise removal process, and an image of the inspection target product are captured. In addition to detecting the defective portion by comparing the inspection image created by performing the removal process and detecting a defective portion, when the lot or the mold is changed, the correction is performed by adding the correction image for each lot or the mold to the reference image. A method for inspecting the appearance of a cast product, comprising: creating a reference image; and comparing the corrected reference image with the inspection image to detect a defective portion.
JP2000160090A 2000-05-30 2000-05-30 Visual inspection method for cast product Pending JP2001337044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000160090A JP2001337044A (en) 2000-05-30 2000-05-30 Visual inspection method for cast product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000160090A JP2001337044A (en) 2000-05-30 2000-05-30 Visual inspection method for cast product

Publications (1)

Publication Number Publication Date
JP2001337044A true JP2001337044A (en) 2001-12-07

Family

ID=18664337

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000160090A Pending JP2001337044A (en) 2000-05-30 2000-05-30 Visual inspection method for cast product

Country Status (1)

Country Link
JP (1) JP2001337044A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005216413A (en) * 2004-01-30 2005-08-11 Tdk Corp Inspection device and manufacturing apparatus
JP2005274157A (en) * 2004-03-22 2005-10-06 Olympus Corp Defective image inspection device and its method
TWI630070B (en) * 2016-06-15 2018-07-21 斯庫林集團股份有限公司 Appearance inspection apparatus, surface processing system, appearance inspection method, appearance inspection program and method for determining replacement of projecting material
CN110678740A (en) * 2017-05-26 2020-01-10 新东工业株式会社 Inspection device and casting system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06300710A (en) * 1993-04-19 1994-10-28 Nippon Steel Corp Optical flaw inspecting apparatus for steal plate
JPH07113625A (en) * 1993-10-18 1995-05-02 Daido Steel Co Ltd Device for inspecting inside peripheral face of cylindrical body
JPH07266234A (en) * 1994-03-28 1995-10-17 Matsushita Electric Works Ltd Method for controlling shotblasting device for deburring molding
JPH08233749A (en) * 1995-02-24 1996-09-13 Sony Corp Printed surface inspection apparatus
JPH09253838A (en) * 1996-03-19 1997-09-30 Hitachi Metals Ltd Method and equipment for controlling water spray
JPH10103938A (en) * 1996-09-26 1998-04-24 Hitachi Metals Ltd Method and apparatus for visual examination of cast product
JPH10274626A (en) * 1997-03-28 1998-10-13 Mitsubishi Electric Corp Image-processing apparatus
JP2000077502A (en) * 1998-08-27 2000-03-14 Ando Electric Co Ltd Device and method for inspecting electronic components

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06300710A (en) * 1993-04-19 1994-10-28 Nippon Steel Corp Optical flaw inspecting apparatus for steal plate
JPH07113625A (en) * 1993-10-18 1995-05-02 Daido Steel Co Ltd Device for inspecting inside peripheral face of cylindrical body
JPH07266234A (en) * 1994-03-28 1995-10-17 Matsushita Electric Works Ltd Method for controlling shotblasting device for deburring molding
JPH08233749A (en) * 1995-02-24 1996-09-13 Sony Corp Printed surface inspection apparatus
JPH09253838A (en) * 1996-03-19 1997-09-30 Hitachi Metals Ltd Method and equipment for controlling water spray
JPH10103938A (en) * 1996-09-26 1998-04-24 Hitachi Metals Ltd Method and apparatus for visual examination of cast product
JPH10274626A (en) * 1997-03-28 1998-10-13 Mitsubishi Electric Corp Image-processing apparatus
JP2000077502A (en) * 1998-08-27 2000-03-14 Ando Electric Co Ltd Device and method for inspecting electronic components

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005216413A (en) * 2004-01-30 2005-08-11 Tdk Corp Inspection device and manufacturing apparatus
JP2005274157A (en) * 2004-03-22 2005-10-06 Olympus Corp Defective image inspection device and its method
JP4608224B2 (en) * 2004-03-22 2011-01-12 オリンパス株式会社 Defect image inspection apparatus and method
TWI630070B (en) * 2016-06-15 2018-07-21 斯庫林集團股份有限公司 Appearance inspection apparatus, surface processing system, appearance inspection method, appearance inspection program and method for determining replacement of projecting material
CN110678740A (en) * 2017-05-26 2020-01-10 新东工业株式会社 Inspection device and casting system
JPWO2018216495A1 (en) * 2017-05-26 2020-03-26 新東工業株式会社 Inspection equipment and casting system

Similar Documents

Publication Publication Date Title
TWI598581B (en) Inspection apparatus and inspection method
JP6734253B2 (en) Imaging device including a visual sensor for imaging a workpiece
JP2003240521A (en) Method and apparatus for inspection of external appearance and shape of specimen
TWI631316B (en) Inspecting device and inspecting method
JP6936995B2 (en) Appearance inspection device for three-dimensional objects
CN113146172A (en) Multi-vision-based detection and assembly system and method
CN113129304A (en) Part detection method based on machine vision
CN111833350B (en) Machine vision detection method and system
JP2011174896A (en) Imaging apparatus and method
JP2001337044A (en) Visual inspection method for cast product
WO2021033396A1 (en) Wafer appearance inspection device and method
JP2002207011A (en) Apparatus for visual examination of work
CN116137893A (en) Inspection device, inspection method, and method for manufacturing piston
EP3650129A1 (en) System and method for automatically sorting ceramic balls
JP2938953B2 (en) Surface defect inspection equipment
WO2021039019A1 (en) Wafer appearance inspection device and method
WO2023119882A1 (en) Wafer external appearance inspecting device
JP7458733B2 (en) Image processing method, image processing device, robot system, article manufacturing method using robot system, inspection method, control program, and recording medium
CN117392129B (en) Diesel engine gluing detection method and device based on 2D machine vision
US11635346B1 (en) Bearing element inspection system and method
WO2023238199A1 (en) Control device for robot device that acquires three-dimensional position information, and robot device
TWI681487B (en) System for obtaining image of 3d shape
WO2022131279A1 (en) Appearance inspection device and appearance inspection method
KR20210117032A (en) Method of inspecting a defect on a testing object
TW202212810A (en) Automatic image capturing method and apparatus for object

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061204

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090311

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090630

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090824

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091020

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091124

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100105

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100208

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100309