JP4491630B2 - Electronic component lead direction discrimination method and apparatus - Google Patents
Electronic component lead direction discrimination method and apparatus Download PDFInfo
- Publication number
- JP4491630B2 JP4491630B2 JP2005334101A JP2005334101A JP4491630B2 JP 4491630 B2 JP4491630 B2 JP 4491630B2 JP 2005334101 A JP2005334101 A JP 2005334101A JP 2005334101 A JP2005334101 A JP 2005334101A JP 4491630 B2 JP4491630 B2 JP 4491630B2
- Authority
- JP
- Japan
- Prior art keywords
- lead
- electronic component
- coordinate
- index value
- variation index
- 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
- 238000012850 discrimination method Methods 0.000 title 1
- 238000000034 method Methods 0.000 claims description 35
- 238000000605 extraction Methods 0.000 claims description 28
- 238000010606 normalization Methods 0.000 claims description 17
- 239000006185 dispersion Substances 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000013481 data capture Methods 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
Images
Description
本発明は、電子部品の画像データに基づいて当該電子部品のリードの取り出し方向が2方向か4方向かを判別する電子部品のリード方向判別方法及びその装置に関する発明である。 The present invention relates to an electronic component lead direction determination method and apparatus for determining whether the lead extraction direction of the electronic component is two directions or four directions based on image data of the electronic component.
近年、電子部品実装機においては、吸着ノズルで吸着した電子部品を回路基板上に搭載する際に、当該電子部品をカメラで撮像して、画像処理技術により当該電子部品を認識するようにしている。その際、リード付きの電子部品については、特許文献1(特許第2941617号公報)に示すように、予め、縦横のリード列毎に、リード長、リードピッチ、リード幅、リード本数等の部品の特徴を表すデータを電子部品画像認識用の部品データとして作成してメモリに記憶しておき、電子部品実装機の稼働中は、電子部品の画像データを処理して、縦横のリード列毎にリード長、リードピッチ、リード幅、リード本数等を検出し、その検出データをメモリに記憶された部品データと比較して電子部品の吸着姿勢等を認識するようにしたものがある。 In recent years, in an electronic component mounting machine, when an electronic component sucked by a suction nozzle is mounted on a circuit board, the electronic component is imaged by a camera, and the electronic component is recognized by image processing technology. . At that time, as for electronic components with leads, as shown in Patent Document 1 (Japanese Patent No. 2941617), components such as lead length, lead pitch, lead width, number of leads, etc. are previously provided for each vertical and horizontal lead row. Data representing the characteristics is created as electronic component image recognition component data and stored in memory. During operation of the electronic component mounter, the electronic component image data is processed and read for each vertical and horizontal lead row. Some devices detect the length, lead pitch, lead width, number of leads, etc., and compare the detected data with the component data stored in the memory to recognize the suction posture of the electronic component.
この特許文献1には、電子部品画像認識用の部品データの自動作成方法が記載されている。この部品データの自動作成方法では、電子部品の画像データを処理して、縦横のリード列毎にリード長、リードピッチ、リード幅、リード本数等のデータを部品データとして演算するようにしている。
ところで、リード付きの電子部品の中には、パッケージ本体からリードを2方向に取り出したタイプのものや、4方向に取り出したタイプのものがある。また、電子部品のリードの形状は、真っ直ぐに延びた長方形ではなく、屈曲した立体的形状になっているため、カメラで撮像する際の照明光の反射状態が均一にならず、その結果、図5(a)に示すように、リードの屈曲部分Aが暗く写って1本のリードが2本のリードに分割して認識されてしまうことがある。このような場合、従来の画像認識技術では、実際にはリードの取り出し方向が2方向であるにも拘らず、図5(b)に示すように、各リード列の両端のリードを他方向のリードと誤判定して、4方向にリードを取り出したタイプと誤判定してしまい、誤った部品データを自動作成してしまうという問題があった。 By the way, among electronic components with leads, there are a type in which leads are taken out from the package body in two directions and a type in which leads are taken out in four directions. In addition, the shape of the lead of the electronic component is not a straight rectangle but a bent three-dimensional shape, so that the reflected state of the illumination light when taking an image with the camera is not uniform. As shown in FIG. 5A, the bent portion A of the lead may appear dark and one lead may be divided into two leads and recognized. In such a case, in the conventional image recognition technology, the leads at both ends of each lead row are placed in the other direction as shown in FIG. There is a problem in that it is erroneously determined as a lead, erroneously determined as a type in which the lead is taken out in four directions, and erroneous component data is automatically created.
このような問題は、作業者がリードの取り出し方向を手動操作で指定するようにすれば解決できるが、作業者の手動操作による指定では、作業者の操作ミスでリードの取り出し方向を間違って指定する可能性を排除できないばかりか、部品データ作成の自動化の要求にも反し、部品データの作成に手間と時間がかかるという問題もある。 Such a problem can be solved if the operator manually specifies the lead extraction direction. However, in the manual operation specification by the operator, the lead extraction direction is incorrectly specified due to an operator error. In addition to eliminating the possibility of doing so, there is also a problem that it takes time and effort to create part data, contrary to the requirement for automation of part data creation.
本発明はこのような事情を考慮してなされたものであり、従ってその目的は、電子部品の画像データに基づいて当該電子部品のリードの取り出し方向が2方向か4方向かを精度良く自動的に判別することができる電子部品のリード方向判別方法及びその装置を提供することにある。 The present invention has been made in view of such circumstances. Therefore, the object of the present invention is to automatically determine whether the lead extraction direction of the electronic component is two or four based on the image data of the electronic component. It is an object of the present invention to provide an electronic component lead direction discriminating method and apparatus capable of discriminating it.
上記目的を達成するために、本発明は、画像データ取り込み手段により取り込んだ電子部品の画像データに基づいて当該電子部品のリードの取り出し方向が2方向か4方向かを判別するものにおいて、前記電子部品の画像データに基づいて当該電子部品の各リードの基準位置の座標を正規化する正規化処理と、前記各リードの基準位置の正規化座標のばらつき指標値(例えば分散又は標準偏差)を算出するばらつき指標値算出処理と、前記ばらつき指標値を所定のしきい値と比較して前記電子部品のリードの取り出し方向が2方向か4方向かを判別するリード方向判別処理とを実行するようにしたものである。ここで、リードの基準位置は、例えば、リードの中心、先端、付け根、或は、先端又は付け根から所定[%]離れた位置等、一定の基準で定めた位置であれば良い。 In order to achieve the above object, according to the present invention, there is provided a method for determining whether the lead extraction direction of the electronic component is two directions or four directions based on the image data of the electronic component captured by the image data capturing means. A normalization process for normalizing the coordinates of the reference position of each lead of the electronic component based on the image data of the component, and calculating a variation index value (for example, variance or standard deviation) of the normalized coordinates of the reference position of each lead. A variation index value calculation process to be performed, and a lead direction determination process to determine whether the lead extraction direction of the electronic component is two directions or four directions by comparing the variation index value with a predetermined threshold value. It is a thing. Here, the reference position of the lead may be a position determined by a constant reference, such as the center, tip, base, or position away from the tip or base by a predetermined [%].
本発明者らは、リードの取り出し方向、リード本数、パッケージ形状等の異なる様々な電子部品について、各リードの基準位置の座標を正規化して、その基準位置の正規化座標のばらつき指標値(例えば分散又は標準偏差)を算出して、そのばらつき指標値の分布を調べたところ、図4に示すように、2方向のリードのばらつき指標値(例えば分散)の分布と4方向のリードのばらつき指標値(例えば分散)の分布とが分離して現れることが判明した。具体的には、2方向のリードのばらつき指標値の分布が4方向のリードのばらつき指標値の分布よりも大きなばらつき指標値の分布になることが判明した。 The present inventors normalize the coordinates of the reference position of each lead with respect to various electronic components having different lead extraction directions, the number of leads, the package shape, etc., and the variation index value of the normalized coordinates of the reference position (for example, (Variance or standard deviation) is calculated and the distribution of the variation index values is examined. As shown in FIG. 4, the distribution index values (for example, dispersion) of the two directions lead and the variation index of the four directions lead are calculated. It was found that the distribution of values (for example, variance) appears separately. Specifically, it has been found that the distribution index value distribution in the two directions leads to a larger distribution index value distribution than the distribution index value distribution in the four directions.
この特性に着目して、本発明では、予め、2方向のリードのばらつき指標値の分布と4方向のリードのばらつき指標値の分布との間にしきい値を設定しておき、画像データ取り込み手段により取り込んだ電子部品の画像データから算出したばらつき指標値をしきい値と比較して、ばらつき指標値がしきい値よりも大きいか否かでリードの取り出し方向が2方向か4方向かを判別するようにしたものである。このようにすれば、電子部品の画像データに基づいて当該電子部品のリードの取り出し方向が2方向か4方向かを精度良く自動的に判別することができる。 Focusing on this characteristic, in the present invention, a threshold value is set in advance between the distribution index value distribution in two directions and the distribution index value distribution in four directions, and image data capturing means The variation index value calculated from the image data of the electronic component captured by the above is compared with a threshold value, and it is determined whether the lead extraction direction is two directions or four directions depending on whether the variation index value is larger than the threshold value. It is what you do. In this way, it is possible to automatically and accurately determine whether the lead extraction direction of the electronic component is two directions or four directions based on the image data of the electronic component.
この場合、画像データ取り込み手段により取り込んだ電子部品の画像の向き(横方向、縦方向)が基準座標のX方向又はY方向とずれていることが多いと考えられるため、正規化処理を行う前に、電子部品のリードの取り出し方向を基準座標のX方向又はY方向に一致させるように当該電子部品の画像の回転角度を補正した後、各リードの基準位置のX座標とY座標をそれぞれ正規化するようにすると良い。これにより、画像データ取り込み手段により取り込んだ電子部品の画像の向きの影響を受けずに、各リードの基準位置のX座標とY座標を正規化することができる。そして、正規化したX座標とY座標のそれぞれのばらつき指標値を算出し、X座標のばらつき指標値とY座標のばらつき指標値のいずれか一方がしきい値以上であれば、リードの取り出し方向が2方向であると判別するようにすると良い。このようにすれば、リードの取り出し方向が2方向の場合、そのリードの取り出し方向がX方向又はY方向のいずれの方向を向いていても、リードの取り出し方向が2方向か4方向かを精度良く自動的に判別することができる。 In this case, it is considered that the orientation (horizontal direction and vertical direction) of the electronic component image captured by the image data capturing unit is often shifted from the X direction or the Y direction of the reference coordinates. In addition, after correcting the rotation angle of the image of the electronic component so that the lead extraction direction of the electronic component coincides with the X direction or the Y direction of the reference coordinate, the X coordinate and Y coordinate of the reference position of each lead are normalized. It is good to make it. As a result, the X and Y coordinates of the reference position of each lead can be normalized without being affected by the orientation of the image of the electronic component captured by the image data capturing means. Then, the respective variation index values of the normalized X coordinate and Y coordinate are calculated, and if either the X coordinate variation index value or the Y coordinate variation index value is equal to or greater than the threshold value, the lead extraction direction It is good to determine that is in two directions. In this way, when the lead take-out direction is two directions, the lead take-out direction is accurate to determine whether the lead take-out direction is two directions or four directions, regardless of which direction is the X direction or the Y direction. It can be automatically distinguished well.
また、各リードの基準位置の座標を正規化する手法は、特定の正規化手法に限定されず、様々な正規化手法を使用可能であるが、図3に示すように、各リードの基準位置のX座標とY座標を、それぞれ−1.0から+1.0の範囲に収めるように正規化すると良い。このようにすれば、ばらつき指標値(分散や標準偏差等)が0から+1.0の範囲に収まり、判定しやすくなる。 In addition, the method for normalizing the coordinates of the reference position of each lead is not limited to a specific normalization method, and various normalization methods can be used. However, as shown in FIG. It is preferable to normalize the X coordinate and Y coordinate so that they fall within the range of -1.0 to +1.0. In this way, the variation index value (dispersion, standard deviation, etc.) falls within the range of 0 to +1.0, and determination is easy.
以下、本発明を実施するための最良の形態を具体化した一実施例を説明する。
本実施例1で使用するリード方向判別装置は、電子部品の画像データからその電子部品の特徴を表す部品データを作成する部品データ作成システムを使用し、図1に示すように、パーソナルコンピュータ等のコンピュータ11と、部品の画像データを取り込むためのカメラ等の画像データ取り込み手段12と、キーボード、マウス等の入力装置13と、液晶ディスプレイ、CRT等の表示装置14と、後述するプログラムやデータ等を記憶する記憶装置15を備えた構成となっている。
Hereinafter, an embodiment embodying the best mode for carrying out the present invention will be described.
The lead direction discriminating apparatus used in the first embodiment uses a component data creation system that creates component data representing the characteristics of an electronic component from image data of the electronic component, and as shown in FIG. A
コンピュータ11は、後述する図2のリード方向判別プログラムを実行することで、特許請求の範囲でいう正規化手段、ばらつき指標値算出手段、リード方向判別手段としての役割を果たし、画像データ取り込み手段12により取り込んだ電子部品のリードの取り出し方向が2方向か4方向かを判別する。このリードの取り出し方向の判別は、回転角度補正処理、正規化処理、ばらつき指標値算出処理、リード方向判別処理を経て行われる。以下、これら各処理の内容を説明する。
The
[回転角度補正処理]
画像データ取り込み手段12により取り込んだ電子部品の画像の向き(横方向、縦方向)は、基準座標のX方向又はY方向とずれていることが多いと考えられる。そこで、正規化処理を行う前に、電子部品のリードの取り出し方向を基準座標のX方向又はY方向に一致させるように当該電子部品の画像の回転角度を補正する。この回転補正に関しては、作業者が表示装置14の画面に表示された電子部品の画像を見て電子部品の回転角度を判断し、入力装置13を操作して電子部品の回転角度を補正しても良いが、画像処理技術により基準座標(XY座標)に対する電子部品(リード列)の回転角度を算出して、自動的に電子部品の回転角度を補正することが望ましい。尚、リードの取り出し方向が2方向の場合は、そのリードの取り出し方向を基準座標のX方向とY方向のどちらか一方に一致させるように回転角度を補正すれば良い。
[Rotation angle correction processing]
It is considered that the orientation (horizontal direction and vertical direction) of the electronic component captured by the image
この回転角度補正処理を行えば、画像データ取り込み手段12により取り込んだ電子部品の画像の向きの影響を受けずに、各リードの基準位置のX座標とY座標を正規化することができる。
If this rotation angle correction process is performed, the X and Y coordinates of the reference position of each lead can be normalized without being affected by the orientation of the image of the electronic component captured by the image
[正規化処理]
正規化処理では、回転角度補正後の電子部品の画像データに基づいて当該電子部品の各リードの基準位置のX座標とY座標を抽出して、そのX座標とY座標をそれぞれ正規化する。ここで、リードの基準位置は、例えば、リードの中心、先端、付け根、或は、先端又は付け根から所定[%]離れた位置等、一定の基準で定めた位置であれば良い。
[Normalization processing]
In the normalization process, the X coordinate and Y coordinate of the reference position of each lead of the electronic component are extracted based on the image data of the electronic component after the rotation angle correction, and the X coordinate and Y coordinate are normalized. Here, the reference position of the lead may be a position determined by a constant reference, such as the center, tip, base, or position away from the tip or base by a predetermined [%].
また、各リードの基準位置の座標を正規化する手法は、特定の正規化手法に限定されず、様々な正規化手法を使用可能であるが、図3に示すように、各リードの基準位置のX座標とY座標を、それぞれ−1.0から+1.0の範囲に収めるように正規化すると良い。このようにすれば、ばらつき指標値(分散や標準偏差等)が0から+1.0の範囲に収まり、判定しやすくなる。 In addition, the method for normalizing the coordinates of the reference position of each lead is not limited to a specific normalization method, and various normalization methods can be used. However, as shown in FIG. It is preferable to normalize the X coordinate and Y coordinate so that they fall within the range of -1.0 to +1.0. In this way, the variation index value (dispersion, standard deviation, etc.) falls within the range of 0 to +1.0, and determination is easy.
[ばらつき指標値算出処理]
ばらつき指標値算出処理では、正規化したX座標とY座標のそれぞれのばらつき指標値を算出する。本実施例では、ばらつき指標値として分散σx2 ,σy2 を次式により算出する。
[Variation index value calculation processing]
In the variation index value calculation process, each variation index value of the normalized X coordinate and Y coordinate is calculated. In this embodiment, the variances σx 2 and σy 2 are calculated by the following equations as the variation index values.
σx2 =1/n・{(x1 −xav)2 +(x2 −xav)2 +……+(xn −xav)2 }
σy2 =1/n・{(y1 −xav)2 +(y2 −xav)2 +……+(yn −xav)2 }
ここで、nはリードの合計本数、x1 ,x2 ,……,xn は各リードの基準位置のX座標、y1 ,y2 ,…,yn は各リードの基準位置のY座標、xavは各リードの基準位置のX座標の平均値、yavは各リードの基準位置のY座標の平均値であり、次式で算出される。
σx 2 = 1 / n · {(x1 -xav) 2 + (x2 -xav) 2 + ... + (xn -xav) 2 }
σy 2 = 1 / n · {(y1 −xav) 2 + (y2 −xav) 2 + …… + (yn −xav) 2 }
Here, n is the total number of leads, x1, x2,..., Xn is the X coordinate of the reference position of each lead, y1, y2, ..., yn are the Y coordinates of the reference position of each lead, and xav is the lead of each lead. The average value of the X coordinate of the reference position, yav, is the average value of the Y coordinate of the reference position of each lead, and is calculated by the following equation.
xav=1/n・{x1 +x2 +……+xn }
yav=1/n・{y1 +y2 +……+yn }
尚、ばらつき指標値として、分散σx2 ,σy2 に代えて、標準偏差σx,σy(分散の平方根)を算出するようにしても良い。
xav = 1 / n · {x1 + x2 + …… + xn}
yav = 1 / n. {y1 + y2 + ... + yn}
As distribution index value, variance sigma] x 2, instead of .sigma.y 2, the standard deviation sigma] x, may be calculated .sigma.y (the square root of the variance).
本発明者らは、リードの取り出し方向、リード本数、パッケージ形状等の異なる様々な電子部品について、各リードの基準位置の座標を正規化して、その基準位置の正規化座標の分散σx2 ,σy2 を算出して、その分散σx2 ,σy2 の分布を調べたところ、図4に示すように2方向のリードの分散σx2 ,σy2 の分布と4方向のリードの分散σx2 ,σy2 の分布とが分離して現れることが判明した。具体的には、2方向のリードの分散σx2 ,σy2 の分布が4方向のリードの分散σx2 ,σy2 の分布と比較して、σx2 ,σy2 のいずれか一方が大きくなる分布になることが判明した。 The present inventors normalize the coordinates of the reference position of each lead for various electronic components having different lead extraction directions, the number of leads, the package shape, and the like, and the variances σx 2 and σy of the normalized coordinates of the reference position. to calculate the 2, its variance sigma] x 2, was examined the distribution of .sigma.y 2, the variance of the two directions of the lead as shown in FIG. 4 sigma] x 2, variance sigma] x 2 distribution and 4 direction of the lead of .sigma.y 2, .sigma.y It was found that the distribution of 2 appears separately. Specifically, the two directions of the lead dispersion sigma] x 2, variance sigma] x 2 distribution in the four directions lead .sigma.y 2, compared to the distribution of .sigma.y 2, sigma] x 2, one increases the distribution of .sigma.y 2 Turned out to be.
この特性に着目して、本実施例では、予め、2方向のリードの分散σx2 ,σy2 の分布と4方向のリードの分散σx2 ,σy2 の分布との中間に、2方向のリードと4方向のリードとを判別するためのしきい値(例えば0.7)を設定しておく。 Focusing on this characteristic, in the present embodiment, in advance, the two directions of the variance sigma] x 2 lead, variance sigma] x 2 of the distribution and the four-way lead .sigma.y 2, intermediate the distribution of .sigma.y 2, 2 direction of the lead And a threshold value (for example, 0.7) for discriminating between four directions of leads.
[リード方向判別処理]
リード方向判別処理では、画像データ取り込み手段12により取り込んだ電子部品の画像データから上記各処理を経て算出した分散σx2 ,σy2 をそれぞれしきい値と比較して、σx2 とσy2 のいずれか一方がしきい値よりも大きいか否かで、リードの取り出し方向が2方向か4方向かを判別する。
[Lead direction discrimination processing]
In the read direction determination process, the image data capturing means 12 by the dispersion sigma] x 2 from the image data of the electronic component was calculated through the above-mentioned respective processes incorporating the .sigma.y 2 each compared with a threshold value, any sigma] x 2 and .sigma.y 2 Whether or not one of them is larger than the threshold value determines whether the lead extraction direction is two directions or four directions.
以上説明したリード方向の判別は、コンピュータ11によって図2のリード方向判別プログラムに従って次のように実行される。本プログラムが起動されると、まずステップ101で、画像データ取り込み手段12により取り込んだ電子部品のリードの取り出し方向を基準座標のX方向又はY方向に一致させるように当該電子部品の画像の回転角度を補正する。この後、ステップ102に進み、電子部品の画像データに基づいて当該電子部品の各リードの基準位置のX座標とY座標を抽出し、次のステップ103で、図3に示すように、各リードの基準位置のX座標とY座標を、それぞれ−1.0から+1.0の範囲に収めるように正規化する。
The determination of the read direction described above is executed by the
この後、ステップ104に進み、正規化したX座標とY座標のそれぞれの分散σx2 ,σy2 を算出する。そして、次のステップ105で、分散σx2 ,σy2 をそれぞれしきい値(例えば0.7)と比較して、σx2 とσy2 のいずれか一方がしきい値よりも大きければ、ステップ106に進み、2方向のリードと判定し、σx2 とσy2 の両方がしきい値以下であれば、ステップ107に進み、4方向のリードと判定する。
Then, the procedure proceeds to step 104, each of the variance sigma] x 2 of X and Y coordinates normalized to calculate the .sigma.y 2. In the
以上説明した本実施例によれば、画像データ取り込み手段12により取り込んだ電子部品の画像データから各リードの基準位置の座標を正規化して、その基準位置の正規化座標の分散σx2 ,σy2 を算出し、σx2 とσy2 のいずれか一方がしきい値よりも大きいか否かでリードの取り出し方向が2方向か4方向かを判別するようにしたので、電子部品の画像データに基づいて当該電子部品のリードの取り出し方向が2方向か4方向かを精度良く自動的に判別することができる。これにより、作業者の操作ミスでリードの取り出し方向を間違って指定する可能性を無くすことができると共に、部品データ作成の自動化の要求を満たすことができ、部品データの作成に要する手間と時間を省くことができる。 According to the embodiment described above, the coordinates of the reference position of each lead from the image data of the electronic component taken by the image data capturing means 12 is normalized, variance sigma] x 2 normalized coordinates of the reference position, .sigma.y 2 is calculated, since one of sigma] x 2 and .sigma.y 2 are as extraction direction of the lead on whether greater than the threshold value to determine whether two-way or four-way, based on the image data of the electronic component Thus, it is possible to automatically determine whether the lead extraction direction of the electronic component is two directions or four directions with high accuracy. This eliminates the possibility of erroneously specifying the lead take-out direction due to an operator's operation error, satisfies the requirement for automation of component data creation, and saves labor and time required for component data creation. It can be omitted.
11…コンピュータ(正規化手段,ばらつき指標値算出手段,リード方向判別手段)、12…画像データ取り込み手段、13…入力装置、14…表示装置、15…記憶装置
DESCRIPTION OF
Claims (8)
前記電子部品の画像データに基づいて当該電子部品の各リードの基準位置の座標を正規化する正規化処理と、
前記各リードの基準位置の正規化座標のばらつき指標値を算出するばらつき指標値算出処理と、
前記ばらつき指標値を所定のしきい値と比較して前記電子部品のリードの取り出し方向が2方向か4方向かを判別するリード方向判別処理と
を含むことを特徴とする電子部品のリード方向判別方法。 In the electronic component lead direction determining method for determining whether the lead extraction direction of the electronic component is two directions or four directions based on the image data of the electronic component captured by the image data capturing means.
Normalization processing for normalizing the coordinates of the reference position of each lead of the electronic component based on the image data of the electronic component;
A variation index value calculation process for calculating a variation index value of the normalized coordinates of the reference position of each lead;
A lead direction discriminating process comprising: comparing the variation index value with a predetermined threshold value and discriminating whether the lead extraction direction of the electronic component is two directions or four directions. Method.
前記正規化処理では、前記電子部品の各リードの基準位置のX座標とY座標をそれぞれ正規化し、
前記ばらつき指標値算出処理では、前記各リードの基準位置の正規化されたX座標とY座標のそれぞれのばらつき指標値を算出し、
前記リード方向判別処理では、前記X座標のばらつき指標値と前記Y座標のばらつき指標値のいずれか一方が前記しきい値以上であれば、前記電子部品のリードの取り出し方向が2方向であると判別することを特徴とする請求項1に記載の電子部品のリード方向判別方法。 Before performing the normalization process, the rotation angle of the image of the electronic component is corrected so that the lead extraction direction of the electronic component matches the X direction or the Y direction of the reference coordinates,
In the normalization process, the X coordinate and the Y coordinate of the reference position of each lead of the electronic component are respectively normalized,
In the variation index value calculation process, each variation index value of the normalized X coordinate and Y coordinate of the reference position of each lead is calculated,
In the lead direction determination process, when one of the variation index value of the X coordinate and the variation index value of the Y coordinate is equal to or greater than the threshold value, the lead extraction direction of the electronic component is two directions. The method according to claim 1, wherein the electronic component lead direction is determined.
前記電子部品の画像データに基づいて当該電子部品の各リードの基準位置の座標を正規化する正規化手段と、
前記各リードの基準位置の正規化座標のばらつき指標値を算出するばらつき指標値算出手段と、
前記ばらつき指標値を所定のしきい値と比較して前記電子部品のリードの取り出し方向が2方向か4方向かを判別するリード方向判別手段と
を含むことを特徴とする電子部品のリード方向判別装置。 In an electronic component lead direction discriminating apparatus for discriminating whether the lead extraction direction of the electronic component is two directions or four directions based on the image data of the electronic component captured by the image data capturing means.
Normalizing means for normalizing the coordinates of the reference position of each lead of the electronic component based on the image data of the electronic component;
Variation index value calculating means for calculating a variation index value of a normalized coordinate of the reference position of each lead;
A lead direction discrimination means for comparing the variation index value with a predetermined threshold value and discriminating whether the lead extraction direction of the electronic component is two directions or four directions. apparatus.
前記ばらつき指標値算出手段は、前記各リードの基準位置の正規化されたX座標とY座標のそれぞれのばらつき指標値を算出し、
前記リード方向判別手段は、前記X座標のばらつき指標値と前記Y座標のばらつき指標値のいずれか一方が前記しきい値以上であれば、前記電子部品のリードの取り出し方向が2方向であると判別することを特徴とする請求項5に記載の電子部品のリード方向判別装置。 The normalizing unit corrects the rotation angle of the image of the electronic component so that the lead extraction direction of the electronic component matches the X direction or the Y direction of the reference coordinate before performing the normalization process. Normalize the X and Y coordinates of the reference position of each lead of the electronic component,
The variation index value calculation means calculates a variation index value of each normalized X coordinate and Y coordinate of the reference position of each lead,
The lead direction discriminating means is such that when one of the variation index value of the X coordinate and the variation index value of the Y coordinate is not less than the threshold value, the lead extraction direction of the electronic component is two directions. 6. The electronic component lead direction discriminating apparatus according to claim 5, wherein the electronic component lead direction discriminating device is discriminated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005334101A JP4491630B2 (en) | 2005-11-18 | 2005-11-18 | Electronic component lead direction discrimination method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005334101A JP4491630B2 (en) | 2005-11-18 | 2005-11-18 | Electronic component lead direction discrimination method and apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007142162A JP2007142162A (en) | 2007-06-07 |
JP4491630B2 true JP4491630B2 (en) | 2010-06-30 |
Family
ID=38204673
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005334101A Active JP4491630B2 (en) | 2005-11-18 | 2005-11-18 | Electronic component lead direction discrimination method and apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4491630B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113449485B (en) * | 2021-06-24 | 2023-05-26 | 深圳砺芯半导体有限责任公司 | Lead generation method, device, equipment and storage medium |
-
2005
- 2005-11-18 JP JP2005334101A patent/JP4491630B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2007142162A (en) | 2007-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5926881B2 (en) | Image processing component data creation method and image processing component data creation device | |
CN113920502A (en) | Cloud deck adjusting method, device, equipment and medium | |
US6885777B2 (en) | Apparatus and method of determining image processing parameter, and recording medium recording a program for the same | |
JP4491630B2 (en) | Electronic component lead direction discrimination method and apparatus | |
CN111199533B (en) | Image processing apparatus and method | |
JP4890904B2 (en) | Component position detection method and apparatus | |
JP4915940B2 (en) | Image processing data creation method and image processing data creation device | |
CN102759333B (en) | Part rotation angle detection apparatus and image procossing part data generating means | |
JP2870695B2 (en) | Polarity inspection method for mounting polar parts and mounting board appearance inspection method | |
CN107535090B (en) | Device and method for generating component orientation determination data | |
JP4744234B2 (en) | Component positioning method and apparatus | |
JP2007286930A (en) | Method for detecting gravity center of object | |
JP4106301B2 (en) | Component recognition method and apparatus | |
JP4566686B2 (en) | Method and apparatus for determining shape of object | |
JP4757701B2 (en) | Electronic component suction position correction method and apparatus | |
JP4596324B2 (en) | Electronic component lead width detection position determination method, lead width detection method, and apparatus thereof | |
JP4551651B2 (en) | Component recognition method and apparatus | |
JP4674853B2 (en) | Image processing component data creation method and image processing component data creation device | |
WO2022224645A1 (en) | Data creation system and installation system | |
US11200632B2 (en) | Image processing method and image processing apparatus | |
JP2006234793A (en) | Part position detecting method and device | |
JP6822207B2 (en) | Inspection equipment | |
JP4681984B2 (en) | Component positioning method and apparatus | |
JP2008122259A (en) | Method for discriminating object shape, and apparatus | |
CN114429443A (en) | Method for determining polarity of capacitor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20071025 |
|
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: 20100315 |
|
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: 20100315 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4491630 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130416 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130416 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140416 Year of fee payment: 4 |
|
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 |
|
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 |