JPH0610768B2 - Robot controller - Google Patents
Robot controllerInfo
- Publication number
- JPH0610768B2 JPH0610768B2 JP60008757A JP875785A JPH0610768B2 JP H0610768 B2 JPH0610768 B2 JP H0610768B2 JP 60008757 A JP60008757 A JP 60008757A JP 875785 A JP875785 A JP 875785A JP H0610768 B2 JPH0610768 B2 JP H0610768B2
- Authority
- JP
- Japan
- Prior art keywords
- servo
- cpu
- brake
- emergency stop
- robot
- 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
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical 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/406—Numerical 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/4062—Monitoring servoloop, e.g. overload of servomotor, loss of feedback or reference
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Numerical Control (AREA)
- Manipulator (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、緊急事態発生時に非常停止釦を押圧操作す
ることによりロボットの動作を瞬時に停止させることが
できる機能を有し、しかも無駄な復帰動作を省略するよ
うにした産業用ロボットの制御装置に関するものであ
る。DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention has a function of instantaneously stopping the operation of a robot by pressing an emergency stop button when an emergency occurs, and is wasteful. The present invention relates to a control device for an industrial robot in which a returning operation is omitted.
第5図は従来のこの種産業用ロボットの制御装置を示す
ブロック図で、(1)は全体を統括制御する主中央処理装
置(以下これをメインCPUと呼ぶ)、(2)はこのメイ
ンCPU(1)の制御手順を記憶するための読出し専用メ
モリ(以下これをROMと呼ぶ)、(3)は上記メインC
PU(1)がこのROM(2)の内容に従ってロボットを制御
する場合に、一時的にデータを記憶させるために用いる
読書き可能メモリ(以下これをRAMと呼ぶ)、(4)は
上記メインCPU(1)に対し定期的に割込信号を入力す
るためのタイマ、(5)はロボットの作業手順を入力した
りあるいは現在の状況を表示するためのキーボード・C
RT(モニタTV)、(6)はロボットを手動で作動させ
て所定の動作を教示するために用いる教示装置、すなわ
ちティーチング・ペンダントで非常停止釦も備えてい
る。(7)はロボットに各種操作を行なわせるための操作
パネル、(9)は信号をメインCPU(1)に入力するための
ゲート、(10)は0Rゲート、(11)はロボットの制御装置
以外から非常停止信号を入力するための入力装置、(12)
は上記メインCPU(1)と各種入出力装置とを接続する
共通信号線群(以下これをバスと呼ぶ)である。FIG. 5 is a block diagram showing a control device for a conventional industrial robot of this type. (1) is a main central processing unit (hereinafter referred to as main CPU) for overall control, and (2) is this main CPU. Read-only memory (hereinafter referred to as ROM) for storing the control procedure of (1), (3) is the main C
When the PU (1) controls the robot according to the contents of the ROM (2), a readable and writable memory (hereinafter referred to as RAM) used for temporarily storing data, (4) is the main CPU A timer for periodically inputting an interrupt signal to (1), and (5) a keyboard / C for inputting the robot's work procedure or displaying the current status.
RT (monitor TV), (6) is a teaching device used for manually operating the robot to teach a predetermined operation, that is, a teaching pendant, which also has an emergency stop button. (7) is an operation panel for making the robot perform various operations, (9) is a gate for inputting signals to the main CPU (1), (10) is a 0R gate, and (11) is other than the robot controller. Input device for inputting emergency stop signal from, (12)
Is a common signal line group (hereinafter referred to as a bus) that connects the main CPU (1) and various input / output devices.
次に、(20)はロボットのサーボ制御を行なうサーボCP
U、(37)はこのサーボCPU(20)の制御手順を記憶する
ためのROM、(8)は上記メインCPU(1)と、サーボC
PU(20)との間の通信に用いるためのRAM、(21)は上
記サーボCPU(20)に定期的に割込みをかけるためのタ
イマ、(22)は上記サーボCPU(20)からの信号を保持す
るためのラッチ、(23)は上記サーボCPU(20)からの信
号をアナログ値に変換するディジタル・アナログ変換器
(以下これをD/A変換器と呼ぶ)、(24)はサーボアン
プ、(25)はロボットのアームおよびハンド装置等の各軸
を駆動するためのモータで、この第5図においては1個
だけ示しているが、実際にはロボットの軸の数量と同一
数量のモータを備えていることはいうまでもない。(26)
は上記各モータ(25)の回転をパルス列に変換して出力す
るパルスエンコーダ、(27)はブレーキ、(28)は上記パル
スエンコーダ(26)から出力されたパルス信号の周波数に
比例する電圧を出力する周波数−電圧変換器(以下これ
をF/V変換器と呼ぶ)、(29)は上記パルスエンコーダ(2
6)から出力されたパルス信号を正負方向のパルスに分離
するための方向弁別回路、(30)はこの方向弁別回路(29)
から出力される正、負方向のパルスをカウントするアッ
プダウン・カウンタ、(31)は上記サーボCPU(20)と、
各入出力装置とを接続するバスである。Next, (20) is a servo CP that controls the servo of the robot.
U, (37) is a ROM for storing the control procedure of the servo CPU (20), (8) is the main CPU (1) and the servo C
RAM for communication with the PU (20), (21) a timer for periodically interrupting the servo CPU (20), and (22) a signal from the servo CPU (20). A latch for holding, (23) a digital-analog converter for converting the signal from the servo CPU (20) into an analog value (hereinafter referred to as a D / A converter), (24) a servo amplifier, (25) is a motor for driving each axis of the robot arm and hand device, etc. Although only one motor is shown in FIG. 5, in reality, the same number of motors as the number of robot axes is used. It goes without saying that they have it. (26)
Is a pulse encoder that converts the rotation of each motor (25) into a pulse train and outputs it, (27) is a brake, and (28) outputs a voltage proportional to the frequency of the pulse signal output from the pulse encoder (26). Frequency-voltage converter (hereinafter referred to as F / V converter), (29) is the pulse encoder (2
Directional discrimination circuit for separating the pulse signal output from 6) into positive and negative direction pulses, (30) is this direction discrimination circuit (29)
Up / down counter that counts positive and negative pulses output from the servo CPU (20),
It is a bus that connects each input / output device.
次に、(15),(16)は上記ティーチング・ペンダント
(6)、および操作パネル(7)から出力される非常停止信
号、(17)は外部から入力される非常停止信号、(34)は上
記サーボアンプ(24)から出力されるサーボアンプ・エラ
ー信号で、この信号は過電流、過負荷等サーボ系の異常
をこのサーボアンプが検出したときに出力されるエラー
信号である。(35)は上記D/A変換器(23)から出力されて
サーボアンプ(33)に入力される電圧信号で、速度指令に
相当するものである。(36)は上記F/V変換器(28)から出
力される速度フィードバック値で、これはモータの速度
をフィードバックしたものに相当する。Next, (15) and (16) are the above teaching pendants.
(6) and the emergency stop signal output from the operation panel (7), (17) the emergency stop signal input from the outside, (34) the servo amplifier error signal output from the servo amplifier (24) This signal is an error signal output when the servo amplifier detects an abnormality in the servo system such as overcurrent or overload. (35) is a voltage signal output from the D / A converter (23) and input to the servo amplifier (33), which corresponds to a speed command. (36) is a speed feedback value output from the F / V converter (28), which corresponds to the feedback of the speed of the motor.
次に、(32)はブレーキの「ON」,「OFF」を制御す
るブレーキON/OFF信号、(33)は上記サーボアンプ(24)に
対してサーボアンプの動作を有効にするか、または無効
にするかを指令するサーボON/OFF信号、(13)はORゲー
ト(10)の出力で、これはサーボエラーまたは非常停止釦
が押圧されるかあるいは外部から非常停止信号が入力さ
れたときに、メインCPU(1)に対して割込みをかける
ための非常時割込み信号、(14)および(38)は上記メイン
CPU(1)とサーボCPU(20)へのタイマー割込信号で
ある。Next, (32) is a brake ON / OFF signal for controlling brake “ON” and “OFF”, and (33) enables or disables the operation of the servo amplifier for the servo amplifier (24). Servo ON / OFF signal for instructing whether to turn it on, (13) is the output of the OR gate (10). This is when a servo error or the emergency stop button is pressed or an emergency stop signal is input from the outside. , An emergency interrupt signal for interrupting the main CPU (1), and (14) and (38) are timer interrupt signals to the main CPU (1) and the servo CPU (20).
従来のロボット制御装置は上記のように構成されてお
り、通常、メインCPU(1)は作業者がティーチング・
ペンダント(6)またはキーボード・CRT(5)を用いてティ
ーチングした動作、および位置をRAM(3)によって一
動作あて読み出したあと、これを実現するための速度パ
ターンに変換し、さらにそれを各軸毎の速度パターンに
変換する。そして、その速度パターンを一定時間毎の値
に分割し、タイマー割込信号(14)が出力されるたびにR
AM(8)を介して一定時間毎に作動すべき位置指令をサ
ーボCPU(20)に出力するようになされている。一方、
このサーボCPU(20)は、上記位置指令値を更に細かい
時間毎の値に分割し、アップダウン・カウンタ(30)から
得られる位置フィードバック値との差分をとり、更にそ
れをタイマー割込信号(38)が出力されるたびにD/A変換
器(23)を介してサーボアンプ(24)に電圧信号、すなわち
速度指令(35)として出力する。また、サーボアンプ(24)
においては、この速度指令(35)と、F/V変換器(28)から
得られる速度フィードバック値(36)との差をとって、電
流指令とし、それに基づいてモータ(25)を制御するよう
になされている。The conventional robot control device is configured as described above, and normally the main CPU (1) is not
After the teaching operation using the pendant (6) or the keyboard / CRT (5) and the position is read out by the RAM (3) for one operation, it is converted into a speed pattern to realize this, and then it is converted to each axis. Convert to each speed pattern. Then, the speed pattern is divided into values at regular time intervals, and R is output each time the timer interrupt signal (14) is output.
A position command to be actuated at regular intervals is output to the servo CPU (20) via the AM (8). on the other hand,
The servo CPU (20) divides the position command value into finer values for each time, takes the difference from the position feedback value obtained from the up / down counter (30), and further calculates it by a timer interrupt signal ( Each time 38) is output, it is output as a voltage signal, that is, a speed command (35) to the servo amplifier (24) via the D / A converter (23). Also, servo amplifier (24)
In, the difference between this speed command (35) and the speed feedback value (36) obtained from the F / V converter (28) is taken as the current command, and the motor (25) is controlled based on that. Has been done.
以上述べた要領によってモータ(25)が制御されることに
より、ロボットは所定の作業を行なうわけであるが、こ
の作業中にたとえばサーボアンプ(24)が故障したり、あ
るいはパルス・エンコーダ(26)からの線が切れたりして
モータ(25)が暴走することがあり、また、ティーチング
操作を間違えたために、誤った位置へロボットのアーム
が移動しようとしたりすることがあるが、このような事
態に備えて産業用ロボットにおいては、サーボアンプの
故障等の重大故障発生時には非常停止釦を作業者が押圧
して瞬時にロボットの動作を停止させるように構成され
ている。すなわち、第5図に示すように、例えば、ティ
ーチング・ペンダント(6)に備えられている非常停止釦
(図示せず)を押圧すると、非常停止信号(15)が出力さ
れ、ORゲート(10)を介してメインCPU(1)に割込信
号が入力され、このメインCPU(1)は現在の処理を中
断して、サーボCPU(20)に対し、サーボ「OFF」、ブ
レーキ「ON」の指令を出力してロボットのアームを瞬
時に停止させる。By controlling the motor (25) according to the procedure described above, the robot performs a predetermined work.For example, during this work, the servo amplifier (24) fails, or the pulse encoder (26). The motor (25) may run away due to a broken line from the robot, or the robot arm may try to move to the wrong position due to an incorrect teaching operation. In preparation for this, the industrial robot is configured so that when a serious failure such as a failure of the servo amplifier occurs, the operator presses the emergency stop button to instantly stop the operation of the robot. That is, as shown in FIG. 5, for example, when an emergency stop button (not shown) provided on the teaching pendant (6) is pressed, an emergency stop signal (15) is output and the OR gate (10) is output. An interrupt signal is input to the main CPU (1) via this, this main CPU (1) interrupts the current processing, and commands the servo CPU (20) to turn the servo "OFF" and brake "ON". Is output to instantly stop the robot arm.
〔発明が解決しようとする問題点」 上述したような手段でロボットを停止させる場合にはブ
レーキだけで惰性力を抑えることになるが、その停止距
離は、通常のサーボを使用して緊急停止させる手段(以
下これを緊急停止手段と呼ぶ)と比較して、第6図のタ
イミングチャートに示すように停止距離が長くなるのが
ふつうである。そうかといって上述したようにサーボを
使用して緊急停止手段を用いると、CPUおよびサーボ
アンプ等の故障時のことを考えると不可能である。ま
た、非常停止釦を押圧してロボットを非常停止させた場
合には、非常停止をした後は制御系が順調に動作してい
るかどうかを確認認することができないので、一度ロボ
ットを原点に復帰させなければ正常の動作に戻れない欠
点がある。[Problems to be Solved by the Invention] When the robot is stopped by the means described above, the inertia force is suppressed only by the brake, but the stop distance is an emergency stop using a normal servo. Compared with the means (hereinafter referred to as emergency stop means), the stop distance is usually longer as shown in the timing chart of FIG. On the other hand, if the emergency stop means is used by using the servo as described above, it is impossible considering the failure of the CPU and the servo amplifier. Also, if the robot is stopped by pressing the emergency stop button, it is not possible to confirm whether the control system is operating smoothly after the emergency stop. If you do not do this, there is a drawback that you cannot return to normal operation.
この発明はかかる点に着目してなされたもので、上述し
た従来のブレーキによる非常停止手段は、制御系の故障
などの場合には有効であるが、作業者のティーチングミ
ス等によって予期せぬロボットの動作となったために狼
狽して非常停止釦を押圧した場合などの停止方法として
は好ましくない。なぜならば、上述したように停止距離
が長くなるばかりでなく、ロボットを元の位置に復帰さ
せるために面倒な原点復帰動作をさせなければならず、
ロボットの稼動効率が低下するからである。The present invention has been made by paying attention to such a point, and although the above-mentioned conventional emergency stop means by a brake is effective in the case of a failure of the control system or the like, an unexpected robot due to a teaching mistake of an operator or the like. This is not preferable as a stopping method when the emergency stop button is pressed and the emergency stop button is pressed. This is because not only the stop distance becomes longer as described above, but also a troublesome origin return operation must be performed in order to return the robot to the original position.
This is because the operating efficiency of the robot is reduced.
[問題点を解決するための手段] この発明にかかるロボット制御装置は、ロボットを統括
制御するメインCPUと、ロボットをサーボ制御し、異
常時にサーボを非常停止させるブレーキを制御するブレ
ーキサーボ制御手段を有するサーボCPUと、重大故障
発生時に作業者の非常停止釦による非常停止信号が入力
された前記メインCPUがサーボ「ON」、ブレーキ
「OFF」で所定の緊急停止パターンの減速開始指令を
前記サーボCPUに出力すると共に非常時割込み信号を
モニタCPUに出力した場合に、前記非常時割込み信号
を受け取ってから一定時間経過後に減速開始指令に基づ
いて減速されているか否かを監視し、減速されていない
ときにはサーボ「OFF」、ブレーキ「ON」の指令を
前記ブレーキサーボ制御手段に出力するプログラムを記
憶したROMと、前記サーボCPUのサーボ制御を監視
し、前記メインCPUが出力した非常時割込み信号を受
け取ったとき、前記ROMのプログラムを実行するモニ
タCPUとを備えてなるものである。[Means for Solving Problems] A robot control device according to the present invention includes a main CPU that integrally controls a robot, and a brake servo control means that servo-controls the robot and controls a brake that causes an emergency stop of the servo when an abnormality occurs. The servo CPU has and the main CPU to which an emergency stop signal from an emergency stop button of an operator is input when a serious failure occurs. The servo CPU issues a deceleration start command of a predetermined emergency stop pattern by the servo "ON" and the brake "OFF". When the emergency interruption signal is output to the monitor CPU and the emergency interruption signal is output to the monitor CPU, it is monitored whether or not the deceleration is started based on the deceleration start command after a lapse of a certain time after receiving the emergency interruption signal, and it is not decelerated Occasionally, a command for outputting a servo "OFF" and a brake "ON" is output to the brake servo control means. A ROM that stores a program and a monitor CPU that monitors the servo control of the servo CPU and executes the program of the ROM when the emergency interrupt signal output from the main CPU is received.
[作用] この発明のロボット制御装置は、重大故障発生時で作業
者の非常停止釦による非常停止信号がメインCPUに入
力された場合に、前記メインCPUがサーボ「ON」、
ブレーキ「OFF」で所定の緊急停止パターンの減速開
始指令をサーボCPUに出力すると共に非常時割込み信
号をモニタCPUに出力し、前記モニタCPUは非常時
割込み信号を受け取っとった時にROMに記憶されてい
るプログラムを実行し、非常時割込み信号を受け取って
から一定時間経過後に減速開始指令に基づきサーボ系を
そのまま活かして減速されているか否かを監視し、減速
されず、停止しないと判断したときに、はじめてブレー
キサーボ制御手段に対してサーボ「OFF」、ブレーキ
「ON」の指令を出力し、ブレーキによる停止に切り換
えるようにしたので、ロボット制御装置の重大故障発生
時で作業者が非常停止釦を押圧した場合において、緊急
停止パターンによる停止のときもあり、ブレーキの停止
による停止距離が長くなることの機会が少なくなり、ま
た緊急停止パターンによって正常に停止したか、あるい
はサーボ「OFF」によるブレーキによって停止したか
を判断することによって原点復帰の要否を判定できるた
め、ロボットの無駄な原点復帰動作を省略することがで
きる。[Operation] In the robot controller according to the present invention, when an emergency stop signal from the operator's emergency stop button is input to the main CPU when a serious failure occurs, the main CPU causes the servo "ON",
When the brake is "OFF", a deceleration start command of a predetermined emergency stop pattern is output to the servo CPU and an emergency interrupt signal is output to the monitor CPU, and the monitor CPU is stored in the ROM when the emergency interrupt signal is received. When a certain time has elapsed since the emergency interrupt signal was received and the deceleration start command was used to monitor whether or not the servo system is still being used for deceleration after a certain period of time has elapsed and it is determined that it will not be decelerated and will not stop For the first time, the command of the servo "OFF" and the brake "ON" is output to the brake servo control means to switch to the stop by the brake, so that the operator can press the emergency stop button when a serious failure of the robot controller occurs. When pressed, it may stop due to an emergency stop pattern, and the stop distance due to the stop of the brake It is possible to determine whether or not the home return is necessary by determining whether the robot has stopped normally by an emergency stop pattern or stopped by the brake by the servo "OFF". The home return operation can be omitted.
[発明の実施例] 第1図〜第4図は何れもこの発明の一実施例を示すもの
で、第1図はこの発明のロボット制御装置を示すブロッ
ク図、第2図および第3図は非常停止の場合の動作を説
明するためのタイミングチャート、第4図はこの発明に
かかるロボット制御装置の動作を説明するためのフロー
チャートで、これら各図面において上述した従来のもの
と同一符号は同一構成部材につきその説明を省略する。[Embodiment of the Invention] FIGS. 1 to 4 show an embodiment of the present invention. FIG. 1 is a block diagram showing a robot controller of the present invention, FIG. 2 and FIG. FIG. 4 is a timing chart for explaining the operation in the case of an emergency stop, and FIG. 4 is a flow chart for explaining the operation of the robot control device according to the present invention. The description of each member is omitted.
まず、第1図において、(40)はサーボ系の動作を監視す
るために設けられたモニタCPU、(41)はこのモニタC
PU(40)の制御手順を記憶するためのROM、(42)は上
記モニタCPU(40)が上記ROM(41)の内容に従ってサ
ーボ系の監視をする場合に、一時的にデータを記憶させ
るためのRAM、(43)はモニタCPU(40)に対し定期的
に割込み信号を出力するためのタイマ、(44)はモニター
CPU(40)の出力信号を保持するラッチ、(45)はサーボ
アンプ(24)に入力される速度指令(35)、および速度フィ
ードバック値(36)をディジタル値に変換するためのアナ
ログ−ディジタル変換器(以下これをA/D変換器と呼
ぶ)、(46)は上記モニタCPU(40)と各入出力装置とを
接続するためのバス、(47)はブレーキ、およびサーボア
ンプ等の動作を制御する制御回路、(48)はモニタCPU
(40)へのタイマ割込信号、(49)はモニタCPU(40)から
メインCPU(1)への信号、(50)はブレーキ、およびサ
ーボアンプを制御する信号である。First, in FIG. 1, (40) is a monitor CPU provided to monitor the operation of the servo system, and (41) is this monitor C.
A ROM for storing the control procedure of the PU (40), and (42) for temporarily storing data when the monitor CPU (40) monitors the servo system according to the contents of the ROM (41). RAM, (43) a timer for periodically outputting an interrupt signal to the monitor CPU (40), (44) a latch for holding the output signal of the monitor CPU (40), and (45) a servo amplifier ( An analog-digital converter (hereinafter referred to as an A / D converter) for converting the speed command (35) input to 24) and the speed feedback value (36) to a digital value (46) is the above A bus for connecting the monitor CPU (40) and each input / output device, (47) a control circuit for controlling operations of a brake, a servo amplifier and the like, (48) a monitor CPU
A timer interrupt signal to (40), (49) is a signal from the monitor CPU (40) to the main CPU (1), and (50) is a signal for controlling the brake and the servo amplifier.
この発明のロボット制御装置は上記のように構成されて
いるので、いま、操作パネル(7)に設けられている非常
停止釦(図示せず)を押圧することによって非常停止信
号(16)が出力されると、この非常停止信号は、ORゲー
ト(10)を介して非常時割込み信号(13)となり、これがメ
インCPU(1)に入力されると、このメインCPU(1)は
従来のものと相違して、サーボを「ON」にしたままで
第2図のタイムチャートに示すように緊急停止パターン
を出力する。これと同時に、このモニタCPU(40)に非
常時割込み信号(13)が入力される。その後、このモニタ
CPU(40)は速度指令値(35)と、速度フィードバック値
(36)とを比較するが、その差が著しく大きい場合にはこ
のメインCPU(1)にゲート(9)を介して非常停止信号(4
9)を入力してロボットを非常停止させる。このような非
常時割込みの場合には、第4図のフローチャートに示す
ように動作する。すなわち、非常時割込み信号(13)が入
力されると、フローチャートのステップ(101)におい
て一定時間「td」を経過したのち、次のステップ(10
2)において速度指令値(35)が、緊急停止パターン通り
に減速し始めているかどうかをチェックする。そしても
し減速を開始していなければ、ステップ(106)におい
て即時にサーボ「OFF」、ブレーキ「ON」の指令を
ブレーキ・サーボアンプ制御回路(47)に入力し、速度指
令(35)には無関係にサーボを「OFF」してブレーキを
かけ、ロボットの動作を停止させる。Since the robot control device of the present invention is configured as described above, the emergency stop signal (16) is now output by pressing the emergency stop button (not shown) provided on the operation panel (7). Then, this emergency stop signal becomes an emergency interrupt signal (13) via the OR gate (10), and when this is input to the main CPU (1), this main CPU (1) becomes a conventional one. In contrast, the emergency stop pattern is output as shown in the time chart of FIG. 2 while the servo is “ON”. At the same time, the emergency interrupt signal (13) is input to the monitor CPU (40). After that, the monitor CPU (40) displays the speed command value (35) and the speed feedback value.
(36) is compared, but if the difference is extremely large, the emergency stop signal (4) is sent to the main CPU (1) via the gate (9).
Enter 9) to stop the robot in an emergency. In the case of such an emergency interrupt, the operation is performed as shown in the flowchart of FIG. That is, when the emergency interrupt signal (13) is input, after a certain time “td” has elapsed in step (101) of the flowchart, the next step (10
In 2), check whether the speed command value (35) is starting to decelerate according to the emergency stop pattern. If the deceleration is not started, the command for servo “OFF” and brake “ON” is immediately input to the brake / servo amplifier control circuit (47) in step (106) and is unrelated to the speed command (35). The servo is turned off and the brake is applied to stop the robot operation.
なお、フローチャートのステップ(102)において、速
度指令(35)が緊急停止パターン通り減速しておれば、今
度は速度フィードバック(36)をチェックし、速度指令(3
5)に対して一定以下の差で追従しているかどうかをチェ
ックする。そして、もし追従していなければ、次のステ
ップ(106)に進み追従しておればステップ(104)にお
いて速度フィードバック値(36)が「0」であるかどうか
をチェックし、「0」でなければ次のステップ(105)
において一定時間待機したあと、再びステップ(102)
以下を繰り返すようになされている。そして、速度フィ
ードバック値が「0」になれば、次のステップ(107)
に進み、通常のモニタ動作に復帰する。In step (102) of the flowchart, if the speed command (35) is decelerating according to the emergency stop pattern, the speed feedback (36) is checked this time, and the speed command (3
Check to see if you are following 5) with a certain amount of difference. If it is not following, go to the next step (106) and if it is following, check whether the speed feedback value (36) is "0" in step (104). If the next step (105)
After waiting for a certain time at step (102)
The following is repeated. If the speed feedback value becomes "0", the next step (107)
And returns to normal monitor operation.
なお、第2図は非常時割込みが入った時に、緊急停止パ
ターンで正常に停止した例を示すものでありまた、第3
図は何等かの故障が発生してモーター(25)が暴走し始め
た時に、非常時割込みが入った場合の例を示している。
また、上述した非常停止状態からの復帰は、メインCP
U(1)が、モニタCPU(40)からの信号(49)による緊急
停止パターンによって正常に停止したか、あるいはサー
ボ「OFF」によるブレーキによって停止したかを判断
するによって原点復帰動作の要否を判定できるため無駄
な動作を省略することが可能となる。さらに、非常時割
込み入力後の処理をメインCPU(1)、およびサーボC
PU(20)とは別個のモニタCPU(40)が管理するため、
たとえメインCPU(1)、またはサーボCPU(20)の何
れか一方が故障しても、確実にロボットを停止させるこ
とができることはいうまでもない。なお、モニタCPU
(40)は上述したように、正常運転中においても、常時メ
インCPU(1)、およびサーボCPU(20)により正常/
異常のチェックを行なうようになされている。It should be noted that FIG. 2 shows an example of the normal stop in the emergency stop pattern when an emergency interrupt occurs.
The figure shows an example where an emergency interrupt occurs when the motor (25) begins to run away due to some failure.
In addition, the return from the emergency stop state described above
Whether or not U (1) is normally stopped by the emergency stop pattern by the signal (49) from the monitor CPU (40) or stopped by the brake by the servo "OFF" is used to determine whether or not the origin return operation is necessary. Since the determination can be made, useless operations can be omitted. Furthermore, the processing after the emergency interrupt input is processed by the main CPU (1) and the servo C.
Since the monitor CPU (40) separate from the PU (20) manages it,
It goes without saying that even if either the main CPU (1) or the servo CPU (20) fails, the robot can be surely stopped. The monitor CPU
As described above, (40) is normally operated by the main CPU (1) and the servo CPU (20) even during normal operation.
It is designed to check for abnormalities.
以上述べたように、この発明によれば、重大故障発生時
で作業者の非常停止釦による非常停止信号がメインCP
Uに入力された場合に、前記メインCPUがサーボ「O
N」、ブレーキ「OFF」で所定の緊急停止パターンの
減速開始指令をサーボCPUに出力すると共に非常時割
込み信号をモニタCPUに出力し、前記モニタCPUは
非常時割込み信号を受け取っとった時にROMに記憶さ
れているプログラムを実行し、非常時割込み信号を受け
取ってから一定時間経過後に減速開始指令に基づきサー
ボ系をそのまま活かして減速されているか否かを監視
し、減速されず、停止しないと判断したときに、はじめ
てブレーキサーボ制御手段に対してサーボ「OFF」、
ブレーキ「ON」の指令を出力し、ブレーキによる停止
に切り換えるようにしたので、ロボット制御装置の重大
故障発生時で作業者が非常停止釦を押圧した場合におい
て、緊急停止パターンによる停止のときもあり、ブレー
キの停止による停止距離が長くなることの機会が少なく
なり、緊急停止パターンによって正常に停止したか、あ
るいはサーボ「OFF」によるブレーキによって停止し
たかを判断することによって原点復帰の要否を判定でき
るため、ロボットの無駄な原点復帰動作を省略すること
ができるという優れた効果を有する。As described above, according to the present invention, when a serious failure occurs, the emergency stop signal from the operator's emergency stop button is transmitted to the main CP.
When input to U, the main CPU causes the servo "O
When the deceleration start command of a predetermined emergency stop pattern is output to the servo CPU with "N" and the brake "OFF", an emergency interrupt signal is output to the monitor CPU, and the monitor CPU stores the ROM in the ROM when the emergency interrupt signal is received. Execute the stored program, and after a lapse of a certain time after receiving the emergency interrupt signal, monitor whether or not the servo system is being decelerated by utilizing the servo system as it is based on the deceleration start command. When doing, the servo "OFF" for the brake servo control means for the first time,
Since the brake "ON" command is output to switch to the stop by the brake, when the operator presses the emergency stop button when a serious failure of the robot controller occurs, the stop may be due to the emergency stop pattern. , The chance that the stopping distance becomes longer due to the stop of the brake is reduced, and it is judged whether or not the origin return is necessary by judging whether it stopped normally by the emergency stop pattern or stopped by the brake by the servo "OFF". As a result, it is possible to omit an unnecessary return-to-origin operation of the robot.
第1図〜第4図は何れもこの発明の一実施例を示すもの
で、第1図はロボット制御装置のブロック図、第2図お
よび第3図は非常停止の場合の動作を説明するためのタ
イミングチャート、第4図はロボット制御装置の動作を
説明するためのフローチャートである。第5図は従来の
ロボット制御装置を示すブロック図、第6図はその動作
を説明するためのタイミングチャートである。 図において、(1)はメインCPU、(20)はサーボCP
U、(40)はモニタCPU、(41)はROM、(42)はRA
M、(43)はタイマ、(44)はラッチ、(45)はA/D変換器で
ある。なお、図中同一符号は同一または相当部分を示
す。1 to 4 all show an embodiment of the present invention. FIG. 1 is a block diagram of a robot controller, and FIGS. 2 and 3 are for explaining the operation in case of an emergency stop. FIG. 4 is a flow chart for explaining the operation of the robot controller. FIG. 5 is a block diagram showing a conventional robot controller, and FIG. 6 is a timing chart for explaining its operation. In the figure, (1) is the main CPU and (20) is the servo CP.
U, (40) monitor CPU, (41) ROM, (42) RA
M, (43) is a timer, (44) is a latch, and (45) is an A / D converter. The same reference numerals in the drawings indicate the same or corresponding parts.
フロントページの続き (56)参考文献 特開 昭59−81706(JP,A) 特開 昭55−39944(JP,A) 特開 昭59−69296(JP,A) 特開 昭57−75313(JP,A) 特開 昭59−202509(JP,A) 特開 昭56−152005(JP,A) 特開 昭59−216206(JP,A) 実開 昭52−38592(JP,U) 「産業用ロボットの安全管理:その理論 と実際」昭和59年5月16日、中央労働災害 防止協会発行第85頁Continuation of the front page (56) Reference JP-A-59-81706 (JP, A) JP-A-55-39944 (JP, A) JP-A-59-69296 (JP, A) JP-A-57-75313 (JP , A) JP 59-202509 (JP, A) JP 56-152005 (JP, A) JP 59-216206 (JP, A) Actual development Sho 52-38592 (JP, U) "Industrial Robot Safety Management: Its Theory and Practice "May 16, 1984, Central Industrial Accident Prevention Association, page 85
Claims (1)
せるブレーキを制御するブレーキサーボ制御手段を有す
るサーボCPUと、 重大故障発生時に作業者の非常停止釦による非常停止信
号が入力された前記メインCPUがサーボ「OFF」、
ブレーキ「ON」で所定の緊急停止パターンの減速開始
指令を前記サーボCPUに出力すると共に非常時割込み
信号をモニタCPUに出力した場合に、前記非常時割込
み信号を受け取ってから一定時間経過後に減速開始指令
に基づいて減速されているか否かを監視し、減速されて
いないときにはサーボ「OFF」、ブレーキ「ON」の
指令を前記ブレーキサーボ制御手段に出力するプログラ
ムを記憶したROMと、 前記サーボCPUのサーボ制御を監視し、前記メインC
PUが出力した非常時割込み信号を受け取ったとき、前
記ROMのプログラムを実行するモニタCPUと、 を備えたことを特徴とするロボット制御装置。Claims: 1. A main CPU that controls the robot as a whole, a servo CPU that has brake servo control means that servo-controls the robot and controls a brake that makes an emergency stop of the servo when an abnormality occurs, and an emergency stop of an operator when a serious failure occurs. The main CPU, to which the emergency stop signal from the button is input, turns off the servo.
When the brake "ON" outputs a deceleration start command with a predetermined emergency stop pattern to the servo CPU and also outputs an emergency interrupt signal to the monitor CPU, deceleration starts after a lapse of a certain time after receiving the emergency interrupt signal. A ROM storing a program for monitoring whether or not the vehicle is decelerated based on the command, and outputting a command for servo "OFF" and brake "ON" to the brake servo control means when the vehicle is not decelerated, and the servo CPU Servo control is monitored and the main C
A robot controller comprising: a monitor CPU that executes a program in the ROM when the emergency interrupt signal output from the PU is received.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60008757A JPH0610768B2 (en) | 1985-01-21 | 1985-01-21 | Robot controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60008757A JPH0610768B2 (en) | 1985-01-21 | 1985-01-21 | Robot controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61168018A JPS61168018A (en) | 1986-07-29 |
| JPH0610768B2 true JPH0610768B2 (en) | 1994-02-09 |
Family
ID=11701797
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60008757A Expired - Lifetime JPH0610768B2 (en) | 1985-01-21 | 1985-01-21 | Robot controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0610768B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2608161B2 (en) * | 1990-03-29 | 1997-05-07 | ファナック株式会社 | Industrial robot stop control method |
| EP1247622B1 (en) * | 1997-12-06 | 2007-02-28 | Elan Schaltelemente GmbH & Co. KG | Method for monitoring a technical installation with enhanced safety requests , in particular a manipulator device, as well as a control and a monitoring device |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5539944A (en) * | 1978-09-12 | 1980-03-21 | Mitsubishi Heavy Ind Ltd | Control device of industrial robot |
| US4514814A (en) * | 1982-09-07 | 1985-04-30 | General Electric Company | Multi-processor axis control |
-
1985
- 1985-01-21 JP JP60008757A patent/JPH0610768B2/en not_active Expired - Lifetime
Non-Patent Citations (1)
| Title |
|---|
| 「産業用ロボットの安全管理:その理論と実際」昭和59年5月16日、中央労働災害防止協会発行第85頁 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61168018A (en) | 1986-07-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2812582B2 (en) | Industrial robot controller | |
| JPH0966490A (en) | Industrial robot and its control device | |
| US7391178B2 (en) | Robot controller and robot system | |
| EP0464211B1 (en) | Method of detecting collision using observer | |
| US6188194B1 (en) | Controller for automatic machine | |
| EP0428950B1 (en) | Motor driving control apparatus | |
| JPH0610768B2 (en) | Robot controller | |
| JPS63245389A (en) | Robot control method | |
| JPH01168420A (en) | Detector for abnormality in driving system of injection molding machine | |
| EP0608428B1 (en) | Circuit for cutting power supply to robot | |
| JP2000181521A (en) | Controller for automatic machine | |
| JP2633828B2 (en) | Elevator end floor deceleration monitoring device | |
| JP2906773B2 (en) | Industrial robot controller | |
| KR0155722B1 (en) | Robot system that can prepare for power cut off | |
| JPS61206002A (en) | Robot safety equipment | |
| JP3371198B2 (en) | Device control method and device | |
| US6611121B2 (en) | Numerical control and method of automatically freeing an axis after running over safe end positions | |
| JP3743133B2 (en) | Manipulator control method | |
| JPH04193449A (en) | Control method for rotation of manual pulse generator | |
| JPS62166446A (en) | Runaway supervisory equipment for computer for controlling | |
| JPH01174285A (en) | Servomotor control device having internal information displaying function | |
| KR100213636B1 (en) | Motor drive control device and motor drive control method | |
| JPH08323655A (en) | Master-slave manipulator controller | |
| JPH069003B2 (en) | Security device in robot controller | |
| JPH1020904A (en) | Control state monitor device |