JPH0431122B2 - - Google Patents

Info

Publication number
JPH0431122B2
JPH0431122B2 JP59252757A JP25275784A JPH0431122B2 JP H0431122 B2 JPH0431122 B2 JP H0431122B2 JP 59252757 A JP59252757 A JP 59252757A JP 25275784 A JP25275784 A JP 25275784A JP H0431122 B2 JPH0431122 B2 JP H0431122B2
Authority
JP
Japan
Prior art keywords
robot
work
evacuation
stop
evacuation route
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.)
Expired - Lifetime
Application number
JP59252757A
Other languages
Japanese (ja)
Other versions
JPS61131001A (en
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 filed Critical
Priority to JP25275784A priority Critical patent/JPS61131001A/en
Publication of JPS61131001A publication Critical patent/JPS61131001A/en
Publication of JPH0431122B2 publication Critical patent/JPH0431122B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/406Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by monitoring or safety
    • G05B19/4067Restoring data or position after power failure or other interruption

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manipulator (AREA)
  • Safety Devices In Control Systems (AREA)

Description

【発明の詳細な説明】 <産業上の利用分野> 本発明は、プログラムされた作業を正確に繰返
し実行するロボツトの制御装置に関し、特にロボ
ツトの実際に作業を実行する機構がなんらかの原
因によりその動作を停止したときの復旧を容易と
するロボツト用制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION <Field of Industrial Application> The present invention relates to a control device for a robot that accurately and repeatedly executes a programmed task. The present invention relates to a robot control device that facilitates recovery when a robot is stopped.

<従来技術> 従来より、工場、物流等の多方面にロボツトが
開発、利用されている。その能力も1軸上の運動
だけしかできなかつたものから、現在では多軸多
関節型のものの開発、実用化が進んでおり、一層
複雑な作業までも処理可能である。
<Prior Art> Robots have been developed and used in many fields such as factories and logistics. The ability to do this was limited to movement on one axis, but now multi-axis, multi-joint types are being developed and put into practical use, and are capable of handling even more complex tasks.

このようなロボツトの処理能力の増大に伴い、
ロボツトの機構の自由度が増すためその移動軌跡
は制御者が想定できないものとなつた。即ち、ロ
ボツトの機構が任意の位置で停止しているとき、
他の任意な位置まで該機構を移動させるときにど
のような移動軌跡をたどり他の任意な位置まで到
達するものかの想定ができないのである。
As the processing power of robots increases,
As the degree of freedom of the robot's mechanism increases, its movement trajectory becomes impossible for the controller to predict. In other words, when the robot mechanism is stopped at an arbitrary position,
When moving the mechanism to any other arbitrary position, it is impossible to predict what kind of locus of movement the mechanism will take to reach the other arbitrary position.

そこで、ロボツトが作業を開始する以前に予め
定められた原点、いわゆる作業原位置にまでロボ
ツトの機構が復帰していることを確認し、該作業
原位置からロボツトに予め定められたプログラム
に従つた作業を開始させなければ、すなわち任意
の位置からロボツトに作業を開始させると、作業
開始位置まで移動する間にロボツトの機構の移動
軌跡上に障害物があると該障害物を棄損し、ロボ
ツト自体の破壊を招く危険がある。
Therefore, before the robot starts work, it is confirmed that the robot mechanism has returned to a predetermined origin, the so-called work original position, and the robot follows a predetermined program from the work original position. If you do not start the work, that is, if you have the robot start work from an arbitrary position, if there is an obstacle on the movement path of the robot's mechanism while moving to the work start position, the obstacle will be damaged and the robot itself will be damaged. There is a risk of causing destruction.

このため、ロボツトの機構が作業原位置という
空間上の1点に停止していなければロボツトの起
動ができないようにインターロツクを設けたロボ
ツト用制御装置が提案されている。
For this reason, a robot control device has been proposed that is provided with an interlock so that the robot cannot be started unless the robot mechanism is stopped at a single point in space called the work original position.

<発明が解決しようとする問題点> しかしながら上記ロボツト用制御装置も以下の
ごとき問題点を有しており未だに充分なものでは
なかつた。
<Problems to be Solved by the Invention> However, the above-mentioned robot control device also has the following problems and is still not satisfactory.

即ち、ロボツトの機構が任意の位置で停止して
いるとき、該停止している機構を所望の位置、例
えば、作業原位置へ移動させるのには、ロボツト
の制御装置を手動操作モードに切換えての手動に
よる操作、いわゆるテイーチングBOXを使用し
た手動操作が必要である。
That is, when a robot mechanism is stopped at a desired position, the robot control device must be switched to manual operation mode in order to move the stopped mechanism to a desired position, for example, a working position. Manual operation using a so-called teaching box is required.

従つて、その手動操作を行う際にロボツトの機
構を自由に操り作業原位置等にまで移動させるの
には、ロボツトの機能を熟知した作業員が必要で
あり、しかも作業ミスによるこの移動の際に障害
物との衝突等の事故発生の可能性があつた。
Therefore, when performing manual operation, a worker who is familiar with the robot's functions is required to freely operate the robot's mechanism and move it to the work location, etc., and moreover, if this movement is caused by a work error, There was a possibility of accidents such as collisions with obstacles.

また、ロボツトがあるプログラムを実行中にな
んらかの原因によりその機構が停止したようなと
き、ロボツトの制御装置は未だにそのプログラム
の実行中である場合がある。このような場合には
ロボツトの機構を手動操作する以前に、ロボツト
の制御装置に前記プログラムの実行を中止させる
操作や、作業原位置に正確に移動させるための操
作等も行い、作業原位置に移動後にも次に実行さ
れるプログラムを実行させるための操作も行う必
要があり、作業能率が低下するばかりか、このよ
うな機構の停止が生じた場合は復旧を急ぐあまり
に誤操作を引起こす可能性が大きかつた。
Furthermore, when a robot's mechanism stops for some reason while it is executing a certain program, the robot's control device may still be executing that program. In such a case, before manually operating the robot's mechanism, perform operations such as causing the robot's control device to stop executing the program and moving the robot accurately to the work location. Even after moving, operations must be performed to execute the next program to be executed, which not only reduces work efficiency, but also increases the possibility of erroneous operations due to the rush to recover if such a mechanism stops. It was big.

更には、手動操作による作業原位置への復帰は
手動の為に精度高く行うことは不可能であり、作
業原位置のそばにきたと認識した後、その停止点
から作業原位置までロボツト制御装置を操作し動
作させるが、動作径路を予め正確に予測できずロ
ボツトが不測の動作を実行して障害物との衝突を
行う可能性もあつた。
Furthermore, it is impossible to return to the working position by manual operation with high precision because it is done manually, and after recognizing that the robot has come close to the working position, the robot control device moves from the stopping point to the working position. However, since the robot could not accurately predict its path of motion in advance, there was a possibility that the robot would perform unexpected motions and collide with obstacles.

本発明は、上記問題点を解決するためになされ
たもので、ロボツトの機構がそのプログラムに従
つた動作上の任意の位置で停止したとしても、該
機構を手動操作を行わずに所望の退避位置まで障
害物との衝突を生じることなく、簡単に移動させ
ることのできる優れたロボツト用制御装置を提供
することをその目的としている。
The present invention has been made in order to solve the above problems, and even if the mechanism of the robot stops at an arbitrary position in accordance with its program, the robot can be moved to the desired evacuation position without manual operation. The object of the present invention is to provide an excellent control device for a robot that can be easily moved to a certain position without causing a collision with an obstacle.

<問題点を解決するための手段> 上記問題点を解決するために本発明の構成した
手段は、第1図の基本的構成図に示すごとく、 ロボツトの一連の仕事内容を記憶する仕事手順
記憶手段M1と、 該仕事手順記憶手段M1の記憶内容に従つて前
記ロボツトの機構Rを作動させる機構動作手段M
2とを備えるロボツト用制御装置において、 前記機構動作手段M2により作動される前記機
構Rの動作停止及びその停止位置を検出する機構
停止検出手段M3と、 前記機構動作手段M2により作動される前記機
構Rを、所定動作位置に応じた所定の退避位置ま
で動作させる退避専用の経路を予め記憶する退避
経路記憶手段M4と、 前記機構停止検出手段M3の検出結果に応じて
前記退避経路記憶手段M4の記憶内容に従い前記
機構Rを退避させる退避実行手段M5とを備える
ことを特徴とするロボツト用制御装置をその要旨
としている。
<Means for Solving the Problems> The means constructed by the present invention to solve the above problems is, as shown in the basic configuration diagram of FIG. 1, a work procedure memory that stores a series of work contents of the robot. means M1; and mechanism operation means M for operating the mechanism R of the robot according to the stored contents of the work procedure storage means M1.
2, a mechanism stop detection means M3 for detecting the stoppage of the operation of the mechanism R operated by the mechanism operation means M2 and its stop position; and the mechanism operated by the mechanism operation means M2. an evacuation route storage means M4 that stores in advance a dedicated evacuation route for operating R to a predetermined evacuation position corresponding to a predetermined operating position; The gist of the present invention is a robot control device characterized by comprising a retracting execution means M5 for retracting the mechanism R according to stored contents.

<作用> 本発明における仕事手順記憶手段M1とは、ロ
ボツトの実行する作業を記憶するものであり、例
えば、コンピユータ等によつて構成される。近
年、ロボツトの機構Rに各種のセンサを取りつ
け、該センサからの検出結果に応じた仕事を選択
する高度のものも開発、実用化されているが、こ
のような選択的に実行される仕事手順を記憶する
ものであつてもよい。
<Operation> The work procedure storage means M1 in the present invention stores the work performed by the robot, and is constituted by, for example, a computer. In recent years, advanced robot mechanisms have been developed and put into practical use in which various sensors are attached to the robot mechanism R and jobs are selected according to the detection results from the sensors. It may also be something that remembers.

機構動作手段M2とは、上記の仕事手順記憶手
段M1の記憶内容に従つて実際にロボツトの機構
を動作させるものであり、サーボモータ系、油圧
系等の駆動回路やアクチユエータ等から構成され
るものである。
The mechanism operating means M2 is a device that actually operates the robot mechanism according to the contents stored in the work procedure storage means M1, and is composed of a drive circuit such as a servo motor system or a hydraulic system, an actuator, etc. It is.

上記機構動作手段M2が仕事手順記憶手段M1
の記憶内容に従つてロボツトの機構Rを駆動する
ことで所望の仕事をロボツトに実行させることが
可能となるのである。
The mechanism operation means M2 is the work procedure storage means M1
By driving the mechanism R of the robot according to the stored contents of the robot, it becomes possible to have the robot perform a desired task.

本発明では、更に上記構成手段に加えて以下の
ごとき作用の手段を有する。
In addition to the above configuration means, the present invention further includes the following means of operation.

まず、機構停止検出手段M3は、上記のごとく
駆動されるロボツトの機構Rが何らかの原因によ
り一連の作業の途中で停止したとき、その停止及
び停止位置を検出するものである。これは、実際
にロボツトの機構Rが停止している位置を予め定
められた座標系の位置として検出するもの、又
は、ロボツトの機構Rが停止したために途中で実
行不可能となつた仕事の手順からその停止位置を
推定するもの等どのようなものであつても良い。
First, the mechanism stop detection means M3 detects the stop and stop position when the mechanism R of the robot driven as described above stops in the middle of a series of operations due to some reason. This is a method that detects the position where the robot mechanism R has actually stopped as a position in a predetermined coordinate system, or a work procedure that cannot be executed midway because the robot mechanism R has stopped. Any method may be used, such as a method that estimates the stop position from the vehicle.

次に退避径路記憶手段M4とは、ロボツトの機
構Rが何らかの障害物に衝突することもなく安全
な位置、即ち退避位置まで退避させるにはどのよ
うな径路を通つて移動すれば良いかという観点か
ら定まる退避専用の経路を予め記憶するものであ
る。従つて、ロボツトが使用される環境に応じ
て、退避を開始する位置に対応した記憶内容とな
る。また、このときの退避位置として該ロボツト
の作業原位置を選ぶとロボツトに次の作業を実行
させるのに都合が良い。
Next, the evacuation route storage means M4 is a point of view that determines what route the robot mechanism R should take in order to evacuate to a safe position without colliding with any obstacle, that is, to the evacuation position. A dedicated evacuation route determined from the above is stored in advance. Therefore, depending on the environment in which the robot is used, the stored contents correspond to the position at which evacuation is started. Furthermore, if the work original position of the robot is selected as the evacuation position at this time, it is convenient for the robot to perform the next work.

退避実行手段M5は、実際にロボツトの機構R
の退避を実行するものであり、上記機構停止検出
手段M3の検出結果、即ち機構Rの停止及びその
停止位置に応じた前記退避径路記憶手段M4の記
憶する退避径路を選択して機構Rを駆動する。機
構Rの退避に際して、別途に退避用のアクチユエ
ータを設けることなくロボツトに予め備わつてい
る前記機構動作手段M2を使用すれば構成の簡略
化が達成できる。
The evacuation execution means M5 actually operates the robot mechanism R.
, and drives the mechanism R by selecting the evacuation route stored in the evacuation route storage means M4 according to the detection result of the mechanism stop detection means M3, that is, the stoppage of the mechanism R and its stop position. do. When retracting the mechanism R, the structure can be simplified by using the mechanism operating means M2 already provided in the robot without providing a separate retracting actuator.

以下、本発明をより具体的に説明するために実
施例を挙げて詳述する。
EXAMPLES Hereinafter, in order to explain the present invention more specifically, the present invention will be described in detail by giving examples.

<実施例> 第2図は本発明のロボツト用制御装置を備える
ロボツト制御システムのブロツク図であり、10
がそのロボツトを表わしている。ロボツト10
は、実際に仕事を実行する機構部12、該機構部
12を駆動する機構動作手段M2としての動力源
ユニツト14及びロボツト10の実行すべき一連
の仕事を記憶している仕事手順記憶手段M1の機
能を備えるロボツトコントローラ16から構成さ
れる。ロボツトコントローラ16は図示のごとく
コンピユータにより構成されているもので動力源
ユニツト14やシステムシーケンスコントローラ
30との情報の受渡口となる入出力ポート16
A、実際に演算を実行するCPU16B、後述す
る制御プログラム等の情報を記憶するROM16
C及び演算の結果等の一時的な情報の記憶を行う
RAM16Dからなる。また、16Eは上記各構
成要素間での情報の伝達通路となるバスラインを
表わしている。
<Example> FIG. 2 is a block diagram of a robot control system equipped with a robot control device of the present invention.
represents the robot. robot 10
The mechanism section 12 that actually executes the work, the power source unit 14 as the mechanism operation means M2 that drives the mechanism section 12, and the work procedure storage means M1 that stores a series of tasks to be performed by the robot 10. It is composed of a robot controller 16 with functions. As shown in the figure, the robot controller 16 is composed of a computer, and has an input/output port 16 that serves as a port for transmitting information to the power source unit 14 and the system sequence controller 30.
A. CPU 16B that actually executes calculations, ROM 16 that stores information such as control programs to be described later.
Stores temporary information such as C and calculation results.
Consists of 16D RAM. Further, 16E represents a bus line which serves as a path for transmitting information between the above-mentioned components.

20はロボツト10が実行する仕事を補助する
他の外部機器である。即ち、ロボツト12によつ
て作業が実行される被作業物をロボツト10の記
憶する所定の作業位置にまで搬送する搬送車、及
び被作業物をロボツト10の作業が容易となるよ
うに固定するクランパー等の各種の機器からな
る。
Reference numeral 20 indicates other external equipment that assists the work performed by the robot 10. That is, a transport vehicle that transports the workpiece to be worked on by the robot 12 to a predetermined work position stored in the robot 10, and a clamper that fixes the workpiece so that the robot 10 can easily perform the work. Consists of various equipment such as.

30はロボツト制御システムの全体を制御する
システムシーケンスコントローラである。これ
は、本システムを操作する作業者が操作盤40か
らシステムを起動すると、予め定められたシーケ
ンスに従い、例えば搬送車を駆動して被作業物を
ロボツト10の所定作業位置まで移動させ、次い
でクランパーにより該被作業物を固定した後、ロ
ボツトコントローラ16へロボツト10の起動を
命令する等の一連の仕事の流れを司るものであ
る。
30 is a system sequence controller that controls the entire robot control system. When the operator of this system starts the system from the operation panel 40, the workpiece is moved to a predetermined work position of the robot 10 by, for example, driving a transport vehicle according to a predetermined sequence, and then the clamper After fixing the workpiece, the robot controller 16 is in charge of a series of work flows such as instructing the robot controller 16 to start the robot 10.

操作盤40は前述のようにシステムの起動を指
令するスイツチの他に、現在のシステムの動作状
況を表示する表示部や、システムの動作を停止さ
せる停止スイツチ等の各種の制御用スイツチや表
示装置からなる。
The operation panel 40 includes a switch for instructing the start of the system as described above, as well as various control switches and display devices, such as a display section for displaying the current operating status of the system and a stop switch for stopping the operation of the system. Consisting of

本実施例のロボツト用制御装置は前述のロボツ
トコントローラ16及び動力源ユニツト14とに
よつて構成されている。
The robot control device of this embodiment is composed of the robot controller 16 and power source unit 14 described above.

即ち、ロボツトコントローラ16とは前述のご
とくロボツト10の実行、すべての仕事の手順を
記憶する仕事手順記憶手段M1を構成している
が、その記憶をしている記憶部に同時に退避径路
記憶手段M4としての退避径路までも記憶してい
るのである。これは、ロボツトコントローラ16
として通常使用されるコンピユータの記憶装置の
記憶容量を増加させることで簡単に達成できる。
また、このロボツトコントローラ16は機構停止
検出手段M3をも構成している。即ち、ロボツト
コントローラ16は記憶している仕事手順に応じ
て機構部12を動作させるべく動力源ユニツト1
4に駆動信号を出力する。ロボツト停止は、非常
停止、外部装置等の異常、安全のために設けたイ
ンターロツク等により実行される。そして、その
停止の位置は機構部12へどのような駆動信号を
出力したときに停止したのかを知ることにより、
即ち仕事手順の中のどの駆動信号を出力したとき
に停止したかを検索することで検出することがで
きるのである。更に、ロボツトコントローラ16
は退避実行手段M5としての機構により、上記の
ように機構部12の停止とその停止位置が検出さ
れたとき、該停止位置に対応した前記の記憶され
ている退避径路を選択し、その選択された退避径
路通りに機構部12を動作させる駆動信号を動力
源ユニツトに出力する制御プログラムによつて構
成されている。即ち、該制御プログラムを記憶し
処理するロボツトコントローラ16とその処理結
果に応じた動作を実行させるための動力源ユニツ
ト14とによつて構成されているのである。
That is, as mentioned above, the robot controller 16 constitutes a work procedure storage means M1 that stores the execution of the robot 10 and all the work procedures, but at the same time, an evacuation route storage means M4 is stored in the storage section that stores the robot controller 16. It even remembers the evacuation route. This is the robot controller 16
This can be easily achieved by increasing the storage capacity of the computer storage device normally used as a computer.
The robot controller 16 also constitutes a mechanism stop detection means M3. That is, the robot controller 16 controls the power source unit 1 to operate the mechanical section 12 according to the stored work procedure.
A drive signal is output to 4. The robot is stopped due to an emergency stop, an abnormality in an external device, an interlock provided for safety, or the like. Then, the stop position can be determined by knowing what kind of drive signal was output to the mechanism section 12 when the stop occurred.
That is, it can be detected by searching which drive signal in the work procedure was output when the machine stopped. Furthermore, the robot controller 16
When the mechanism serving as the evacuation executing means M5 detects the stoppage of the mechanism section 12 and its stop position as described above, it selects the above-mentioned stored evacuation route corresponding to the stopped position, and It is constituted by a control program that outputs a drive signal to the power source unit to operate the mechanism section 12 along the set evacuation path. That is, it is composed of a robot controller 16 that stores and processes the control program, and a power source unit 14 that executes operations according to the processing results.

このように構成される本実施例のロボツト用制
御装置の制御プログラムを第3図および第4図に
示す。
A control program for the robot control device of this embodiment configured as described above is shown in FIGS. 3 and 4.

第3図はロボツト制御システムで実行する一連
の作業を行なう作業プログラムであり、システム
が起動され、操作盤40より作業開始の指令が入
力されたとき実行されるものである。
FIG. 3 shows a work program for performing a series of works to be executed by the robot control system, and is executed when the system is started up and a command to start work is input from the operation panel 40.

本プログラムが実行されると、まずステツプ
100が処理されロボツトコントローラの立ち上げ
や初期設定がなされ、以下の処理に備える。次い
でロボツトの機構部12は作業原位置にあり作業
開始ができ得る状態か否かが判断され(ステツプ
110)、もし原位置になければその旨をシステムシ
ーケンスコントローラ30に出力し、これにより
システムシーケンスコントローラ30は操作盤4
0の表示部にシステムの異常を表示する(ステツ
プ120)。作業原位置で機構部12が待機中であれ
ばステツプ130で変数nのクリアが実行される。
この変数nとは、ロボツト10の実行する作業に
対応して付与される作業番号を表示するためのも
ので、作業番号nを知ることで現在ロボツト10
の機構部12がどの位置にあり、どのような作業
を実行しているかを検索することができるのであ
る。変数nのクリヤが終了すると続いて該変数n
のインクリメントが実行され(ステツプ140)、以
下インクリメントされた変数nの値に対応する作
業の実行へと移る。
When this program is executed, the first step is
100 is processed and the robot controller is started up and initialized to prepare for the following processing. Next, it is determined whether the mechanical part 12 of the robot is in the original working position and ready to start working (step 1).
110), if it is not in the original position, outputs a message to that effect to the system sequence controller 30, which causes the system sequence controller 30 to
The abnormality of the system is displayed on the display section 0 (step 120). If the mechanism section 12 is on standby at the work original position, the variable n is cleared in step 130.
This variable n is used to display the work number assigned corresponding to the work performed by the robot 10, and by knowing the work number n, the current robot 10
It is possible to search for the location of the mechanical section 12 and the type of work it is performing. When the clearing of variable n is completed, the variable n
is incremented (step 140), and the process moves on to the execution of the work corresponding to the incremented value of the variable n.

ステツプ150では、作業番号nの作業をロボツ
ト10が実行するのに必要な準備が完了している
か否かをシステムシーケンスコントローラ30か
ら入力して、準備が完了していなければ前述のよ
うにステツプ120へ進み、準備が完了していれば
次の処理ステツプ160を実行する。即ち、システ
ムシーケンスコントローラ30が制御する他の外
部機器の制御が正常に実行され、ロボツト10へ
動作開始の信号が入力されるまでロボツト10が
待つのである。続くステツプ160は作業番号nの
作業として仕事手順記憶手段M1に記憶されてい
る作業を実際に実行するステツプであり、記憶内
容に従つて動力源ユニツトに駆動信号を与え、仕
事を行なう。次に、該作業nが完了したか否かが
判断され(ステツプ170)、無事に記憶内容に従つ
た処理を終了していれば最後の作業番号Nについ
ての作業を行つたか否かを判断し(ステツプ
180)、n<Nであれば再度ステツプ140へ戻り、
n≧Nであれば機構部12を作業原位置に復帰さ
せ(ステツプ190)た後に本プログラムの全ての
処理を終了する。しかし、ステツプ170で、作業
nの実行中に何らかの原因で機構部12が停止を
し、作業nが完了しないと判断されると自動退避
ルーチン(ステツプ200)が実行されるのである。
In step 150, input is made from the system sequence controller 30 as to whether or not the necessary preparations for the robot 10 to execute the work with work number n have been completed.If the preparations have not been completed, the process proceeds to step 120 as described above. If the preparation is completed, the next processing step 160 is executed. That is, the robot 10 waits until the control of other external devices controlled by the system sequence controller 30 is executed normally and a signal to start operation is input to the robot 10. The following step 160 is a step in which the work stored in the work procedure storage means M1 as the work with work number n is actually executed, and a drive signal is given to the power source unit according to the stored contents to perform the work. Next, it is determined whether the work n has been completed (step 170), and if the processing according to the memory contents has been successfully completed, it is determined whether the work for the last work number N has been performed. (step)
180), if n<N, return to step 140 again,
If n≧N, the mechanical section 12 is returned to its original working position (step 190), and then all processing of this program is terminated. However, if it is determined in step 170 that the mechanical section 12 stops for some reason during the execution of work n and that work n is not completed, the automatic evacuation routine (step 200) is executed.

第4図は、このステツプ200で行なわれる自動
退避の制御流れ図を示したものである。
FIG. 4 shows a control flowchart for automatic evacuation performed in step 200.

ステツプ200へと処理が移るとまずステツプ201
が実行され、操作盤40にて自動退避を実行した
いか否かの判断の入力を仰ぎ、自動退避の実行が
望まれなければ本ルーチンを実行することなく終
了し、自動退避が望まれると次のステツプ202へ
進む。
When the process moves to step 200, it first moves to step 201.
is executed, and an input is asked on the operation panel 40 to determine whether or not to execute automatic evacuation. If automatic evacuation is not desired, the routine ends without executing this routine, and if automatic evacuation is desired, the next step is performed. Proceed to step 202.

ステツプ202では、まず機構部12がどのよう
な位置で停止しているかの検索が行われる。前述
のように本実施例では作業番号nがロボツト10
の実行する各作業に対して付されており、この番
号nから機構部12の停止位置を知ることができ
るのである。第5図はこの作業番号nと機構部1
2の移動軌跡を模式的に表わした説明図である。
図においてOは機構部12の作業原位置を示して
おり、実線は機構部12の移動軌跡を、Pn(n=
1,2……7)は位置の座標を表わしている。機
構部12は位置P1からP2にかけて作業番号n
=1の作業を実行し、P2からP3にかけては作
業番号n=2を実行し、以下同様の関係が図示さ
れている。そして、機構部12は位置P1からP
7を経て全ての作業n=1〜6を実行し終えると
再び作業原位置Oに戻り次の仕事に備えるのであ
る。
In step 202, a search is first made to find out at what position the mechanism section 12 is stopped. As mentioned above, in this embodiment, the work number n is robot 10.
The number n is assigned to each work performed by the operator, and the stopping position of the mechanism section 12 can be determined from this number n. Figure 5 shows this work number n and mechanism part 1.
FIG. 2 is an explanatory diagram schematically representing a movement locus of No. 2;
In the figure, O indicates the original working position of the mechanism section 12, and the solid line indicates the movement locus of the mechanism section 12, Pn (n=
1, 2...7) represent the coordinates of the position. The mechanism section 12 has a work number n from position P1 to P2.
Work number n = 1 is executed, work number n = 2 is executed from P2 to P3, and the same relationship is shown below. Then, the mechanism section 12 moves from position P1 to P
After completing all the tasks n=1 to 6 through step 7, the machine returns to the original work position O and prepares for the next task.

しかし、上記の作業の実行中に何らかの原因に
より機構部12が停止すると(図中の×印で表示
した点)、この第4図に示した自動退避ルーチン
が処理されるのである。そして、ステツプ202に
てどの作業番号nの作業中に機構部12が停止し
たかを検索し、その作業番号nに応じた退避径路
が記憶装置より選択(ステツプ203)されるので
ある。退避径路の選択とは、第5図中の点線で示
した機構部12の移動軌跡のうちどの退避径路を
通つて機構部12を退避させるのかを決定するも
のであり、図示のごとく作業番号n=1,2のと
きは退避位置Aまで一旦機構部12を移動させた
後に作業原位置Oまで大きな弧を描くように、ま
た作業番号n=3,4のときには退避位置Bへ移
動後に作業原位置Oに、作業番号n=5のときに
は退避位置Cから作業原位置Oに、更に、作局業
番号n=6のときには直接作業原位置Oに移動さ
せるような退避径路が選択されるのである。この
点線で示した退避径路は、予めロボツト10の使
用される周囲の状況から、どのような退避径路を
通り退避すれば機構部12が何らの障害物と衝突
することなく作業原位置Oに戻ることができるか
を調査し、ロボツトコントローラ16に記憶させ
ているものである。
However, if the mechanism section 12 stops for some reason during execution of the above-mentioned work (point indicated by an x mark in the figure), the automatic evacuation routine shown in FIG. 4 is processed. Then, in step 202, a search is made to find out during which work number n the mechanical section 12 stopped, and an evacuation route corresponding to the work number n is selected from the storage device (step 203). Selection of the evacuation route is to determine which evacuation route is used to evacuate the mechanism part 12 among the movement loci of the mechanism part 12 shown by the dotted line in FIG. When = 1 and 2, the mechanism section 12 is moved once to the evacuation position A and then draws a large arc to the work original position O, and when the work number n = 3 and 4, the work original is moved after moving to the evacuation position B. An evacuation route is selected that moves the workpiece to position O, from evacuation position C to work original position O when work number n=5, and directly to work original position O when work number n=6. . The evacuation route indicated by the dotted line is determined in advance from the surrounding situation in which the robot 10 is used, and which evacuation route should be taken to return the mechanism part 12 to the work original position O without colliding with any obstacles. The robot controller 16 stores the results of the investigation to see if it is possible.

このようにして最適の退避径路が定まると次の
ステツプ204にて退避径路に沿つて機構部12を
駆動すべくロボツトコントローラ16により動力
源ユニツト14へ駆動信号出力がされる。
Once the optimum evacuation route is determined in this way, in the next step 204, the robot controller 16 outputs a drive signal to the power source unit 14 in order to drive the mechanism section 12 along the evacuation route.

次のステツプ205では、上記ステツプ204の駆動
信号出力に従つて機構部12が実際に移動を行つ
たか否かの判断がなされ、機構部12が作業原位
置Oに復帰していれば前述の第3図の作業プログ
ラムへ戻り、そうでなければステツプ206へ進み
機構部12の動作不良をシステムシーケンスコン
トローラ30へ出力し、操作盤40の表示部へシ
ステムの異常を表示した後に同様に第3図のプロ
グラムへ戻る。
In the next step 205, it is determined whether or not the mechanism part 12 has actually moved according to the drive signal output in the step 204, and if the mechanism part 12 has returned to the original working position O, it is determined whether or not the mechanism part 12 has actually moved. Returning to the work program in FIG. 3, if not, the process proceeds to step 206 to output the malfunction of the mechanism section 12 to the system sequence controller 30, display the system abnormality on the display section of the operation panel 40, and then similarly proceed to step 206. Return to the program shown in the figure.

以上のように構成される本実施例のロボツト用
制御装置は次のような優れた効果を奏する。
The robot control device of this embodiment configured as described above has the following excellent effects.

即ち、ロボツト10の機構部12が何らかの原
因によりその動作を停止しても、操作者は操作盤
により自動退避を実行するというスイツチ操作一
つで機構部12は障害物を避けながら安全な退避
を完了することができ、大幅な作業能率の向上が
達成できるのである。
That is, even if the mechanical part 12 of the robot 10 stops its operation for some reason, the operator can perform automatic evacuation from the operation panel with a single switch operation, and the mechanical part 12 will be able to safely evacuate while avoiding obstacles. This allows for a significant improvement in work efficiency.

しかも、退避を完了する点は該ロボツトの作業
原位置Oであるから、ロボツトは次の処理に移行
する準備を同時に完了することが可能となる。
Moreover, since the point at which the evacuation is completed is the work original position O of the robot, the robot can simultaneously complete preparations for moving to the next process.

また、機構部12の停止した位置に対応する退
避位置(A,B,C点)を用意し、その位置から
作業原位置Oまでの退避径路を記憶手段内に記憶
する構成としているので、機構部12の移動する
点の全ての位置に別々に退避径路を設定する必要
がなく、小さな記憶容量で退避用のプログラムを
製作することができるのである。そして、作業番
号n=6に示すように、その位置が何ら障害物の
存在し得ない場所ならば作業原位置Oに直接戻る
ようにしてもよい。
Further, since the evacuation position (points A, B, and C) corresponding to the stopped position of the mechanism section 12 is prepared, and the evacuation route from that position to the work original position O is stored in the storage means, the mechanism It is not necessary to separately set evacuation routes for all the positions of the moving points of the section 12, and it is possible to create an evacuation program with a small storage capacity. Then, as shown in work number n=6, if the position is a place where no obstacles can exist, the work may be directly returned to the original work position O.

なお、本実施例では退避の径路を全て記憶する
装置について説明したが、退避径路を全く必要と
しないような場所、例えば障害物が全て床上50cm
の所にあるシステムであれば前述の退避位置A,
B,Cを全てその停止位置から上方に50cm以上の
地点に定義し、後は直線的に又は弧を描くように
作業原位置に戻る等のように自由度を持たせても
よい。
In this embodiment, a device that stores all evacuation routes has been described, but in a place where no evacuation route is required, for example, where all obstacles are 50 cm above the floor.
If the system is located at
B and C may all be defined as points 50 cm or more upward from the stopping position, and then there may be a degree of freedom such as returning to the original work position in a straight line or in an arc.

[発明の効果] 以上、実施例を挙げて詳述したように、本発明
のロボツト用制御装置は、 ロボツトの一連の仕事内容を記憶する仕事手順
記憶手段と、 該仕事手順記憶手段の記憶内容に従つて前記ロ
ボツトの機構を作動させる機構動作手段とを備え
るロボツト用制御装置において、 前記機構動作手段により作動される前記機構の
動作停止及びその停止位置を検出する機構停止検
出手段と、 前記機構動作手段により作動される前記機構
を、所定動作位置に応じた所定の退避位置まで動
作させる退避専用の経路を予め記憶する退避経路
記憶手段と、 前記機構停止検出手段の検出結果に応じて前記
退避径路記憶手段の記憶内容に従い前記機構を退
避させる退避実行手段とを備えることを特徴とす
るものである。
[Effects of the Invention] As described above in detail with reference to the embodiments, the robot control device of the present invention includes a work procedure storage means for storing a series of work contents of the robot, and a memory content of the work procedure storage means. a mechanism operating means for operating a mechanism of the robot according to the following: a mechanism stop detection means for detecting the stoppage of the operation of the mechanism operated by the mechanism operating means and the stop position thereof; an evacuation route storage means for storing in advance a dedicated evacuation route for operating the mechanism operated by the operating means to a predetermined evacuation position corresponding to a predetermined operation position; The present invention is characterized by comprising a retraction execution means for retracting the mechanism according to the contents stored in the route storage means.

従つて、ロボツトの機構は通常時には仕事手順
記憶手段の記憶内容に従つた一連の仕事を実行す
るとともに、何らかの原因で停止してしまうトラ
ブルが発生しても該停止位置に応じた退避径路記
憶手段に記憶されている退避径路を通つて自動的
に退避を完了することができるのである。
Therefore, the mechanism of the robot normally executes a series of tasks according to the contents stored in the work procedure storage means, and even if a trouble that causes the robot to stop for some reason occurs, the robot mechanism stores an evacuation route according to the stop position. The evacuation can be completed automatically by following the evacuation route stored in the .

これにより、ロボツトの機構を手動操作するこ
とによつて生じていた作業能率の低下が防止さ
れ、また手動操作のミスで発生していたロボツト
の損傷事故が未然に防げるのである。
This prevents a decrease in work efficiency that would otherwise occur due to manual operation of the robot mechanism, and also prevents damage to the robot that would otherwise occur due to manual operation errors.

なお、退避専用の経路を予め記憶しておく構成
であるから、所定動作位置毎に退避位置としての
例えば作業原位置までの「最短かつ安全経路」と
いつたものを予めテイーチングの際などに検討し
て記憶させておくことができ、安全かつ迅速に作
業原位置へ復帰させることもできる。
In addition, since the configuration is such that a dedicated evacuation route is stored in advance, the evacuation position for each predetermined operation position, such as the ``shortest and safest route'' to the work location, is considered in advance during teaching. It is also possible to safely and quickly return to the original working position.

これに対し、安全に作業原位置へ復帰すること
だけを目的に構成するならば、それまでの仕事手
順に基づく動作経路を逆戻りするといつた構成に
よる退避が考えられる。即ち、動作位置との関係
で予め専用の退避経路を記憶しておくのではな
く、その都度仕事手順を逆戻しする構成にしてお
くことも考えられる。この場合には、仕事手順の
最終段階で機構の停止が発生したとすると、作業
原位置まで復帰するのに極めて長い時間を必要と
するという不具合がある。加えて、機構の停止す
る条件としてはワークと機構との衝突なども考え
られることから、衝突によりワークの位置が動い
てしまうおそれもあり、この場合には安全な退避
経路とはならなくなるという問題もある。
On the other hand, if the purpose is to safely return to the original work position, it is conceivable to retreat by retracing the movement path based on the previous work procedure. That is, instead of storing a dedicated evacuation route in advance in relation to the operating position, it is conceivable to have a configuration in which the work procedure is reversed each time. In this case, if the mechanism were to stop at the final stage of the work procedure, there is a problem in that it would take an extremely long time to return to the original work position. In addition, since a collision between the workpiece and the mechanism can be considered as a condition for the mechanism to stop, there is a risk that the position of the workpiece will move due to the collision, and in this case, there is a problem that it will not be a safe evacuation route. There is also.

即ち、本発明の如く、専用の退避経路を動作位
置に応じて予め記憶しておくという構成を採用す
ることにより初めて、常に、各動作位置に対して
最も安全な退避経路を退避させることができる
し、最も短い退避経路を退避させることもできる
のであつて、退避専用の経路を予め記憶しておく
ことの意義はこの意味において極めて高い。本発
明は、この様に、単に退避動作を所定のプログラ
ム従つて実行するのみの技術的思想に留まる発明
とは全く相違しているからこそ、上述の顕著な作
用・効果を奏することができる。
That is, only by adopting a configuration in which a dedicated evacuation route is stored in advance according to the operating position as in the present invention, it is possible to always evacuate the safest evacuation route for each operating position. However, it is also possible to evacuate the shortest evacuation route, and in this sense, it is extremely significant to store a path exclusively for evacuation in advance. The present invention can achieve the above-mentioned remarkable functions and effects precisely because the present invention is completely different from other inventions that are limited to the technical idea of simply executing the evacuation operation according to a predetermined program.

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

第1図は本発明の基本的構成図、第2図はその
実施例の構成ブロツク図、第3図はその作業プロ
グラムのフローチヤート、第4図はその自動退避
ルーチンのフローチヤート、第5図はその退避の
動作説明図を示す。 M1…仕事手順記憶手段、M2…機構動作手
段、M3…機構停止検出手段、M4…退避径路記
憶手段、M5…退避実行手段、10…ロボツト、
20…他の外部機器、30…システムシーケンス
コントローラ、40…操作盤。
Figure 1 is a basic configuration diagram of the present invention, Figure 2 is a configuration block diagram of an embodiment thereof, Figure 3 is a flowchart of its work program, Figure 4 is a flowchart of its automatic evacuation routine, and Figure 5. shows an explanatory diagram of the evacuation operation. M1...Work procedure storage means, M2...Mechanism operation means, M3...Mechanism stop detection means, M4...Evacuation route storage means, M5...Evacuation execution means, 10...Robot,
20...Other external devices, 30...System sequence controller, 40...Operation panel.

Claims (1)

【特許請求の範囲】 1 ロボツトの一連の仕事内容を記憶する仕事手
順記憶手段と、 該仕事手順記憶手段の記憶内容に従つて前記ロ
ボツトの機構を作動させる機構動作手段とを備え
るロボツト用制御装置において、 前記機構動作手段により作動される前記機構の
動作停止及びその停止位置を検出する機構停止検
出手段と、 前記機構動作手段により作動される前記機構
を、所定動作位置に応じた所定の退避位置まで動
作させる退避専用の経路を予め記憶する退避経路
記憶手段と、 前記機構停止検出手段の検出結果に応じて前記
退避経路記憶手段の記憶内容に従い前記機構を退
避させる退避実行手段とを備えることを特徴とす
るロボツト用制御装置。
[Scope of Claims] 1. A robot control device comprising: a work procedure storage means for storing a series of work contents of the robot; and a mechanism operation means for operating the mechanism of the robot according to the contents stored in the work procedure storage means. Mechanism stop detection means for detecting the stoppage of the operation of the mechanism operated by the mechanism operation means and the stop position of the mechanism; and a mechanism stop detection means for detecting the stop position of the mechanism operated by the mechanism operation means; and evacuation execution means for evacuating the mechanism according to the storage contents of the evacuation route storage means in accordance with the detection result of the mechanism stop detection means. Characteristic control device for robots.
JP25275784A 1984-11-29 1984-11-29 Controller for robot Granted JPS61131001A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25275784A JPS61131001A (en) 1984-11-29 1984-11-29 Controller for robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25275784A JPS61131001A (en) 1984-11-29 1984-11-29 Controller for robot

Publications (2)

Publication Number Publication Date
JPS61131001A JPS61131001A (en) 1986-06-18
JPH0431122B2 true JPH0431122B2 (en) 1992-05-25

Family

ID=17241862

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25275784A Granted JPS61131001A (en) 1984-11-29 1984-11-29 Controller for robot

Country Status (1)

Country Link
JP (1) JPS61131001A (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05127718A (en) * 1991-11-08 1993-05-25 Fujitsu Ltd Automatic generation device for hand tip track of manipulator
JP3276248B2 (en) * 1994-08-02 2002-04-22 株式会社小松製作所 Error recovery device
JP3459973B2 (en) * 1999-10-22 2003-10-27 川崎重工業株式会社 Drive control method and drive control device
JP4027350B2 (en) * 2004-06-29 2007-12-26 ファナック株式会社 Robot standby position return program creation device
JP4844172B2 (en) * 2006-03-02 2011-12-28 株式会社デンソー Automatic driving device
WO2013027283A1 (en) * 2011-08-24 2013-02-28 ヤマザキマザック 株式会社 Nc machine tool system
JP6450737B2 (en) 2016-12-08 2019-01-09 ファナック株式会社 Robot system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6044184A (en) * 1983-08-18 1985-03-09 Shin Meiwa Ind Co Ltd Controlling method in industrial robot

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6044184A (en) * 1983-08-18 1985-03-09 Shin Meiwa Ind Co Ltd Controlling method in industrial robot

Also Published As

Publication number Publication date
JPS61131001A (en) 1986-06-18

Similar Documents

Publication Publication Date Title
US7664570B2 (en) Method and apparatus for limiting the movement of a robot, and a robot equipped with said apparatus
US9254567B2 (en) System for commanding a robot
JP6364096B2 (en) Robot system
JP4544145B2 (en) Robot interference avoidance method and robot
CN108942880B (en) Robot system
EP2666598B1 (en) Nc machine tool system
KR0126279B1 (en) Safety operating system for manipulator
JP6904759B2 (en) Robot movement speed control device and method
JPH0431122B2 (en)
JPH06102917A (en) Robot controller having reference point restoration function by safety route
JP2960292B2 (en) Multifunctional robot
JP4233559B2 (en) Numerically controlled machine tool
JPS6316303A (en) Numerical controller
JPH03104581A (en) Robot control system
JPS5912434B2 (en) Robot motion control method
US20230286142A1 (en) Robot teaching control method, robot teaching apparatus, and robot system
JPH05100732A (en) Numerical controller for robot
JPS6222105A (en) Multiaxes robot group control device
JP2624174B2 (en) Automatic operation method of numerical controller
JPH07136975A (en) Multiple robot system
JPH03198107A (en) Control method for industrial robot
Wrock et al. Virtual Fixtures and Automatic Mode Switching for Teleoperation Tasks
KR20210090020A (en) Robot control system and method
JPH0985658A (en) Control system for robot
JPH07134605A (en) Industrial robot controller