JPH08228096A - Detecting method for ic position - Google Patents

Detecting method for ic position

Info

Publication number
JPH08228096A
JPH08228096A JP7031896A JP3189695A JPH08228096A JP H08228096 A JPH08228096 A JP H08228096A JP 7031896 A JP7031896 A JP 7031896A JP 3189695 A JP3189695 A JP 3189695A JP H08228096 A JPH08228096 A JP H08228096A
Authority
JP
Japan
Prior art keywords
lead
lead terminal
terminal group
calculated
terminals
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7031896A
Other languages
Japanese (ja)
Other versions
JP3639336B2 (en
Inventor
Hiroaki Morooka
博明 師岡
Masato Ozawa
正人 小沢
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.)
Juki Corp
Original Assignee
Juki Corp
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 Juki Corp filed Critical Juki Corp
Priority to JP03189695A priority Critical patent/JP3639336B2/en
Publication of JPH08228096A publication Critical patent/JPH08228096A/en
Application granted granted Critical
Publication of JP3639336B2 publication Critical patent/JP3639336B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Supply And Installment Of Electrical Components (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

PURPOSE: To make it possible to detect the positions of ICs, including ICs with missing lead terminals, with accuracy, by calculating lead bend for each group of lead terminals on respective side to select a lead terminal with a less bend, and detecting the central position of each group of the lead terminals on respective sides according to the position data on the selected lead terminals. CONSTITUTION: Regression straight lines L1, L2 indicating the correlation between lead terminal numbers and the coordinates of the detected positions of the tips of the lead terminals, are drawn. Lead bends are calculated from the regression straight lines, and regression straight lines L1', L2' are drawn again based on data indicating less lead bends, that is, some data at short distances from the regression straight lines L1, L2. The coordinates for the numbers of the central lead terminals in upper lead terminal groups are calculated from the regression straight lines L1', L2', and the results of the calculations are stored as the coordinates of the central positions of the upper lead terminal groups. Then a microcomputer 6 detects the central position of the group of the lead terminals on each side of IC 100, and calculates the central position and inclination of the IC. It then creates correcting data and outputs it to a position control circuit 7.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、チップマウンタ等に
供給されたIC(集積回路でLSIも含む)の位置を精
度よく検出するIC位置検出方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an IC position detecting method for accurately detecting the position of an IC (an integrated circuit including an LSI) supplied to a chip mounter or the like.

【0002】[0002]

【従来の技術】例えば、チップマウンタを用いて表面実
装用等のICをプリント基板上に自動的に装着すること
が行なわれているが、その際、正確に所定の位置に装着
するためには、ICの位置及び姿勢を正確に制御する必
要がある。
2. Description of the Related Art For example, an IC for surface mounting is automatically mounted on a printed circuit board by using a chip mounter. At this time, in order to mount the IC accurately at a predetermined position, , The position and orientation of the IC must be controlled accurately.

【0003】そのため、従来からチップマウンタに供給
されたICを1個ずつ補正用テーブル上にセットしてそ
の中心位置及び傾きを検出し、それが規定の状態になる
よう補正制御してから、ピックアップでつまんでプリン
ト基板上へ搬送することが行なわれていた。
Therefore, the ICs conventionally supplied to the chip mounter are set one by one on the correction table, the center position and inclination of the ICs are detected, and correction control is performed so that it becomes a prescribed state, and then the pickup is performed. It has been carried out by pinching with and carrying it onto a printed circuit board.

【0004】ところで、このような表面実装用等のIC
には、高さの低い直方体状のパッケージの対向する長手
方向の2側面に多数のリード端子(ピン)が間隔を置い
て列設されたSOP型と、4側面にそれぞれリード端子
(ピン)が列設されたQFP型等がある。
By the way, such an IC for surface mounting is used.
The SOP type in which a large number of lead terminals (pins) are arranged in a row on two side surfaces in the longitudinal direction facing each other of a rectangular parallelepiped package having a low height, and the lead terminals (pins) are respectively arranged on four side surfaces. There are QFP type etc. lined up.

【0005】このようなICのセットされた位置及び傾
きを検出する方法としては、従来からそのICをTVカ
メラで撮像して、その画像データを処理することによっ
て検出する方法がとられていた。
As a method of detecting the set position and inclination of such an IC, a method of detecting the IC by imaging the IC with a TV camera and processing the image data has been conventionally used.

【0006】しかし、通常ICのパッケージ自体にはモ
ールド誤差があるため、各側面のリード端子群の画像デ
ータの重心を求め、その各重心の位置からICの中心位
置及び傾きを検出するようにしていた。
However, since the IC package itself usually has a molding error, the center of gravity of the image data of the lead terminal group on each side is obtained, and the center position and inclination of the IC are detected from the position of each center of gravity. It was

【0007】[0007]

【発明が解決しようとする課題】しかしながら、例えば
図8の(A)に示すようにパッケージ101の4側面1
01a〜101dにそれぞれリード端子102が列設さ
れたQFP型のIC100、あるいは(B)に示すよう
にパッケージ101の長手方向の2側面101a、10
1bにのみリード端子102が列設されたSOP型のI
C100′のいずれにおいても、リード端子102が一
定の間隔で全て実存しているとは限らず、特にカスタム
チップのような場合、特定リード端子102を故意に取
り除いたものがあり、その取り除くリード端子について
は何の取り決めもない。
However, for example, as shown in FIG. 8A, the four side faces 1 of the package 101 are provided.
01a to 101d, the QFP type IC 100 in which the lead terminals 102 are arranged in rows, or, as shown in FIG.
SOP type I in which lead terminals 102 are provided in line only on 1b
In all of C100 ', not all the lead terminals 102 exist at regular intervals. Especially, in the case of a custom chip, there is a case where the specific lead terminal 102 is intentionally removed. There is no agreement about.

【0008】このように一部のリード端子が欠落してい
るICの中心位置は、上述したリード端子群の重心位置
からは正確に求めることができず、欠落したリード端子
に対する補正を行なうことも非常に困難であり、仮に欠
落したリード端子の分を補完するようなことができたと
しても、リード端子の欠落位置や本数が変わるとロジッ
クあるいはプログラムを作り直さなければならなくなる
という問題があった。また、全てのリード端子から端子
群の中心を求めると一部のリード端子の曲りが結果に大
きく影響するという問題もあった。
As described above, the center position of the IC in which some of the lead terminals are missing cannot be accurately obtained from the center of gravity of the lead terminal group described above, and the missing lead terminals may be corrected. It is very difficult, and even if it is possible to compensate for the missing lead terminals, there is a problem that logic or programs must be recreated if the missing positions or the number of lead terminals change. Further, when the center of the terminal group is obtained from all the lead terminals, there is a problem that the bending of some of the lead terminals greatly affects the result.

【0009】この発明は、上記の点に鑑みてなされたも
のであり、任意のリード端子が欠落しているICを含む
全てのICの位置を精度よく検出できるIC位置検出方
法を提供することを課題とする。
The present invention has been made in view of the above points, and it is an object of the present invention to provide an IC position detecting method capable of accurately detecting the positions of all ICs including ICs in which arbitrary lead terminals are missing. It is an issue.

【0010】[0010]

【課題を解決するための手段】本発明では、上記の課題
を解決するために、パッケージの対向する2側面あるい
は4側面にそれぞれ複数本のリード端子が間隔を置いて
列設されたICの画像データを処理して、そのICの位
置を検出する方法であって、前記各側面のリード端子群
毎に、各リード端子位置のデータ値からリード曲りを計
算し、その内リード曲りの少ないリード端子を選択し、
選択されたリード端子の位置データ値から前記各側面の
リード端子群の中央位置を検出する構成が採用されてい
る。
According to the present invention, in order to solve the above-mentioned problems, an image of an IC in which a plurality of lead terminals are arranged at intervals on two opposite side surfaces or four side surfaces of a package. A method of processing data to detect the position of the IC, wherein lead bending is calculated from the data value of each lead terminal position for each lead terminal group on each side surface, and lead terminals with less lead bending are calculated. Select
A configuration is adopted in which the central position of the lead terminal group on each side surface is detected from the position data value of the selected lead terminal.

【0011】又、本発明では、前記各側面のリード端子
群毎に、各リード端子位置のデータ値からリード曲りを
計算し、前記リード端子群を複数個のエリアに分割し、
分割されたエリアからリード曲りが少ないエリアを選択
し、選択されたエリアのリード端子の位置データ値から
前記各側面のリード端子群の中央位置を検出する構成並
びに、前記各側面のリード端子群毎に、各リード端子位
置のデータ値からリード曲りを計算し、前記リード端子
群を複数個のエリアに分割し、分割された各エリアから
リード曲りの少ないリード端子を選択し、選択されたリ
ード端子の位置データ値から前記各側面のリード端子群
の中央位置を検出する構成も採用されている。
Further, in the present invention, the lead bending is calculated from the data value at each lead terminal position for each lead terminal group on each side surface, and the lead terminal group is divided into a plurality of areas.
A configuration in which an area with less lead bending is selected from the divided areas, and the central position of the lead terminal group on each side surface is detected from the position data value of the lead terminal in the selected area, and each lead terminal group on each side surface In addition, the lead bending is calculated from the data value at each lead terminal position, the lead terminal group is divided into a plurality of areas, the lead terminals with less lead bending are selected from each divided area, and the selected lead terminals are selected. A configuration is also adopted in which the central position of the lead terminal group on each side surface is detected from the position data value of.

【0012】この場合、リード曲りは、リード端子位置
のデータ値から求められる回帰直線からのずれとして計
算される。さらに、上記の方法で検出した互いに対向す
る各側面のリード端子群の中央位置のx座標の平均値と
y座標の平均値を算出してICの中心位置が検出され、
また上記の方法によって検出した互いに対向する各側面
のリード端子群の中央位置のx座標の差とy座標の差と
の比によってICの傾きが検出される。
In this case, the lead bend is calculated as a deviation from the regression line obtained from the data value of the lead terminal position. Furthermore, the center position of the IC is detected by calculating the average value of the x-coordinates and the average value of the y-coordinates of the center positions of the lead terminal groups on the respective side surfaces facing each other, which are detected by the above method.
Further, the inclination of the IC is detected by the ratio of the difference between the x-coordinate and the difference between the y-coordinates of the central positions of the lead terminal groups on the side surfaces facing each other, which are detected by the above method.

【0013】[0013]

【作用】この発明によるIC位置検出方法は、パッケー
ジの各側面のリード端子群に対し、その各リード端子が
存在し得る全ての位置に付与した一連の番号と座標値と
の相関関係を示す回帰直線を求め、その回帰直線からの
ずれの少ない(リード曲りが少ない)リード端子を選択
し、その選択されたリード端子の位置データ値から、各
リード端子群の中央の番号(リード端子が実在しない番
号や2本のリード端子の中間の番号になる場合もある)
に対する座標値を求めて、各リード端子群の中央位置を
検出するので、どのようなリード端子パターンのICで
あっても、またリード曲りが著しいICであっても、そ
の各側面のリード端子群の中央位置を、欠落したリード
端子およびリード曲りが著しいリード端子の影響を受け
ることなく精度よく検出することができる。
The IC position detecting method according to the present invention is a regression showing a correlation between a series of numbers assigned to all positions where each lead terminal can exist and a coordinate value for the lead terminal group on each side of the package. Obtain a straight line, select a lead terminal with less deviation from the regression line (less lead bending), and select the center number of each lead terminal group (lead terminal does not exist) from the position data value of the selected lead terminal. (It may be the number or the number between the two lead terminals.)
Since the center position of each lead terminal group is detected by obtaining the coordinate value for each of the lead terminal groups, the lead terminal group on each side surface can be used for any IC of any lead terminal pattern or an IC with a marked lead bend. It is possible to accurately detect the central position of the position without being affected by the missing lead terminal and the lead terminal having a significant lead bending.

【0014】さらに、対向する各側面のリード端子群の
中央位置の座標値から、ICの中心位置の座標値や傾き
も容易に検出することができる。
Further, the coordinate value of the central position of the IC and the inclination can be easily detected from the coordinate value of the central position of the lead terminal group on each side surface facing each other.

【0015】[0015]

【実施例】以下、この発明の実施例を図面に基づいて具
体的に説明する。図2は、この発明によるIC位置検出
方法を実施するIC位置制御システムの概略構成図であ
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of the present invention will be specifically described below with reference to the drawings. FIG. 2 is a schematic configuration diagram of an IC position control system for implementing the IC position detecting method according to the present invention.

【0016】このIC位置制御システムは、後述する位
置制御機構15の補正テーブル11上にセットされたI
C(図8に示したQFP型のIC100でもSOP型の
IC100′でもよいが、以下「IC100」と記す)
を上方から撮影するTVカメラ1と、そのTVカメラ1
から出力される画像信号をA/D変換するA/D変換回
路2と、その画像データを再びアナログの画像信号に変
換するD/A変換回路3と、その画像信号を表示するデ
ィスプレイ4と、A/D変換された画像データを記憶す
る画像メモリ5と、その記憶された画像データを処理し
て、補正データを作成するマイクロコンピュータ(以下
『マイコン』と略称する)6とからなる補正データ作成
部を備えている。
This IC position control system has an I set on a correction table 11 of a position control mechanism 15 which will be described later.
C (QFP type IC100 or SOP type IC100 'shown in FIG. 8 may be used, but hereinafter referred to as "IC100")
TV camera 1 that shoots from above and the TV camera 1
An A / D conversion circuit 2 for A / D converting the image signal output from the device, a D / A conversion circuit 3 for converting the image data into an analog image signal again, and a display 4 for displaying the image signal. Correction data creation including an image memory 5 that stores A / D converted image data, and a microcomputer (hereinafter abbreviated as “microcomputer”) 6 that processes the stored image data to create correction data It has a section.

【0017】さらに、この補正データを入力して、各ド
ライバ8、9、10に制御信号を出力する位置制御回路
7と、各ドライバ8、9、10によってそれぞれ駆動さ
れるモータM1、M2、M3を駆動源とする補正テーブ
ル(回転テーブル)11、Xテーブル12及びYテーブ
ル13からなる位置補正機構15を備えている。
Further, the position control circuit 7 for inputting the correction data and outputting a control signal to the drivers 8, 9, 10 and the motors M1, M2, M3 driven by the drivers 8, 9, 10 respectively. A position correction mechanism 15 including a correction table (rotary table) 11, an X table 12, and a Y table 13 driven by

【0018】そして、Xテーブル12及びYテーブル1
3は所謂X・Yテーブルであり、モータM2及びM3に
駆動されて補正テーブル11を直交するX軸方向及びY
軸方向へ移動させて、その上にセットされたIC100
の中心位置を基準の位置に合わせる。さらに、モータM
1によって補正テーブル11を回転させてIC100の
傾きをなくす。
Then, the X table 12 and the Y table 1
Reference numeral 3 is a so-called X / Y table, which is driven by motors M2 and M3 to make the correction table 11 orthogonal to the X-axis direction and Y-axis.
Moved in the axial direction and set IC100 on it
Adjust the center position of to the reference position. Furthermore, the motor M
The correction table 11 is rotated by 1 to eliminate the inclination of the IC 100.

【0019】マイコン6は、各種演算処理等を実行する
CPU(中央処理装置)と、プログラムメモリ(RO
M)及びデータメモリ(RAM)等からなり、この発明
によるIC位置検出方法によりIC100の各側面のリ
ード端子群の中央位置を検出し、それからICの中心位
置と傾きを算出して補正データを作成して、それを位置
制御回路7へ出力する。
The microcomputer 6 includes a CPU (central processing unit) for executing various arithmetic processing and a program memory (RO).
M) and a data memory (RAM), etc., the center position of the lead terminal group on each side of the IC 100 is detected by the IC position detecting method according to the present invention, and then the center position and inclination of the IC are calculated to create correction data. Then, it outputs it to the position control circuit 7.

【0020】次に、このマイコン6による上述の処理を
図1のフローチャートにしたがって、図3乃至図5も参
照して説明する。なお、この例ではQFP型のICの位
置を検出してその位置を補正するものとする。
Next, the above-mentioned processing by the microcomputer 6 will be described according to the flowchart of FIG. 1 and also with reference to FIGS. In this example, the position of the QFP type IC is detected and the position is corrected.

【0021】図1に示す処理がスタートすると、図2の
画像メモリ5から補正テーブル11上にセットされたI
C100の画像データを入力する(ステップS1)。
When the process shown in FIG. 1 is started, I set in the correction table 11 from the image memory 5 in FIG.
The image data of C100 is input (step S1).

【0022】ここで、図8に示したQFP型IC100
のバッケージ101の図で上側面101a、下側面10
1b、左側面101c、及び右側面101dに各々列設
されているリード端子群を、それぞれ上側リード端子
群、下側リード端子群、左側リード端子群、及び右側リ
ード端子群という。
Here, the QFP type IC 100 shown in FIG.
In the figure of the package 101 of FIG.
1b, the left side surface 101c, and the right side surface 101d are arranged in a row, respectively, and the lead terminal groups are referred to as an upper lead terminal group, a lower lead terminal group, a left lead terminal group, and a right lead terminal group, respectively.

【0023】そして、まず上側リード端子群の各リード
端子の先端位置(正確には水平に折れ曲がった部分の中
心位置で、図3に×印で示す位置)の座標値を検出し
(ステップS2)、次いで図3に示すように、この例で
は左端側から各リード端子102及び実際には欠落して
いてもリード端子が存在し得る全ての位置に対して、一
連のリード端子番号(1、2、3、・・・・・・)を付
加する(ステップS3)。
Then, first, the coordinate value of the tip end position of each lead terminal of the upper lead terminal group (correctly, the center position of the horizontally bent portion, the position indicated by an X mark in FIG. 3) is detected (step S2). Then, as shown in FIG. 3, in this example, a series of lead terminal numbers (1, 2) are provided from the left end side to each lead terminal 102 and all positions where the lead terminals may actually exist even if they are missing. , 3, ... Are added (step S3).

【0024】その後、各リード端子番号と先に検出した
各リード端子の先端位置の座標値(x座標及びy座標)
との相関関係を示す回帰直線L1、L2を作成し、これ
からリード曲り(回帰直線とのずれ)を計算し、リード
曲りの少ないデータ、即ち回帰直線L1、L2からの距
離の短い一部データ(○で示す5つ)から再度回帰直線
L1′、L2′を作成し(図4及び図5に図示)、上側
リード端子群の中央のリード端子番号(図示の例ではリ
ード端子が12本なので6と7の中間の6.5)に対す
る座標値(xu、yu)を各回帰直線L1′、L2′か
ら計算し(ステップS4)、それを上側リード端子群の
中央位置(図3に小さい丸印で示す)の座標値として記
憶する。
Thereafter, each lead terminal number and the coordinate value (x coordinate and y coordinate) of the tip position of each lead terminal detected previously.
Regression straight lines L1 and L2 showing the correlation with are created, and lead bending (deviation from the regression line) is calculated from this, and data with little lead bending, that is, partial data with a short distance from the regression lines L1 and L2 ( The regression lines L1 'and L2' are created again from the five circles indicated by circles (shown in FIGS. 4 and 5), and the lead terminal number at the center of the upper lead terminal group (in the example shown, there are 12 lead terminals is 6). The coordinate value (xu, yu) for the middle 6.5 between 7 and 7 is calculated from each regression line L1 ', L2' (step S4), and it is calculated at the center position of the upper lead terminal group (small circle in FIG. 3). (Shown with) are stored as coordinate values.

【0025】なお、図3において各リード端子102の
先端位置の座標値の平均値によって求めた場合の中央位
置を参考のために小さい三角印で示す。以下同様にし
て、下側リード端子群の中央位置の座標値(xd、y
d)(ステップS5〜S7)、左側リード端子群の中央
位置の座標値(xL、yL)(ステップS8〜S1
0)、右側リード端子群の中央位置の座標値(xr、y
r)(ステップS11〜S13)を順次算出して記憶す
る。
Note that, in FIG. 3, the central position obtained by averaging the coordinate values of the tip positions of the lead terminals 102 is indicated by a small triangle mark for reference. Similarly, the coordinate values (xd, y
d) (steps S5 to S7), coordinate values (xL, yL) of the center position of the left lead terminal group (steps S8 to S1)
0), the coordinate value of the center position of the right lead terminal group (xr, y
r) (steps S11 to S13) are sequentially calculated and stored.

【0026】そして、これらの各リード端子群の中央位
置の座標値に基づいて、ICの中心位置の座標値(x
c、yc)を算出し(ステップS14)、さらに、この
ICのX軸又はY軸に対する領き角度θを算出する(ス
テップS15)。その算出方法については後述する。
Then, based on the coordinate value of the central position of each of these lead terminal groups, the coordinate value of the central position of the IC (x
c, yc) is calculated (step S14), and further the angle θ of the IC with respect to the X-axis or the Y-axis is calculated (step S15). The calculation method will be described later.

【0027】その後、ICの補正量を計算するが(ステ
ップS16)、ICの中心位置の基準座標値が(xs、
ys)であり基準の傾き角度が0゜であるとすると、X
方向の補正量Δx、Y方向の補正量Δy、及び傾き補正
量Δθは、次の計算によって求まる。
Thereafter, the correction amount of the IC is calculated (step S16), but the reference coordinate value of the center position of the IC is (xs,
ys) and the standard tilt angle is 0 °, X
The correction amount Δx in the direction, the correction amount Δy in the Y direction, and the tilt correction amount Δθ are obtained by the following calculations.

【0028】 Δx=xs−xc Δy=ys−yc Δθ=θ この各補正量を補正データとして図2の位置制御回路7
へ出力して(ステップS17)、位置制御機構15を駆
動制御させてIC100の位置及び傾きを補正する。
Δx = xs−xc Δy = ys−yc Δθ = θ The position control circuit 7 of FIG. 2 uses these correction amounts as correction data.
(Step S17), the position control mechanism 15 is driven and controlled, and the position and inclination of the IC 100 are corrected.

【0029】ところで、上述した各リード端子群におけ
る各リード端子番号とその先端位置の座標値(x座標及
びy座標)との相関関係を示す回帰直線は、それぞれ図
4及び図5にL1、L2、L1′、L2′で示すよう
に、各リード端子番号に対するx座標あるいはy座標が
この直線の両側に均等に点在するように、公知の回帰分
析法によって作成することができる。
By the way, regression lines showing the correlation between each lead terminal number in each lead terminal group and the coordinate value (x coordinate and y coordinate) of its tip position are L1 and L2 in FIGS. 4 and 5, respectively. , L1 ′, L2 ′, it can be created by a known regression analysis method so that the x-coordinate or the y-coordinate for each lead terminal number is evenly scattered on both sides of this straight line.

【0030】そこで、図1のフローチャートにおける上
側リード端子群の中央位置を計算する処理のサブルーチ
ンを図6に示す。他のリード端子群の中央位置を計算す
る処理もこれと同様である。
Therefore, FIG. 6 shows a subroutine of processing for calculating the central position of the upper lead terminal group in the flowchart of FIG. The process of calculating the central positions of the other lead terminal groups is similar to this.

【0031】このフローチャートにおいて、各記号は次
の意味を持つ。
In this flowchart, each symbol has the following meaning.

【0032】N(i)…リード端子番号 x(i)…各リード端子の先端位置のx座標 y(i)…同じくy座標 i…リード端子のカウント数 Sn…リード端子番号の積算値 Sx…リード端子の先端位置のx座標の積算値 Sy…同じくy座標の積算値 Sxn…上記x座標とリード端子番号の積の積算値 Syn…上記y座標とリード端子番号の積の積算値 Sx2…上記x座標の二乗の積算値 Sy2…上記y座標の二乗の積算値 N…リード端子群のリード端子の本数 Nc…リード端子群の中央のリード端子番号 xu…上側リード端子群の中央位置のx座標 yu…同じくy座標 まず、図6のステップT1において回帰直線L1、L2
の計算が行なわれる。これは、その右に示すサブルーチ
ン(SUB)に従い計算される。サブルーチンのステッ
プR1からR3において各パラメータを初期化し、ステ
ップR4からR10においてSn、Sx、Sy、Sx
n、Syn、Sx2、Sy2をリード端子iに関して求
め、続いてステップR11でiをインクリメントするこ
とにより全てのリード端子について終了するまでステッ
プR4からR12を繰り返す(ステップR12)。続い
て、ステップR13〜R20において各リード端子位置
のx座標のばらつきが最小になるような直線の勾配bx
と切片ax並びに各リード端子位置のy座標のばらつき
が最小になるような直線の勾配byと切片ayを求め
る。これにより図4および図5に示した回帰直線L1、
L2が求められる。
N (i) ... Lead terminal number x (i) ... x coordinate of tip position of each lead terminal y (i) ... Similarly y coordinate i ... Lead terminal count number Sn ... Integrated value of lead terminal number Sx ... Integrated value of x coordinate of lead terminal tip position Sy ... Similarly, integrated value of y coordinate Sxn ... Integrated value of product of x coordinate and lead terminal number Syn ... Integrated value of product of y coordinate and lead terminal number Sx2 ... Above Integrated value of square of x-coordinate Sy2 ... Integrated value of square of y-coordinate above N ... Number of lead terminals of lead terminal group Nc ... Lead terminal number at center of lead terminal group xu ... x-coordinate of central position of upper lead terminal group yu ... Similarly y coordinate First, in step T1 of FIG. 6, regression lines L1 and L2
Is calculated. This is calculated according to the subroutine (SUB) shown on the right. Each parameter is initialized in steps R1 to R3 of the subroutine, and Sn, Sx, Sy, Sx in steps R4 to R10.
n, Syn, Sx2, and Sy2 are obtained for the lead terminal i, and then the steps R4 to R12 are repeated until all lead terminals are completed by incrementing i in step R11 (step R12). Then, in steps R13 to R20, the gradient bx of a straight line that minimizes the variation in the x coordinate of each lead terminal position.
And the intercept ax and the straight line gradient by and the intercept ay that minimize the variation in the y-coordinate of each lead terminal position. As a result, the regression line L1 shown in FIG. 4 and FIG.
L2 is determined.

【0033】続いて、ステップT2において各リード端
子位置から回帰直線L1、L2への距離を計算し、ソー
ティングを行ない(ステップT3)、その内回帰直線か
らの距離が短い一部のデータを選択する(ステップT
4)。図3〜図5の例では、この選択されたデータはリ
ード端子番号4、6、8、11、12となる。その後、
ステップT5において、これらの選択されたリード端子
についてサブルーチンを利用して同様に回帰直線L1’
とL2’を求める。その後ステップT6においてリード
端子群の中央位置のx座標xu、並びにリード端子群の
中央位置のy座標xyを求める。これを各側面のリード
端子群について実行し、一連の処理を終了する。
Then, in step T2, the distances from the lead terminal positions to the regression lines L1 and L2 are calculated, and sorting is performed (step T3), and a part of the data whose distance from the regression line is short is selected. (Step T
4). In the example of FIGS. 3 to 5, the selected data is the lead terminal numbers 4, 6, 8, 11, and 12. afterwards,
In step T5, a regression line L1 ′ is similarly used for these selected lead terminals by using a subroutine.
And L2 '. Then, in step T6, the x coordinate xu of the central position of the lead terminal group and the y coordinate xy of the central position of the lead terminal group are obtained. This is executed for the lead terminal group on each side surface, and a series of processing is completed.

【0034】次に、図1のフローチャートにおけるIC
の中心位置の座標値(xc、yc)及びX軸又はY軸に
対する傾き角度θの算出方法について説明する。
Next, the IC in the flow chart of FIG.
A method of calculating the coordinate value (xc, yc) of the center position and the tilt angle θ with respect to the X axis or the Y axis will be described.

【0035】図7に示すように、IC100の上下左右
の各側面のリード端子群の各中央位置をu、d、L、r
とし、その各座標値(xu、yu)、(xd、yd)、
(xL、yL)、(xr、yr)が求まると、その互い
に対向する二側面のリード端子群の中央位置uとdある
いはLとrの座標値に基づいて、その各x座標の平均と
y座標の平均を算出することによって、IC100の中
心位置cの座標値(xc、yc)が得られる。
As shown in FIG. 7, the central positions of the lead terminal groups on the upper, lower, left, and right sides of the IC 100 are set to u, d, L, and r.
And their respective coordinate values (xu, yu), (xd, yd),
When (xL, yL) and (xr, yr) are obtained, the average and y of the respective x coordinates are based on the coordinate values of the central positions u and d or L and r of the lead terminal groups on the two side surfaces facing each other. The coordinate value (xc, yc) of the central position c of the IC 100 is obtained by calculating the average of the coordinates.

【0036】すなわち、xc=(xu+xd)/2又は
(xL+xr)/2 yc=(yu+yd)/2又は(yL+yr)/2 となる。QFP型のICの場合には、次のように4点の
座標の平均をとることによってさらに検出精度を上げる
ことができる。
That is, xc = (xu + xd) / 2 or (xL + xr) / 2 yc = (yu + yd) / 2 or (yL + yr) / 2. In the case of a QFP type IC, the detection accuracy can be further improved by averaging the coordinates of four points as follows.

【0037】xc=(xu+xd+xL+xr)/4 yc=(yu+yd+yL+yr)/4 一方、ICの傾き角度θは、互いに対向する二側面のリ
ード端子群の中央位置uとdあるいはLとrのx座標の
差とy座標の差との比を次のように算出することによっ
て求まる。
Xc = (xu + xd + xL + xr) / 4 yc = (yu + yd + yL + yr) / 4 On the other hand, the inclination angle θ of the IC is the difference between the x-coordinates of the central positions u and d or L and r of the lead terminal groups on the two side surfaces facing each other. And the difference between the y-coordinates are calculated as follows.

【0038】θ=(xu−xd)/(yu−yd)又は
(xL−xr)/(yL−yr) QFP型のICの場合には、上記2つの算出結果の平均
をとることによってさらに検出精度を上げることができ
る。
Θ = (xu-xd) / (yu-yd) or (xL-xr) / (yL-yr) In the case of a QFP type IC, it is further detected by taking the average of the above two calculation results. The accuracy can be increased.

【0039】尚、上述した実施例では、各側面のリード
端子群毎に、各リード端子位置のデータ値からリード曲
りを計算し、その内リード曲りの少ないリード端子を選
択し、選択されたリード端子の位置データ値から各側面
のリード端子群の中央位置を求めている。
In the embodiment described above, the lead bend is calculated for each lead terminal group on each side from the data value at each lead terminal position, and the lead lead with the least lead bend is selected and the selected lead is selected. The center position of the lead terminal group on each side is obtained from the terminal position data value.

【0040】しかし、ICの製造上一部のリード端子に
ついてだけ不良箇所が多く発生したり、その並びに特殊
な配列傾向が現れ、位置データ値として不適な場合が発
生する。このために、リード端子群を複数個(例えば2
分割)のエリアに分割し、分割されたエリアからリード
曲りが少ないエリアを選択し、選択されたエリアのリー
ド端子の位置データ値から各側面のリード端子群の中央
位置を検出するようにすることも可能である。この場合
には、リード曲りが多いエリアを排除することができる
ので、より精度のよい検出を行なうことが可能になる。
However, in the manufacture of the IC, many defective portions are generated only in a part of the lead terminals, and in addition, a special array tendency appears, which may result in an unsuitable position data value. For this purpose, a plurality of lead terminal groups (for example, 2
(Division) area, select an area with less lead bending from the divided areas, and detect the center position of the lead terminal group on each side from the position data value of the lead terminals in the selected area. Is also possible. In this case, it is possible to eliminate an area where the lead bend is large, and thus it is possible to perform more accurate detection.

【0041】一方、それとは逆に、リード端子群を複数
個のエリアに分割し、分割された各エリアからリード曲
りの少ないリード端子を選択し、選択されたリード端子
の位置データ値から各側面のリード端子群の中央位置を
検出することも可能である。この場合には、リード曲り
の多いエリアのリード端子も選択されてリード端子群の
中心位置が求められるので、リード端子の配列の不均一
を排除した検出を行なうことが可能になる。
On the other hand, on the contrary, the lead terminal group is divided into a plurality of areas, the lead terminals with less lead bending are selected from each of the divided areas, and each side surface is selected from the position data value of the selected lead terminal. It is also possible to detect the central position of the lead terminal group. In this case, the lead terminals in the area where the lead bends a lot are selected, and the center position of the lead terminal group is obtained, so that it is possible to perform detection while eliminating the non-uniform arrangement of the lead terminals.

【0042】以上説明した例では、リード曲りは、リー
ド端子位置のデータ値から求められる回帰直線からのず
れとして計算されたが、他のリード曲りを求める方法と
して以下のような方法が考えられる。その一つは、隣り
合うリード間の各距離と、予め決められているリード間
隔の設定値あるいは各リード間の距離の平均値または中
央値とを比較する方法である。また、統計的に決められ
た仮想原点(例えば各リード位置の平均値を原点とす
る)と各リード位置の相対距離を予め決められているリ
ード間隔の設定値とリードの実在情報により計算するこ
とができる。このことから、理想的な仮想原点と理想的
な各リード位置の相対距離を比較することでリード曲り
を検出することも可能である。
In the example described above, the lead bend is calculated as a deviation from the regression line obtained from the data value of the lead terminal position, but the following method can be considered as a method of obtaining another lead bend. One of them is a method of comparing each distance between adjacent leads and a predetermined set value of the lead interval or an average value or a median value of the distance between the leads. In addition, a relative distance between a statistically determined virtual origin (for example, an average value of each lead position is used as the origin) and each lead position is calculated based on a preset lead interval setting value and the lead actual information. You can From this, it is also possible to detect the lead bending by comparing the relative distance between the ideal virtual origin and each ideal lead position.

【0043】[0043]

【発明の効果】以上説明してきたように、この発明によ
れば任意のリード端子が欠落しているICを含む全ての
ICの位置、すなわち各側面のリード端子群の中央位
置、ICの中心位置、傾き角等を精度よく検出すること
ができる。
As described above, according to the present invention, the positions of all ICs including the IC in which any lead terminal is missing, that is, the center position of the lead terminal group on each side surface, the center position of the IC. , The tilt angle and the like can be accurately detected.

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

【図1】図2のマイコン6によるこの発明に係る処理の
フローチャートである。
FIG. 1 is a flowchart of processing according to the present invention by a microcomputer 6 of FIG.

【図2】この発明によるIC位置検出方法を実施するI
C位置制御システムの概略構成図である。
FIG. 2 I for implementing the IC position detection method according to the invention
It is a schematic block diagram of a C position control system.

【図3】この発明のIC位置検出方法によって上側リー
ド端子群の中央位置を求める場合の説明図である。
FIG. 3 is an explanatory diagram in a case where a central position of an upper side lead terminal group is obtained by the IC position detecting method of the present invention.

【図4】リード端子番号と各リード端子の先端位置のx
座標との相関関係を示す回帰直線からリード端子群の中
央位置のx座標を求める方法の説明図である。
[Fig. 4] Lead terminal number and x of the tip position of each lead terminal
It is explanatory drawing of the method of calculating | requiring the x coordinate of the center position of a lead terminal group from the regression line which shows correlation with a coordinate.

【図5】リード端子番号と各リード端子の先端位置のy
座標との相関関係を示す回帰直線からリード端子群の中
央位置のy座標を求める方法の説明図である。
FIG. 5: Lead terminal number and y at the tip position of each lead terminal
It is explanatory drawing of the method of calculating | requiring the y coordinate of the center position of a lead terminal group from the regression line which shows correlation with a coordinate.

【図6】図1のフローチャートにおける上側リード端子
群の中央位置を計算する処理のサブルーチンを示すフロ
ーチャートである。
FIG. 6 is a flowchart showing a subroutine of processing for calculating the central position of the upper lead terminal group in the flowchart of FIG.

【図7】図1のフローチャートにおけるICの中心位置
の座標値(xc、yc)及びX軸又はY軸に対する傾き
角度θの算出方法の説明図である。
7 is an explanatory diagram of a method of calculating a coordinate value (xc, yc) of the center position of the IC and an inclination angle θ with respect to the X axis or the Y axis in the flowchart of FIG. 1.

【図8】QFP型及びSOP型のICの例を示す模式的
平面図である。
FIG. 8 is a schematic plan view showing an example of a QFP type IC and a SOP type IC.

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

1 TVカメラ 2 A/D変換回路 3 D/A変換回路 4 ディスプレイ 5 画像メモリ 6 マイクロコンピュータ(マイコン) 7 位置御御回路 8、9、10 ドライバ 11 補正テーブル 12 Xテーブル 13 Yテーブル 100、100′ IC 101 パッケージ 102 リード端子 1 TV camera 2 A / D conversion circuit 3 D / A conversion circuit 4 Display 5 Image memory 6 Microcomputer (microcomputer) 7 Position control circuit 8, 9, 10 Driver 11 Correction table 12 X table 13 Y table 100, 100 ' IC 101 Package 102 Lead terminal

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 パッケージの対向する2側面あるいは4
側面にそれぞれ複数本のリード端子が間隔を置いて列設
されたICの画像データを処理して、そのICの位置を
検出する方法であって、 前記各側面のリード端子群毎に、各リード端子位置のデ
ータ値からリード曲りを計算し、その内リード曲りの少
ないリード端子を選択し、選択されたリード端子の位置
データ値から前記各側面のリード端子群の中央位置を検
出することを特徴とするIC位置検出方法。
1. The package has two opposite sides or four.
A method of processing image data of an IC in which a plurality of lead terminals are arranged in a row on each side surface and detecting the position of the IC, wherein each lead is provided for each lead terminal group on each side surface. It is characterized in that the lead bending is calculated from the data value of the terminal position, the lead terminal with less lead bending is selected, and the central position of the lead terminal group on each side is detected from the position data value of the selected lead terminal. IC position detection method.
【請求項2】 パッケージの対向する2側面あるいは4
側面にそれぞれ複数本のリード端子が間隔を置いて列設
されたICの画像データを処理して、そのICの位置を
検出する方法であって、 前記各側面のリード端子群毎に、各リード端子位置のデ
ータ値からリード曲りを計算し、前記リード端子群を複
数個のエリアに分割し、分割されたエリアからリード曲
りが少ないエリアを選択し、選択されたエリアのリード
端子の位置データ値から前記各側面のリード端子群の中
央位置を検出することを特徴とするIC位置検出方法。
2. Two opposite sides or four of the package.
A method of processing image data of an IC in which a plurality of lead terminals are arranged in a row on each side surface and detecting the position of the IC, wherein each lead is provided for each lead terminal group on each side surface. The lead bending is calculated from the data value of the terminal position, the lead terminal group is divided into a plurality of areas, the area with less lead bending is selected from the divided areas, and the position data value of the lead terminal of the selected area To detect the center position of the lead terminal group on each of the side surfaces.
【請求項3】 パッケージの対向する2側面あるいは4
側面にそれぞれ複数本のリード端子が間隔を置いて列設
されたICの画像データを処理して、そのICの位置を
検出する方法であって、 前記各側面のリード端子群毎に、各リード端子位置のデ
ータ値からリード曲りを計算し、前記リード端子群を複
数個のエリアに分割し、分割された各エリアからリード
曲りの少ないリード端子を選択し、選択されたリード端
子の位置データ値から前記各側面のリード端子群の中央
位置を検出することを特徴とするIC位置検出方法。
3. Two opposite sides or four of the package.
A method of processing image data of an IC in which a plurality of lead terminals are arranged in a row on each side surface and detecting the position of the IC, wherein each lead is provided for each lead terminal group on each side surface. The lead bending is calculated from the data value of the terminal position, the lead terminal group is divided into a plurality of areas, the lead terminal with less lead bending is selected from each divided area, and the position data value of the selected lead terminal is selected. To detect the center position of the lead terminal group on each of the side surfaces.
【請求項4】 前記リード曲りは、リード端子位置のデ
ータ値から求められる回帰直線からのずれとして計算さ
れることを特徴とする請求項1から3までのいずれか1
項に記載のIC位置検出方法。
4. The lead bending is calculated as a deviation from a regression line obtained from a data value of a lead terminal position, and the lead bending is calculated.
Item 7. The IC position detection method according to item.
【請求項5】 検出した互いに対向する各側面のリード
端子群の中央位置のx座標の平均値とy座標の平均値を
算出して前記ICの中心位置を検出することを特徴とす
る請求項1から4までのいずれか1項に記載のIC位置
検出方法。
5. The center position of the IC is detected by calculating an average value of x-coordinates and an average value of y-coordinates of the detected central positions of the lead terminal groups on the respective side surfaces facing each other. The IC position detecting method according to any one of 1 to 4.
【請求項6】 検出した互いに対向する各側面のリード
端子群の中央位置のx座標の差とy座標の差との比によ
って前記ICの傾きを検出することを特徴とする請求項
1から5までのいずれか1項に記載のIC位置検出方
法。
6. The inclination of the IC is detected by the ratio of the difference between the x-coordinate and the difference between the y-coordinates of the detected central positions of the lead terminal groups on the respective side surfaces facing each other. The IC position detection method according to any one of items 1 to 7.
JP03189695A 1995-02-21 1995-02-21 IC position detection method Expired - Fee Related JP3639336B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03189695A JP3639336B2 (en) 1995-02-21 1995-02-21 IC position detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03189695A JP3639336B2 (en) 1995-02-21 1995-02-21 IC position detection method

Publications (2)

Publication Number Publication Date
JPH08228096A true JPH08228096A (en) 1996-09-03
JP3639336B2 JP3639336B2 (en) 2005-04-20

Family

ID=12343790

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03189695A Expired - Fee Related JP3639336B2 (en) 1995-02-21 1995-02-21 IC position detection method

Country Status (1)

Country Link
JP (1) JP3639336B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003035523A (en) * 2001-07-19 2003-02-07 Juki Corp Method and device for parts shape testing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003035523A (en) * 2001-07-19 2003-02-07 Juki Corp Method and device for parts shape testing

Also Published As

Publication number Publication date
JP3639336B2 (en) 2005-04-20

Similar Documents

Publication Publication Date Title
US5079834A (en) Apparatus for and method of mounting electronic components
JP3266429B2 (en) Pattern detection method
CN100566538C (en) Parts data generating device and have the electronic component mounting apparatus of this device
JP3639336B2 (en) IC position detection method
JPH1051198A (en) Electronic component mounting method
JP4915940B2 (en) Image processing data creation method and image processing data creation device
JP2000258121A (en) Master substrate for calibrating a plurality of cameras and calibration method for image recognition camera
KR19980701756A (en) Electronic component mounting device and electronic component mounting method
JP2974037B2 (en) Method and apparatus for inspecting holes in substrate
JP2017130602A (en) Container direction determination device, mounter, and container direction determination method
JP3947386B2 (en) Electronic component mounting method and control device for electronic component mounting apparatus
JPH04361104A (en) Detecting system of position of substrate mark
JP2001015992A (en) Calibration method in component mounting device
WO2020183515A1 (en) Information processing device
JP2004273578A (en) Electronic component mounting method and equipment thereof
JP3348299B2 (en) Lead position inspection method and inspection device
JPH02227785A (en) Recognizing method for circular or rhombic mark
JP3749021B2 (en) Electronic component data input device and electronic component data input method
JPS63133700A (en) Method of correcting position of component insertion in electronic component automatic inserter
JPH02248054A (en) Calculation of angle of bonding component
KR0161023B1 (en) Positional deviation correcting method for printed circuit board
JP2546059B2 (en) IC lead frame shape generator
JPS63132106A (en) Detector for parts
JP2929719B2 (en) Measurement device for parts position
JP3973668B2 (en) Electronic component data input device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040610

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040713

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040906

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041005

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041202

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050114

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

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

Free format text: PAYMENT UNTIL: 20080121

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090121

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090121

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100121

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110121

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110121

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120121

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130121

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees