JP4915940B2 - Image processing data creation method and image processing data creation device - Google Patents
Image processing data creation method and image processing data creation device Download PDFInfo
- Publication number
- JP4915940B2 JP4915940B2 JP2007126897A JP2007126897A JP4915940B2 JP 4915940 B2 JP4915940 B2 JP 4915940B2 JP 2007126897 A JP2007126897 A JP 2007126897A JP 2007126897 A JP2007126897 A JP 2007126897A JP 4915940 B2 JP4915940 B2 JP 4915940B2
- Authority
- JP
- Japan
- Prior art keywords
- image processing
- lead
- data
- coordinates
- processing data
- 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.)
- Active
Links
- 238000012545 processing Methods 0.000 title claims description 80
- 238000000034 method Methods 0.000 title claims description 34
- 238000003672 processing method Methods 0.000 claims 1
- 238000005259 measurement Methods 0.000 description 11
- 238000012937 correction Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 238000013481 data capture Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
- Supply And Installment Of Electrical Components (AREA)
- Image Analysis (AREA)
Description
本発明は、リード付き部品又はBGA型の部品の画像データを取り込んで画像処理用データを作成する画像処理用データ作成方法及び画像処理用データ作成装置に関する発明である。 The present invention relates to an image processing data creation method and an image processing data creation device for creating image processing data by taking in image data of a leaded part or a BGA type part.
特許文献1(特開平7−122900号公報)に記載されているように、カメラで撮影した電子部品の画像データを画像処理用CPUに取り込んで画像処理用データを自動的に作成するようにしたものがある。
リード付き部品又はBGA型の部品の画像データから画像処理用データを作成する場合、実際の部品の寸法は、仕様値に対して数μmから数十μm程度の製造ばらつき(公差)がある。しかも、製造ばらつきのある部品を基準に画像処理用データを作成すると、不適切な部品中心を求めてしまい、その結果、撮影した角度と異なる角度で部品の装着を行うと、装着位置ずれが発生してしまう可能性がある。 When image processing data is created from image data of a leaded part or a BGA type part, the actual part size has a manufacturing variation (tolerance) of about several μm to several tens of μm with respect to a specification value. Moreover, if image processing data is created based on parts with manufacturing variations, an inappropriate part center is obtained, and as a result, if the part is mounted at an angle different from the photographed angle, a mounting position shift occurs. There is a possibility that.
本発明はこのような事情を考慮してなされたものであり、従ってその目的は、部品を撮影した画像データから画像処理用データを自動的に作成して、そのデータ作成時の撮影角度と異なる角度で部品の装着を行う場合でも、装着位置ずれを防止できる画像処理用データを作成することができる画像処理用データ作成方法及び画像処理用データ作成装置を提供することにある。 The present invention has been made in consideration of such circumstances. Therefore, the object of the present invention is to automatically create image processing data from image data obtained by photographing a part and differ from the photographing angle at the time of creating the data. An object of the present invention is to provide an image processing data creation method and an image processing data creation apparatus capable of creating image processing data capable of preventing mounting position deviation even when parts are mounted at an angle.
上記目的を達成するために、本発明は、画像処理用データの作成対象となるリード付き部品の画像データを取り込んで画像処理用データを作成するものにおいて、リード付き部品の画像データに基づいて各辺のリード列を認識して、各辺のリード列の中心位置の座標データを作成する際に、該中心位置のリードピッチ方向座標を基準座標の原点と一致させ、該中心位置のリード長さ方向座標を前記画像データから実測した実測値に設定するようにしたものである。このようにして作成した画像処理用データを用いて部品の装着を行えば、画像処理用データ作成時の撮影角度と異なる角度で部品の装着を行う場合でも、装着位置ずれを防止できる。 In order to achieve the above-mentioned object, the present invention creates image processing data by taking in image data of a leaded part that is a target for creation of image processing data. When recognizing the lead row of the side and creating coordinate data of the center position of the lead row of each side, the lead pitch direction coordinate of the center position is made to coincide with the origin of the reference coordinate, and the lead length of the center position The direction coordinates are set to actual measurement values actually measured from the image data. By mounting components using the image processing data created in this way, mounting position deviation can be prevented even when components are mounted at an angle different from the shooting angle at the time of image processing data creation.
この場合、前記基準座標は、部品の中心を原点とし、各座標軸が前記各辺のリード列のリードピッチ方向とリード長さ方向と平行となるXY座標を用いれば良い。
また、画像処理用データは、各辺のリード列の中心位置の座標、各辺のリード本数、リードピッチ、リード幅、リード長さのデータを含むようにすれば良い。
In this case, the reference coordinates may be XY coordinates in which the center of the component is the origin and each coordinate axis is parallel to the lead pitch direction and the lead length direction of the lead row on each side.
Further, the image processing data may include data on the coordinates of the center position of the lead row on each side, the number of leads on each side, the lead pitch, the lead width, and the lead length.
また、リード付き部品の画像データに基づいて対向する2辺のリード列の中心位置のリードピッチ方向座標を実測し、両者の座標の実測値のずれが所定値以内である場合のみ、該中心位置のリードピッチ方向座標を基準座標の原点と一致させ、前記座標の実測値のずれが所定値を越えている場合は、2辺のリード列の中心位置のリードピッチ方向座標がオフセットされた仕様の部品であると判断して、該中心位置のリードピッチ方向座標を前記実測値に設定するようにすると良い。このようにすれば、対向する2辺のリード列の中心位置のリードピッチ方向座標がオフセットされた仕様の部品を、オフセットがない部品と混同して画像処理用データを作成する不具合を防止できる。 Further, the lead pitch direction coordinates of the center positions of the two opposing lead rows are measured based on the image data of the leaded parts, and only when the deviation between the measured values of the two coordinates is within a predetermined value, If the lead pitch direction coordinate of the reference line coincides with the origin of the reference coordinate and the deviation of the measured value of the coordinate exceeds a predetermined value, the lead pitch direction coordinate of the center position of the lead row on the two sides is offset. It may be determined that the component is a component, and the lead pitch direction coordinate of the center position is set to the actually measured value. In this way, it is possible to prevent the problem of creating image processing data by confusing a part with a specification in which the lead pitch direction coordinates of the center position of the two opposing lead rows are offset with a part having no offset.
また、リード付き部品の画像データに基づいて各辺のリード列を認識して、対向する2辺のリード列のうちの対称となる部分を対称リード列としてグループ化し、各グループの対向する2辺の対称リード列の中心位置の座標データを作成する際に、各グループの対向する2辺の対称リード列の中心位置のリードピッチ方向座標を一致させ、該中心位置のリード長さ方向座標を前記画像データから実測した実測値に設定するようにしても良い。このようにしても、リード付き部品の画像データから画像処理精度の良い画像処理用データを作成することができる。 In addition, the lead row of each side is recognized based on the image data of the leaded component, and the symmetrical part of the two opposing lead rows is grouped as a symmetrical lead row, and the two opposite sides of each group When the coordinate data of the center position of the symmetrical lead row is created, the lead pitch direction coordinates of the center positions of the two opposing sides of each group are matched, and the lead length direction coordinates of the center position are You may make it set to the actual value measured from image data. Even in this case, it is possible to create image processing data with high image processing accuracy from the image data of the leaded component.
また、画像処理用データの作成対象となるBGA型の部品の実装面側の画像データを取り込んで画像処理用データを作成する場合は、BGA型の部品の実装面側の画像データに基づいて該部品のボールを認識して、ボールの画像処理用データを作成する際に、部品の各辺の最外側に位置するボールに外接する外接四角形を計算し、この外接四角形の中心を基準座標の原点と一致させてBGA型の部品のボール径、ボールピッチ、前記最外側に位置するボールの座標のデータを含む画像処理用データを作成するようにすると良い。このようにすれば、簡単に効果的な中心補正を行うことができ、BGA型の部品の画像データから画像処理精度の良い画像処理用データを作成することができる。
Further, when image processing data is created by taking in image data on the mounting surface side of a BGA type component that is a target for creating image processing data, the image processing data is generated based on the image data on the mounting surface side of the BGA type component. When recognizing a ball of a part and creating image processing data for the ball, a circumscribed rectangle circumscribing the ball located on the outermost side of each side of the part is calculated, and the center of this circumscribed square is the origin of the reference coordinates The image processing data including the data of the ball diameter of the BGA type component , the ball pitch, and the coordinates of the ball located on the outermost side may be created. In this way, effective center correction can be easily performed, and image processing data with high image processing accuracy can be created from image data of BGA type components.
この場合、基準座標は、各座標軸が部品の各辺と平行となるXY座標を用いれば良い。 また、外接四角形の中心位置の座標を実測し、その中心位置の座標の実測値と前記基準座標の原点とのずれが所定値以内である場合のみ、前記外接四角形の中心を基準座標の原点と一致させ、前記ずれが所定値を越えている場合は、ボールの配置がオフセットされた仕様の部品であると判断して、該外接四角形の中心位置の座標を前記実測値に設定するようにすると良い。このようにすれば、ボールの配置がオフセットされた仕様の部品を、オフセットがない部品と勘違いして画像処理用データを作成する不具合を防止できる。 In this case, the reference coordinates may be XY coordinates in which each coordinate axis is parallel to each side of the component. Further, the coordinates of the center position of the circumscribed rectangle are measured, and the center of the circumscribed rectangle is set as the reference coordinate origin only when the deviation between the measured value of the center position coordinate and the reference coordinate origin is within a predetermined value. When the deviation exceeds the predetermined value, it is determined that the ball is an offset specification part, and the coordinate of the center position of the circumscribed rectangle is set to the actual measurement value. good. In this way, it is possible to prevent the problem of creating image processing data by mistaking a part having a specification with an offset ball arrangement as a part having no offset.
以下、本発明を実施するための最良の形態を具体化した3つの実施例1〜3を説明する。 Hereinafter, three Examples 1 to 3 embodying the best mode for carrying out the present invention will be described.
本発明の実施例1を図1乃至図7に基づいて説明する。
図1に示すように、画像処理用データ作成装置は、パーソナルコンピュータ等のコンピュータ11と、部品の画像データを取り込むためのカメラ等の画像データ取り込み手段12と、キーボード、マウス等の入力装置13と、液晶ディスプレイ、CRT等の表示装置14と、後述するプログラムやデータ等を記憶する記憶装置15を備えた構成となっている。コンピュータ11は、後述する図2の画像処理用データ作成手順に従って、リード付き部品の画像データに基づいて各辺のリード列を認識するリード認識手段として機能すると共に、このリード認識手段の認識結果を用いて各辺のリード列の中心位置の座標データを作成するデータ作成手段として機能する。
A first embodiment of the present invention will be described with reference to FIGS.
As shown in FIG. 1, the image processing data creation device includes a
以下、本実施例1のリード付き部品21の画像処理用データ作成方法を図2に基づいて説明する。
まず、ステップ101で、画像データ取り込み手段12によって取り込んだリード付き部品21の仮の中心をXY座標(基準座標)の原点としてキャリパスで指定する(図3参照)。この際、XY座標の各座標軸が部品21の各辺のリード列A〜Dのリードピッチ方向とリード長さ方向と平行となるように(つまり部品21の各辺と平行となるように)、XY座標又は部品21の画像の向き(角度)をキャリパスで修正する。
Hereinafter, a method of creating data for image processing of the
First, in
この後、ステップ102に進み、部品21のボディー(チップ部分)の大きさを入力する。この作業は、例えば、表示装置14の画面に表示される矩形枠をマウス等でドラッグして部品21のボディーの外形線と重ね合わせることで、部品21のボディーの大きさが自動的に入力されるようにすれば良い。
Thereafter, the process proceeds to
この後、ステップ103に進み、部品21のボディーの外側にある各辺のリードの長さ、リードピッチとリード幅を測定すると共に、各辺のリード列A〜Dの中心位置Ea〜Edの座標を測定する。このステップ103の作業は、4辺すべてについて行う(ステップ104)。この際、リード列A〜Dの中心位置Ea〜Edは、図3に示すように、部品21のボディーの外形線上に設定される。
Thereafter, the process proceeds to
この後、ステップ105に進み、各辺のリードの長さ、リードピッチ、リード幅のばらつき(例えば最大値と最小値との差又は標準偏差等)を計算する。そして、次のステップ106で、このばらつきが所定値以下であるか否かを判定し、このばらつきが所定値以下であれば、当該部品21のリードが全て同じ仕様のものであると判断して、ステップ107に進み、各辺のリードの長さ、リードピッチ、リード幅の平均値を算出して、その平均値のリード列A〜Dを各辺にコピーする。
Thereafter, the process proceeds to
これに対して、上記ステップ106で、ばらつきが所定値以上と判定されれば、当該部品21のリードは異なる仕様のものであると判断して、上記ステップ107の平均値のコピーは行わない。
On the other hand, if it is determined in
この後、ステップ108に進み、上下のリード列A,Cの中心位置Ea,Ecのリードピッチ方向のずれ(中心位置Ea,EcのX座標のずれ)がリードピッチの1/2以下であるか否かを判定し、当該ずれがリードピッチの1/2以下であれば、上下のリード列A,Cの中心位置Ea,Ecがリードピッチ方向(X軸方向)にオフセットされていないと判断して、ステップ109に進み、上下のリード列A,Cの中心位置Ea,Ecのリードピッチ方向座標であるX座標を原点(0)に修正し(図4参照)、リード長さ方向座標であるY座標のみを実測値とする。
Ea(0,実測値)
Ec(0,実測値)
Thereafter, the process proceeds to
Ea (0, measured value)
Ec (0, measured value)
これに対して、上記ステップ108で、上下のリード列A,Cの中心位置Ea,Ecのリードピッチ方向のずれがリードピッチの1/2以上であると判定されれば、上下のリード列A,Cの中心位置Ea,Ecがリードピッチ方向(X軸方向)にオフセットされていると判断して、上記ステップ109の処理を行わない。この場合は、各中心位置Ea,EcのX座標とY座標の両方が実測値となる。
Ea(実測値,実測値)
Ec(実測値,実測値)
On the other hand, if it is determined in the
Ea (actual value, actual value)
Ec (actual value, actual value)
この後、ステップ110に進み、左右のリード列B,Dの中心位置Eb,Edのリードピッチ方向のずれ(中心位置Eb,EdのY座標のずれ)がリードピッチの1/2以下であるか否かを判定し、当該ずれがリードピッチの1/2以下であれば、左右のリード列B,Dの中心位置Eb,Edがリードピッチ方向(Y軸方向)にオフセットされていないと判断して、ステップ111に進み、左右のリード列B,Dの中心位置Eb,Edのリードピッチ方向座標であるY座標を原点(0)に修正し(図4参照)、リード長さ方向座標であるX座標のみを実測値とする。
Eb(実測値,0)
Ed(実測値,0)
Thereafter, the process proceeds to
Eb (actual value, 0)
Ed (actual value, 0)
これに対して、上記ステップ110で、左右のリード列B,Dの中心位置Eb,Edのリードピッチ方向のずれがリードピッチの1/2以上であると判定されれば、左右のリード列B,Dの中心位置Eb,Edがリードピッチ方向(Y軸方向)にオフセットされていると判断して、上記ステップ111の処理を行わない。この場合は、各中心位置Eb,EdのX座標とY座標の両方が実測値となる。
Eb(実測値,実測値)
Ed(実測値,実測値)
On the other hand, if it is determined in
Eb (actual value, actual value)
Ed (actual value, actual value)
尚、上記ステップ108、110では、中心位置Ea〜Edのリードピッチ方向のずれの大小を判定する判定値を、リードピッチの1/2に設定したが、これよりも小さい値や大きい値に設定しても良い。
In
以上説明した本実施例1によれば、対向する2辺のリード列の中心位置のリードピッチ方向のずれが所定の判定値以下(リードピッチの1/2以下)である場合のみ、当該対向する2辺のリード列の中心位置のリードピッチ方向座標をXY座標(基準座標)の原点と一致させ、当該中心位置のリード長さ方向座標を部品21の画像から測定した実測値に設定するようにしている。
According to the first embodiment described above, only when the deviation in the lead pitch direction at the center position of the two opposing lead rows is equal to or less than a predetermined determination value (1/2 or less of the lead pitch) The lead pitch direction coordinate of the center position of the lead row on the two sides is made to coincide with the origin of the XY coordinate (reference coordinate), and the lead length direction coordinate of the center position is set to an actual measurement value measured from the image of the
図7には、本実施例1の方法で作成した画像処理用データの一例を実測値と仕様値と比較して示されている(図7の各データは図3、図4とは異なる例を示している)。画像処理用データは、各辺のリード列A〜Dの中心位置Ea〜Edの座標、各辺のリード本数、リードピッチ、リード幅、リード長さのデータを含む。リードピッチ、リード幅、リード長さは、各辺のリード列A〜D毎に平均した値である。各辺のリード列A〜Dの中心位置Ea〜Edのリードピッチ方向座標に関しては、画像処理用データが仕様値(0)と一致している。 FIG. 7 shows an example of image processing data created by the method of the first embodiment in comparison with actual measurement values and specification values (each data in FIG. 7 is an example different from those in FIGS. 3 and 4). Is shown). The image processing data includes data on the coordinates of the center positions Ea to Ed of the lead rows A to D on each side, the number of leads on each side, the lead pitch, the lead width, and the lead length. The lead pitch, lead width, and lead length are values averaged for each of the lead rows A to D on each side. Regarding the lead pitch direction coordinates of the center positions Ea to Ed of the lead rows A to D on each side, the image processing data matches the specification value (0).
ところで、4辺にリード列A〜Dを備えた部品21の位置決めアルゴリズムでは、図5に示すように、上下のリード列A,Cの中心位置Ea,Ecを通る直線と左右のリード列B,Dの中心位置Eb,Edを通る直線との交点を部品21の中心位置Fの座標としている。これは、リードの長さの違いによる位置決め誤差をキャンセルするためである。
By the way, in the positioning algorithm of the
しかし、この中心位置Fは、図5及び図6に示すように、部品21の角度(向き)によってかなり大きく変化する。このため、この中心位置FをXY座標(基準座標)の原点として画像処理用データを作成すると、そのデータ作成時の撮影角度と異なる角度で部品21の装着を行った場合に、装着位置ずれが発生してしまう可能性がある。
However, the center position F varies considerably depending on the angle (orientation) of the
これに対して、本実施例1では、各辺のリード列A〜Dの中心位置Ea〜Edのリードピッチ方向座標をXY座標(基準座標)の原点と一致させ、該中心位置Ea〜Edのリード長さ方向座標を部品21の画像から測定した実測値に設定して画像処理用データを作成するようにしたので、この画像処理用データを用いて部品21の装着を行えば、画像処理用データ作成時の撮影角度と異なる角度で部品21の装着を行う場合でも、装着位置ずれを防止できる。
On the other hand, in the first embodiment, the lead pitch direction coordinates of the center positions Ea to Ed of the lead rows A to D on each side are made to coincide with the origin of the XY coordinates (reference coordinates), and the center positions Ea to Ed are set. Since the image data is generated by setting the lead length direction coordinate to the actual measurement value measured from the image of the
しかも、本実施例1では、対向する2辺のリード列の中心位置のリードピッチ方向のずれが所定の判定値以下(リードピッチの1/2以下)である場合のみ、当該対向する2辺のリード列の中心位置のリードピッチ方向座標をXY座標(基準座標)の原点と一致させるようにしたので、対向する2辺のリード列の中心位置のリードピッチ方向座標がオフセットされた仕様の部品を、オフセットがない部品と混同して画像処理用データを作成する不具合を防止できる。 Moreover, in the first embodiment, only when the deviation in the lead pitch direction at the center position of the two opposing lead rows is equal to or less than a predetermined determination value (less than 1/2 of the lead pitch), Since the lead pitch direction coordinates of the center position of the lead row are made to coincide with the origin of the XY coordinates (reference coordinates), the parts having the specifications in which the lead pitch direction coordinates of the center positions of the lead rows on the opposite sides are offset are used. Therefore, it is possible to prevent a problem that the image processing data is created by being confused with a component having no offset.
図8乃至図12を用いて本発明の実施例2を説明する。
本実施例2では、図9乃至図12に示すBGA型部品の実装面側の画像データに基づいて該部品のボールを認識して、ボールの画像処理用データを作成する際に、BGA型部品の各辺の最外側に位置するボールに外接する外接四角形を計算し、この外接四角形の中心を基準座標(XY座標)の原点と一致させてBGA型部品の画像処理用データを作成する。
A second embodiment of the present invention will be described with reference to FIGS.
In the second embodiment, when the ball image processing data of the component is recognized based on the image data on the mounting surface side of the BGA component shown in FIGS. A circumscribed rectangle circumscribing the ball located on the outermost side of each side is calculated, and the center of the circumscribed rectangle is made coincident with the origin of the reference coordinates (XY coordinates) to create image processing data for the BGA type part.
ここで、図9は一般的なマトリックスバンプのBGA型部品のボール配列を撮影した画像であり、図10は中抜けしたボール配列のBGA型部品のボール配列を撮影した画像であり、図11は1ピン無しのBGA型部品のボール配列を撮影した画像であり、図12はボールがランダムに配列されたBGA型部品のボール配列を撮影した画像である。 Here, FIG. 9 is an image obtained by photographing a ball arrangement of a BGA type part having a general matrix bump, FIG. 10 is an image obtained by photographing a ball arrangement of a BGA type part having a hollow ball arrangement, and FIG. FIG. 12 is an image obtained by photographing a ball arrangement of a BGA type component in which balls are randomly arranged.
以下、本実施例2のBGA型部品の画像処理用データ作成方法を図8に基づいて説明する。
まず、ステップ201で、画像データ取り込み手段12によって取り込んだBGA型の部品の仮の中心をXY座標(基準座標)の原点としてキャリパスで指定する。この際、XY座標の各座標軸が部品の各辺と平行となるようにXY座標又は部品の画像の向きをキャリパスで修正する。
Hereinafter, a method for creating data for image processing of a BGA type part according to the second embodiment will be described with reference to FIG.
First, in
この後、ステップ202に進み、部品のボディー(チップ部分)の大きさを入力した後、ステップ203に進み、ボディーの内側にあるボール径とボールピッチを計算する。そして、次のステップ204で、すべてのボールを検索してグルーピングを行う。
Thereafter, the process proceeds to step 202, and after inputting the size of the body (chip portion) of the part, the process proceeds to step 203, and the ball diameter and the ball pitch inside the body are calculated. In the
この後、ステップ205に進み、各グループ毎にボール径とボールピッチの平均値を計算すると共に、最外側のボールの座標を計算する。そして、次のステップ206で、ボール径とボールピッチのばらつき(例えば最大値と最小値との差又は標準偏差等)が所定値以下(例えばボール径の1/2以下、ボールピッチの1/2以下)であるか否かを判定し、このばらつきが所定値以下であれば、ボール配列が同じ仕様であると判断して、ステップ207に進み、ボール径とボールピッチの平均値を各グループにコピーする。
Thereafter, the process proceeds to step 205, where the average value of the ball diameter and the ball pitch is calculated for each group, and the coordinates of the outermost ball are calculated. Then, in the
これに対して、上記ステップ206で、ばらつきが所定値以上と判定されれば、ボール配列が異なる仕様であると判断して、上記ステップ207の平均値のコピーは行わない。
On the other hand, if it is determined in
この後、ステップ208に進み、今のグループと次のグループの最外側のボールの座標を計算する処理を繰り返す(ステップ209)。そして、すべてのグループの最外側のボールの座標を計算した後、ステップ210に進み、最外側のボールに外接する外接四角形の大きさとその中心の座標を計算する。 Thereafter, the process proceeds to step 208, and the process of calculating the coordinates of the outermost balls of the current group and the next group is repeated (step 209). Then, after calculating the coordinates of the outermost balls of all the groups, the process proceeds to step 210, and the size of the circumscribed rectangle circumscribing the outermost balls and the coordinates of the center thereof are calculated.
この後、ステップ211に進み、外接四角形の中心のずれが所定値以下(例えばボールピッチの1/2以下)であるか否かを判定し、このずれが所定値以下であれば、ステップ212に進み、中心の座標をXY座標の原点(0,0)に修正する。 Thereafter, the process proceeds to step 211, where it is determined whether or not the deviation of the center of the circumscribed rectangle is equal to or less than a predetermined value (for example, 1/2 or less of the ball pitch). Proceed and correct the center coordinates to the origin (0, 0) of the XY coordinates.
これに対して、上記ステップ211で、外接四角形の中心のずれが所定値よりも大きいと判定されれば、上記ステップ211の座標の修正は行わず、中心の座標を実測値とする。尚、図12に示すランダムバンプの場合にも、上記ステップ211の座標の修正は行わず、中心の座標を実測値とする。
On the other hand, if it is determined in
以上説明した本実施例2によれば、BGA型の部品の各辺の最外側に位置するボールに外接する外接四角形を計算し、この外接四角形の中心を基準座標(XY座標)の原点と一致させてBGA型の部品の画像処理用データを作成するようにしたので、簡単に効果的な中心補正を行うことができ、BGA型の部品の画像データから画像処理精度の良い画像処理用データを作成することができる。 According to the second embodiment described above, the circumscribed rectangle circumscribing the ball located on the outermost side of each side of the BGA type part is calculated, and the center of the circumscribed rectangle coincides with the origin of the reference coordinate (XY coordinate). Since the image processing data for the BGA type part is created, the effective center correction can be easily performed, and the image processing data with high image processing accuracy can be obtained from the image data of the BGA type part. Can be created.
図13に示す本発明の実施例3では、リード付き部品の画像データに基づいて各辺のリード列を認識して、対向する2辺のリード列のうちの対称となる部分を対称リード列としてグループ化し、各グループの対向する2辺の対称リード列の中心位置の座標データを作成する際に、各グループの対向する2辺の対称リード列の中心位置のリードピッチ方向座標を一致させ、該中心位置のリード長さ方向座標を前記画像データから実測した実測値に設定する。 In the third embodiment of the present invention shown in FIG. 13, the lead row on each side is recognized based on the image data of the leaded component, and the symmetrical portion of the two opposite lead rows is defined as the symmetrical lead row. When creating the coordinate data of the center positions of the symmetric lead rows of the two opposing sides of each group, the lead pitch direction coordinates of the center positions of the symmetric lead rows of the two opposing sides of each group are matched, The lead length direction coordinate of the center position is set to an actual measurement value actually measured from the image data.
図13の例では、第1グループの対向する2辺の対称リード列の中心位置a,bの座標は、a(x1 ,実測値)、b(x1 ,実測値)となり、第2グループの対向する2辺の対称リード列の中心位置c,dの座標は、c(x2 ,実測値)、d(x2 ,実測値)となる。更に、第3グループの対向する2辺の対称リード列の中心位置e,fの座標は、e(実測値,y3 )、f(実測値,y3 )となる。 In the example of FIG. 13, the coordinates of the center positions a and b of the symmetric lead rows on the two opposite sides of the first group are a (x1, actually measured value) and b (x1, actually measured value). The coordinates of the center positions c and d of the two-side symmetric lead row are c (x2, actual measured value) and d (x2, actual measured value). Further, the coordinates of the center positions e and f of the two symmetrical symmetrical lead rows of the third group are e (actually measured value, y3) and f (actually measured value, y3).
この場合、x1 =−x2 とすれば、第1グループの対称リード列の中心位置a,bと第2グループの対称リード列の中心位置c,dとが互いにY座標軸に関して対称な位置となる。x1 、x2 は、例えば各中心位置a〜dのX座標の実測値を平均化した値を用いれば良い。図13の例では、左右のリード列は、1つのグループ(第3グループ)を形成するだけで、複数のグループに分割されないため、前記実施例1と同様に、中心位置e,fのリードピッチ方向座標であるY座標(y3 )を原点(0)に修正すれば良い。 In this case, if x1 = -x2, the center positions a and b of the symmetric lead row of the first group and the center positions c and d of the symmetric lead row of the second group are symmetric with respect to the Y coordinate axis. For x1 and x2, for example, values obtained by averaging measured values of the X coordinates of the respective center positions a to d may be used. In the example of FIG. 13, the left and right lead rows only form one group (third group) and are not divided into a plurality of groups. Therefore, as in the first embodiment, the lead pitch at the center positions e and f The Y coordinate (y3), which is the direction coordinate, may be corrected to the origin (0).
11…コンピュータ(リード認識手段,データ作成手段)、12…画像データ取り込み手段、13…入力装置、14…表示装置、15…記憶装置、21…部品、A〜D…リード列、Ea〜Ed…リード列の中心位置、a〜d…対称リード列の中心位置
DESCRIPTION OF
Claims (10)
前記リード付き部品の画像データに基づいて各辺のリード列を認識して、各辺のリード列の中心位置の座標データを作成する際に、該中心位置のリードピッチ方向座標を基準座標の原点と一致させ、該中心位置のリード長さ方向座標を前記画像データから実測した実測値に設定することを特徴とする画像処理用データ作成方法。 In an image processing data creation method for creating image processing data by capturing image data of a leaded component that is a creation target of image processing data,
When recognizing the lead row of each side based on the image data of the leaded part and creating the coordinate data of the center position of the lead row of each side, the lead pitch direction coordinate of the center position is the origin of the reference coordinate And setting the coordinates in the lead length direction of the center position to measured values actually measured from the image data.
前記リード付き部品の画像データに基づいて各辺のリード列を認識して、対向する2辺のリード列のうちの対称となる部分を対称リード列としてグループ化し、各グループの対向する2辺の対称リード列の中心位置の座標データを作成する際に、各グループの対向する2辺の対称リード列の中心位置のリードピッチ方向座標を一致させ、該中心位置のリード長さ方向座標を前記画像データから実測した実測値に設定することを特徴とする画像処理用データ作成方法。 In an image processing data creation method for creating image processing data by capturing image data of a leaded component that is a creation target of image processing data,
Based on the image data of the leaded parts, the lead row of each side is recognized, and the symmetrical part of the two opposite lead rows is grouped as a symmetrical lead row, and the two opposite sides of each group are grouped. When creating the coordinate data of the center position of the symmetric lead row, the lead pitch direction coordinates of the center positions of the symmetric lead rows of the two opposing sides of each group are matched, and the lead length direction coordinates of the center position are the image. A method for creating data for image processing, characterized in that an actual measured value is set from data.
前記BGA型の部品の実装面側の画像データに基づいて該部品のボールを認識して、ボールの画像処理用データを作成する際に、部品の各辺の最外側に位置するボールに外接する外接四角形を計算し、この外接四角形の中心を基準座標の原点と一致させてBGA型の部品のボール径、ボールピッチ、前記最外側に位置するボールの座標のデータを含む画像処理用データを作成することを特徴とする画像処理用データ作成方法。 In an image processing data creation method for creating image processing data by capturing image data on the mounting surface side of a BGA type component to be created for image processing data,
Recognizing the ball of the component based on the image data on the mounting surface side of the BGA type component and creating the image processing data of the ball, it circumscribes the ball located on the outermost side of each side of the component Calculate the circumscribed rectangle and make the center of the circumscribed rectangle coincide with the origin of the reference coordinates to create the image processing data including the ball diameter and pitch of the BGA type part and the coordinates of the outermost ball coordinates. A method of creating data for image processing.
前記リード付き部品の画像データに基づいて各辺のリード列を認識するリード認識手段と、
前記リード認識手段の認識結果を用いて前記各辺のリード列の中心位置の座標データを作成するデータ作成手段とを備え、
前記データ作成手段は、前記各辺のリード列の中心位置のリードピッチ方向座標を基準座標の原点と一致させ、該中心位置のリード長さ方向座標を前記画像データから実測した実測値に設定することを特徴とする画像処理用データ作成装置。 In an image processing data creation device that creates image processing data by capturing image data of a leaded component that is a target for creation of image processing data,
Lead recognizing means for recognizing a lead row of each side based on image data of the leaded component;
Data creation means for creating the coordinate data of the center position of the lead row of each side using the recognition result of the lead recognition means,
The data creation means matches the lead pitch direction coordinate of the center position of the lead row of each side with the origin of the reference coordinate, and sets the lead length direction coordinate of the center position to an actually measured value measured from the image data. An image processing data creation device characterized by the above.
前記BGA型の部品の実装面側の画像データに基づいて該部品のボールを認識するボール認識手段と、
前記ボール認識手段の認識結果を用いてボールの画像処理用データを作成するデータ作成手段とを備え、
前記データ作成手段は、部品の各辺の最外側に位置するボールに外接する外接四角形を計算し、この外接四角形の中心を基準座標の原点と一致させてBGA型の部品のボール径、ボールピッチ、前記最外側に位置するボールの座標のデータを含む画像処理用データを作成することを特徴とする画像処理用データ作成装置。 In an image processing data creation apparatus that creates image processing data by taking in image data on the mounting surface side of a BGA type component that is a creation target of image processing data,
Ball recognition means for recognizing the ball of the component based on image data on the mounting surface side of the BGA type component;
Data creation means for creating data for image processing of the ball using the recognition result of the ball recognition means,
The data creation means calculates a circumscribed rectangle circumscribing the ball located on the outermost side of each side of the component, and matches the center of the circumscribed rectangle with the origin of the reference coordinates so that the ball diameter and the ball pitch of the BGA type component. An image processing data creation device for creating image processing data including data of coordinates of the ball located on the outermost side .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007126897A JP4915940B2 (en) | 2007-05-11 | 2007-05-11 | Image processing data creation method and image processing data creation device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007126897A JP4915940B2 (en) | 2007-05-11 | 2007-05-11 | Image processing data creation method and image processing data creation device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008283050A JP2008283050A (en) | 2008-11-20 |
JP4915940B2 true JP4915940B2 (en) | 2012-04-11 |
Family
ID=40143605
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007126897A Active JP4915940B2 (en) | 2007-05-11 | 2007-05-11 | Image processing data creation method and image processing data creation device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4915940B2 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9756230B2 (en) | 2012-05-10 | 2017-09-05 | Fuji Machine Mfg. Co., Ltd. | Mounting and inspection data creation device and mounting and inspection data creation method |
JP7047183B2 (en) * | 2019-03-08 | 2022-04-04 | 株式会社Fuji | Information processing equipment |
JP7423809B2 (en) * | 2020-09-15 | 2024-01-29 | 株式会社Fuji | Bump position data generation device |
CN113449485B (en) * | 2021-06-24 | 2023-05-26 | 深圳砺芯半导体有限责任公司 | Lead generation method, device, equipment and storage medium |
CN118089540B (en) * | 2024-02-28 | 2024-10-11 | 乐清市星火汽车电子有限公司 | New energy automobile electronic connector quality visual detection system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63293403A (en) * | 1987-05-27 | 1988-11-30 | Seiko Instr & Electronics Ltd | Recognizing device for chip component |
JPH0770874B2 (en) * | 1990-02-15 | 1995-07-31 | 松下電工株式会社 | Parts position detection method |
JPH05312518A (en) * | 1992-05-08 | 1993-11-22 | Matsushita Electric Ind Co Ltd | Lighting fixture |
JP3269170B2 (en) * | 1993-04-02 | 2002-03-25 | 松下電器産業株式会社 | Electronic component position detection method |
JPH1089920A (en) * | 1996-09-10 | 1998-04-10 | Hitachi Ltd | Position detecting method, mounting method using the same, and inspection method of semiconductor integrated circuit device |
JP4823782B2 (en) * | 2006-06-23 | 2011-11-24 | Juki株式会社 | Component positioning method and apparatus |
-
2007
- 2007-05-11 JP JP2007126897A patent/JP4915940B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2008283050A (en) | 2008-11-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20090187276A1 (en) | Generating device of processing robot program | |
JP5926881B2 (en) | Image processing component data creation method and image processing component data creation device | |
JP4915940B2 (en) | Image processing data creation method and image processing data creation device | |
JP2012230041A (en) | Position detection method, position detector and robot system | |
JP2008185514A (en) | Substrate visual inspection apparatus | |
JP5221584B2 (en) | Image processing apparatus, image processing method, and image processing program | |
US10791661B2 (en) | Board inspecting apparatus and method of compensating board distortion using the same | |
CN111507949A (en) | Chip identification method based on vision | |
JP2010287762A (en) | Method, program and device for inspecting pattern | |
JPH08136235A (en) | Method for detecting pattern | |
CN117392211B (en) | BGA element rapid identification positioning method and system and storage medium | |
JP2008294065A (en) | Electronic component mounting method and apparatus | |
JP4890904B2 (en) | Component position detection method and apparatus | |
JP2005221287A (en) | Method and apparatus for inspecting substrate | |
CN107535090B (en) | Device and method for generating component orientation determination data | |
JP4158349B2 (en) | Dimension measurement method and apparatus by image processing | |
JP4900951B2 (en) | Production line inspection system and inspection method | |
JP3282514B2 (en) | BGA ball position detection method | |
TW202220542A (en) | Inspection data preparation method, inspection data preparation device, and inspection device | |
JP5271654B2 (en) | Electronic component mounting equipment | |
JP2000180138A (en) | Calibration plate and calibration device for visual sensor using the same | |
JP2007299248A (en) | Method for correcting image position | |
KR102177329B1 (en) | Method for sensing of fiducial Mark | |
TWI735365B (en) | Determining method for polarity of capacitor | |
JPH0791932A (en) | Visual inspection of soldered state |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100326 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20111025 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111104 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111202 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20120120 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120120 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150203 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4915940 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |