JPH055127B2 - - Google Patents
Info
- Publication number
- JPH055127B2 JPH055127B2 JP17490783A JP17490783A JPH055127B2 JP H055127 B2 JPH055127 B2 JP H055127B2 JP 17490783 A JP17490783 A JP 17490783A JP 17490783 A JP17490783 A JP 17490783A JP H055127 B2 JPH055127 B2 JP H055127B2
- Authority
- JP
- Japan
- Prior art keywords
- hole
- circuit board
- printed circuit
- camera
- coordinates
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 238000012937 correction Methods 0.000 claims description 16
- 238000012545 processing Methods 0.000 claims description 12
- 238000003780 insertion Methods 0.000 description 18
- 230000037431 insertion Effects 0.000 description 18
- 238000001514 detection method Methods 0.000 description 10
- 238000011179 visual inspection Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 3
- 238000007796 conventional method Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/408—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by data handling or data format, e.g. reading, buffering or conversion of data
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Numerical Control (AREA)
- Control Of Position Or Direction (AREA)
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、電子部品の自動挿入機等に使うNC
データを、自動的に高精度で作成するデータ作成
機に関する。[Detailed Description of the Invention] Industrial Application Field The present invention is an NC for use in automatic insertion machines for electronic parts, etc.
This invention relates to a data creation machine that automatically creates data with high precision.
従来の構成とその問題点
一般に、電子部品の自動挿入機用のデータ、例
えばNCテープ作成機は、X−Yテーブル上にプ
リント基板をセツトし、NCテープに必要なXお
よびYのデータはモニターテレビ上にカメラより
検出、拡大された電子部品のリード部挿入用の穴
の画像を、クロスライン目盛に合致させることに
より測定記憶し、オペレータがキーボードより入
力する操作をすべてこの挿入点について行ない、
最後にNCデータをパンチアウトしていた。Conventional configuration and its problems Generally, data for an automatic insertion machine for electronic parts, such as an NC tape making machine, sets a printed circuit board on an X-Y table, and monitors the X and Y data required for the NC tape. The image of the hole for inserting the lead of the electronic component detected and enlarged by the camera on the TV is measured and memorized by matching it with the cross line scale, and the operator performs all input operations from the keyboard with respect to this insertion point,
Finally, I punched out the NC data.
しかし、従来の方式の精度は、挿入穴の位置と
クロスラインの目盛の合致の判断を目視でやつて
いたため、オペレータの技能等によりその精度に
問題があつた。 However, the accuracy of the conventional method was determined by visual inspection of whether the position of the insertion hole and the scale of the cross line matched, and the accuracy was subject to problems depending on the skill of the operator.
発明の目的
本発明の目的は上記問題点を解消するため、挿
入穴検出カメラとは別に穴位置補正用カメラを設
け、検出カメラを用い従来と同様にオペレータの
目視により挿入穴位置の座標を記憶した後、更に
検出カメラより分解能の高い穴位置補正用カメラ
を用いて挿入穴の中心位置を画像処理により検出
し、得られたデータを用いて目視により得られた
挿入穴位置の座標データの補正処理を行ない、高
精度なNCデータを容易に作成することにある。Purpose of the Invention The purpose of the present invention is to solve the above-mentioned problems by providing a hole position correction camera separate from the insertion hole detection camera, and storing the coordinates of the insertion hole position by visual inspection by the operator using the detection camera as in the past. After that, the center position of the insertion hole is detected by image processing using a hole position correction camera with higher resolution than the detection camera, and the obtained data is used to correct the coordinate data of the insertion hole position obtained by visual inspection. The goal is to process and easily create highly accurate NC data.
発明の構成
本発明は上記目的を達成するため、電子部品の
リード部挿入用の円形の穴が設けられたプリント
基板を上面に固定したX−Yテーブルと、前記X
−Yテーブル上のプリント基板を撮影する第1の
カメラと、前記第1のカメラで撮影されたプリン
ト基板の画像を表示するモニターテレビと、オペ
レータの操作により、前記モニターテレビに表示
されたプリント基板の穴の中心位置と画面上の基
準位置を一致させるように前記X−Yテーブルを
駆動して穴の中心位置の座標を求め、この座標を
記憶する制御手段と、前記第1のカメラと一定の
間隔を置いて配置され、前記X−Yテーブルに固
定されたプリント基板の穴を撮影する第2のカメ
ラと、プリント基板の穴を前記第2のカメラで十
分認識できる照度に保つ投光器と、前記第2のカ
メラで撮影された画像を処理してプリント基板の
穴の中心位置に関する正確な座標を求め、この座
標と画面上の基準位置の間の距離を計算する補正
処理手段とを備え、前記補正処理手段で得られた
距離に関するデータを前記制御手段に記憶された
プリント基板の穴の中心位置の座標に関するるデ
ータに加・減算し、NC制御用のデータを作成す
るようにしたものであり、自動挿入機等における
電子部品の誤挿入による工程不良を減少させるこ
とができるものである。Structure of the Invention In order to achieve the above object, the present invention includes an
- a first camera that photographs the printed circuit board on the Y table; a monitor television that displays the image of the printed circuit board photographed by the first camera; and a printed circuit board that is displayed on the monitor television by an operator's operation. a control means for determining the coordinates of the center position of the hole by driving the X-Y table so as to match the center position of the hole with the reference position on the screen, and storing the coordinates; a second camera that is arranged at an interval of , and photographs the hole in the printed circuit board fixed to the X-Y table, and a floodlight that maintains the illuminance at a level sufficient to allow the second camera to recognize the hole in the printed circuit board; comprising a correction processing means for processing the image taken by the second camera to obtain accurate coordinates regarding the center position of the hole in the printed circuit board, and calculating a distance between the coordinates and a reference position on the screen; Data regarding the distance obtained by the correction processing means is added to and subtracted from data regarding the coordinates of the center position of the hole in the printed circuit board stored in the control means to create data for NC control. This can reduce process defects caused by incorrect insertion of electronic components in automatic insertion machines and the like.
実施例の説明
第1図は本発明の実施例におけるNCテープ作
成機の構成を示すものである。以下、第1図に基
づいてその動作を説明する。DESCRIPTION OF EMBODIMENTS FIG. 1 shows the configuration of an NC tape making machine in an embodiment of the present invention. The operation will be explained below based on FIG.
まず、NCテープ作成機1のXYテーブル2に
固定されたプリント基板3の挿入穴を、比較的視
野の広い検出カメラ4で撮影し、モニターテレビ
5に表示する。オペレータのキーボード操作によ
りX−Yテーブル2を移動し、挿入穴の中心位置
の座標を画面上の基準位置であるクロスライン目
盛りに合致させることにより求め、制御器10の
記憶部に記憶する。 First, the insertion hole of the printed circuit board 3 fixed to the XY table 2 of the NC tape making machine 1 is photographed by the detection camera 4 having a relatively wide field of view, and the photograph is displayed on the monitor television 5. The X-Y table 2 is moved by the operator's keyboard operation, and the coordinates of the center position of the insertion hole are determined by matching them with the cross line scale, which is the reference position on the screen, and are stored in the storage section of the controller 10.
しかし、最終位置をオペレータの目視判定にた
よつているため、第2図の6に示すように基板穴
が真円であればともかく、7に示すように長円形
あるいは一部切欠きのものもあり、その精度に問
題がある。 However, since the final position is determined by the operator's visual judgment, although the board holes may be perfectly round as shown in 6 in Figure 2, they may also be oval or partially cut out as shown in 7. , there is a problem with its accuracy.
そこで、本発明では検出カメラ4より視野は狭
いが分解能の高い穴位置補正用カメラ8を検出カ
メラ4から一定の距離9に位置させ、検出カメラ
4との位置の差を制御器10の記憶部に格納して
おき、従来までなら挿入穴位置が検出カメラ4の
下にきていた動作を補正用カメラ8の下にくるよ
うXYテーブルのNC動作を行なわせる。 Therefore, in the present invention, a hole position correction camera 8 which has a narrower field of view but higher resolution than the detection camera 4 is located at a fixed distance 9 from the detection camera 4, and the difference in position with the detection camera 4 is stored in the memory of the controller 10. The NC operation of the XY table is performed so that the position of the insertion hole is placed under the correction camera 8, whereas conventionally the insertion hole position was under the detection camera 4.
NC動作で最初の穴位置にきた時検出した第3
図のような穴12を補正処理装置13で画像処理
を行なう。 The third hole detected when the first hole position was reached during NC operation.
A correction processing device 13 performs image processing on a hole 12 as shown in the figure.
まず、投光器14でプリント基板3の挿入穴を
照射し、補正用カメラ8で検出した第3図の穴1
5と前もつて設定した走査線16と穴の外周と交
わる2つの点の垂直2等分線をもとめ、その線と
穴の外周と交わる2点の2等分された点すなわち
穴の中心17の位置の座標を求め、この座標と補
正用カメラ13の画面の中心すなわち目視での
NCの値18との差を求める。 First, the light emitter 14 illuminates the insertion hole of the printed circuit board 3, and the correction camera 8 detects the hole 1 in FIG.
5. Find the perpendicular bisector of the two points that intersect the scanning line 16 previously set and the outer periphery of the hole, and find the bisected point of the two points that intersect the line and the outer periphery of the hole, that is, the center 17 of the hole. Find the coordinates of the position of
Find the difference from the NC value of 18.
なお、挿入穴が長円形あるいは一部切欠の場合
には、X軸又はY軸に平行な直線のうち挿入穴と
交わる線のY座標又はX座標の最大値と最小値の
平均値を求めて穴の中心位置とする方法が考えら
れる。 In addition, if the insertion hole is oval or partially cut out, calculate the average value of the maximum and minimum values of the Y coordinate or X coordinate of a straight line parallel to the X or Y axis that intersects with the insertion hole. One possible method is to set it at the center of the hole.
次に、上記の処理により得られた長さのデータ
を補正処理装置13の出力として制御器10へ送
り、既に記憶されている目視でのNCの値に加算
あるいは減算させることで高精度の補正が行なえ
る。 Next, the length data obtained through the above processing is sent to the controller 10 as the output of the correction processing device 13, and is added or subtracted from the already stored visually observed NC value to perform high-precision correction. can be done.
以上の動作を各挿入点について行なうことで、
目視にたよらない高信頼度なNCテープの作成が
可能となる。 By performing the above operations for each insertion point,
It becomes possible to create highly reliable NC tape that does not rely on visual inspection.
発明の効果
本発明は、最終判断を目視にたよつていた従来
の方式に比べ、自己補正機能を追加することで雑
な精度NCテープでも高精度なものとすることが
可能となり、さらに自動的にデータの書き換えを
行なうので初心者でも充分問題なくデータを作成
できるようになつた。Effects of the Invention Compared to the conventional method that relied on visual inspection to make the final judgment, the present invention adds a self-correction function, making it possible to achieve high precision even with rough precision NC tape, and furthermore automatically Since the data is rewritten automatically, even beginners can now create data without any problems.
第1図は、本発明の一実施例におけるNCテー
プ作成機の構成図、第2図は検出カメラでとらえ
た時のモニターテレビの表示画面図、第3図は補
正用カメラでとらえた時のモニターテレビの表示
画面図である。
2……XYテーブル、3……プリント基板、4
……検出カメラ、5……モニターテレビ、8……
補正用カメラ、13……補正処理装置、14……
投光器、19……モニターテレビ。
Figure 1 is a block diagram of an NC tape creation machine according to an embodiment of the present invention, Figure 2 is a diagram of the display screen of a monitor TV when captured by a detection camera, and Figure 3 is a diagram of a display screen captured by a correction camera. It is a display screen diagram of a monitor television. 2...XY table, 3...Printed circuit board, 4
...Detection camera, 5...Monitor TV, 8...
Correction camera, 13... Correction processing device, 14...
Floodlight, 19...Monitor TV.
Claims (1)
られたプリント基板を上面に固定したX−Yテー
ブルと、 前記X−Yテーブル上のプリント基板を撮影す
る第1のカメラと、 前記第1のカメラで撮影されたプリント基板の
画線を表示するモニターテレビと、 オペレータの操作により、前記モニターテレビ
に表示されたプリント基板の穴の中心位置と画面
上の基準位置を一致させるように前記X−Yテー
ブルを駆動して穴の中心位置の座標を求め、この
座標を記憶する制御手段と、 前記第1のカメラと一定の間隔を置いて配置さ
れ、前記X−Yテーブルに固定されたプリント基
板の穴を撮影する第2のカメラと、 プリント基板の穴を前記第2のカメラで十分認
識できる照度に保つ投光器と、 前記第2のカメラで撮影された画像を処理して
プリント基板の穴の中心位置に関する正確な座標
を求め、この座標と画面上の基準位置との間の距
離を計算する補正処理手段とを備え、 前記補正処理手段で得られた距離に関するデー
タを前記制御手段に記憶されたプリント基板の穴
の中心位置の座標に関するデータに加・減算し、
NC制御用のデータを作成するデータ作成機。[Scope of Claims] 1. An X-Y table on which a printed circuit board having a circular hole for inserting a lead portion of an electronic component is fixed; and a first X-Y table for photographing the printed circuit board on the X-Y table. a camera; a monitor television displaying the image line of the printed circuit board photographed by the first camera; and an operator's operation to determine the center position of the hole of the printed circuit board displayed on the monitor television and the reference position on the screen. control means for determining the coordinates of the center position of the hole by driving the X-Y table so as to match the coordinates, and storing the coordinates; a second camera that photographs a hole in a printed circuit board fixed to a table; a floodlight that maintains illuminance sufficient for the second camera to recognize the hole in the printed circuit board; and processing images photographed by the second camera. correction processing means for determining accurate coordinates regarding the center position of the hole in the printed circuit board and calculating a distance between the coordinates and a reference position on the screen; and data regarding the distance obtained by the correction processing means. is added to and subtracted from the data regarding the coordinates of the center position of the hole in the printed circuit board stored in the control means,
A data creation machine that creates data for NC control.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP17490783A JPS6065310A (en) | 1983-09-20 | 1983-09-20 | Data producer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP17490783A JPS6065310A (en) | 1983-09-20 | 1983-09-20 | Data producer |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS6065310A JPS6065310A (en) | 1985-04-15 |
JPH055127B2 true JPH055127B2 (en) | 1993-01-21 |
Family
ID=15986779
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP17490783A Granted JPS6065310A (en) | 1983-09-20 | 1983-09-20 | Data producer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6065310A (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2541164B2 (en) * | 1987-09-28 | 1996-10-09 | 株式会社安川電機 | Encoder eccentricity adjustment method and apparatus |
JP2646776B2 (en) * | 1989-12-28 | 1997-08-27 | 日立工機株式会社 | Vision correction positioning device |
-
1983
- 1983-09-20 JP JP17490783A patent/JPS6065310A/en active Granted
Also Published As
Publication number | Publication date |
---|---|
JPS6065310A (en) | 1985-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5739846A (en) | Method of inspecting component placement accuracy for each first selected circuit board to be assembled of a batch | |
US20050117024A1 (en) | Gradient displaying method of mobile terminal | |
US7715614B2 (en) | Method and device for producing component data | |
JPH055127B2 (en) | ||
JPH1140996A (en) | Component mounting device and method for calibrating its recognized position | |
JP2952671B2 (en) | Method and apparatus for creating numerical control data for mounting printed circuit boards and mounting apparatus equipped with the apparatus | |
JPH09196637A (en) | Method for measuring bend angle of long material | |
KR100293698B1 (en) | Pattern inspection apparatus for pdp and method thereof | |
JPS61243303A (en) | Visual inspection system for mounted substrate | |
JP3123275B2 (en) | Inspection data creation method for electronic parts shortage inspection | |
JPH0611321A (en) | Method for inspecting solder printing | |
JPH0415883A (en) | Picture processor | |
JP2501205B2 (en) | Component insertion position correction method for electronic component automatic insertion machine | |
JP3013255B2 (en) | Shape measurement method | |
JPH095033A (en) | Inspecting apparatus for mounted part of printed-circuit board | |
JPS61194305A (en) | Shape inspecting apparatus | |
JPS62277506A (en) | Inspecting device for package of parts | |
JPH06235699A (en) | Inspection method for mounted component | |
JPH0961116A (en) | Article inspection method and device | |
JPS63133699A (en) | Method of correcting position of component insertion in electronic component automatic inserter | |
JPH01131403A (en) | Outward appearance inspecting method | |
JPH04361104A (en) | Detecting system of position of substrate mark | |
JPS6036120B2 (en) | Chip-shaped component positional deviation inspection device | |
JP3483971B2 (en) | How to create component data | |
JP2888368B2 (en) | Position measuring device |