JPS63174889A - Method of controlling robot - Google Patents

Method of controlling robot

Info

Publication number
JPS63174889A
JPS63174889A JP434487A JP434487A JPS63174889A JP S63174889 A JPS63174889 A JP S63174889A JP 434487 A JP434487 A JP 434487A JP 434487 A JP434487 A JP 434487A JP S63174889 A JPS63174889 A JP S63174889A
Authority
JP
Japan
Prior art keywords
robot
stopped
stop
state
executing step
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
JP434487A
Other languages
Japanese (ja)
Other versions
JP2689420B2 (en
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP62004344A priority Critical patent/JP2689420B2/en
Publication of JPS63174889A publication Critical patent/JPS63174889A/en
Application granted granted Critical
Publication of JP2689420B2 publication Critical patent/JP2689420B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

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

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、ロボットの途中停止からの完全な継続動作を
行なうためのロボットの制御方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a method for controlling a robot so that the robot can continue to operate completely from an intermediate stop.

従来の技術 従来、ロボットの位置検出には安価で取扱いの容易な相
対値式エンコーダが使用される事が多−0この相対値式
エンコーダを利用したロボットを動作途中で停止させ、
再び継続動作を行なわせることは、停止中に電源を停止
しない条件下においては従来から実施されている。しか
しながら、停止中に一旦電源を停止すると、継続動作を
行なう前に原点復帰動作が必要であるために、ロボット
のアーム位置が変化する。この時点で継続動作を開始す
と、継続動作の目標点に向いロボットは直接移動を開始
する。第4図は上述した例を示したものである。直交座
標型ロボット1と先端に装備されたチャック2を数値制
御装置3によシ駆動し、ワーク4を21点から22点に
移載する。この際に障害物6を回避するために途中通過
点Pbn点とP2a点を順にチャック2が通過するよう
に制御する。このロボット1をP2a点で途中停止させ
、再度継続動作を行なうと、停止中に電源を停止しない
場合は実線で示す経路を通り、停止中に電源を停止した
場合は破線で示す経路を通って次の目標点22点へ移動
する。
Conventional technology Conventionally, inexpensive and easy-to-handle relative value encoders have often been used to detect the position of robots.
Continuing the operation again has been conventionally carried out under conditions where the power supply is not stopped during the stoppage. However, once the power is turned off while the robot is stopped, the arm position of the robot changes because a return-to-origin operation is required before continuing the operation. If the continuous motion is started at this point, the robot will start moving directly toward the target point of the continuous motion. FIG. 4 shows the above-mentioned example. A Cartesian coordinate type robot 1 and a chuck 2 equipped at the tip are driven by a numerical control device 3 to transfer a workpiece 4 from point 21 to point 22. At this time, in order to avoid the obstacle 6, the chuck 2 is controlled to pass through intermediate passing points Pbn and P2a in sequence. When this robot 1 is stopped midway at point P2a and continues its operation again, if the power is not stopped while the robot 1 is stopped, it will follow the path shown by the solid line, and if the power is stopped while it is stopped, it will take the path shown by the broken line. Move to the next 22 target points.

以上の例は、アーム位置測定装置に相対値式エンコーダ
を利用した例であるが、絶対値式エンコーダやレゾルバ
を利用した場合には、停止中にロボットアームに外力が
かかり、アームの状態が変化すると、再度継続動作を行
なうと、その状態から継続動作の目標点に向い直接移動
を開始する。
The above example uses a relative encoder for the arm position measurement device, but if an absolute encoder or resolver is used, an external force will be applied to the robot arm while it is stopped, and the state of the arm will change. Then, when the continuation motion is performed again, the robot starts moving directly from that state toward the target point of the continuation motion.

発明が解決しようとする問題点 しかしながら上記のような途中停止制御方法では、途中
停止した後の動作は電源停止の有無にかかわらず、継続
動作の目標点に向い直接移動するために、第4図の破線
で示す経路のように、移動経路途中に障害物が存在する
場合も、これを無視してロボットは移動する。このため
に、ロボット自身や周辺機器等を破損することから、完
全な継続動作は不可能であるという問題点を有している
Problems to be Solved by the Invention However, in the above midway stop control method, the operation after the midway stop moves directly toward the target point of the continued operation regardless of whether or not the power supply is stopped. Even if there is an obstacle along the movement path, as shown by the broken line, the robot ignores this and moves. For this reason, there is a problem in that the robot itself, peripheral equipment, etc. are damaged, and complete continuous operation is impossible.

そこで、本発明はロボットを途中停止させた後の電源停
止の有無にかかわらず、完全な継続動作を行なえるよう
にする制御方法である。
Therefore, the present invention is a control method that allows a robot to continue its complete operation regardless of whether or not the power is stopped after the robot is stopped midway.

問題点を解決するための手段 上記問題を解決するために本発明のロボットの制御方法
は、ロボットが途中停止した時点で、アームの位置情報
や外部出力信号情報を更新・記憶し、途中停止中に電源
停止があったか否かを判断し、電源停止があったときに
継続動作を行なう場合のみ、記憶している途中停止点を
原点復帰動作後の動作目標点として、あらかじめ設定さ
れた絶対苧避域を通って移動した後に、外部出力信号を
記憶した状態に復帰して継続動作を行なう制御方、法で
ある。
Means for Solving the Problems In order to solve the above problems, the robot control method of the present invention updates and stores arm position information and external output signal information when the robot stops midway, and updates and stores the arm position information and external output signal information during the midway stop. Only when continuing operation is to be performed when there is a power outage, the memorized intermediate stop point is set as the operation target point after the return-to-origin operation, and the preset absolute avoidance point is set. This is a control method in which, after moving through the area, the external output signal is returned to the stored state and the operation is continued.

作  用 本発明は、上記のような手段によシ、相対値式エンコー
ダを利用したロボットを途中停止中に一旦電源を停止し
た場合の継続動作は、原点復帰の後にまず絶対待避域を
通シ、障害物を回避しながら途中停止位置へ移動し、外
部出力信号の状態を復帰させ、途中停止した時点と同一
の状態にした後に継続動作を開始する。又、電源を停止
しない場合には、状態に変化がないことから、直接継続
動作を開示する。
Operation The present invention uses the above-mentioned means, so that when a robot using a relative value encoder is temporarily stopped and the power supply is temporarily stopped, the continuous operation is performed by first passing through the absolute withdrawal area after returning to the origin. , the robot moves to the midway stop position while avoiding obstacles, restores the state of the external output signal, and returns to the same state as at the time of midway stop, and then starts continued operation. Further, if the power supply is not stopped, there is no change in the state, so direct continuation operation is disclosed.

この結果、ロボットの途中停止中に一旦電源を停止した
か否かに関係なく、ロボット自身や周辺機器等を破損す
る事なく、完全な継続動作が可能になる。
As a result, the robot can continue to operate completely without damaging itself or its peripheral equipment, regardless of whether or not the power supply is temporarily stopped while the robot is stopped midway.

実施例 以下本発明の一実施例のロボットの途中停止復帰制御方
法について、図面を参照しながら説明する。
EXAMPLE Hereinafter, a method of controlling a robot to return from a mid-stop stop according to an example of the present invention will be described with reference to the drawings.

第1図は、本発明の一実施例におけるロボットの途中停
止復帰制御方法の要点を示したフローチャートである。
FIG. 1 is a flowchart showing the main points of a method for controlling a robot to return from a halfway stop in an embodiment of the present invention.

第2図は、この制御方法を可能にする数値制御装置とそ
の周辺機器の構成を示すものである。第2図において、
1は直交座標型のロボット、6はアーム位置検出器、3
は数値制御装置、7は中央処理装置(以下CPUと略す
)、8は記憶装置、9はロボットの駆動制御装置である
FIG. 2 shows the configuration of a numerical control device and its peripheral equipment that make this control method possible. In Figure 2,
1 is an orthogonal coordinate robot, 6 is an arm position detector, 3
1 is a numerical control device, 7 is a central processing unit (hereinafter abbreviated as CPU), 8 is a storage device, and 9 is a robot drive control device.

以下、第2図を参照しながら第1図のフローチャートに
従って一実施例を説明する。
Hereinafter, one embodiment will be described according to the flowchart of FIG. 1 while referring to FIG.

ステップ1で途中停止信号を受信した数値制御装置3内
部のCPU7は、その信号の解析を行ない、ステップ2
で駆動制御装置9にロボット1を停止させるように指示
する。この時、CPU7は、ステップ3でアーム位置検
出装置6から得る位置情報から停止時のアームの状態を
、記憶装置8に記憶する。同時に、ステップ4で停止時
点での数値制御装置3からの外部出力信号の状態をも記
憶装置8に記憶する。次にステップ6で再度起動信号を
受信したCPU7は、途中停止中に少なくとも一度以上
、電源が停止したか否かを記憶装置8の状態から判断す
る(ステップ6)。この条件判断によシ1、電源が停止
していない場合は、ステップ10で即座に動作を継続す
る。又、電源一度板上停止している場合にCPU7は、
駆動制御装置9にロボット1を原点復帰するよう指示す
る(ステップ7)。この後、ステップ8では、あらかじ
め記憶装置8に設定されている絶対待避域をロボット1
が通過して、ステップ3で記憶した途中停止位置へ移動
するように、CPU7は駆動制御装置9に指令を出す。
The CPU 7 inside the numerical control device 3, which received the midway stop signal in step 1, analyzes the signal and performs step 2.
Instructs the drive control device 9 to stop the robot 1. At this time, the CPU 7 stores the state of the arm at the time of stop in the storage device 8 from the position information obtained from the arm position detection device 6 in step 3. At the same time, in step 4, the state of the external output signal from the numerical control device 3 at the time of stopping is also stored in the storage device 8. Next, the CPU 7, which has received the activation signal again in step 6, determines from the state of the storage device 8 whether or not the power supply has been stopped at least once during the mid-stop (step 6). Based on this condition judgment, if the power supply is not stopped, the operation is immediately continued in step 10. In addition, when the power supply is temporarily stopped, the CPU 7
The drive control device 9 is instructed to return the robot 1 to its origin (step 7). After this, in step 8, the robot 1
The CPU 7 issues a command to the drive control device 9 so that the vehicle passes through the vehicle and moves to the intermediate stop position stored in step 3.

途中停止位置への移動が終了すると、ステップ9によ、
り CP U7uステップ4で記憶した外部出力信号の
状態を復帰する。このように途中停止の状態を再現した
後に、ステップ10で継続動作を開始する。
When the movement to the intermediate stop position is completed, in step 9,
CPU U7uRestores the state of the external output signal stored in step 4. After reproducing the halfway stopped state in this way, the continued operation is started in step 10.

第3図は、本実施例によるロボット1のアーム先端の動
きを示しだものである。破線で示す従来の制御方法によ
る軌跡が障害物5と交錯するのに対して、太い実線で示
す本実施例が、途中停止点からの忠実な継続動作を行な
うことがわかる。
FIG. 3 shows the movement of the arm tip of the robot 1 according to this embodiment. It can be seen that the trajectory according to the conventional control method shown by the broken line intersects with the obstacle 5, whereas the present embodiment shown by the thick solid line faithfully continues the operation from the intermediate stopping point.

以上のように本実施例によれば、途中停止中に一旦電源
が停止した場合にも、原点復帰位置から絶対待避域を通
シ、途中停止位置に復帰し、途中停止の状態を再現した
後に継続動作を行なうため、障害物等による破損もなく
完全な継続動作を行なうことができる。
As described above, according to this embodiment, even if the power supply is temporarily stopped during a mid-stop, the system returns from the home return position through the absolute retract area, returns to the mid-stop position, and reproduces the mid-stop state. Since continuous operation is performed, complete continuous operation can be performed without damage caused by obstacles or the like.

発明の効果 以上のように本発明は、相対値式エンコーダを利用した
ロボットの途中停止中に一旦電源が停止した場合に、原
点復帰位置から途中停止位置に絶待 対′避域を通って復帰し、完全な継続動作を行なうこと
により、相対値式エンコーダを用いながら、絶対値式エ
ンコーダやレゾルバを用いたロボットと同等以上の継続
動作が可能であシ、原点からの移動は絶対待避域を通る
ため、安全性が高い。そして絶対待避域は、記憶装置上
に設定するため、変更が容易である。また、相対値式エ
ンコーダを利用しているために、ローコストでの実現全
可能にした。
Effects of the Invention As described above, the present invention enables a robot that uses a relative value encoder to return from a home return position to a mid-stop position through an absolute avoidance area when the power supply is temporarily stopped during a mid-stop. However, by performing complete continuous motion, it is possible to perform continuous motion equivalent to or better than a robot using an absolute encoder or resolver while using a relative encoder. It is very safe because it is accessible. Since the absolute save area is set on the storage device, it is easy to change. Also, since it uses a relative encoder, it can be realized at low cost.

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

第1図は本発明の第1の実施例におけるロボットの制御
方法の概要を示すフローチャート図、第2図は第1図に
示す制御方法を可能にするシステムのブロック図、第3
図は第1図に示す制御方法によるロボットの動きを示し
た説sA図、第4図は従来の制御方法によるロボットの
動きを示した説明図である。 1・・・・・・ロボット、3・・・・・・数値制御装置
、6・・・・・・アーム位置検出装置。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名第1
図 r −−−−−−−−−−−−−−−−へ      
 リ
FIG. 1 is a flowchart showing an overview of the robot control method according to the first embodiment of the present invention, FIG. 2 is a block diagram of a system that enables the control method shown in FIG. 1, and FIG.
The figure is an explanatory diagram showing the movement of the robot according to the control method shown in FIG. 1, and FIG. 4 is an explanatory diagram showing the movement of the robot according to the conventional control method. 1...Robot, 3...Numerical control device, 6...Arm position detection device. Name of agent: Patent attorney Toshio Nakao and 1 other person No. 1
Figure r --------------------------
Li

Claims (1)

【特許請求の範囲】 ロボットが途中停止した状態からの完全な継続動作を行
なう制御方法において、 (1)ロボットを途中停止させる信号を受信するステッ
プ、 (2)ステップ(1)を実行して停止したロボットのア
ームの位置を読み込み、記憶するステップ、(3)ステ
ップ(2)を実行したときの外部出力信号の状態を記憶
するステップ、 (4)継続動作を開始するための信号を受信するステッ
プ、 (5)ステップ(3)を実行してからステップ4を実行
するまでに、電源が停止したか否かを判断するステップ
、 (6)ステップ(5)を実行して電源が停止していない
場合に継続動作を行なうステップ、 (7)ステップ5を実行して電源が停止している場合に
、原点復帰動作を行なうステップ、 (8)ステップ(7)を実行した後に、あらかじめ前記
数値制御装置に設定された絶対待避域を通過して、ステ
ップ2で記憶した位置にアームを移動するステップ、 (9)ステップ(8)を実行した後にステップ(3)で
記憶した外部出力信号の状態を復帰するステップ、(1
0)ステップ9を実行した後に継続動作を行なうステッ
プ、 から構成されることを特徴とするロボットの制御方法。
[Claims] A control method for completely continuing operation of a robot from a state where the robot is stopped midway, comprising: (1) receiving a signal to stop the robot midway; (2) executing step (1) and stopping the robot; (3) storing the state of the external output signal when step (2) is executed; (4) receiving a signal to start continuous operation; , (5) determining whether the power has stopped after executing step (3) and before executing step 4; (6) determining whether the power has stopped after executing step (5); (7) If step 5 is executed and the power supply is stopped, a step of performing a home return operation; (8) After executing step (7), the numerical control device (9) After executing step (8), the state of the external output signal stored in step (3) is restored. step, (1
0) A method for controlling a robot, comprising the following steps: performing a continuous operation after executing step 9.
JP62004344A 1987-01-12 1987-01-12 Robot control method Expired - Fee Related JP2689420B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62004344A JP2689420B2 (en) 1987-01-12 1987-01-12 Robot control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62004344A JP2689420B2 (en) 1987-01-12 1987-01-12 Robot control method

Publications (2)

Publication Number Publication Date
JPS63174889A true JPS63174889A (en) 1988-07-19
JP2689420B2 JP2689420B2 (en) 1997-12-10

Family

ID=11581810

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62004344A Expired - Fee Related JP2689420B2 (en) 1987-01-12 1987-01-12 Robot control method

Country Status (1)

Country Link
JP (1) JP2689420B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02124958A (en) * 1988-07-15 1990-05-14 Denki Kagaku Kogyo Kk Thermoplastic polyvinyl chloride elastomer composition
JPH05233043A (en) * 1992-02-24 1993-09-10 Fujimori Seisakusho:Kk Automatic machine controller
JP2005219138A (en) * 2004-02-03 2005-08-18 Seiko Epson Corp Robot control method, robot control device, robot control program, and recording medium
JP4911782B2 (en) * 2006-01-17 2012-04-04 武蔵エンジニアリング株式会社 Work robot with excellent work restartability
JP2012157958A (en) * 2011-02-02 2012-08-23 Canon Inc Device and method for robot control

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49112088A (en) * 1973-02-28 1974-10-25
JPS57168306A (en) * 1981-04-08 1982-10-16 Daihen Corp Controlling method of industrial robot

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49112088A (en) * 1973-02-28 1974-10-25
JPS57168306A (en) * 1981-04-08 1982-10-16 Daihen Corp Controlling method of industrial robot

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02124958A (en) * 1988-07-15 1990-05-14 Denki Kagaku Kogyo Kk Thermoplastic polyvinyl chloride elastomer composition
JPH05233043A (en) * 1992-02-24 1993-09-10 Fujimori Seisakusho:Kk Automatic machine controller
JP2005219138A (en) * 2004-02-03 2005-08-18 Seiko Epson Corp Robot control method, robot control device, robot control program, and recording medium
JP4911782B2 (en) * 2006-01-17 2012-04-04 武蔵エンジニアリング株式会社 Work robot with excellent work restartability
US8249745B2 (en) 2006-01-17 2012-08-21 Musashi Engineering, Inc. Work robot excellent in work resumption
JP2012157958A (en) * 2011-02-02 2012-08-23 Canon Inc Device and method for robot control

Also Published As

Publication number Publication date
JP2689420B2 (en) 1997-12-10

Similar Documents

Publication Publication Date Title
JPH03281194A (en) Stop control method for industrial robot
JPS63174889A (en) Method of controlling robot
JP2786874B2 (en) Movable position control device
JP3421442B2 (en) Robot position teaching method and robot control device
JPH01111207A (en) Recording/reproducing method for robot teaching data
JPH04235610A (en) Abnormality detector for industrial robot
JPS63174888A (en) Method of controlling robot
JP3244326B2 (en) Numerical control unit
JPS60246407A (en) Follow-up type robot device
JPH0121748Y2 (en)
JPH0749246A (en) Encoder system
JP2760125B2 (en) Robot controller
JP3011026B2 (en) Robot control device
JPH11191011A (en) Robot control unit and its control method
JPS6297004A (en) Original point reset controller for traveling object undergoing numerical control
JPS61236495A (en) Controller for industrial robot
JP2830162B2 (en) Robot and homing method
JPH0411355B2 (en)
JPH062316B2 (en) Starting point detection method
JPS62124897A (en) Safety device for robot
JPS6244803A (en) Numerical controller
JPS63241603A (en) Method and device for processing position deviation signal of robot
JPS6046442B2 (en) How to correct the origin position of a numerical control device
JPH01108606A (en) Robot controller
JPH06187749A (en) Head positioning circuit for magnetic disk device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees