JPH1049677A - Package recognizing method for automatic sealing device - Google Patents

Package recognizing method for automatic sealing device

Info

Publication number
JPH1049677A
JPH1049677A JP8208189A JP20818996A JPH1049677A JP H1049677 A JPH1049677 A JP H1049677A JP 8208189 A JP8208189 A JP 8208189A JP 20818996 A JP20818996 A JP 20818996A JP H1049677 A JPH1049677 A JP H1049677A
Authority
JP
Japan
Prior art keywords
package
seal ring
lid
recognition
size
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
JP8208189A
Other languages
Japanese (ja)
Other versions
JP3511437B2 (en
Inventor
Tadahiro Iwatsuki
忠宏 岩月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Avionics Co Ltd
Original Assignee
Nippon Avionics 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 Nippon Avionics Co Ltd filed Critical Nippon Avionics Co Ltd
Priority to JP20818996A priority Critical patent/JP3511437B2/en
Publication of JPH1049677A publication Critical patent/JPH1049677A/en
Application granted granted Critical
Publication of JP3511437B2 publication Critical patent/JP3511437B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To appropriately judge whether a package is normal or not at the time of image recognition by calculating and comparing the rate of straight-line parts of outline data on the package with a criterion, and deciding whether the package is normal. SOLUTION: An image recognizing device 2 calculates the tilt and the center of gravity of an extracted seal ring in a horizontal plane from the outline data on the seal ring. The respective sides of the seal ring are determined by a method of least square from data which are present within a certain range roughly centering on the sides. Then, the image recognizing device 2 finds the rates of straight line parts of the outline data by the determined sides. Then the image recognizing device 2 compares the calculated rates of the straight line parts with the criterion inputted previously from a keyboard 9 to judge whether the package is normal or not. At this time, when a straight-line part is smaller than the criterion, it is decided that the package is a defective. Then this defective is automatically taken out by a carrying mechanism 4.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、IC、トランジス
タ、水晶振動子等の回路素子の容器(パッケージ)に蓋
(リッド)を自動的に溶接する自動シーリング装置に関
し、特にパッケージとリッドの位置を合わせるために画
像認識を利用したパッケージ認識方法に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic sealing device for automatically welding a lid (lid) to a container (package) of a circuit element such as an IC, a transistor, a crystal unit, etc. The present invention relates to a package recognition method using image recognition for matching.

【0002】[0002]

【従来の技術】IC、トランジスタ、水晶振動子等の回
路素子の封止作業は、パッケージにこれらの回路素子を
収納して、配線や試験調整作業を行った後の最終製造工
程として行われる。封止方法としては、樹脂封止、気密
封止などがある。気密封止法は、金属又はセラミックス
のパッケージの中に素子を収納固定し、乾燥した不活性
ガス雰囲気中で蓋(リッド)をかぶせて素子を完全に密
封する方法である。この気密封止法によれば、水分など
の不純物の侵入がなく、また素子と封止材料は直接接触
しないので、熱応力の影響も少なく樹脂封止に比べて高
い封止信頼性を得ることができる。
2. Description of the Related Art Sealing of circuit elements such as ICs, transistors, and crystal units is performed as a final manufacturing process after these circuit elements are housed in a package and wiring and test adjustment operations are performed. Examples of the sealing method include resin sealing and airtight sealing. The hermetic sealing method is a method in which an element is housed and fixed in a metal or ceramic package, and a lid is placed in a dry inert gas atmosphere to completely seal the element. According to this hermetic sealing method, since there is no intrusion of impurities such as moisture and the element does not come into direct contact with the sealing material, the effect of thermal stress is small and high sealing reliability can be obtained as compared with resin sealing. Can be.

【0003】この気密封止法のひとつであるマイクロパ
ラレルシーム接合法を用いて、パッケージにリッドを自
動的に溶接する自動シーリング装置がある。図8は従来
の自動シーリング装置によるシーリング作業を説明する
ための図である。図8(a)に示すように、パッケージ
30の封止部分(素子が収納されている部分)の周囲に
は、予め金メッキされたコバール材からなるシールリン
グ31がろう接されている。そして、図示しない画像認
識装置によって画像を取り込んでシールリング31の位
置を算出し、金属板(通常はニッケルメッキされたコバ
ール材)からなるリッド32とシールリング31の位置
決めを行う(図8(b))。
There is an automatic sealing device that automatically welds a lid to a package by using a micro parallel seam joining method, which is one of the hermetic sealing methods. FIG. 8 is a view for explaining a sealing operation by a conventional automatic sealing device. As shown in FIG. 8A, a seal ring 31 made of a pre-gold plated Kovar material is soldered around a sealing portion (a portion in which the element is stored) of the package 30. Then, an image is captured by an image recognition device (not shown), the position of the seal ring 31 is calculated, and the lid 32 made of a metal plate (usually a nickel-plated Kovar material) and the seal ring 31 are positioned (FIG. 8B )).

【0004】続いて、リッド32の対向するエッジ部に
一対のローラー電極33を当て、適当な加圧力を与え
る。この状態で電極間に電流を流すと、接触部分(電極
33とリッド32)がジュール熱により発熱し、その熱
がリッド32とシールリング31の接触部分に伝わるこ
とにより、リッド32とシールリング31のメッキ層同
士が溶融接合する。さらに、電流を流しながら、リッド
32のエッジに沿ってローラー電極33を転がすことに
より、リッド32の対向する辺を同時にシーム接合する
ことができる。通常、パッケージは矩形なので、図8
(c)のようにX辺を接合した後に、図8(d)のよう
にY辺の接合を同様に行う。こうして、パッケージにリ
ッドを溶接することができる。
Subsequently, a pair of roller electrodes 33 is applied to the opposing edges of the lid 32 to apply an appropriate pressing force. When a current flows between the electrodes in this state, the contact portion (the electrode 33 and the lid 32) generates heat due to Joule heat, and the heat is transmitted to the contact portion between the lid 32 and the seal ring 31, so that the lid 32 and the seal ring 31 Are melt-bonded to each other. Furthermore, by rolling the roller electrode 33 along the edge of the lid 32 while applying a current, the opposite sides of the lid 32 can be seam-bonded at the same time. Since the package is usually rectangular,
After joining the X sides as shown in FIG. 8C, the joining of the Y sides is similarly performed as shown in FIG. Thus, the lid can be welded to the package.

【0005】ところで、このような自動シーリング装置
では、シールリング31の画像を取り込んで位置を算出
する画像認識を用いて、シールリング31とリッド32
の位置決めを行っている。このとき、パッケージを搬送
するトレーにパッケージが載っていない場合やパッケー
ジが不良な場合は、溶接を実施してはならない。しか
し、パッケージを不良品と判定するのは、外乱(装置自
体の振動や外部からの光の影響)等によって認識不良が
発生した場合、あるいは抽出したシールリングの輪郭が
不連続な場合(シールリングを横切る傷等によって輪郭
が途切れる場合)である。シールリングに傷や汚れがあ
ると、抽出した輪郭にうねりが生じるが、輪郭が不連続
とならない限り、パッケージを不良品と判断することは
なかった。
By the way, in such an automatic sealing apparatus, the seal ring 31 and the lid 32 are used by using image recognition for taking in the image of the seal ring 31 and calculating the position.
Is positioned. At this time, if no package is placed on the tray for transporting the package, or if the package is defective, welding must not be performed. However, the package is determined to be defective when recognition failure occurs due to disturbance (effect of vibration of the apparatus itself or influence of external light) or when the contour of the extracted seal ring is discontinuous (sealing ring). (When the contour is interrupted by a scratch or the like crossing). If the seal ring has scratches or dirt, the extracted contour will undulate, but the package will not be determined to be defective unless the contour is discontinuous.

【0006】また、上記トレーにはパッケージの外形と
同様な形状の窪みが設けられており、この窪みにパッケ
ージが収められるようになっているので、これをパッケ
ージと誤認識してしまい、良品と判定してしまうことが
あった。また、認識対象とするのは、通常シールリング
の外側の輪郭であるが、上述した外乱やパッケージの形
状等により、画像認識が安定しない場合があり、このよ
うな場合には、シールリングの内側を認識対象とするよ
うにソフトウェアを改造していた。
Further, the above-mentioned tray is provided with a recess having a shape similar to the outer shape of the package, and the package is accommodated in the recess. Sometimes it was judged. Also, the recognition target is usually the outer contour of the seal ring, but image recognition may not be stable due to the above-described disturbance and the shape of the package. The software was modified so that it could be recognized.

【0007】[0007]

【発明が解決しようとする課題】以上のように従来の自
動シーリング装置では、パッケージの良品、不良品判定
を行うための設定可能なしきい値が存在しないため、パ
ッケージの品種や撮像条件等に合わせて適切な判定が行
われるようにしきい値を調整することができず、不適切
な判定や誤認識が発生してしまうという問題点があっ
た。また、パッケージの外側の輪郭を認識対象とするか
内側の輪郭を認識対象とするかを切り換えるためには、
ソフトウェアの専門家が改造しなければならず、いった
ん設定してしまうと、パッケージの全品種がどちらかの
計測になってしまうという問題点があった。本発明は、
上記課題を解決するためになされたもので、画像認識の
際に適切な良品、不良品判定を行うことができるパッケ
ージ認識方法を提供することを第1の目的とする。ま
た、認識対象となるパッケージの輪郭を容易に切り換え
ることができるパッケージ認識方法を提供することを第
2の目的とする。
As described above, in the conventional automatic sealing apparatus, since there is no settable threshold value for judging a non-defective product or a defective product, there is no set threshold value. Therefore, the threshold value cannot be adjusted so that an appropriate determination is made, and an inappropriate determination or erroneous recognition occurs. Further, in order to switch between the recognition of the outer contour of the package and the recognition of the inner contour,
A software expert had to modify it, and once set, there was the problem that all types of packages would be measured either way. The present invention
A first object of the present invention is to provide a method for recognizing a package capable of appropriately determining whether a product is good or bad during image recognition. It is a second object of the present invention to provide a package recognition method capable of easily switching the outline of a package to be recognized.

【0008】[0008]

【課題を解決するための手段】本発明は、請求項1に記
載のように、パッケージをカメラで撮像して、撮像した
パッケージの濃淡画像からパッケージの輪郭データを抽
出し、この輪郭データからパッケージの各辺の長さを求
め、輪郭データから各辺における直線部分を抽出して、
求めた辺の長さに対する直線部分の割合を辺ごとに算出
し、算出した直線部分の割合を判定基準値と比較して、
パッケージが良品かどうかを判定するようにしたもので
ある。このようにパッケージの輪郭データにおける直線
部分の割合を辺ごとに算出して、これを判定基準値と比
較することにより、パッケージが良品かどうかを判定す
ることができる。
According to the present invention, a package is imaged with a camera, and package outline data is extracted from a captured grayscale image of the package. The length of each side of is obtained, and the straight line portion on each side is extracted from the contour data,
The ratio of the straight line portion to the determined side length is calculated for each side, and the calculated ratio of the straight line portion is compared with the determination reference value.
In this case, it is determined whether the package is non-defective. In this way, by calculating the ratio of the straight line portion in the outline data of the package for each side and comparing the calculated ratio with the determination reference value, it is possible to determine whether the package is non-defective.

【0009】また、請求項2に記載のように、リッドの
大きさを示すリッドサイズと認識対象となるパッケージ
の輪郭を選択するための認識サイズをあらかじめ設定
し、パッケージをカメラで撮像し、撮像したパッケージ
の濃淡画像からパッケージの輪郭データを抽出する際
に、設定されたリッドサイズと認識サイズを比較して、
この比較結果に基づきパッケージの外側の輪郭データを
抽出するか内側の輪郭データを抽出するかを決定するよ
うにしたものである。このようにリッドサイズと認識サ
イズを設定することで、パッケージの外側の輪郭を認識
対象とするか内側の輪郭を認識対象とするかを切り換え
ることができる。
According to a second aspect of the present invention, a lid size indicating the size of the lid and a recognition size for selecting an outline of a package to be recognized are set in advance, and the package is imaged with a camera. When extracting package outline data from the shaded image of the package, compare the set lid size with the recognition size,
Based on the result of the comparison, it is determined whether to extract the outer contour data or the inner contour data of the package. By setting the lid size and the recognition size in this way, it is possible to switch between the outer contour of the package and the inner contour as the recognition target.

【0010】[0010]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態の1.図1は本発明の第1の実施の形態を示
すパッケージ認識方法を説明するためのフローチャート
図、図2はこのパッケージ認識方法で用いる自動シーリ
ング装置のブロック図である。図2において、搬送機構
部4は、パッケージを載せたトレーを治具テーブル3に
搬送すると共に、リッドをパッケージの真上に搬送す
る。接合ヘッド移動機構5は、図示しない接合ヘッドを
パッケージ上に下降させ、溶接電源6は、接合ヘッドの
ローラー電極に電流を供給する。そして、シーケンサ7
は、治具テーブル3、搬送機構4、接合ヘッド移動機構
5、溶接電源6を制御し、ホストコンピュータ8は、自
動シーリング装置全体を制御する。
1. Embodiment 1. FIG. 1 is a flowchart for explaining a package recognition method according to a first embodiment of the present invention, and FIG. 2 is a block diagram of an automatic sealing device used in the package recognition method. In FIG. 2, the transport mechanism unit 4 transports the tray on which the package is placed to the jig table 3 and transports the lid directly above the package. The joining head moving mechanism 5 lowers the joining head (not shown) onto the package, and the welding power source 6 supplies a current to the roller electrodes of the joining head. And sequencer 7
Controls the jig table 3, the transport mechanism 4, the joining head moving mechanism 5, and the welding power source 6, and the host computer 8 controls the entire automatic sealing device.

【0011】次に、このような自動シーリング装置にお
けるパッケージ認識方法について図1を参照して説明す
る。まず、搬送機構4は、パッケージを載せたトレーを
治具テーブル3に搬送し、カメラ1は、治具テーブル3
上のパッケージを上から撮像する(図1ステップ10
1)。画像認識装置2は、カメラ1によって撮像された
濃淡画像をディジタル化した後に2値化する。そして、
予め設定されたシールリングの外形サイズを示すシール
リングサイズにより、不適当な大きさのデータを削除し
て、シールリングの輪郭を抽出する(ステップ10
2)。
Next, a package recognition method in such an automatic sealing device will be described with reference to FIG. First, the transport mechanism 4 transports the tray on which the package is placed to the jig table 3, and the camera 1
The upper package is imaged from above (step 10 in FIG. 1).
1). The image recognition device 2 digitizes the grayscale image captured by the camera 1 and then binarizes the grayscale image. And
The contour of the seal ring is extracted by deleting data of inappropriate size according to the seal ring size indicating the outer size of the seal ring set in advance (step 10).
2).

【0012】続いて、画像認識装置2は、抽出したシー
ルリングの輪郭データより、シールリングの水平面内の
傾きと重心を算出する(ステップ103)。図3はシー
ルリングの傾きの算出方法を説明するための図であり、
図中の白丸が抽出された輪郭データ(ドット)である。
シールリングのθ方向の傾きは、以下のようにして求め
る。
Subsequently, the image recognition device 2 calculates the inclination and the center of gravity of the seal ring in the horizontal plane from the extracted contour data of the seal ring (step 103). FIG. 3 is a diagram for explaining a method of calculating the inclination of the seal ring.
White circles in the figure are extracted outline data (dots).
The inclination of the seal ring in the θ direction is obtained as follows.

【0013】まず、輪郭データ間をつなぐ各線分の傾き
の頻度を図4のようにとる。頻度が大きい4つの領域
は、図3に示すシールリングの辺A〜Dにそれぞれ相当
するものであるから、図4において頻度が大きい各領域
の傾きの平均値をそれぞれ求めることで、各辺の位置の
おおよその見当をつける。
First, the frequency of inclination of each line connecting the contour data is obtained as shown in FIG. Since the four regions with high frequency correspond to the sides A to D of the seal ring shown in FIG. 3, respectively, the average value of the inclination of each region with high frequency in FIG. Get a rough idea of the location.

【0014】次いで、このおおよその辺を中心とする一
定の範囲α内に存在するデータから最小2乗法によって
シールリングの各辺A〜Dを確定する。これで、シール
リングのXY平面内の傾きが得られる。また、シールリ
ングの重心Oは、この確定した各辺A〜Dから得られ
る。こうして、シールリングの位置を決定することがで
きる。
Next, the sides A to D of the seal ring are determined by the least squares method from data existing within a certain range α centered on the approximate side. Thus, the inclination of the seal ring in the XY plane is obtained. Further, the center of gravity O of the seal ring is obtained from the determined sides A to D. Thus, the position of the seal ring can be determined.

【0015】次に、画像認識装置2は、輪郭データにお
ける直線部分の割合を確定した辺A〜Dごとに求める
(ステップ104)。図5はこの直線部分の割合の算出
方法を説明するための図である。なお、図5(b)では
シールリングの1辺Aのみを拡大している。まず、画像
認識装置2は、曲線状の角部を含む全長を辺A〜Dごと
に求め、これらをそれぞれLA、LB、LC、LDとす
る(図5(a))。
Next, the image recognition device 2 obtains the ratio of the straight line portion in the contour data for each of the determined sides A to D (step 104). FIG. 5 is a diagram for explaining a method of calculating the ratio of the straight line portion. In FIG. 5B, only one side A of the seal ring is enlarged. First, the image recognition device 2 calculates the total length including the curved corners for each of the sides A to D, and sets them as LA, LB, LC, and LD, respectively (FIG. 5A).

【0016】続いて、図5(b)のように、辺Aを中心
として幅方向に一定の範囲βを設定する。角部を含む辺
Aにおける直線部分とは、この範囲β内に所定の長さ
(例えば、3ドット)以上連続して存在するデータによ
って構成される部分である。したがって、図5(b)の
Eの部分は直線部分に含まれない。こうして、この直線
部分の長さJAが得られる。そして、辺Aの全長LAに
対する直線部分の長さJAの割合(JA/LA)を算出
する。以上のような算出が辺A〜Dごとに行われる。
Subsequently, as shown in FIG. 5B, a fixed range β is set in the width direction with the side A as a center. The straight line portion on the side A including the corner portion is a portion constituted by data continuously existing for a predetermined length (for example, 3 dots) or more within this range β. Therefore, the portion E in FIG. 5B is not included in the straight line portion. Thus, the length JA of the straight line portion is obtained. Then, the ratio (JA / LA) of the length JA of the linear portion to the total length LA of the side A is calculated. The above calculation is performed for each of the sides A to D.

【0017】次いで、画像認識装置2は、あらかじめキ
ーボード9から入力された判定基準値と算出した直線部
分の割合とを比較して、パッケージが良品かどうかを判
定する(ステップ105)。このとき、直線部分の割合
が判定基準値より小さい場合は不良品と判定する。そし
て、この不良品は搬送機構4によって自動的に取り出さ
れる(ステップ106)。
Next, the image recognition device 2 determines whether the package is non-defective by comparing the determination reference value input from the keyboard 9 in advance with the calculated ratio of the linear portion (step 105). At this time, if the ratio of the linear portion is smaller than the determination reference value, it is determined to be defective. Then, the defective product is automatically taken out by the transport mechanism 4 (step 106).

【0018】また、直線部分の割合が判定基準値以上で
良品と判定されると、決定されたシールリング位置に基
づくシーケンサ7の制御により、治具テーブル3がX、
Y方向に移動すると共にθ方向に回転して、シールリン
グとリッドの位置を合わせる(ステップ107)。そし
て、接合ヘッド移動機構5がパッケージの上に接合ヘッ
ドを下降させ、溶接電源6が接合ヘッドのローラー電極
に電流を供給することにより、パッケージにリッドが溶
接される(ステップ108)。
If the ratio of the linear portion is determined to be non-defective when the ratio is equal to or greater than the determination reference value, the jig table 3 is controlled by the sequencer 7 based on the determined seal ring position.
It moves in the Y direction and rotates in the θ direction to adjust the positions of the seal ring and the lid (step 107). Then, the joining head moving mechanism 5 lowers the joining head onto the package, and the welding power source 6 supplies a current to the roller electrodes of the joining head, whereby the lid is welded to the package (Step 108).

【0019】以上のように本実施の形態では、算出した
直線部分の割合を判定基準値と比較して、パッケージが
良品かどうかを判定するので、調整可能な判定基準値に
適当な値(上記割合に関する所望の値)を設定しておく
ことにより、パッケージの品種や撮像条件等に応じた適
切な判定を行うことができる。また、シールリングの傷
や汚れによって生じた輪郭のうねりは直線部分から除外
され、これにより直線部分の割合が判定基準値を下回る
ので、輪郭に連続性があっても、シールリングの傷や汚
れを不良として検出することができる。
As described above, in this embodiment, the ratio of the calculated straight line portion is compared with the judgment reference value to judge whether the package is non-defective or not. By setting a desired value for the ratio), it is possible to make an appropriate determination according to the type of package, imaging conditions, and the like. In addition, the undulation of the contour caused by the scratch or dirt on the seal ring is excluded from the straight line portion, and the ratio of the straight line portion is below the determination reference value. Can be detected as defective.

【0020】また、図6に示すように、パッケージを載
せるトレー22の窪み23は、シールリング21と同様
の形状をしているが、パッケージを取り出すための逃げ
24によって、上記直線部分の割合がパッケージよりも
低くなる。したがって、上記判定基準値を適切に設定す
ることによって、トレーの窪み23をパッケージと誤認
識することがなくなる。
As shown in FIG. 6, the recess 23 of the tray 22 on which the package is placed has the same shape as the seal ring 21. However, the recess 24 for taking out the package reduces the proportion of the linear portion. Lower than the package. Therefore, by properly setting the determination reference value, the depression 23 of the tray is not erroneously recognized as a package.

【0021】実施の形態の2.本実施の形態において
も、自動シーリング装置の構成は図2と同じであり、パ
ッケージ認識方法も図1とほぼ同様である。実施の形態
の1では、シールリングの外側の輪郭あるいは内側の輪
郭だけを常に抽出していたが、本実施の形態では、外側
の輪郭又は内側の輪郭のどちらを抽出するかを自動的に
切り換える。
Embodiment 2 Also in the present embodiment, the configuration of the automatic sealing device is the same as in FIG. 2, and the package recognition method is almost the same as in FIG. In the first embodiment, only the outer contour or the inner contour of the seal ring is always extracted, but in the present embodiment, it is automatically switched whether to extract the outer contour or the inner contour. .

【0022】この切り換えのために、自動シーリング装
置を使用する作業者は、キーボード9を操作してリッド
の縦、横(X、Y)の大きさを示すリッドサイズ、及び
認識サイズを入力する。作業者は、シールリングの外側
の輪郭を用いた画像認識で問題ない場合、シールリング
の外側の輪郭の縦、横の大きさを認識サイズとして設定
する。
For this switching, an operator who uses the automatic sealing device operates the keyboard 9 to input a lid size indicating the length and width (X, Y) of the lid and a recognition size. If there is no problem in image recognition using the outer contour of the seal ring, the operator sets the vertical and horizontal sizes of the outer contour of the seal ring as the recognition size.

【0023】また、シールリングの外側の輪郭を用いた
ときにパッケージの認識が安定しない場合には、シール
リングの内側の輪郭の縦、横の大きさを認識サイズとし
て設定する。これにより、図1のステップ102におい
て、画像認識装置2は、入力されたリッドサイズと認識
サイズを比較し、認識サイズがリッドサイズ以上の場
合、シールリングの外側の輪郭を抽出し、認識サイズが
リッドサイズより小さい場合、シールリングの内側の輪
郭を抽出する。
If the recognition of the package is not stable when the outer contour of the seal ring is used, the vertical and horizontal sizes of the inner contour of the seal ring are set as the recognition size. Accordingly, in step 102 of FIG. 1, the image recognition device 2 compares the input lid size with the recognition size, and if the recognition size is equal to or larger than the lid size, extracts the outer contour of the seal ring, and If it is smaller than the lid size, the contour inside the seal ring is extracted.

【0024】溶接性の関係から、リッドは、シールリン
グの外形サイズより小さく、かつ内形サイズより大き
い。よって、リッドサイズと認識サイズを上記のように
設定することにより、シールリングの内側と外側のどち
らを認識対象とするかを自動的に切り換えることができ
る。なお、ステップ102において、シールリングの輪
郭の識別は以下のようにして行われる。図7はシールリ
ングの輪郭を識別する方法を説明するための図である。
なお、画像データはドットの集まりであるが、ここでは
線として表示する。
From the viewpoint of weldability, the lid is smaller than the outer size of the seal ring and larger than the inner size. Therefore, by setting the lid size and the recognition size as described above, it is possible to automatically switch which of the inside and the outside of the seal ring is to be recognized. In step 102, the contour of the seal ring is identified as follows. FIG. 7 is a diagram for explaining a method of identifying the contour of the seal ring.
Although the image data is a group of dots, it is displayed here as a line.

【0025】パッケージを撮像すると、シールリング2
5の部分は輝度レベルが高く、その内側及び周囲は輝度
レベルが低い。これにより、図7に示す2値画像データ
において、矢印の方向に走査すると、画像データのレベ
ルは「暗」→「明」→「暗」と変化する。したがって、
画像データが「暗」→「明」に変化したときがシールリ
ングの内側の輪郭であり、続いて「明」→「暗」に変化
したときがシールリングの外側の輪郭である。こうし
て、画像認識装置2は、シールリングの外側の輪郭ある
いは内側の輪郭を選択することができる。なお、ステッ
プ103以後の動作は実施の形態の1と同様である。
When the package is imaged, the seal ring 2
The portion 5 has a high brightness level, and the inside and surroundings have a low brightness level. Accordingly, when the binary image data shown in FIG. 7 is scanned in the direction of the arrow, the level of the image data changes from “dark” to “bright” to “dark”. Therefore,
When the image data changes from “dark” to “bright”, the contour on the inside of the seal ring is obtained, and when the image data changes from “bright” to “dark”, the contour on the outside of the seal ring is obtained. Thus, the image recognition device 2 can select the outer contour or the inner contour of the seal ring. The operation after step 103 is the same as in the first embodiment.

【0026】[0026]

【発明の効果】本発明によれば、パッケージの輪郭デー
タにおける直線部分の割合を算出し、これを判定基準値
と比較してパッケージが良品かどうかを判定するので、
判定基準値に適当な値を設定することにより、パッケー
ジの品種や撮像条件などに応じた適切な判定を行うこと
ができ、トレーをパッケージと誤認識することがなくな
る。また、シールリングの傷や汚れによって生じた輪郭
のうねりは直線部分から除かれるので、輪郭に連続性が
あっても、これらを不良品として検出することができ
る。
According to the present invention, the ratio of the straight line portion in the contour data of the package is calculated and compared with the judgment reference value to judge whether the package is non-defective.
By setting an appropriate value for the determination reference value, it is possible to make an appropriate determination according to the type of package, imaging conditions, and the like, and the tray is not erroneously recognized as a package. In addition, since the undulation of the contour caused by the flaw or dirt on the seal ring is removed from the linear portion, even if the contour has continuity, it can be detected as a defective product.

【0027】また、リッドサイズと認識サイズを設定す
ることにより、パッケージの外側の輪郭を認識対象とす
るか内側の輪郭を認識対象とするかを容易に切り換える
ことができるので、パッケージの品種や撮像条件等に応
じた切り換えを行うことができ、認識対象がパッケージ
の外側あるいは内側の輪郭に固定されることがなくな
る。
Further, by setting the lid size and the recognition size, it is possible to easily switch between the recognition of the outer contour of the package and the recognition of the inner contour thereof. Switching according to conditions and the like can be performed, and the recognition target is not fixed to the outer or inner contour of the package.

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

【図1】 本発明の第1の実施の形態を示すパッケージ
認識方法を説明するためのフローチャート図である。
FIG. 1 is a flowchart for explaining a package recognition method according to a first embodiment of the present invention.

【図2】 本発明のパッケージ認識方法で用いる自動シ
ーリング装置のブロック図である。
FIG. 2 is a block diagram of an automatic sealing device used in the package recognition method of the present invention.

【図3】 シールリングの傾きの算出方法を説明するた
めの図である。
FIG. 3 is a diagram for explaining a method of calculating the inclination of a seal ring.

【図4】 シールリングの傾きの頻度分布を示す図であ
る。
FIG. 4 is a diagram showing a frequency distribution of inclination of a seal ring.

【図5】 シールリングの直線部分の割合の算出方法を
説明するための図である。
FIG. 5 is a diagram for explaining a method of calculating a ratio of a linear portion of a seal ring.

【図6】 トレーに収納されたパッケージの様子を示す
平面図である。
FIG. 6 is a plan view showing a state of a package stored in a tray.

【図7】 シールリングの輪郭を識別する方法を説明す
るための図である。
FIG. 7 is a diagram for explaining a method of identifying a contour of a seal ring.

【図8】 従来の自動シーリング装置によるシーリング
作業を説明するための図である。
FIG. 8 is a view for explaining a sealing operation by a conventional automatic sealing device.

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

1…カメラ、2…画像認識装置、3…治具テーブル、4
…搬送機構、5…接合ヘッド移動機構、6…溶接電源、
7…シーケンサ、8…ホストコンピュータ、9…キーボ
ード。
DESCRIPTION OF SYMBOLS 1 ... Camera, 2 ... Image recognition device, 3 ... Jig table, 4
... conveying mechanism, 5 ... joint head moving mechanism, 6 ... welding power supply,
7 ... sequencer, 8 ... host computer, 9 ... keyboard.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 回路素子を収納した多角形状のパッケー
ジとその蓋となるリッドの位置を合わせるために、画像
認識を利用する自動シーリング装置におけるパッケージ
認識方法において、 前記パッケージをカメラで撮像して、撮像したパッケー
ジの濃淡画像からパッケージの輪郭データを抽出し、 この輪郭データからパッケージの各辺の長さを求め、 前記輪郭データから各辺における直線部分を抽出して、
求めた辺の長さに対する直線部分の割合を辺ごとに算出
し、 算出した直線部分の割合を判定基準値と比較して、パッ
ケージが良品かどうかを判定することを特徴とする自動
シーリング装置におけるパッケージ認識方法。
1. A package recognition method in an automatic sealing device using image recognition for aligning a polygonal package containing circuit elements with a lid serving as a lid of the package. Extracting the contour data of the package from the captured grayscale image of the package, determining the length of each side of the package from the contour data, extracting a straight line portion on each side from the contour data,
The automatic sealing device is characterized in that the ratio of the straight line portion to the determined side length is calculated for each side, and the calculated ratio of the straight line portion is compared with a determination reference value to determine whether the package is non-defective. Package recognition method.
【請求項2】 回路素子を収納した多角形状のパッケー
ジとその蓋となるリッドの位置を合わせるために、画像
認識を利用する自動シーリング装置におけるパッケージ
認識方法において、 前記リッドの大きさを示すリッドサイズと認識対象とな
るパッケージの輪郭を選択するための認識サイズをあら
かじめ設定し、 前記パッケージをカメラで撮像し、撮像したパッケージ
の濃淡画像からパッケージの輪郭データを抽出する際
に、設定されたリッドサイズと認識サイズを比較して、
この比較結果に基づきパッケージの外側の輪郭データを
抽出するか内側の輪郭データを抽出するかを決定するこ
とを特徴とする自動シーリング装置におけるパッケージ
認識方法。
2. A method for recognizing a package in an automatic sealing device using image recognition for aligning a polygonal package accommodating a circuit element and a lid serving as a lid thereof, wherein the lid size indicates the size of the lid. And a recognition size for selecting a contour of a package to be recognized is set in advance, and the package is taken by a camera, and when the contour data of the package is extracted from a captured grayscale image of the package, a set lid size is set. And the recognition size,
A method for recognizing a package in an automatic sealing device, comprising determining whether to extract outline data outside or inside of a package based on a result of the comparison.
JP20818996A 1996-08-07 1996-08-07 Package recognition method in automatic sealing device Expired - Lifetime JP3511437B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20818996A JP3511437B2 (en) 1996-08-07 1996-08-07 Package recognition method in automatic sealing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20818996A JP3511437B2 (en) 1996-08-07 1996-08-07 Package recognition method in automatic sealing device

Publications (2)

Publication Number Publication Date
JPH1049677A true JPH1049677A (en) 1998-02-20
JP3511437B2 JP3511437B2 (en) 2004-03-29

Family

ID=16552146

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20818996A Expired - Lifetime JP3511437B2 (en) 1996-08-07 1996-08-07 Package recognition method in automatic sealing device

Country Status (1)

Country Link
JP (1) JP3511437B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003097926A (en) * 2001-09-27 2003-04-03 Nec Corp Method for inspecting ic appearance
JP2003139519A (en) * 2001-11-05 2003-05-14 Nec Corp Electronic component inspection device and program
JP2004509346A (en) * 2000-09-22 2004-03-25 ベルス・メステヒニーク・ゲーエムベーハー A method for measuring a geometric shape of a measurement object by a coordinate measuring device.
US6717087B1 (en) 1999-07-08 2004-04-06 Bayer Bitterfeld Gmbh Monitoring device for the sealing web width

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6717087B1 (en) 1999-07-08 2004-04-06 Bayer Bitterfeld Gmbh Monitoring device for the sealing web width
JP2004509346A (en) * 2000-09-22 2004-03-25 ベルス・メステヒニーク・ゲーエムベーハー A method for measuring a geometric shape of a measurement object by a coordinate measuring device.
JP2003097926A (en) * 2001-09-27 2003-04-03 Nec Corp Method for inspecting ic appearance
JP2003139519A (en) * 2001-11-05 2003-05-14 Nec Corp Electronic component inspection device and program

Also Published As

Publication number Publication date
JP3511437B2 (en) 2004-03-29

Similar Documents

Publication Publication Date Title
JP3051279B2 (en) Bump appearance inspection method and bump appearance inspection device
JPH07190739A (en) Appearance inspection method for semi-conductor chip and its device
JP3511437B2 (en) Package recognition method in automatic sealing device
US5745593A (en) Method and system for inspecting integrated circuit lead burrs
US6925201B2 (en) Inspection apparatus and method for electrode plate-connected structure for secondary cell
US5038380A (en) Method for recognizing position of component and apparatus therefor
JP2000090275A (en) Package recognizing method for automatic sealing device
JP2000315896A (en) Surface mounting part-fitting machine
JPH1196981A (en) Visual inspection method of battery and inspecting device
JPH11311506A (en) Method and device for detecting position of electronic component
JPS6337479A (en) Pattern recognizer
JPH08234226A (en) Image processor for production of liquid crystal substrate
JP3250309B2 (en) Teaching method of mounted part inspection data
JPH07260445A (en) Method and apparatus for inspecting lead frame automatically
JPH06185994A (en) Inspecting device for mounted substrate
JPH0735390Y2 (en) Bonding device
JPH11186711A (en) Apparatus and method for visual inspection of cream solder
JPH06275686A (en) Method and device for manufacturing semiconductor device
JPH0582741B2 (en)
JP3480187B2 (en) Inspection method for electronic component misalignment
JPH05335390A (en) Inspection apparatus of bonding wire
JPS6348638B2 (en)
JP2003065968A (en) Method for inspecting break and apparatus therefor
JP2004132877A (en) Inspection method and inspection device for junction member
JP2005069863A (en) Visual inspection apparatus

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: 20031224

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20031225

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090116

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090116

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100116

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110116

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110116

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120116

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120116

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130116

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130116

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140116

Year of fee payment: 10

EXPY Cancellation because of completion of term