JPS6249405A - Teaching method for robot - Google Patents

Teaching method for robot

Info

Publication number
JPS6249405A
JPS6249405A JP18920285A JP18920285A JPS6249405A JP S6249405 A JPS6249405 A JP S6249405A JP 18920285 A JP18920285 A JP 18920285A JP 18920285 A JP18920285 A JP 18920285A JP S6249405 A JPS6249405 A JP S6249405A
Authority
JP
Japan
Prior art keywords
hand
robot
coordinate system
workpiece
tip
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.)
Pending
Application number
JP18920285A
Other languages
Japanese (ja)
Inventor
Kenji Ishibashi
研二 石橋
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP18920285A priority Critical patent/JPS6249405A/en
Publication of JPS6249405A publication Critical patent/JPS6249405A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Manipulator (AREA)

Abstract

PURPOSE:To easily determine with a high accuracy a position and an attitude of a robot hand to a work in a short time by installing a distance detecting unit having at least three pieces of distance sensors to a hand tip part of a robot, and thereafter, correcting and teaching a position data which has been seen from a robot coordinate system of the hand tip part. CONSTITUTION:A position of a tip part of a hand 3, which has been seen from a robot coordinate system based on a base part of a robot 1 as a reference is derived from turning angle data theta1-theta6 of each joint in a state that positioning of the hand 3 to the surface of a work 18 has been ended. Next, a correlation of a robot coordinate system, and a hand coordinate system based on the hand tip part as a reference is derived, and a correction processing for converting the hand coordinate system to a coordinate system in which an electrode holder 3a becomes vertical to the surface of the work 18 is executed. Also, a systhesis mis-processing is executed for deriving turning angles theta'1-theta'6 of each joint 2a-2f for realizing a correlation of the corrected hand coordinate system by which the electrode holder 3a becomes vertical and the robot coordinate system, and also the turning angles theta'1-theta'6 are replaced with theta1-theta6, and an attitude and a position of the hand 3 are taught to a robot control device.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は、ロボットの教示方法、とくにはロボットに
、簡単に、かつ短時間で、高い精度にて教示を行う方法
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a method for teaching a robot, and particularly to a method for teaching a robot easily, in a short time, and with high precision.

(従来の技術) 例えば、昨今の自動車車体の組立ラインには多種類のロ
ボットが導入されており、それらのロボットに所要の作
業を行わせるためには、予じめその作業に関する手順、
内容、作動等をロボットに教示する必要がある。
(Prior Art) For example, many types of robots have been introduced to automobile body assembly lines these days.
It is necessary to teach the robot the content, operation, etc.

ところで、ロボットに、所要の作業に関する上述したよ
うな各事項を教示する従来方法としては、例えば、ティ
ーチングペンダント等の手動操作装置を用い、目測によ
りロボットのハンドをワークに対して所定の姿勢で位置
決めするとともに、その位置決め完了時点でのロボット
の各軸の動作量を記憶させる直接形教示方法がある。
By the way, as a conventional method for teaching a robot the above-mentioned matters related to a required work, for example, a manual operating device such as a teaching pendant is used to visually measure the position of the robot's hand in a predetermined posture relative to the workpiece. In addition, there is a direct teaching method in which the amount of movement of each axis of the robot at the time when the positioning is completed is memorized.

(発明が解決しようとする問題点) しかしながら、このような従来の直接形教示方法にあっ
ては、ティーチングペンダント等により、目測によって
ロボットのハンドのワークに対する位置および姿勢決め
を行っているため、例えば、それによってスポット溶接
を行う場合のように、ロボットの作業時におけるそのハ
ンドひいてはそこに設けた溶接用電極とワークとの距離
およびワークに対するその溶接用電極の角度(面直度)
に高い精度が要求される場合には、ハンドの位置および
姿勢決めに多大の時間と労力が必要になるという問題が
あった。
(Problems to be Solved by the Invention) However, in such conventional direct teaching methods, the position and orientation of the robot's hand relative to the workpiece are determined by visual measurement using a teaching pendant, etc. , when performing spot welding, the distance between the robot's hand, the welding electrode installed there, and the workpiece, and the angle (squareness) of the welding electrode with respect to the workpiece.
When high accuracy is required for the hand, there is a problem in that a great deal of time and effort is required to determine the position and posture of the hand.

この発明は、このような従来の問題点に着目してなされ
たものであり、簡単かつ短時間で、ロボットハンドのワ
ークに対する高精度の位置および姿勢決めをもたらし得
るロボソ1トの教示方法を提供することを目的とするも
のである。
The present invention has been made by focusing on these conventional problems, and provides a method for teaching a robot hand that can easily and quickly determine the position and orientation of a robot hand with high precision with respect to a workpiece. The purpose is to

(問題点を解決するための手段および作用)上記目的を
達成するため、この発明では、ロボットのハンド先端部
分に、少な(とも3個の距離センサを有する距離検出ユ
ニットを装着した後、前記ハンド先端部分をワークの所
定位置に対して任意の姿勢で位置決めし、その位置決め
状態で、ロボット座標系からみたハンド先端部分の位置
データと、距離検出ユニットからワークまでの距離デー
タとを求める。そして、前記位置データから、前記ハン
ド先端部分を基準とする座標系と前記ロボット座標系と
の相関関係を求めると共に、前記距離データから、前記
ハンド先端部分を基準とする座標系からみたワークの平
面方程式を求め、この平面方程式および両座標系の前記
相関関係に基いてハンド先端部分がワークに対して所定
の位置および姿勢となるように、前記位置決め状態にお
けるハンド先端部分あ前記ロボット座標系からみた位置
データを補正して教示する。
(Means and effects for solving the problem) In order to achieve the above object, in the present invention, a distance detection unit having a small number (at least three distance sensors) is attached to the tip of the hand of the robot, and then the hand The tip is positioned in an arbitrary posture with respect to a predetermined position of the workpiece, and in that position, position data of the hand tip seen from the robot coordinate system and distance data from the distance detection unit to the workpiece are obtained.Then, From the position data, find the correlation between the coordinate system based on the hand tip and the robot coordinate system, and from the distance data, calculate the plane equation of the workpiece as seen from the coordinate system based on the hand tip. Based on this plane equation and the correlation between both coordinate systems, the position data of the hand tip in the positioning state as seen from the robot coordinate system is determined so that the hand tip has a predetermined position and posture with respect to the workpiece. Correct and teach.

(実施例) 第1図はこの発明の実施に用いるロボットの一例として
のスポット溶接用ロボットを模式的に示す構成図である
。図中1はそのスポット溶接用ロボットを示し、このロ
ボット1は、図中にそれぞれ矢印で示す方向に回動可能
な6個の関節2a〜2fを具え、その先端部には、スポ
ット溶接ガンとして作用するハンド3を有する。
(Example) FIG. 1 is a configuration diagram schematically showing a spot welding robot as an example of a robot used for carrying out the present invention. Reference numeral 1 in the figure indicates the spot welding robot, and this robot 1 is equipped with six joints 2a to 2f that can rotate in the directions indicated by arrows in the figure, and has a spot welding gun at its tip. It has a working hand 3.

ここにおける、このハンド3は、その先端部分に、互い
に対向する電極ホルダー3a、 3bを有するとともに
、それらの電極ホルダー3a、 3bの先端にそれぞれ
取り付けた溶接用電極3cを有しており、溶接作業時に
は、ワークを再溶接用電極3cで挾持し、同時にそれら
に通電してワークの接合を行うべく作用する。この実施
例では、ハンド3によるこのような溶接作業を担保する
ため、ロボット1への教示にあたって、その電極ホルダ
ー3a、 3bの一方、図では上方の電極ホルダー3a
に距離検出ユニット4を着脱自在に装着する。
The hand 3 has electrode holders 3a and 3b facing each other at its tip, and welding electrodes 3c attached to the tips of the electrode holders 3a and 3b, respectively. Sometimes, the workpiece is held between the re-welding electrodes 3c and electricity is applied to them at the same time to join the workpieces. In this embodiment, in order to ensure such welding work by the hand 3, when teaching the robot 1, one of the electrode holders 3a, 3b, the upper electrode holder 3a in the figure, is used.
The distance detection unit 4 is removably attached to the.

距離検出ユニット4は、第2図(A)にその正面図を、
また第2図(B)にその底面図を示すように、電極ホル
ダー3aが貫通する穴を中央部分に有するセンサーホル
ダー5に、例えば渦流センサより成る3個の距離センサ
6a〜6cを、それらの中心軸線が、電極ホルダー38
の中心軸線から半径rの円周上で互いに120゛の間隔
をもち、かつ電極ホルダー3aの中心軸線に平行に位置
するように埋設するとともに、それらの検出端面を、セ
ンサーホルダー5から溶接用電極3c側へ露出させて成
り、例えば固定用ねじなどの固定手段により電極ホルダ
ー3aに固定される。
The front view of the distance detection unit 4 is shown in FIG. 2(A).
Further, as shown in the bottom view of FIG. 2(B), three distance sensors 6a to 6c made of, for example, eddy current sensors are attached to the sensor holder 5, which has a hole in the center through which the electrode holder 3a passes. The central axis line is the electrode holder 38
are buried at a distance of 120° from each other on a circumference with a radius r from the center axis of the electrode holder 3a, and parallel to the center axis of the electrode holder 3a, and their detection end faces are connected to the welding electrode from the sensor holder 5. 3c side, and is fixed to the electrode holder 3a by a fixing means such as a fixing screw, for example.

第3図は第1図に示すロボット1の制御系の構成を示す
ブロック図である。ここで、第1図に示すロボット1の
関節2a〜2fは、入出力インタフェース、中央処理ユ
ニット、メモリー等からなる通常のロボット制御装置1
1により、対応するデジタル−アナログ(D/A)変換
器12a〜12「およびサーボアンプ13a〜13fを
介し、アクチュエータ14a〜14fによって夫々独立
に駆動制御される。また、ロボ7)ハンド3がその先端
部分に有する電極ホルダー3aの位置データとしての、
関節2a〜2「の回動角度θ、〜θ6は各関節に設けた
、例えばアブソリュートエンコーダ等の軸位置検出器1
5a〜15「により検出されてロボット制御装置11に
フィードバンクされる。
FIG. 3 is a block diagram showing the configuration of the control system of the robot 1 shown in FIG. 1. Here, the joints 2a to 2f of the robot 1 shown in FIG.
1, the robot 7) is independently driven and controlled by actuators 14a to 14f via corresponding digital-to-analog (D/A) converters 12a to 12'' and servo amplifiers 13a to 13f. As position data of the electrode holder 3a at the tip,
The rotation angles θ and θ6 of the joints 2a to 2 are determined by the shaft position detector 1, such as an absolute encoder, provided at each joint.
5a to 15'' and are fed to the robot control device 11.

そしてこの実施例ではまた、電極ホルダー3aに取付け
た距離検出ユニット4の3個の距離センサ6a〜6cを
、それらの出力を数値化するセンサインタフェース16
を介してロボット制御装置11に接続すると共に、各関
節を手動操作によって駆動するためのティーチングペン
ダント17をロボット匍H卸装置11に接続する。なお
、ティーチングペンダント17には、位置決め終了スイ
ッチ17aと、補正モードスイッチ17bとを設ける。
In this embodiment, the three distance sensors 6a to 6c of the distance detection unit 4 attached to the electrode holder 3a are connected to a sensor interface 16 that digitizes their outputs.
A teaching pendant 17 is connected to the robot control device 11 via a teaching pendant 17 for manually driving each joint. The teaching pendant 17 is provided with a positioning end switch 17a and a correction mode switch 17b.

ここで、位置決め終了スイッチ17aは、そのオン作動
により、軸位置検出器15a〜15fで検出された各関
節の回動角度データθ、〜θ6を、ロボット制御装置1
1内のメモリに記憶させるための信号を出力するものと
し、補正モードスイッチ17bは、後述する補正モード
を選択するか否かの信号を出力するものとする。
Here, when the positioning end switch 17a is turned on, the rotation angle data θ, to θ6 of each joint detected by the shaft position detectors 15a to 15f are transmitted to the robot control device 1.
It is assumed that the correction mode switch 17b outputs a signal to be stored in the memory in the controller 1, and the correction mode switch 17b outputs a signal indicating whether or not to select a correction mode, which will be described later.

以下、第4図に示すフローチャートを参照しながら、ロ
ボット1への教示工程を説明する。
The teaching process for the robot 1 will be described below with reference to the flowchart shown in FIG.

先ず、ステップ21においてティーチングペンダント1
7によりロボット制御装置11を介して各関節毎に駆動
指令を与え、これにより各関節を駆動してハンド3を第
5図に示すようにワーク18の表面の目標位置P0に対
して位置決めする。なお、ここでの位置決め精度は、ワ
ーク平面に対して電極ホルダー38がほぼ垂直に位置し
、かつワーク平面上の目標位置P0からの垂線上に溶接
用電極3cの端面の中心Pがほぼ位置する程度でよい。
First, in step 21, the teaching pendant 1
7 gives a drive command to each joint via the robot control device 11, thereby driving each joint and positioning the hand 3 with respect to the target position P0 on the surface of the workpiece 18 as shown in FIG. Note that the positioning accuracy here is such that the electrode holder 38 is located approximately perpendicular to the work surface, and the center P of the end surface of the welding electrode 3c is approximately located on a perpendicular line from the target position P0 on the work surface. A certain amount is enough.

そして、バンド3のこのような位置決めが終了したら、
ステップ22で、位置決め終了スイッチ17aをオンに
して、各関節の回動角度データθ、〜θ。
Then, after completing this positioning of band 3,
In step 22, the positioning end switch 17a is turned on, and rotation angle data θ, ~θ of each joint is obtained.

をロボット制御装置11のメモリーに記憶させ、ステッ
プ23において、補正モードスイッチ17bにより、補
正モードを選択するか否かをロボット制御装置11に入
力する。ここで、補正モードを選択する場合にはステッ
プ24およびステップ26に進み、補正モードを選択し
ない場合にはステップ30に進む。
is stored in the memory of the robot control device 11, and in step 23, the correction mode switch 17b is used to input to the robot control device 11 whether or not to select the correction mode. Here, if the correction mode is selected, the process proceeds to step 24 and step 26, and if the correction mode is not selected, the process proceeds to step 30.

補正モードを選択した場合には、ステップ24とステッ
プ26とを並行して行う。ステップ24では、位置決め
終了状態での各関節の回動角度データθ、〜θ6を上述
したメモリーから読み出し、ステップ25においてはそ
れらの、位置データとしての回動角度データθ1〜θ6
から、ロボット1の基部を基準とするロボット座標系Σ
8からみたハンド3の先端部分、ここでは電極ホルダー
3aの先端の溶接用型!13cの位置を求め、それに基
づいて、ロボット座標系Σ、と、ハンド先端部分を基準
とするハンド座標系Σ、との相関関係を求めるアナリシ
ス処理を行う。
If the correction mode is selected, steps 24 and 26 are performed in parallel. In step 24, the rotation angle data θ, ~θ6 of each joint in the positioning completed state is read from the above-mentioned memory, and in step 25, the rotation angle data θ1 ~ θ6 as position data is read out.
, the robot coordinate system Σ with the base of robot 1 as the reference
The tip of the hand 3 seen from 8, here the welding mold for the tip of the electrode holder 3a! 13c is determined, and based on the position, an analysis process is performed to determine the correlation between the robot coordinate system Σ and the hand coordinate system Σ with the tip of the hand as a reference.

これを詳しく説明すると、ここでは、第1図および第5
図に示すように、ロボット座標系Σ8を、ロボット1の
基部の床上における中心Oを原点とし、床面に沿って互
いに直交する方向に向う単位ベクトルx、yおよび床面
から垂直上方へ向う単位ベクトル2で規定される直交座
標系とし、また、ハンド座標系Σ、を、電極ホルダー3
8が保持する溶接用電極3cの先端中心Pを原点とし、
ハンド3のワークへの進入方向、すなわちハンド3の付
根から先端部分へ向うその延在方向の単位ベクトルG、
電極ホルダー38の軸線方向で、それに対向する電極ホ
ルダー3bから遠ざかる方向へ向う単位ベクトル戯なら
びに、単位ベクトル0.艮の両者に直交する単位ベクト
ルので規定される直交座標系とする。そして、ハンド座
標系Σ6からロボット座標系Σ3への変換(Σ6−ΣR
)を行う変換マトリ・ノジスTすなわち、次式を成立さ
せる変換マトリックスTを、各関節の回動角度データθ
1〜θ6から決定する。
To explain this in detail, here we will introduce Figures 1 and 5.
As shown in the figure, the robot coordinate system Σ8 has its origin at the center O of the base of the robot 1 on the floor, unit vectors x and y that extend perpendicularly to each other along the floor, and units that extend perpendicularly upward from the floor. Let the orthogonal coordinate system defined by the vector 2, and the hand coordinate system Σ, be the electrode holder 3.
With the center P of the tip of the welding electrode 3c held by 8 as the origin,
A unit vector G in the direction in which the hand 3 enters the workpiece, that is, in the extending direction from the base to the tip of the hand 3,
In the axial direction of the electrode holder 38, there is a unit vector movement moving away from the electrode holder 3b facing it, and a unit vector 0. Let it be an orthogonal coordinate system defined by a unit vector orthogonal to both of the two. Then, the hand coordinate system Σ6 is converted to the robot coordinate system Σ3 (Σ6−ΣR
), that is, the transformation matrix T that holds the following equation, is converted into the rotation angle data θ of each joint.
Determine from 1 to θ6.

ΣR(0;X+ )i+、z) = TΣh (P;[
、(D、In )すなわち、変換マトリックスTは、ロ
ボット座標系Σ□とハンド座標系Σ、との相関関係を示
し、ハンド3の先端部分の変位とともに変化する。
ΣR(0;X+)i+,z) = TΣh(P;[
, (D, In) That is, the transformation matrix T indicates the correlation between the robot coordinate system Σ□ and the hand coordinate system Σ, and changes with the displacement of the tip of the hand 3.

一方、ステップ26では、第5図に示すように、距離セ
ンサ6a〜6cと対向して位置するワーク1の表面上の
それぞれの点P1〜P3と、距離センサ6a〜6cとの
間の距離d1〜d3を、それぞれの距離センサ6a〜6
cにて測定し、それらをセンサインタフェース16によ
り数値化する。
On the other hand, in step 26, as shown in FIG. to d3 to the respective distance sensors 6a to 6.
c, and convert them into numerical values using the sensor interface 16.

また、ステップ27では、これらの距離d、〜d3と、
あらかじめ定まっている、各距離センサ6a〜6cと溶
接用電極3cの先端Pとのベクトル爪方向の距離d。お
よび距離センサ6a〜6Cの中心軸と電極ホルダー38
の中心軸との距離rとから、ハンド座標系Σ、からみた
ワーク18の表面を表わす平面方程式 %式%) (但し、X′はベクトルC方向、y′はベクトルの方向
、2′はベクトルm方向の座標成分を示す)の!。
Also, in step 27, these distances d, ~d3,
A predetermined distance d between each distance sensor 6a to 6c and the tip P of the welding electrode 3c in the vector claw direction. and the central axis of the distance sensors 6a to 6C and the electrode holder 38
From the distance r from the central axis of ) which indicates the coordinate component in the m direction! .

m、n、dを求める。尚これらは、ワーク18の表面上
の点P1〜P3のハンド座標系Σ1での座標を次式 %式%) :) から求め、これによって、ハンド座標系Σ5の原点Pす
なわち溶接用電極3Cの先端中心からこれらの点P1〜
P3までのベクトル?、、IF2.u’:+を求めて、
次式 %式%) に代入することでそれぞれ求めることができる。
Find m, n, and d. These are obtained by determining the coordinates of points P1 to P3 on the surface of the workpiece 18 in the hand coordinate system Σ1 using the following formula (%):), and thereby determining the origin P of the hand coordinate system Σ5, that is, the coordinates of the welding electrode 3C. From the center of the tip to these points P1~
Vector up to P3? ,,IF2. Find u':+,
Each can be calculated by substituting them into the following formulas.

ここで、(1)式においてl” +m2+n2=1が成
立する(ヘッセの標準形となる)ように41m。
Here, 41 m is set so that l'' + m2 + n2 = 1 holds in equation (1) (Hessian standard form).

n、dをさだめると、ベクトル(n、m、n)はハンド
座標系Σゎからみたワーク18の表面から原点P側へ向
う単位法線ベクトル、dはワーク表面から原点Pまでの
距離となる。
When n and d are determined, the vector (n, m, n) is a unit normal vector from the surface of the workpiece 18 toward the origin P as seen from the hand coordinate system Σゎ, and d is the distance from the workpiece surface to the origin P. Become.

ステップ28では、ステップ27で求めた法線ベクトル
(R,m、n)を、ステップ25で求めた変換マトリッ
クスTを用いて、次式 によりロボット座標系Σ8に座標変換する(Σh→Σ、
I )。
In step 28, the normal vector (R, m, n) obtained in step 27 is transformed into the robot coordinate system Σ8 using the transformation matrix T obtained in step 25 according to the following equation (Σh → Σ,
I).

ここでベクトルm′はロボット座標系Σ7におけるワー
ク表面の単位法線ベクトルをあられす。
Here, the vector m' is the unit normal vector of the workpiece surface in the robot coordinate system Σ7.

/ このステップ28ではさらに、ハンド座標系Σ5の
電極ホルダー3aの軸方向のベクトルれを上記ベクトル
mlに置換するとともに、ハンド座標系Σhの単位ベク
トルG、Oを次式によって変更する。
/ In this step 28, furthermore, the vector in the axial direction of the electrode holder 3a in the hand coordinate system Σ5 is replaced with the above vector ml, and the unit vectors G and O in the hand coordinate system Σh are changed by the following equation.

(D= fftx(1 cr(= g×バ これにより、ハンド座標系Σ、を、Cの方向すなわちハ
ンド3のワーク18に対する進入方向を変化させずに、
電極ホルダー38がワーク18の表面に対して垂直とな
る座標系Σh (P ;a’、 d、* )に変換する
補正処理を行うことができる。尚、この変換では、ワー
ク18の表面から原点Pすなわち溶接用電極3c先端中
心までの距離は、dであって変化しないが、この距離を
、例えばαとしたい場合は、次式 %式%) によって、原点Pをに方向に点P′まで移すことによっ
て、それを行うことができる。
(D= fftx(1 cr(= g×bar) As a result, the hand coordinate system Σ can be changed without changing the direction of C, that is, the direction in which the hand 3 approaches the workpiece 18.
A correction process can be performed to convert the electrode holder 38 into a coordinate system Σh (P; a', d, *) in which it is perpendicular to the surface of the workpiece 18. In addition, in this conversion, the distance from the surface of the workpiece 18 to the origin P, that is, the center of the tip of the welding electrode 3c, is d and does not change, but if you want to use this distance as α, for example, the following formula % formula %) This can be done by moving the origin P in the direction to point P'.

そして、ステップ29では、かかるワーク18の表面に
対し、電極ホルダー3aが垂直となる補正後のハンド座
標系Σぐと、ロボット座標系Σ□との相関関係を実現す
る各関節2a〜2fの回動角度θ′1〜θぐを求めるシ
ンセミス処理を行い、さらに、ステップ30で、これら
の回動角度θ1〜θ6を前記θ1〜θ6と入れ換えて、
ロボット制御装置11のメモリーに記憶させる。すなわ
ち、ロボット制御装置11に、適切なるハンド3の姿勢
および位置を教示する。
Then, in step 29, when the hand coordinate system Σ after correction in which the electrode holder 3a is perpendicular to the surface of the workpiece 18, the rotation of each joint 2a to 2f realizes the correlation with the robot coordinate system Σ□. Synthesis processing is performed to obtain the rotation angles θ'1 to θ, and further, in step 30, these rotation angles θ1 to θ6 are replaced with the aforementioned rotation angles θ1 to θ6,
It is stored in the memory of the robot control device 11. That is, the appropriate posture and position of the hand 3 is taught to the robot control device 11.

以上説明したように、この教示方法によれば、ハンド3
をワーク18の表面の目標位置P0に大まかに位置決め
するだけでロボット1に、ワーク18へのハンド3の進
入方向を変えることなくワーク18に対してハンド3の
電極ホルダー3aを極めて正確に垂直に位置させること
ができるので、ティーチング時間を大巾に短縮し得ると
ともに、高精度かつ高品質の溶接作業をもたらすことが
できる。
As explained above, according to this teaching method, hand 3
By simply roughly positioning the electrode holder 3a of the hand 3 to the workpiece 18 at the target position P0 on the surface of the workpiece 18, the robot 1 can position the electrode holder 3a of the hand 3 perpendicularly to the workpiece 18 with great precision without changing the direction of the hand 3's approach to the workpiece 18. Since the welding device can be positioned at the same position, the teaching time can be greatly shortened, and high-precision and high-quality welding work can be achieved.

尚、ハンド3の高い位置決め精度を必要としない場合に
は、ステップ23において、補正モードを選択しないこ
とにより、ステップ22で記憶させた、大まかな位置決
めの状態下での各関節の回動角度データθ、〜θ6をそ
のまま用いることができる。
If high positioning accuracy of the hand 3 is not required, the rotation angle data of each joint under the rough positioning condition stored in step 22 can be used by not selecting the correction mode in step 23. θ, to θ6 can be used as they are.

また、上述した実施例では電極ホルダー3aをワーク1
8の表面に対して垂直としたが、それを所要に応じて任
意の角度に設定し得ることはもちろんである。
Further, in the embodiment described above, the electrode holder 3a is connected to the workpiece 1.
8 is assumed to be perpendicular to the surface, but it goes without saying that it can be set at any angle as required.

さらに、距離検出ユニット4を着脱自在としているので
、教示後に、これを取り外すことにより、通常の作業を
何ら支障なく行い得るとともに他のロボットにもそのユ
ニット4を共用できるという利点がある。
Furthermore, since the distance detection unit 4 is detachable, it has the advantage that by removing it after teaching, normal work can be carried out without any hindrance, and the unit 4 can also be shared by other robots.

(発明の効果) 以上述べたように、この発明によればロボットハンドの
位置決め状態下で、ハンド先端部分の、ロボット座標系
からみた位置データを求めるとともに、ハンド先端部分
を基準としたハンド座標系からみたワークの平面方程式
を、ハンド先端部分に着脱自在に装着した距離検出ユニ
ットからの距離データに基いて求め、この平面方程式と
前記位置データに基いてハンド先端部分がワークに対し
て所定の位置および姿勢となるように前記位置決め状態
でのロボットの位置データを補正して教示するようにし
たので、教示にあたってのワークに対するハンドの位置
決めを大まかに行っても、ロボットに、ハンドの所定の
位置を極めて正確に教示でき、したがって位置決めを極
めて簡単かっ短時間で、正確に行うことができる。また
、距離検出ユニットを着脱可能としであるので、教示後
にこれを取り外すことにより通常のプレイハック動作を
何ら支障なく行うことができるとともに、各種のロボッ
トに共用できるという利点も有している。
(Effects of the Invention) As described above, according to the present invention, in the positioning state of the robot hand, position data of the tip of the hand as seen from the robot coordinate system is obtained, and the hand coordinate system with the tip of the hand as a reference is A plane equation of the workpiece as viewed from above is determined based on distance data from a distance detection unit detachably attached to the tip of the hand, and the tip of the hand is located at a predetermined position relative to the workpiece based on this plane equation and the position data. Since the position data of the robot in the positioning state is corrected and taught so that the robot has the same posture and posture, even if the hand is roughly positioned relative to the workpiece during teaching, the robot will not know the predetermined position of the hand. It can be taught very accurately and therefore positioning can be done very easily, quickly and accurately. Furthermore, since the distance detection unit is detachable, normal play hack operations can be performed without any problems by removing it after teaching, and there is also the advantage that it can be used commonly for various robots.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の実施に用いるロボットの構成例を模
式的に示す図、 第2図(^)および(B)は第1図に示す距離検出ユニ
ットの構成を示す拡大正面図および拡大底面図、 第3図はロボットの制御系の構成を示すブロック図、 第4図はこの発明の教示方法の一例を示すフローチャー
ト、 第5図はハンドのワークに対する位置決め態様を示す図
である。 1・・・ロボット     28〜2f・・・関節3・
・・ハンド      3a・・・電極ホルダー4・・
・距離検出ユニット 6a〜6c・・・距離センサ  11・・・ロボット制
御装置12a 〜12F =−D/A変換器 13a〜13f・・・サーボアンプ 14a〜14f・・・アクチュエータ 15a〜15f・・・軸位置検出器 16・・・センサインタフェース 17・・・ティーチペンダント 17a・・・位置決め終了スイッチ 17b・・・補正モードスイッチ 18・・・ワーク第
5図
Fig. 1 is a diagram schematically showing an example of the configuration of a robot used to implement the present invention, and Figs. 2 (^) and (B) are an enlarged front view and an enlarged bottom view showing the configuration of the distance detection unit shown in Fig. 1. 3 is a block diagram showing the configuration of the control system of the robot, FIG. 4 is a flowchart showing an example of the teaching method of the present invention, and FIG. 5 is a diagram showing how the hand is positioned with respect to the workpiece. 1... Robot 28~2f... Joint 3.
...Hand 3a...Electrode holder 4...
・Distance detection units 6a to 6c...Distance sensor 11...Robot controller 12a to 12F =-D/A converter 13a to 13f...Servo amplifier 14a to 14f...Actuator 15a to 15f... Axis position detector 16...Sensor interface 17...Teach pendant 17a...Positioning end switch 17b...Correction mode switch 18...Work Figure 5

Claims (1)

【特許請求の範囲】[Claims] 1、ロボットのハンド先端部分に、ワークまでの距離を
検出する少なくとも3個の距離センサを有する距離検出
ユニットを装着した後、前記ハンド先端部分を、ワーク
の所定位置に対して任意の姿勢で位置決めし、その位置
決め状態で、ロボット座標系からみたハンド先端部分の
位置データと、前記距離検出ユニットからワークまでの
距離データとを求め、前記位置データに基いて前記ハン
ド先端部分を基準とするハンド座標系と前記ロボット座
標系との相関関係を求めると共に、前記距離データに基
いて前記ハンド座標系からみた前記ワークの平面方程式
を求め、この平面方程式および前記両座標系の相関関係
に基いて前記ハンド先端部分が、前記ワークに対して所
定の位置および姿勢となるように、前記位置決め状態に
おけるハンド先端部分の、前記ロボット座標系からみた
位置データを補正して教示することを特徴とするロボッ
トの教示方法。
1. After attaching a distance detection unit having at least three distance sensors for detecting the distance to the workpiece to the tip of the robot's hand, position the tip of the hand in an arbitrary posture with respect to a predetermined position of the workpiece. Then, in the positioning state, position data of the hand tip as seen from the robot coordinate system and distance data from the distance detection unit to the workpiece are obtained, and based on the position data, hand coordinates with the hand tip as a reference are determined. In addition to determining the correlation between the system and the robot coordinate system, a plane equation of the workpiece as seen from the hand coordinate system is determined based on the distance data, and based on this plane equation and the correlation between the two coordinate systems, the hand Teaching a robot by correcting positional data of the hand tip in the positioning state as seen from the robot coordinate system so that the tip has a predetermined position and posture with respect to the workpiece. Method.
JP18920285A 1985-08-28 1985-08-28 Teaching method for robot Pending JPS6249405A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18920285A JPS6249405A (en) 1985-08-28 1985-08-28 Teaching method for robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18920285A JPS6249405A (en) 1985-08-28 1985-08-28 Teaching method for robot

Publications (1)

Publication Number Publication Date
JPS6249405A true JPS6249405A (en) 1987-03-04

Family

ID=16237232

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18920285A Pending JPS6249405A (en) 1985-08-28 1985-08-28 Teaching method for robot

Country Status (1)

Country Link
JP (1) JPS6249405A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02303793A (en) * 1989-05-19 1990-12-17 Tokico Ltd Operation detector for robot
JPH03166086A (en) * 1989-11-27 1991-07-18 Fanuc Ltd Touch-up
JPH03281187A (en) * 1990-03-28 1991-12-11 Mitsubishi Electric Corp Work position detecting device
JPH04146043A (en) * 1990-10-08 1992-05-20 Toshiba Corp Nc control device for three dimensional surface cutting machine
US9690427B2 (en) 2014-09-03 2017-06-27 Panasonic Intellectual Property Management Co., Ltd. User interface device, and projector device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02303793A (en) * 1989-05-19 1990-12-17 Tokico Ltd Operation detector for robot
JPH03166086A (en) * 1989-11-27 1991-07-18 Fanuc Ltd Touch-up
JPH03281187A (en) * 1990-03-28 1991-12-11 Mitsubishi Electric Corp Work position detecting device
JPH04146043A (en) * 1990-10-08 1992-05-20 Toshiba Corp Nc control device for three dimensional surface cutting machine
US9690427B2 (en) 2014-09-03 2017-06-27 Panasonic Intellectual Property Management Co., Ltd. User interface device, and projector device

Similar Documents

Publication Publication Date Title
KR100621100B1 (en) method and system for teaching welding robot
US6243621B1 (en) Method of determining workpiece positions including coordinated motion
JP2728399B2 (en) Robot control method
JP2787891B2 (en) Automatic teaching device for laser robot
US7925382B2 (en) Robot controller and robot control method
CN114012719A (en) Zero calibration method and system for six-axis robot
JPS6249405A (en) Teaching method for robot
JPS63162180A (en) Teaching method of robot
JPS58122179A (en) Teaching playback robot for arc welding
JPH06328385A (en) Attitude control of visual sensor of industrial robot
JPS60127987A (en) Method and device for controlling profiling
JP2507298B2 (en) Method for melting angle steel using industrial robot
JP2001051713A (en) Method and device for teaching work to robot
JP2002144034A (en) Device for checking reference position in working tool with robot
JPS5997873A (en) Method of correcting positional displacement of work in robot
JPH05329786A (en) Industrial robot device
JP2654206B2 (en) Touch-up method
JPS6111815A (en) Compensating system of positional shift of robot
JPH0731536B2 (en) Teaching data correction robot
JPS6039207A (en) Automatic teaching method of industrial robot
JPH04229309A (en) Method for controlling movable system
JPS6021182A (en) Detection of welding position and welding route with welding robot
JPH0244405A (en) Sensor robot
JPH0732281A (en) Robot control device
JPH1019540A (en) Device for measuring layout data