JPS63232986A - Control method of robot - Google Patents

Control method of robot

Info

Publication number
JPS63232986A
JPS63232986A JP6704587A JP6704587A JPS63232986A JP S63232986 A JPS63232986 A JP S63232986A JP 6704587 A JP6704587 A JP 6704587A JP 6704587 A JP6704587 A JP 6704587A JP S63232986 A JPS63232986 A JP S63232986A
Authority
JP
Japan
Prior art keywords
trajectory
sensor
robot
data
tool
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
JP6704587A
Other languages
Japanese (ja)
Inventor
高尾 康秀
高明 山田
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP6704587A priority Critical patent/JPS63232986A/en
Publication of JPS63232986A publication Critical patent/JPS63232986A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Manipulator (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、センサを用いて工具の移動軌跡誤差を自動的
に修正できるようにしたロボットの制御方法において、
軌跡教示に要する時間を著しく低減てきるようにした、
ロボットの制御方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention provides a robot control method that uses a sensor to automatically correct tool movement trajectory errors.
The time required for trajectory teaching has been significantly reduced.
This relates to a method of controlling a robot.

(従来の技術) ロボットのアームに、たとえば溶接トーチ等の工具を取
付け、この工具を予め教示した軌跡どうりにロボットで
動かす場合、予めその軌跡をロボットに教示する、いわ
ゆるティーチングを行うことになる。そしてロボットが
作動に入ったとき、工具か教示された軌跡のとおりに移
動しているか否かをセンサによって検出し、実際の軌跡
と予め教示した軌跡との間にずれが生じたときには、そ
のずれ量に応して工具を停止させ、あるいは移動させた
まま軌跡の補正(修正)をすることになる。
(Prior art) When a tool such as a welding torch is attached to a robot arm and the tool is moved by the robot along a pre-taught trajectory, a so-called teaching process is performed in which the robot is taught the trajectory in advance. . When the robot starts operating, the sensor detects whether or not the tool is moving along the taught trajectory, and if a deviation occurs between the actual trajectory and the previously taught trajectory, the deviation is detected. Depending on the amount, the tool will be stopped or the trajectory will be corrected while it is still moving.

(発明か解決しようとする問題点) このようにセンサを用いて移動軌跡の修正作業を行うも
のにおいては、センサの誤差検出範囲であれば、たとえ
工具の姿勢に狂いが生じたような場合であっても(たと
えば工具かなにかに当って曲がったようなとき)このた
めに生ずる作業![のずれ分をセンサの検出によるロボ
ット側の補正機能が補正してしまうことから、センサに
故障が生しない限り、溶接等の作業に支障か生ずること
はなかった。しかしながらセンサ本体あるいはセンサの
演算回路か故障すると、それまでセンサで検出しながら
作業していたために支障を生じなかった作業に狂いを生
じ、たとえば大きくずれた部位を溶接する等の水通を生
じ、生産か全くできなくなるというような問題を生ずる
。この問題は本発明の先行技術である実開昭59−16
5005号公報のものても解決することはできない。
(Problem to be solved by the invention) In this way, in a device that uses a sensor to correct the movement trajectory, if the error detection range of the sensor is within the error detection range, even if the tool posture is out of alignment, Even if there is (for example, when it hits a tool or something and bends it), the work that occurs because of this! Since the correction function on the robot side based on sensor detection compensates for the deviation, there was no problem with welding or other operations unless a sensor malfunction occurred. However, if the sensor itself or the sensor's arithmetic circuit breaks down, it will disrupt the work that had previously been done without any problems due to detection by the sensor, resulting in water leakage, such as welding a part that is significantly misaligned. This may cause problems such as production being completely stopped. This problem is solved by Utility Model Application No. 59-16, which is the prior art of the present invention.
Even the one disclosed in Japanese Patent No. 5005 cannot solve the problem.

本発明はこの点に鑑みて成されたちのてあり、上記のよ
うな場合に、従来はオペレータか修正データを作成して
いたところを、センサが検出したデータをもとにして自
動的に演算した最大分布値により、ロボット自体が自動
的に修正するようにした、ロボットの制御方法を提供す
ることを目的とする。
The present invention has been made in view of this point, and in the above-mentioned cases, it automatically calculates data based on the data detected by the sensor, whereas conventionally the operator had to create correction data. The present invention aims to provide a control method for a robot in which the robot itself automatically corrects itself based on the maximum distribution value determined.

(問題点を解決するための手段) 本発明は上記問題点を解決するための手段として、ロボ
ットのアームに工具を取付けると共に1核工其の移動軌
跡を検出するセンサを取付け、該センサにより前記工具
の移動軌跡を追うようにしたロボットの制御方法におい
て、前記センサの検出データ中より、当初の教示データ
と実際の工具移動軌跡との差を見出してこれを設定サン
プリング回数分記憶し、該分布を@算して最大分布値を
求め、該最大分布値をもとにして該最大分布値の当初の
教示軌跡に対する誤差値を演算し、該演算結果と当初に
教示した軌跡データとの誤差分を補正するように修正書
き換えることを特徴とするロボットの制御方法を確立し
たものである。
(Means for Solving the Problems) The present invention, as a means for solving the above problems, attaches a tool to the arm of the robot and also attaches a sensor for detecting the movement trajectory of one nuclear tool, and uses the sensor to detect the In a control method for a robot that follows a tool movement trajectory, the difference between the initial teaching data and the actual tool movement trajectory is found from the detection data of the sensor, and this is stored for a set number of sampling times, and the distribution is Calculate the maximum distribution value to find the maximum distribution value, calculate the error value of the maximum distribution value with respect to the initially taught trajectory based on the maximum distribution value, and calculate the error value between the calculation result and the initially taught trajectory data. A robot control method has been established that is characterized by modifying and rewriting the robot to correct it.

(作用) このような構成とすれば、始めに教示された軌跡データ
て作業を進めているとき、教示データは自動的に誤差分
を補正したものに書き換えられるので、教示データとし
ては常に新しいものとなり、たとえセンサか故障して自
動補正at@が作用しないようなことになっても、ロボ
ットの制御軌跡は誤差の最大分布値に補正されているか
ら、この新しいデータによる同一の製品を、連続して製
作することができるようになる。
(Function) With this configuration, when the work is proceeding with the initially taught trajectory data, the teaching data is automatically rewritten to the one with the error corrected, so the teaching data is always new. Therefore, even if the sensor malfunctions and the automatic correction at@ does not work, the robot's control trajectory is corrected to the maximum error distribution value, so the same product can be continuously manufactured using this new data. It will be possible to manufacture it by doing so.

(実施例) 次に、本発明方法の適用例を図について説明すると、第
1図においてlはワークとしての鋼板であり、やはりワ
ークとしての他の鋼板2の上に端縁部を重ねてトーチ溶
接するものである。3は工具の一種としての溶接トーチ
であり1図示しないロボットのアーム部に取付けられて
いるものである。溶接トーチ3の近傍にはセンサ4がブ
ラケット5によって取付けられている。この場合、ロボ
ットのアプローチとしては上部の鋼板lから下部の鋼板
2に向う矢印6の動きをし、アークスタート点7に向う
ことになる。8はアークエンド点てあり、9は当初の教
示軌跡である。ところが素材の変化等、なんらかの原因
によって2枚の鋼板1.2の合せ部が図示のようにずれ
てしまったものである。従来にあってはこのような場合
、センサの検出データによって軌跡を修正すれば修正デ
ータは消去され、同様ワークによる作業か終了するまで
、検出→修正→消去が繰返えされることになるが、本発
明の方法にあっては、次に説明するようにデータの修正
をして溶接トーチ3か矢印6て示すように動く過程で2
枚の鋼板1.2間の段差11を検出し、この検出から予
め教示されたアークスタート点7およびアークエンド点
8間の教示軌跡9と実際のアークスタート点11からア
ークエンド点12に至る教示軌跡13とのずれを補正し
、この補正後の教示軌跡により溶接することになる。
(Example) Next, an application example of the method of the present invention will be explained with reference to the drawings. In Fig. 1, l is a steel plate as a workpiece, and the edge portion is overlapped on another steel plate 2 as a workpiece, and a torch is applied. It is to be welded. 3 is a welding torch as a type of tool, and 1 is attached to an arm of a robot (not shown). A sensor 4 is attached near the welding torch 3 by a bracket 5. In this case, the robot approaches by moving in the direction of the arrow 6 from the upper steel plate 1 to the lower steel plate 2 and toward the arc start point 7. 8 is the arc end point, and 9 is the initial teaching locus. However, due to some reason such as a change in the material, the mating portion of the two steel plates 1.2 has shifted as shown in the figure. Conventionally, in such cases, if the trajectory is corrected based on the data detected by the sensor, the corrected data is erased, and the process of detection → correction → deletion is repeated until the work is finished. In the method of the present invention, the data is corrected as described below, and in the process of moving the welding torch 3 as shown by the arrow 6,
The step 11 between the two steel plates 1.2 is detected, and from this detection, the teaching trajectory 9 between the arc start point 7 and the arc end point 8 taught in advance and the teaching from the actual arc start point 11 to the arc end point 12 are determined. The deviation from the trajectory 13 is corrected, and welding is performed using the corrected teaching trajectory.

これを第2図のフローチャートによって説明する。まず
、センサ3がデータを検出しくステップ14)、次にそ
の検出データによって修正軌跡値を演算しくステップ1
5)、軌跡の修正を行う(ステップ16)、この修正デ
ータはメモリ回路に記憶され(ステップ18)、この修
正と記憶は予め設定されたサンプリング回数に達するま
で、あるいは同様の作業か終了するまで行われる(ステ
ップ18)。記憶が設定サンプリング回数行われたら修
正データの分布か演算され(ステップ19) 、この演
算により、最大分布値が求められる(ステップ2G)。
This will be explained using the flowchart shown in FIG. First, the sensor 3 detects data (step 14), then calculates a corrected trajectory value based on the detected data (step 1).
5) The trajectory is corrected (step 16), this correction data is stored in the memory circuit (step 18), and this correction and storage continues until a preset sampling number is reached or until the similar operation is completed. is performed (step 18). After the storage has been performed the set number of times of sampling, the distribution of the corrected data is calculated (step 19), and the maximum distribution value is determined by this calculation (step 2G).

最大分布値の求め方は、第3図に示すように教示軌跡9
′を基準として修正を行った方向および量の分布を取り
、その分布の最大値24と教示軌跡9′の誤差を補正す
るように軌跡を演算し。
The method for determining the maximum distribution value is as shown in Figure 3.
The distribution of the corrected direction and amount is taken with reference to ', and the trajectory is calculated so as to correct the error between the maximum value 24 of the distribution and the taught trajectory 9'.

求められた軌跡データを新たに教示データとして再記憶
する(ステップ21〜23]、このように制御すること
により、教示tjk跡は、センサ4がたとえ故障したと
しても、サンプル回数内での工具の移動軌跡の最大分布
値と合致したものに常にメンテナンスされるため、溶接
等の作業を継続させることかできる。そして教示軌跡の
みの作業に切り換えてもワークのロウト変化等による影
響を受けにくくすることかてきる。
The obtained locus data is re-stored as new teaching data (steps 21 to 23). By controlling in this way, the teaching tjk trace will be the same as that of the tool within the number of samples even if the sensor 4 fails. Since maintenance is always performed to match the maximum distribution value of the movement locus, work such as welding can be continued.Also, even when switching to work using only the teaching locus, it is less susceptible to changes in the funnel of the workpiece, etc. It comes.

(発明の効果) 本発明は以上説明したようなロボットの制御方法である
から、最初のワークへの教示範囲かセンサの検出溌力内
であれば、センサが作動中に故障しても記°憶された最
大分布値によって以後の制御か行われることになる。し
たかって再教示か不要となるのて、教示に要する工数を
著しく低減することかできる。また実際のワークを使用
せずオフラインにて教示データを作成した場合にはイン
プットしたデータと実ワークの誤差を自動的に修正でき
るため、生産ラインへデータを転送した後のチェックを
ほとんど必要としないことになる。
(Effects of the Invention) Since the present invention is a robot control method as described above, even if the sensor fails during operation, it will not be recorded as long as it is within the initial teaching range for the workpiece or the detection force of the sensor. Subsequent control will be performed based on the stored maximum distribution value. Therefore, re-teaching is no longer necessary, and the number of man-hours required for teaching can be significantly reduced. In addition, when teaching data is created offline without using the actual workpiece, errors between the input data and the actual workpiece can be automatically corrected, so there is almost no need to check the data after it is transferred to the production line. It turns out.

そしてこれらの効果により、新ライン切換えの時間およ
び工数の低減を図ることかできる。
With these effects, it is possible to reduce the time and man-hours required for switching over to a new line.

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

第り図は本発明によるロボットのDJ御方法を説明する
斜視図、第2図は本発明方法の流れを説明するフローチ
ャート、第3図は修正軌跡の方向と量との分布を表わす
グラフである。 1.2・・・鋼板 3・・・溶接トーチ 4・・・センサ 7.11・・・アークスタート点 8.12・・・アークエンド点 9.13・・・教示軌跡 lO・・・段差 特 許 出願人 トヨタ自動車株式会社第1図    
  第2図 1.2胡板 3 5漬トーチ 4・・ごンブ 7.11  アークスタート、東。 8.12  アークエンド、仝・ 9.13−、我示軌茸− 10・p2差
Figure 2 is a perspective view illustrating the robot DJ control method according to the present invention, Figure 2 is a flowchart explaining the flow of the method of the present invention, and Figure 3 is a graph showing the distribution of the direction and amount of the corrected trajectory. . 1.2... Steel plate 3... Welding torch 4... Sensor 7.11... Arc start point 8.12... Arc end point 9.13... Teaching locus lO... Level difference characteristic Applicant: Toyota Motor Corporation Figure 1
Figure 2 1.2 Goban 3 5 Tsuke Torch 4... Gombu 7.11 Arc start, east. 8.12 Ark End, 9.13-, Gajiki Mushroom- 10 p2 difference

Claims (1)

【特許請求の範囲】[Claims] (1)ロボットのアームに工具を取付けると共に該工具
の移動軌跡を検出するセンサを取付け、該センサにより
前記工具の移動軌跡を追うようにしたロボットの制御方
法において、前記センサの検出データ中より、当初の教
示データと実際の工具移動軌跡との差を見出してこれを
設定サンプリング回数分記憶し、該分布を演算して最大
分布値を求め、該最大分布値をもとにして該最大分布値
の当初の教示軌跡に対する誤差値を演算し、該演算結果
と当初に教示した軌跡データとの誤差分を補正するよう
に修正書き換えることを特徴とするロボットの制御方法
(1) In a robot control method in which a tool is attached to a robot arm and a sensor is attached to detect the movement trajectory of the tool, and the movement trajectory of the tool is followed by the sensor, from the detection data of the sensor, Find the difference between the initial teaching data and the actual tool movement trajectory, store this for the set number of samplings, calculate the distribution to find the maximum distribution value, and calculate the maximum distribution value based on the maximum distribution value. 1. A method for controlling a robot, comprising: calculating an error value with respect to an initially taught trajectory; and correcting and rewriting the calculated result to correct the error between the initially taught trajectory data.
JP6704587A 1987-03-20 1987-03-20 Control method of robot Pending JPS63232986A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6704587A JPS63232986A (en) 1987-03-20 1987-03-20 Control method of robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6704587A JPS63232986A (en) 1987-03-20 1987-03-20 Control method of robot

Publications (1)

Publication Number Publication Date
JPS63232986A true JPS63232986A (en) 1988-09-28

Family

ID=13333480

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6704587A Pending JPS63232986A (en) 1987-03-20 1987-03-20 Control method of robot

Country Status (1)

Country Link
JP (1) JPS63232986A (en)

Similar Documents

Publication Publication Date Title
WO1998033100A1 (en) Method and system for controlling robot
KR19980083281A (en) Initial welding position detection method of robot
JPS63232986A (en) Control method of robot
JPS58122179A (en) Teaching playback robot for arc welding
JPH11883A (en) Automatic teaching method for robot movement, locus correcting method for robot, and control method for welding robot
JPH08174459A (en) Automatic method work installing by assembling robot
JP2906502B2 (en) Industrial robot control method
JP2512716B2 (en) Automatic welding equipment
JPS5844512A (en) Controlling method of teaching and preproduction type robot
JPH0215082B2 (en)
JPS5932233B2 (en) automatic welding equipment
JP3065386B2 (en) Industrial robot control method
JPH0461750B2 (en)
JPH0461755B2 (en)
JP3359012B2 (en) Spot welding robot
JPH04302002A (en) Working line correction control method for industrial robot
JP3916517B2 (en) Control method of welding robot
EP0371142A1 (en) Method of correcting loci of an industrial robot
JPH03134714A (en) Positioning controller and position teaching method
JPH0530552B2 (en)
JPH01249268A (en) Work detecting method for automatic welding equipment
JP2644049B2 (en) Crater treatment method before welding end
JPH0630801B2 (en) Control method for welding robot
JP2719203B2 (en) Teaching method of welding robot
JPH0418947B2 (en)