JPH05228862A - Robot controller - Google Patents

Robot controller

Info

Publication number
JPH05228862A
JPH05228862A JP3322492A JP3322492A JPH05228862A JP H05228862 A JPH05228862 A JP H05228862A JP 3322492 A JP3322492 A JP 3322492A JP 3322492 A JP3322492 A JP 3322492A JP H05228862 A JPH05228862 A JP H05228862A
Authority
JP
Japan
Prior art keywords
tool
teaching
point
motor
intermediate point
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
JP3322492A
Other languages
Japanese (ja)
Inventor
Shiroki Abe
代樹 阿部
Tetsuya Kawai
哲哉 川合
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP3322492A priority Critical patent/JPH05228862A/en
Publication of JPH05228862A publication Critical patent/JPH05228862A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Manipulator (AREA)

Abstract

PURPOSE:To a tool without passing through on a line connecting the current position and the first teaching point, thereby preventing any damage due to impulsive contact from occurring by once moving the tool to an intermediate point separating as far as a distance specified in the tool reverse direction before moving the tool to the first teaching point. CONSTITUTION:Teaching data 35 are first analyzed by a production process 31, outputting a teaching point coordinate axis 36. Next, on the basis of the teaching point coordinate axis 36 and a specified distance 37, an intermediate point coordinate axis 38 is calculated at another production process 32. In succession, a current point coordinate axis 39 and the intermediate point coordinate axis 38 are read at a production process 33, and an amount of travel 40 or a distance between both of them is calculated. Then, this travel 40 is converted into a motor command value 41 at a production process 34, and a motor is operated at a production process 42. With this constitution, the tool is moved to an intermediate point, while it is kept in the specified attitude. Subsequently, the motor is operated again by way of respective processes 43, 45, 47 in order like the abovementioned. With this constitution, the tool is moved from the intermediate point to the first teaching point.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、教示方式を用いる産業
用ロボットの動作を制御するロボット制御装置に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a robot controller for controlling the operation of an industrial robot using a teaching method.

【0002】[0002]

【従来の技術】図3は教示方式を用いる従来の産業用ロ
ボットの構成図である。図中、1はロボット本体、2は
ロボット制御装置、3は教示作業のためのティーチング
ボックス、4は例えばハンドやノズルが装着されている
ツール、5、6はツール4の先端が向かっている方向を
示す矢印で、5はツール方向、6は逆方向を示す。また
7、8及び9はロボットの位置を示すための座標で、7
はX、8はY、9はZ方向を示している。ロボットの位
置は、X、Y及びZとツール4の姿勢を示す情報により
表示される。
2. Description of the Related Art FIG. 3 is a block diagram of a conventional industrial robot using a teaching method. In the figure, 1 is a robot main body, 2 is a robot controller, 3 is a teaching box for teaching work, 4 is a tool on which a hand or nozzle is mounted, and 5 and 6 are directions in which the tip of the tool 4 is facing. In the arrow indicating, 5 indicates the tool direction and 6 indicates the opposite direction. Further, 7, 8 and 9 are coordinates for indicating the position of the robot,
Indicates X, 8 indicates Y, and 9 indicates Z direction. The position of the robot is displayed by information indicating X, Y and Z and the attitude of the tool 4.

【0003】図4は教示データの内容を示すデータフォ
ーマットで、図中10は補間の種類を示すGコード、1
1は位置を示すX、Y、Zの座標値、12はツールの姿
勢を表す情報である。
FIG. 4 is a data format showing the contents of teaching data. In the figure, 10 is a G code indicating the type of interpolation, 1
1 is the X, Y, and Z coordinate value indicating the position, and 12 is the information indicating the attitude of the tool.

【0004】図5はロボット制御装置のソフトウエア構
成図で、図中13は教示データ16を解析してツール2
3を移動さすべき最初の教示点の座標値18を算出する
教示データ解析処理工程、14は教示点座標値18とロ
ボットの現在位置を示す現在点座標値17とを入力し、
移動量19を計算する移動量計算処理工程、15は移動
量19を入力しモータへの指令値20を出力する動作制
御処理工程、21はモータ指令値20に応じてモータが
作動するモータ作動工程である。
FIG. 5 is a software configuration diagram of the robot controller. In FIG. 5, 13 is a tool 2 by analyzing the teaching data 16.
3, a teaching data analysis processing step for calculating the coordinate value 18 of the first teaching point to be moved, 14 inputs the teaching point coordinate value 18 and the current point coordinate value 17 indicating the current position of the robot,
A movement amount calculation processing step of calculating the movement amount 19, an operation control processing step 15 of inputting the movement amount 19 and outputting a command value 20 to the motor, and a motor operation step 21 of operating the motor according to the motor command value 20. Is.

【0005】次に動作について述べる。図7において、
現在点22に位置するツール23によりワーク24を加
工する場合、その教示データ16の最初が、ツール23
を教示点25に位置せしめ姿勢26をとらせることであ
る場合について、図6の構成図により説明する。まず最
初の教示データ16を入力すると、教示データ解析処理
工程13において、ツール23が最初に移動すべき位置
である教示点25の座標値18が算出される。ついで移
動量計算処理工程14において、入力された教示点座標
値18と現在点座標値17との差が計算され、ツール2
3の移動先の教示点25、ツールの姿勢26及びツール
の移動量19が算出される。さらに動作制御処理工程1
5がこの移動量19をモータに与えるべきモータ指令値
20に変換してモータに出力する。その結果モータが作
動し、現在点22に位置するツール23は、最初の教示
点25にツール姿勢を整えながら移動する。従来のロボ
ット制御装置は、上記のように構成されている。
Next, the operation will be described. In FIG.
When the work 24 is processed by the tool 23 located at the current point 22, the beginning of the teaching data 16 is the tool 23.
The case where the position is set to the teaching point 25 and the posture 26 is taken will be described with reference to the configuration diagram of FIG. When the first teaching data 16 is input, the coordinate value 18 of the teaching point 25, which is the position to which the tool 23 should first move, is calculated in the teaching data analysis processing step 13. Next, in the movement amount calculation processing step 14, the difference between the input teaching point coordinate value 18 and the current point coordinate value 17 is calculated, and the tool 2
3, the teaching point 25 of the movement destination, the posture 26 of the tool, and the movement amount 19 of the tool are calculated. Further operation control processing step 1
5 converts this movement amount 19 into a motor command value 20 to be given to the motor and outputs it to the motor. As a result, the motor operates and the tool 23 located at the current point 22 moves to the first teaching point 25 while adjusting the tool posture. The conventional robot controller is configured as described above.

【0006】ところで上記ロボット制御装置において、
ツール23を最初の教示点25に移動させる際、ツール
23は制御装置の指令により現在点22と最初の教示点
25とを結ぶ線上を通って移動するが、その移動線上に
ワーク24の凸部や治具などが存在すると、ツール23
がワークの凸部や治具などに当接し、ツールなどが破損
することがあり、かねてより問題となっている。教示方
式のロボットにおけるこうしたツールとワークとの干渉
を避けるため従来幾つかの対策がとられている。例えば
特開昭61−147307号公報や特公平2−1579
06号公報あるいは特公平3−113512号公報に開
示されているものは、画像表示手段にワークとツールの
画像を表示し、両者が干渉する場合は、迂回経路を自動
的に創成してロボットのツールを迂回させる、あるいは
ワークのツールに対する位置や姿勢の設定を変更するよ
うに構成している。また特開昭58−132442号公
報に開示された技術も、切削中の任意の点からツールを
ある点まで退避させる際、ツールとワークとの干渉を回
避する技術に関するものである。しかしいずれもかなり
複雑な方式となっている。
By the way, in the above robot controller,
When the tool 23 is moved to the first teaching point 25, the tool 23 moves along the line connecting the current point 22 and the first teaching point 25 according to a command from the control device. If there are tools, jigs, etc., the tool 23
May come into contact with a convex portion of a work or a jig, and the tool or the like may be damaged, which has been a problem for some time. In order to avoid such interference between the tool and the work in the teaching type robot, some measures have been taken conventionally. For example, Japanese Patent Laid-Open No. 61-147307 and Japanese Patent Publication No. 2-1579.
No. 06 or Japanese Patent Publication No. 3-113512 discloses an image displaying means for displaying images of a work and a tool, and when they interfere with each other, a detour path is automatically created to make a robot path. It is configured to bypass the tool or change the setting of the position and posture of the work with respect to the tool. The technique disclosed in JP-A-58-132442 also relates to a technique for avoiding interference between the tool and the work when the tool is retracted from an arbitrary point during cutting to a certain point. However, both methods are quite complicated.

【0007】本発明は従来のロボット制御装置における
上記問題点を解消するためになされたもので、ツールの
移動線上におけるワークの凸部や治具などに当接するこ
となく、ツールを最初の教示点に移動させることが可能
なロボット制御装置を提供しようとするものである。
The present invention has been made to solve the above-mentioned problems in the conventional robot control device, and the tool is first taught at the teaching point without contacting the convex portion or jig of the work on the moving line of the tool. The present invention is intended to provide a robot control device that can be moved to another location.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するた
め、本発明に係るロボット制御装置は、教示データを実
行するに当たって、ツールを最初の教示点に移動させる
前に、ツールを最初の教示点におけるツールの姿勢に合
わせながら、ツールをツール逆方向に指定された距離だ
け離れた中間点に一旦移動させ、その後ツール方向に移
動させて最初の教示点に到達させるようにした。
In order to achieve the above object, the robot controller according to the present invention, when executing teaching data, moves the tool to the first teaching point before moving the tool to the first teaching point. While adjusting to the posture of the tool in, the tool was once moved to the intermediate point separated by the designated distance in the reverse direction of the tool, and then moved in the tool direction to reach the first teaching point.

【0009】[0009]

【作用】上記のようにツールをツール逆方向の中間点に
一旦移動させた後、教示点に移動させるので、ツールは
ワークや治具に当接することはなくなる。
As described above, since the tool is once moved to the intermediate point in the reverse direction of the tool and then moved to the teaching point, the tool does not come into contact with the work or jig.

【0010】[0010]

【実施例】【Example】

実施例1 図1は本発明の一実施例を示すロボット制御装置のソフ
トウエアの構成図、図2は動作説明図で、図中、31は
教示データ35を読み込んで教示点座標値36を出力す
る教示データ解析処理工程、32は教示点座標値36と
指定距離37を読み込み中間点座標値38を計算する中
間点計算処理工程である。また33は現在点座標値39
と中間点座標値38または中間点座標値38と教示点座
標値36を読み込み移動量40を算出する移動量計算処
理工程、34は移動量40を読み込み、それをモータへ
の指令値41に変換する動作制御工程、42はモータ作
動工程、43は教示点座標値36及び中間点座標値38
を読み込み移動量44を算出する移動量計算処理工程、
45は移動量44を読み込み、それをモータへの指令値
46に変換する動作制御工程、47はモータ作動工程で
ある。また51はツール、52はツールの現在点、53
はワーク、54は最初の教示点、55はツールの姿勢、
56は中間点、57は中間点におけるツールの姿勢であ
る。
Embodiment 1 FIG. 1 is a software configuration diagram of a robot controller showing an embodiment of the present invention, and FIG. 2 is an operation explanatory diagram. In the drawing, 31 reads a teaching data 35 and outputs a teaching point coordinate value 36. A teaching data analysis processing step 32 is an intermediate point calculation processing step in which a teaching point coordinate value 36 and a designated distance 37 are read to calculate an intermediate point coordinate value 38. 33 is the current point coordinate value 39
And the intermediate point coordinate value 38 or the intermediate point coordinate value 38 and the teaching point coordinate value 36 are read, and the moving amount calculation processing step of calculating the moving amount 40 is performed. Motion control step, 42 motor operation step, 43 teach point coordinate value 36 and intermediate point coordinate value 38
, A movement amount calculation processing step of calculating the movement amount 44,
Reference numeral 45 is an operation control step of reading the movement amount 44 and converting it into a command value 46 for the motor, and 47 is a motor operation step. Also, 51 is a tool, 52 is the current point of the tool, 53
Is the work, 54 is the first teaching point, 55 is the posture of the tool,
Reference numeral 56 is the intermediate point, and 57 is the attitude of the tool at the intermediate point.

【0011】次に動作について説明する。まず教示デー
タ解析処理工程31において、入力された最初の教示デ
ータ35を解析し、教示点の座標値36を出力する。つ
いで移動量計算処理工程32において、入力された教示
点座標値36と予めオペレータが指定する指定距離37
とから中間点座標値38を算出し出力する。次に移動量
計算処理工程33では、現在点座標値39と中間点座標
値38とを読み込み、その差すなわち移動量40を算出
し出力する。次の動作制御処理工程34においては、読
込まれた移動量40をモータ指令値41に変換し、該指
令値41をモータに出力してこれを作動させることによ
り、ツール51を図2の中間点56に移動させ、同時に
ツール51に姿勢57をとらせる。続いて動作制御処理
工程43においては、教示点座標値36と中間点座標値
38とを読み込み、その差を計算して移動量44を出力
し、動作制御処理工程45において、読み込まれた移動
量44をモータ指令値46に変換後モータに出力してこ
れを作動させ、ツール51を中間点56からツール方向
に移動し最初の教示点54に到達させる。
Next, the operation will be described. First, in the teaching data analysis processing step 31, the input first teaching data 35 is analyzed and the coordinate value 36 of the teaching point is output. Next, in the movement amount calculation processing step 32, the input teaching point coordinate value 36 and the designated distance 37 designated in advance by the operator are set.
Then, the intermediate point coordinate value 38 is calculated and output. Next, in the movement amount calculation processing step 33, the current point coordinate value 39 and the intermediate point coordinate value 38 are read, and the difference, that is, the movement amount 40 is calculated and output. In the next operation control processing step 34, the read movement amount 40 is converted into a motor command value 41, the command value 41 is output to the motor, and the motor is operated to operate the tool 51. 56, and at the same time, causes the tool 51 to assume the posture 57. Subsequently, in the motion control processing step 43, the teaching point coordinate value 36 and the intermediate point coordinate value 38 are read, the difference between them is calculated and the movement amount 44 is output, and in the motion control processing step 45, the read movement amount. 44 is converted into a motor command value 46 and then output to a motor to operate it, and the tool 51 is moved in the tool direction from the intermediate point 56 to reach the first teaching point 54.

【0012】実施例2 なお上記実施例は、ツールを最初の教示点に移動させる
場合についてのものであるが、2点目以降の教示点に対
しても、必要な時に利用することができる。
Embodiment 2 Although the above embodiment is directed to the case where the tool is moved to the first teaching point, it can be used for the second and subsequent teaching points when necessary.

【0013】[0013]

【発明の効果】本発明に係るロボット制御装置は、教示
データを実行するに当たって、ツールを最初の教示点に
移動させる前に、最初の教示点におけるツールの姿勢に
合わせながら、ツール逆方向に指定された距離だけ離れ
た中間点に一旦移動させ、その後ツール方向に移動させ
て最初の教示点に到達させるようにしたので、ツールは
現在の位置と最初の教示点とを結ぶ線上を通らずに移動
することができるようになり、ワークの凸部や治具など
に当接する恐れがなくなり、ツールの破損がなくなっ
た。
In executing the teaching data, the robot controller according to the present invention designates the tool in the reverse direction while moving the tool to the first teaching point while adjusting the attitude of the tool at the first teaching point. Since the tool is moved to the intermediate point separated by the specified distance, and then moved in the tool direction to reach the first teaching point, the tool does not pass on the line connecting the current position and the first teaching point. It is now possible to move, there is no risk of it coming into contact with the convex parts of the work or jigs, etc., and there is no damage to the tool.

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

【図1】本発明の一実施例であるロボット制御装置のソ
フトウエアの構成図である。
FIG. 1 is a configuration diagram of software of a robot controller according to an embodiment of the present invention.

【図2】ロボットのツールの動作説明図である。FIG. 2 is an explanatory diagram of an operation of a robot tool.

【図3】産業用ロボットの構成図である。FIG. 3 is a configuration diagram of an industrial robot.

【図4】従来の教示データのデータフォーマットであ
る。
FIG. 4 is a data format of conventional teaching data.

【図5】従来のロボット制御装置のソフトウエアの構成
図である。
FIG. 5 is a software configuration diagram of a conventional robot controller.

【図6】従来の産業用ロボットの動作説明図である。FIG. 6 is an operation explanatory view of a conventional industrial robot.

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

31……教示データ解析処理工程 32……中間点計算処理工程 33……移動量計算処理工程 34……動作制御処理工程 35……教示データ 36……教示点座標値 37……指定距離 38……中間点座標値 39……現在点座標値 40……移動量 41……モータ指令値 42……モータ作動工程 43……移動量計算処理工程 44……移動量 45……動作制御処理工程 46……モータ指令値 47……モータ作動工程 51……ツールの現在点 52……最初の教示点 53……教示点におけるツールの姿勢 54……中間点 55……中間点におけるツールの姿勢 31 ... Teaching data analysis processing step 32 ... Intermediate point calculation processing step 33 ... Movement amount calculation processing step 34 ... Motion control processing step 35 ... Teaching data 36 ... Teaching point coordinate value 37 ... Designated distance 38 ... ... Coordinate value of intermediate point 39 ... Coordinate value of current point 40 ... Movement amount 41 ... Motor command value 42 ... Motor operation step 43 ... Movement amount calculation processing step 44 ... Movement amount 45 ... Operation control processing step 46 ...... Motor command value 47 …… Motor operating process 51 …… Current position of tool 52 …… First teaching point 53 …… Tool posture at teaching point 54 …… Intermediate point 55 …… Tool posture at intermediate point

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 教示方式を用いる産業用ロボットの制御
装置において、 教示データを実行する際、ツールを最初の教示点に移動
させる前に、ツールの姿勢を最初の教示点のツールの姿
勢に合せながら、ツールを最初の教示点のツール逆方向
に指定された距離だけ離れた位置に一旦移動させ、その
後ツール方向に移動させて最初の教示点に到達させるよ
うにしたことを特徴とするロボット制御装置。
1. A controller for an industrial robot using a teaching method, when executing teaching data, adjusts the posture of the tool to the posture of the tool at the first teaching point before moving the tool to the first teaching point. However, the robot control is characterized in that the tool is once moved to a position separated by a specified distance in the opposite direction of the tool from the first teaching point, and then moved in the tool direction to reach the first teaching point. apparatus.
JP3322492A 1992-02-20 1992-02-20 Robot controller Pending JPH05228862A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3322492A JPH05228862A (en) 1992-02-20 1992-02-20 Robot controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3322492A JPH05228862A (en) 1992-02-20 1992-02-20 Robot controller

Publications (1)

Publication Number Publication Date
JPH05228862A true JPH05228862A (en) 1993-09-07

Family

ID=12380484

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3322492A Pending JPH05228862A (en) 1992-02-20 1992-02-20 Robot controller

Country Status (1)

Country Link
JP (1) JPH05228862A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013163230A (en) * 2012-02-09 2013-08-22 Daihen Corp Robot controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013163230A (en) * 2012-02-09 2013-08-22 Daihen Corp Robot controller

Similar Documents

Publication Publication Date Title
JP5981143B2 (en) Robot tool control method
JPH02243284A (en) Automatic seam follow-up method and apparatus
JP2728399B2 (en) Robot control method
JP2001125613A (en) Numerical control simulation device
JP5985087B1 (en) Numerical controller
JPH05228862A (en) Robot controller
JPH05119823A (en) Track planning method for robot and its controller
JP6533199B2 (en) Work processing system
JP4398070B2 (en) Numerical control device and groove processing method for machine tool
JPH06110534A (en) Position control method for machine tool
JPH0580836A (en) Method for generating teaching data for image pickup device
JP4560191B2 (en) Numerical controller
JPH0876829A (en) Teaching method for robot of continuous work path
JP2577003B2 (en) Robot control method
JPS61256407A (en) Numerical controller
JPH07205068A (en) Coordinate system setting method of robot
JPS62221003A (en) Method for producing locus of 2-dimensional tool
JPH0440141B2 (en)
CN112819851A (en) Apparatus, control apparatus and method for generating image data of movement trajectory
JPH0580831A (en) Offline teaching method for three-dimensional laser work machine
JPS6039207A (en) Automatic teaching method of industrial robot
JPS61131887A (en) Calibration system of robot having visual sensation
JP2554757B2 (en) 3D machining program creation method
EP0517220A2 (en) Method and apparatus for controlling robot
JP2637237B2 (en) Industrial robot controller