JPS62278610A - Controller for working robot - Google Patents

Controller for working robot

Info

Publication number
JPS62278610A
JPS62278610A JP12126786A JP12126786A JPS62278610A JP S62278610 A JPS62278610 A JP S62278610A JP 12126786 A JP12126786 A JP 12126786A JP 12126786 A JP12126786 A JP 12126786A JP S62278610 A JPS62278610 A JP S62278610A
Authority
JP
Japan
Prior art keywords
work
working
robot
nozzle
coating
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
JP12126786A
Other languages
Japanese (ja)
Inventor
Wataru Kubota
窪田 弥
Kichinosuke Kishitani
岸谷 吉之助
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP12126786A priority Critical patent/JPS62278610A/en
Publication of JPS62278610A publication Critical patent/JPS62278610A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Manipulator (AREA)

Abstract

PURPOSE:To improve reliability of a working robot as well as the working efficiency of a production line by restarting automatically the operation at a time point when the robot detects the abnormality of its working state. CONSTITUTION:If a signal is delivered from a coating device control circuit 26 to show that the coating state of a sealer material 9 is abnormal, the coordinates of a nozzle 6 set when the abnormality occurred is stored in a RAM 30 together with the coordinates of the nozzle 6 set after after a working robot is stopped. Then the return position of the nozzle 6 is calculated based on the coordinate data stored in the RAM 30. The nozzle 6 is sent back to the return position and at the same time a coating device 17 is actuated. Thus the robot restarts its operation at the position where the abnormality occurred.

Description

【発明の詳細な説明】 3、発明の詳細な説明 (産業上の利用分野) 本発明は、作業ロボットが行なった作業の状態を監視し
、その作業に異常が認められた時に、当該作業ロボット
に、異常の発生した場所から作業を再開させる機能を有
する作業ロボットの制御装置に関する。
Detailed Description of the Invention 3. Detailed Description of the Invention (Field of Industrial Application) The present invention monitors the state of work performed by a work robot, and when an abnormality is found in the work, the work robot The present invention relates to a control device for a working robot that has a function of restarting work from the location where an abnormality has occurred.

(従来の技術) 近年、自動車等の生産業界においては、視覚機能等を有
する知能化された作業ロボットを用い、車両の組み立て
、車両の部品の製造等の作業を行なわせている。
(Prior Art) In recent years, in the automobile manufacturing industry, intelligent working robots having visual functions and the like have been used to perform tasks such as assembling vehicles and manufacturing vehicle parts.

このような知能化された作業ロボットの一例としては、
第9図に示すようなシーラ材の塗布ロボットがめる。こ
のシーラ材の塗布ロボットは、車両の組立て工程におい
て、車体のパネルに、防水及び防錆処理を施すシーラ材
を所定の位置に所定の幅をもって塗布させるロボットで
あり、以下に記すように構成されている。
An example of such an intelligent work robot is
A sealer coating robot as shown in FIG. 9 is installed. This sealer application robot is a robot that applies waterproof and rust-proofing sealant to vehicle body panels in a predetermined position and with a predetermined width during the vehicle assembly process, and is configured as described below. ing.

同図に示すように、プレイバック型ロボットのアーム1
の先端にハンドに代えて軸支された円柱形のホルダ2の
下端面には、塗布ガン3と検出装置4とが設けられてい
る。
As shown in the figure, arm 1 of the playback robot
A coating gun 3 and a detection device 4 are provided on the lower end surface of a cylindrical holder 2 which is pivotally supported at the tip of the holder 2 instead of a hand.

塗布ガン3は、ホルダ2に固着される固定軸5の下部に
ノズル6の中心軸線を一致させて固着されてあり、図示
しないシーラ材の供給源からホース7を介してシーラ材
が圧送供給され、ノズル6の先端からそれを吐出して被
塗布部材であるパネル8上にシーラ材9を線状に塗布す
る。
The applicator gun 3 is fixed to the lower part of a fixed shaft 5 fixed to the holder 2 with the center axis of a nozzle 6 aligned, and sealant is supplied under pressure through a hose 7 from a sealant supply source (not shown). , the sealant 9 is applied linearly onto the panel 8, which is the member to be coated, by discharging it from the tip of the nozzle 6.

検出装置4は、固定軸5にボールベアリング11を介し
て回動可能に装着したケース12の下面に瞳影レンズ1
3と照明ランプ14を装着してあり、ケース12の内部
には倣形レンズ13によって結像されるパネル8上に塗
布されたシーラ材9の像をその明暗に応じた電気信号に
変換するラインセンサと、その駆動回路及び信号処理回
路等の回路基板とが設けられている。
The detection device 4 includes a pupil shadow lens 1 on the lower surface of a case 12 rotatably attached to a fixed shaft 5 via a ball bearing 11.
3 and an illumination lamp 14 are installed, and inside the case 12 there is a line that converts the image of the sealer material 9 applied on the panel 8 formed by the copying lens 13 into an electrical signal corresponding to its brightness. A sensor and a circuit board including a driving circuit thereof, a signal processing circuit, etc. are provided.

そして、塗布ガン3に供給されるシーラ材9の塗布制御
は、図示しない塗布装置制御回路によって制御され、検
出装置4は、コネクタ15及びケーブル16を介して塗
布制御装置10によって制御され、また、前記したプレ
イバック型ロボットのアーム1は、図示しないロボット
制御装置によって制御されており、塗布制御装置10と
ロボット制御装置とは互いに接続されている。
Application control of the sealer material 9 supplied to the application gun 3 is controlled by a coating device control circuit (not shown), and the detection device 4 is controlled by the coating control device 10 via the connector 15 and cable 16. The arm 1 of the playback robot described above is controlled by a robot control device (not shown), and the coating control device 10 and the robot control device are connected to each other.

このように構成された塗布ロボットは、検出装置4に内
蔵されたラインセンサによって検出したシーラ材9の検
出幅が所定範囲内に収まっていない場合には、塗布制御
装置10によってNG信号を出力し、塗布制御装@10
に設けられている表示装置にその旨を表示すると共に必
要に応じてアーム1の作動を停止するようになっている
In the coating robot configured in this way, if the detection width of the sealer material 9 detected by the line sensor built in the detection device 4 is not within a predetermined range, the coating control device 10 outputs an NG signal. , coating control system @10
This is displayed on a display device provided at the terminal, and the operation of the arm 1 is stopped as necessary.

(発明が解決しようとする問題点) ところが、このような従来の作業ロボットにおっては、
ロボット自体の制御を行なうロボット制御装置、ロボッ
トに装着される作業装置の制御を行なう制御装置及び作
業装置によって行なわれる作業状態を監視する監視装置
の制御を行なう制御装置を相互に接続し、当該監視装置
が作業状態に対しての異常をえ識した時に、この異常発
生信号をロボット制御装置と作業装置の制御を行なう制
御装置に出力するようになっているが、ロボット制御装
置自体には、この異常発生信号を入力した時に、航記作
業装置を、作業状態に対しての異常を認識した位置に一
旦戻し、当該位置から作業を再開させるという機能を有
しないために、この異常発生信号に基づいて前記ロボッ
ト及び前記作業装置を停止させたり、また、停止させず
に作業を続行し、次工程において手作業によって異常発
生部分を修正しなければならず、生産ラインの稼酌率の
低下、作業能率の低下等を招くという問題点があった。
(Problems to be solved by the invention) However, in such conventional work robots,
A robot control device that controls the robot itself, a control device that controls a work device attached to the robot, and a control device that controls a monitoring device that monitors the work status performed by the work device are interconnected, and the monitoring device When the equipment detects an abnormality in the working state, it outputs this abnormality signal to the robot controller and the controller that controls the work equipment, but the robot controller itself does not have this signal. When an abnormality signal is input, the navigation work device does not have the function of returning to the position where the abnormality in the working condition was recognized and restarting the work from that position. Therefore, the robot and the work equipment must be stopped, or the work must be continued without stopping, and the abnormality must be corrected manually in the next process, resulting in a reduction in the production line's utilization rate and a reduction in work efficiency. There was a problem in that it led to a decrease in efficiency.

本発明は、このような従来の問題点に鑑みて成されたも
のであり、ワークに対して所定の作業を行なう作業装置
の作業状態を監視する監視装置が、作業状態に対しての
異常を認識した場合には、前記作業装置を、その異常を
認識した位置に一旦戻し、当該位置から作業を再開する
機能を持つ作業ロボットの制御装置を提供することを目
的とする。
The present invention has been made in view of such conventional problems, and is directed to a monitoring device that monitors the working state of a working device that performs a predetermined work on a workpiece, and detects abnormalities in the working state. It is an object of the present invention to provide a control device for a working robot that has a function of, when an abnormality is recognized, returning the working device to the position where the abnormality is recognized and restarting the work from that position.

(問題点を解決するための手段) 前記目的を達成するために本発明では、ロボットに取付
けられ、ワークに対して所定の作業をする作業装置と、
前記ロボッ[・を駆動する駆動手段と、前記作業装置の
作業位置を検出する作業位置検出手段と、前記作業装置
の作業軌跡に関する教示データを格納する教示データ記
憶手段と、前記作業装置によって行なわれた作業状態を
監視する作業監視手段と、前記作業監視手段から出力さ
れた信号に基づいて、曲屈作業状態の良否を判断する判
断手段と、前記判断手段によって前記作業状態が否でお
ると判断された場合に、前記作業位置検出手段から出力
されている前記作業装置の現在位置データを格納する記
憶手段と、前記記憶手段に記憶されている前記作業装置
の現在位置データ及び前記教示データ記憶手段に記憶さ
れている前記作業装置の作業軌跡に関する教示データに
基づいて、前記作業装置の作業開始位置を演算する作業
開始位置演算手段と、曲屈作業開始位置演算手段によっ
て演算された作業開始位置又は前記教示データ記憶手段
に記憶されている前記作業装置の作業軌跡に関する教示
データに基づいて、前記作業装置を所定の位置に戻すべ
き指令を発する戻し指令手段と、前記判断手段によって
前記作業状態が良であると判断されている場合には、前
記作業位置検出手段及び前記教示データ記憶手段からの
位置データに基づいて、前記作業装置及び前記駆動手段
を制御し、前記判断手段によって前記作業状態が否であ
ると判断された場合には、前記戻し指令手段から出力さ
れた位置データに基づいて、前記駆動手段を作動させて
前記作業装置を所定の位置に戻すと共に前記作業開始位
置演算手段によって演算された作業開始位置から前記作
業装置を作動ざぜる制御手段とを備えたことを特徴とす
る。
(Means for Solving the Problems) In order to achieve the above object, the present invention provides a working device that is attached to a robot and performs a predetermined work on a workpiece;
a driving means for driving the robot; a working position detecting means for detecting the working position of the working device; a teaching data storage means for storing teaching data regarding the working trajectory of the working device; a work monitoring means for monitoring a working state of the bending work; a determining means for determining whether the bending work state is good or bad based on a signal output from the work monitoring means; and a determining means for determining that the working state is not good. storage means for storing the current position data of the working device outputted from the working position detecting means, and the current position data of the working device stored in the storage means and the teaching data storage means a work start position calculation means for calculating a work start position of the work apparatus based on teaching data regarding the work trajectory of the work apparatus stored in the work apparatus; and a work start position calculated by the bending work start position calculation means; return command means for issuing a command to return the work device to a predetermined position based on teaching data regarding the work trajectory of the work device stored in the teaching data storage means; If it is determined that the working state is not correct, the working device and the driving means are controlled based on the position data from the working position detecting means and the teaching data storage means, and the determining means determines whether the working state is If it is determined that this is the case, the drive means is operated to return the work device to a predetermined position based on the position data output from the return command means, and the work start position is calculated by the work start position calculation means. and a control means for operating the working device from a work starting position.

(作用) 以下に、第1図に基づいて本発明の詳細な説明する。(effect) The present invention will be explained in detail below based on FIG.

ワークに対して所定の作業を行なう作業装置17によっ
て行なわれた作業状態は、当該作業状態を常に監視する
作業監視手段4によって監視され、作業監視手段4から
出力された信号に基づいて、前記作業状態が規定された
イ業状態に即したものであるかどうかの判断が判断手段
18によって成される。この判断が正常(良)であれば
、制御手段19は、駆動手段22によって、作業装置1
7の作業位置を検出する作業位置検出手段20及び作業
装置17の作業軌跡に関する位置データを格納した教示
データ格納手段21から出力された位置データに基づい
て、作業装置17を予め設定された作業軌跡上を移動さ
せると共に作業装置17を作動させて所定の作業を行な
うように制御する。
The state of the work performed by the work device 17 that performs a predetermined work on the workpiece is monitored by the work monitoring means 4 that constantly monitors the work state, and based on the signal output from the work monitoring means 4, the state of the work performed by the work device 17 is monitored. A judgment means 18 determines whether the state corresponds to a specified work state. If this judgment is normal (good), the control means 19 causes the drive means 22 to control the working device 1.
Based on the position data outputted from the working position detection means 20 for detecting the working position of No. 7 and the teaching data storage means 21 storing positional data regarding the working trajectory of the working device 17, the working device 17 is moved to a preset working trajectory. At the same time, the working device 17 is operated to perform a predetermined work.

一方、M記判断が異常(否)であれば、制御手段19は
、作業装置17及び駆動手段22の作動を停止すると共
に、作業位置検出手段20から出力されている作業装置
17の現在位置データを記憶手段23に記憶させる。そ
して、作業開始位置演算手段24は、記憶手段23に記
憶されている作業装置17の現在位置データ及び教示デ
ータ記憶手段21に記憶されている作業装@17の作業
軌跡に関する教示データに基づいて、作業装置17を再
起動させる位置及びその戻し位置を算出する。
On the other hand, if the determination in M is abnormal (failure), the control means 19 stops the operation of the work device 17 and the drive means 22, and the current position data of the work device 17 output from the work position detection means 20. is stored in the storage means 23. Based on the current position data of the work device 17 stored in the storage device 23 and the teaching data regarding the work trajectory of the work device @ 17 stored in the teaching data storage device 21, the work start position calculation means 24 calculates The position at which the work device 17 is restarted and the position to which it is returned are calculated.

作業開始位置演算手段24によって算出された作業装置
17を再起動させる位置及びその戻し位置は、作業開始
位置演算手段24及び戻し指令手段25によって制御手
段19に出力される。制御手段19は、これらの出力に
基づいて駆動手段22を作動させ、作業装置17を、判
断手段18によって異常でおると判断された作業位置、
又は、作業装置17の作業軌跡上の当該作業位置以前の
教示位置に戻し、作業装置17が当該作業位置を通過す
る時に作業装置17を作動させ、引き続き、前記ワーク
に対して所定の作業を行なわける。
The position at which the work device 17 is restarted and its return position calculated by the work start position calculation means 24 are outputted to the control means 19 by the work start position calculation means 24 and the return command means 25. The control means 19 operates the drive means 22 based on these outputs, and moves the working device 17 to the working position determined to be abnormal by the determining means 18.
Alternatively, return the work device 17 to the teaching position before the work position on the work trajectory, operate the work device 17 when the work device 17 passes the work position, and continue to perform the predetermined work on the work. Let's go.

(実施例) 以下に、本発明の実施例を図面に基づいて詳細に説明す
る。
(Example) Below, an example of the present invention will be described in detail based on the drawings.

第2図は、本発明に係る作業ロボットの制御装置の概略
構成図でおる。
FIG. 2 is a schematic configuration diagram of a control device for a working robot according to the present invention.

作業監視手段としてのカメラ4と、このカメラ4から出
力される映像信号に塁づいて、シーラ材を塗布する作業
装置としての塗布装置17は、判断手段18及び制御手
段19が有する償能の一部を持つ塗布装置制御回路26
に接続されている。
The camera 4 as a work monitoring means and the coating device 17 as a working device that applies a sealer material based on the video signal output from the camera 4 are part of the compensating capability of the determining device 18 and the controlling device 19. Coating device control circuit 26 with
It is connected to the.

一方、作業ロボットの動作を制御するロボット制御iI
D装@27は、当該作業ロボットの動作に必要な信号の
演算を行なう制御手段19及び戻し指令手段25として
のCPU28と、CPU28に接続され、前記作業ロボ
ットの動作に必要な基本的プログラムを記憶しているR
OM29及び前記作業ロボットの動作に必要な各種のデ
ータを記憶する記憶手段23及び教示データ記憶手段2
1としてのRAM30と、外部から入力される各種のデ
ータ及びCPU28から外部に出力する各種のデータの
授受を行なうI10ボート31と、I10ポート31か
ら出力された動作信号に基づいて、前記作業ロボットを
構成するアームを作動させるモータの駆動をする駆動手
段としての駆動回路22とで構成され、I10ボート3
1は、塗布装置制御回路26及び作業ロボットに装着さ
れている作業装置17の一部であるノズル6の位置を検
出する位置センナ20に接続されている。
On the other hand, robot control iI that controls the operation of the working robot
The D device @ 27 is connected to a CPU 28 as a control means 19 and a return command means 25 for calculating signals necessary for the operation of the working robot, and stores basic programs necessary for the operation of the working robot. R doing
Storage means 23 and teaching data storage means 2 for storing various data necessary for the operation of the OM 29 and the working robot.
1, an I10 port 31 that exchanges various data input from the outside and various data output from the CPU 28 to the outside, and an operation signal output from the I10 port 31 to control the working robot. The I10 boat 3 is configured with a drive circuit 22 as a drive means for driving a motor that operates the constituent arms.
1 is connected to a coating device control circuit 26 and a position sensor 20 that detects the position of a nozzle 6 that is part of a working device 17 mounted on a working robot.

ざらに、カメラ4から出力される映像信号に基づいて、
塗布装置制御回路26から作業に関する異常信号が出力
された場合に、塗布装置17の作業開始位置を演算する
制御装置32は、塗布装置17の作業位置を常に把握す
ると共に当該異常信号が出力された場合に、前記作業ロ
ボットの戻し動作に必要な信号の演算を行なう作業開始
位置演算手段としてのCPU24と、CPU24に接続
され、前記作業ロボットの戻し動作に必要なプログラム
を記憶しているROM33及び前記作業ロボットの動作
に必要な各種のデータを記憶する記憶手段23及び教示
データ記憶手段21としてのRAM34と、I10ポー
ト31を介して出力される各種のデータ及びCPU24
から出力される各種のデータの授受を行なうI10ポー
ト35とで構成されている。
Roughly, based on the video signal output from camera 4,
When an abnormal signal related to work is output from the coating device control circuit 26, the control device 32, which calculates the work start position of the coating device 17, constantly grasps the working position of the coating device 17 and detects when the abnormal signal is output. In this case, the CPU 24 serves as a work start position calculating means for calculating signals necessary for the returning operation of the working robot, the ROM 33 connected to the CPU 24 and storing programs necessary for the returning operation of the working robot, and the ROM 33 connected to the CPU 24 and storing a program necessary for the returning operation of the working robot. A storage means 23 for storing various data necessary for the operation of the working robot, a RAM 34 as a teaching data storage means 21, various data outputted through the I10 port 31, and a CPU 24.
The I10 port 35 is configured to exchange various data output from the I10 port 35.

以上のように構成された作業ロボットの制御装置は、第
3図及び第4図に示す動作フローチャートに基づいて、
次に記すように動作する。以下にこの動作ノロ−チャー
トを、第2図、第7図及び第8図を参照しながら詳細に
説明する。
The control device for the work robot configured as described above is based on the operation flowcharts shown in FIGS. 3 and 4.
It operates as described below. This operation flow chart will be explained in detail below with reference to FIGS. 2, 7, and 8.

ステップ1 まず、プログラムがスタートすると、カメラ4、塗布装
置17、塗布装置制御回路26、制御装置32内のCP
U24及びロボット制御装置27内のCPU28が初期
化され、カメラ4は、シーラ材9の塗布幅を搬像すると
共に、この像に応じた電気信号を塗15装置制御回路2
6に出力する。
Step 1 First, when the program starts, the camera 4, the coating device 17, the coating device control circuit 26, and the CP in the control device 32
The U 24 and the CPU 28 in the robot control device 27 are initialized, and the camera 4 conveys an image of the application width of the sealer material 9 and sends an electric signal corresponding to this image to the device control circuit 2.
Output to 6.

ステップ2 塗布装置制御回路26は、この電気信号に基づいて、シ
ーラ材9の塗布幅が予め設定された範囲内にあるかどう
かの判定を行なう。この判定が0にであればステップ3
に、一方、この判定がNGでおればステップ5に夫々進
む。
Step 2 The coating device control circuit 26 determines whether the coating width of the sealer material 9 is within a preset range based on this electrical signal. If this judgment is 0, step 3
On the other hand, if this determination is NG, the process proceeds to step 5.

ステップ3 0ボツト制御装置27内に設けられているCPU28に
よって、作業繰返しカウンタNの1直が、Oであるかど
うかが判断される。この判断がYESでおればステップ
4に、一方、この判断がNOで必れば、ステップ18に
夫々進む。
Step 3: The CPU 28 provided in the 0-bot control device 27 determines whether the 1st shift of the work repetition counter N is O. If this judgment is YES, the process proceeds to step 4, whereas if this judgment is negative, the process proceeds to step 18.

ステップ4 ステップ3においてYESと判断された場合には、シー
ラ材9の塗布作業が正常に行なわれているので、CPL
J28は、ROM29内に記・践されているサブルーチ
ンプログラム(通常処理)を処理し、I10ポート31
及び駆動回路22を介して、作業ロボットを正常動作さ
せ、塗布装置制御回路26は、塗布装置17を作動させ
る。そして、この場合には、CPU28は、第8図に示
すように、予め教示されている座標(N−1,N、N+
1>をノズル6が通過する毎に、I10ポート31及び
I10ポート35を介して教示点の通過確認信号をCP
U24出力するようになってあり、CPU24は、この
信号に基づいてノズル6の通過状況を把握するようにな
っている。
Step 4 If YES is determined in Step 3, the sealant 9 application work is being performed normally, so CPL
J28 processes the subroutine program (normal processing) stored in the ROM29, and outputs the I10 port 31.
The working robot is operated normally via the drive circuit 22 and the coating device control circuit 26 operates the coating device 17. In this case, the CPU 28, as shown in FIG.
1>, a teaching point passage confirmation signal is sent to CP via I10 port 31 and I10 port 35 every time the nozzle 6 passes through
The signal U24 is outputted, and the CPU 24 grasps the passage status of the nozzle 6 based on this signal.

ステップ5 シーラ材9の塗イ[幅が予め設定された範囲外である場
合には、CPU28は、当該カウンタNの値を1だけ増
加し、これをRAM30に記憶させる。
Step 5 If the width of the sealant 9 is outside the preset range, the CPU 28 increments the value of the counter N by 1 and stores this in the RAM 30.

ステップ6 CPU28は、前記カウンタNの値がROM29内に予
め設定されているカウント値■以上であるかどうかを判
断する。この判断の結果、N≧Iであればステップ7に
、N<Iでおればステップ8に夫々進む。
Step 6: The CPU 28 determines whether the value of the counter N is greater than or equal to the count value ■ preset in the ROM 29. As a result of this judgment, if N≧I, the process proceeds to step 7, and if N<I, the process proceeds to step 8.

ステップ7 ステップ6においてYIESと判断された場合には、シ
ーラ材9の塗布作業が正常に行なわれていないので、C
PU28は、ROM29内に記憶されているサブルーチ
ンプログラム(異常処理)を処理し、I10ボート31
及び駆動回路22を介して、作業ロボットを停止させる
と共に、塗布装置制御回路26に停止信号を出力し、塗
イfi装置17の動作を停止させる。
Step 7 If it is determined as YIES in Step 6, the sealant 9 application work has not been performed normally, so C
The PU 28 processes the subroutine program (abnormality processing) stored in the ROM 29 and executes the I10 boat 31.
Through the drive circuit 22, the working robot is stopped, and a stop signal is output to the coating device control circuit 26 to stop the operation of the coating device 17.

ステップ8 第7図に示すように、塗布装置制御回路26によって、
シーラ材9の塗布に切れ発生等の異常が認められた時に
は、CPU28は、塗布装置制御回路26から出力され
たNGの判定信号をI10ポート31を介して入力する
と同時に、作業ロボットのアームに装着された第8図に
示すノズル6の現在位置座標POを、当該作業ロボット
に設けられている位置センナ20によって入力し、この
座標に関するデータをRAM30に記憶する。尚、この
NGの判定信号は、I10ポート31及びI10ポート
35を介して、CPU24にも入力される。
Step 8 As shown in FIG. 7, the coating device control circuit 26
When an abnormality such as breakage is detected in the coating of the sealant 9, the CPU 28 inputs the NG judgment signal output from the coating device control circuit 26 via the I10 port 31, and at the same time, the CPU 28 inputs the NG judgment signal output from the coating device control circuit 26 through the I10 port 31, and at the same time, the CPU 28 inputs the NG judgment signal outputted from the coating device control circuit 26 through the I10 port 31, and at the same time The current position coordinates PO of the nozzle 6 shown in FIG. Note that this NG determination signal is also input to the CPU 24 via the I10 port 31 and the I10 port 35.

ステップ9 CPU28は、I10ボート31を介して駆動回路22
に作業ロボットの動作を停止させる信号を出力し、作業
ロボットを停止ざゼる。
Step 9 The CPU 28 connects the drive circuit 22 to the drive circuit 22 via the I10 board 31.
outputs a signal to stop the operation of the work robot, causing the work robot to stop.

ステップ10 CPtJ28は、I10ポート31を介して塗布装置制
御回路26に塗布装置17の動作を停止させる信号を出
力し、塗イ5装置17を停止させる。
Step 10 The CPtJ 28 outputs a signal to stop the operation of the coating device 17 to the coating device control circuit 26 via the I10 port 31, thereby stopping the coating device 17.

ステップ11 CPU28は、所定時間経過後(作業ロボットの停止後
)に、作業ロボットのアームに装着された第8図に示す
ノズル6の現在位置座標P2を、当該作業ロボットに設
けられている位置センサ20によって入力し、この座標
に関するデータをRAM30に記憶する。
Step 11 After a predetermined period of time has elapsed (after the work robot has stopped), the CPU 28 calculates the current position coordinates P2 of the nozzle 6 shown in FIG. 20, and data regarding this coordinate is stored in the RAM 30.

ステップ12 CPU28は、I10ポート31を介して塗布装置制御
回路26に、シーラ祠9の塗布幅検出に関するサーボを
停止させる信号を出力し、塗布装置制御回路26は、こ
のサーボを停止する。
Step 12 The CPU 28 outputs a signal to the coating device control circuit 26 via the I10 port 31 to stop the servo related to the detection of the coating width of the sealer blade 9, and the coating device control circuit 26 stops this servo.

ステップ13 演算袋@32内のCPU24は、RAM30内に記憶さ
れているノズル6の現在位置座標PO及びP2をCPU
28、I10ボート31及びI10ポート35を介して
入力し、ROM33に記′即されている戻し位@算出プ
ログラムに基づいて、以下の計算を行ない、この結果を
RAM34内に記憶する。
Step 13 The CPU 24 in the calculation bag @32 calculates the current position coordinates PO and P2 of the nozzle 6 stored in the RAM 30.
28, I10 port 31 and I10 port 35, and based on the return position calculation program stored in ROM 33, perform the following calculations and store the results in RAM 34.

まず、第8図に示すように、塗イト装置制御回路26に
よって塗布装置17による塗イ[作業の異常を検出した
時のノズル6の現在位置座標をPO。
First, as shown in FIG. 8, the coating device control circuit 26 determines the current position coordinates of the nozzle 6 when the coating device 17 detects an abnormality in the coating operation.

当該塗布作業の異常を検出した時のシーラ祠9の異常発
生位置をPl、ノズル6が停止した位置座標をP2 、
カメラ4の検出位置とノズル6の作業位置とのオフセッ
ト遣をA2作業口ホットの教示点を夫々N−1、N 、
 N÷1.とすると、P2からPlへのベクトルは、近
似的に、Pl−P2 = (PO−P2 > +((N
−1) −PO)を計算することによって求められる。
The abnormality occurrence position of the sealer shrine 9 when the abnormality in the coating operation is detected is Pl, the position coordinates where the nozzle 6 stops is P2,
The offset between the detection position of the camera 4 and the working position of the nozzle 6 is determined by setting the teaching point of the A2 working opening hot to N-1, N-1, N-1, N-1, N-1, N-1, N-1,
N÷1. Then, the vector from P2 to Pl is approximately Pl-P2 = (PO-P2 > +((N
−1) −PO).

ステップ14 CPU24は、RAM34に記憶したノズル6の戻し位
置座標及びその戻し経路に関するデータを、I10ポー
ト35及びI10ボート31を介してロボット制御装置
27内のCPU28に出力し、CPU28は、当該デー
タに基づいて、I10ポート31を介して駆動回路22
を制御し、ノズル6を所定の位置(塗布作業におけるシ
ーラ材9の異常発生位置Pi )に戻す。
Step 14 The CPU 24 outputs data regarding the return position coordinates of the nozzle 6 and its return route stored in the RAM 34 to the CPU 28 in the robot control device 27 via the I10 port 35 and the I10 boat 31. Based on the drive circuit 22 via the I10 port 31
is controlled to return the nozzle 6 to a predetermined position (position Pi where an abnormality occurs in the sealer material 9 during application work).

ステップ15 CPU28は、I10ポート31を介して塗イ1装置制
御回路26に、シーラ材9の塗布幅検出に関するナーポ
を作動ざぜる信号を出力し、塗布装置制御回路26は、
このナーボを動作させる。
Step 15 The CPU 28 outputs a signal to the coating 1 device control circuit 26 via the I10 port 31 to activate the NAPO related to the detection of the coating width of the sealer material 9, and the coating device control circuit 26
Operate this Nervo.

ステップ16 CPU28は、I10ポート31を介して塗布装置制御
回路26に塗布装置17を作動させる信号を出力し、塗
布装置17を動作させる。
Step 16 The CPU 28 outputs a signal for operating the coating device 17 to the coating device control circuit 26 via the I10 port 31, thereby causing the coating device 17 to operate.

ステップ17 CPU28は、I10ポート31を介して駆動回路22
に作業ロボットを作動させる信号を出力し、作業ロボッ
トを動作させる。
Step 17 The CPU 28 connects the drive circuit 22 via the I10 port 31.
Outputs a signal to operate the work robot to operate the work robot.

ステップ18 CPU28は、I10ボート31を介して作業ロボット
のアームに装着されたノズル6の現在位置を当該作業口
ホットに設けられている位置センサ20によって入力し
、ノズル6が第8図に示す戻り点P1を通過したかどう
かを判断する。この判断の結果、ノズル6が戻り点を通
過した場合にはステップ19に進み、当該戻り点を通過
していない場合にはステップ1に戻る。
Step 18 The CPU 28 inputs the current position of the nozzle 6 attached to the arm of the working robot via the I10 boat 31 using the position sensor 20 installed at the working opening, and the nozzle 6 returns as shown in FIG. It is determined whether the point P1 has been passed. As a result of this judgment, if the nozzle 6 has passed the return point, the process proceeds to step 19, and if it has not passed the return point, the process returns to step 1.

ステップ19 CPU28は、作業繰返しカウンタNの値をOにリセッ
トする。
Step 19 The CPU 28 resets the value of the work repetition counter N to O.

以上のように、本実施例においては、塗布装置制御回路
26からシーラ材9の塗布状態が異常でおるとの信号が
出力されると、その異常発生時のノズル6の座標と、作
業ロボットが停止した後のノズル6の座標とがRAM3
0に記憶され、このRAM30に記憶されている座標デ
ータに基づいてノズル6の戻し位置を算出し、ノズル6
を当該戻し位置に戻すと共に塗布装置17を作動させ、
作業ロボットは、異常発生位置から作業を再開すること
になる。
As described above, in this embodiment, when the applicator control circuit 26 outputs a signal indicating that the application state of the sealer material 9 is abnormal, the coordinates of the nozzle 6 at the time of the abnormality and the working robot are The coordinates of nozzle 6 after stopping are stored in RAM3.
The return position of the nozzle 6 is calculated based on the coordinate data stored in the RAM 30, and the nozzle 6 is
is returned to the return position and the coating device 17 is operated,
The work robot will resume work from the position where the abnormality occurred.

ざらに、第5図及び第6図には、本発明の他の実施例を
示す動作フローチャートが示されている。
Briefly, FIGS. 5 and 6 show operational flowcharts showing other embodiments of the present invention.

この動作フローチャートは、前記した実施例と異なる動
作をするステップのみ、前記したフローチャートとは異
なるステップ番号を付しである。
In this operation flowchart, only the steps that perform operations different from those in the above-described embodiment are given different step numbers from those in the above-described flowchart.

以下に、この動作フローチャート中前記した実施例と異
なる部分のみを、第2図、第7図及び第8図を参照して
説明する。
In the following, only the parts of this operation flowchart that are different from the above-described embodiments will be explained with reference to FIGS. 2, 7, and 8.

ステップ20 CPU24は、第4図に示したステップ13と同様の計
算を行ない、塗布装置17の作業開始位置を算出する。
Step 20 The CPU 24 calculates the work start position of the coating device 17 by performing calculations similar to step 13 shown in FIG.

ステップ21 CPU24は、塗布装置制御回路26から出力された判
定NGの信号に基づいてCPU28が出力したNGの判
定信号を入力し、この判定NGの信号が出力された位置
は、ノズル6のどの教示点間であるかを算出し、ノズル
6が通過した最も近い教示点にノズル6を戻す経路を以
下に記す演算を行なうことによって算出する。
Step 21 The CPU 24 inputs the NG judgment signal outputted by the CPU 28 based on the NG judgment signal output from the coating device control circuit 26, and determines which teaching point of the nozzle 6 the position where this judgment NG signal is output is. The path to return the nozzle 6 to the nearest teaching point through which the nozzle 6 has passed is calculated by performing the calculations described below.

例えば、第8図に示すように、教示点N−1とNとの間
においてシーラ材の塗布異常が発生した場合には、RA
M30に記憶されているノズル6が停止した位置用49
P2とRAM34に記憶されている教示点N−1の座標
に塁ついて、N−1−P2を演算し、CPU2−1はこ
の演算値を、I10ポート35及びI10ボート3]を
介してロボット制御袋@27内のCPU28に出力し、
CPU28は、当該データに基づいて、I10ポート3
1を介して駆動回路22を制御し、ノズル6を所定の位
置(教示点N−1)に戻す。
For example, as shown in FIG. 8, if a sealant application error occurs between teaching points N-1 and N, the RA
49 for the position where the nozzle 6 stopped which is stored in M30
P2 and the coordinates of the teaching point N-1 stored in the RAM 34, calculate N-1-P2, and the CPU 2-1 uses this calculated value to control the robot via the I10 port 35 and the I10 port 3]. Output to CPU28 in bag @27,
Based on the data, the CPU 28 selects the I10 port 3.
1 to return the nozzle 6 to a predetermined position (teaching point N-1).

ステップ22 CPU28は、ステップ20で算出した塗布開始位置を
ノズル6が通過したかどうかの判断をする。
Step 22 The CPU 28 determines whether the nozzle 6 has passed the coating start position calculated in step 20.

以上のように、この実施例においては、塗布装置制御回
路26からシーラ材9の塗布状態が異常であるとの信号
が出力されると、その異常発生時のノズル6の座標と、
作業ロボットが停止した後のノズル6の座標とがRAM
30に記憶され、このRAM30に記憶されている座標
データに基づいて塗布装置17の作業開始位置を算出す
ると共に、ノズル6を通過した最も近い教示位置に戻し
、作業ロボットは、当該教示位置からプレイバックを開
始し、ノズル6が当該作業開始位置を通過すると同時に
作業装置17を作動し、以降、作業ロボットは、所定の
作業を行なうことになる。
As described above, in this embodiment, when the applicator control circuit 26 outputs a signal indicating that the application state of the sealer material 9 is abnormal, the coordinates of the nozzle 6 at the time of the abnormality,
The coordinates of the nozzle 6 after the work robot has stopped are stored in the RAM.
30, and calculates the work start position of the coating device 17 based on the coordinate data stored in the RAM 30, returns it to the nearest taught position passing through the nozzle 6, and the work robot starts playing from the taught position. When the nozzle 6 passes through the work start position, the work device 17 is activated, and from then on, the work robot performs a predetermined work.

(発明の効果) 以上の説明により明らかなように、本発明によれば、作
業ロボットが自ら行なった作業状態に対して異常を検出
した場合には、その異常を検出した位置から自動的に作
業を再開できるので、作業ロボットの信頼性の向上、生
産ラインの稼働率の向上及び作業能率の向上を図ること
ができる。
(Effects of the Invention) As is clear from the above explanation, according to the present invention, when a work robot detects an abnormality in the work state it is performing, it automatically starts work from the position where the abnormality is detected. Since the operation can be restarted, it is possible to improve the reliability of the working robot, the operation rate of the production line, and the work efficiency.

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

第1図は、本発明に係る作業ロボットの制御装置のブロ
ック図、第2図は、本発明に係る作業ロボットの制御装
置の概略構成図、第3図乃至第6図は、第2図に示した
制御装置の動作ノロ−チャー(・、第7図及び第8図は
、第3図乃至第6図に示した動作フローチャートの説明
に供する図、第9図は、従来の作業ロボットの一例を示
すシーラ材の塗布ロボットである。 1・・・アーム、   2・・・ホルダ、3・・・塗布
ガン、 4・・・検出装置(作業監禎手段)、 5・・・固定軸、   6・・・ノズル、7・・・ホー
ス、 8・・・パネル、 9・・・シーラ材、  ]O・・・塗布制御装置、11
・・・ポールベアリング、 12・・・ケース、  13・・・躍影レンズ、14・
・・照明ランプ、15・・・コネクタ、16・・・ケー
ブル、 17・・・塗布装置(作業装置)、 20・・・位置センサ(作業位置検出手段)、22・・
・駆動回路(駆動手段)、 24・・・CPU (作業開始位置演算手段)、26・
・・塗布装置制御回路(判断手段、制御手・段)、 27・・・ロボット制御装置、 28・・・CPtJ (制御手段、戻し指令手段)、2
9.33・・・ROM。 30.34・・・RAM (記憶手段、教示データ記憶
手段)、 31.35・・・I10ボート、 32・・・制御装置。 第1図 第2図
FIG. 1 is a block diagram of a control device for a work robot according to the present invention, FIG. 2 is a schematic configuration diagram of a control device for a work robot according to the present invention, and FIG. 3 to FIG. 7 and 8 are diagrams for explaining the operation flowcharts shown in FIGS. 3 to 6, and FIG. 9 is an example of a conventional working robot. This is a sealer coating robot showing the following: 1... Arm, 2... Holder, 3... Coating gun, 4... Detection device (work monitoring means), 5... Fixed axis, 6 ... Nozzle, 7... Hose, 8... Panel, 9... Sealer material, ]O... Application control device, 11
...Pole bearing, 12.Case, 13.Rakuei lens, 14.
...Illumination lamp, 15...Connector, 16...Cable, 17...Coating device (work device), 20...Position sensor (work position detection means), 22...
・Drive circuit (drive means), 24...CPU (work start position calculation means), 26・
... Coating device control circuit (judgment means, control means/means), 27... Robot control device, 28... CPtJ (control means, return command means), 2
9.33...ROM. 30.34...RAM (storage means, teaching data storage means), 31.35...I10 boat, 32...control device. Figure 1 Figure 2

Claims (1)

【特許請求の範囲】 ロボットに取付けられ、ワークに対して所定の作業をす
る作業装置と、 前記ロボットを駆動する駆動手段と、 前記作業装置の作業位置を検出する作業位置検出手段と
、 前記作業装置の作業軌跡に関する教示データを格納する
教示データ記憶手段と、 前記作業装置によって行なわれた作業状態を監視する作
業監視手段と、 前記作業監視手段から出力された信号に基づいて、前記
作業状態の良否を判断する判断手段と、前記判断手段に
よって前記作業状態が否であると判断された場合に、前
記作業位置検出手段から出力されている前記作業装置の
現在位置データを格納する記憶手段と、 前記記憶手段に記憶されている前記作業装置の現在位置
データ及び前記教示データ記憶手段に記憶されている前
記作業装置の作業軌跡に関する教示データに基づいて、
前記作業装置の作業開始位置を演算する作業開始位置演
算手段と、 前記作業開始位置演算手段によって演算された作業開始
位置又は前記教示データ記憶手段に記憶されている前記
作業装置の作業軌跡に関する教示データに基づいて、前
記作業装置を所定の位置に戻すべき指令を発する戻し指
令手段と、 前記判断手段によって前記作業状態が良であると判断さ
れている場合には、前記作業位置検出手段及び前記教示
データ記憶手段からの位置データに基づいて、前記作業
装置及び前記駆動手段を制御し、前記判断手段によって
前記作業状態が否であると判断された場合には、前記戻
し指令手段から出力された位置データに基づいて、前記
駆動手段を作動させて前記作業装置を所定の位置に戻す
と共に前記作業開始位置演算手段によって演算された作
業開始位置から前記作業装置を作動させる制御手段とを
備えたことを特徴とする作業ロボットの制御装置。
[Scope of Claims] A working device that is attached to a robot and performs a predetermined work on a workpiece; a driving device that drives the robot; a working position detection device that detects a working position of the working device; teaching data storage means for storing teaching data regarding the work trajectory of the device; work monitoring means for monitoring the state of the work performed by the work device; a determining means for determining acceptability; and a storage means for storing current position data of the working device output from the working position detecting means when the determining means determines that the working state is not good; Based on the current position data of the working device stored in the storage means and the teaching data regarding the work trajectory of the working device stored in the teaching data storage means,
a work start position calculation means for calculating a work start position of the work device; and teaching data regarding the work start position calculated by the work start position calculation means or the work trajectory of the work device stored in the teaching data storage means. a return command means that issues a command to return the working device to a predetermined position based on the above; and when the determining means determines that the working condition is good, the working position detecting means and the teaching The working device and the driving means are controlled based on the position data from the data storage means, and when the determining means determines that the working state is negative, the position output from the return command means is controlled. control means for operating the drive means to return the work device to a predetermined position based on the data and operating the work device from the work start position calculated by the work start position calculation means. Features: Control device for working robots.
JP12126786A 1986-05-28 1986-05-28 Controller for working robot Pending JPS62278610A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12126786A JPS62278610A (en) 1986-05-28 1986-05-28 Controller for working robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12126786A JPS62278610A (en) 1986-05-28 1986-05-28 Controller for working robot

Publications (1)

Publication Number Publication Date
JPS62278610A true JPS62278610A (en) 1987-12-03

Family

ID=14807020

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12126786A Pending JPS62278610A (en) 1986-05-28 1986-05-28 Controller for working robot

Country Status (1)

Country Link
JP (1) JPS62278610A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1996004109A1 (en) * 1994-08-02 1996-02-15 Komatsu Ltd. Abnormal tool restoring apparatus
WO2009133606A1 (en) * 2008-04-30 2009-11-05 有明スチールセンター株式会社 Automatic coating device
JP2020189354A (en) * 2019-05-21 2020-11-26 株式会社ダイフク Application robot
WO2023047588A1 (en) * 2021-09-27 2023-03-30 ファナック株式会社 Robot system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5067762A (en) * 1973-10-22 1975-06-06
JPS5760402A (en) * 1980-09-30 1982-04-12 Fanuc Ltd Status release system of numerical control machine tool

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5067762A (en) * 1973-10-22 1975-06-06
JPS5760402A (en) * 1980-09-30 1982-04-12 Fanuc Ltd Status release system of numerical control machine tool

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1996004109A1 (en) * 1994-08-02 1996-02-15 Komatsu Ltd. Abnormal tool restoring apparatus
US5825655A (en) * 1994-08-02 1998-10-20 Komatsu Ltd. Normal operating condition restoration device
WO2009133606A1 (en) * 2008-04-30 2009-11-05 有明スチールセンター株式会社 Automatic coating device
JP4562802B2 (en) * 2008-04-30 2010-10-13 有明スチールセンター株式会社 Automatic painting equipment
JPWO2009133606A1 (en) * 2008-04-30 2011-08-25 有明スチールセンター株式会社 Automatic painting equipment
JP2020189354A (en) * 2019-05-21 2020-11-26 株式会社ダイフク Application robot
WO2023047588A1 (en) * 2021-09-27 2023-03-30 ファナック株式会社 Robot system
DE112021007987T5 (en) 2021-09-27 2024-05-23 Fanuc Corporation Robot system

Similar Documents

Publication Publication Date Title
US20220097232A1 (en) Control system, monitoring device, monitoring method, and non-transitory computer-readable storage medium storing program
JP2001225288A (en) Method of correcting teaching position of welding robot
US20110180516A1 (en) Position detection device and a position detection method for a workpiece to be welded
JP2001088071A (en) Control device of robot
US8783210B2 (en) Robot coating system
JPS62278610A (en) Controller for working robot
JP2003164780A (en) Control unit of industrial robot
US20220274259A1 (en) Coating control apparatus, coating control system, setting apparatus for coating control apparatus, coating control method, and non-transitory computer readable storage medium
JPS6340909A (en) Controlling method for robot
JP2007260531A (en) Coating discharge control system in robot coating
JPH1199493A (en) Industrial robot
JP3801264B2 (en) Industrial robot teaching method and apparatus
JPS6115763A (en) Method and apparatus for controlling flow amount of viscous fluid
JP7107091B2 (en) Robot system and controller
JPH03136783A (en) Industrial robot and its control method
JP2760125B2 (en) Robot controller
JPH11277484A (en) Industrial robot
WO1987003110A1 (en) Apparatus for controlling robot having alarm display function
US7174234B2 (en) Servo tool unit attachment and detachment method
US20220193710A1 (en) Application system, control device, control method, and non-transitory computer-readable storage medium storing a program
JPH06344283A (en) Manipulator device
JPH11345018A (en) Robot controller
JP3588956B2 (en) Robot controller
KR940008590B1 (en) Apparatus for detecting accident tool of arc welding robot
WO2024004170A1 (en) Robot control device, robot system, and robot control method