JPS63174888A - Method of controlling robot - Google Patents

Method of controlling robot

Info

Publication number
JPS63174888A
JPS63174888A JP434287A JP434287A JPS63174888A JP S63174888 A JPS63174888 A JP S63174888A JP 434287 A JP434287 A JP 434287A JP 434287 A JP434287 A JP 434287A JP S63174888 A JPS63174888 A JP S63174888A
Authority
JP
Japan
Prior art keywords
robot
stopped
stop
state
origin
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
JP434287A
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.)
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 JP434287A priority Critical patent/JPS63174888A/en
Publication of JPS63174888A publication Critical patent/JPS63174888A/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 FIELD OF THE INVENTION The present invention relates to a method of controlling a robot so that the robot can continue to operate completely from an intermediate stop.

従来の技術 従来、ロボットの位置検出には安価で取扱いの容易な相
対値式エンコーダが使用される事が多い。
BACKGROUND OF THE INVENTION Conventionally, relative encoders, which are inexpensive and easy to handle, have often been used to detect the position of robots.

この相対値式エンコーダを利用したロボットを動作途中
で停止させ、再び継続動作を行なわせることは、停止中
に電源を停止しない条件下においては従来から実施され
ている。しかしながら、停止中に一旦電源を停止すると
、継続動作を行なう前に原点復帰動作が必要であるため
に、ロボットのアーム位置が変化する。この時点で継続
動作を開始すると、継続動作の目標点に向いロボットは
直接移動を開始する。第4図は上述した例を示したもの
である。直交座標型ロボット1と先端に装備されたチャ
ック2を数値制御装置3により駆動し、ワーク4を21
点から22点に移載する。この際に障害物6を回避する
ために途中通過点PIa点とP2a点を順にチャック2
が通過するように制御する。このロボット1をP2a点
で途中停止させ、再度継続動作を行なうと、停止中に電
源を停止しない場合は実線で示す経路を通り、停止中に
電源を停止した場合は破線で示す経路を通って次の目標
点22点へ移動する。尚0は機械原点である。
It has been conventionally practiced to stop a robot using a relative value encoder mid-motion and then continue the motion again under conditions where the power supply is not stopped during the robot's stop. 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, and a workpiece 4 is
Translated from point to point 22. At this time, in order to avoid the obstacle 6, chuck 2 passes through points PIa and P2a in order.
control so that it passes. 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. Note that 0 is the machine origin.

以上の例は、アーム位置測定装置に相対値式エンコーダ
を利用した例であるが、絶対値式エンコーダやレゾルバ
を利用した場合には、停止中にロボットアームに外力が
かかり、アームの状態が変化すると、再度継続動作を行
なうと、その状態から継続動作の目標点に向い直接移動
を開始する。
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 method for controlling a robot to stop halfway and return according to the present invention updates and stores arm position information and external output signal information when the robot stops halfway, It is determined whether or not there was a power outage during the mid-stop, and only when the power is stopped and the operation is continued, the memorized mid-stop point is set as the operation target point after the return-to-origin operation, and the stored mid-stop point is set as the operation target point after the return-to-origin operation. In this control method, after moving by an operation opposite to the origin return operation, the controller returns to a state in which an external output signal is stored and starts a continuation operation.

作  用 本発明は、上記のような手段により、相対値式エンコー
ダを利用したロボットを途中停止中に一旦電源を停止し
た場合の継続動作は、原点復帰動作終了の後、途中停止
点から原点復帰動作を行なう場合と、逆の動作により途
中停止位置へ移動し、外部出力信号の状態を復帰させ、
途中停止した時点と同一の状態にした後に継続動作を開
始する。
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 continued operation is as follows: When performing an operation, it moves to the halfway stop position by the opposite operation, restores the state of the external output signal,
Continuation operation is started after the state is the same as when it was stopped midway.

又、電源を停止しない場合には、ロボットのアームの状
態に変化がないことから、直接継続動作を開始する。
Furthermore, if the power supply is not stopped, the continuous operation is directly started since there is no change in the state of the robot arm.

この結果、ロボットの途中停止中に一旦電源を停止した
か否かに関係なく、ロボット自身や周辺機器等を破損す
る事なく、完全な継続動作が可能になる。
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図は本発明の実施例におけるロボットの途中停止復
帰制御方法の要点を示したフローチャートである。第2
図はこの制御方法を可能にする数値制御装置とその周辺
機器の構成を示すものである。第2図において、1′は
直交座標型ロボット、6はアーム位置検出器、3は数値
制御装置、7は中央処理装置(以下CP uと略す)、
8は記憶装置、9はロボットの駆動制御装置である。
FIG. 1 is a flowchart illustrating the main points of a method for controlling a robot to return from a mid-stop in an embodiment of the present invention. Second
The figure shows the configuration of a numerical control device and its peripheral equipment that make this control method possible. In FIG. 2, 1' is a Cartesian coordinate robot, 6 is an arm position detector, 3 is a numerical controller, 7 is a central processing unit (hereinafter abbreviated as CP u),
8 is a storage device, and 9 is a robot drive control device.

以下、第2図を参照しながら第1図のフローチャートに
従って実施例を説明する。ステップ1で途中停止信号を
受信した数値制御装置3内部のCPu7は、その信号の
解析を行ない、ステップ2で駆動制御装置eにロボット
1を停止させるように指示する。この時CPu7は、ス
テップ3でアーム位置検出装置6から得る位置情報から
停止時のアームの状態を、記憶装置8に記憶する。同時
に、ステップ4で停止時点での数値制御装置3からの外
部出力信号の状態をも記憶装置8に記憶する。次にステ
ップ6で再度起動信号を受信したCPu7は、途中停止
中に少なくとも1度以上、電源が停止したか否かを記憶
装置8の状態から判断する(ステップ8)。この条件判
断により、電源が停止していない場合は、ステップ15
で即座に動作を継続する。又、電源が1度以上停止して
いる場合にCPu7は、駆動制御装置9にロボット1を
、Z軸・Y軸・X軸の順に順次原点復帰するよう指示す
る(ステップ7〜9)。この後CPu7は、ステップ3
で記憶した途中停止位置から原点復帰する場合の各軸の
移動量を算出する(ステップ1o)。その算出結果から
、原点復帰動作と逆の動作を行なうように、X軸・Y軸
・2軸の頭に移動し、ステップ3で記憶した途中停止位
置に位置決めを完了するように、CPu7は駆動制御装
置9に指令を出す(ステップ11〜13)。途中停止位
置への移動が終了すると、ステップ14によりCPu7
はステップ4で記憶した外部出力信号の状態を復帰する
。このように途中停止の状態を再現した後に、ステップ
15で継続動作を開始する。
Hereinafter, an embodiment will be described according to the flowchart of FIG. 1 while referring to FIG. The CPU 7 inside the numerical control device 3, which received the intermediate stop signal in step 1, analyzes the signal and instructs the drive control device e to stop the robot 1 in step 2. 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 8). Based on this condition judgment, if the power supply has not stopped, step 15
to continue operating immediately. Further, if the power supply has been stopped once or more, the CPU 7 instructs the drive control device 9 to return the robot 1 to the origin in the order of the Z-axis, Y-axis, and X-axis (steps 7 to 9). After this, CPU7 performs step 3.
The amount of movement of each axis when returning to the origin from the intermediate stop position stored in step 1 is calculated (step 1o). Based on the calculation result, the CPU 7 is driven so as to move to the beginning of the X-axis, Y-axis, and 2-axis in order to perform the operation opposite to the origin return operation, and complete positioning at the intermediate stop position memorized in step 3. A command is issued to the control device 9 (steps 11 to 13). When the movement to the intermediate stop position is completed, the CPU 7
restores 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 15.

第3図は本実施例によるロボット1のアーム先端の動き
を示したものである。破線で示す従来の制御方法による
軌跡が障害物6と交錯するのに対して、太い実線で示す
本実施例が、途中停止点からの忠実な継続動作を行なう
ことがわかる。尚、P2bは電源停止中に外力が加わり
、P2a点が移動した位置である。   ′ 以上のように本実施例によれば、途中停止中に一旦電源
が停止した場合にも、原点復帰位置から原点復帰動作と
逆の経路を通り、途中停止位置に復帰し、途中停止の状
態を再現した後に継続動作を行なうため、障害物等によ
る破損もなく完全な継続動作を行なうことができる。
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 6, whereas the present embodiment shown by the thick solid line faithfully continues the operation from the halfway stop point. Incidentally, P2b is the position to which point P2a moves due to external force being applied while the power supply is stopped. ' As described above, according to this embodiment, even if the power supply is temporarily stopped during a mid-stop, the system returns to the mid-stop position from the home return position through the reverse path of the home return operation, and the mid-stop state is restored. Since the continuation operation is performed after reproducing the motion, complete continuation operation can be performed without damage caused by obstacles or the like.

発明の効果 以上のように本発明は、相対値式エンコーダを利用した
ロボットの途中停止中に一旦電源が停止した場合に、原
点復帰位置から途中停止位置に原点復帰動作と逆の経路
を通って復帰し、完全な継続動作を行なうことにより、
相対値式エンコーダを用いながら、絶対値式エンコーダ
やレゾルバを用いたロボットと同等以上の継続動作が可
能であり、原点からの移動に関しては、原点復帰動作と
逆の経路を通るため、安全性が高い。また、相対値式エ
ンコーダを利用しているために、ローコストでの実現を
可能にした。
Effects of the Invention As described above, in the case where the power supply is temporarily stopped while a robot using a relative value encoder is stopped midway, the robot moves from the home return position to the midway stop position through a path opposite to the home return operation. By returning and performing complete continuous operation,
Although it uses a relative encoder, it is capable of continuous operation that is equivalent to or better than a robot that uses an absolute encoder or resolver, and when moving from the origin, it is safer because it takes the opposite path to the return-to-origin operation. expensive. 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図に示す制御方法によるロボットの動きを示し
た説明図、第4図は従来の制御方法によるロボットの動
きを示した説明図である。 1・・・・・・ロボット、3・・・・・・数値制御装置
、6・・・・・・アーム位置検出装置。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名第1
図 第2図 第3図 × 第4図
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.
FIG. 4 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 2 Figure 3 × Figure 4

Claims (1)

【特許請求の範囲】 ロボットが途中停止した状態からの継続動作を行なう制
御方法において、 (1)、ロボットを途中停止させる信号を受信するステ
ップ、 (2)、ステップ(1)を実行して停止したロボットの
アームの位置を読み込み、記憶するステップ、(3)、
ステップ(2)を実行したときの外部出力信号の状態を
記憶するステップ、 (4)、継続動作を開始するための信号を受信するステ
ップ、 (5)、ステップ(3)を実行してからステップ(4)
を実行するまでに、電源が停止したか否かを判断するス
テップ、 (6)、ステップ(5)を実行して電源が停止していな
い場合に継続動作を行なうステップ、 (7)、ステップ(5)を実行して電源が停止している
場合に、原点復帰動作を行なうステップ、 (8)、ステップ(2)で記憶した位置から原点復帰動
作をすると仮定した場合のアームの動作と逆の動作を行
ない、原点からステップ(2)で記憶した位置にアーム
を移動するステップ、 (9)、ステップ(8)を実行した後にステップ(3)
で記憶した外部出力信号の状態を復帰するステップ、(
10)、ステップ(9)を実行した後に継続動作を行な
うステップ、 から構成されることを特徴とするロボットの制御方法。
[Claims of Claims] A control method in which a robot continues to operate 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; a step of reading and storing the position of the robot arm, (3);
Storing the state of the external output signal when step (2) is executed; (4); Receiving a signal to start continuous operation; (5); After executing step (3), step (4)
(6), executing step (5) and continuing the operation if the power has not stopped, (7), step ( Step 5) to perform a return-to-origin operation when the power supply is stopped; (8), which is the opposite of the arm operation assuming that the return-to-origin operation is to be performed from the position memorized in step (2). Step (9) to move the arm from the origin to the position memorized in step (2), step (3) after executing step (8).
The step of restoring the state of the external output signal memorized in (
10) A method for controlling a robot, comprising the following steps: performing a continuous operation after performing step (9).
JP434287A 1987-01-12 1987-01-12 Method of controlling robot Pending JPS63174888A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP434287A JPS63174888A (en) 1987-01-12 1987-01-12 Method of controlling robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP434287A JPS63174888A (en) 1987-01-12 1987-01-12 Method of controlling robot

Publications (1)

Publication Number Publication Date
JPS63174888A true JPS63174888A (en) 1988-07-19

Family

ID=11581759

Family Applications (1)

Application Number Title Priority Date Filing Date
JP434287A Pending JPS63174888A (en) 1987-01-12 1987-01-12 Method of controlling robot

Country Status (1)

Country Link
JP (1) JPS63174888A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020026457A1 (en) * 2018-07-30 2020-02-06 株式会社ダイアディックシステムズ Robot control system, robot control method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020026457A1 (en) * 2018-07-30 2020-02-06 株式会社ダイアディックシステムズ Robot control system, robot control method, and program
JPWO2020026457A1 (en) * 2018-07-30 2021-10-21 株式会社ダイアディックシステムズ Robot control systems, robot control methods, and programs

Similar Documents

Publication Publication Date Title
JP2786874B2 (en) Movable position control device
JPS63174889A (en) Method of controlling robot
JPS63174888A (en) Method of controlling robot
JPH04235610A (en) Abnormality detector for industrial robot
JPH0276691A (en) Method and device for stopping motion of industrial robot
JP3268705B2 (en) Robot home search method
JP3010107B2 (en) Encoder system
JPH0121748Y2 (en)
JP3433817B2 (en) Feed control device
JPH06335883A (en) Robot controller
JP3011026B2 (en) Robot control device
JP2760125B2 (en) Robot controller
CN114274132B (en) Multi-joint robot power-on joint precision management method
JPS63108409A (en) Operation control mechanism and its method in nc machine tool
JPS61203292A (en) Method of returning uncontrolled movement of moving body
JPH11191011A (en) Robot control unit and its control method
JPH0431603Y2 (en)
JPS61236495A (en) Controller for industrial robot
JPS6244803A (en) Numerical controller
JPS62124897A (en) Safety device for robot
JPH0335988A (en) Setting method for operation range of robot
JPS6046442B2 (en) How to correct the origin position of a numerical control device
JPH062316B2 (en) Starting point detection method
JPH01321192A (en) Working aera limiter for robot
JPS59138910A (en) Position detection system