JP6840875B2 - Control method, control program, recording medium, robot system, article manufacturing method, rotation drive device control method - Google Patents

Control method, control program, recording medium, robot system, article manufacturing method, rotation drive device control method Download PDF

Info

Publication number
JP6840875B2
JP6840875B2 JP2020008222A JP2020008222A JP6840875B2 JP 6840875 B2 JP6840875 B2 JP 6840875B2 JP 2020008222 A JP2020008222 A JP 2020008222A JP 2020008222 A JP2020008222 A JP 2020008222A JP 6840875 B2 JP6840875 B2 JP 6840875B2
Authority
JP
Japan
Prior art keywords
joint
resonance
control method
transmission
intensity
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.)
Active
Application number
JP2020008222A
Other languages
Japanese (ja)
Other versions
JP2020059122A (en
Inventor
裕 土屋
裕 土屋
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP2020008222A priority Critical patent/JP6840875B2/en
Publication of JP2020059122A publication Critical patent/JP2020059122A/en
Application granted granted Critical
Publication of JP6840875B2 publication Critical patent/JP6840875B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Manipulator (AREA)

Description

本発明は、制御方法、制御プログラム、記録媒体、ロボットシステム、物品の製造方法、回転駆動装置の制御方法に関する。 The present invention is a control method, a control program, a recording medium, a robot system, a method of manufacturing an article, relates to control how the rotary drive.

近年、工業生産の分野で、人間の手のように複雑で高速な物品の製造作業を実現できる多関節のロボット装置(以下ロボット装置という)を利用した生産(製造)装置が普及しつつある。この種の複雑な動作が可能なロボット装置では、ロボットアームの動作の自由度が高くなる分、作業中に、ロボットアームと周囲環境のワークや工具等の他の物体と接触、干渉する可能性がある。例えば、ロボットアームが周囲の物体等と接触するなどしてアームの関節に配置された変速(減速)機に衝撃が加わると、減速機に歯飛び等の故障を引き起こすおそれがある。 In recent years, in the field of industrial production, a production (manufacturing) device using an articulated robot device (hereinafter referred to as a robot device) capable of realizing a complicated and high-speed manufacturing work of an article like a human hand has become widespread. In a robot device capable of this kind of complicated movement, the degree of freedom of movement of the robot arm is increased, so that the robot arm may come into contact with or interfere with other objects such as workpieces and tools in the surrounding environment during work. There is. For example, if the robot arm comes into contact with a surrounding object or the like and an impact is applied to the speed reducer (deceleration) arranged at the joint of the arm, the speed reducer may cause a failure such as tooth skipping.

この種のロボットアームの関節を駆動するアクチュエータは、例えばサーボモータおよび変速機から構成されている。この種の変速機は、一般にサーボモータのような回転駆動源の回転数領域と、アームのリンクを回転させるための回転数領域の関係から減速機として構成されることが多い。このため、以下では、この種のロボット装置で用いられる変速機を代表するものとして減速機を例示することがある。 The actuator that drives the joints of this type of robot arm comprises, for example, a servomotor and a transmission. This type of transmission is generally configured as a speed reducer because of the relationship between the rotation speed region of a rotation drive source such as a servomotor and the rotation speed region for rotating the arm link. Therefore, in the following, a speed reducer may be exemplified as a representative of a transmission used in this type of robot device.

この変速機は、サイズや形状に比して大きな減速比を得られる波動歯車機構を用いた変速機が広く用いられる。この波動歯車機構を利用した変速(減速)機では、歯飛びなどの故障によって関節の角度伝達精度が低下し、ロボットアームの作動精度を低下させる可能性がある。 As this transmission, a transmission using a wave gear mechanism that can obtain a large reduction ratio in comparison with the size and shape is widely used. In a transmission (reduction) machine using this wave gear mechanism, the angle transmission accuracy of joints may decrease due to a failure such as tooth skipping, and the operation accuracy of the robot arm may decrease.

以上のような事情に鑑み、近年、ロボットアームの干渉、衝突に関して様々な技術が提案されている。例えば、ロボットアームの各関節のアクチュエータ(モータおよび変速機)の入力側と出力側に角度検出器を設け、検出される角度差から衝突を判断し、衝突と判断した場合にはロボットアームを逆方向に駆動させる技術が提案されている(特許文献1参照)。また、アームの干渉、衝突後の関節のアクチュエータ(モータおよび変速機)の状態を検出する技術も知られている。例えば各関節のアクチュエータを駆動した際のアームの振動をモータトルク値に基づき算出したトルク変動値を用いて検出し、変動幅を閾値と比較することで交換の要否を判断する技術が提案されている(特許文献2参照)。 In view of the above circumstances, various techniques for interference and collision of robot arms have been proposed in recent years. For example, angle detectors are provided on the input side and output side of the actuators (motor and transmission) of each joint of the robot arm, the collision is judged from the detected angle difference, and when it is judged as a collision, the robot arm is reversed. A technique for driving in a direction has been proposed (see Patent Document 1). Also known is a technique for detecting arm interference and the state of joint actuators (motors and transmissions) after a collision. For example, a technique has been proposed in which the vibration of the arm when driving the actuator of each joint is detected using the torque fluctuation value calculated based on the motor torque value, and the fluctuation width is compared with the threshold value to determine the necessity of replacement. (See Patent Document 2).

特開2010−228028号公報JP-A-2010-228028 特開2006−281421号公報Japanese Unexamined Patent Publication No. 2006-281421

上記の特許文献1に記載の技術は、ロボットアームに接触が発生したことは検知可能であるが、変速機は外部からの視認が困難であるため、接触による変速機の損傷の程度までは知ることができない。そのため、変速機の損傷を判断するには、変速機を分解して歯車の歯面を確認し、交換の要否を判断する必要がある。しかしながら、分解による変速機の損傷判断は、ロボットアームから変速機を取り外す作業が必要であり、多くの時間を必要とするという問題がある。一方、特許文献2に記載の技術は、異常検知に用いる値をモータトルク値より求めていることから自身のサーボ応答性が影響するため、それほど高い検出精度を得られない、という問題がある。 The technique described in Patent Document 1 can detect that a contact has occurred in the robot arm, but since it is difficult for the transmission to be visually recognized from the outside, the degree of damage to the transmission due to the contact is known. Can't. Therefore, in order to determine the damage of the transmission, it is necessary to disassemble the transmission, check the tooth surface of the gear, and determine the necessity of replacement. However, determining damage to the transmission due to disassembly requires a work of removing the transmission from the robot arm, which causes a problem that a large amount of time is required. On the other hand, the technique described in Patent Document 2 has a problem that it is not possible to obtain so high detection accuracy because its own servo responsiveness affects because the value used for abnormality detection is obtained from the motor torque value.

そこで、本発明の課題は、ロボット装置の関節に配置された変速機の状態を高速かつ確実に検出できるようにすることにある。 Therefore, an object of the present invention is to enable high-speed and reliable detection of the state of the transmission arranged at the joint of the robot device.

上記課題を解決するため、本発明においては、回転駆動源と、前記回転駆動源により駆動される変速機と、前記変速機の入力側と出力側との相対角度を検出する第1の角度センサと、を備えた関節を有するロボット装置の制御方法において、制御装置が、前記回転駆動源を駆動させて、前記第1の角度センサを用いて前記関節の共振の強度を取得する取得工程と、前記制御装置が、前記取得工程で得た前記関節の共振の強度に応じて前記変速機の状態を検出する検出工程と、前記検出工程で検出した、前記変速機の状態を出力する出力工程と、を備えた構成を採用した。 To solve the above problems, the present invention, a first angle sensor for detecting a relative angle between the rotational drive source, a transmission driven by said rotary driving source, the input side and the output side of the transmission In the control method of the robot device having the joint provided with the above, the control device drives the rotation drive source and acquires the resonance intensity of the joint by using the first angle sensor. A detection step in which the control device detects the state of the transmission according to the resonance intensity of the joint obtained in the acquisition step, and an output step of outputting the state of the transmission detected in the detection step. , Was adopted.

以上の構成によれば、ロボット装置の部品交換判定などを迅速に行うことができ、ロボット装置の関節(変速機)を適切な状態に維持することができる。 According to the above configuration, it is possible to perform such a quick component replacement determination robot apparatus, Ru can keep the joints of the robot device (transmission) to the appropriate state.

本発明の実施形態に係るロボット装置の全体構成を示した斜視図である。It is a perspective view which showed the whole structure of the robot apparatus which concerns on embodiment of this invention. 図1のロボット装置の関節近傍の構成を示した断面図である。It is sectional drawing which showed the structure of the vicinity of the joint of the robot apparatus of FIG. 図2のロボット装置の制御装置の構成を示したブロック図である。It is a block diagram which showed the structure of the control device of the robot device of FIG. 図2のロボット装置の制御装置の機能構成をブロック図である。It is a block diagram of the functional structure of the control device of the robot device of FIG. 図1のロボット装置の検査に係る制御手順を示したフローチャート図である。It is a flowchart which showed the control procedure which concerns on the inspection of the robot apparatus of FIG. 図1のロボット装置の検査において用いられるロボットアームの姿勢を示した説明図である。It is explanatory drawing which showed the posture of the robot arm used in the inspection of the robot apparatus of FIG. 図1のロボット装置の検査時の関節速度の制御を示した説明図である。It is explanatory drawing which showed the control of the joint speed at the time of inspection of the robot apparatus of FIG. 図1のロボット装置の検査において、振動検査結果から判定値Aを算出する演算手順を示したフローチャート図である。FIG. 5 is a flowchart showing a calculation procedure for calculating a determination value A from a vibration inspection result in the inspection of the robot device of FIG. 1. (a)、(b)はそれぞれ、図1のロボット装置の診断処理(診断モード)において、判定値Aの生成手法を示した波形図である。(A) and (b) are waveform diagrams showing the method of generating the determination value A in the diagnostic process (diagnosis mode) of the robot device of FIG. 1, respectively. (a)はロボットアームの関節に配置されたエンコーダから取得した位置信号のパルス波形を示した波形図、(b)は(a)の波形から指令動作成分を除去した位置信号のパルス波形を示した波形図である。(A) shows a waveform diagram showing a pulse waveform of a position signal acquired from an encoder arranged at a joint of a robot arm, and (b) shows a pulse waveform of a position signal obtained by removing a command operation component from the waveform of (a). It is a waveform diagram.

以下、添付図面に示す実施例を参照して本発明を実施するための形態につき説明する。なお、以下に示す実施例はあくまでも一例であり、例えば細部の構成については本発明の趣旨を逸脱しない範囲において当業者が適宜変更することができる。また、本実施形態で取り上げる数値は、参考数値であって、本発明を限定するものではない。 Hereinafter, embodiments for carrying out the present invention will be described with reference to the examples shown in the accompanying drawings. It should be noted that the examples shown below are merely examples, and for example, those skilled in the art can appropriately change the detailed configuration without departing from the spirit of the present invention. Further, the numerical values taken up in the present embodiment are reference numerical values and do not limit the present invention.

本実施形態に係るロボット装置は、組み立て作業等を行う産業用のロボット装置であり、このロボット装置の変速機の劣化状態、特に故障検出および故障防止のための機能(状態を診断可能な機能)を備えている。本実施形態でいう故障とは、変速機の使用不能状態に加え、変速機を通常用途に使用することができない通常使用不能状態を含む。この通常使用不能状態とは、例えば所定の用途に要求される使用条件に対する許容範囲(通常使用可能状態)を超えた状態をいう。 The robot device according to the present embodiment is an industrial robot device that performs assembly work and the like, and is a function for detecting and preventing a deterioration of the transmission of the robot device (a function capable of diagnosing the state). It has. The failure referred to in the present embodiment includes, in addition to the unusable state of the transmission, a normally unusable state in which the transmission cannot be used for normal purposes. This normally unusable state means, for example, a state in which the permissible range (normally usable state) for the usage conditions required for a predetermined use is exceeded.

上記のように、ロボット装置の関節の変速機は、一般にサーボモータのような回転駆動源の回転数領域と、アームのリンクを回転させるための回転数領域の関係から減速機として構成されることが多い。このため、以下では、この種のロボット装置で用いられる変速機を代表するものとして減速機を例示する。 As described above, the transmission of the joint of the robot device is generally configured as a speed reducer from the relationship between the rotation speed region of a rotation drive source such as a servomotor and the rotation speed region for rotating the arm link. There are many. Therefore, in the following, a speed reducer will be illustrated as a representative of the transmission used in this type of robot device.

本実施形態では、ロボット装置の関節部に発生する共振現象を介して、特に波動歯車機構を利用した減速機の(劣化)状態を診断する。このロボット装置の関節部の共振現象を介した関節部の変速機の劣化状態の検出は次のような原理に基づく。 In the present embodiment, the (deteriorated) state of the speed reducer using the wave gear mechanism is diagnosed through the resonance phenomenon generated in the joint portion of the robot device. The detection of the deterioration state of the transmission of the joint portion through the resonance phenomenon of the joint portion of this robot device is based on the following principle.

上述の緩衝や衝突に起因する減速機の損傷が生じると、歯飛びや損傷により生じた小片の噛み込みなどにより、角度伝達誤差が生じる。この角度伝達誤差は、例えば減速機の1次側の入力角度と、変速比を介して減速機の2次側に得られる出力角度の誤差である。 When the speed reducer is damaged due to the above-mentioned buffering or collision, an angle transmission error occurs due to tooth skipping or biting of small pieces caused by the damage. This angle transmission error is, for example, an error between the input angle on the primary side of the speed reducer and the output angle obtained on the secondary side of the speed reducer via the gear ratio.

一方で、波動歯車を利用した減速機を用いたロボットの関節には、次式(1)に示すような共振周波数f(Hz:固有振動数)が存在する。 On the other hand, the joint of the robot using the speed reducer using the wave gear has a resonance frequency f (Hz: natural frequency) as shown in the following equation (1).

Figure 0006840875
Figure 0006840875

ここでfは減速機を含む振動系の共振周波数(Hz:固有振動数)、Kは減速機のばね定数、Jは減速機が設けられた関節により駆動される負荷の負荷イナーシャ(Kgm)である。このうち、ばね定数Kは定数項であって、減速機の型式ごとに固有である。また、Jは対象の関節軸にかかる慣性モーメントに相当し、その大きさはロボットアームの姿勢によって変化する。 Here, f is the resonance frequency (Hz: natural frequency) of the vibration system including the reducer, K is the spring constant of the reducer, and J is the load inertia (Kgm 2 ) of the load driven by the joint provided with the reducer. Is. Of these, the spring constant K is a constant term and is unique to each model of the reducer. Further, J corresponds to the moment of inertia applied to the joint axis of the target, and its magnitude changes depending on the posture of the robot arm.

また、減速機は回転駆動系であり、上記の共振周波数f(Hz:固有振動数)は次式(2)のような回転数R(rpm:1分あたりの回転数)に相当する。 Further, the speed reducer is a rotation drive system, and the above-mentioned resonance frequency f (Hz: natural frequency) corresponds to the rotation speed R (rpm: rotation speed per minute) as in the following equation (2).

Figure 0006840875
Figure 0006840875

従って、減速機の入力側の回転速度が式(2)を満たす回転数Rになったとき、関節に共振現象が発生する。即ち、当該の関節を駆動すると、式(2)の駆動回転数近傍で上記の共振周波数fに一致する速度ムラが発生する。 Therefore, when the rotation speed on the input side of the speed reducer reaches the rotation speed R satisfying the equation (2), a resonance phenomenon occurs in the joint. That is, when the joint is driven, speed unevenness corresponding to the resonance frequency f occurs in the vicinity of the driving rotation speed of the equation (2).

このような減速機の角度伝達誤差と共振の大きさには関係がある。たとえば、衝突のような急激な過負荷によって欠けてしまった減速機歯車の歯片を他の歯が周期的に噛みこむことによって角度伝達誤差となり、それが共振周波数に一致した場合、アームは正常な状態よりも大きく共振する。また歯車に損傷がない場合でも、減速機(全体)が楕円状に歪んでしまっていると、減速機の波動歯車機構を構成する部品の1つであるウェブジェネレータが周期的に変形し、同様に大きく共振する。 There is a relationship between the angle transmission error of such a reducer and the magnitude of resonance. For example, if another tooth periodically bites a tooth piece of a reduction gear that has been chipped due to a sudden overload such as a collision, resulting in an angle transmission error that matches the resonance frequency, the arm is normal. Resonates more than in a normal state. Even if the gears are not damaged, if the reducer (whole) is distorted in an elliptical shape, the web generator, which is one of the components that make up the wave gear mechanism of the reducer, is periodically deformed, and the same is true. Resonates greatly.

以上のように、ロボットの関節に発生する共振現象は、減速機の角度伝達誤差が出力側エンコーダ16で検出可能な関節の振動という形で発現しているものと考えることができる。従って、ロボットアームの関節(の減速機)に生じる共振の強度、例えば振幅を測定し、この共振振幅を角度伝達誤差に応じたインデックス(目安)値として予め定めた基準値と比較することにより減速機を診断することができる。 As described above, it can be considered that the resonance phenomenon generated in the joint of the robot is expressed in the form of the vibration of the joint in which the angle transmission error of the speed reducer can be detected by the output side encoder 16. Therefore, the intensity of resonance generated in the joint (reducer) of the robot arm, for example, the amplitude is measured, and the resonance amplitude is decelerated by comparing it with a predetermined reference value as an index (reference) value according to the angle transmission error. The machine can be diagnosed.

以下、図1〜10に示す実施例を参照し、上記の原理に基づきロボット装置の関節に係る測定および診断につき、具体的に説明する。 Hereinafter, the measurement and diagnosis of the joints of the robot device will be specifically described with reference to the examples shown in FIGS. 1 to 10.

図1から図3は、本発明を実施可能なロボットシステム500の構成の一例を示している。図1はロボットシステム500の全体構成を模式的に示している。図2は図1のロボットシステム500の1つの関節近傍の断面構造を示している。また、図3は図1のロボットシステム500の制御装置200の構成を示している。 1 to 3 show an example of a configuration of a robot system 500 in which the present invention can be implemented. FIG. 1 schematically shows the overall configuration of the robot system 500. FIG. 2 shows a cross-sectional structure in the vicinity of one joint of the robot system 500 of FIG. Further, FIG. 3 shows the configuration of the control device 200 of the robot system 500 of FIG.

図1に示すように、ロボットシステム500は、ワークWの組立てを行うロボット装置100、このロボット装置100を制御する制御装置200、および制御装置200に接続されたティーチングペンダント300を備えている。 As shown in FIG. 1, the robot system 500 includes a robot device 100 for assembling a work W, a control device 200 for controlling the robot device 100, and a teaching pendant 300 connected to the control device 200.

ロボット装置100は、6軸多関節のロボットアーム101と、ロボットアーム101の先端に接続されたハンド(エンドエフェクタ)102と、ハンド102に作用する力等を検出可能な力センサ(不図示)とを備えている。 The robot device 100 includes a 6-axis articulated robot arm 101, a hand (end effector) 102 connected to the tip of the robot arm 101, and a force sensor (not shown) capable of detecting a force acting on the hand 102. It has.

ロボットアーム101は、作業台に固定されるベース部103(基台)と、変位や力を伝達する複数のリンク121〜126と、各リンク121〜126を旋回又は回転可能に連結する複数の関節111〜116と、を備えている。本実施形態においては、複数の関節111〜116の構成は基本的には同一である。このため、以下では、関節111〜116に共通する構成については、代表してリンク121とリンク122との間の関節112の構成を説明することとし、他の関節111、113〜116の具体的な説明は省略するものとする。なお、関節112と同じ構成の関節は、ロボットアーム101の複数の関節111〜116のうちの少なくとも1カ所に備えていれば本実施例は実施可能である。 The robot arm 101 includes a base portion 103 (base) fixed to a workbench, a plurality of links 121 to 126 that transmit displacement and force, and a plurality of joints that rotatably or rotatably connect the links 121 to 126. 111 to 116. In the present embodiment, the configurations of the plurality of joints 111 to 116 are basically the same. Therefore, in the following, with respect to the configurations common to the joints 111 to 116, the configuration of the joint 112 between the link 121 and the link 122 will be described as a representative, and the other joints 111, 113 to 116 will be concretely described. The explanation will be omitted. It should be noted that this embodiment can be carried out as long as the joint having the same configuration as the joint 112 is provided at at least one of the plurality of joints 111 to 116 of the robot arm 101.

関節112は、図2に示すように、回転駆動源としてのサーボモータ(モータ)1と、サーボモータ1の出力を減速(変速)する減速機11を備えている(変速機)。この関節112の減速機11の出力側の回転角度(出力側回転角度)は出力側エンコーダ16(ロータリエンコーダ)によって検出される。この出力側エンコーダ16、および後述の入力側エンコーダ10は一般的なロータリエンコーダと同様の構成を有し、光学式あるいは磁気式方式のロータリエンコーダデバイスにより構成される。 As shown in FIG. 2, the joint 112 includes a servomotor (motor) 1 as a rotation drive source and a speed reducer 11 that decelerates (shifts) the output of the servomotor 1 (transmission). The output-side rotation angle (output-side rotation angle) of the speed reducer 11 of the joint 112 is detected by the output-side encoder 16 (rotary encoder). The output side encoder 16 and the input side encoder 10 described later have the same configuration as a general rotary encoder, and are composed of an optical or magnetic rotary encoder device.

サーボモータ1は、例えばブラシレスDCモータやACサーボモータなどの電磁モータにより構成することができる。サーボモータ1は、回転軸2とロータマグネット3とで構成された回転部4と、モータハウジング5と、回転軸2を回転自在に支持する軸受6、7と、回転部4を回転させるステータコイル8と、を備えている。軸受6、7はモータハウジング5に設けられ、ステータコイル8はモータハウジング5に取り付けられている。また、サーボモータ1はモータカバー9で囲われている。なお、サーボモータ1には、必要に応じて電源OFF時にロボットアーム101の姿勢を保持するためのブレーキユニットを設けてもよい。 The servo motor 1 can be configured by, for example, an electromagnetic motor such as a brushless DC motor or an AC servo motor. The servomotor 1 includes a rotating portion 4 composed of a rotating shaft 2 and a rotor magnet 3, a motor housing 5, bearings 6 and 7 that rotatably support the rotating shaft 2, and a stator coil that rotates the rotating portion 4. 8 and. The bearings 6 and 7 are provided in the motor housing 5, and the stator coil 8 is attached to the motor housing 5. Further, the servomotor 1 is surrounded by a motor cover 9. If necessary, the servomotor 1 may be provided with a brake unit for maintaining the posture of the robot arm 101 when the power is turned off.

減速機11は、入力部であるウェブジェネレータ12と、出力部であるサーキュラスプライン13と、ウェブジェネレータ12とサーキュラスプライン13との間に配置されたフレックススプライン14と、を備えている。ウェブジェネレータ12は、サーボモータ1の回転軸2の他端側に接続されている。サーキュラスプライン13は、リンク122に接続されている。フレックススプライン14は、リンク121に連結されている。つまり、サーボモータ1の回転軸2とウェブジェネレータ12との結合部が、減速機11の入力側となり、フレックススプライン14とリンク121との結合部が減速機11の出力側となる。そして、サーボモータ1の回転軸2は、減速機11を介して1/Nに減速(減速比Nで減速)され、リンク121とリンク122とが相対的に回転する。このときの減速機11の出力側の回転角度が、実出力角度、即ち関節112の角度となる。 The speed reducer 11 includes a web generator 12 as an input unit, a circular spline 13 as an output unit, and a flex spline 14 arranged between the web generator 12 and the circular spline 13. The web generator 12 is connected to the other end side of the rotating shaft 2 of the servomotor 1. The circular spline 13 is connected to the link 122. The flex spline 14 is connected to the link 121. That is, the coupling portion between the rotating shaft 2 of the servomotor 1 and the web generator 12 is on the input side of the speed reducer 11, and the coupling portion between the flex spline 14 and the link 121 is on the output side of the speed reducer 11. Then, the rotating shaft 2 of the servomotor 1 is decelerated to 1 / N (decelerated at a reduction ratio N) via the speed reducer 11, and the link 121 and the link 122 rotate relatively. The rotation angle on the output side of the speed reducer 11 at this time is the actual output angle, that is, the angle of the joint 112.

出力側エンコーダ(出力側角度センサ)16は、減速機11の出力側に設けられており、リンク121とリンク122との相対角度を検出する。具体的には、出力側エンコーダ16は、関節112の駆動(リンク121とリンク122との相対移動)に伴って出力側パルス信号を生成し、制御装置200に生成した出力側パルス信号を出力する。リンク121とリンク122との間には、クロスローラベアリング15が設けられており、リンク121とリンク122とは、クロスローラベアリング15を介して回転自在に連結されている。 The output side encoder (output side angle sensor) 16 is provided on the output side of the speed reducer 11 and detects the relative angle between the link 121 and the link 122. Specifically, the output side encoder 16 generates an output side pulse signal with the drive of the joint 112 (relative movement between the link 121 and the link 122), and outputs the generated output side pulse signal to the control device 200. .. A cross roller bearing 15 is provided between the link 121 and the link 122, and the link 121 and the link 122 are rotatably connected via the cross roller bearing 15.

また、サーボモータ1の回転軸2、すなわち減速機11の入力側には、入力側エンコーダ(入力側角度センサ)10を配置することができる。 Further, an input side encoder (input side angle sensor) 10 can be arranged on the rotation shaft 2 of the servomotor 1, that is, on the input side of the speed reducer 11.

ハンド102は、ワークWを把持可能な複数のフィンガと、複数のフィンガを駆動する不図示のアクチュエータと、を備えており、複数のフィンガを駆動することでワークを把持可能に構成されている。力センサは、ハンド102が複数のフィンガでワークWを把持する際等にハンド102に作用する力やモーメントを検出する。 The hand 102 includes a plurality of fingers capable of gripping the work W and an actuator (not shown) for driving the plurality of fingers, and is configured to be able to grip the work by driving the plurality of fingers. The force sensor detects the force or moment acting on the hand 102 when the hand 102 grips the work W with a plurality of fingers.

図3に示すように、制御装置200は、CPU(演算部)201と、ROM202と、RAM203と、HDD(記憶部)204と、記録用ディスクドライブ205と、各種のインタフェース211〜215と、を備えている。 As shown in FIG. 3, the control device 200 includes a CPU (calculation unit) 201, a ROM 202, a RAM 203, an HDD (storage unit) 204, a recording disk drive 205, and various interfaces 211 to 215. I have.

CPU201には、ROM202、RAM203、HDD204、記録用ディスクドライブ205および各種のインタフェース211〜215が、バス216を介して接続されている。ROM202には、BIOS等の基本プログラムが格納されている。RAM203はCPU201の演算処理結果を一時的に記憶する記憶領域を構成する。 A ROM 202, a RAM 203, an HDD 204, a recording disk drive 205, and various interfaces 211 to 215 are connected to the CPU 201 via a bus 216. A basic program such as a BIOS is stored in the ROM 202. The RAM 203 constitutes a storage area for temporarily storing the arithmetic processing result of the CPU 201.

HDD204は、CPU201の演算処理結果である各種のデータ等を記憶する記憶部であると共に、CPU201に、各種演算処理を実行させるための制御プログラム(:330、例えば、後述する診断プログラムを含む)を記録するものである。CPU201は、このHDD204に記録(格納)された制御プログラムに基づいて各種演算処理を実行する。記録ディスクドライブ205は、記憶ディスク331に記録された各種データやプログラム等を読み出すことができる。 The HDD 204 is a storage unit that stores various data and the like that are the results of arithmetic processing of the CPU 201, and also has a control program (: 330, including, for example, a diagnostic program described later) for causing the CPU 201 to execute various arithmetic processing. It is something to record. The CPU 201 executes various arithmetic processes based on the control program recorded (stored) in the HDD 204. The recording disk drive 205 can read various data, programs, and the like recorded on the storage disk 331.

特に、コンピュータ(CPU201)が実行する後述の制御手順に相当する制御プログラム330は、例えば図3のHDD204(あるいはROM202)に格納する。これらのROM202やHDD204のような記憶手段は、コンピュータ読み取り可能な記録媒体を構成する。また、これらのROM202やHDD204のようなコンピュータ読み取り可能な記録媒体(の一部)は、着脱可能なフラッシュメモリデバイスや磁気/光ディスクによって構成されていてもよい。また、コンピュータ(CPU201)が実行する後述の制御手順に相当するプログラムは、ネットワークなどを介してダウンロードされ、例えばHDD204などに導入する、あるいはそこに導入済みのソフトウェアを更新するような構成をとってもよい。 In particular, the control program 330 corresponding to the control procedure described later executed by the computer (CPU201) is stored in, for example, the HDD 204 (or ROM 202) of FIG. Storage means such as ROM 202 and HDD 204 constitute a computer-readable recording medium. Further, (a part of) a computer-readable recording medium such as ROM 202 or HDD 204 may be composed of a detachable flash memory device or a magnetic / optical disk. Further, the program corresponding to the control procedure described later executed by the computer (CPU201) may be downloaded via a network or the like and installed in, for example, HDD 204 or the software installed therein may be updated. ..

インタフェース211にはユーザによって操作されるティーチングペンダント300が接続されている。ティーチングペンダント300には、LCDパネルのような表示装置やキーボードなどから成るユーザインターフェイスが設けられている。このユーザインターフェイスを用いて、ユーザはロボット装置100の教示操作を行うことができる。これにより、例えばロボットアーム101の手先などに設定された基準点の位置姿勢(教示点)を指定したり、各関節111〜116の関節角度を指定したりすることができる。ティーチングペンダント300は、このようにして入力された各関節111〜116の目標関節角度をインタフェース211およびバス216を介してCPU201に出力する。 A teaching pendant 300 operated by the user is connected to the interface 211. The teaching pendant 300 is provided with a user interface including a display device such as an LCD panel and a keyboard. Using this user interface, the user can perform a teaching operation of the robot device 100. Thereby, for example, the position and orientation (teaching point) of the reference point set on the hand of the robot arm 101 can be specified, and the joint angles of the joints 111 to 116 can be specified. The teaching pendant 300 outputs the target joint angles of the joints 111 to 116 input in this way to the CPU 201 via the interface 211 and the bus 216.

インタフェース212には、ロボットアーム101の各関節111〜116の出力側エンコーダ16が接続されている。出力側エンコーダ16は、前述のように関節角度に対応するパルス信号をインタフェース212およびバス216を介してCPU201に出力する。さらに、インタフェース213および214には、モニタ311、および外部記憶装置312(書き換え可能な不揮発性メモリや外付けHDDなど)をそれぞれ接続することができる。モニタ311は例えばLCDパネルなどの表示装置であって、ロボット装置100の制御状態のモニタ表示などに用いられる他、後述の診断処理に関連する情報表示や警告メッセージの表示に用いることができる。 The output side encoders 16 of the joints 111 to 116 of the robot arm 101 are connected to the interface 212. As described above, the output side encoder 16 outputs the pulse signal corresponding to the joint angle to the CPU 201 via the interface 212 and the bus 216. Further, a monitor 311 and an external storage device 312 (rewritable non-volatile memory, external HDD, etc.) can be connected to the interfaces 213 and 214, respectively. The monitor 311 is, for example, a display device such as an LCD panel, and can be used not only for displaying a monitor of a control state of the robot device 100, but also for displaying information and a warning message related to a diagnostic process described later.

インタフェース215にはサーボ制御装置313が接続されており、CPU201は、サーボモータ1の回転軸2の回転角度の制御量を示す駆動指令のデータを所定間隔でバス216およびインタフェース215を介してサーボ制御装置313に出力する。 A servo control device 313 is connected to the interface 215, and the CPU 201 controls the drive command data indicating the control amount of the rotation angle of the rotation shaft 2 of the servomotor 1 via the bus 216 and the interface 215 at predetermined intervals. Output to device 313.

サーボ制御装置313は、CPU201から入力を受けた駆動指令に基づき、ロボットアーム101の各関節111〜116のサーボモータ1への電流の出力量を演算する。サーボ制御装置313は、得られた電流値に対応する電流をサーボモータ1に供給し、これによりロボットアーム101の関節111〜116の関節角度が制御される。即ち、CPU201は、サーボ制御装置313を介して関節111〜116の角度が目標関節角度となるようにサーボモータ1による関節111〜116の駆動を制御することができる。 The servo control device 313 calculates the amount of current output to the servomotor 1 of each joint 111-116 of the robot arm 101 based on the drive command input from the CPU 201. The servo control device 313 supplies a current corresponding to the obtained current value to the servomotor 1, whereby the joint angles of the joints 111 to 116 of the robot arm 101 are controlled. That is, the CPU 201 can control the drive of the joints 111 to 116 by the servomotor 1 so that the angle of the joints 111 to 116 becomes the target joint angle via the servo control device 313.

ここで、図4を参照して、本実施例の診断プログラム(例えば後述の図5)を実行する際に制御装置200が実行する機能につき説明する。図4の各機能ブロックは、コンピュータ(CPU201)のハードウェアおよびそのソフトウェアにより実装される。特にそのソフトウェア部分は、ROM202やHDD204などのコンピュータ読み取り可能な記録媒体に格納される。 Here, with reference to FIG. 4, the function executed by the control device 200 when executing the diagnostic program of this embodiment (for example, FIG. 5 described later) will be described. Each functional block of FIG. 4 is implemented by the hardware of the computer (CPU201) and its software. In particular, the software portion is stored in a computer-readable recording medium such as ROM 202 or HDD 204.

図4の機能構成は、実出力角演算部402、回転角度から共振による角度伝達誤差を算出する共振振幅演算部404、関節状態判定部406を含む。さらに、図4の機能構成は、関節の減速機11の診断を行うための振幅の基準値記憶部405と、出力側エンコーダ16が検出する出力側回転角度を記憶・蓄積する角度情報記憶部403と、検査用動作を記憶する検査用動作記憶部407を含む。 The functional configuration of FIG. 4 includes an actual output angle calculation unit 402, a resonance amplitude calculation unit 404 that calculates an angle transmission error due to resonance from a rotation angle, and a joint state determination unit 406. Further, the functional configuration of FIG. 4 includes an amplitude reference value storage unit 405 for diagnosing the joint speed reducer 11 and an angle information storage unit 403 that stores and stores the output side rotation angle detected by the output side encoder 16. And the inspection operation storage unit 407 that stores the inspection operation.

実出力角演算部402は出力側エンコーダ16から受けた出力側パルス信号(s401)をカウントして出力側回転角度(s402)を求め、サーボ制御装置303と角度情報記憶部403へ出力する。サーボ制御装置303は、検査用動作記憶部407に記憶された検査用動作情報s407に基づき、実出力角演算部402から出力された実出力角情報(s402)を参照しつつサーボモータ1の関節角度制御を行う。 The actual output angle calculation unit 402 counts the output side pulse signal (s401) received from the output side encoder 16 to obtain the output side rotation angle (s402), and outputs the output side rotation angle (s402) to the servo control device 303 and the angle information storage unit 403. The servo control device 303 refers to the actual output angle information (s402) output from the actual output angle calculation unit 402 based on the inspection operation information s407 stored in the inspection operation storage unit 407, and the joint of the servomotor 1. Perform angle control.

検査用動作情報s407は、関節の診断時の検査用動作を定義する。式(1)、(2)によって示した特性が関節(111〜116)ごとに異なるため、検査用動作情報s407は、診断する関節(111〜116)ごとに異なった内容となる。特に、検査用動作情報s407は、共振振幅取得工程において、対象の関節の特定の姿勢における関節の固有振動数に対応し、関節の共振が最も強く発生する回転速度を含む速度範囲内で、関節を駆動する検査用動作を定義する。 The inspection motion information s407 defines the inspection motion at the time of diagnosis of the joint. Since the characteristics represented by the formulas (1) and (2) are different for each joint (111-116), the inspection operation information s407 has different contents for each joint (111-116) to be diagnosed. In particular, the inspection motion information s407 corresponds to the natural frequency of the joint in a specific posture of the target joint in the resonance amplitude acquisition step, and the joint is within a speed range including the rotation speed at which the resonance of the joint occurs most strongly. Define the inspection operation that drives.

また、後述の制御例(図5)に示されるように、検査用動作情報s407は、上記速度範囲内で、関節を回転速度を段階的に変化させてそれぞれ共振振幅を取得できるよう構成することができる。例えば、この複数速度において得られた共振振幅から最大の共振振幅を求める、例えば関節の特定の姿勢における関節の固有振動数に相当する共振周波数を中心とした周波数成分の振動の最大値を共振振幅として取得することができる。そして得られた最大値を共振振幅として基準値と比較し、その比較結果に基づき、関節の診断を行うことができる。 Further, as shown in a control example (FIG. 5) described later, the inspection operation information s407 is configured so that the rotation speed of the joint can be changed stepwise within the above speed range to acquire the resonance amplitude. Can be done. For example, the maximum resonance amplitude is obtained from the resonance amplitude obtained at these multiple speeds. For example, the maximum value of the vibration of the frequency component centered on the resonance frequency corresponding to the natural frequency of the joint in a specific posture of the joint is the resonance amplitude. Can be obtained as. Then, the obtained maximum value is compared with the reference value as the resonance amplitude, and the joint can be diagnosed based on the comparison result.

角度情報記憶部403は、実出力角演算部402から出力された実出力角度情報(s402)を蓄積する。基準値記憶部405は判定に必要な判定用基準値s405を記憶し、関節状態判定部406へ出力する。共振振幅演算部404は、角度情報記憶部403から蓄積された角度情報s403を読み出し、検査に必要な判定値A(s404)を算出し、関節状態判定部406へ出力する。関節状態判定部406は、基準値記憶部405から出力された判定用基準値s405と、共振振幅演算部404から算出された判定値A(s404)を比較し、ロボットの関節状態について判定を行う。 The angle information storage unit 403 stores the actual output angle information (s402) output from the actual output angle calculation unit 402. The reference value storage unit 405 stores the determination reference value s405 required for the determination and outputs the determination reference value s405 to the joint state determination unit 406. The resonance amplitude calculation unit 404 reads the angle information s403 accumulated from the angle information storage unit 403, calculates the determination value A (s404) required for the inspection, and outputs the determination value A (s404) to the joint state determination unit 406. The joint state determination unit 406 compares the determination reference value s405 output from the reference value storage unit 405 with the determination value A (s404) calculated from the resonance amplitude calculation unit 404, and determines the joint state of the robot. ..

次に、図5を参照して上記構成において行われる関節(111〜116)の診断処理につき説明する。図5は、上記構成において制御装置200、特にCPU201の制御によって実行される本実施例の関節(111〜116)の診断処理(診断モード)の流れを示している。 Next, the diagnostic processing of the joints (111 to 116) performed in the above configuration will be described with reference to FIG. FIG. 5 shows the flow of the diagnostic process (diagnosis mode) of the joints (111 to 116) of this embodiment executed under the control of the control device 200, particularly the CPU 201 in the above configuration.

本実施例では、上述のように対象の関節の特定の姿勢における当該関節の固有振動数に相当する共振周波数を中心とした周波数で生じる共振現象を利用して当該関節の状態を診断する。 In this embodiment, as described above, the state of the joint is diagnosed by utilizing the resonance phenomenon that occurs at a frequency centered on the resonance frequency corresponding to the natural frequency of the joint in a specific posture of the joint.

図5の診断処理(診断モード)は、ロボットの定期検査時や、および意図しない干渉や衝突などの事象が発生した後に行うことができる。図5の診断処理(診断モード)を実行する契機としては、例えばティーチングペンダント300などのユーザインターフェイスを用いて操作者が診断モードを選択する操作が考えられる。 The diagnostic process (diagnosis mode) of FIG. 5 can be performed at the time of periodic inspection of the robot and after an event such as unintended interference or collision occurs. As an opportunity to execute the diagnostic process (diagnosis mode) of FIG. 5, it is conceivable that the operator selects the diagnostic mode using a user interface such as the teaching pendant 300.

図5の診断処理(診断モード)は、関節(111〜116)のうち1軸ずつ実施する。操作者(ユーザ)によって診断処理(診断モード)が選択されると、図5のステップS501では検査を行う軸を決定する。図5の診断処理(診断モード)は、特定の軸(関節)から全軸(全関節)について実行するよう構成されているが、1軸のみについて実行したり、操作者(ユーザ)が指定した単数ないし複数の軸のみについて実行したりする制御を行ってもよい。通常は、全軸(全関節)について検査を実施するのが望ましい。検査する関節の順序はベース部103に近い軸から順でもよく、またユーザが任意の順番を指定してもよい。 The diagnostic process (diagnosis mode) of FIG. 5 is performed for each of the joints (111 to 116). When the diagnostic process (diagnosis mode) is selected by the operator (user), the axis to be inspected is determined in step S501 of FIG. The diagnostic process (diagnosis mode) of FIG. 5 is configured to be executed from a specific axis (joint) to all axes (all joints), but may be executed only for one axis or specified by an operator (user). Control may be performed such that execution is performed only for one or more axes. It is usually desirable to perform an examination on all axes (all joints). The order of the joints to be inspected may be from the axis closest to the base portion 103, or the user may specify an arbitrary order.

次に、ステップS502では検査対象の軸の基準値s405と検査用動作情報s407を、基準値記憶部405と検査用動作記憶部407から読み込む。基準値記憶部405と検査用動作記憶部407は、例えばHDD204などにデータファイルなどの形式で配置しておくことができる。これらの判定用基準値s405と検査用動作情報s407は、診断する関節(111〜116)ごとに異なる。例えば、式(1)、(2)によって示した特性が関節(111〜116)ごとに異なるためである。従って、判定用基準値s405と検査用動作情報s407は、基準値記憶部405と検査用動作記憶部407に軸(慣性)別に用意され、検査を実行する段階で当該の関節に対応する情報を個別にRAM203などの作業領域に読み込む。もしくは、診断モードが選択された段階ですべての軸の基準値と検査用動作を一度にRAM203などの作業領域に読み込んでもよい。 Next, in step S502, the reference value s405 and the inspection operation information s407 of the axis to be inspected are read from the reference value storage unit 405 and the inspection operation storage unit 407. The reference value storage unit 405 and the inspection operation storage unit 407 can be arranged in the HDD 204 or the like in the form of a data file or the like. These determination reference values s405 and inspection operation information s407 are different for each joint (111 to 116) to be diagnosed. For example, the characteristics shown by the equations (1) and (2) are different for each joint (111 to 116). Therefore, the determination reference value s405 and the inspection operation information s407 are prepared for each axis (inertia) in the reference value storage unit 405 and the inspection operation storage unit 407, and the information corresponding to the joint is provided at the stage of executing the inspection. Individually read into a work area such as RAM 203. Alternatively, when the diagnostic mode is selected, the reference values of all the axes and the inspection operation may be read into a work area such as RAM 203 at once.

ステップS503では、当該関節の検査用動作を行う。即ち、ステップS502で読み込まれた検査用動作情報s407に従いサーボ制御装置303が検査対象の軸を駆動する。この時、一定周期ごとに出力側エンコーダ16から取得されるパルス値(s401)を実出力角演算部402によってカウントし、実出力角情報に変換した値(s402)を角度情報記憶部403に記憶・蓄積していく。 In step S503, the joint inspection operation is performed. That is, the servo control device 303 drives the axis to be inspected according to the inspection operation information s407 read in step S502. At this time, the pulse value (s401) acquired from the output side encoder 16 is counted by the actual output angle calculation unit 402 at regular intervals, and the value (s402) converted into the actual output angle information is stored in the angle information storage unit 403.・ Accumulate.

ステップS503の検査用動作の処理は、図5の右列にステップS5031〜5040として詳細に示してある。ここで、ステップS503を構成するステップS5031〜5040につき詳細に説明する。 The processing of the inspection operation in step S503 is shown in detail as steps S503 to 5040 in the right column of FIG. Here, steps S5031 to 5040 constituting step S503 will be described in detail.

ステップS5031で検査用動作が開始されると、ステップS5032において、まず、ステップS502で読み込まれた検査用動作情報s407に基きサーボ制御装置303がロボットアーム101を開始姿勢へ移動させる。 When the inspection operation is started in step S5031, in step S5032, the servo control device 303 first moves the robot arm 101 to the start posture based on the inspection operation information s407 read in step S502.

次に、ステップS5033において、実出力角情報(s402)を記憶・蓄積させるべく角度情報記憶部403を有効にし、実出力角演算部402から出力される実出力角情報(s402)を記憶する記憶バッファを有効化する。 Next, in step S5033, the angle information storage unit 403 is enabled to store and store the actual output angle information (s402), and the actual output angle information (s402) output from the actual output angle calculation unit 402 is stored. Enable the buffer.

続いて、ステップS5034で、ステップS502で読み込まれた検査用動作情報s407に応じた特定の動作パターンでサーボ制御装置303が対象関節を駆動する。この間、ステップS5045にて出力側エンコーダから得られたパルス値(s401)は逐次実出力角演算部401にて実出力角情報(s402)へ変換(ステップS5035)され、角度情報記憶部403へ記憶・蓄積していく(ステップS5036)。 Subsequently, in step S5034, the servo control device 303 drives the target joint with a specific operation pattern according to the inspection operation information s407 read in step S502. During this time, the pulse value (s401) obtained from the output side encoder in step S5045 is sequentially converted into actual output angle information (s402) by the actual output angle calculation unit 401 (step S5035) and stored in the angle information storage unit 403. -Accumulating (step S5036).

検査用動作が終了すると、ステップS5037において角度情報記憶部403の記憶バッファをクローズし、実出力角情報(s402)を保存する。 When the inspection operation is completed, the storage buffer of the angle information storage unit 403 is closed in step S5037, and the actual output angle information (s402) is stored.

検査用動作情報s407は、上記のように、対象の関節の特定の姿勢における関節の固有振動数に対応し、関節の共振が最も強く発生する回転速度を含む速度範囲内で、関節を回転速度を段階的に変化させて駆動するよう構成される。 As described above, the motion information s407 for inspection corresponds to the natural frequency of the joint in a specific posture of the target joint, and rotates the joint within a speed range including the rotation speed at which the resonance of the joint occurs most strongly. Is configured to be driven by changing it step by step.

このため、ステップS5038では、検査用動作情報s407で定義された全ての検査速度で検査を行ったか否かを判定する。もし、ステップS5038で未実施の速度がある場合は、ステップS5039で速度を当該の未実施の速度に変更した後、ステップS5032へ戻り、上記の動作を繰り返す。一方、検査用動作情報s407で定義された全ての速度で検査が終了した場合はステップS5040で当該の関節の検査を終了し、ステップS504(図5左側)へ進む。なお、出力側エンコーダ16からパルス値(s401)を読み出す間隔はサーボ制御装置303の制御周期と一致した取得周期とすることが望ましい。これにより、ステップS504の演算負荷を減少させることができる。 Therefore, in step S5038, it is determined whether or not the inspection is performed at all the inspection speeds defined in the inspection operation information s407. If there is an unimplemented speed in step S5038, after changing the speed to the unexecuted speed in step S5039, the process returns to step S5032 and the above operation is repeated. On the other hand, when the inspection is completed at all the speeds defined in the inspection operation information s407, the inspection of the joint is completed in step S5040, and the process proceeds to step S504 (left side in FIG. 5). It is desirable that the interval for reading the pulse value (s401) from the output side encoder 16 is an acquisition cycle that matches the control cycle of the servo control device 303. As a result, the calculation load in step S504 can be reduced.

ステップS504では、ステップS503で角度情報記憶部403に蓄積された実出力角情報(s402)を処理し、共振による角度の振動幅を判定値s404(A)として算出する。 In step S504, the actual output angle information (s402) stored in the angle information storage unit 403 in step S503 is processed, and the vibration width of the angle due to resonance is calculated as the determination value s404 (A).

ステップS505〜S507は、減速機11の状態を診断する診断工程に相当する。まず、ステップS505では、ステップS504にて算出された判定値A(s404)を、ステップS502で読み込んだ基準値Alim(s405)と比較する。ここで、判定値A(s404)が基準値Alim(s405)を超えていれば検査軸の減速機11が損傷していると判定する。この判定結果に応じて、ステップS506、S507で「減速機損傷なし」または「減速機損傷あり」(警告メッセージ)の出力を行う。これらの診断メッセージの出力は、例えばモニタ311や、ティーチングペンダント300のディスプレイを用いて行う他、音声出力手段(不図示)を用いて音声出力などによって行うことにしてもよい。 Steps S505 to S507 correspond to a diagnostic step of diagnosing the state of the speed reducer 11. First, in step S505, the determination value A calculated in step S504 (s404), compared with the read in step S502 the reference value A lim (s405). Here, it is determined that the determination value A (s404) is reducer 11 of the inspection shaft if greater than the reference value A lim (s405) is damaged. Depending on the determination result, "no reduction gear damage" or "reduction gear damage" (warning message) is output in steps S506 and S507. The output of these diagnostic messages may be performed by, for example, using the monitor 311 or the display of the teaching pendant 300, or by voice output using a voice output means (not shown).

ステップS505が終了すると、ステップS506で検査未実施の関節(軸)が残っているか確認する。検査未実施の関節(軸)が残っている場合はステップ201に戻り、上記と同様の処理を繰り返し、検査対象となっている全ての関節(軸)で検査を行う。 When step S505 is completed, it is confirmed in step S506 whether any joints (axises) that have not been inspected remain. If there are any joints (axises) that have not been inspected, the process returns to step 201, and the same process as above is repeated to inspect all the joints (axises) to be inspected.

以上のように、図5のような診断処理(診断モード)を関節ごとに実施することができる。図5のような診断処理(診断モード)では、特定の検査対象の関節ごとに共振振幅取得工程を実施する。その際、用いられる検査用動作情報s407は、対象の関節の特定の姿勢における関節の固有振動数に対応し、関節の共振が最も強く発生する回転速度を含む速度範囲内で、関節を駆動する検査用動作を定義する。当該の関節の固有振動数は、式(1)によって予め計算することができ、また、式(2)によって当該関節の共振が最も強く発生する回転速度を含む速度範囲を予め決定することができる。 As described above, the diagnostic process (diagnosis mode) as shown in FIG. 5 can be performed for each joint. In the diagnostic process (diagnosis mode) as shown in FIG. 5, the resonance amplitude acquisition step is performed for each joint to be inspected. At that time, the inspection motion information s407 used corresponds to the natural frequency of the joint in a specific posture of the target joint, and drives the joint within a speed range including the rotation speed at which the resonance of the joint occurs most strongly. Define inspection behavior. The natural frequency of the joint can be calculated in advance by the equation (1), and the speed range including the rotation speed at which the resonance of the joint occurs most strongly can be determined in advance by the equation (2). ..

従って、図5のような診断処理(診断モード)を関節ごとに実施することにより、当該関節の共振振幅の判定値Aを求めることができる。この共振振幅の判定値Aは、例えば共振周波数を中心とした周波数成分の振動の最大値として算出することができる。そして、この判定値Aを、検査用動作情報s407と同様に関節ごとに設定された基準値Alim(s405)と比較することにより、当該関節の診断、例えば、損傷が生じているか(あるいは寿命が到来しているか)などの診断を行うことができる。診断結果は、表示メッセージ(あるいは音声メッセージ)を出力することなどによって、ユーザに通知することができる。これらのメッセージの出力は、例えばモニタ311や、ティーチングペンダント300のディスプレイによる表示出力、音声出力手段(不図示)などを用いた音声出力などによって行うことができる。 Therefore, by performing the diagnostic process (diagnosis mode) as shown in FIG. 5 for each joint, the determination value A of the resonance amplitude of the joint can be obtained. The determination value A of the resonance amplitude can be calculated as, for example, the maximum value of the vibration of the frequency component centered on the resonance frequency. Then, by comparing the judgment value A, set for each joint in the same manner as the inspection operation information s407 reference value A lim and (s405), the diagnosis of the joint, for example, whether damage has occurred (or life Is coming) and so on. The diagnosis result can be notified to the user by outputting a display message (or voice message) or the like. The output of these messages can be performed by, for example, a display output on the monitor 311 or a display of the teaching pendant 300, a voice output using a voice output means (not shown), or the like.

本実施例における診断処理(診断モード)の概略は図5に示した通りであるが、以下では上記の診断処理(診断モード)において実施すべきロボット制御の細部についてさらに論証する。 The outline of the diagnostic process (diagnostic mode) in this embodiment is as shown in FIG. 5, but the details of the robot control to be performed in the above diagnostic process (diagnostic mode) will be further demonstrated below.

式(1)、(2)から明らかなように、検査時に生じさせるロボット関節部の共振の様相には、ロボットアームの姿勢と、関節の動作(駆動)速度という2つの要素が影響する。検査時のロボットアーム101の姿勢が異なれば、式(1)における負荷イナーシャの大きさが変化し、また、共振事象を介して診断を行おうとすれば、当然ながら関節の駆動速度は式(2)によって定義されるような速度(範囲)を選ぶ必要がある。 As is clear from the equations (1) and (2), two factors, the posture of the robot arm and the motion (driving) speed of the joint, affect the aspect of the resonance of the robot joint portion generated at the time of inspection. If the posture of the robot arm 101 at the time of inspection is different, the magnitude of the load inertia in the equation (1) will change, and if the diagnosis is made through the resonance event, the drive speed of the joint will naturally be the equation (2). ), It is necessary to choose a speed (range) as defined by.

ここで、図6を参照して、図5のステップS503で実施する関節の共振を利用した検査用動作における好ましいロボットアーム101の姿勢につき考察する。図6は本実施例において、検査用動作を実施する時の予め定められた姿勢の一例を示している。 Here, with reference to FIG. 6, a preferable posture of the robot arm 101 in the inspection operation using the resonance of the joint performed in step S503 of FIG. 5 will be considered. FIG. 6 shows an example of a predetermined posture when performing an inspection operation in this embodiment.

本実施例における検査用動作、検査用動作情報s407によって関節ごとに定義された検査用動作には、予め定められた所定の検査姿勢で、故意に共振を発生させる所定の動作を行う点に特徴がある。この検査用動作は1か所の関節に対し、1ないし複数の異なる動作を設定することができる。ここで、複数の異なる動作の場合は、例えば、同じ検査(初期)姿勢および動作態様を用いるが、当該関節の駆動速度のみ複数に異ならせて測定を行う検査用動作が考えられる。 The inspection operation and the inspection operation defined for each joint by the inspection operation information s407 in this embodiment are characterized in that a predetermined operation that intentionally generates resonance is performed in a predetermined inspection posture. There is. This inspection motion can be set to one or more different motions for one joint. Here, in the case of a plurality of different movements, for example, the same inspection (initial) posture and movement mode are used, but an inspection movement in which only the driving speed of the joint is measured differently can be considered.

このうち、所定の検査(初期)姿勢は任意であるが、理想的には、検査対象の関節に最大の慣性モーメントがかかる姿勢(最大モーメント姿勢)であることが望ましい。慣性モーメントの大きい姿勢であれば、共振周波数が低くなり、関節の共振現象をとらえやすくなる。 Of these, the predetermined inspection (initial) posture is arbitrary, but ideally, it is desirable to be the posture in which the maximum moment of inertia is applied to the joint to be inspected (maximum moment posture). If the posture has a large moment of inertia, the resonance frequency becomes low, making it easier to capture the resonance phenomenon of the joint.

図6は、リンク122を駆動する関節112の最大モーメント姿勢の例を示す。図6の例では、ロボット装置100のアームが水平方向に最大限に腕を伸ばした姿勢(1点鎖線)において、関節112より先のフレームの重心が関節112からもっとも離れる。このため、この水平方向に最大限に腕を伸ばした姿勢(1点鎖線)において、関節112にかかる慣性モーメント(式(1)の負荷イナーシャJ)は最大となる。そして、水平方向に最大限に腕を伸ばした姿勢(1点鎖線)を検査初期姿勢とし、例えば矢印で示すようにリンク122以降が直立する姿勢となるまで、固有振動数に対応する共振周波数を中心とした速度範囲中の異なる速度で関節112を駆動する。このような検査用動作によれば、式(1)から、共振周波数fは低くなり、出力側エンコーダ16を介して共振事象を容易に捉えることができるようになる。同様にして、他の関節(11〜116)についても個別にあらかじめ最大モーメント姿勢を求め、検査(初期)姿勢と当該関節の駆動態様(検査用動作情報s407)を決定しておくことができる。 FIG. 6 shows an example of the maximum moment posture of the joint 112 that drives the link 122. In the example of FIG. 6, in the posture in which the arm of the robot device 100 is extended to the maximum in the horizontal direction (dashed line), the center of gravity of the frame ahead of the joint 112 is farthest from the joint 112. Therefore, in this posture in which the arm is extended to the maximum in the horizontal direction (dashed line), the moment of inertia applied to the joint 112 (load inertia J in the equation (1)) becomes maximum. Then, the posture in which the arm is extended to the maximum in the horizontal direction (one-point chain line) is set as the initial inspection posture, and the resonance frequency corresponding to the natural frequency is set until, for example, the link 122 or later becomes an upright posture as shown by the arrow. Drive the joint 112 at different speeds within the centered speed range. According to such an inspection operation, the resonance frequency f becomes low from the equation (1), and the resonance event can be easily captured via the output side encoder 16. Similarly, for the other joints (11 to 116), the maximum moment posture can be individually obtained in advance, and the inspection (initial) posture and the driving mode of the joint (inspection motion information s407) can be determined.

また、所定の検査用動作とは次の条件を満たしていることが望ましい。例えば、検査速度にて対象の関節が定速動作する区間があること、また、その区間は減速機入力側の回転に換算して1回転以上あることである。ここで検査速度とは、所定の姿勢において式(1)、(2)の条件を満たすモータ回転数Rに最も近い設定(制御)可能な関節駆動速度とする。また、モータ回転速度(R)を中心とした速度範囲Wにおいて、複数の異なる速度も含めて測定を行うことが望ましい。 Further, it is desirable that the predetermined inspection operation satisfies the following conditions. For example, there is a section in which the target joint operates at a constant speed at the inspection speed, and that section is one or more rotations in terms of the rotation on the speed reducer input side. Here, the inspection speed is a joint drive speed that can be set (controlled) closest to the motor rotation speed R that satisfies the conditions of the equations (1) and (2) in a predetermined posture. Further, it is desirable to perform measurement including a plurality of different speeds in the speed range W centered on the motor rotation speed (R).

なぜならば、姿勢のわずかな違い(制御誤差)や経年変化、その他さまざまな要因から、実際に発生する共振周波数は予め式(1)で算出したものと若干ずれを生じる場合があるためである。この時の速度ステップは任意であるが、制御装置200で設定可能な最小幅とすることが望ましい。このように、当該関節について、予め計算した固有振動数に相当する共振周波数に相当する駆動速度を含む速度範囲Wで異る検査速度を用いて測定を行うことにより、制御誤差や経年変化があっても共振事象を介して関節の状態を確実に診断できる。 This is because the resonance frequency actually generated may be slightly different from the one calculated in advance by the equation (1) due to a slight difference in posture (control error), aging, and various other factors. The speed step at this time is arbitrary, but it is desirable that the speed step be the minimum width that can be set by the control device 200. In this way, by measuring the joint using different inspection speeds in the speed range W including the drive speed corresponding to the resonance frequency corresponding to the natural frequency calculated in advance, there are control errors and secular changes. However, the state of the joint can be reliably diagnosed through the resonance event.

図7(a)、(b)は、複数の検査速度の取り方の一例を示している。図7(a)の例では、検査速度(関節駆動速度)は、予め計算した固有振動数に相当する共振周波数に相当する駆動速度(モータ回転速度(R))を含む速度範囲Wを均等に約10前後(または他の分割数)で割った速度ポイント(黒丸)から構成されている。701の波形は各検査速度で得られた共振振幅(上記の判定値A)、702は共振振幅(判定値A)と比較される基準値Alim(上記のs405)である。 7 (a) and 7 (b) show an example of how to take a plurality of inspection speeds. In the example of FIG. 7A, the inspection speed (joint drive speed) uniformly covers the speed range W including the drive speed (motor rotation speed (R)) corresponding to the resonance frequency corresponding to the pre-calculated natural frequency. It is composed of speed points (black circles) divided by about 10 (or other number of divisions). 701 of waveform resonant amplitude obtained in the inspection speed (the determination value A), 702 is a resonance amplitude (determination value A) and to be compared reference value A lim (s405 described above).

また、図7(b)のように、より共振振幅の検出精度を高めるため、駆動速度設定は予め計算した固有振動数に相当する共振周波数に相当する駆動速度(モータ回転速度(R))の近傍で細かいステップで変化させてもよい。図7(b)では共振周波数に相当する駆動速度(モータ回転速度(R))を含むある速度範囲Wにおいて、当該の共振周波数に相当する駆動速度(モータ回転速度(R))の近傍では検査速度(関節駆動速度)を変化させるステップ幅を周辺よりも小さく取っている。また、このようにモータ回転速度(回転数R)から離れた速度で速度ステップを粗くすることは、検査の迅速化のために役立つ。なお、図7(b)において703の波形は各検査速度で得られた共振振幅(上記の判定値A)、704は共振振幅(判定値A)と比較される基準値Alim(上記のs405)である。 Further, as shown in FIG. 7B, in order to further improve the detection accuracy of the resonance amplitude, the drive speed is set to the drive speed (motor rotation speed (R)) corresponding to the resonance frequency corresponding to the natural frequency calculated in advance. It may be changed in small steps in the vicinity. In FIG. 7B, in a certain speed range W including the drive speed corresponding to the resonance frequency (motor rotation speed (R)), the inspection is performed in the vicinity of the drive speed (motor rotation speed (R)) corresponding to the resonance frequency. The step width for changing the speed (joint drive speed) is set smaller than the periphery. Further, roughening the speed step at a speed away from the motor rotation speed (rotation speed R) in this way is useful for speeding up the inspection. Incidentally, FIG. 7 (b) 703 of the waveform resonant amplitude obtained in the inspection speed in (the determination value A), 704 is resonant amplitude (determination value A) and to be compared reference value A lim (above s405 ).

図6に例示した検査姿勢や、図7(a)、(b)に示すような検査シーケンス(検査用動作)は、検査用動作情報s407によって記述することができ、検査用動作記憶部407に記憶させておく。 The inspection posture illustrated in FIG. 6 and the inspection sequence (inspection operation) as shown in FIGS. 7A and 7B can be described by the inspection operation information s407, and can be described in the inspection operation storage unit 407. Remember it.

次に、図8により、図5のステップS504において角度情報記憶部403に蓄積された実出力角情報(s402)から共振による角度伝達誤差分を算出する処理の構成例につき詳細に説明する。図8は図5の左列のステップS504以降の具体的な処理例を示したもので、ステップS504はステップS5041〜S5046により構成されている。 Next, with reference to FIG. 8, a configuration example of a process for calculating the angle transmission error due to resonance from the actual output angle information (s402) stored in the angle information storage unit 403 in step S504 of FIG. 5 will be described in detail. FIG. 8 shows a specific processing example after step S504 in the left column of FIG. 5, and step S504 is composed of steps S504 to S5046.

まず、ステップS5041において、基準値記憶部405から基準値Alim(s405)を読み出した後、ステップS5042〜S5046のループによって検査データを1つずつ処理する。 First, in step S5041, after reading the reference value A lim (s405) from a reference value storage unit 405, processes one by one test data by the loop of steps S5042~S5046.

ステップS5042では、角度情報記憶部403に蓄積された実出力角情報(s402)から、データを1つ読み出す。続いて、ステップS5043、S5044では、読み出した実出力角度情報(s402)から不要な成分を除外する。 In step S5042, one piece of data is read from the actual output angle information (s402) stored in the angle information storage unit 403. Subsequently, in steps S5043 and S5044, unnecessary components are excluded from the read actual output angle information (s402).

即ち、実出力角度情報(s402)には、検査用動作そのものの動きに共振による振動成分が重畳されているため、そこから共振成分のみを取り出す必要がある。 That is, since the vibration component due to resonance is superimposed on the movement of the inspection operation itself in the actual output angle information (s402), it is necessary to extract only the resonance component from the vibration component.

まず、ステップS5043では、実出力角情報(s402)として記録された関節の出力側回転角度から、検査用動作そのものの動作を除外する。このためには、例えば出力側回転角度から検査動作の位置指令値を減じる手法を用いることができる。また、関節に入力側エンコーダ10(図2)が設けられている場合には、入力側エンコーダ10の出力値を出力側エンコーダ16から得た角度情報とともに同期的に実出力角情報(s402)として記録しておく。そして、同期的に記録した出力側エンコーダ16の角度情報から入力側エンコーダ10の出力値を減算する処理を行ってもよい。なお、この減算処理では、当然ながら減速比Nで換算した値同士を減算するのはいうまでもない。 First, in step S5043, the operation of the inspection operation itself is excluded from the output side rotation angle of the joint recorded as the actual output angle information (s402). For this purpose, for example, a method of subtracting the position command value of the inspection operation from the rotation angle on the output side can be used. When the input side encoder 10 (FIG. 2) is provided on the joint, the output value of the input side encoder 10 is synchronously used as the actual output angle information (s402) together with the angle information obtained from the output side encoder 16. Make a note. Then, a process of subtracting the output value of the input side encoder 10 from the angle information of the output side encoder 16 recorded synchronously may be performed. Needless to say, in this subtraction process, the values converted by the reduction ratio N are subtracted from each other.

図10(a)、(b)は関節の出力側回転角度から、検査用動作そのものの動作を除外する処理を示している。図10(a)において、実線(1001)は実出力角情報(s402)として記録された関節の出力側回転角度(パルス数単位)を示している。この関節の出力側回転角度(1001)は、検査用動作情報s407で指令された破線(1002)の指令軌道によって実施された検査用動作で蓄積された実軌道(実出力角情報s402)に相当する。この実軌道(1001:出力側回転角度)から指令軌道(1002)を減じることにより、検査用動作そのものの動作に係わる情報が除去され、図10(b)の偏差(1003)が得られる。なお、関節の出力側回転角度から、検査用動作そのものの動作を除外するには、出力側エンコーダ16から得られた回転角度を二階微分して加速度情報に変換する手法を用いてもよい。 FIGS. 10A and 10B show a process of excluding the operation of the inspection operation itself from the rotation angle on the output side of the joint. In FIG. 10A, the solid line (1001) indicates the output side rotation angle (in units of pulse number) of the joint recorded as the actual output angle information (s402). The output side rotation angle (1001) of this joint corresponds to the actual trajectory (actual output angle information s402) accumulated in the inspection operation performed by the command trajectory of the broken line (1002) commanded by the inspection operation information s407. To do. By subtracting the command trajectory (1002) from this actual trajectory (1001: output side rotation angle), the information related to the operation of the inspection operation itself is removed, and the deviation (1003) of FIG. 10 (b) is obtained. In order to exclude the operation of the inspection operation itself from the output side rotation angle of the joint, a method of second-order differentializing the rotation angle obtained from the output side encoder 16 and converting it into acceleration information may be used.

さらに、ステップS5044では、検査動作で想定される共振周波数f[Hz]の成分以上の周波数成分を除去する。これは、共振以外のノイズを取り除くための処理である。具体的には、数学的フィルタ(バタワースフィルタなど)を用いてノイズ除去を行う方法がある。このとき、ノイズの大きさに応じて共振周波数f[Hz]の成分が減衰または増幅しない程度でカットオフ周波数およびフィルタ次数を選択する必要がある。たとえば、最大平坦特性を持つバタワースフィルタを用い、2f[Hz]程度をカットオフ周波数として設定すると、共振周波数f[Hz]近傍への影響を最小限にすることができる。また、実出力角情報(s402)として記録された出力側回転角度に対して移動平均処理を実施してもよい。この場合も同様に周波数f[Hz]の成分が減衰・増幅しない程度に平均区間を選択する必要がある。 Further, in step S5044, a frequency component higher than the component of the resonance frequency f [Hz] assumed in the inspection operation is removed. This is a process for removing noise other than resonance. Specifically, there is a method of removing noise by using a mathematical filter (Butterworth filter, etc.). At this time, it is necessary to select the cutoff frequency and the filter order to the extent that the component of the resonance frequency f [Hz] is not attenuated or amplified according to the magnitude of noise. For example, if a Butterworth filter having the maximum flatness characteristic is used and about 2 f [Hz] is set as the cutoff frequency, the influence on the vicinity of the resonance frequency f [Hz] can be minimized. Further, the moving average processing may be performed on the output side rotation angle recorded as the actual output angle information (s402). In this case as well, it is necessary to select the average interval so that the component of the frequency f [Hz] is not attenuated or amplified.

ステップS5045では、ステップS5043およびS5044の演算結果の波形から1周期分のピークトゥピーク(p−p)の最大値を求め、共振振幅の判定値Aとして算出する。 In step S5045, the maximum value of peak-to-peak (pp) for one cycle is obtained from the waveforms of the calculation results of steps S5043 and S5044, and is calculated as the determination value A of the resonance amplitude.

図9(a)、(b)は、ステップS5045における共振振幅の判定値Aの算出例を示している。この種の関節に用いられる減速機11の場合、ステップS5044の後、得られた共振振幅の波形では、図9(b)のように波形の立上り区間と立下り区間でピーク値が非対象に現れる。このため、共振振幅の波形の1周期に着目し、当該の1周期のp−pとは、図9(a)のように波形の立上り区間のp−pと、立下り区間のp−pのうち大きい方を選び(最大値演算)、その値を判定値Aとして抽出する。 9 (a) and 9 (b) show a calculation example of the determination value A of the resonance amplitude in step S5045. In the case of the speed reducer 11 used for this type of joint, in the waveform of the resonance amplitude obtained after step S5044, the peak values are asymmetric in the rising and falling sections of the waveform as shown in FIG. 9B. appear. Therefore, paying attention to one cycle of the waveform of the resonance amplitude, the pp of the one cycle is pp of the rising section of the waveform and pp of the falling section as shown in FIG. 9A. The larger one is selected (maximum value calculation), and that value is extracted as the judgment value A.

そして、上記のステップS5042〜S5046のループにおいて、全ての周期において立上りp−pおよび立下りp−pの各振幅を求め、そのうちの最大値を当該関節の共振振幅の判定値Aとして算出する。 Then, in the loop of steps S5042 to S5046 described above, the amplitudes of the rising pp and the falling pp are obtained in all the cycles, and the maximum value among them is calculated as the determination value A of the resonance amplitude of the joint.

図8のステップS505以降の処理は、図5で説明したものと同じであり、上記のようにして算出した共振振幅の判定値Aと、基準値Alim(s405)と、を比較してその結果に応じて通知ないし警告メッセージを出力するものである。 The processing of step S505 onward in FIG. 8 is the same as that described in FIG. 5, the compares the determination value A of the resonance amplitude was calculated as described above, the reference value A lim (s405), the A notification or warning message is output depending on the result.

この判定(S505)で用いる基準値Alim(s405)としては、出力側エンコーダ16で検出する値は角度情報であるから、例えばこの基準値(許容値)としては許容される角度誤差を用いることが考えられる。具体的には、基準値として減速機11の角度伝達誤差の仕様値を用いることが考えられる。このような角度伝達誤差の仕様値は、減速機11のカタログ仕様などとして公表されている値が利用できる場合がある。その場合にはカタログ公開値などを利用する、あるいは適当なマージンを加減算して、実際にその関節で用いる基準値Alim(s405)を決定することができる。 As the criterion value A lim used in (S505) (s405), the value detected by the output encoder 16 because the angle information, for example the use of angular error allowed as the reference value (allowable value) Can be considered. Specifically, it is conceivable to use the specification value of the angle transmission error of the speed reducer 11 as the reference value. As the specification value of such an angle transmission error, a value published as a catalog specification of the speed reducer 11 may be used. Its use and catalog publishing value when, or by adding or subtracting an appropriate margin, it is possible to determine the reference value A lim used actually at that joint (s405).

なお、減速機11は関節ごとに異なる品種を用いる場合があるから、この基準値Alim(s405)もまた関節ごとに用意する必要がある。上記の図8のステップS5041では、当然ながら検査対象の関節について用意された基準値Alim(s405)を基準値記憶部405から読出すことになる。また、基準値Alim(s405)としては、上記の角度伝達誤差の仕様値の他、要求されるロボットアーム101の手先の位置精度から対象の関節に要求される位置偏差を算出し、その位置偏差を基準値として用いてもよい。 Incidentally, the speed reducer 11 is because there is a case of using different varieties for each joint, the reference value A lim (s405) also need to be provided for each joint. In step S5041 of the above Fig. 8, so that the reading of course prepared for inspected joint reference value A lim a (s405) from a reference value storage unit 405. Further, as the reference value A lim (s405), other specifications of the angular transmission error, calculates the position deviation from the position accuracy of the hand of the robot arm 101 that is required is required to subject the joint, the position The deviation may be used as a reference value.

以上のようにして、本実施例によれば、変速(減速)機の出力側の回転軸の回転角度を測定する出力側角度センサを介して測定した関節の共振振幅に応じて、ロボット装置の関節に配置された変速機の状態を精度よく迅速に判定することができる。このためロボット装置の部品交換判定などを迅速に行うことができ、ロボット装置の関節(変速機)を適切な状態に維持することができる、という優れた効果がある。 As described above, according to the present embodiment, according to the resonance amplitude of the joint measured via the output side angle sensor that measures the rotation angle of the output side rotation shaft of the transmission (deceleration), the robot device The state of the transmission arranged in the joint can be accurately and quickly determined. Therefore, it is possible to quickly determine the replacement of parts of the robot device, and it is possible to maintain the joint (transmission) of the robot device in an appropriate state, which is an excellent effect.

以上では、今回の診断処理(診断モード)で測定した共振振幅を基準値と比較することにより変速(減速)機の状態を診断処理(診断モード)ごとに診断する構成を示した。しかしながら、過去の診断処理で取得した共振振幅と現在(今回)の診断処理で取得した共振振幅との変化の様子(例えば変化率)を用いて変速(減速)機の状態を診断することも考えられる。このためには、例えば診断処理(診断モード)で測定した共振振幅をHDD204などに配置したデータベースに蓄積していく構成とする。そして、今回の診断処理(診断モード)で取得した関節の共振振幅と、過去の診断処理で取得した共振振幅から共振振幅の変化率を算出し、算出した変化率に基づき変速機の状態を診断する。例えば、変化率のしきい値を予め定めておき、このしきい値を超えるような(例えば急峻な)共振振幅の変化率が検出された場合に、変速機が損傷している、あるいは寿命が到来し交換が必要である、といった診断を行うことができる。 In the above, the configuration for diagnosing the state of the speed changer (deceleration) for each diagnostic process (diagnosis mode) is shown by comparing the resonance amplitude measured in the present diagnostic process (diagnosis mode) with the reference value. However, it is also conceivable to diagnose the state of the speed reducer (decelerator) using the state of change (for example, rate of change) between the resonance amplitude acquired in the past diagnostic process and the resonance amplitude acquired in the current (this time) diagnostic process. Be done. For this purpose, for example, the resonance amplitude measured in the diagnostic process (diagnosis mode) is stored in a database arranged in the HDD 204 or the like. Then, the rate of change of the resonance amplitude is calculated from the resonance amplitude of the joint acquired in this diagnostic process (diagnosis mode) and the resonance amplitude acquired in the past diagnostic process, and the state of the transmission is diagnosed based on the calculated rate of change. To do. For example, the threshold value of the rate of change is set in advance, and when the rate of change of the resonance amplitude exceeding this threshold value is detected, the transmission is damaged or the life is extended. It is possible to make a diagnosis that it has arrived and needs to be replaced.

上記実施例に示したロボット装置の診断方法は、例えば各種の物品(工業製品)の製造に用いられる各種のロボットシステム(ロボット装置)に適用することができる。ロボットシステム(ロボット装置)の構成、例えばロボットアームの構成などは任意であり、2以上のリンクを結合する関節を有するロボットシステム(ロボット装置)であれば本発明の診断方法を実施することができる。本発明による診断方法を用いてロボットシステムの関節の診断を行えば、確実に関節の変速機の状態(故障や損傷の有無)を診断、確認することができ、関節(変速機)を適切な状態に維持することができる。このため、当該のロボットシステムを用いて、精度よく、また歩留まりよく対象の物品を製造することができる。 The method for diagnosing a robot device shown in the above embodiment can be applied to, for example, various robot systems (robot devices) used for manufacturing various articles (industrial products). The configuration of the robot system (robot device), for example, the configuration of the robot arm is arbitrary, and the diagnostic method of the present invention can be implemented as long as it is a robot system (robot device) having joints connecting two or more links. .. If the joints of the robot system are diagnosed using the diagnostic method according to the present invention, the state of the joint transmission (presence or absence of failure or damage) can be reliably diagnosed and confirmed, and the joints (transmission) can be appropriately diagnosed. Can be maintained in a state. Therefore, the target article can be manufactured with high accuracy and high yield by using the robot system.

また、上記実施例に示したロボット装置の診断方法は、より一般的には、回転駆動源(モータ)と変速機から成る回転駆動装置の診断方法と考えることもできる。その場合、上記実施例に例示した本発明の回転駆動装置の診断方法は、各種の回転駆動源(モータ)と変速機から成る回転駆動装置の診断方法として、種々の機械装置で実施することができる。 Further, the diagnostic method of the robot device shown in the above embodiment can be more generally considered as a diagnostic method of the rotary drive device including the rotary drive source (motor) and the transmission. In that case, the diagnostic method of the rotary drive device of the present invention exemplified in the above embodiment may be carried out by various mechanical devices as a diagnostic method of the rotary drive device including various rotary drive sources (motors) and a transmission. it can.

本発明は、上述の実施例の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステムまたは装置に供給しそのシステムまたは装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。 The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by processing. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

1…サーボモータ(モータ)、2…回転軸、11…減速機(変速機)、16…出力側エンコーダ(出力側角度検出手段)、100…ロボット装置、111〜116…関節、200…制御装置、201…CPU(演算部)、204…HDD(記憶部)、300…ティーチングペンダント、402…実出力角演算部、403…角度情報記憶部、404…共振振幅演算部、405…基準値記憶部、406…関節状態判定部、407…検査用動作記憶部。 1 ... Servo motor (motor), 2 ... Rotating shaft, 11 ... Reducer (transmission), 16 ... Output side encoder (output side angle detecting means), 100 ... Robot device, 111-116 ... Joint, 200 ... Control device , 201 ... CPU (calculation unit), 204 ... HDD (storage unit), 300 ... teaching pendant, 402 ... actual output angle calculation unit, 403 ... angle information storage unit, 404 ... resonance amplitude calculation unit, 405 ... reference value storage unit , 406 ... Joint condition determination unit, 407 ... Motion storage unit for inspection.

Claims (17)

回転駆動源と、前記回転駆動源により駆動される変速機と、前記変速機の入力側と出力側との相対角度を検出する第1の角度センサと、を備えた関節を有するロボット装置の制御方法において、
制御装置が、前記回転駆動源を駆動させて、前記第1の角度センサを用いて前記関節の共振の強度を取得する取得工程と、
前記制御装置が、前記取得工程で得た前記関節の共振の強度に応じて前記変速機の状態を検出する検出工程と、
前記検出工程で検出した、前記変速機の状態を出力する出力工程と、
を備えたことを特徴とする制御方法。
A rotary drive source, the control of the a transmission that is driven by a rotary drive source, the robot has a first angle sensor, the joint having a for detecting a relative angle between the input side and the output side of the transmission device In the method
The acquisition step in which the control device drives the rotational drive source and acquires the resonance intensity of the joint using the first angle sensor.
A detection step in which the control device detects the state of the transmission according to the resonance intensity of the joint obtained in the acquisition step.
An output process that outputs the state of the transmission detected in the detection process, and an output process that outputs the state of the transmission.
A control method characterized by being equipped with.
請求項1に記載の制御方法において、前記取得工程において、前記制御装置が、前記関節の共振の強度が最も強く発生する回転速度を含む速度範囲内で、前記関節が回転するよう前記回転駆動源を駆動させ、前記速度範囲内の回転速度で前記ロボット装置を第1の姿勢から第2の姿勢に変化させることを特徴とする制御方法。 In the control method according to claim 1, in the acquisition step, the rotation drive source causes the control device to rotate the joint within a speed range including a rotation speed at which the strength of resonance of the joint is most strongly generated. A control method, characterized in that the robot device is changed from a first posture to a second posture at a rotation speed within the speed range. 請求項2に記載の制御方法において、前記取得工程において、前記制御装置が、前記速度範囲内である複数の回転速度で、前記ロボット装置を前記第1の姿勢から前記第2の姿勢に変化させて得た複数の前記関節の共振の強度から最大の共振の強度を取得し、前記検出工程において、前記最大の共振の強度を用いて前記変速機の状態を検出することを特徴とする制御方法。 In the control method according to claim 2, in the acquisition step, the control device changes the robot device from the first posture to the second posture at a plurality of rotation speeds within the speed range. get the strength or et intensity of resonance of the maximum of the resonance of the plurality of the joints obtained in the detection step, and detecting a state of the transmission by using the intensity of the maximum of the resonance Control method. 請求項2または3に記載の制御方法において、前記第1の角度センサは前記変速機の出力の回転角度を検出するセンサであり、前記変速機の入力側の回転角度を検出する第2の角度センサが設けられ、前記取得工程において、前記制御装置が、前記第1の角度センサから取得した前記出力側の回転角度および前記第2の角度センサから取得した前記入力側の回転角度の差分に基づき、前記関節の共振の強度を取得することを特徴とする制御方法。 The control method according to claim 2 or 3, wherein the first angle sensor is ruse capacitors detecting the rotation angle of the output side of the transmission, first detecting the rotation angle of the input side of the transmission second angle sensor is provided, in the obtaining step, wherein the controller, the rotation angle and the rotation angle of said input side acquired from the second angle sensor of the first acquired from the angle sensor the output side A control method characterized in that the strength of the resonance of the joint is acquired based on the difference between the two. 請求項3に記載の制御方法において、前記検出工程において、前記制御装置が、前記取得工程で得た、前記関節における複数の前記共振の強度の内の最大の強度と、予め定めた基準値を比較し、その比較結果に基づき前記変速機の状態を検出することを特徴とする制御方法。 In the control method according to claim 3, in the detection step, the control device sets the maximum intensity among the plurality of resonance intensities in the joint obtained in the acquisition step and a predetermined reference value. A control method comprising comparing and detecting the state of the transmission based on the comparison result. 請求項2からのいずれか1項に記載の制御方法において、前記検出工程において、前記制御装置が、前記検出工程で予め定めた基準値と比較した前記関節における前記共振の強度と、過去の前記検出工程で前記基準値と比較した過去の前記関節における前記共振の強度から、前記関節における前記共振の強度の変化率を算出し、算出した変化率に基づき前記変速機の状態を検出することを特徴とする制御方法。 In the control method according to any one of claims 2 to 5 , in the detection step, the intensity of the resonance in the joint compared with the reference value predetermined by the control device in the detection step, and the past. The rate of change in the intensity of the resonance in the joint is calculated from the past resonance intensity in the joint compared with the reference value in the detection step, and the state of the transmission is detected based on the calculated rate of change. A control method characterized by. 請求項に記載の制御方法において、前記検出工程において、前記制御装置が、前記取得工程で得た、前記関節における複数の前記共振の強度の内の最大の強度と、予め定めた前記基準値を比較し、前記最大の強度の方が、前記基準値よりも大きい場合、前記変速機に損傷が生じている状態として、検出することを特徴とする制御方法。 In the control method according to claim 5 , in the detection step, the maximum intensity among the plurality of resonance intensities in the joint obtained by the control device in the acquisition step and the predetermined reference value. The control method is characterized in that, when the maximum intensity is larger than the reference value, it is detected as a state in which the transmission is damaged. 請求項に記載の制御方法において、前記検出工程において、前記制御装置が、前記取得工程で得た、前記関節における複数の前記共振の強度の内の最大の強度と、予め定めた前記基準値を比較し、前記最大の強度の方が、前記基準値よりも大きい場合、前記変速機は、寿命が到来している状態として、検出することを特徴とする制御方法。 In the control method according to claim 5 , in the detection step, the maximum intensity among the plurality of resonance intensities in the joint obtained by the control device in the acquisition step and the predetermined reference value. A control method, characterized in that, when the maximum intensity is larger than the reference value, the transmission detects that the state has reached the end of its life. 請求項に記載の制御方法において、前記検出工程において、前記制御装置が、前記検出工程で前記基準値と比較した、前記関節における前記共振の強度と、過去の前記検出工程で前記基準値と比較した過去の前記関節における前記共振の強度から、前記関節における前記共振の強度の変化率を算出し、算出した変化率が、所定の閾値よりも大きい場合、前記変速機に損傷が生じている状態として、検出することを特徴とする制御方法。 In the control method according to claim 6 , in the detection step, the intensity of the resonance in the joint compared with the reference value by the control device in the detection step, and the reference value in the past detection step. The rate of change in the intensity of the resonance in the joint is calculated from the past intensity of the resonance in the joint in comparison, and when the calculated rate of change is larger than a predetermined threshold value, the transmission is damaged. A control method characterized in detecting as a state. 請求項に記載の制御方法において、前記検出工程において、前記制御装置が、前記検出工程で前記基準値と比較した、前記関節における前記共振の強度と、過去の前記検出工程で前記基準値と比較した過去の前記関節における前記共振の強度から、前記関節における前記共振の強度の変化率を算出し、算出した変化率が、所定の閾値よりも大きい場合、前記変速機は、寿命が到来している状態として、検出することを特徴とする制御方法。 In the control method according to claim 6 , in the detection step, the intensity of the resonance in the joint compared with the reference value by the control device in the detection step, and the reference value in the past detection step. The rate of change in the intensity of the resonance in the joint is calculated from the past intensity of the resonance in the joint in comparison, and when the calculated rate of change is larger than a predetermined threshold value, the transmission has reached the end of its life. A control method characterized in that it is detected as a state of being. 請求項1から請求項10のいずれか1項に記載の制御方法において、
前記関節が共振する条件は、前記関節の姿勢の変化に応じて変化する固有振動数に対応することを特徴とする制御方法。
The control method according to any one of claims 1 to 10.
A control method characterized in that the condition for the joint to resonate corresponds to a natural frequency that changes in response to a change in the posture of the joint.
請求項11に記載の制御方法において、 In the control method according to claim 11,
前記ロボット装置は複数の関節を有し、前記複数の関節の各々が、前記回転駆動源と、前記回転駆動源により駆動される変速機と、前記変速機の入力側と出力側との相対角度を検出する第1の角度センサと、を有し、 The robot device has a plurality of joints, and each of the plurality of joints has a relative angle between the rotation drive source, a transmission driven by the rotation drive source, and an input side and an output side of the transmission. Has a first angle sensor, which detects
前記関節が共振する条件は、前記複数の関節毎に異なることを特徴とする制御方法。 A control method characterized in that the conditions under which the joints resonate are different for each of the plurality of joints.
請求項1から12のいずれか1項に記載の制御方法をコンピュータに実行させるための制御プログラム。 A control program for causing a computer to execute the control method according to any one of claims 1 to 12. 請求項13に記載の制御プログラムを格納したことを特徴とするコンピュータ読み取り可能な記録媒体。 A computer-readable recording medium comprising the control program according to claim 13. 請求項1から12のいずれか1項に記載の制御方法を実行する前記制御装置、および前記ロボット装置を備えたことを特徴とするロボットシステム。 A robot system comprising the control device for executing the control method according to any one of claims 1 to 12 and the robot device. 請求項15に記載のロボットシステムを用いて物品を製造することを特徴とする物品の製造方法。 A method for manufacturing an article, which comprises manufacturing the article using the robot system according to claim 15. 回転駆動源と、前記回転駆動源により駆動される変速機と、前記変速機の入力側と出力側との相対角度を検出する第1の角度センサと、を有する回転駆動装置の制御方法において、
制御装置が、前記回転駆動源を駆動させて、前記第1の角度センサを用いて前記回転駆動装置の共振の強度を取得する取得工程と、
前記制御装置が、前記取得工程で得た前記回転駆動装置の共振の強度に応じて前記回転駆動装置の状態を検出する検出工程と、
前記検出工程で検出した、前記回転駆動装置の状態を出力する出力工程と、
を備えたことを特徴とする回転駆動装置の制御方法。
In a control method of a rotary drive device including a rotary drive source, a transmission driven by the rotary drive source, and a first angle sensor that detects a relative angle between an input side and an output side of the transmission.
Controller, said rotary driving source is driving movement, an acquisition step of acquiring the intensity of resonance of the rotation driving device using the first angle sensor,
A detection step in which the control device detects the state of the rotation drive device according to the resonance intensity of the rotation drive device obtained in the acquisition step.
An output step for outputting the state of the rotary drive device detected in the detection step, and an output step for outputting the state of the rotary drive device.
A method of controlling a rotary drive device, which is characterized by being provided with.
JP2020008222A 2020-01-22 2020-01-22 Control method, control program, recording medium, robot system, article manufacturing method, rotation drive device control method Active JP6840875B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020008222A JP6840875B2 (en) 2020-01-22 2020-01-22 Control method, control program, recording medium, robot system, article manufacturing method, rotation drive device control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020008222A JP6840875B2 (en) 2020-01-22 2020-01-22 Control method, control program, recording medium, robot system, article manufacturing method, rotation drive device control method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2015186265A Division JP6652292B2 (en) 2015-09-24 2015-09-24 Control method, control program, robot system, control method of rotary drive device, and robot device

Publications (2)

Publication Number Publication Date
JP2020059122A JP2020059122A (en) 2020-04-16
JP6840875B2 true JP6840875B2 (en) 2021-03-10

Family

ID=70219277

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020008222A Active JP6840875B2 (en) 2020-01-22 2020-01-22 Control method, control program, recording medium, robot system, article manufacturing method, rotation drive device control method

Country Status (1)

Country Link
JP (1) JP6840875B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005073476A (en) * 2003-08-28 2005-03-17 Yaskawa Electric Corp Method for extracting characteristics of machine
JP4779032B2 (en) * 2009-03-30 2011-09-21 ジヤトコ株式会社 Gear dent detection device and gear dent detection method
JP6164948B2 (en) * 2013-06-20 2017-07-19 キヤノン株式会社 Robot apparatus and component manufacturing method
JP6652292B2 (en) * 2015-09-24 2020-02-19 キヤノン株式会社 Control method, control program, robot system, control method of rotary drive device, and robot device

Also Published As

Publication number Publication date
JP2020059122A (en) 2020-04-16

Similar Documents

Publication Publication Date Title
JP6652292B2 (en) Control method, control program, robot system, control method of rotary drive device, and robot device
JP6164948B2 (en) Robot apparatus and component manufacturing method
JP6881886B2 (en) Control method, robot device, and drive device
US10486309B2 (en) Robot controlling method, robot apparatus, program, recording medium, and method for manufacturing assembly component
JP5365595B2 (en) Speed reducer abnormality determination method, abnormality determination apparatus, robot, and robot system
EP1932629B1 (en) A method and a control system for monitoring the condition of an industrial robot
JP6512790B2 (en) Robot control method, robot apparatus, program, recording medium, and article manufacturing method
US9146175B2 (en) Method and a device for detecting abnormal changes in play in a transmission unit of a movable mechanical unit
US20240139953A1 (en) Examination method for examining robot apparatus, control apparatus, and storage medium
JP2015093360A (en) Drive device, robot apparatus, control method of drive device, program and recording medium
JP6840875B2 (en) Control method, control program, recording medium, robot system, article manufacturing method, rotation drive device control method
JP7267725B2 (en) Robot control method, program, recording medium, robot system, article manufacturing method
JP7358049B2 (en) Control methods, programs, recording media, robot systems, and article manufacturing methods
US11826909B2 (en) Driving mechanism, robot apparatus, method for controlling driving mechanism, method of manufacturing an article using robot arm, and storage medium
JP7278803B2 (en) Information processing method, information processing device, robot system, robot system control method, article manufacturing method using robot system, program, and recording medium
WO2022102585A1 (en) Abnormality detection device which detects abnormalities in power transmission mechanism for transmitting rotational force outputted by motor
JP7214695B2 (en) robot, drive, robot system, drive system, program
CN115213938A (en) Speed reducer state monitoring device and speed reducer state monitoring method
CN117651632A (en) Robot system

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200131

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200131

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20200206

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20200207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201027

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201222

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: 20210119

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210217

R151 Written notification of patent or utility model registration

Ref document number: 6840875

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151