JP3511437B2 - Package recognition method in automatic sealing device - Google Patents

Package recognition method in automatic sealing device

Info

Publication number
JP3511437B2
JP3511437B2 JP20818996A JP20818996A JP3511437B2 JP 3511437 B2 JP3511437 B2 JP 3511437B2 JP 20818996 A JP20818996 A JP 20818996A JP 20818996 A JP20818996 A JP 20818996A JP 3511437 B2 JP3511437 B2 JP 3511437B2
Authority
JP
Japan
Prior art keywords
package
lid
seal ring
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.)
Expired - Lifetime
Application number
JP20818996A
Other languages
Japanese (ja)
Other versions
JPH1049677A (en
Inventor
忠宏 岩月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 Processing (AREA)
  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

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 to a container (package) of a circuit element such as an IC, a transistor, a crystal oscillator, etc., and particularly to a position of the package and the lid. The present invention relates to a package recognition method using image recognition for matching.

【0002】[0002]

【従来の技術】IC、トランジスタ、水晶振動子等の回
路素子の封止作業は、パッケージにこれらの回路素子を
収納して、配線や試験調整作業を行った後の最終製造工
程として行われる。封止方法としては、樹脂封止、気密
封止などがある。気密封止法は、金属又はセラミックス
のパッケージの中に素子を収納固定し、乾燥した不活性
ガス雰囲気中で蓋(リッド)をかぶせて素子を完全に密
封する方法である。この気密封止法によれば、水分など
の不純物の侵入がなく、また素子と封止材料は直接接触
しないので、熱応力の影響も少なく樹脂封止に比べて高
い封止信頼性を得ることができる。
2. Description of the Related Art The sealing work of circuit elements such as ICs, transistors and crystal oscillators is carried out as a final manufacturing step after the circuit elements are housed in a package and wiring and test adjustment work is performed. Examples of the sealing method include resin sealing and hermetic sealing. The airtight 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 airtight sealing method, impurities such as moisture do not enter and the element and the sealing material do not come into direct contact with each other, so that the effect of thermal stress is small and higher sealing reliability can be obtained compared to resin sealing. You can

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

【0004】続いて、リッド32の対向するエッジ部に
一対のローラー電極33を当て、適当な加圧力を与え
る。この状態で電極間に電流を流すと、接触部分(電極
33とリッド32)がジュール熱により発熱し、その熱
がリッド32とシールリング31の接触部分に伝わるこ
とにより、リッド32とシールリング31のメッキ層同
士が溶融接合する。さらに、電流を流しながら、リッド
32のエッジに沿ってローラー電極33を転がすことに
より、リッド32の対向する辺を同時にシーム接合する
ことができる。通常、パッケージは矩形なので、図8
(c)のようにX辺を接合した後に、図8(d)のよう
にY辺の接合を同様に行う。こうして、パッケージにリ
ッドを溶接することができる。
Then, a pair of roller electrodes 33 are applied to the opposite edge portions of the lid 32, and an appropriate pressure is applied. When an electric current is applied between the electrodes in this state, Joule heat is generated in the contact portion (electrode 33 and lid 32), and the heat is transmitted to the contact portion between the lid 32 and the seal ring 31, whereby the lid 32 and the seal ring 31 The plated layers are melt-bonded to each other. Further, by rolling the roller electrode 33 along the edge of the lid 32 while passing a current, the sides of the lid 32 facing each other can be simultaneously seam-joined. Normally the package is rectangular, so
After joining the X sides as shown in (c), the Y sides are joined similarly as shown in FIG. 8 (d). In this way, the lid can be welded to the package.

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

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

【0007】[0007]

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

【0008】[0008]

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

【0009】また、請求項2に記載のように、リッドの
大きさを示すリッドサイズと認識対象となるパッケージ
の輪郭を選択するための認識サイズをあらかじめ設定
し、パッケージをカメラで撮像し、撮像したパッケージ
の濃淡画像からパッケージの輪郭データを抽出する際
に、設定されたリッドサイズと認識サイズを比較して、
この比較結果に基づきパッケージの外側の輪郭データを
抽出するか内側の輪郭データを抽出するかを決定するよ
うにしたものである。このようにリッドサイズと認識サ
イズを設定することで、パッケージの外側の輪郭を認識
対象とするか内側の輪郭を認識対象とするかを切り換え
ることができる。
Further, as described in claim 2, the lid size indicating the size of the lid and the recognition size for selecting the outline of the package to be recognized are set in advance, the package is imaged by the camera, and the image is picked up. When extracting the contour data of the package from the grayscale image of the package, compare the set lid size with the recognition size,
Based on the comparison result, 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 of the package.

【0010】[0010]

【発明の実施の形態】DETAILED DESCRIPTION OF THE INVENTION

実施の形態の1.図1は本発明の第1の実施の形態を示
すパッケージ認識方法を説明するためのフローチャート
図、図2はこのパッケージ認識方法で用いる自動シーリ
ング装置のブロック図である。図2において、搬送機構
部4は、パッケージを載せたトレーを治具テーブル3に
搬送すると共に、リッドをパッケージの真上に搬送す
る。接合ヘッド移動機構5は、図示しない接合ヘッドを
パッケージ上に下降させ、溶接電源6は、接合ヘッドの
ローラー電極に電流を供給する。そして、シーケンサ7
は、治具テーブル3、搬送機構4、接合ヘッド移動機構
5、溶接電源6を制御し、ホストコンピュータ8は、自
動シーリング装置全体を制御する。
1. Embodiment 1. FIG. 1 is a flow chart for explaining a package recognition method according to the first embodiment of the present invention, and FIG. 2 is a block diagram of an automatic sealing device used in this 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 also transports the lid directly above the package. The bonding head moving mechanism 5 lowers the bonding head (not shown) onto the package, and the welding power source 6 supplies a current to the roller electrode of the bonding head. And the 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 transfer mechanism 4 transfers the tray on which the package is placed to the jig table 3, and the camera 1 moves the jig table 3
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 it. And
With the seal ring size indicating the preset outer size of the seal ring, data of an inappropriate size is deleted and the contour of the seal ring is extracted (step 10).
2).

【0012】続いて、画像認識装置2は、抽出したシー
ルリングの輪郭データより、シールリングの水平面内の
傾きと重心を算出する(ステップ103)。図3はシー
ルリングの傾きの算出方法を説明するための図であり、
図中の白丸が抽出された輪郭データ(ドット)である。
シールリングのθ方向の傾きは、以下のようにして求め
る。
Next, 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 for calculating the inclination of the seal ring,
White circles in the figure are the extracted contour data (dots).
The tilt 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 segment connecting contour data is taken 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 values of the inclinations of the regions with high frequency in FIG. Approximate the position.

【0014】次いで、このおおよその辺を中心とする一
定の範囲α内に存在するデータから最小2乗法によって
シールリングの各辺A〜Dを確定する。これで、シール
リングのXY平面内の傾きが得られる。また、シールリ
ングの重心Oは、この確定した各辺A〜Dから得られ
る。こうして、シールリングの位置を決定することがで
きる。
Next, the respective sides A to D of the seal ring are determined by the least square method from the data existing within a fixed range α centered on this approximate side. With this, the inclination of the seal ring in the XY plane is obtained. The center of gravity O of the seal ring is obtained from each of the determined sides A to D. In this way, 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 proportion 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 this straight line portion. In addition, in FIG. 5B, only one side A of the seal ring is enlarged. First, the image recognition device 2 obtains the total length including the curved corners for each of the sides A to D, and sets these as LA, LB, LC, and LD (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 constant range β is set in the width direction with the side A as the center. The straight line portion on the side A including the corner portion is a portion formed by data continuously existing in the range β for a predetermined length (for example, 3 dots) or more. Therefore, the portion E in FIG. 5B is not included in the straight line portion. Thus, the length JA of this straight line portion is obtained. Then, the ratio (JA / LA) of the length JA of the straight line 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 compares the judgment reference value input from the keyboard 9 in advance with the calculated proportion of the straight line portion to judge whether the package is non-defective (step 105). At this time, if the proportion of the straight line portion is smaller than the determination reference value, it is determined as a defective product. Then, this defective product is automatically taken out by the transport mechanism 4 (step 106).

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

【0019】以上のように本実施の形態では、算出した
直線部分の割合を判定基準値と比較して、パッケージが
良品かどうかを判定するので、調整可能な判定基準値に
適当な値(上記割合に関する所望の値)を設定しておく
ことにより、パッケージの品種や撮像条件等に応じた適
切な判定を行うことができる。また、シールリングの傷
や汚れによって生じた輪郭のうねりは直線部分から除外
され、これにより直線部分の割合が判定基準値を下回る
ので、輪郭に連続性があっても、シールリングの傷や汚
れを不良として検出することができる。
As described above, in the present 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, the imaging condition, and the like. In addition, the waviness of the contour caused by scratches or stains on the seal ring is excluded from the straight line portion, and the ratio of the straight line portion falls below the judgment reference value. Can be detected as a defect.

【0020】また、図6に示すように、パッケージを載
せるトレー22の窪み23は、シールリング21と同様
の形状をしているが、パッケージを取り出すための逃げ
24によって、上記直線部分の割合がパッケージよりも
低くなる。したがって、上記判定基準値を適切に設定す
ることによって、トレーの窪み23をパッケージと誤認
識することがなくなる。
Also, 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, but the proportion of the above-mentioned straight line portion is changed by the relief 24 for taking out the package. Lower than the package. Therefore, by properly setting the determination reference value, the depression 23 of the tray will not be erroneously recognized as a package.

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

【0022】この切り換えのために、自動シーリング装
置を使用する作業者は、キーボード9を操作してリッド
の縦、横(X、Y)の大きさを示すリッドサイズ、及び
認識サイズを入力する。作業者は、シールリングの外側
の輪郭を用いた画像認識で問題ない場合、シールリング
の外側の輪郭の縦、横の大きさを認識サイズとして設定
する。
For this switching, the operator using the automatic sealing device operates the keyboard 9 to input the lid size indicating the vertical and horizontal (X, Y) sizes of the lid, and the 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 recognition sizes.

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

【0024】溶接性の関係から、リッドは、シールリン
グの外形サイズより小さく、かつ内形サイズより大き
い。よって、リッドサイズと認識サイズを上記のように
設定することにより、シールリングの内側と外側のどち
らを認識対象とするかを自動的に切り換えることができ
る。なお、ステップ102において、シールリングの輪
郭の識別は以下のようにして行われる。図7はシールリ
ングの輪郭を識別する方法を説明するための図である。
なお、画像データはドットの集まりであるが、ここでは
線として表示する。
Due to the 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 set of dots, it is displayed as a line here.

【0025】パッケージを撮像すると、シールリング2
5の部分は輝度レベルが高く、その内側及び周囲は輝度
レベルが低い。これにより、図7に示す2値画像データ
において、矢印の方向に走査すると、画像データのレベ
ルは「暗」→「明」→「暗」と変化する。したがって、
画像データが「暗」→「明」に変化したときがシールリ
ングの内側の輪郭であり、続いて「明」→「暗」に変化
したときがシールリングの外側の輪郭である。こうし
て、画像認識装置2は、シールリングの外側の輪郭ある
いは内側の輪郭を選択することができる。なお、ステッ
プ103以後の動作は実施の形態の1と同様である。
When the package is imaged, the seal ring 2
The portion 5 has a high luminance level, and the inside and the surroundings have a low luminance level. As a result, when scanning the binary image data shown in FIG. 7 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", it is the inner contour of the seal ring, and when it changes from "bright" to "dark", it is the outer contour of the seal ring. In this way, the image recognition device 2 can select the outer contour or the inner contour of the seal ring. The operation after step 103 is similar to that of 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 or not.
By setting an appropriate value as the determination reference value, it is possible to make an appropriate determination according to the type of the package, the imaging conditions, etc., and prevent the tray from being erroneously recognized as the package. Further, since the waviness of the contour caused by scratches or stains on the seal ring is removed from the straight line portion, even if the contour has continuity, these can be detected as defective products.

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

【図面の簡単な説明】[Brief description of 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 a tilt 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 straight line portion of a seal ring.

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

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

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

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

1…カメラ、2…画像認識装置、3…治具テーブル、4
…搬送機構、5…接合ヘッド移動機構、6…溶接電源、
7…シーケンサ、8…ホストコンピュータ、9…キーボ
ード。
1 ... Camera, 2 ... Image recognition device, 3 ... Jig table, 4
... Conveyance mechanism, 5 ... Joining head moving mechanism, 6 ... Welding power source,
7 ... Sequencer, 8 ... Host computer, 9 ... Keyboard.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 1/00 305 G01B 11/24 G01N 21/88 ─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields surveyed (Int.Cl. 7 , DB name) G06T 1/00 305 G01B 11/24 G01N 21/88

Claims (2)

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

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19931710C2 (en) 1999-07-08 2001-07-26 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.
JP4839560B2 (en) * 2001-09-27 2011-12-21 日本電気株式会社 IC appearance inspection method
JP3882891B2 (en) * 2001-11-05 2007-02-21 日本電気株式会社 Electronic component inspection apparatus, method and program thereof

Also Published As

Publication number Publication date
JPH1049677A (en) 1998-02-20

Similar Documents

Publication Publication Date Title
JP3051279B2 (en) Bump appearance inspection method and bump appearance inspection device
US6748104B1 (en) Methods and apparatus for machine vision inspection using single and multiple templates or patterns
JPH07190739A (en) Appearance inspection method for semi-conductor chip and its device
JP3511437B2 (en) Package recognition method in automatic sealing device
JP2002243655A (en) Method and equipment for visual inspection of electronic component
US5038380A (en) Method for recognizing position of component and apparatus therefor
KR20090021023A (en) Inclination surface test method and inclination surface test apparatus for test workpiece of electron parts using the same
JP2000090275A (en) Package recognizing method for automatic sealing device
JPS59192902A (en) Position checking device for parts attached to substrate
JP2658405B2 (en) Method for manufacturing semiconductor device
JP2885694B2 (en) Automatic visual inspection system for semiconductor substrate surface
JPS6337479A (en) Pattern recognizer
JPH07260445A (en) Method and apparatus for inspecting lead frame automatically
JPH0735390Y2 (en) Bonding device
JPH10247669A (en) Device and method for inspecting bonding wire
JPH05335390A (en) Inspection apparatus of bonding wire
JP3665587B2 (en) Semiconductor element inspection method, semiconductor element inspection program, and recording medium on which the semiconductor element inspection program is recorded
JP3480187B2 (en) Inspection method for electronic component misalignment
JP2821426B2 (en) Inspection device
JP2830282B2 (en) Appearance inspection method of solder fillet
JP2004132877A (en) Inspection method and inspection device for junction member
JPH0658729A (en) Inspecting apparatus for soldered state
JP3414821B2 (en) Method and apparatus for bonding inspection of semiconductor products
JPH0582741B2 (en)
JP2003264400A (en) Method and device for detecting electrode floating of electronic component

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