JPH04326404A - Controller for robot - Google Patents

Controller for robot

Info

Publication number
JPH04326404A
JPH04326404A JP12288791A JP12288791A JPH04326404A JP H04326404 A JPH04326404 A JP H04326404A JP 12288791 A JP12288791 A JP 12288791A JP 12288791 A JP12288791 A JP 12288791A JP H04326404 A JPH04326404 A JP H04326404A
Authority
JP
Japan
Prior art keywords
robot
movement
arm
command
buffer
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
JP12288791A
Other languages
Japanese (ja)
Inventor
Toshiyasu Sakaida
酒井田 利康
Masanobu Ito
雅信 伊藤
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 JP12288791A priority Critical patent/JPH04326404A/en
Publication of JPH04326404A publication Critical patent/JPH04326404A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Manipulator (AREA)

Abstract

PURPOSE:To prevent long time required for recovering a robot and debugging an operation program being caused by the robot stopping within an operational range while the arm of the robot is moving. CONSTITUTION:Before starting the movement of the arm, an operating route calculating means 21 calculates all the positions on an operating route according to a current position in a current position buffer 14 and an objective moving position in an objective moving position buffer 13 and the calculated result is written in a commanded position buffer 22. A commanded position operational range judging means 23 judges whether all the commanded positions on the operating route are within the operational range of the arm or not. When they are out of the operational range, an abnormal signal 18a is outputted from an alarm generating means 18, the movement of the arm is blocked, and the arm is prevented from stopping during the movement.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明は、テーチング・プレイ
バック方式又は数値制御方式のロボットを制御する装置
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a device for controlling a robot using a teaching/playback method or a numerical control method.

【0002】0002

【従来の技術】図3及び図4は、従来のロボットの制御
装置を示す図で、図3はブロック図、図4は全体構成図
である。図3において、1はロボット全体を管理するC
PUA、2は制御プログラムが格納されたROM、3は
計算用のデータを格納するRAM、4はロボットに所望
の作業をさせるための動作プログラム及び位置データを
格納するプログラムメモリ、5はCPUA1の各指令が
書き込まれる共有メモリ、6はサーボ系を制御するCP
UB、7,8はそれぞれROM2及びRAM3に相当す
るROM及びRAM、9はロボット本体10内の各軸の
モータに接続されたサーボインターフェース、10aは
ロボットのアームである。
2. Description of the Related Art FIGS. 3 and 4 are diagrams showing conventional robot control devices, with FIG. 3 being a block diagram and FIG. 4 being an overall configuration diagram. In Figure 3, 1 is C that manages the entire robot.
PUA, 2 is a ROM that stores a control program, 3 is a RAM that stores calculation data, 4 is a program memory that stores an operation program and position data for making the robot perform a desired work, 5 is each of the CPUA 1 Shared memory where commands are written, 6 is a CP that controls the servo system
UB, 7, and 8 are ROMs and RAMs corresponding to ROM2 and RAM3, respectively; 9 is a servo interface connected to the motor of each axis within the robot body 10; and 10a is an arm of the robot.

【0003】図4において、11はプログラムメモリ4
に格納された動作プログラム、12は後述する現在位置
バッファ14に格納されている現在位置、及びプログラ
ムメモリ4に格納されている動作プログラム11とから
、動作プログラムを解読してロボットの移動目的位置を
出力するプログラム実行手段、13はロボットの移動目
的位置を格納する目的位置バッファ、14はロボットの
現在位置を格納する現在位置バッファ、15は現在位置
バッファ14に格納されている現在位置、及び目的位置
バッファ13に格納されている目的位置とから次の時点
における指令位置を計算する指令発生手段、16は上記
計算された次時点指令位置を格納する次時点指令位置バ
ッファで、RAM3の中に格納されている。17は次時
点指令位置バッファ16に格納されている次時点指令位
置がアーム10aの動作範囲内にあるかを判断する次時
点指令位置動作範囲判断手段、18は次時点指令位置動
作範囲判断手段17からの指令を受けて、外部に対して
異常信号18aを出力するアラーム発生手段である。
In FIG. 4, 11 is a program memory 4.
12 decodes the movement program from the current position stored in the current position buffer 14, which will be described later, and the movement program 11 stored in the program memory 4, and determines the target position of the robot. 13 is a target position buffer that stores the robot's movement target position; 14 is a current position buffer that stores the robot's current position; 15 is the current position stored in the current position buffer 14; and the target position. A command generating means calculates the command position at the next time point from the target position stored in the buffer 13, and 16 is a next time command position buffer that stores the calculated next time command position, which is stored in the RAM 3. ing. Reference numeral 17 denotes next point command position operation range determining means for determining whether the next point command position stored in the next point command position buffer 16 is within the operation range of the arm 10a, and 18 denotes next point command position operation range determining means 17. This is an alarm generating means that outputs an abnormality signal 18a to the outside in response to a command from the controller.

【0004】従来のロボットの制御装置は上記のように
構成され、その動作を説明する。まず、CPUA1はプ
ログラムメモリ4からロボットの動作プログラムを読み
出し、プログラム実行手段12は目的位置を目的位置バ
ッファ13に書き込む。指令発生手段15は現在位置と
目的位置を読み込み、次時点指令位置を算出し、次時点
指令位置バッファ16に書き込む。次時点指令位置動作
範囲判断手段17は次時点指令位置を読み込み、それが
アーム10aの動作範囲外であれば、アラーム発生手段
18に指令を出し、アラーム発生手段18は異常信号1
8aを出力する。同時に、CPUA1はロボット停止の
指令を共有メモリ5に書き込み、CPUB6はロボット
本体10を停止させる。また、動作範囲内であれば、現
在位置を更新し、現在位置バッファ14に数値を書き込
む。CPUB6は上記動作を単位時間ごとに実行し、目
的位置に到着するまで続ける。
A conventional robot control device is constructed as described above, and its operation will be explained below. First, the CPU 1 reads the robot operation program from the program memory 4, and the program execution means 12 writes the target position into the target position buffer 13. The command generating means 15 reads the current position and the target position, calculates the next time command position, and writes it into the next time command position buffer 16. The next point command position operation range determining means 17 reads the next point command position, and if it is outside the movement range of the arm 10a, it issues a command to the alarm generating means 18, and the alarm generating means 18 sends an abnormality signal 1.
Outputs 8a. At the same time, the CPUA1 writes a command to stop the robot in the shared memory 5, and the CPUB6 stops the robot body 10. If it is within the operating range, the current position is updated and the numerical value is written into the current position buffer 14. The CPUB 6 executes the above operation every unit time until it reaches the target position.

【0005】このように、軌跡補間動作時に、図5に示
される目的位置Paがアーム10aの動作範囲内に存在
することが確認されると、アーム10aは現在位置Pb
から移動を開始し、移動の間にロボット本体10との干
渉を検出すると、それを防ぐため、アーム10aを停止
させるようにしている。
As described above, when it is confirmed that the target position Pa shown in FIG. 5 is within the movement range of the arm 10a during the trajectory interpolation operation, the arm 10a moves to the current position Pb.
When the arm 10a starts moving and detects interference with the robot body 10 during the movement, the arm 10a is stopped to prevent this.

【0006】[0006]

【発明が解決しようとする課題】上記のような従来のロ
ボットの制御装置では、軌跡補間動作時に、目的位置P
aがアーム10aの動作範囲内にあれば、動作経路を確
認することなくアーム10aを移動させるようにしてい
るため、移動途中でアーム10aの動作範囲外に入ると
アーム10aは停止し、ロボット復旧作業に手間取り、
動作プログラムのデバッグ作業に時間を要するという問
題点がある。
[Problem to be Solved by the Invention] In the conventional robot control device as described above, during trajectory interpolation operation, the target position P
If a is within the movement range of the arm 10a, the arm 10a is moved without checking the movement path, so if it goes outside the movement range of the arm 10a during movement, the arm 10a will stop and the robot will be restored. It takes time to work,
There is a problem in that it takes time to debug the operating program.

【0007】この発明は上記問題点を解決するためにな
されたもので、異常発生後のロボットの復旧及び動作プ
ログラムのデバッグ時間を短縮できるようにしたロボッ
トの制御装置を提供することを目的とする。
The present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to provide a robot control device that can restore the robot after an abnormality occurs and shorten the debugging time of the operation program. .

【0008】[0008]

【課題を解決するための手段】この発明に係るロボット
の制御装置は、ロボットの移動体の移動開始前に、移動
目的位置までの動作経路を算出し、この動作経路上の各
時点におけるロボットの位置が動作範囲内にあるかを判
断し、動作範囲外と判断されると移動体の移動を阻止す
るようにしたものである。
[Means for Solving the Problems] A robot control device according to the present invention calculates a movement path to a movement target position before a moving body of the robot starts moving, and calculates a movement path of the robot at each point on the movement path. It is determined whether the position is within the operating range, and if it is determined that the position is outside the operating range, the movement of the moving body is prevented.

【0009】[0009]

【作用】この発明においては、ロボットの移動体の移動
開始前に動作経路を確認するようにしたため、移動途中
で移動体が動作範囲外の領域に入って停止することはな
くなる。
[Operation] In this invention, since the movement path of the moving body of the robot is confirmed before the robot starts moving, the moving body does not enter an area outside the movement range and stop during movement.

【0010】0010

【実施例】図1及び図2はこの発明の一実施例を示す図
で、図1は全体構成図、図2はフローチャートであり、
従来装置と同様の部分は同一符号で示す。なお、図3は
この実施例にも共用される。
[Embodiment] FIGS. 1 and 2 are diagrams showing an embodiment of the present invention. FIG. 1 is an overall configuration diagram, and FIG. 2 is a flow chart.
Portions similar to those of the conventional device are designated by the same reference numerals. Note that FIG. 3 is also used in this embodiment.

【0011】図1において、21は目的位置バッファ1
3及び現在位置バッファ14から動作経路上の位置を算
出する動作経路算出手段、22は動作経路算出手段21
から求められた動作経路上の各時点におけるロボットの
位置を格納するn(n=1,2,3・・・)個の指令位
置バッファ、23は指令位置バッファ22からn個の指
令位置を読み込み、すべての指令位置が動作範囲内に存
在するかを判断する指令位置動作範囲判断手段である。
In FIG. 1, 21 is the destination position buffer 1.
3 and a motion route calculation means for calculating the position on the motion route from the current position buffer 14; 22 is a motion route calculation means 21;
23 reads n command positions from the command position buffer 22. , is a command position operating range determining means that determines whether all command positions are within the operating range.

【0012】次に、この実施例の動作を図2を参照して
説明する。まず、ステップ31で従来装置と同様に移動
目的位置を目的位置バッファ13に書き込む。次に、ス
テップ32で現在位置と移動目的位置から動作経路算出
手段21により動作経路上のすべての位置を算出して、
その結果を指令位置バッファ22に書き込む。ステップ
33で指令位置動作範囲判断手段23により、動作経路
上のすべての指令位置がアーム10aの動作範囲内にあ
るかを判断する。
Next, the operation of this embodiment will be explained with reference to FIG. First, in step 31, the movement target position is written into the target position buffer 13 as in the conventional apparatus. Next, in step 32, the motion route calculation means 21 calculates all positions on the motion route from the current position and the movement target position,
The result is written into the command position buffer 22. In step 33, the command position motion range determining means 23 determines whether all command positions on the motion path are within the motion range of the arm 10a.

【0013】その結果、動作範囲内と判断されると、ス
テップ34へ進み、従来装置と同様に処理される。すな
わち、ステップ34で次時点指令位置を算出し、次時点
指令位置バッファ16に書き込む。次にステップ35で
次時点指令位置動作範囲判断手段17により、次時点指
令位置が動作範囲内にあるかを判断する。動作範囲内で
あればステップ36で現在位置バッファ14を更新し、
ステップ37で現在位置を指令発生手段15に出力して
ステップ34〜37をロボットが目的移動位置に達する
まで繰り返す。
As a result, if it is determined that it is within the operating range, the process advances to step 34 and is processed in the same manner as in the conventional apparatus. That is, in step 34, the next point-in-time command position is calculated and written into the next point-in-time command position buffer 16. Next, in step 35, the next point command position operating range determining means 17 determines whether the next point command position is within the operating range. If it is within the operating range, the current position buffer 14 is updated in step 36,
In step 37, the current position is output to the command generating means 15, and steps 34 to 37 are repeated until the robot reaches the target movement position.

【0014】ステップ35で動作範囲外と判断されると
、ステップ38へ進み、アラーム発生手段18から異常
信号18aを出力し、CPUB6はロボット停止の指令
を出す。また、ステップ33で動作経路のすべての指令
位置の内一つでも動作範囲外にあれば、ステップ39に
進んで、同様に異常信号18aを出力し、アーム10a
の移動を阻止する。
If it is determined in step 35 that the robot is outside the operating range, the process proceeds to step 38, where the alarm generating means 18 outputs an abnormality signal 18a, and the CPU 6 issues a command to stop the robot. Further, if at least one of all commanded positions on the operating path is outside the operating range in step 33, the process proceeds to step 39, in which the abnormality signal 18a is similarly output and the arm 10a is
prevent the movement of

【0015】[0015]

【発明の効果】以上説明したとおりこの発明では、ロボ
ットの移動体の移動開始前に、移動目的位置までの動作
経路を算出し、この動作経路上の各時点における移動体
の位置が移動体の動作範囲内にあるかを判断し、動作範
囲外と判断されると移動体の移動を阻止するようにした
ので、移動体の移動開始前に動作経路が確認され、移動
阻止後のロボットの復旧及び動作プログラムのデバッグ
時間を短縮できる効果がある。
[Effects of the Invention] As explained above, in this invention, before the moving object of the robot starts moving, the movement path to the movement target position is calculated, and the position of the moving object at each point on this movement path is calculated. It is determined whether the moving object is within the movement range, and if it is determined that it is outside the movement range, the movement of the moving object is blocked, so the movement path of the moving object can be confirmed before the movement starts, and the robot can be recovered after movement is blocked. This also has the effect of shortening the debugging time of operating programs.

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

【図1】この発明によるロボットの一実施例を示す全体
構成図。
FIG. 1 is an overall configuration diagram showing an embodiment of a robot according to the present invention.

【図2】図1の動作を示すフローチャート。FIG. 2 is a flowchart showing the operation of FIG. 1;

【図3】従来のロボットの制御装置を示すブロック図。FIG. 3 is a block diagram showing a conventional robot control device.

【図4】図3の全体構成図。FIG. 4 is an overall configuration diagram of FIG. 3;

【図5】図3のロボットのアーム移動軌跡図。FIG. 5 is an arm movement locus diagram of the robot in FIG. 3;

【符号の説明】 10    ロボット本体 10a  移動体(アーム) 13    目的位置バッファ 14    現在位置バッファ 15    指令発生手段 16    次時点指令位置バッファ 17    次時点指令位置動作範囲判断手段18  
  アラーム発生手段 21    動作経路算出手段 22    指令位置バッファ
[Explanation of symbols] 10 Robot main body 10a Moving body (arm) 13 Target position buffer 14 Current position buffer 15 Command generation means 16 Next time point command position buffer 17 Next time point command position operation range judgment means 18
Alarm generation means 21 Operation path calculation means 22 Command position buffer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  次時点指令位置を算出し、これが移動
体の動作範囲内であれば上記移動体を上記次時点に移動
させ、これを移動目的位置まで繰り返すロボットにおい
て、上記移動開始前に上記移動目的位置までの上記移動
体の動作経路を算出する動作経路算出手段と、上記動作
経路上の各時点における上記移動体のそれぞれの位置が
上記動作範囲内にあるかを判断する指令位置動作範囲判
断手段と、上記移動体の位置が上記動作範囲外と判断さ
れると上記移動体の移動を阻止するアラーム発生手段と
を備えたことを特徴とするロボットの制御装置。
Claim 1. A robot that calculates a next point command position, moves the moving object to the next point if it is within the movement range of the moving object, and repeats this process until the movement target position. a motion path calculation means for calculating a motion path of the movable body to the movement target position; and a command position motion range for determining whether each position of the movable body at each point on the motion path is within the motion range. A control device for a robot, comprising a determining means and an alarm generating means for preventing movement of the movable body when the position of the movable body is determined to be outside the operating range.
JP12288791A 1991-04-26 1991-04-26 Controller for robot Pending JPH04326404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12288791A JPH04326404A (en) 1991-04-26 1991-04-26 Controller for robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12288791A JPH04326404A (en) 1991-04-26 1991-04-26 Controller for robot

Publications (1)

Publication Number Publication Date
JPH04326404A true JPH04326404A (en) 1992-11-16

Family

ID=14847096

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12288791A Pending JPH04326404A (en) 1991-04-26 1991-04-26 Controller for robot

Country Status (1)

Country Link
JP (1) JPH04326404A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2070665A2 (en) 2007-12-11 2009-06-17 KUKA Roboter GmbH Method and device for monitoring the range of a manipulator
WO2020067241A1 (en) * 2018-09-28 2020-04-02 日本電産株式会社 Robot control device and robot control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2070665A2 (en) 2007-12-11 2009-06-17 KUKA Roboter GmbH Method and device for monitoring the range of a manipulator
EP2070665A3 (en) * 2007-12-11 2011-04-06 KUKA Laboratories GmbH Method and device for monitoring the range of a manipulator
WO2020067241A1 (en) * 2018-09-28 2020-04-02 日本電産株式会社 Robot control device and robot control method

Similar Documents

Publication Publication Date Title
JP3288250B2 (en) Robot controller
JP3537229B2 (en) Robot control method
JP2017127964A (en) Robot apparatus having learning function
JPH04326404A (en) Controller for robot
JP2662864B2 (en) Industrial robot controller
JPS61147307A (en) Robot controller provided with interference avoiding function
CN108356821B (en) Robot program's correcting device, robot controller, robot simulation apparatus and robot program's modification method
JP2005103674A (en) Apparatus and method for controlling robot
US11156986B2 (en) Machining program editing device
JP2002328711A (en) Numerical control method and its device
JPS6310207A (en) Robot control method
JP2002358114A (en) Simulation device and simulation method
JPS63239511A (en) Robot system
JPH0584681A (en) Method for detecting collision of robot arm against foreign matter
JPS59188704A (en) Method for correcting operating data of nc apparatus
JPH08221109A (en) Robot controller
JPH0121748Y2 (en)
JPH0639066B2 (en) Control method for industrial robot
JP2603942B2 (en) Operation confirmation method for multiple robots
JPH04314108A (en) Controller for robot
JPS61813A (en) Deciding system for faulty area of sequence controller
JPS6190209A (en) Nc data setting method at teach-in time of movable part
JPH07109562B2 (en) Robot path tracking controller
JP2002366206A (en) Simulating method and device therefor
JP2637237B2 (en) Industrial robot controller