JP2016124078A - Emergency stop method of robot, and control unit of robot - Google Patents

Emergency stop method of robot, and control unit of robot Download PDF

Info

Publication number
JP2016124078A
JP2016124078A JP2015000925A JP2015000925A JP2016124078A JP 2016124078 A JP2016124078 A JP 2016124078A JP 2015000925 A JP2015000925 A JP 2015000925A JP 2015000925 A JP2015000925 A JP 2015000925A JP 2016124078 A JP2016124078 A JP 2016124078A
Authority
JP
Japan
Prior art keywords
motor
robot
current
angle
emergency stop
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.)
Granted
Application number
JP2015000925A
Other languages
Japanese (ja)
Other versions
JP6447141B2 (en
Inventor
大介 川瀬
Daisuke Kawase
大介 川瀬
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.)
Denso Wave Inc
Original Assignee
Denso Wave Inc
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 Denso Wave Inc filed Critical Denso Wave Inc
Priority to JP2015000925A priority Critical patent/JP6447141B2/en
Publication of JP2016124078A publication Critical patent/JP2016124078A/en
Application granted granted Critical
Publication of JP6447141B2 publication Critical patent/JP6447141B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Manipulator (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an emergency suspension method of a robot and a control unit of a robot capable of swiftly and smoothly performing stop control on a robot, in which a current of a motor may be restricted during normal operation, at the time of emergency stop.SOLUTION: An emergency stop method of a robot in accordance with an embodiment includes a lifting step of lifting a restriction on a current of a motor 4 in a robot 3, in which the current of the motor 4 may be restricted during normal operation, at the time of performing stop control, a correction step of correcting a command angle, which is applied to the motor 4 in order to perform stop control, so that the continuity of the operating state of the motor 4 can be sustained over a period before and after the restriction on the current is lifted, and a stop step of performing stop control using the command angle corrected at the correction step.SELECTED DRAWING: Figure 3

Description

本発明は、ロボットの非常停止方法、ロボットの制御装置に関する。   The present invention relates to a robot emergency stop method and a robot control apparatus.

産業用のロボットは、何らかの異常が発生した場合等にロボットを緊急に停止させる非停止機能を備えている。このような非常停止機能を実行する際、ロボットの制御装置は、いきなり電源を切るわけではなく、過剰な電流が流れないように、且つスムーズに停止させるために、その挙動を制御しつつ停止させる停止制御を行っている(例えば、特許文献1参照)。   Industrial robots have a non-stop function for urgently stopping a robot when some abnormality occurs. When executing such an emergency stop function, the robot control device does not suddenly turn off the power, but stops it while controlling its behavior so that excessive current does not flow and smoothly stops. Stop control is performed (for example, refer to Patent Document 1).

特開平1−270779号公報Japanese Patent Laid-Open No. 1-270779

ところで、産業用のロボットの場合、ロボットの動作中にワークに過剰な力が加わらないようにするため、通常動作時においてモータの電流に制限をかけることがある。このような電流に制限がかけられている状態では、指令値通りの動作をするためには電流が足らない状況が想定され、そのような状況では、モータは、指令値から若干遅れて動作することになる。つまり、モータの電流に制限をかけている場合には、指令値として与えられた角度である指令角度と、モータの実際の角度である実角度とが乖離することがある。   By the way, in the case of an industrial robot, in order to prevent an excessive force from being applied to the workpiece during the operation of the robot, the motor current may be limited during normal operation. In such a state where current is limited, it is assumed that there is not enough current to operate according to the command value. In such a situation, the motor operates slightly behind the command value. It will be. That is, when the motor current is limited, the command angle that is an angle given as the command value may deviate from the actual angle that is the actual motor angle.

そして、指令角度と実角度とが乖離した場合、モータは、指令角度に到達しようと動作する。このため、停止制御を行ったにも関わらず、モータがそれまでの動作を継続しようとして、停止制御で意図したとおりの動作をしないおそれがある。   When the command angle deviates from the actual angle, the motor operates to reach the command angle. For this reason, there is a possibility that the motor does not operate as intended by the stop control in an attempt to continue the operation so far, even though the stop control is performed.

また、例えば複数のモータを有するロボットの場合には、指令角度と実角度とが乖離していないモータは停止制御が開始されると速やかに減速を開始する一方、指令角度と実角度とが乖離しているモータは、停止制御が開始されても動作し続けるおそれがある。   For example, in the case of a robot having a plurality of motors, a motor whose command angle does not deviate from the actual angle starts to decelerate quickly when stop control is started, while the command angle and real angle deviate. The motor being operated may continue to operate even when the stop control is started.

さらに、電流に制限をかけている状態では、非常停止する際の減速に必要となる電流を確保できなくなる場合も想定され、その場合には、モータが停止するまでの減速時間が長くなり、モータによって駆動されるアーム等が移動する距離も長くなる。   In addition, when the current is limited, it may be impossible to secure the current required for deceleration during emergency stop. In that case, the deceleration time until the motor stops increases, and the motor The distance that the arm or the like driven by the movement moves also becomes long.

このように、通常動作時に電流に制限がかけられているモータは、非常停止時に即座に減速つまり停止動作に移行することができない可能性があり、その場合には、ロボットが停止制御の意図とは異なる挙動を示してアームに振動が生じたり、減速時間が長くなったことで想定した停止位置で止まらずにワークや周辺装置等に接触したりする等の事態を招くおそれがある。すなわち、非常停止時に、ロボットに対する停止制御を速やか且つスムーズに行えなくなるおそれがある。   In this way, a motor that is limited in current during normal operation may not be able to immediately decelerate, that is, shift to stop operation during an emergency stop. May show different behaviors and may cause vibrations on the arm or contact with a workpiece, peripheral devices, etc. without stopping at the assumed stop position due to a long deceleration time. That is, there is a possibility that stop control for the robot cannot be performed promptly and smoothly during an emergency stop.

本発明は、上記事情に鑑みてなされたものであり、その目的は、通常動作時にモータの電流に制限がかけられることがあるロボットにおいて、非常停止時における停止制御を速やかに且つスムーズに行うことができるロボットの非常停止方法、ロボットの制御装置を提供することにある。   The present invention has been made in view of the above circumstances, and an object thereof is to quickly and smoothly perform stop control at the time of emergency stop in a robot in which the motor current may be limited during normal operation. It is an object to provide a robot emergency stop method and a robot control device.

請求項1記載のロボットの非常停止方法の発明では、通常動作時にモータの電流に制限をかけることがあるロボットにおいて、停止制御を行う際、モータに対する電流の制限を解除する解除工程と、停止制御を行うためにモータに与えられる指令角度を、電流の制限を解除する前後においてモータの動作状態の連続性が保たれるように補正する補正工程と、補正工程で補正した指令角度を用いて停止制御を行う停止工程と、を実行する。   In the robot emergency stop method according to the first aspect of the present invention, in a robot that may limit the motor current during normal operation, when performing stop control, a release step of releasing the current limit on the motor, and the stop control To correct the command angle given to the motor in order to maintain the continuity of the motor operating state before and after releasing the current limit, and stop using the command angle corrected in the correction step And a stop step for performing the control.

この場合、通常動作時に電流に制限がかけられているモータは、非常停止時にはその制限が解除される。これにより、停止制御に必要な電流を確保することができ、減速時間が長くなることを防止できる。したがって、速やかにロボットを停止させることができ、想定した停止位置で止まらずにワークや周辺装置等に接触したりすること等を防止できる。   In this case, the motor whose current is limited during normal operation is released during emergency stop. As a result, a current required for stop control can be secured, and an increase in deceleration time can be prevented. Therefore, the robot can be quickly stopped, and it is possible to prevent contact with a workpiece or a peripheral device without stopping at the assumed stop position.

また、非常停止時に停止制御を行うためにモータに与えられる指令角度は、モータの動作状態の連続性が保たれるように補正される。このため、ロボットは、停止制御が開始される前の動作状態(より厳密には、非常停止操作等が行われる直前の電流制限がかけられている状態)から、停止制御を開始するための動作状態(電流制限が解除された状態)に移行した場合において、電流量の上昇によって動作量が急激に増えたとしても、それによる振動発生は抑制され、非常停止時において、実際に停止制御が完了するまでの時間を短縮することができる。なお、ロボットの停止とは、目標位置まで手先を移動させる事及び、その位置で静止する、すなわち振動しないことまでを達成して、初めて停止となる。   Further, the command angle given to the motor to perform the stop control at the time of emergency stop is corrected so that the continuity of the operation state of the motor is maintained. For this reason, the robot operates to start the stop control from the operation state before the stop control is started (more strictly, a state in which a current limit is applied immediately before the emergency stop operation or the like is performed). Even if the amount of operation increases suddenly due to the increase in the amount of current in the state (the state where the current limit is released), the occurrence of vibrations is suppressed and the actual stop control is completed during an emergency stop. The time until it can be shortened. The stop of the robot is not stopped until the hand is moved to the target position and the robot stops at that position, that is, does not vibrate.

そして、補正した指令角度を初期値として停止制御を開始することから、すなわち、モータの動作状態の連続性が保たれた状態で停止制御を開始することから、停止制御を行った際にロボットの姿勢が急激に変動したりすることがない。これにより、アームに振動が生じたりすることを防止できる。また、補正した指令角度を初期値として停止制御が開始されることから、停止制御中のロボットの挙動を意図した通りに制御することができる。   Then, starting the stop control with the corrected command angle as an initial value, that is, starting the stop control in a state where the continuity of the motor operation state is maintained. The posture does not change suddenly. This can prevent the arm from vibrating. Further, since the stop control is started with the corrected command angle as an initial value, the behavior of the robot during the stop control can be controlled as intended.

これらにより、通常動作時にモータの電流に制限がかけられることがあるロボットにおいて、非常停止時における停止制御を速やかに且つスムーズに行うことができる。
請求項2に係る発明は、補正工程では、電流の制限を解除する前のモータの実際の角度である実角度を、停止制御を行うためにモータに与えられる指令角度の初期値に設定することで、電流の制限を解除する前後において角度の連続性が保たれるように指令角度を補正する。
Thus, in a robot that may limit the motor current during normal operation, stop control during an emergency stop can be performed quickly and smoothly.
In the invention according to claim 2, in the correction step, the actual angle, which is the actual angle of the motor before the current restriction is released, is set to the initial value of the command angle given to the motor in order to perform stop control. Thus, the command angle is corrected so that the continuity of the angle is maintained before and after the restriction of the current is released.

指令角度を補正しない場合には、仮に停止制御を行う直前の実角度と停止制御をするために与えられた指令角度とが異なっていると、モータは、与えられた指令角度に到達しようと動作する。すなわち、実際に停止制御を開始するまでの時間が長くなる。これに対して、本発明のように指令角度を補正することにより、モータは、停止制御が開始されると、現在の実角度から減速を開始する。これにより、停止制御が開始されるまでの時間を短縮することができ、ワークや周辺装置等に接触したりすること等を防止できる。   When the command angle is not corrected, if the actual angle immediately before the stop control is different from the command angle given for the stop control, the motor will try to reach the given command angle. To do. That is, it takes a long time to actually start the stop control. On the other hand, by correcting the command angle as in the present invention, the motor starts decelerating from the current actual angle when stop control is started. Thereby, time until stop control is started can be shortened, and it can prevent contacting with a work, a peripheral device, etc.

請求項3に係る発明は、補正工程では、モータの実際の角度である実角度に基づいて電流の制限を解除する前のモータの速度を求め、求めた速度となる新たな指令角度を算出し、算出した新たな指令角度を初期値に設定することで、電流の制限を解除する前後において速度の連続性が保たれるように指令角度を補正する。   In the invention according to claim 3, in the correction step, the speed of the motor before canceling the current limit is obtained based on the actual angle that is the actual angle of the motor, and a new command angle that is the obtained speed is calculated. By setting the calculated new command angle to the initial value, the command angle is corrected so that the continuity of the speed is maintained before and after the restriction of the current is released.

これにより、電流の制限を解除する前後において、つまり、停止制御を開始する前後において、モータの速度が変化することが防止される。したがって、電流の制限を解除する前後においてモータの挙動が大きく変化することが防止され、アームに振動が生じたりすることを防止できる。   This prevents the speed of the motor from changing before and after releasing the current limit, that is, before and after starting the stop control. Therefore, the behavior of the motor is prevented from changing greatly before and after the current restriction is released, and the arm can be prevented from vibrating.

請求項4に係る発明は、補正工程では、モータの実際の角度である実角度に基づいて電流の制限を解除する前のモータのトルクを求め、求めたトルクとなる新たな指令角度を算出し、算出した新たな指令角度を初期値に設定することで、電流の制限を解除する前後においてトルクの連続性が保たれるように指令角度を補正する。   In the invention according to claim 4, in the correction step, the torque of the motor before canceling the current limit is obtained based on the actual angle that is the actual angle of the motor, and a new command angle that becomes the obtained torque is calculated. By setting the calculated new command angle as an initial value, the command angle is corrected so that the continuity of torque is maintained before and after the limitation of current is released.

これにより、電流の制限を解除する前後において、つまり、停止制御を開始する前後において、モータのトルクが変化することが防止される。したがって、電流の制限を解除する前後においてモータの挙動が大きく変化することが防止され、アームに振動が生じたりすることを防止できる。   As a result, the torque of the motor is prevented from changing before and after releasing the current limit, that is, before and after starting the stop control. Therefore, the behavior of the motor is prevented from changing greatly before and after the current restriction is released, and the arm can be prevented from vibrating.

請求項5にかかる発明は、補正工程では、電流の制限を解除する前後においてロボットのトルクの連続性が保たれるように、積分器の内部状態も補正する。
上記した請求項1から4の発明の場合、停止制御を開始する際の動作状態の連続性が保たれるものの、制御系の内部状態が大きく変化していると、停止制御を開始した後に想定外の動作をする可能性がある。そこで、制御系の積分器の内部状態の連続性が保たれるようにすることにより、停止制御を開始した後においても、ロボットを意図したとおりに制御できるようになる。
In the invention according to claim 5, in the correction step, the internal state of the integrator is also corrected so that the continuity of the torque of the robot is maintained before and after the restriction on the current is released.
In the case of the first to fourth aspects of the present invention, the continuity of the operation state at the time of starting the stop control is maintained, but it is assumed that the internal state of the control system has changed greatly after the stop control is started. May move outside. Therefore, by maintaining the continuity of the internal state of the integrator of the control system, the robot can be controlled as intended even after the stop control is started.

請求項6のロボットの制御装置の発明は、上記した請求項1から5のいずれか一項記載のロボットの非常停止方法における各工程を実行する。これにより、請求項1から5の発明と同様に、通常動作時にモータの電流に制限がかけられることがあるロボットにおいて、非常停止時における停止制御を速やかに且つスムーズに行うことができる。   According to a sixth aspect of the present invention, there is provided a robot control apparatus that executes the steps of the robot emergency stop method according to any one of the first to fifth aspects. Thus, similarly to the first to fifth aspects of the invention, in a robot that may limit the motor current during normal operation, stop control during an emergency stop can be performed quickly and smoothly.

一実施形態のロボットシステムの構成を模式的に示す図The figure which shows the structure of the robot system of one Embodiment typically. 制御装置の機能ブロックを模式的に示す図The figure which shows the functional block of the control device typically 制御装置による非常停止処理の流れを示す図Diagram showing the flow of emergency stop processing by the control device

以下、本発明の複数の実施形態について図面を参照しながら説明する。なお、各実施形態において実質的に共通する部位には同一の符号を付し、その詳細な説明は省略する。
(第1実施形態)
以下、本発明の第1実施形態について、図1から図3を参照しながら説明する。
Hereinafter, a plurality of embodiments of the present invention will be described with reference to the drawings. In addition, the same code | symbol is attached | subjected to the site | part substantially common in each embodiment, and the detailed description is abbreviate | omitted.
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described with reference to FIGS. 1 to 3.

図1に示すように、本実施形態のロボットシステム1は、制御装置2と、この制御装置2によって制御されるロボット3とを備えている。本実施形態では、ロボット3として垂直多関節型ロボット想定しており、ロボットには複数のモータ4が設けられている。各モータ4は、ロボット3の関節部等に設けられてアームを駆動する。   As shown in FIG. 1, the robot system 1 of this embodiment includes a control device 2 and a robot 3 controlled by the control device 2. In this embodiment, a vertical articulated robot is assumed as the robot 3, and a plurality of motors 4 are provided in the robot. Each motor 4 is provided at a joint portion or the like of the robot 3 and drives an arm.

制御装置2は、図示しないCPUやROMおよびRAM等を有するマイクロコンピュータ(制御手段に相当する)で構成されており、ROM等に記憶されているコンピュータプログラムにしたがって、ロボットシステム1を制御する。   The control device 2 is composed of a microcomputer (corresponding to control means) having a CPU, ROM, RAM, and the like (not shown), and controls the robot system 1 according to a computer program stored in the ROM.

この制御装置2は、図2に示すように指令値生成部10(指令値生成手段)および制御信号生成部11(制御信号生成手段)を有している。これら指令値生成部10および制御信号生成部11は、制御装置2の制御手段で実行されるコンピュータプログラムによって、ソフトウェア的に実現されている。   As shown in FIG. 2, the control device 2 includes a command value generation unit 10 (command value generation means) and a control signal generation unit 11 (control signal generation means). The command value generation unit 10 and the control signal generation unit 11 are realized in software by a computer program executed by the control unit of the control device 2.

指令値生成部10は、ロボット3の姿勢を制御するために、モータ4の角度(回転角度)や速度(回転速度)を指令する指令値を生成する。本実施形態の場合、指令値は、モータ4の角度を指令する角度指令である。   The command value generation unit 10 generates a command value for instructing the angle (rotation angle) and speed (rotation speed) of the motor 4 in order to control the posture of the robot 3. In the case of this embodiment, the command value is an angle command for commanding the angle of the motor 4.

制御信号生成部11は、指令値生成部10で生成された指令値に基づいて、モータ4を駆動する駆動回路12(駆動手段)に与える制御信号を生成する。なお、ロボット3を動作させるためのモータ4の制御は従来と同様の手法で行うことができるためここでは詳細な説明は省略するが、制御信号生成部11は、速度制御系および位置制御系の多重構造の制御系となっており、モータ4側に供給される電流を検出するシャント抵抗等の電流検出手段13で電流を検出しつつ、モータ4の回転角度を検出するエンコーダ等の角度検出手段14で検出したモータ4の速度・角度に基づいて、モータ4を制御するための制御信号を生成する。角度検出手段14は、検出したモータ4の角度の変化に基づいてモータ4の速度を検出する速度検出手段としても機能する。   Based on the command value generated by the command value generation unit 10, the control signal generation unit 11 generates a control signal to be given to the drive circuit 12 (drive means) that drives the motor 4. Note that the control of the motor 4 for operating the robot 3 can be performed in the same manner as in the prior art, and a detailed description thereof will be omitted here, but the control signal generator 11 includes a speed control system and a position control system. Angle detection means such as an encoder that detects the rotation angle of the motor 4 while detecting the current by the current detection means 13 such as a shunt resistor that detects the current supplied to the motor 4 side, which is a control system having a multiple structure. Based on the speed / angle of the motor 4 detected at 14, a control signal for controlling the motor 4 is generated. The angle detection unit 14 also functions as a speed detection unit that detects the speed of the motor 4 based on the detected change in the angle of the motor 4.

また、制御信号生成部11は、本発明に関連して、制限部15(制限手段)および補正部16(補正手段)を備えている。制限部15は、モータ4側に供給される電流に制限をかける。ここで、モータ4のトルクは電流に比例するため、電流を制限することはトルクを制限することと同意義である。この制限部15は、ロボット3の動作中にワーク等に過剰な力が加わることを防止するために、電流に制限をかけることが必要とされたモータ4に対して、電流に制限をかける。このため、上記したように複数のモータ4を備えているロボット3の場合には、その動作中に電流に制限かけられるモータ4と、制限がかけられないモータ4とが混在することがある。   Further, the control signal generation unit 11 includes a limiting unit 15 (limiting unit) and a correcting unit 16 (correcting unit) in relation to the present invention. The limiter 15 limits the current supplied to the motor 4 side. Here, since the torque of the motor 4 is proportional to the current, limiting the current is equivalent to limiting the torque. The limiter 15 limits the current to the motor 4 that is required to limit the current in order to prevent an excessive force from being applied to the workpiece or the like during the operation of the robot 3. For this reason, in the case of the robot 3 including the plurality of motors 4 as described above, the motor 4 that is limited to the current during the operation and the motor 4 that is not limited may be mixed.

また、制限部15は、詳細については後述するが、例えば非常停止スイッチが操作された場合や、上位のシステムからの非常停止の指令を受信した場合等、ロボット3を緊急に停止する必要がある非常停止時には、モータ4の電流の制限を解除する。このため、非常停止時には、モータ4を通常動作時よりも大きな電流で動作させることが可能となる。なお、電流が大きくなれば、上記したようにモータ4が出力可能なトルクも増加する。   Although the details will be described later, the restriction unit 15 needs to stop the robot 3 urgently, for example, when an emergency stop switch is operated or when an emergency stop command is received from a host system. At the time of emergency stop, the current limit of the motor 4 is released. For this reason, during an emergency stop, the motor 4 can be operated with a larger current than during normal operation. As the current increases, the torque that the motor 4 can output increases as described above.

補正部16は、詳細については後述するが、非常停止時に電流の制限が解除されたモータ4に対する指令角度を補正する。
次に、上記した構成の作用について説明する。
Although the details will be described later, the correction unit 16 corrects the command angle for the motor 4 for which the current restriction has been released at the time of an emergency stop.
Next, the operation of the above configuration will be described.

ロボット3は、上記したようにモータ4の電流に制限をかけることがあり、その場合には、前述のように、指令角度と実角度とが乖離することがある。そのため、指令角度と実角度とが乖離している状態で非常停止操作が行われると、電流に制限がかけられているモータ4は、指令角度に到達しようとして動作し続ける可能性がある。   The robot 3 may limit the current of the motor 4 as described above, and in that case, the command angle and the actual angle may deviate as described above. Therefore, if an emergency stop operation is performed in a state where the command angle and the actual angle are deviated, the motor 4 that is limited in current may continue to operate in an attempt to reach the command angle.

このとき、複数のモータ4を有する場合には、電流に制限がかけられていないモータ4は速やかに停止する一方、電流に制限がかけられているモータ4は動作し続ける可能性がある。また、電流に制限をかけている場合には、停止制御において減速するために必要な電流を確保できないおそれもあり、その場合には、モータ4の減速時間が長くなり、減速中にアーム等が移動する距離も長くなる。   At this time, when a plurality of motors 4 are provided, the motor 4 whose current is not limited may stop immediately, while the motor 4 whose current is limited may continue to operate. Further, when the current is limited, there is a possibility that the current necessary for decelerating in the stop control cannot be secured. In this case, the deceleration time of the motor 4 becomes long, and the arm etc. The distance traveled also becomes longer.

その結果、アームがワークに接触したり、ロボット3が意図しない姿勢となって周辺装置等に接触したりするなど、非常停止時に問題が発生するおそれがある。また、ロボット3が周辺装置等に接触した場合には、キャリブレーション作業等を行う必要があるなど、非常停止時だけでなく、非常停止後にも影響を及ぼすおそれがある。かといって、単純に電流の制限を解除してしまうと、電流が急激に変化する可能性があり、それによってモータ4の挙動も変動してアームが振動するなどのおそれがある。   As a result, there is a possibility that a problem may occur at the time of an emergency stop, such as the arm touching a workpiece or the robot 3 being in an unintended posture and touching a peripheral device or the like. Further, when the robot 3 comes into contact with a peripheral device or the like, it may be necessary to perform a calibration operation or the like, which may affect not only during an emergency stop but also after an emergency stop. However, if the current limit is simply released, the current may change abruptly, and the behavior of the motor 4 may also fluctuate and the arm may vibrate.

そこで、制御装置2は、以下に説明するように、指令角度をモータ4の実角度に基づいて補正することによって、通常動作時にモータ4の電流に制限がかけられることがあるロボット3において、非常停止時における停止制御を速やかに、且つスムーズに行うようにしている。   Therefore, as described below, the control device 2 corrects the command angle based on the actual angle of the motor 4 so that the current of the motor 4 may be limited during normal operation. Stop control at the time of stop is performed quickly and smoothly.

制御装置2は、非常停止スイッチが操作された場合や非常停止の指令を受信した場合などの非常停止時に、図3に示す非常停止処理を実行する。この非常停止処理では、制御装置2は、まずモータ4の実角度を取得し(S1)、取得した実角度に基づいて、指令角度を補正する(S2)。このステップS2の処理が補正工程に相当する。   The control device 2 executes an emergency stop process shown in FIG. 3 at the time of an emergency stop such as when an emergency stop switch is operated or an emergency stop command is received. In this emergency stop process, the control device 2 first acquires the actual angle of the motor 4 (S1), and corrects the command angle based on the acquired actual angle (S2). The process in step S2 corresponds to a correction process.

さて、制御装置2は、モータ4が指令値通りの動作をすることを前提としていることから、停止制御で減速を開始する際の指令角度の初期値は、通常であれば、非常停止前に指令されている指令角度がそのまま設定されることになる。つまり、非常停止前の指令角度がαであったとすると、指令角度の初期値もαに設定される。   Since the control device 2 is based on the premise that the motor 4 operates in accordance with the command value, the initial value of the command angle when starting deceleration by the stop control is normal before the emergency stop. The commanded command angle is set as it is. That is, if the command angle before the emergency stop is α, the initial value of the command angle is also set to α.

しかし、上記したように電流に制限をかけているモータ4の場合には、非常停止前の指令角度がαであったとしても、実角度がαから乖離した例えばβになっている可能性がある。この場合、指令角度の初期値としてαを設定してしまうと、モータ4が実角度(β)から指令角度の初期値(α)まで動作しようとすることから、モータ4を速やかに停止させたいにも関わらず、意図に反してモータ4が余分な動作をする可能性がある。   However, in the case of the motor 4 that limits the current as described above, even if the command angle before the emergency stop is α, the actual angle may be deviated from α, for example, β. is there. In this case, if α is set as the initial value of the command angle, the motor 4 tries to operate from the actual angle (β) to the initial value (α) of the command angle. Nevertheless, there is a possibility that the motor 4 performs an extra operation against the intention.

そのため、本実施形態の制御装置2は、指令角度の初期値をモータ4の実角度で補正する。より具体的には、制御装置2は、モータ4の実角度を指令角度の初期値に設定することで、指令角度を補正する。   Therefore, the control device 2 of the present embodiment corrects the initial value of the command angle with the actual angle of the motor 4. More specifically, the control device 2 corrects the command angle by setting the actual angle of the motor 4 to the initial value of the command angle.

指令角度を補正すると、制御装置2は、電流の制限を解除し(S3)、補正した指令角度に基づいて停止制御を行う(S4)。このステップS4では、制御装置2は、補正した指令角度、すなわち、本実施形態では非常停止する直前の実際のモータ4の角度から、停止制御を開始する。このため、非常停止の前後において、モータ4は、その角度が変更されること無く、停止制御による減速を開始することになる。このステップS3の処理が解除工程に相当し、ステップS4の処理が停止工程に相当する。   When the command angle is corrected, the control device 2 releases the current limitation (S3), and performs stop control based on the corrected command angle (S4). In step S4, the control device 2 starts the stop control from the corrected command angle, that is, the actual angle of the motor 4 immediately before the emergency stop in the present embodiment. For this reason, before and after the emergency stop, the motor 4 starts deceleration by the stop control without changing its angle. The process in step S3 corresponds to a release process, and the process in step S4 corresponds to a stop process.

ステップS3では、電流の制限が解除されることから、より多くの電流をモータ4が利用することができるようになり、ステップS4の停止工程において、電流つまりモータ4のトルクが不足することが防止される。そして、ステップS4の停止工程では、停止制御を開始する際の指令角度の初期値とモータ4の実角度とが一致した状態で停止制御が開始される。これにより、モータ4が上記したような余分な動作をすることが防止され、最大限速やかに減速を開始することが可能となる。さらに、ステップS4では停止制御つまりロボット3の挙動を制御しつつ停止させる制御を行っていることから、スムーズに減速させることが可能となる。   In step S3, the current restriction is released, so that more current can be used by the motor 4, and current, that is, torque of the motor 4 is prevented from being insufficient in the stopping process of step S4. Is done. In the stop step of step S4, the stop control is started in a state where the initial value of the command angle when starting the stop control and the actual angle of the motor 4 coincide. As a result, the motor 4 is prevented from performing an extra operation as described above, and the deceleration can be started as quickly as possible. Furthermore, in step S4, stop control, that is, control for stopping while controlling the behavior of the robot 3, is performed, so that the vehicle can be decelerated smoothly.

以上説明した実施形態によれば、次のような効果を得ることができる。
制御装置2は、非常停止時に、停止制御を行うためにモータ4に与えられる指令角度を、電流の制限を解除する前後においてモータ4の動作状態の連続性が保たれるように補正する補正工程(S2)と、モータ4に対する電流の制限を解除する解除工程(S3)と、補正工程で補正した指令角度を初期値として停止制御を開始する停止工程(S4)と、を含む停止制御処理を実行する非常停止方法を採用している。このような非常停止方法を採用することにより、停止制御を行う際には、モータ4の電流の制限が解除されるため、より多くの電流をモータ4で利用することが可能となる。これにより、減速時に電流が不足すること(トルクが不足すること)が抑制される。そしてしたがって、停止制御に必要な電流を確保することができ、減速時間が長くなることを防止できる。
According to the embodiment described above, the following effects can be obtained.
The control device 2 corrects the command angle given to the motor 4 to perform stop control at the time of emergency stop so that the continuity of the operation state of the motor 4 is maintained before and after releasing the current restriction. A stop control process including (S2), a release step (S3) for releasing the current restriction on the motor 4, and a stop step (S4) for starting stop control with the command angle corrected in the correction step as an initial value. The emergency stop method to be executed is adopted. By adopting such an emergency stop method, when the stop control is performed, the current limit of the motor 4 is released, so that a larger amount of current can be used by the motor 4. Thereby, it is suppressed that the current is insufficient (torque is insufficient) during deceleration. Therefore, it is possible to secure a current necessary for the stop control and prevent the deceleration time from becoming long.

また、電流の制限を解除することから、複数のモータ4を有し、通常の動作時に電流に制限がかけられていないモータ4が存在する場合であっても、通常の動作時に電流に制限がかけられているモータ4だけが動作し続けることが防止される。さらに、通常の動作時には電流が制限されて指令角度と実角度とが乖離する可能性がある場合であっても、非常停止時には指令角度の初期値を実角度に補正した状態で停止制御を開始するため、速やかに減速を開始することができ、減速時間が長くなることを防止できる。   Further, since the restriction on the current is released, even if there is a motor 4 that has a plurality of motors 4 and the current is not restricted during normal operation, the current is restricted during normal operation. Only the applied motor 4 is prevented from continuing to operate. Furthermore, even if the current is limited during normal operation and the command angle may deviate from the actual angle, stop control is started with the initial value of the command angle corrected to the actual angle during an emergency stop. Therefore, deceleration can be started quickly, and the deceleration time can be prevented from becoming longer.

また、非常停止時に停止制御を行うためにモータ4に与えられる指令角度は、モータ4の動作状態の連続性が保たれるように補正される。本実施形態の場合、補正工程では、電流の制限を解除する前のモータ4の実際の角度である実角度を、停止制御を行うためにモータ4に与えられる指令角度の初期値に設定する。これにより、モータ4は、停止制御が開始されると現在の実角度から減速を開始するため、停止制御が開始されるまでの時間を短縮することができる。   In addition, the command angle given to the motor 4 to perform stop control at the time of emergency stop is corrected so that the continuity of the operation state of the motor 4 is maintained. In the case of the present embodiment, in the correction step, the actual angle that is the actual angle of the motor 4 before releasing the current limit is set to the initial value of the command angle given to the motor 4 in order to perform stop control. Thus, since the motor 4 starts decelerating from the current actual angle when the stop control is started, the time until the stop control is started can be shortened.

そして、補正した指令角度を初期値として停止制御を開始することから、すなわち、モータ4の動作状態の連続性が保たれた状態で停止制御を開始することから、停止制御を行った際にロボットの姿勢が急激に変動したりすることがない。これにより、アームに振動が生じたりすることを防止できるとともに、補正した指令角度を初期値として停止制御が開始されることから、停止制御中のロボット3の挙動を意図した通りに制御することができる。   Since the stop control is started with the corrected command angle as an initial value, that is, the stop control is started in a state where the continuity of the operation state of the motor 4 is maintained, the robot when the stop control is performed. The posture does not change suddenly. As a result, it is possible to prevent the arm from vibrating, and the stop control is started with the corrected command angle as an initial value. Therefore, the behavior of the robot 3 during the stop control can be controlled as intended. it can.

これらにより、停止制御を開始する際にモータ4が上記したような余分な動作をしたり、アームが振動したりすることを防止できる。また、モータ4によって駆動されるアーム等が移動してしまう制動距離が長くなることが防止され、速やかにロボット3を停止させることができる。また、アームの振動が抑制されていることから、振動を抑制するための制御等が不要となり、停止するまでの時間を短縮化を促進することができる。   Thus, it is possible to prevent the motor 4 from performing an extra operation as described above and the arm from vibrating when starting the stop control. Further, it is possible to prevent the braking distance that the arm or the like driven by the motor 4 moves from being increased, and to stop the robot 3 promptly. Further, since the vibration of the arm is suppressed, the control for suppressing the vibration is unnecessary, and the time until stopping can be shortened.

また、停止制御を行うことから、つまり、ロボット3の挙動を制御しつつ停止させることから、スムーズにロボット3を停止させることができる。したがって、通常動作時にモータ4の電流に制限がかけられることがあるロボット3において、非常停止時における停止制御を速やかに且つスムーズに行うことができる。   Further, since the stop control is performed, that is, the robot 3 is stopped while controlling the behavior of the robot 3, the robot 3 can be smoothly stopped. Therefore, in the robot 3 that may limit the current of the motor 4 during normal operation, stop control during an emergency stop can be performed quickly and smoothly.

また、これらの各工程を実行する制御手段を備える制御装置2は、非常停止時における停止制御を速やかに、且つスムーズに行うことができる。
また、仮にロボット3が周辺装置等に接触した場合には再稼動する前にキャリブレーション作業等を行う必要があるが、本実施形態の非常停止方法によれば周辺装置等への接触を防止することができるため、非常停止後の作業が増加することをも抑制することができ、非常停止時だけで無く、非常停止後においてもユーザにメリットを提供することができる。
Moreover, the control apparatus 2 provided with the control means which performs each of these processes can perform stop control at the time of emergency stop quickly and smoothly.
Further, if the robot 3 comes into contact with a peripheral device or the like, it is necessary to perform a calibration operation or the like before restarting. However, according to the emergency stop method of the present embodiment, contact with the peripheral device or the like is prevented. Therefore, it is possible to suppress an increase in work after an emergency stop, and it is possible to provide benefits to the user not only during an emergency stop but also after an emergency stop.

なお、上記した補正工程(S2)と解除工程(S3)とは、同時に行ってもよいし、その順序が入れ替わっていてもよい。すなわち、補正工程と解除工程とは、停止制御(S4)を開始する前に行われれば、その実行順はいずれであってもよい。   Note that the correction step (S2) and the release step (S3) described above may be performed at the same time, or the order may be switched. That is, the execution order of the correction process and the cancellation process may be any as long as they are performed before the stop control (S4) is started.

(第2実施形態)
以下、本発明の第2実施形態について説明する。なお、本実施形態の構成および非常停止処理の流れは第1実施形態と共通するので、図1から図3を参照しながら説明する。
(Second Embodiment)
Hereinafter, a second embodiment of the present invention will be described. Note that the configuration of this embodiment and the flow of emergency stop processing are the same as those in the first embodiment, and will be described with reference to FIGS.

本実施形態では、図3に示す非常停止処理のステップS2において指令角度を補正する手法が第1実施形態と異なっている。本実施形態の制御装置2は、ステップS1で取得したモータ4の実角度に基づいて指令角度を補正するステップS2において、モータ4の動作状態の連続性を保つことができる以下の2つの手法のいずれかにより、指令角度を補正する。以下、1つ目の手法を便宜的に手法Aと称し、2つ目の手法を便宜的に手法Bと称してそれぞれ説明する。   In the present embodiment, the method for correcting the command angle in step S2 of the emergency stop process shown in FIG. 3 is different from that in the first embodiment. The control device 2 according to the present embodiment uses the following two methods that can maintain the continuity of the operation state of the motor 4 in step S2 in which the command angle is corrected based on the actual angle of the motor 4 acquired in step S1. Either way, the command angle is corrected. Hereinafter, the first method is referred to as Method A for convenience, and the second method is referred to as Method B for convenience.

<手法A:内部状態として、速度の連続性を保つ手法>
手法Aの場合、制御装置2は、制御系の内部状態として速度に着目し、非常停止処理において、電流の制限を解除する前後においてモータ4の速度の連続性が保たれる新たな指令角度を求め、求めた指令角度を初期値に設定して停止制御を開始する。
<Method A: Method of maintaining speed continuity as an internal state>
In the case of Method A, the control device 2 pays attention to the speed as the internal state of the control system, and in the emergency stop process, sets a new command angle that maintains the continuity of the speed of the motor 4 before and after releasing the current restriction. The obtained command angle is set to an initial value, and stop control is started.

通常、ロボット3の制御系は、第1実施形態で説明したように、速度制御系および位置制御系の多重構造となっている。このとき、速度制御系には、I型(積分型)のサーボ系とするために、一般的に積分要素が使用されている。そこで、本実施形態では、位置比例・速度比例積分制御系について説明する。なお、制御系の構成は、位置比例・速度比例積分制御系以外であってよく、その場合にも、本実施形態と同様の考え方で本発明を適用することができる。これは、後述する手法Bの場合も同様である。   Usually, the control system of the robot 3 has a multiple structure of a speed control system and a position control system as described in the first embodiment. At this time, an integral element is generally used for the speed control system in order to obtain an I-type (integration type) servo system. Therefore, in this embodiment, a position proportional / velocity proportional integral control system will be described. Note that the configuration of the control system may be other than the position proportional / velocity proportional integral control system, and in this case, the present invention can be applied based on the same concept as the present embodiment. The same applies to Method B described later.

まず、指令角度をr、モータ4の実角度をy、指令速度をw、モータ4の実速度をy(実角度yの微分値)、制御系の位置比例ゲインをKPP、速度比例ゲインをKVP、速度積分ゲインをKVI、トルク指令(すなわち、電流指令)をτとすると、位置比例・速度比例積分制御系は、次の(1)式および(2)式で表すことができる。 First, the command angle is r, the actual angle of the motor 4 is y, the command speed is w, the actual speed of the motor 4 is y d (differential value of the actual angle y), the position proportional gain of the control system is K PP , and the speed proportional gain Is K VP , the speed integral gain is K VI , and the torque command (that is, current command) is τ, the position proportional / velocity proportional integral control system can be expressed by the following equations (1) and (2). .

Figure 2016124078
Figure 2016124078

さて、電流に制限がかけられておらず十分な電流を利用できる状況においては、速度制御系の積分制御により、指令速度wと実速度yは等しくなる。これに対して、電流に制限がかけられている状況では、電流が不足した場合には十分な加速を得られずに、実速度yは、指令速度wよりも小さくなる。この場合、非常停止時に電流の制限を解除する際に速度系の連続性を保つためには、指令速度wと実速度yとが一致するように指令角度rを補正すればよい。 Now, in a situation where available sufficient current not applied is limited to the current, the integral control of the speed control system, the command speed w and the actual speed y d is equal. In contrast, in a situation where current limit is applied, without obtain sufficient acceleration in the case where the current is insufficient, the actual speed y d is smaller than the commanded speed w. In this case, in order to maintain the continuity of the speed system when releasing the emergency stop limit current comprises a command speed w and the actual speed y d may be corrected command angle r to match.

さて、上記した(1)式より、指令角度rは次の(3)式のように表すことができる。   From the above equation (1), the command angle r can be expressed as the following equation (3).

Figure 2016124078
Figure 2016124078

そして、指令速度wと実速度yとが一致する指令角度rを求めるためには、この(3)式にw=yの関係を代入すればよく、次の(4)式で求めることができる。 Then, in order to obtain the command angle r of the command speed w and the actual speed y d are the same, the (3) may be substituted into relationship w = y d to the equation, the following (4) be determined by the formula Can do.

Figure 2016124078
Figure 2016124078

そして、非常停止する際の指令角度の初期値としてこの(4)式から求まるrを設定すれば、速度系の連続性を保った状態で、停止制御を行うことができるようになる。具体的には、図3に示すステップS2において(4)式に基づいて指令角度を補正し、ステップS3において電流制限を解除し、ステップS4において、補正した指令角度に基づいて停止制御を行えばよい。   If r obtained from the equation (4) is set as the initial value of the command angle for emergency stop, stop control can be performed while maintaining the continuity of the speed system. Specifically, in step S2 shown in FIG. 3, the command angle is corrected based on equation (4), the current limit is released in step S3, and stop control is performed based on the corrected command angle in step S4. Good.

これにより、非常停止時に、速度の連続性を保ったまま停止制御を行うことができ、速度が急激に変化することを防止できる。そして、速度が急激に変化することが防止されることから、アームの移動速度が急激に変化する等の意図しない動作を防止することができる。また、速度が連続的に変化することから、余分な速度変化が発生せず、減速時間が長くなることを防止できる。   Thereby, at the time of an emergency stop, stop control can be performed while maintaining continuity of speed, and it is possible to prevent the speed from changing suddenly. Since the speed is prevented from changing suddenly, unintended operations such as a sudden change in the moving speed of the arm can be prevented. Further, since the speed changes continuously, an extra speed change does not occur and it is possible to prevent the deceleration time from becoming long.

<手法B:内部状態として、トルク(電流)の連続性を保つ手法>
手法Bの場合、制御装置2は、制御系の内部状態としてトルク(電流)に着目し、非常停止処理において、電流の制限を解除する前後においてモータ4のトルクの連続性が保たれる新たな指令角度を求め、求めた指令角度を初期値に設定して停止制御を開始する。
<Method B: Method for maintaining continuity of torque (current) as an internal state>
In the case of method B, the control device 2 pays attention to the torque (current) as an internal state of the control system, and in the emergency stop process, a new continuity of the torque of the motor 4 is maintained before and after the restriction of the current is released. A command angle is obtained, the obtained command angle is set to an initial value, and stop control is started.

電流制限を解除する前のトルク指令をτ、積分器の状態量をxi0とすると、制御系は、次の(5)式および(6)式で表すことができる。そして、これら(5)式および(6)式と上記した(3)式との関係から、補正すべき指令角度rとして、(7)式が求まる。 Assuming that the torque command before canceling the current limit is τ 0 and the state quantity of the integrator is x i0 , the control system can be expressed by the following equations (5) and (6). Then, from the relationship between these equations (5) and (6) and the above equation (3), equation (7) is obtained as the command angle r to be corrected.

Figure 2016124078
Figure 2016124078

そして、非常停止する際の指令角度の初期値としてこの(7)式から求まるrを設定すれば、トルクの連続性を保った状態で、停止制御を行うことができるようになる。   If r obtained from the equation (7) is set as the initial value of the command angle at the time of emergency stop, the stop control can be performed while maintaining the torque continuity.

つまり、制御装置2は、図3に示すステップS2において(7)式に基づいて指令角度を補正し、ステップS3において電流制限を解除し、ステップS4において、補正した指令角度に基づいて停止制御を行う。   That is, the control device 2 corrects the command angle based on the equation (7) in step S2 shown in FIG. 3, cancels the current limit in step S3, and performs stop control based on the corrected command angle in step S4. Do.

これにより、非常停止時に、トルクの連続性を保ったまま停止制御を行うことができ、トルクが急激に変化することを防止できる。そして、トルクが急激に変化することが防止されることから、ワークに加わる力が急激に増加したり、アームの速度が大きく変化したりする等の意図しない動作防止することができる。   Thereby, at the time of an emergency stop, stop control can be performed while maintaining the continuity of the torque, and it is possible to prevent the torque from changing suddenly. Since the torque is prevented from changing suddenly, unintended operations such as a sudden increase in the force applied to the workpiece and a large change in the arm speed can be prevented.

なお、電流の制限を解除した際にトルクが飽和した場合、それが積分器の出力のみで飽和している場合には、τ0とKVIi0とが等しくなることから、上記した(7)式は、上記した(3)式と同じ結果となる。 Note that if the torque is saturated when the current restriction is released, and if it is saturated only by the output of the integrator, τ0 and K VI x i0 are equal to each other. The expression is the same as the expression (3) described above.

これら手法A、手法Bのように、制御系の内部状態に着目して指令角度を補正することによっても、第1実施形態と同様に、非常停止時における停止制御を速やかに、且つスムーズに行うことができる。   Similar to the first embodiment, the stop control at the time of an emergency stop is performed promptly and smoothly by correcting the command angle by paying attention to the internal state of the control system as in these methods A and B. be able to.

(第3実施形態)
以下、本発明の第3実施形態について説明する。
本実施形態は、指令角度を補正する際に制御系の積分器の状態量を併せて補正するための手法であり、電流の制限を解除する前後においてロボット3の制御系のトルクの連続性が保たれるように積分器の状態量も補正する。この本実施形態の手法は、第1実施形態から第3実施形態でモータ4の動作状態の連続性を保つ補正に組み合わせて使用される。具体的には、図3に示す非常停止処理のステップS2において指令角度を補正する際、積分器の状態量も補正される。
(Third embodiment)
Hereinafter, a third embodiment of the present invention will be described.
The present embodiment is a method for correcting the state quantity of the integrator of the control system when correcting the command angle, and the continuity of the torque of the control system of the robot 3 before and after the current restriction is released. The state quantity of the integrator is also corrected so as to be maintained. The technique of this embodiment is used in combination with correction for maintaining the continuity of the operation state of the motor 4 in the first to third embodiments. Specifically, when the command angle is corrected in step S2 of the emergency stop process shown in FIG. 3, the state quantity of the integrator is also corrected.

電流の制限を解除する前の指令角度をr、指令速度をw、積分器の状態量をxi0とした場合、電流の制限を解除する前後におけるトルク指令は、解除前のトルク指令をτ0、解除後のトルク指令をτとすると、次の(8)式および(9)式で表すことができる。 When the command angle before canceling the current limit is r 0 , the command speed is w 0 , and the state quantity of the integrator is x i0 , the torque command before and after canceling the current limit is If τ0 and the torque command after release are τ, they can be expressed by the following equations (8) and (9).

Figure 2016124078
Figure 2016124078

この場合、トルク指令τと解除後のトルク指令をτとが等しくなるように補正する場合には、次の(10)式の関係が成立する。 In this case, when correcting the torque command τ 0 and the released torque command so that τ is equal, the relationship of the following equation (10) is established.

Figure 2016124078
Figure 2016124078

そしてこの(10)式から、電流の制限を解除した後の積分器の状態量xは、次の(11)式として求まる。 And from this equation (10), the state amount x i integrator after releasing the limitation of the current, obtained as following equation (11).

Figure 2016124078
Figure 2016124078

また、上記した(1)式の関係から指令速度wは、次の(12)式として求まる。 Further, the command speed w 0 is obtained as the following equation (12) from the relationship of the above equation (1).

Figure 2016124078
Figure 2016124078

これら(11)式および(12)式から、電流の制限を解除した後の積分器の状態量xは、最終的に次の(13)式で表すことができる。 From these formulas (11) and (12), the state quantity x i of the integrator after releasing the current limit can be finally expressed by the following formula (13).

Figure 2016124078
Figure 2016124078

この電流の制限を解除した後の積分器の状態量xを、第1実施形態で説明した指令角度を実角度に合わせる手法に適用する場合には、(13)式は、(1)式の関係から、次の(14)式として表すことができる。 When applying the state quantity x i of the integrator after releasing the current restriction to the method of matching the command angle described in the first embodiment with the actual angle, the expression (13) is expressed by the expression (1). From the relationship, it can be expressed as the following equation (14).

Figure 2016124078
Figure 2016124078

また、第2実施形態の手法Aで説明した速度系の連続性を保つ手法に適用する場合には、(13)式は、(4)式の関係から、次の(15)式として表すことができる。   Further, when applied to the method for maintaining the continuity of the speed system described in the method A of the second embodiment, the equation (13) is expressed as the following equation (15) from the relationship of the equation (4). Can do.

Figure 2016124078
Figure 2016124078

いずれの場合にしろ、積分器の状態量xも補正することにより、電流の制限を解除した際、トルクが不連続となることを防止できる。これにより、停止制御を開始した後におけるトルクの不連続性が無くなり、停止制御を行う際に、トルクが不連続になっていることに起因して意図しない動作が行われるおそれを低減することができる。 In any case, by correcting the integrator state quantity x i , it is possible to prevent the torque from becoming discontinuous when the current limit is released. This eliminates the discontinuity of torque after the start of stop control, and reduces the risk of unintended operations due to the discontinuity of torque when performing stop control. it can.

なお、第2実施形態の手法Bで説明したトルクの連続性を保つ手法に適用する場合には、その手法にて既にトルクの連続性が保たれているために本実施形態の手法では実質的には効果は発揮されない。すなわち、(13)式は、(7)式および(8)式の関係から、次の(16)式として表すことができ、積分器の状態量は補正されないことを意味している。   In addition, when applied to the method for maintaining the continuity of torque described in the method B of the second embodiment, since the continuity of torque is already maintained by the method, the method of the present embodiment is substantially effective. Is not effective. That is, equation (13) can be expressed as the following equation (16) from the relationship between equations (7) and (8), which means that the state quantity of the integrator is not corrected.

=xi0 (16)
(その他の実施形態)
本発明は上記した実施形態で例示した構成に限定されるものではなく、その要旨を逸脱しない範囲で任意に変形、組み合わせ、拡張することができる。
x i = x i0 (16)
(Other embodiments)
The present invention is not limited to the configuration exemplified in the above-described embodiment, and can be arbitrarily modified, combined, and expanded without departing from the gist thereof.

実施形態では、ロボット3として複数のモータ4を有する垂直多関節型のロボットを例示したが、水平多関節型ロボットや直角座標型ロボットであってもよい。また、直動式の短軸ロボットのように、1つのモータ4を備えるものであってもよい。すなわち、本発明は、備えているモータの数に関わらず、通常動作時に電流に制限に制限がかけられることがあるモータを有するどのようなロボットにも適用することができる。   In the embodiment, a vertical articulated robot having a plurality of motors 4 is exemplified as the robot 3, but a horizontal articulated robot or a rectangular coordinate robot may be used. Moreover, you may provide the one motor 4 like a linear motion type short axis robot. That is, the present invention can be applied to any robot having a motor whose current may be limited during normal operation regardless of the number of motors provided.

図面中、1はロボットシステム、2は制御装置(ロボットの制御装置)、3はロボット、4はモータを示す。   In the drawings, 1 is a robot system, 2 is a control device (control device for a robot), 3 is a robot, and 4 is a motor.

Claims (6)

通常動作時にモータの電流に制限をかけることがあるロボットにおいて、非常停止時にその挙動を制御しつつ停止させる停止制御を行うためのロボットの非常停止方法であって、
前記停止制御を行う際、前記モータに対する電流の制限を解除する解除工程と、
前記停止制御を行うために前記モータに与えられる指令角度を、電流の制限を解除する前後において前記モータの動作状態の連続性が保たれるように補正する補正工程と、
前記補正工程で補正した前記指令角度を初期値として前記停止制御を開始する停止工程と、
を実行することを特徴とするロボットの非常停止方法。
In a robot that may limit the motor current during normal operation, it is an emergency stop method for the robot to perform stop control to stop while controlling its behavior at the time of emergency stop,
When performing the stop control, a release step of releasing the current limit for the motor;
A correction step for correcting the command angle given to the motor to perform the stop control so that the continuity of the operation state of the motor is maintained before and after releasing the restriction of the current;
A stop step of starting the stop control with the command angle corrected in the correction step as an initial value;
An emergency stop method for a robot characterized in that
前記補正工程では、電流の制限を解除する前の前記モータの実際の角度である実角度を、前記停止制御を行うために前記モータに与えられる前記指令角度の初期値に設定することで、電流の制限を解除する前後において角度の連続性が保たれるように前記指令角度を補正することを特徴とする請求項1記載のロボットの非常停止方法。   In the correction step, by setting an actual angle, which is an actual angle of the motor before releasing the current limit, to an initial value of the command angle given to the motor to perform the stop control, The robot emergency stop method according to claim 1, wherein the command angle is corrected so that the continuity of the angle is maintained before and after the restriction is released. 前記補正工程では、前記モータの実際の角度である実角度に基づいて電流の制限を解除する前の前記モータの速度を求め、求めた速度となる新たな指令角度を算出し、算出した新たな指令角度を初期値に設定することで、電流の制限を解除する前後において速度の連続性が保たれるように前記指令角度を補正することを特徴とする請求項1記載のロボットの非常停止方法。   In the correction step, the speed of the motor before releasing the current limit is calculated based on the actual angle that is the actual angle of the motor, a new command angle that is the calculated speed is calculated, and the calculated new 2. The emergency stop method for a robot according to claim 1, wherein the command angle is corrected so that the continuity of the speed is maintained before and after releasing the restriction of the current by setting the command angle to an initial value. . 前記補正工程では、前記モータの実際の角度である実角度に基づいて電流の制限を解除する前の前記モータのトルクを求め、求めたトルクとなる新たな指令角度を算出し、算出した新たな指令角度を初期値に設定することで、電流の制限を解除する前後においてトルクの連続性が保たれるように前記指令角度を補正することを特徴とする請求項1記載のロボットの非常停止方法。   In the correction step, the torque of the motor before canceling the current limit is calculated based on the actual angle that is the actual angle of the motor, a new command angle that is the calculated torque is calculated, and the calculated new 2. The emergency stop method for a robot according to claim 1, wherein the command angle is corrected so that the continuity of the torque is maintained before and after releasing the restriction of the current by setting the command angle to an initial value. . 前記補正工程では、電流の制限を解除する前後において前記ロボットのトルクの連続性が保たれるように積分器の内部状態も補正することを特徴とする請求項1から4のいずれか一項記載のロボットの非常停止方法。   5. The internal state of the integrator is also corrected in the correction step so that the continuity of the torque of the robot is maintained before and after the current restriction is released. 6. Emergency stop method for robots. 請求項1から5のいずれか一項記載のロボットの非常停止方法における各工程を実行することを特徴とするロボットの制御装置。   6. A robot control apparatus that executes each step in the emergency stop method for a robot according to claim 1.
JP2015000925A 2015-01-06 2015-01-06 Robot emergency stop method, robot control device Active JP6447141B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015000925A JP6447141B2 (en) 2015-01-06 2015-01-06 Robot emergency stop method, robot control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015000925A JP6447141B2 (en) 2015-01-06 2015-01-06 Robot emergency stop method, robot control device

Publications (2)

Publication Number Publication Date
JP2016124078A true JP2016124078A (en) 2016-07-11
JP6447141B2 JP6447141B2 (en) 2019-01-09

Family

ID=56358538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015000925A Active JP6447141B2 (en) 2015-01-06 2015-01-06 Robot emergency stop method, robot control device

Country Status (1)

Country Link
JP (1) JP6447141B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020023032A (en) * 2018-08-08 2020-02-13 ファナック株式会社 Cooperative robot
JP2020149437A (en) * 2019-03-14 2020-09-17 ファナック株式会社 Numerical control system of industrial machine
JP2020146807A (en) * 2019-03-14 2020-09-17 株式会社デンソーウェーブ Robot control device and robot control method
CN113843785A (en) * 2020-06-28 2021-12-28 北京配天技术有限公司 Robot emergency stop processing method and system
CN116394311A (en) * 2023-06-08 2023-07-07 上海艾利特机器人有限公司 Robot scram protection processing method, robot and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63290197A (en) * 1987-05-20 1988-11-28 Nippon Oochisu Elevator Kk Inverter for elevator driving
JPH01209974A (en) * 1988-02-17 1989-08-23 Hitachi Seiki Co Ltd Method and device for controlling drive motor of machine tool
JPH04198000A (en) * 1990-11-28 1992-07-17 Mitsubishi Electric Corp Ac servo system equipment for lifting and lowering
JPH11212650A (en) * 1998-01-29 1999-08-06 Mitsubishi Electric Corp Mechanical operation controller and stopping command generator
JP2011257909A (en) * 2010-06-08 2011-12-22 Yaskawa Electric Corp Multi-axis drive unit, multi-axis driving machine and drive control method of multi-axis drive unit
WO2013005388A1 (en) * 2011-07-06 2013-01-10 パナソニック株式会社 Motor control device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63290197A (en) * 1987-05-20 1988-11-28 Nippon Oochisu Elevator Kk Inverter for elevator driving
JPH01209974A (en) * 1988-02-17 1989-08-23 Hitachi Seiki Co Ltd Method and device for controlling drive motor of machine tool
JPH04198000A (en) * 1990-11-28 1992-07-17 Mitsubishi Electric Corp Ac servo system equipment for lifting and lowering
JPH11212650A (en) * 1998-01-29 1999-08-06 Mitsubishi Electric Corp Mechanical operation controller and stopping command generator
JP2011257909A (en) * 2010-06-08 2011-12-22 Yaskawa Electric Corp Multi-axis drive unit, multi-axis driving machine and drive control method of multi-axis drive unit
WO2013005388A1 (en) * 2011-07-06 2013-01-10 パナソニック株式会社 Motor control device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020023032A (en) * 2018-08-08 2020-02-13 ファナック株式会社 Cooperative robot
JP2020149437A (en) * 2019-03-14 2020-09-17 ファナック株式会社 Numerical control system of industrial machine
JP2020146807A (en) * 2019-03-14 2020-09-17 株式会社デンソーウェーブ Robot control device and robot control method
JP7053523B2 (en) 2019-03-14 2022-04-12 ファナック株式会社 Numerical control system for industrial machinery
US11531323B2 (en) 2019-03-14 2022-12-20 Fanuc Corporation Numerical control system of industrial machine
JP7305993B2 (en) 2019-03-14 2023-07-11 株式会社デンソーウェーブ ROBOT CONTROL DEVICE, ROBOT CONTROL METHOD
CN113843785A (en) * 2020-06-28 2021-12-28 北京配天技术有限公司 Robot emergency stop processing method and system
CN116394311A (en) * 2023-06-08 2023-07-07 上海艾利特机器人有限公司 Robot scram protection processing method, robot and storage medium
CN116394311B (en) * 2023-06-08 2023-08-29 上海艾利特机器人有限公司 Robot scram protection processing method, robot and storage medium

Also Published As

Publication number Publication date
JP6447141B2 (en) 2019-01-09

Similar Documents

Publication Publication Date Title
JP6447141B2 (en) Robot emergency stop method, robot control device
JP4817084B2 (en) Motor drive system and motor control device
WO2018079075A1 (en) Method and device for detecting abnormality of encoder, and robot control system
CN110919627B (en) Robot control method and control device
US9317032B2 (en) Robot and method for operating a robot
JP5890473B2 (en) Motor control device for controlling a motor
JP2016159367A (en) Robot control device for automatically switching operation mode of robot
JP2017094438A (en) Robot system having function of simplifying teaching work by learning and function of improving operation performance
JP2018130800A (en) Robot system with learning control function and learning control method
JP2011206886A (en) Device and method for controlling robot
JP6703021B2 (en) Servo control device
JP2018069410A (en) Robot control device having learning control function
US20150137726A1 (en) Motor controller for protecting tool and object to be processed in emergency stop
US20160089787A1 (en) Robot controller
JPWO2019031218A1 (en) Encoder error detection method
JP2017127964A (en) Robot apparatus having learning function
JP2011020188A (en) Robot device and robot device control method
JP2018062026A (en) Robot control device with function for restricting speed and acceleration of robot
JP6240422B2 (en) Robot control system and robot control method
JP5778891B2 (en) Robot controller
US20180067469A1 (en) Servomotor control device, servomotor control method, and computer-readable recording medium
JP6088601B2 (en) Robot controller that suppresses tool tip deflection in robot with traveling axis
JP6274967B2 (en) Drive control device for rotary actuator
JP7227018B2 (en) Learning controller, robot controller and robot
KR20090107864A (en) Apparatus for generating Velocity Profile, Apparatus for Controlling Motor and Method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171012

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181030

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20181106

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181119

R150 Certificate of patent or registration of utility model

Ref document number: 6447141

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250