JP2022160206A - Method for diagnosing failure of encoder, robot monitoring device, and robot system - Google Patents
Method for diagnosing failure of encoder, robot monitoring device, and robot system Download PDFInfo
- Publication number
- JP2022160206A JP2022160206A JP2021064830A JP2021064830A JP2022160206A JP 2022160206 A JP2022160206 A JP 2022160206A JP 2021064830 A JP2021064830 A JP 2021064830A JP 2021064830 A JP2021064830 A JP 2021064830A JP 2022160206 A JP2022160206 A JP 2022160206A
- Authority
- JP
- Japan
- Prior art keywords
- encoder
- value
- robot
- command value
- operation command
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、エンコーダーの故障診断方法、ロボット監視装置およびロボットシステムに関するものである。 The present invention relates to an encoder failure diagnosis method, a robot monitoring device, and a robot system.
特許文献1には、モーターの動作を検出するエンコーダーを有するモーター制御装置であって、モーターの動作に関する指令値を生成するモーター制御部と、モーターに駆動電流を供給する駆動部と、モーター制御部から駆動部への駆動信号の伝達を遮断する遮断部と、遮断部に遮断処理を実行させる安全制御部と、を備えるモーター制御装置が開示されている。このうち、モーター制御部は、モーターを駆動するための動作指令信号と、エンコーダーからのフィードバック信号と、に基づいて、モーターの動作が動作指令信号に追従するようにモーターの動作に関する指令値を生成する。
このモーター制御装置の安全制御部では、エンコーダーからのフィードバック値と、動作指令信号により算出される動作指令値と、の比較結果に基づいて、エンコーダーに関する故障の発生を判断し、その判断結果に基づいて遮断部に遮断処理を実行させる。このような構成によれば、エンコーダーからのフィードバック値と動作指令値との比較結果を利用してエンコーダーの故障判断を実現しているので、モーター制御装置の安全性能を高めることができる。 In the safety control section of this motor control device, based on the result of comparison between the feedback value from the encoder and the operation command value calculated from the operation command signal, it determines whether a failure related to the encoder has occurred. to cause the blocking unit to execute blocking processing. According to such a configuration, a failure judgment of the encoder is realized by using the comparison result between the feedback value from the encoder and the operation command value, so the safety performance of the motor control device can be enhanced.
特許文献1に記載の安全制御部では、エンコーダーからのフィードバック値と、モーター制御部が生成する動作指令値と、を比較したときの比較結果を利用して、エンコーダーの故障判断を実現している。このため、例えば、動作指令値による指示内容が、モーターの出力軸を現在の位置で維持するという内容であった場合、エンコーダーが正常であれば、エンコーダーからのフィードバック値は、時間が経過しても変化しない。
In the safety control unit described in
一方、エンコーダーが故障している場合、故障モードによっては、エンコーダーから出力されるフィードバック値が変化しない状況が起こり得る。このような変化しないフィードバック値は、前述したように、エンコーダーが正常であっても出力される。このため、モーターの出力軸を現在の位置で維持するという動作指令値がモーター制御部から出力されている場合、特許文献1に記載の安全制御部では、エンコーダーの故障を検出することができないという課題がある。
On the other hand, if the encoder fails, depending on the failure mode, a situation may occur in which the feedback value output from the encoder does not change. Such unchanged feedback values are output even if the encoder is normal, as described above. Therefore, if the motor control unit outputs an operation command value to maintain the current position of the motor output shaft, the safety control unit described in
本発明の適用例に係るエンコーダーの故障診断方法は、
動作指令値に基づいて駆動が制御されるモーターの動作を検出し、エンコーダー値を出力するエンコーダーの故障を診断する方法であって、
前記動作指令値が出力されているとき、前記エンコーダー値を取得する工程と、
前記エンコーダー値の変化の有無を検出する工程と、
前記エンコーダー値が連続して変化しない時間がしきい値以上であるとき、前記エンコーダーが故障していると判断する工程と、
を有することを特徴とする。
An encoder failure diagnosis method according to an application example of the present invention includes:
A method for detecting the operation of a motor whose drive is controlled based on an operation command value and diagnosing a failure of an encoder that outputs an encoder value,
obtaining the encoder value when the operation command value is being output;
detecting the presence or absence of a change in the encoder value;
determining that the encoder is faulty when the time for which the encoder value does not change continuously is greater than or equal to a threshold;
characterized by having
本発明の適用例に係るロボット監視装置は、
アームと、動作指令値に基づいて前記アームを駆動するモーターと、前記モーターの動作を検出してエンコーダー値を出力するエンコーダーと、を備えるロボットの動作を監視するロボット監視装置であって、
前記エンコーダー値を取得するエンコーダー値取得部と、
前記エンコーダー値の変化の有無を検出するエンコーダー値監視部と、
前記エンコーダー値が連続して変化しない時間がしきい値以上であるとき、前記エンコーダーが故障していると判断する機能を有する故障判断部と、
を備えることを特徴とする。
A robot monitoring device according to an application example of the present invention includes:
A robot monitoring device for monitoring the motion of a robot comprising an arm, a motor for driving the arm based on a motion command value, and an encoder for detecting the motion of the motor and outputting an encoder value,
an encoder value acquisition unit that acquires the encoder value;
an encoder value monitoring unit that detects whether or not the encoder value changes;
a failure judgment unit having a function of judging that the encoder is out of order when the time during which the encoder value does not change continuously is equal to or greater than a threshold value;
characterized by comprising
本発明の適用例に係るロボットシステムは、
本発明の適用例に係るロボット監視装置と、
前記動作指令値を出力するロボットコントローラーと、
前記ロボットと、
を有することを特徴とする。
A robot system according to an application example of the present invention includes:
a robot monitoring device according to an application example of the present invention;
a robot controller that outputs the motion command value;
the robot;
characterized by having
以下、本発明のエンコーダーの故障診断方法、ロボット監視装置およびロボットシステムを添付図面に示す実施形態に基づいて詳細に説明する。 BEST MODE FOR CARRYING OUT THE INVENTION An encoder failure diagnosis method, a robot monitoring device, and a robot system according to the present invention will be described in detail below with reference to the embodiments shown in the accompanying drawings.
まず、実施形態に係るロボットシステムおよびロボット監視装置について説明する。
図1は、実施形態に係るロボットシステムを示す斜視図である。図2は、図1に示すロボットの概略図である。図3は、図1のロボットシステムの主要部を示すブロック図である。
First, a robot system and a robot monitoring device according to an embodiment will be described.
FIG. 1 is a perspective view showing a robot system according to an embodiment. FIG. 2 is a schematic diagram of the robot shown in FIG. FIG. 3 is a block diagram showing main parts of the robot system of FIG.
図1に示すロボットシステム1は、例えば、各種ワーク(対象物)の搬送、組立、検査等の各作業で用いられる。
A
図1ないし図3に示すように、ロボットシステム1は、基台4、ロボットアーム10、駆動部401~406および駆動制御部301~306を備えるロボット2と、ロボット2の動作を制御するロボット制御装置8と、を有する。
As shown in FIGS. 1 to 3, a
図1および図2に示す基台4は、水平な床101に載置されている。なお、基台4は、床101ではなく、壁、天井、架台等に載置されていてもよい。
The
図1および図2に示すロボットアーム10は、第1アーム11、第2アーム12、第3アーム13、第4アーム14、第5アーム15および第6アーム16を備えている。第6アーム16の先端には、図示しないエンドエフェクターを着脱可能に取り付けることができ、そのエンドエフェクターでワークを把持等することができる。エンドエフェクターで把持等するワークとしては、特に限定されず、例えば、電子部品、電子機器等が挙げられる。なお、本明細書では、第6アーム16を基準にしたときの基台4側を「基端側」とし、基台4を基準にしたときの第6アーム16側を「先端側」とする。
The
エンドエフェクターとしては、特に限定されないが、ワークを把持するハンド、ワークを吸着する吸着ヘッド等が挙げられる。 Examples of the end effector include, but are not particularly limited to, a hand for gripping a work, a suction head for sucking a work, and the like.
なお、第6アーム16とエンドエフェクターとの間には、図示しない力検出部が設けられていてもよい。力検出部は、エンドエフェクターに加わる力を検出する。力検出部としては、例えば、互いに直交する3軸のそれぞれの軸方向の力成分(並進力成分)と、その3軸のそれぞれの軸周りの力成分(回転力成分)と、を検出可能な6軸力覚センサー等が挙げられる。
A force detection section (not shown) may be provided between the
さらに、ロボットシステム1は、上記の他に、例えば、画像センサー、深度センサー、慣性センサー、超音波センサー、ライトカーテン、ミリ波レーダー、レーザースキャナー等を備えていてもよい。
In addition to the above, the
1.ロボット
ロボット2は、基台4と、第1アーム11と、第2アーム12と、第3アーム13と、第4アーム14と、第5アーム15と、第6アーム16とが、基端側から先端側に向かってこの順に連結された単腕の6軸垂直多関節ロボットである。
1. The robot robot 2 has a
1.1.ロボットアーム
以下では、第1アーム11、第2アーム12、第3アーム13、第4アーム14、第5アーム15および第6アーム16をそれぞれ「アーム」とも言う。アーム11~16の長さは、それぞれ、特に限定されず、適宜設定可能である。
1.1. Robot Arm Hereinafter, the first arm 11, the
基台4と第1アーム11とは、第1関節部171を介して連結されている。第1アーム11は、基台4に対し、鉛直軸と平行な第1回動軸O1を回動中心として回動可能となっている。第1関節部171は、図3に示すように、モーター401Mおよび図示しない減速機を有する駆動部401と、角度センサー411と、を備えている。第1アーム11は、駆動部401の駆動により回動する。モーター401Mは、第1アーム11を回動させる駆動力を発生する。
The
第1アーム11と第2アーム12とは、第2関節部172を介して連結されている。第2アーム12は、第1アーム11に対し、水平面と平行な第2回動軸O2を回動中心として回動可能となっている。第2関節部172は、図3に示すように、モーター402Mおよび図示しない減速機を有する駆動部402と、角度センサー412と、を備えている。第2アーム12は、駆動部402の駆動により回動する。モーター402Mは、第2アーム12を回動させる駆動力を発生する。
The first arm 11 and the
第2アーム12と第3アーム13とは、第3関節部173を介して連結されている。第3アーム13は、第2アーム12に対し、水平面と平行な第3回動軸O3を回動中心として回動可能となっている。第3関節部173は、図3に示すように、モーター403Mおよび図示しない減速機を有する駆動部403と、角度センサー413と、を備えている。第3アーム13は、駆動部403の駆動により回動する。モーター403Mは、第3アーム13を回動させる駆動力を発生する。
The
第3アーム13と第4アーム14とは、第4関節部174を介して連結されている。第4アーム14は、第3アーム13に対し、第3アーム13の中心軸と平行な第4回動軸O4を回動中心として回動可能となっている。第4関節部174は、図3に示すように、モーター404Mおよび図示しない減速機を有する駆動部404と、角度センサー414と、を備えている。第4アーム14は、駆動部404の駆動により回動する。モーター404Mは、第4アーム14を回動させる駆動力を発生する。
The
第4アーム14と第5アーム15とは、第5関節部175を介して連結されている。第5アーム15は、第4アーム14に対し、第4アーム14の中心軸と直交する第5回動軸O5を回動中心として回動可能となっている。第5関節部175は、図3に示すように、モーター405Mおよび図示しない減速機を有する駆動部405と、角度センサー415と、を備えている。第5アーム15は、駆動部405の駆動により回動する。モーター405Mは、第5アーム15を回動させる駆動力を発生する。
The
第5アーム15と第6アーム16とは、第6関節部176を介して連結されている。第6アーム16は、第5アーム15に対し、第5アーム15の先端部の中心軸と平行な第6回動軸O6を回動中心として回動可能となっている。第6関節部176は、図3に示すように、モーター406Mおよび図示しない減速機を有する駆動部406と、角度センサー416と、を備えている。第6アーム16は、駆動部406の駆動により回動する。モーター406Mは、第6アーム16を回動させる駆動力を発生する。
The
角度センサー411~416としては、例えば、ロータリーエンコーダー等の各種エンコーダーが挙げられる。角度センサー411~416は、駆動部401~406のモーター401M~406Mの出力軸または減速機の出力軸の回動角度を検出する。
As the
1.2.駆動部および駆動制御部
駆動部401~406のモーター401M~406Mとしては、例えば、ACサーボモーター、DCサーボモーター等が挙げられる。
1.2. Drive Unit and Drive Control Unit Examples of the
駆動部401~406の減速機としては、例えば、複数の歯車で構成された遊星ギア型の減速機、波動減速機等が挙げられる。
Examples of the speed reducer of the
駆動部401~406および角度センサー411~416は、それぞれ、ロボット制御装置8と電気的に接続されている。
Drive
駆動制御部301~306は、例えばサーボドライバーであり、ロボット制御装置8から出力された動作指令値に基づいて、駆動部401~406の動作を制御する。
The
図4は、図3に示すブロック図の部分拡大図である。図4には、図2に示す第1関節部171を拡大して図示している。
FIG. 4 is a partially enlarged view of the block diagram shown in FIG. FIG. 4 shows an enlarged view of the first
第1関節部171には、モーター401Mおよび角度センサー411を含む駆動部401、ならびに、駆動制御部301が設けられている。以下、図4に基づき、駆動部401および駆動制御部301の動作について説明するが、以下の説明は、駆動部402~406および駆動制御部302~306についても同様である。
The first
図4に示す角度センサー411は、エンコーダー421を含む。エンコーダー421は、例えばモーター401Mの出力軸(シャフト)に接続されている。なお、角度センサー411は、複数のエンコーダー421を備えていてもよい。これにより、モーター401Mの出力軸の角度位置の検出において冗長化を図ることができる。
The
エンコーダー421は、例えば、セーフティーエンコーダーであってもよいが、非セーフティーエンコーダーであってもよい。前者のセーフティーエンコーダーとは、例えば、ISO 10218-1:2011「ロボット及びロボティックデバイス-産業用ロボットのための安全要求事項-第1部」等のロボット安全規格に規定されている安全要求事項に対応する認証済みのエンコーダーを指す。この安全要求事項では、エンコーダーの故障を検出することが求められている。なお、ロボット安全規格は、上記の規格に限定されない。
The
一方、後者の非セーフティーエンコーダーとは、このような安全要求事項に対応する認証を受けていないエンコーダーを指す。ただし、非セーフティーエンコーダーは、すでにロボットに用いられるサーボモーターのエンコーダーとして多くの実績があるため、品質が安定しており、かつ安価である。このため、非セーフティーエンコーダーを用いることにより、エンコーダー421を容易に調達することができ、かつ、ロボットシステム1を安定的に稼働させることができる。そして、本実施形態によれば、非セーフティーエンコーダーを用いた場合でも、後述するロボット監視装置82が有する機能によって、エンコーダー421の故障を検出することができるので、ロボットシステム1の安全性能を十分に高めることができる。
On the other hand, the latter non-safety encoder refers to an encoder that has not been certified to meet such safety requirements. However, since non-safety encoders have already been used as encoders for servo motors used in robots, they are stable in quality and inexpensive. Therefore, by using the non-safety encoder, the
エンコーダー421は、アブソリュートエンコーダーであっても、インクリメンタルエンコーダーであってもよい。アブソリュートエンコーダーは、モーターシャフトの回転角度の絶対位置を検出可能なエンコーダーである。インクリメンタルエンコーダーは、モーターシャフトの回転角度の位置変位を検出可能なエンコーダーである。
エンコーダー421は、モーター401Mの出力軸の角度位置を表すエンコーダー値Eを位置フィードバックとして出力する。駆動制御部301およびロボットコントローラー81は、エンコーダー値Eを受信する。
The
ロボットコントローラー81は、モーター401Mの出力軸の目標角度位置を表す動作指令値Mを駆動制御部301に向けて出力する。
The
駆動制御部301は、動作指令値Mおよびエンコーダー値Eに基づいて、エンコーダー値Eが動作指令値Mで指定された目標角度位置に近づくように、モーター401Mの駆動を制御する動力信号を生成する。そして、この動力信号がモーター401Mに出力され、モーター401Mの駆動が制御される。これにより、第1関節部171が所望の角度に制御され、基台4に対する第1アーム11の姿勢が所望の姿勢に制御される。
Based on the operation command value M and the encoder value E, the
2.ロボット制御装置の構成
ロボット制御装置8は、ロボットコントローラー81と、ロボット監視装置82と、動力遮断部85と、を備えている
2. Configuration of Robot Control Device The
2.1.ロボットコントローラー
図3に示すように、ロボットコントローラー81は、駆動制御部301~306の動作を制御して、ロボット2の動作を制御する。ロボットコントローラー81は、角度センサー411~416や図示しない力検出部、画像センサー、深度センサー等の検出結果に基づいて、駆動制御部301~306に動作指令値Mを出力する。そして、駆動制御部301~306を介して駆動部401~406の動作条件、例えば角速度や回転角度等をそれぞれ制御する。
2.1. Robot Controller As shown in FIG. 3, the
ロボットコントローラー81のハードウェア構成は、特に限定されないが、図3では、プロセッサー912、メモリー914、および、外部インターフェース916を有している。これらは、内部バスを介して互いに通信可能に接続されている。
Although the hardware configuration of the
プロセッサー912としては、例えばCPU(Central Processing Unit)等が挙げられる。プロセッサー912は、メモリー914に記憶された各種プログラムを実行することにより、ロボットコントローラー81の機能を実現する。
The
なお、プロセッサー912は、FPGA(Field-Programmable Gate Array)、ASIC(Application Specific Integrated Circuit)等であってもよい。
Note that the
メモリー914としては、例えばRAM(Random Access Memory)等の揮発性メモリーや、ROM(Read Only Memory)等の不揮発性メモリー等が挙げられる。なお、メモリー914は、非着脱式に限らず、着脱式であってもよい。
Examples of the
メモリー914は、各種プログラムの他、外部インターフェース916で受け付けた各種データやロボット2から出力された各種データを保存する。
The
外部インターフェース916としては、例えば、USB(Universal Serial Bus)、RS-232C、有線LAN(Local Area Network)、無線LAN等が挙げられる。
Examples of the
2.2.ロボット監視装置
ロボット監視装置82のハードウェア構成は、特に限定されないが、図3では、プロセッサー922、メモリー924、および、外部インターフェース926を有している。これらは、内部バスを介して互いに通信可能に接続されている。
2.2. Robot Monitoring Device The hardware configuration of the
メモリー924および外部インターフェース926は、前述したメモリー914および外部インターフェース916と同様である。
プロセッサー922としては、例えばCPU等が挙げられる。プロセッサー922は、メモリー924に記憶された各種プログラムを実行することにより、ロボット監視装置82の機能を実現する。
なお、プロセッサー922は、FPGA、ASIC等であってもよい。
Examples of the
Note that the
ロボット監視装置82は、ロボットコントローラー81から独立してロボット2の動作を監視することにより、ロボットシステム1の機能安全における信頼性をより高めることができる。
The
2.3.動力遮断部
図5は、図3に示す第1関節部171、ロボット制御装置8、および動力遮断部85の詳細ブロック図である。第1関節部171の構成は、第2関節部172、第3関節部173、第4関節部174、第5関節部175および第6関節部176の構成と同様である。したがって、以下の説明では、図5等に基づいて第1関節部171を代表に説明し、その他の関節部の説明は省略する。
2.3. Power Cutoff Section FIG. 5 is a detailed block diagram of the first
動力遮断部85は、電源9と駆動部401との間の電力供給路91に設けられる。駆動部401~406は、それぞれ電力供給路91から電力供給を受ける。このため、動力遮断部85が電力供給路91を遮断することにより、駆動部401~406への電力供給が遮断され、駆動部401~406の動作を停止させることができる。
図5に示す動力遮断部85は、遮断信号に基づいて電力供給路91を遮断する。このため、動力遮断部85が動作することにより、駆動部401~406への電力供給を遮断することができる。
The
3.ロボット監視装置の構成
図5に示すロボット監視装置82は、エンコーダー値取得部822と、エンコーダー値監視部824と、故障判断部826と、動作指令値取得部828と、差分算出部830と、遮断信号出力部832と、を備える。
3. Configuration of Robot Monitoring Device The
エンコーダー値取得部822は、エンコーダー421から出力されたエンコーダー値Eを取得する。
The encoder
エンコーダー421がインクリメンタルエンコーダーである場合には、エンコーダー421から出力された信号を、エンコーダー値取得部822が受信し、回転角度の位置情報に変換する。このようにして得られた位置情報が、エンコーダー値Eとなる。この位置情報は、例えば、所定のビット幅のバイナリーコードで表される。
When the
一方、エンコーダー421がアブソリュートエンコーダーである場合には、エンコーダー421から出力された信号からアブソリュートコードをエンコーダー値取得部822が取り出すことにより、取り出されたアブソリュートコードがエンコーダー値Eとなる。アブソリュートコードは、例えば、所定のビット幅のバイナリーコード、グレイコード、BCDコード等を含んでいる。
On the other hand, when the
エンコーダー値監視部824は、エンコーダー値取得部822が取得したエンコーダー値Eを監視する。そして、監視結果を出力する。
The encoder value monitor 824 monitors the encoder value E acquired by the
故障判断部826は、エンコーダー値Eが変化しない継続時間について、あらかじめ設定されたしきい値を保有している。そして、この継続時間がしきい値以上になったとき、故障判断部826は、エンコーダー421が故障していると判断する。
The
動作指令値取得部828は、ロボットコントローラー81から出力された動作指令値Mを取得する。動作指令値Mも、エンコーダー値Eと同様、回転角度の位置情報を表すコードを含む。
差分算出部830は、動作指令値Mとエンコーダー値Eとの差分を算出する。
The motion command
故障判断部826は、また、動作指令値Mとエンコーダー値Eとの差分について、あらかじめ設定された許容範囲を保有している。許容範囲は、モーター401Mの出力軸の回転角速度や差分の算出におけるレイテンシー等を加味して適宜設定される。そして、算出した差分が許容範囲から逸脱したとき、故障判断部826は、制御エラーであるとみなし、エンコーダー421が故障していると判断する。
The
遮断信号出力部832は、故障判断部826が出力した判断結果に基づいて、遮断信号Bを出力する。
The cutoff
4.ロボット監視装置の機能
4.1.エンコーダー値と動作指令値との比較による故障診断機能
まず、ロボット監視装置82が有する基本的なエンコーダーの故障診断機能について説明する。なお、この故障診断機能は、実施形態に係るエンコーダーの故障診断方法が任意に有する構成を実現する機能の一例である。
4. Functions of Robot Monitoring Device 4.1. Failure Diagnosis Function by Comparing Encoder Value and Operation Command Value First, the basic encoder failure diagnosis function of the
図6は、実施形態に係るエンコーダーの故障診断方法を説明するためのフローチャートである。 FIG. 6 is a flowchart for explaining the encoder failure diagnosis method according to the embodiment.
図6に示すエンコーダーの故障診断方法は、動作指令値Mとエンコーダー値Eとの差分を算出し、この差分が許容範囲から逸脱しているか否かを判断することにより、エンコーダー421の故障を診断する方法である。なお、本発明において、この構成は、必須ではなく、省略されていてもよい。
The encoder failure diagnosis method shown in FIG. 6 calculates the difference between the operation command value M and the encoder value E, and diagnoses the failure of the
図6に示すエンコーダーの故障診断方法は、動作指令値取得工程S102と、エンコーダー値取得工程S103と、差分算出工程S104と、故障判断工程S106と、動力遮断工程S108と、を有する。 The encoder failure diagnosis method shown in FIG. 6 includes an operation command value acquisition step S102, an encoder value acquisition step S103, a difference calculation step S104, a failure determination step S106, and a power interruption step S108.
4.1.1.動作指令値取得工程
動作指令値取得工程S102では、動作指令値取得部828が、ロボットコントローラー81から出力された動作指令値Mを取得する。
4.1.1. Action Command Value Acquisition Step In the action command value acquisition step S<b>102 , the action command
4.1.2.エンコーダー値取得工程
エンコーダー値取得工程S103では、エンコーダー値取得部822が、エンコーダー421から出力されたエンコーダー値Eを取得する。
4.1.2. Encoder Value Acquisition Step In the encoder value acquisition step S<b>103 , the encoder
4.1.3.差分算出工程
差分算出工程S104では、差分算出部830が、動作指令値Mとエンコーダー値Eとの差分を算出する。
4.1.3. Difference Calculation Step In the difference calculation step S104, the
4.1.4.故障判断工程
図4に示す駆動制御部301は、差分算出工程S104で算出した差分がゼロに近づくように動力信号を生成する。このため、差分算出工程S104で算出される差分は、通常、所定の許容範囲に収まっている。
4.1.4. Failure Judgment Process The
ところが、仮に、エンコーダー421が故障していると、エンコーダー421からは正しいエンコーダー値Eが出力されない。そうすると、動作指令値Mとエンコーダー値Eとの差分は、この許容範囲から逸脱する。
However, if the
そこで、故障判断工程S106では、この差分が許容範囲から逸脱しているとき、故障判断部826が、エンコーダー421が故障していると判断する。これにより、エンコーダー421として非セーフティーエンコーダーを用いた場合であっても、エンコーダー421の故障を容易に検出することができる。つまり、このような故障診断機能を有するロボット監視装置82は、非セーフティーエンコーダーを用いた場合でも、ロボット安全規格に規定されている安全要求事項に対応する安全機能を提供することができる。
Therefore, in the failure determination step S106, the
一方、故障判断工程S106では、差分が許容範囲から逸脱していないとき、フローを動作指令値取得工程S102に戻す。 On the other hand, in the failure determination step S106, when the difference does not deviate from the allowable range, the flow is returned to the operation command value obtaining step S102.
エンコーダー421が故障していると判断した場合、故障判断部826は、必要に応じて、その判断結果をロボットコントローラー81に出力する。ロボットコントローラー81は、判断結果に基づいて、エンコーダー421が故障していることをユーザーに報知する。
When determining that the
4.1.5.動力遮断工程
また、本実施形態に係るエンコーダーの故障診断方法は、図6に示すように、任意の工程である動力遮断工程S108を有している。
4.1.5. Power Cutoff Step As shown in FIG. 6, the encoder failure diagnosis method according to the present embodiment includes a power cutoff step S108, which is an optional step.
動力遮断工程S108では、故障判断部826から出力された判断結果に基づいて、遮断信号出力部832が、遮断信号Bを出力する。具体的には、エンコーダー421が故障しているという判断結果が出力された場合に、遮断信号Bが出力される。
In power cutoff step S108, cutoff
図5に示す動力遮断部85は、この遮断信号Bを受信して、電力供給路91を遮断する。これにより、駆動部401~406の動作を停止させることができる。その結果、エンコーダー421が故障していると判断された状態で、ロボットシステム1が稼働し続けるのを防止することができ、ロボットシステム1の安全性能を高めることができる。
The
以上、ロボット監視装置82が有する基本的なエンコーダーの故障診断機能について説明したが、上記のような故障診断機能では、動作指令値Mの内容によっては、エンコーダー421の故障を検出することができない場合がある。そのような場合を踏まえて、本実施形態に係るロボット監視装置82は、次に説明する別の故障診断機能を有している。
The basic encoder failure diagnosis function of the
4.2.エンコーダー値の不変化の監視による故障診断機能
次に、ロボット監視装置82が有する別のエンコーダーの故障診断機能について説明する。
4.2. Failure Diagnosis Function by Monitoring Consistency of Encoder Value Next, another encoder failure diagnosis function of the
図7は、実施形態に係るエンコーダーの故障診断方法を説明するためのフローチャートである。 FIG. 7 is a flowchart for explaining an encoder failure diagnosis method according to the embodiment.
図7に示すエンコーダーの故障診断方法は、エンコーダー値Eの不変化を検出することにより、エンコーダー421の故障を診断する方法である。
The encoder failure diagnosis method shown in FIG. 7 is a method of diagnosing a failure of the
図7に示すエンコーダーの故障診断方法は、エンコーダー値取得工程S202と、エンコーダー値不変化検出工程S204と、故障判断工程S206と、動力遮断工程S208と、を有する。 The encoder failure diagnosis method shown in FIG. 7 includes an encoder value acquisition step S202, an encoder value unchanged detection step S204, a failure determination step S206, and a power cutoff step S208.
4.2.1.エンコーダー値取得工程
エンコーダー値取得工程S202では、エンコーダー値取得部822が、エンコーダー421から出力されたエンコーダー値Eを取得する。
4.2.1. Encoder Value Acquisition Step In the encoder value acquisition step S<b>202 , the encoder
4.2.2.エンコーダー値不変化検出工程
エンコーダー値不変化検出工程S204では、エンコーダー値監視部824が、エンコーダー値Eを監視する。具体的には、エンコーダー値監視部824は、エンコーダー値Eの変化の有無を検出する。エンコーダー値Eの変化の有無は、所定の時間間隔で繰り返し検出され、変化がなかった場合には、その継続時間を計測する。つまり、エンコーダー値監視部824は、エンコーダー値Eが連続して変化しない時間を計測する。
4.2.2. Encoder Value No Change Detection Step In the encoder value no change detection step S204, the encoder
なお、「エンコーダー値Eが変化しない」とは、例えばエンコーダー値Eが所定のビット幅を持つバイナリーコードである場合、全ビットが変化しないことをいう。 Note that "the encoder value E does not change" means that, for example, when the encoder value E is a binary code having a predetermined bit width, all bits do not change.
一方、動作指令値取得部828は、ロボットコントローラー81から出力された動作指令値Mを取得する。ロボットコントローラー81から動作指令値Mが出力されている間は、駆動制御部301からモーター401Mに対し、何らかの動力信号が出力されている。したがって、モーター401Mには、何らかのトルクが発生する。
On the other hand, the motion command
ここで、動作指令値Mが、モーター401Mの出力軸を現在の位置で維持するという内容であった場合について考える。動作指令値Mは、現在の位置を目標角度位置として指定するので、駆動制御部301は、エンコーダー値Eを変化させないように動力信号を出力する。したがって、理論的には、モーター401Mにはトルクが発生しない。
Here, consider a case where the operation command value M is to maintain the output shaft of the
しかしながら、現実には、動力信号の揺らぎやノイズ等、様々な原因によって、わずかなトルクが発生し、それに伴ってエンコーダー値Eはわずかに変化する。したがって、動作指令値Mがモーター401Mの出力軸を現在の位置で維持するという内容であったとしても、エンコーダー値Eが全く変化しない時間は、通常、長く続くことはあり得ない。それにもかかわらず、エンコーダー値Eが変化しない時間がある程度長く続いた場合には、エンコーダー421の故障が疑われることになる。
However, in reality, due to various causes such as power signal fluctuation and noise, slight torque is generated, and the encoder value E slightly changes accordingly. Therefore, even if the operation command value M is to keep the output shaft of the
そこで、エンコーダー値監視部824は、動作指令値Mが出力されている間、エンコーダー値Eが不変化を継続させている時間、すなわち「不変化継続時間」を監視し、その監視結果を出力する。
Therefore, the encoder
なお、本実施形態では、エンコーダー値監視部824が動作指令値Mを受信することにより、動作指令値Mが出力されている期間を確認するように構成されているが、動作指令値Mが出力されている期間の確認方法は、これに限定されない。
In this embodiment, the encoder
4.2.3.故障判断工程
故障判断工程S206では、不変化継続時間がしきい値以上であったとき、故障判断部826が、エンコーダー421が故障していると判断する。これにより、エンコーダー421として非セーフティーエンコーダーを用いた場合であっても、エンコーダー421の故障を容易に検出することができる。そして、このような故障診断機能を有するロボット監視装置82は、非セーフティーエンコーダーを用いた場合であって、かつ、モーター401Mの出力軸を現在の位置で維持するという動作指令値Mが出力されている場合であっても、ロボット安全規格に規定されている安全要求事項に対応する安全機能を提供することができる。その結果、ロボットシステム1において低コスト化と高い安全性能とを両立することができる。
4.2.3. Failure Judgment Step In the failure judgment step S206, the
一方、故障判断工程S106では、不変化継続時間がしきい値未満であったとき、フローをエンコーダー値取得工程S202に戻す。 On the other hand, in the failure judgment step S106, when the unchanged duration time is less than the threshold value, the flow is returned to the encoder value acquisition step S202.
不変化継続時間についてのしきい値は、エンコーダー421の分解能等に応じて異なるため、特に限定されないが、例えば、100ミリ秒以下であるのが好ましく、50ミリ秒以下であるのがより好ましく、10ミリ秒以上30ミリ秒以下であるのがさらに好ましい。しきい値を前記範囲内に設定することにより、十分に高い確率でエンコーダー421の故障を捉えることができ、かつ、正常なエンコーダー421が故障していると誤判断する確率を十分に下げることができる。
The threshold for the unchanged duration is not particularly limited because it varies depending on the resolution of the
4.2.4.動力遮断工程
また、本実施形態に係るエンコーダーの故障診断方法は、図7に示すように、任意の工程である動力遮断工程S208を有している。
4.2.4. Power Cutoff Step As shown in FIG. 7, the encoder failure diagnosis method according to the present embodiment has a power cutoff step S208, which is an optional step.
動力遮断工程S208では、故障判断部826から出力された判断結果に基づいて、遮断信号出力部832が、遮断信号Bを出力する。具体的には、エンコーダー421が故障しているという判断結果が出力された場合に、遮断信号Bが出力される。
In the power cutoff step S208, the cutoff
図5に示す動力遮断部85は、この遮断信号Bを受信して、電力供給路91を遮断する。これにより、駆動部401~406の動作を停止させることができる。その結果、エンコーダー421が故障していると判断された状態で、ロボットシステム1が稼働し続けるのを防止することができ、ロボットシステム1の安全性能を高めることができる。
The
以上のように、本実施形態に係るエンコーダーの故障診断方法は、動作指令値Mに基づいて駆動が制御されるモーター401Mの動作を検出し、エンコーダー値Eを出力するエンコーダー421の故障を診断する方法である。この故障診断方法は、エンコーダー値取得工程S202と、エンコーダー値不変化検出工程S204と、故障判断工程S206と、を有する。
As described above, the encoder failure diagnosis method according to the present embodiment detects the operation of the
エンコーダー値取得工程S202では、動作指令値Mが出力されているとき、エンコーダー値Eを取得する。エンコーダー値不変化検出工程S204では、エンコーダー値Eの変化の有無を検出する。故障判断工程S206では、エンコーダー値Eが連続して変化しない時間がしきい値以上になったとき、エンコーダー421が故障していると判断する。
In the encoder value acquisition step S202, the encoder value E is acquired when the operation command value M is being output. In the encoder value unchanged detection step S204, whether or not the encoder value E has changed is detected. In the failure determination step S206, when the time for which the encoder value E does not change continuously is equal to or greater than the threshold value, it is determined that the
このような構成によれば、モーター401Mの出力軸を現在の位置で維持するという動作指令値Mが出力されている場合であっても、エンコーダー421の故障を検出することができる。このため、エンコーダー421として非セーフティーエンコーダーを用いた場合であっても、ロボット安全規格に規定されている安全要求事項に対応する安全機能を提供可能なロボットシステム1を実現することができる。その結果、ロボットシステム1において低コスト化と高い安全性能とを両立することができる。
According to such a configuration, it is possible to detect a failure of the
なお、前述したロボットシステム1の説明では、ロボット監視装置82が上記故障診断方法を実行する場合について説明したが、ロボットコントローラー81が上記故障診断方法を実行するように構成されていてもよい。
In the above description of the
また、特にエンコーダー421がアブソリュートエンコーダーである場合には、エンコーダー値Eは、デジタル信号で伝送されるアブソリュートコードである。この場合、エンコーダー値不変化検出工程S204において検出対象となるエンコーダー値Eの変化の有無は、アブソリュートコードの全ビットにおける変化の有無であってもよいが、アブソリュートコードの下位ビットにおける変化の有無であってもよい。後者の場合、検出対象の情報量を減らすことができるので、変化の有無を検出する演算の負荷を軽減することができる。なお、下位ビットのみにおける変化の有無を検出した場合、全ビットにおける変化の有無を検出した場合と比べて、検出精度に大きな差はない。
Moreover, especially when the
また、本実施形態に係るエンコーダーの故障診断方法は、動作指令値取得工程S102と、差分算出工程S104と、故障判断工程S106と、を有する。 Further, the encoder failure diagnosis method according to the present embodiment includes an operation command value acquisition step S102, a difference calculation step S104, and a failure determination step S106.
動作指令値取得工程S102では、動作指令値Mを取得する。差分算出工程S104では、動作指令値Mとエンコーダー値Eとの差分を算出する。故障判断工程S106では、この差分が許容範囲を逸脱したとき、エンコーダー421が故障していると判断する。
In the operation command value acquisition step S102, an operation command value M is acquired. In the difference calculation step S104, the difference between the operation command value M and the encoder value E is calculated. In the failure determination step S106, it is determined that the
このような構成によれば、エンコーダー値Eの不変化の監視による方法だけでなく、エンコーダー値Eと動作指令値Mとの比較による方法によっても、エンコーダー421の故障を診断することができる。これにより、安全機能の多重化を図ることができる。その結果、ロボットシステム1の安全性能をより高めることができる。
According to such a configuration, failure of the
また、前述したロボット監視装置82は、ロボット2の動作を監視する装置である。ロボット2は、アーム11と、モーター401Mと、エンコーダー421と、を備える。モーター401Mは、動作指令値Mに基づいてアーム11を駆動する。エンコーダー421は、モーター401Mの動作を検出してエンコーダー値Eを出力する。
Further, the
このようなロボット監視装置82は、エンコーダー値取得部822と、エンコーダー値監視部824と、故障判断部826と、を備える。エンコーダー値取得部822は、エンコーダー値Eを取得する。エンコーダー値監視部824は、エンコーダー値Eの変化の有無を検出する。故障判断部826は、エンコーダー値Eが連続して変化しない時間がしきい値以上になったとき、エンコーダー421が故障していると判断する。
Such a
このような構成によれば、モーター401Mの出力軸を現在の位置で維持するという動作指令値Mが出力されている場合であっても、エンコーダー421の故障を検出することができる。このため、エンコーダー421として非セーフティーエンコーダーを用いた場合であっても、ロボット安全規格に規定されている安全要求事項に対応する安全機能を提供可能なロボットシステム1を実現することができる。その結果、低コスト化と高い安全性能とが両立したロボットシステム1を提供することができる。
According to such a configuration, it is possible to detect a failure of the
なお、前述したロボットシステム1の説明では、ロボット監視装置82が上記故障診断機能を有している場合について説明したが、ロボットコントローラー81が上記故障診断機能を有していてもよい。
In the above description of the
また、前述したロボット監視装置82は、動作指令値取得部828と、差分算出部830と、を備える。動作指令値取得部828は、動作指令値Mを取得する。差分算出部830は、動作指令値Mとエンコーダー値Eとの差分を算出する。そして、前述した故障判断部826は、算出した差分が許容範囲を逸脱したとき、エンコーダー421が故障していると判断する機能を有する。
Further, the
このような構成によれば、エンコーダー値Eの不変化の監視だけでなく、エンコーダー値Eと動作指令値Mとの比較によっても、エンコーダー421の故障を診断することができる。これにより、安全機能の多重化を図ることができる。その結果、ロボットシステム1の安全性能をより高めることができる。
According to such a configuration, failure of the
また、ロボットシステム1は、ロボット監視装置82と、動作指令値Mを出力するロボットコントローラー81と、ロボット2と、を有する。
The
このようなロボットシステム1は、エンコーダー421として非セーフティーエンコーダーを用いた場合であっても、ロボット安全規格に規定されている安全要求事項に対応する安全機能を提供可能なシステムとなる。したがって、安全性能の高いロボットシステム1を実現することができる。
Such a
以上、本発明のエンコーダーの故障診断方法、ロボット監視装置およびロボットシステムを図示の実施形態に基づいて説明したが、これらの本発明は、前記実施形態に限定されない。 Although the encoder failure diagnosis method, the robot monitoring device, and the robot system according to the present invention have been described above based on the illustrated embodiments, the present invention is not limited to the above embodiments.
例えば、本発明のロボット監視装置およびロボットシステムは、前記実施形態の各部の構成を、同様の機能を有する任意の構成に置換したものであってもよく、前記実施形態に他の任意の構成物が付加されたものであってもよい。 For example, the robot monitoring device and the robot system of the present invention may be obtained by replacing the configuration of each part of the above-described embodiment with an arbitrary configuration having similar functions, or any other configuration in addition to the above-described embodiment. may be added.
また、本発明のエンコーダーの故障診断方法は、前記実施形態に任意の目的の工程が付加されたものであってもよい。 Further, the method for diagnosing an encoder fault according to the present invention may be obtained by adding an arbitrary step to the above-described embodiment.
1…ロボットシステム、2…ロボット、4…基台、8…ロボット制御装置、9…電源、10…ロボットアーム、11…第1アーム、12…第2アーム、13…第3アーム、14…第4アーム、15…第5アーム、16…第6アーム、81…ロボットコントローラー、82…ロボット監視装置、85…動力遮断部、91…電力供給路、101…床、171…第1関節部、172…第2関節部、173…第3関節部、174…第4関節部、175…第5関節部、176…第6関節部、301…駆動制御部、302…駆動制御部、303…駆動制御部、304…駆動制御部、305…駆動制御部、306…駆動制御部、401…駆動部、401M…モーター、402…駆動部、402M…モーター、403…駆動部、403M…モーター、404…駆動部、404M…モーター、405…駆動部、405M…モーター、406…駆動部、406M…モーター、411…角度センサー、412…角度センサー、413…角度センサー、414…角度センサー、415…角度センサー、416…角度センサー、421…エンコーダー、822…エンコーダー値取得部、824…エンコーダー値監視部、826…故障判断部、828…動作指令値取得部、830…差分算出部、832…遮断信号出力部、912…プロセッサー、914…メモリー、916…外部インターフェース、922…プロセッサー、924…メモリー、926…外部インターフェース、B…遮断信号、E…エンコーダー値、M…動作指令値、O1…第1回動軸、O2…第2回動軸、O3…第3回動軸、O4…第4回動軸、O5…第5回動軸、O6…第6回動軸、S102…動作指令値取得工程、S103…エンコーダー値取得工程、S104…差分算出工程、S106…故障判断工程、S108…動力遮断工程、S202…エンコーダー値取得工程、S204…エンコーダー値不変化検出工程、S206…故障判断工程、S208…動力遮断工程
DESCRIPTION OF
Claims (6)
前記動作指令値が出力されているとき、前記エンコーダー値を取得する工程と、
前記エンコーダー値の変化の有無を検出する工程と、
前記エンコーダー値が連続して変化しない時間がしきい値以上であるとき、前記エンコーダーが故障していると判断する工程と、
を有することを特徴とするエンコーダーの故障診断方法。 A method for detecting the operation of a motor whose drive is controlled based on an operation command value and diagnosing a failure of an encoder that outputs an encoder value,
obtaining the encoder value when the operation command value is being output;
detecting the presence or absence of a change in the encoder value;
determining that the encoder is faulty when the time for which the encoder value does not change continuously is greater than or equal to a threshold;
A fault diagnosis method for an encoder, comprising:
前記エンコーダー値の変化の有無は、前記アブソリュートコードの下位ビットにおける変化の有無である請求項1に記載のエンコーダーの故障診断方法。 the encoder value is an absolute code transmitted as a digital signal;
2. The encoder fault diagnosis method according to claim 1, wherein the presence or absence of change in the encoder value is the presence or absence of change in the lower bits of the absolute code.
前記動作指令値と前記エンコーダー値との差分を算出する工程と、
前記差分が許容範囲を逸脱したとき、前記エンコーダーが故障していると判断する工程と、
を有する請求項1または2に記載のエンコーダーの故障診断方法。 obtaining the operation command value;
calculating a difference between the operation command value and the encoder value;
determining that the encoder is faulty when the difference deviates from an allowable range;
The encoder failure diagnosis method according to claim 1 or 2, comprising:
前記エンコーダー値を取得するエンコーダー値取得部と、
前記エンコーダー値の変化の有無を検出するエンコーダー値監視部と、
前記エンコーダー値が連続して変化しない時間がしきい値以上であるとき、前記エンコーダーが故障していると判断する機能を有する故障判断部と、
を備えることを特徴とするロボット監視装置。 A robot monitoring device for monitoring the motion of a robot comprising an arm, a motor for driving the arm based on a motion command value, and an encoder for detecting the motion of the motor and outputting an encoder value,
an encoder value acquisition unit that acquires the encoder value;
an encoder value monitoring unit that detects whether or not the encoder value changes;
a failure judgment unit having a function of judging that the encoder is out of order when the time during which the encoder value does not change continuously is equal to or greater than a threshold value;
A robot monitoring device comprising:
前記動作指令値と前記エンコーダー値との差分を算出する差分算出部と、
を備え、
前記故障判断部は、前記差分が許容範囲を逸脱したとき、前記エンコーダーが故障していると判断する機能を有する請求項4に記載のロボット監視装置。 an operation command value acquisition unit that acquires the operation command value;
a difference calculation unit that calculates the difference between the operation command value and the encoder value;
with
5. The robot monitoring apparatus according to claim 4, wherein the failure judgment section has a function of judging that the encoder is out of order when the difference deviates from an allowable range.
前記動作指令値を出力するロボットコントローラーと、
前記ロボットと、
を有することを特徴とするロボットシステム。 A robot monitoring device according to claim 4 or 5;
a robot controller that outputs the motion command value;
the robot;
A robot system comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021064830A JP2022160206A (en) | 2021-04-06 | 2021-04-06 | Method for diagnosing failure of encoder, robot monitoring device, and robot system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021064830A JP2022160206A (en) | 2021-04-06 | 2021-04-06 | Method for diagnosing failure of encoder, robot monitoring device, and robot system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2022160206A true JP2022160206A (en) | 2022-10-19 |
Family
ID=83657639
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021064830A Pending JP2022160206A (en) | 2021-04-06 | 2021-04-06 | Method for diagnosing failure of encoder, robot monitoring device, and robot system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2022160206A (en) |
-
2021
- 2021-04-06 JP JP2021064830A patent/JP2022160206A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4833084B2 (en) | Robot and method of using the same | |
US8712589B2 (en) | System and method for judging success or failure of work of robot | |
US10369691B2 (en) | Robot | |
US20200173814A1 (en) | Encoder abnormality detection method | |
US20110221377A1 (en) | Servo system, servo motor driving device, safety unit and method for controlling servo system | |
US7145306B2 (en) | Method, system, and program for controlling moving body | |
JP4930969B2 (en) | Robot controller | |
JP6607098B2 (en) | Speed monitoring device and speed monitoring method | |
JP4391381B2 (en) | Abnormality determination device for reduction gear of articulated robot and abnormality determination method for reduction gear of articulated robot | |
CN110831730B (en) | Robot system | |
CN114851186B (en) | Robot control device and robot system | |
JP2022160206A (en) | Method for diagnosing failure of encoder, robot monitoring device, and robot system | |
US20220161433A1 (en) | Extendable safety system for robot system | |
JP7110843B2 (en) | Abnormality determination device and abnormality determination method | |
JPH08286701A (en) | Multi-robot control method and system | |
US11358276B2 (en) | Robot and robot system | |
JP4577607B2 (en) | Robot control device and robot system | |
JP2006116635A5 (en) | ||
JP7004942B2 (en) | Contact detection method for robot control devices, robot systems and robot arms | |
WO2024085148A1 (en) | Robot system | |
US11752630B2 (en) | Speed control method for robot to which one of a plurality of end effectors is detachably attachable and robot system including robot to which one of a plurality of end effectors is detachably attachable | |
JP2024044523A (en) | Calculation method and calculation device | |
JP2020183021A (en) | Control method, control program, recording medium, robot system, robot device, production system, production method of article, and external input device |