JP2011183460A - Control device of robot and connection failure determining method of robot - Google Patents

Control device of robot and connection failure determining method of robot Download PDF

Info

Publication number
JP2011183460A
JP2011183460A JP2010047737A JP2010047737A JP2011183460A JP 2011183460 A JP2011183460 A JP 2011183460A JP 2010047737 A JP2010047737 A JP 2010047737A JP 2010047737 A JP2010047737 A JP 2010047737A JP 2011183460 A JP2011183460 A JP 2011183460A
Authority
JP
Japan
Prior art keywords
inspection target
motor
motors
target motor
robot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010047737A
Other languages
Japanese (ja)
Other versions
JP5445229B2 (en
Inventor
Yoshihide Sahashi
義英 佐橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Wave Inc
Original Assignee
Denso Wave Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Wave Inc filed Critical Denso Wave Inc
Priority to JP2010047737A priority Critical patent/JP5445229B2/en
Publication of JP2011183460A publication Critical patent/JP2011183460A/en
Application granted granted Critical
Publication of JP5445229B2 publication Critical patent/JP5445229B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a control device of a robot, capable of detecting erroneous wiring while minimizing a malfunction quantity of a motor even while causing the erroneous wiring. <P>SOLUTION: This control circuit outputs a driving current to respective phase coils of an inspection object motor via a corresponding inverter (S11 and S12) so that a rotor of the inspection object motor maintains an initial position when acquiring the initial position of the inspection object motor from a position &theta;a provided by a position detector arranged in the inspection object motor when supplying a power source with any one of a plurality of servomotors as the inspection object motor (S4). When any of the servomotors arranged on respective shafts of a robot body rotates in its current output period (S14:YES), a connection state with servomotors respectively corresponding to the respective inverters is determined as defective (S22). <P>COPYRIGHT: (C)2011,JPO&amp;INPIT

Description

本発明は、多可動軸型ロボット本体の各軸に配置される永久磁石型の同期モータを駆動制御するロボットの制御装置,及びロボットの接続不良判定方法に関する。   The present invention relates to a robot control device that drives and controls a permanent magnet type synchronous motor disposed on each axis of a multi-movable axis robot body, and a robot connection failure determination method.

ロボットシステムについては、故障の発生を極力抑止するために十分な考慮を払った上で設計や生産が行われている。しかしながら、経年劣化や、設計時の想定を上回る負荷が加わるなどした結果、一部の部品に故障が発生することが避けられない場合がある。すると、故障の修理に伴い、ロボットの部品を交換したり配線を接続し直したりする必要があり、その際に作業ミスが発生すると配線接続を誤る場合もありうる。
モータの駆動制御系について誤配線がある状態でロボットを動作させようとすると、本来発生すべきトルクが発生しなかったり、動作を停止させようとすると逆にモータが加速したり、動作対象に指定したはずの軸とは異なる軸のモータが突然動作することなどが想定される。これらは、ユーザが予期しないロボットの動作を引き起こすことになるため、状況によっては安全上問題になることがある。
Robot systems are designed and produced with sufficient considerations to minimize the occurrence of failures. However, it may be unavoidable that some parts may fail as a result of aged deterioration or a load exceeding the design assumption. Then, along with the repair of the failure, it is necessary to replace the parts of the robot or reconnect the wiring. If an operation error occurs at that time, the wiring connection may be wrong.
If you try to operate the robot with incorrect wiring in the motor drive control system, the torque that should be generated will not be generated, or if you try to stop the operation, the motor will accelerate or be specified as the operation target. It is assumed that a motor with a different axis from the expected axis suddenly operates. These may cause a robot operation unexpected by the user, and may be a safety problem in some situations.

そして、モータの故障や、モータと駆動回路との間の配線誤り等を検出する技術は従来様々なものが提案されている。例えば特許文献1には、電源をオンした後に行う最初の加速時において、サーボモータのU,V相出力端子に流れる電流を検出し、その電流波形のパターンを監視してモータ出力端子の誤結線を検出する技術が開示されている。また、特許文献2には、ブレーキの解除後に、タイマをスタートさせると共にサーボアンプをオンして移動指令をサーボ制御器に出力して、各軸ごとにトルク指令値,電流フィードバック値,位置指令値,位置フィードバック値などの異常判断指標を記憶し、時間t0の経過後にサーボアンプをオフしてブレーキをかけ、その時点の上記異常判断指標の各値を取得すると、それぞれの整合関係をチェックして異常を判定する技術が開示されている。   Various techniques have been proposed for detecting a motor failure, a wiring error between the motor and the drive circuit, and the like. For example, in Patent Document 1, the current flowing through the U and V phase output terminals of the servo motor is detected during the first acceleration performed after the power is turned on, and the current waveform pattern is monitored to connect the motor output terminals incorrectly. A technique for detecting the above is disclosed. Further, in Patent Document 2, after the brake is released, a timer is started and the servo amplifier is turned on to output a movement command to the servo controller. For each axis, a torque command value, a current feedback value, and a position command value are output. , Memorize the abnormality judgment index such as position feedback value, turn off the servo amplifier after time t0, apply the brake, and acquire each value of the above abnormality judgment index at that time, check the consistency relationship of each A technique for determining an abnormality is disclosed.

特開平9−16233号公報JP-A-9-16233 特開2000−181521号公報JP 2000-181521 A

しかしながら、特許文献1,2に開示されている判定方式では、判定に用いる電流等のパラメータがモータに係る負荷重量の大きさに影響を受けるため、判定に際しては事前に負荷重量の情報を得ておく必要がある。したがって、ユーザによる情報支援を受けることが必須となり、ユーザに作業負担を負わせてしまう。また、事前に与えた情報と、実際の負荷重量とが異なる場合もあるため、確実な検出が難しいという問題があった。
また、特許文献1,2の方式では、判定を行うためにモータをある程度回転させることが前提となっている。ところが、ロボットの動作制御は一般に、各軸モータの回転量をエンコーダ等の位置検出器により検出しつつ行うフィードバック制御である。そのため、複数の軸間で誤配線が生じていると、フィードバック制御量が本来の値とは異なる不適切な値となって誤動作量が大きく増加することも想定される。
However, in the determination methods disclosed in Patent Documents 1 and 2, since parameters such as current used for determination are affected by the magnitude of the load weight related to the motor, information on the load weight is obtained in advance for the determination. It is necessary to keep. Therefore, it is indispensable to receive information support from the user, and the user is burdened with work. In addition, since the information given in advance may be different from the actual load weight, there is a problem that reliable detection is difficult.
Further, the methods of Patent Documents 1 and 2 are based on the premise that the motor is rotated to some extent in order to make the determination. However, the operation control of the robot is generally feedback control performed while detecting the rotation amount of each axis motor by a position detector such as an encoder. For this reason, if erroneous wiring occurs between a plurality of axes, the feedback control amount is assumed to be an inappropriate value different from the original value, and it is also assumed that the malfunction amount greatly increases.

また、1つの軸;モータの相間で誤配線が生じている場合には、与えられた指令値に対してモータの回転方向が逆になることがあるため、指令値と検出位置との偏差が大きくなって正帰還が作用し、やはり誤動作量が大きく増加するおそれがある。更に、位置検出器が位置検出信号を出力する配線に誤りや一部の断線が生じていると、検出位置と実際のモータの電気角とにずれが生じて、上記相間の誤配線と同様の事態に至る場合がある。   In addition, if incorrect wiring occurs between one axis and the motor phase, the rotational direction of the motor may be reversed with respect to the given command value, so the deviation between the command value and the detected position is When this value increases, positive feedback acts, and the amount of malfunction may increase greatly. Furthermore, if there is an error or part of the disconnection in the wiring from which the position detector outputs the position detection signal, there will be a deviation between the detected position and the actual electrical angle of the motor. It may lead to a situation.

本発明は上記事情に鑑みてなされたものであり、その目的は、誤配線が生じている状態でも、モータの誤動作量を極力少なくした状態で、誤配線を検出できるロボットの制御装置,及びロボットの接続不良判定方法を提供することにある。   The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a robot control device and a robot capable of detecting erroneous wiring while minimizing the amount of malfunction of the motor even when erroneous wiring occurs. It is to provide a connection failure determination method.

請求項1記載のロボットの制御装置によれば、制御回路は、複数のモータの何れか1つを検査対象モータとして、初期位置取得手段により、電源投入時に検査対象モータに配置されている位置検出器によって得られる位置信号から、検査対象モータの電気角を取得する。そして、検査対象モータの電気角が初期位置を維持するように吸引力が最大になる電流位相に固定した状態で、対応する駆動回路を介して検査対象モータの各相巻線に駆動電流を出力すると、その電流出力期間内にロボット本体の各軸に配置されるモータの何れかが回転した場合は、各駆動回路とそれぞれに対応するモータとの接続状態を不良と判定する。   According to the robot control apparatus of the first aspect, the control circuit uses any one of a plurality of motors as the inspection target motor, and the position detection unit arranged in the inspection target motor when the power is turned on by the initial position acquisition unit. The electrical angle of the motor to be inspected is acquired from the position signal obtained by the instrument. Then, in a state where the electrical angle of the motor to be inspected is fixed at a current phase that maximizes the attractive force so as to maintain the initial position, a drive current is output to each phase winding of the motor to be inspected via the corresponding drive circuit. Then, when any of the motors arranged on each axis of the robot body rotates within the current output period, the connection state between each drive circuit and the corresponding motor is determined to be defective.

このように判定を行えば、駆動回路と対応するモータとの接続が誤っていることで何れかのモータが回転する場合でも、その回転量は極めて僅かな値に留まる。すなわち、最大でもモータが機械角で1回転以上することはなく、回転子の極数と固定子のスロット数との関係で決まる数分の1回転以内に収まる。したがって、それに伴うロボット本体の動作変化量も僅かとなるから安全性を維持することができる。また、上記の判定は、制御回路が実行する制御プログラムを変更すれば容易に実施できるので、既存のロボットシステムに対しても容易に適用することができる。   If the determination is made in this way, even if any of the motors is rotated due to an incorrect connection between the drive circuit and the corresponding motor, the amount of rotation remains very small. That is, at most, the motor does not make one or more rotations at the mechanical angle, and it is within one-minute rotation determined by the relationship between the number of poles of the rotor and the number of slots of the stator. Accordingly, the amount of change in the operation of the robot main body associated therewith is also small, so that safety can be maintained. Moreover, since the above determination can be easily performed by changing the control program executed by the control circuit, it can be easily applied to an existing robot system.

請求項2記載のロボットの制御装置によれば、制御回路は、複数のモータの内、最初に容量が最小のモータを検査対象モータとして選択すると、以降は容量が大きくなる順に検査対象モータを順次選択して接続状態判定手段による判定を繰り返し実行する。斯様に構成すれば、接続判定を行うために駆動制御手段が流す駆動電流の量が最初は小さな値となり、そこから順次電流量が大きくなるように変化する。したがって、容量の小さい小型モータの巻線に大き過ぎる駆動電流を流すことが無く、巻線が発生する磁界によって回転子に配置されている永久磁石が減磁する事態を回避できる。   According to the robot control apparatus of the second aspect, when the control circuit first selects a motor having the smallest capacity as the inspection target motor among the plurality of motors, the control circuit sequentially selects the inspection target motors in the order of increasing capacity thereafter. Select and repeat the determination by the connection state determination means. If comprised in this way, in order to perform a connection determination, the amount of the drive current which a drive control means will flow will become a small value at the beginning, and it changes so that a current amount may become large sequentially from there. Therefore, it is possible to avoid a situation in which the permanent magnet disposed in the rotor is demagnetized by the magnetic field generated by the winding without flowing a too large driving current through the winding of the small motor having a small capacity.

請求項3記載のロボットの制御装置によれば、駆動制御手段は、接続状態判定手段による前記判定の結果が「良」である場合に、検査対象モータに付与する回転力を漸増させるように駆動電流を出力し、接続状態判定手段は、検査対象モータが駆動電流に応じて回転したか否かにより更に接続状態の良否を判定する。すなわち、請求項1のように判定を行った結果、何れのモータも回転しなかった場合は、複数の軸間における一部の誤接続は無いことが確認される。   According to the robot control device of the third aspect, the drive control means drives so as to gradually increase the rotational force applied to the inspection target motor when the result of the determination by the connection state determination means is “good”. The current is output, and the connection state determination means further determines whether or not the connection state is good depending on whether or not the inspection target motor has rotated according to the drive current. That is, as a result of the determination as in claim 1, if any motor does not rotate, it is confirmed that there is no partial misconnection between the plurality of shafts.

その上で、請求項3のように判定を行えば、検査対象モータと他の1つのモータとの間で全ての接続が入れ替わっている場合は、検査対象モータ以外のモータが回転することで判定できる。また、検査対象モータの相間に誤接続が生じている場合には、与えた駆動電流指令値に対して検査対象モータが逆方向に回転することで判定できる。したがって、誤接続判定を、様々なケースについて確実に行うことができる。   In addition, if the determination is made as in claim 3, if all connections are switched between the motor to be inspected and another motor, the determination is made by rotation of a motor other than the motor to be inspected. it can. In addition, when an erroneous connection occurs between the phases of the inspection target motor, the determination can be made by rotating the inspection target motor in the reverse direction with respect to the given drive current command value. Therefore, erroneous connection determination can be reliably performed for various cases.

第1実施例であり、(a)は故障・誤接続判定処理を示すフローチャート、(b)は(a)のステップS4で行う検査の詳細を示すフローチャートIn the first embodiment, (a) is a flowchart showing failure / incorrect connection determination processing, and (b) is a flowchart showing details of the inspection performed in step S4 of (a). ステップS19で「YES」と判断する正常な場合のイメージ図Image of normal case where “YES” is determined in step S19 ステップS18で「YES」と判断する異常な場合のイメージ図Image diagram of an abnormal case where “YES” is determined in step S18 ロボットシステムの構成を示す図Diagram showing the configuration of the robot system サーボモータの駆動系及び制御系を示すブロック図Block diagram showing servo motor drive system and control system サーボモータの構造を模式的に示す図Diagram showing the structure of the servo motor サーボモータの軸角(機械角)と電気角との関係を示す図Diagram showing the relationship between the servomotor shaft angle (mechanical angle) and electrical angle 電気角と駆動電流との位相差に応じてサーボモータに発生する回転力と、固定子−回転子間に作用する吸引・反発力とが変化する状態を示す図The figure which shows the state from which the rotational force which generate | occur | produces in a servomotor according to the phase difference of an electrical angle and a drive current, and the attraction / repulsion force which acts between a stator and a rotor change. 図8に示す一部の状態を回転座標系で示す図The figure which shows the one part state shown in FIG. 8 in a rotation coordinate system 第2実施例を示す図1相当図FIG. 1 equivalent view showing the second embodiment

(第1実施例)
以下、第1実施例について図1ないし図9を参照して説明する。図4は、ロボットシステムの構成を示す。このロボット本体1は、ベース(回転軸)2上に、この場合6軸のアームを有し、そのアームの先端には、図示しないハンド等のツールが取り付けられる。前記ベース2上には、第1関節(可動軸)J1を介して第1のアーム3が回転可能に連結されている。この第1のアーム3には、第2関節J2を介して上方に延びる第2のアーム4の下端部が回転可能に連結され、さらに、この第2のアーム4の上端部には、第3関節J3を介して第3のアーム5が回転可能に連結されている。
(First embodiment)
The first embodiment will be described below with reference to FIGS. FIG. 4 shows the configuration of the robot system. The robot body 1 has a 6-axis arm on a base (rotating shaft) 2 in this case, and a tool such as a hand (not shown) is attached to the tip of the arm. A first arm 3 is rotatably connected to the base 2 via a first joint (movable shaft) J1. The first arm 3 is rotatably connected to the lower end portion of the second arm 4 extending upward via the second joint J2, and further, the upper end portion of the second arm 4 The third arm 5 is rotatably connected via the joint J3.

この第3のアーム5の先端には第4関節J4を介して第4のアーム6が回転可能に連結され、この第4のアーム6の先端には第5関節J5を介して第5のアーム7が回転可能に連結され、この第5のアーム7には第6関節J6を介して第6のアーム8が回転可能に連結されている。なお、各関節J1〜J6においては、サーボモータ9(1〜6)により(図5参照)各アーム3〜8を回転駆動するようになっている。   A fourth arm 6 is rotatably connected to the tip of the third arm 5 via a fourth joint J4, and a fifth arm is connected to the tip of the fourth arm 6 via a fifth joint J5. 7 is rotatably connected, and the sixth arm 8 is rotatably connected to the fifth arm 7 via a sixth joint J6. In addition, in each joint J1-J6, each arm 3-8 is rotationally driven by the servomotor 9 (1-6) (refer FIG. 5).

制御装置11は、各軸のサーボモータ9(1〜6)に対応して独立したドライバユニット12(1〜6)を備えており、これらのドライバユニット12は制御回路13(図5参照)によって制御される。そして、ロボット1本体と各ドライバユニット12(1〜6)との間は、モータ線14及びエンコーダ線15によって接続されている。モータ線14は、ドライバユニット12に内蔵されているインバータ(駆動回路,図5参照)16の各相出力端子と、サーボモータ9の固定子巻線との間を接続する配線である。モータ線14のドライバユニット12側は6つに分岐しており、各分岐先がドライバユニット12(1〜6)にそれぞれ接続されている。   The control device 11 includes independent driver units 12 (1 to 6) corresponding to the servo motors 9 (1 to 6) of the respective axes, and these driver units 12 are controlled by a control circuit 13 (see FIG. 5). Be controlled. The main body of the robot 1 and each driver unit 12 (1 to 6) are connected by a motor line 14 and an encoder line 15. The motor wire 14 is a wiring that connects between each phase output terminal of the inverter (drive circuit, see FIG. 5) 16 built in the driver unit 12 and the stator winding of the servo motor 9. The driver unit 12 side of the motor wire 14 is branched into six, and each branch destination is connected to the driver unit 12 (1 to 6).

また、エンコーダ線15は、ロボット本体1の各軸について、サーボモータ9(1〜6)に配置されている位置検出器17(1〜6)(図5参照)と、ドライバユニット12(1〜6)とを接続する配線である。位置検出器17は、例えばロータリエンコーダ等で構成され、サーボモータ9の回転子の絶対位置を例えば光学式により検出し、位置データをシリアル通信によってドライバユニット12側に送信する。エンコーダ線15のドライバユニット12側も6つに分岐しており、各分岐先がドライバユニット12(1〜6)にそれぞれ接続されている。   In addition, the encoder wire 15 is connected to the position detectors 17 (1 to 6) (see FIG. 5) disposed in the servo motors 9 (1 to 6) and the driver units 12 (1 to 1) for each axis of the robot body 1. 6). The position detector 17 is constituted by, for example, a rotary encoder, detects the absolute position of the rotor of the servo motor 9 by, for example, an optical method, and transmits position data to the driver unit 12 side by serial communication. The driver unit 12 side of the encoder line 15 is also branched into six, and each branch destination is connected to the driver unit 12 (1 to 6).

図5は、サーボモータ9の駆動系及び制御系を示すブロック図である。インバータ16は、例えばパワートランジスタ等の6個のスイッチング素子を三相ブリッジ接続して構成されている。電源回路18は、6個のダイオードを三相ブリッジ接続して構成される整流回路19と平滑コンデンサ20とで構成され、三相交流電源21を整流・平滑してインバータ16に直流電源を供給する。   FIG. 5 is a block diagram showing a drive system and a control system of the servo motor 9. The inverter 16 is configured by connecting six switching elements such as power transistors in a three-phase bridge. The power supply circuit 18 includes a rectifier circuit 19 configured by connecting six diodes in a three-phase bridge and a smoothing capacitor 20, and rectifies and smoothes a three-phase AC power supply 21 to supply a DC power supply to the inverter 16. .

また、図5には、例えばマイクロコンピュータにより構成される制御回路(初期位置判定手段,駆動制御手段,接続状態判定手段)13がソフトウェアにより実現する各機能をブロック化して示している。減算器22には、位置指令値と位置検出器17により検出される位置(電気角)θaとが与えられ、両者の差分(位置偏差)が乗算器23に出力される。乗算器23では、上記差分に位置ループ比例ゲインKppが乗じられ、その乗算結果が速度指令値として減算器24に出力される。減算器24には、上記位置θaを微分器25で微分して得られる速度が減算値として与えられる。   Further, FIG. 5 shows the functions realized by software by the control circuit (initial position determination means, drive control means, connection state determination means) 13 constituted by a microcomputer, for example. The subtracter 22 is given the position command value and the position (electrical angle) θa detected by the position detector 17, and the difference (position deviation) between the two is output to the multiplier 23. The multiplier 23 multiplies the difference by a position loop proportional gain Kpp, and outputs the multiplication result to the subtractor 24 as a speed command value. A speed obtained by differentiating the position θa by the differentiator 25 is given to the subtractor 24 as a subtraction value.

減算器24における減算結果(速度偏差)は、乗算器26に与えられて速度ループ比例ゲインKvpが乗じられると加算器27に出力され、また積分器28に与えられて積分される。積分器28による積分結果は、乗算器29に与えられて速度ループ積分ゲインKviが乗じられると加算器27に出力される。加算器27における加算結果はトルク指令値となり、故障診断切換スイッチ30の固定接点30(t1)に与えられる。   The subtraction result (speed deviation) in the subtractor 24 is given to the multiplier 26 and multiplied by the speed loop proportional gain Kvp, and then outputted to the adder 27, and also given to the integrator 28 for integration. The integration result obtained by the integrator 28 is supplied to the multiplier 29 and is output to the adder 27 when multiplied by the speed loop integration gain Kvi. The addition result in the adder 27 becomes a torque command value, which is given to the fixed contact 30 (t1) of the failure diagnosis change-over switch 30.

故障診断切換スイッチ30の固定接点30(t2)には、最大トルク指令値付与部31により最大トルク指令値が与えられ、可動接点30(t3)は、トルク制限器(リミッタ)32の入力端子に接続されている。トルク制限器32は、加算器27より出力されるトルク指令値を上限,下限で制限して座標変換部33U,33Vに出力する。座標変換部33U,33Vには、サーボモータ9に正弦波状の電流を通電するための波形データが記憶されており、故障診断切換スイッチ34を介して位置検出器17が検出した位置(電気角)θa(t1側),又は故障診断装置35より出力される故障診断用の電気角(t2側)の何れか一方が与えられる。   A maximum torque command value is given to the fixed contact 30 (t2) of the failure diagnosis changeover switch 30 by the maximum torque command value applying unit 31, and the movable contact 30 (t3) is connected to the input terminal of the torque limiter (limiter) 32. It is connected. The torque limiter 32 limits the torque command value output from the adder 27 at the upper limit and the lower limit, and outputs it to the coordinate conversion units 33U and 33V. The coordinate converters 33U and 33V store waveform data for applying a sinusoidal current to the servo motor 9, and the position (electrical angle) detected by the position detector 17 via the failure diagnosis changeover switch 34. Either θa (t1 side) or an electrical angle for fault diagnosis (t2 side) output from the fault diagnosis device 35 is given.

故障診断切換スイッチ30,34の切換え制御は故障診断装置35によって行われ、サーボモータ9を通常制御する場合、故障診断装置35は、故障診断切換スイッチ30,34の可動接点30(t3),34(t3)を夫々固定接点30(t1),34(t1)側に切り替え、故障診断を行う場合は、可動接点30(t3),34(t3)を夫々固定接点30(t2),34(t2)側に切り替える。   Switching control of the failure diagnosis change-over switches 30 and 34 is performed by the failure diagnosis device 35. When the servo motor 9 is normally controlled, the failure diagnosis device 35 moves the movable contacts 30 (t3) and 34 of the failure diagnosis change-over switches 30 and 34. When (t3) is switched to the fixed contacts 30 (t1) and 34 (t1), respectively, and the failure diagnosis is performed, the movable contacts 30 (t3) and 34 (t3) are respectively fixed contacts 30 (t2) and 34 (t2). ) Side.

座標変換部33は、故障診断切換スイッチ34を介して与えられる電気角に応じて正弦波状の電流波形データを読み出して出力する。そして、トルク制限器32を介して与えられるトルク指令値は、上記電流波形データに乗じられて振幅値を設定する。尚、座標変換部33U,33Vより出力される波形データには、120°の位相差が付与されている。
座標変換部33U,33Vより出力される波形データは、減算器36U,36Vに夫々与えられ、インバータ16のU,V相出力端子に夫々配置されている電流検出器37U,37Vにより検出されるU相電流,V相電流との差がとられる。電流検出器37U,37Vは、例えばカレントトランス(CT)等で構成される。減算器36U,36Vより出力される減算結果は、乗算器38U,38Vにより電流ループ比例ゲインKcpが乗じられて、PWM発生器・プリドライバ39に出力される。
The coordinate conversion unit 33 reads and outputs sinusoidal current waveform data according to the electrical angle given through the failure diagnosis changeover switch 34. The torque command value given through the torque limiter 32 is multiplied by the current waveform data to set an amplitude value. The waveform data output from the coordinate conversion units 33U and 33V is given a phase difference of 120 °.
The waveform data output from the coordinate conversion units 33U and 33V is given to the subtracters 36U and 36V, respectively, and is detected by the current detectors 37U and 37V arranged at the U and V phase output terminals of the inverter 16, respectively. The difference between the phase current and the V phase current is taken. The current detectors 37U and 37V are configured by, for example, a current transformer (CT). The subtraction results output from the subtractors 36U and 36V are multiplied by the current loop proportional gain Kcp by the multipliers 38U and 38V and output to the PWM generator / predriver 39.

すなわち、PWM発生器・プリドライバ39には、U,V相のPWM指令値のみが与えられ、PWM発生器・プリドライバ39は、上記PWM指令値に基づき内部でW相のPWM指令値を生成する。そしてPWM発生器・プリドライバ39は、インバータ16を構成する各スイッチング素子(例えばパワートランジスタやパワーMOSFET,IGBTなど)の制御端子(ベース又はゲート)に三相PWM信号を出力する。   That is, only the U and V phase PWM command values are given to the PWM generator / predriver 39, and the PWM generator / predriver 39 internally generates the W phase PWM command value based on the PWM command value. To do. The PWM generator / predriver 39 outputs a three-phase PWM signal to the control terminal (base or gate) of each switching element (for example, power transistor, power MOSFET, IGBT, etc.) constituting the inverter 16.

図6は、サーボモータ9の構造を模式的に示す図である。サーボモータ9は、永久磁石型の同期モータで4極6スロットの内転型であり、回転子41は、回転子鉄心42の表面に永久磁石43が4極分配置されて構成されている。一方、固定子44は、回転子41の外周を囲むように配置される固定子鉄心の6つの歯45に、U,V,Wの各相コイル46が順次巻装されている。そして、サーボモータ9(1〜6)の図示しない回転軸は、減速機構を介して各アーム3〜8を回転駆動する。   FIG. 6 is a diagram schematically showing the structure of the servo motor 9. The servo motor 9 is a permanent magnet type synchronous motor and is a 4 pole 6 slot internal rotation type, and the rotor 41 is configured by arranging permanent magnets 43 for 4 poles on the surface of the rotor core 42. On the other hand, in the stator 44, U-phase, V-, and W-phase coils 46 are sequentially wound around six teeth 45 of the stator core disposed so as to surround the outer periphery of the rotor 41. And the rotating shaft (not shown) of the servo motor 9 (1 to 6) drives the arms 3 to 8 through a speed reduction mechanism.

次に、本実施例の作用について図1ないし図3,図7,図8を参照して説明する。図4に示したように、ロボット本体1と、ドライバユニット12(1〜6)との間は、モータ線14及びエンコーダ線15により接続されるが、ドライバユニット12(1〜6)側については6つに分岐しているため、それらの接続先を誤る場合が起こり得る。そこで、本実施例ではシステムへの電源投入時に、以下のようにして接続状態の良否を判定する。   Next, the operation of this embodiment will be described with reference to FIGS. 1 to 3, FIG. 7, and FIG. As shown in FIG. 4, the robot body 1 and the driver unit 12 (1-6) are connected by the motor wire 14 and the encoder wire 15, but the driver unit 12 (1-6) side is connected. Since there are 6 branches, the connection destination may be wrong. Therefore, in this embodiment, when the system is turned on, the quality of the connection state is determined as follows.

尚、ロボット本体1について、各サーボモータ9に対する通電が停止している状態で、且つ機械的なブレーキの作用が無いとすれば、アーム4,5は重力に抗して現状の位置を維持する必要がある。しかし、例えば減速機構にも一定の負荷があり、減速機構を構成するギア等を回転させるために所定値以上のトルクが必要であれば(例えばウォームギア等が介在している場合)、サーボモータ9が非通電の状態であってもロボット本体1の各軸が原位置を維持することは可能である。   If the robot body 1 is not energized to each servo motor 9 and there is no mechanical brake, the arms 4 and 5 maintain their current positions against gravity. There is a need. However, for example, if the speed reduction mechanism also has a certain load, and if a torque greater than a predetermined value is required to rotate the gears constituting the speed reduction mechanism (for example, when a worm gear or the like is interposed), the servo motor 9 It is possible for each axis of the robot body 1 to maintain the original position even when is not energized.

図1(a)は、制御回路13が行う故障・誤接続判定処理を示すフローチャート(メインルーチン)である。制御回路13は、先ず、検査対象とする軸(サーボモータ9)を選択するためのカウンタnを「1」にセットすると(ステップS1)、各軸に配置されているサーボモータ9(1〜6)のうち、容量すなわち通電可能な最大定格電流値がn番目に少ないものを選択し、その軸数をポインタjに設定する(ステップS2)。
ここで、多可動軸型のロボットでは、一般にアームの基部に近いほどサーボモータの負荷が高くなるため、相対的に容量の大きいものが使用される。例えば6軸ロボットの場合について一例を挙げると、第1軸〜第6軸にかけて容量が1500W,750W,400W,200W,200W,100Wとなっている。つまり、第6軸のサーボモータ9(6)の容量が最小であるから、最初は第6軸が選択される。
FIG. 1A is a flowchart (main routine) showing a failure / wrong connection determination process performed by the control circuit 13. First, when the control circuit 13 sets a counter n for selecting an axis (servo motor 9) to be inspected to “1” (step S1), the servo motor 9 (1-6) arranged on each axis. ), The capacity, that is, the maximum rated current value that can be energized is nth smallest, and the number of axes is set to the pointer j (step S2).
Here, in the multi-movable axis type robot, since the load on the servo motor is generally higher as it is closer to the base of the arm, a robot having a relatively large capacity is used. For example, in the case of a 6-axis robot, the capacity is 1500 W, 750 W, 400 W, 200 W, 200 W, 100 W from the first axis to the sixth axis. That is, since the capacity of the sixth axis servo motor 9 (6) is the smallest, the sixth axis is selected at first.

ステップS2に続くステップS3でカウンタnをインクリメントすると、第j軸について検査を行う(ステップS4)。図1(b)は、ステップS4で行う検査の詳細を示すフローチャートである。先ず、全ての軸に配置されている位置検出器17が、電源が投入された時点で検出している各サーボモータ9の回転子位置(初期位置)を取得する(ステップS11)。尚、位置検出器17が出力するのは機械角であるから、4極モータでは、その2倍が電気角を示す。すなわち、図7に示すように、モータの機械角(軸角)が0[DEG]〜〜360[DEG]に変化する間に、電気角は2周期に亘り変化する。ステップS11を実行すると、検査対象軸のサーボモータ9(j)について固定子−回転子間の吸引力が最大になる通電位相差で、ドライバユニット12(j)により最大電流を流す(ステップS12)。   When the counter n is incremented in step S3 following step S2, the j-th axis is inspected (step S4). FIG. 1B is a flowchart showing details of the inspection performed in step S4. First, the position detectors 17 arranged on all the axes acquire the rotor position (initial position) of each servo motor 9 detected when the power is turned on (step S11). Since the position detector 17 outputs a mechanical angle, in the case of a 4-pole motor, twice that indicates an electrical angle. That is, as shown in FIG. 7, while the mechanical angle (axis angle) of the motor changes from 0 [DEG] to ~ 360 [DEG], the electrical angle changes over two cycles. When step S11 is executed, the driver unit 12 (j) passes a maximum current with an energization phase difference that maximizes the attraction force between the stator and the rotor for the servo motor 9 (j) of the inspection target shaft (step S12). .

ここで、図8を参照する。図8は、電気角と駆動電流との位相差に応じて、サーボモータ9に発生する回転力(トルク)と、固定子−回転子間に作用する吸引・反発力とが変化する状態を示したものである。ここで、回転力はベクトル制御におけるトルク電流;q軸電流に対応し、磁力は励磁電流;d軸電流に対応しており、駆動電流はこれらのベクトル和である。そして、上記位相差(以降、通電位相差と称す)は、d−q座標上での角度を示す。   Reference is now made to FIG. FIG. 8 shows a state in which the rotational force (torque) generated in the servo motor 9 and the attractive / repulsive force acting between the stator and the rotor change according to the phase difference between the electrical angle and the drive current. It is a thing. Here, the rotational force corresponds to the torque current in vector control; q-axis current, the magnetic force corresponds to the excitation current; d-axis current, and the drive current is the vector sum of these. The phase difference (hereinafter referred to as energization phase difference) indicates an angle on the dq coordinate.

この図から、通電位相差が0度の場合にd軸電流が最大となって磁力の吸引力が最大になり、q軸電流はゼロになって回転力は最小になることが判る。また、通電位相差が180度の場合は、d軸電流が逆極性で最大となって磁力の反発力が最大となる。一方、通電位相差が90度の場合はd軸電流がゼロとなって磁力は最小になり、q軸電流が最大となって右回転力が最大になり、通電位相差が−90度の場合は、q軸電流が逆極性で最大となって左回転力が最大となる。
図9は、図8に示す一部の状態を回転座標系で示したものである。図9(a)は(電気角θa)=(電流位相角θb);すなわち、図8の通電位相差が0度の場合に対応し、図9(b)は(電気角θa)−(電流位相角θb)=90[DEG];すなわち、図8の通電位相差が90度の場合に対応している。
From this figure, it can be seen that when the conduction phase difference is 0 degree, the d-axis current becomes maximum and the magnetic attractive force becomes maximum, and the q-axis current becomes zero and the rotational force becomes minimum. Further, when the energization phase difference is 180 degrees, the d-axis current has the maximum reverse polarity and the repulsive force of the magnetic force becomes the maximum. On the other hand, when the energization phase difference is 90 degrees, the d-axis current is zero and the magnetic force is minimized, the q-axis current is maximized and the right rotational force is maximized, and the energization phase difference is -90 degrees. The q-axis current is the maximum with the reverse polarity, and the left rotational force is the maximum.
FIG. 9 shows a part of the state shown in FIG. 8 in a rotating coordinate system. 9A corresponds to the case where (electrical angle θa) = (current phase angle θb); that is, the energization phase difference in FIG. 8 is 0 degree, and FIG. 9B shows (electrical angle θa) − (current Phase angle θb) = 90 [DEG]; That is, this corresponds to the case where the energization phase difference in FIG. 8 is 90 degrees.

再び、図1を参照する。ステップS12では、電気角と駆動電流との通電位相差を0度にしてd軸電流が最大となるように通電する。この場合、故障診断装置35は、上述のように可動接点30(t3),34(t3)を夫々固定接点30(t2),34(t2)側に切り替えた状態で、最大トルク指令値を付与すると共に、位置検出器17が検出した電気角θaから吸引力が最大となるような電気角を固定接点34bに出力する。これにより、上記位相差が実態に一致していれば、検査対象軸のサーボモータ9(j)には回転力が発生せず初期位置を維持する。   Reference is again made to FIG. In step S12, the energization phase difference between the electrical angle and the drive current is set to 0 degree so that the d-axis current is maximized. In this case, the failure diagnosis device 35 gives the maximum torque command value in a state where the movable contacts 30 (t3) and 34 (t3) are switched to the fixed contacts 30 (t2) and 34 (t2), respectively, as described above. At the same time, an electrical angle that maximizes the attractive force is output from the electrical angle θa detected by the position detector 17 to the fixed contact 34b. As a result, if the phase difference matches the actual condition, the initial position is maintained without generating a rotational force in the servomotor 9 (j) of the inspection target shaft.

しかし、検査対象軸の位置検出器17(j)が出力する位置データに誤りがあったり、検査対象軸のエンコーダ線15がそれ以外の軸と入れ替わって接続されている場合は、実際の電気角θaとのずれにより生じた位相差に基づいてq軸電流が流れ、サーボモータ9に回転力が発生する。
そこで、再びステップS11と同様にして各サーボモータ9の位置θaを取得し(ステップS13)、初期位置との差から何れかの軸のサーボモータ9が回転したか否かを判断する(ステップS14)。そして、何れかの軸のサーボモータ9が回転した場合は(YES)、検査対象である第j軸の判定結果は「異常」となり(ステップS22)、処理を終了する。一方、何れの軸のサーボモータ9も回転しなかった場合は(NO)、ステップS15に移行する。
However, if there is an error in the position data output by the position detector 17 (j) for the inspection target axis, or if the encoder line 15 for the inspection target axis is replaced with another axis and connected, the actual electrical angle A q-axis current flows based on the phase difference caused by the deviation from θa, and a rotational force is generated in the servo motor 9.
Accordingly, the position θa of each servo motor 9 is acquired again in the same manner as in step S11 (step S13), and it is determined whether the servo motor 9 of any axis has rotated from the difference from the initial position (step S14). ). If the servo motor 9 of any axis rotates (YES), the determination result of the j-th axis that is the inspection target becomes “abnormal” (step S22), and the process is terminated. On the other hand, if the servo motor 9 of any axis has not rotated (NO), the process proceeds to step S15.

ステップS15以降は、異なる手法により更に検査を行う。次は、検査対象軸について、通電位相差を0度から90度未満の範囲で(ステップS16)次第にずらして(例えば5度ずつ)、すなわちq軸電流を次第に増加させてサーボモータ9(j)に付与する回転力が徐々に大きくなるようにする。そして、通電位相差が90度(絶対値)に達するまで(YES)、全ての軸について現在位置を取得し(ステップS17)、検査対象軸以外の軸(他軸)が回転したか否か,若しくは自軸が通電位相差をずらした方向とは逆方向に回転した場合は(ステップS18)、また検査対象軸(自軸)が通電位相差をずらした方向に回転したか否か(ステップS19)を判断する。この場合、故障診断装置35は、位置検出器17(j)が検出した電気角θaに対して、自身が付与する通電位相差を徐々に増加させながら固定接点34(t2)に出力する。   After step S15, further inspection is performed by a different method. Next, with respect to the inspection target axis, the energization phase difference is gradually shifted within a range of 0 to less than 90 degrees (step S16) (for example, by 5 degrees), that is, the q-axis current is gradually increased to increase the servo motor 9 (j). The rotational force applied to is gradually increased. Then, until the energization phase difference reaches 90 degrees (absolute value) (YES), the current positions are acquired for all axes (step S17), and whether or not the axes other than the inspection target axes (other axes) are rotated, Alternatively, when the own axis rotates in the direction opposite to the direction in which the energization phase difference is shifted (step S18), whether or not the inspection target axis (own axis) has rotated in the direction in which the energization phase difference is shifted (step S19). ). In this case, the failure diagnosis device 35 outputs the electrical phase θa detected by the position detector 17 (j) to the fixed contact 34 (t2) while gradually increasing the energization phase difference provided by itself.

ステップS18において、他軸の回転が検出された場合,若しくは自軸が通電位相差をずらした方向とは逆方向に回転した場合は(YES)、モータ線14の配線接続に誤りがあることを示すのでステップS22に移行する。また、ステップS19において、検査対象軸が通電位相差をずらした方向に回転すれば(YES)、モータ線14の配線接続は正常であることを示す。したがって、必要に応じて第j軸の位置を初期位置に復帰させるように通電制御を行うと(ステップS20)、第j軸の判定結果を「正常」として(ステップS21)検査を終了する。   If rotation of the other axis is detected in step S18, or if the own axis rotates in the direction opposite to the direction in which the energization phase difference is shifted (YES), it is confirmed that there is an error in the wiring connection of the motor line 14. Since it shows, it transfers to step S22. In Step S19, if the inspection target axis rotates in the direction in which the energization phase difference is shifted (YES), it indicates that the wiring connection of the motor line 14 is normal. Therefore, if energization control is performed so that the position of the j-th axis returns to the initial position as necessary (step S20), the determination result of the j-th axis is set to “normal” (step S21), and the inspection is terminated.

また、ステップS19において、検査対象軸の回転が検出されなければ(NO)ステップS15に戻り通電位相差を増加させるが、上記回転が検出されないまま通電位相差が90度に達した場合は(ステップS16:NO)、サーボモータ9(j)が故障しているか、モータ線14の配線接続に問題があることを示す。したがって、この場合もステップS22に移行する。
ここで図2は、ステップS19で「YES」と判断した正常な場合のイメージであり、検査対象とする第j軸のサーボモータ9(j)が、検査を行う毎に順番に回転することになる。また、図3は、ステップS18で「YES」と判断した異常な場合のイメージであり、第j軸のサーボモータ9(j)とは異なる他軸のサーボモータ9が回転した場合を示している。
In step S19, if rotation of the inspection target axis is not detected (NO), the process returns to step S15 to increase the energization phase difference. However, if the energization phase difference reaches 90 degrees without detecting the rotation (step S16: NO), it indicates that the servo motor 9 (j) is out of order or that there is a problem in the wiring connection of the motor wire 14. Therefore, also in this case, the process proceeds to step S22.
FIG. 2 is an image of a normal case where “YES” is determined in step S19. The j-axis servo motor 9 (j) to be inspected rotates in turn every time inspection is performed. Become. FIG. 3 is an image of an abnormal case determined as “YES” in step S18, and shows a case where the servo motor 9 of another axis different from the j-axis servo motor 9 (j) rotates. .

上記のようにして第j軸の検査が終了すると、図1(a)のフローにリターンしてステップS5に移行する。そして、第j軸の検査結果が「正常」か否かを判断し、「正常」であれば(YES)、カウンタnの値が検査する軸数(6軸であれば「6」)を超えたか否かを判断する(ステップS6)。検査軸数を超えていなければ(NO)ステップS2に戻り、容量が次に大きい(通電可能な最大定格電流値が次に少ない)サーボモータ9の軸数をポインタjに設定して、引き続き検査を行う。
ステップS6において、検査軸数を超えた場合は(YES)全体の判定結果を「正常」として(ステップS8)処理を終了する。また、ステップS5において、第j軸の検査結果が「異常」であれば(NO)、その時点で全体の判定結果を「異常」として(ステップS7)処理を終了する。
When the inspection of the jth axis is completed as described above, the process returns to the flow of FIG. 1A and proceeds to step S5. Then, it is determined whether or not the inspection result of the j-th axis is “normal”. If “normal” (YES), the value of the counter n exceeds the number of axes to be inspected (“6” if there are 6 axes). It is determined whether or not (step S6). If the number of inspection axes has not been exceeded (NO), the process returns to step S2, and the number of axes of the servo motor 9 with the next largest capacity (the next smallest rated current value that can be energized) is set to the pointer j, and the inspection continues. I do.
In step S6, when the number of inspection axes is exceeded (YES), the entire determination result is set to “normal” (step S8), and the process is terminated. If the inspection result on the j-th axis is “abnormal” in step S5 (NO), the entire determination result is “abnormal” at that time (step S7), and the process is terminated.

以上のように本実施例によれば、制御回路13は、複数のサーボモータ9の何れか1つを検査対象モータ9(j)として、電源投入時に検査対象モータ9(j)に配置されている位置検出器17(j)によって得られる位置θaから検査対象モータ9(j)の初期位置を取得すると、検査対象モータ9(j)の回転子が初期位置を維持するように、対応するインバータ16(j)を介して検査対象モータ9(j)の各相巻線に駆動電流を出力する。そして、その電流出力期間内にロボット本体1の各軸に配置されるサーボモータ9の何れかが回転したか否かによって、各インバータ16とそれぞれに対応するサーボモータ9との接続状態の良否を判定する。また、エンコーダ線15の接続状態の良否も判定できる。   As described above, according to the present embodiment, the control circuit 13 is arranged in the inspection target motor 9 (j) when the power is turned on, with any one of the plurality of servo motors 9 being the inspection target motor 9 (j). When the initial position of the inspection target motor 9 (j) is obtained from the position θa obtained by the position detector 17 (j), the corresponding inverter so that the rotor of the inspection target motor 9 (j) maintains the initial position. A drive current is output to each phase winding of the inspection target motor 9 (j) via 16 (j). Then, depending on whether any of the servo motors 9 arranged on the respective axes of the robot body 1 has rotated during the current output period, whether or not each inverter 16 is connected to the corresponding servo motor 9 is determined. judge. Moreover, the quality of the connection state of the encoder line 15 can also be determined.

このように判定を行えば、インバータ16と対応するサーボモータ9との接続が誤っているため何れかのサーボモータ9が回転する場合でも、その回転量は極めて僅かな値に留まる。すなわち、最大でも、サーボモータ9が機械角で1回転以上することはなく、回転子41の極数と固定子44のスロット数との関係で決まる数分の1回転以内に収まる。したがって、それに伴うロボット本体1の動作変化量も僅かとなるから安全性を維持することができる。また、上記の判定は、制御回路13が実行する制御プログラムを変更すれば容易に実施できるので、既存のロボットシステムに対しても容易に適用することができる。   If the determination is made in this way, the connection between the inverter 16 and the corresponding servo motor 9 is incorrect, so even if any one of the servo motors 9 rotates, the amount of rotation remains very small. That is, at most, the servo motor 9 does not make one rotation or more in mechanical angle, and is within one rotation determined by the relationship between the number of poles of the rotor 41 and the number of slots of the stator 44. Therefore, the amount of change in the operation of the robot body 1 associated therewith is also small, so that safety can be maintained. Moreover, since the above determination can be easily performed by changing the control program executed by the control circuit 13, it can be easily applied to an existing robot system.

また、制御回路13は、複数のサーボモータ9の内、最初に容量が最小のサーボモータ9を検査対象モータ9(j)として選択すると、以降は容量が大きくなる順に検査対象モータ9(j)を順次選択して判定を繰り返し実行する。したがって、容量の小さいサーボモータ9の巻線に大き過ぎる駆動電流を流すことが無く、巻線が発生する磁界によって回転子に配置されている永久磁石が減磁する事態を回避できる。   In addition, when the control circuit 13 first selects the servo motor 9 having the smallest capacity among the plurality of servo motors 9 as the inspection target motor 9 (j), the inspection target motor 9 (j) is subsequently increased in order of the capacity. Are sequentially selected and repeatedly executed. Therefore, it is possible to avoid a situation in which the permanent magnet disposed in the rotor is demagnetized by the magnetic field generated by the winding without flowing an excessively large driving current through the winding of the servo motor 9 having a small capacity.

更に、制御回路13は、前記判定の結果が「良」である場合に、検査対象モータ9(j)に付与する回転力を漸増させるように駆動電流を出力し、検査対象モータ9(j)が駆動電流に応じて回転したか否かにより更に接続状態の良否を判定するので、検査対象モータ9(j)と他の1つのサーボモータ9との間で全ての接続が入れ替わっている場合は、検査対象モータ9(j)以外の何れかのサーボモータ9が回転することで判定できる。また、検査対象モータ9(j)の相間に誤接続が生じている場合には、与えた駆動電流指令値に対して検査対象モータ9(j)が逆方向に回転するか,若しくは回転しないことで判定できる。したがって、誤接続判定を、様々なケースについて確実に行うことができる。   Further, when the determination result is “good”, the control circuit 13 outputs a driving current so as to gradually increase the rotational force applied to the inspection target motor 9 (j), and the inspection target motor 9 (j). Since whether or not the connection state is further determined according to whether or not the motor has rotated in accordance with the drive current, when all the connections are switched between the inspection target motor 9 (j) and the other servo motor 9 This can be determined by rotation of any servo motor 9 other than the inspection target motor 9 (j). In addition, when an erroneous connection occurs between the phases of the inspection target motor 9 (j), the inspection target motor 9 (j) rotates in the opposite direction or does not rotate with respect to the given drive current command value. Can be determined. Therefore, erroneous connection determination can be reliably performed for various cases.

(第2実施例)
図10は第2実施例であり、第1実施例と同一部分には同一符号を付して説明を省略し、以下異なる部分について説明する。第2実施例は、具体的には図示しないが、ロボット本体1の各軸に機械ブレーキが作用する構成となっている場合で、機械ブレーキを解除すると、各軸の回転位置は重量の作用や外乱により容易に変化し得る状態にあるとする。この状態で故障検出を行う場合を示す。
(Second embodiment)
FIG. 10 shows a second embodiment. The same parts as those in the first embodiment are denoted by the same reference numerals and the description thereof is omitted. Hereinafter, different parts will be described. In the second embodiment, although not specifically shown, when the mechanical brake is applied to each axis of the robot body 1, when the mechanical brake is released, the rotational position of each axis is affected by the action of weight. Suppose that it is in a state that can be easily changed by disturbance. The case where failure detection is performed in this state is shown.

そして、初期状態で、機械ブレーキがロボット本体1の各軸に作用しているとする。図10(a)のステップS30では、全ての軸の初期位置を取得すると、全ての軸についてd軸電流が最大となるように駆動電流を通電し(ステップS31)、その状態で機械ブレーキを解除する(ステップS32)。そして、全軸のその時点の回転位置を取得すると(ステップS33)、何れかの軸が回転したか否かを判断する(ステップS34)。   In the initial state, it is assumed that the mechanical brake is acting on each axis of the robot body 1. In step S30 of FIG. 10A, when the initial positions of all the axes are acquired, the drive current is supplied so that the d-axis current becomes the maximum for all the axes (step S31), and the mechanical brake is released in that state. (Step S32). When the rotational positions at that time of all the axes are acquired (step S33), it is determined whether any of the axes has rotated (step S34).

ステップS34において、何れの軸も回転していなければ(NO)、カウンタjを「1」に設定し(ステップS35)、第j軸の検査を行う。図9(b)に示す第j軸の検査内容は、第1実施例の図1(b)よりステップS12〜S14を削除したものとほぼ同様である。そして、ステップS5の実行後に、カウンタjをインクリメントする(ステップS36)。   In step S34, if no axis is rotating (NO), the counter j is set to “1” (step S35), and the j-th axis is inspected. The inspection content on the j-th axis shown in FIG. 9B is substantially the same as that obtained by deleting steps S12 to S14 from FIG. 1B of the first embodiment. Then, after executing step S5, the counter j is incremented (step S36).

図10(a)のステップS6’では、カウンタjの値が検査する軸数を超えたか否かを判断する。また、ステップS7の実行後は、全軸の機械ブレーキを作用させてから(ステップS37)全軸について通電をオフし(ステップS38)、その後処理を終了する。
以上のように第2実施例によれば、ロボット本体1の各軸に機械ブレーキが作用する構成となっており、機械ブレーキを解除すると、各軸の回転位置が変化し得る構成においても、第1実施例と同様に故障診断を行うことができる。
In step S6 ′ of FIG. 10A, it is determined whether or not the value of the counter j exceeds the number of axes to be inspected. Further, after execution of step S7, the mechanical brakes of all the axes are applied (step S37), the energization is turned off for all the axes (step S38), and then the process ends.
As described above, according to the second embodiment, the mechanical brake is applied to each axis of the robot body 1, and even when the rotational position of each axis can be changed by releasing the mechanical brake, Fault diagnosis can be performed as in the first embodiment.

本発明は上記し、又は図面に記載した実施例にのみ限定されるものではなく、以下のような変形又は拡張が可能である。
位置検出器には、その他例えばレゾルバ等を用いても良い。
永久磁石型の同期モータは、SPM(Surface Permanent Magnet)型,IPM(Interior Permanent Magnet)型の何れでも良い。また、4極6スロット構成に限ることもない。
水平多可動軸型のロボットに適用しても良い。
尚、「可動軸」は回転軸だけでなく、直動軸も含むものとする。
The present invention is not limited to the embodiments described above or shown in the drawings, and the following modifications or expansions are possible.
For example, a resolver or the like may be used as the position detector.
The permanent magnet type synchronous motor may be either an SPM (Surface Permanent Magnet) type or an IPM (Interior Permanent Magnet) type. Further, it is not limited to the 4-pole 6-slot configuration.
The present invention may be applied to a horizontal multi-movable axis type robot.
The “movable shaft” includes not only the rotary shaft but also the linear motion shaft.

図面中、1はロボット本体、9はサーボモータ(永久磁石型モータ)、16はインバータ(駆動回路)、13は制御回路(初期位置判定手段,駆動制御手段,接続状態判定手段)、17は位置検出器を示す。   In the drawings, 1 is a robot body, 9 is a servo motor (permanent magnet type motor), 16 is an inverter (drive circuit), 13 is a control circuit (initial position determination means, drive control means, connection state determination means), and 17 is a position. The detector is shown.

Claims (6)

多可動軸型ロボット本体の各軸に配置される永久磁石型のモータにそれぞれ対応して配置される、前記モータの各相巻線に電流を出力する複数の駆動回路及び前記モータの電気角を検出する複数の位置検出器と、前記複数の位置検出器より各モータの電気角を得ると、前記複数の駆動回路を介して各モータを駆動制御する制御回路とを備えるロボットの制御装置において、
前記制御回路は、前記複数のモータの何れか1つを検査対象モータとして、
電源投入時に、前記検査対象モータに配置されている位置検出器によって得られる位置信号から、前記検査対象モータの電気角を初期位置として取得する初期位置取得手段と、
前記検査対象モータの電気角が前記初期位置を維持するように、対応する駆動回路を介して前記検査対象モータの各相巻線に駆動電流を出力する駆動制御手段と、
この駆動制御手段が前記駆動電流を出力している期間に、前記各軸に配置されるモータの何れかが回転した場合は、前記複数の駆動回路とそれぞれに対応するモータとの接続状態の不良を判定する接続状態判定手段とを備えることを特徴とするロボットの制御装置。
A plurality of drive circuits arranged to correspond to the permanent magnet type motors arranged on the respective axes of the multi-movable axis type robot main body and outputting electric currents to the respective phase windings of the motors, and the electric angles of the motors In a robot control apparatus comprising: a plurality of position detectors to detect; and a control circuit that drives and controls each motor via the plurality of drive circuits when an electrical angle of each motor is obtained from the plurality of position detectors.
The control circuit uses any one of the plurality of motors as an inspection target motor,
Initial position acquisition means for acquiring an electrical angle of the inspection target motor as an initial position from a position signal obtained by a position detector disposed on the inspection target motor when the power is turned on;
Drive control means for outputting a drive current to each phase winding of the inspection target motor via a corresponding drive circuit so that the electrical angle of the inspection target motor maintains the initial position;
If any of the motors arranged on each of the shafts rotates during the period when the drive control means outputs the drive current, the connection state between the plurality of drive circuits and the corresponding motors is poor. A robot control apparatus comprising: a connection state determination means for determining
前記制御回路は、前記複数のモータの内、最初に容量が最小のモータを前記検査対象モータとして選択すると、以降は容量が大きくなる順に前記検査対象モータを順次選択して、前記接続状態判定手段による判定を繰り返し実行することを特徴とする請求項1記載のロボットの制御装置。   The control circuit first selects a motor having the smallest capacity as the inspection target motor among the plurality of motors, and thereafter sequentially selects the inspection target motors in order of increasing capacity, and the connection state determination unit The robot control apparatus according to claim 1, wherein the determination is repeatedly performed. 前記駆動制御手段は、前記接続状態判定手段による前記判定の結果が「良」である場合に、前記検査対象モータに付与する回転力を漸増させるように前記検査対象モータの各相巻線に駆動電流を出力し、
前記接続状態判定手段は、前記検査対象モータが前記駆動電流に応じて回転したか否かによって、更に前記接続状態の良否を判定することを特徴とする請求項1又は2記載のロボットの制御装置。
The drive control unit drives each phase winding of the inspection target motor so as to gradually increase the rotational force applied to the inspection target motor when the result of the determination by the connection state determination unit is “good”. Output current,
3. The robot control device according to claim 1, wherein the connection state determination unit further determines whether or not the connection state is good depending on whether the inspection target motor is rotated according to the drive current. 4. .
多可動軸型ロボット本体の各軸に配置される永久磁石型のモータにそれぞれ対応して配置される、前記モータの各相巻線に電流を出力する複数の駆動回路及び前記モータの電気角を検出する複数の位置検出器と、前記複数の位置検出器より各モータの電気角を得ると、前記複数の駆動回路を介して各モータを駆動制御する場合、
前記複数のモータの何れか1つを検査対象モータとして、
電源投入時に、前記検査対象モータに配置されている位置検出器によって得られる位置信号から、前記検査対象モータの電気角を初期位置として取得すると、
前記検査対象モータの電気角が前記初期位置を維持するように、対応する駆動回路を介して前記検査対象モータの各相巻線に駆動電流を出力し、
前記駆動電流を出力している期間に、前記各軸に配置されるモータの何れかが回転した場合は、前記複数の駆動回路とそれぞれに対応するモータとの接続状態の不良を判定することを特徴とするロボットの接続不良判定方法。
A plurality of drive circuits arranged to correspond to the permanent magnet type motors arranged on the respective axes of the multi-movable axis type robot main body and outputting electric currents to the respective phase windings of the motors, and the electric angles of the motors When obtaining the electrical angle of each motor from a plurality of position detectors to be detected and the plurality of position detectors, when driving the motors through the plurality of drive circuits,
Any one of the plurality of motors is used as an inspection target motor.
When the electric angle of the inspection target motor is acquired as an initial position from a position signal obtained by a position detector disposed on the inspection target motor at the time of power-on,
A drive current is output to each phase winding of the inspection target motor via a corresponding drive circuit so that the electrical angle of the inspection target motor maintains the initial position,
If any of the motors arranged on each of the shafts rotates during the period of outputting the drive current, the connection state between the plurality of drive circuits and the corresponding motors is determined. A method for determining poor connection of a robot.
前記複数のモータの内、最初に容量が最小のモータを前記検査対象モータとして選択すると、以降は容量が大きくなる順に前記検査対象モータを順次選択して、前記接続状態の判定を繰り返し実行することを特徴とする請求項4記載のロボットの接続不良判定方法。   When the motor with the smallest capacity is selected as the inspection target motor among the plurality of motors first, the inspection target motors are sequentially selected in order of increasing capacity, and the determination of the connection state is repeatedly executed. The robot connection failure determination method according to claim 4. 前記接続状態の判定結果が「良」である場合に、前記検査対象モータに付与する回転力を漸増させるように前記検査対象モータの各相巻線に駆動電流を出力し、
前記検査対象モータが前記駆動電流に応じて回転したか否かによって、更に接続状態の良否を判定することを特徴とする請求項4又は5記載のロボットの接続不良判定方法。
When the determination result of the connection state is “good”, a driving current is output to each phase winding of the inspection target motor so as to gradually increase the rotational force applied to the inspection target motor,
6. The robot connection failure determination method according to claim 4, further comprising: determining whether the connection state is good or not based on whether or not the inspection target motor is rotated according to the drive current.
JP2010047737A 2010-03-04 2010-03-04 Robot control device and robot connection failure judgment method Expired - Fee Related JP5445229B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010047737A JP5445229B2 (en) 2010-03-04 2010-03-04 Robot control device and robot connection failure judgment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010047737A JP5445229B2 (en) 2010-03-04 2010-03-04 Robot control device and robot connection failure judgment method

Publications (2)

Publication Number Publication Date
JP2011183460A true JP2011183460A (en) 2011-09-22
JP5445229B2 JP5445229B2 (en) 2014-03-19

Family

ID=44790360

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010047737A Expired - Fee Related JP5445229B2 (en) 2010-03-04 2010-03-04 Robot control device and robot connection failure judgment method

Country Status (1)

Country Link
JP (1) JP5445229B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101304292B1 (en) * 2013-05-16 2013-09-11 (주)라온 Apparatus for relaying supply of power and control signal to articulated robot
CN103889360A (en) * 2011-10-21 2014-06-25 直观外科手术操作公司 Grip force control for robotic surgical instrument end effector
US20160065099A1 (en) * 2013-05-09 2016-03-03 Kabushiki Kaisha Yaskawa Denki Motor driving system, motor driving device, multi-axis motor driving system, and multi-axis motor driving device
US20180006518A1 (en) * 2016-06-29 2018-01-04 Seiko Epson Corporation Robot and motor
JP2018019471A (en) * 2016-07-26 2018-02-01 セイコーエプソン株式会社 Robot and motor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000181521A (en) * 1998-10-05 2000-06-30 Fanuc Ltd Controller for automatic machine
JP2008022590A (en) * 2006-07-10 2008-01-31 Nachi Fujikoshi Corp Servomotor monitoring device
JP2009165267A (en) * 2008-01-07 2009-07-23 Hitachi Industrial Equipment Systems Co Ltd Motor controller

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000181521A (en) * 1998-10-05 2000-06-30 Fanuc Ltd Controller for automatic machine
JP2008022590A (en) * 2006-07-10 2008-01-31 Nachi Fujikoshi Corp Servomotor monitoring device
JP2009165267A (en) * 2008-01-07 2009-07-23 Hitachi Industrial Equipment Systems Co Ltd Motor controller

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10034719B2 (en) 2011-10-21 2018-07-31 Intuitive Surgical Operations, Inc. Grip force control for robotic surgical instrument end effector
CN103889360A (en) * 2011-10-21 2014-06-25 直观外科手术操作公司 Grip force control for robotic surgical instrument end effector
EP2768419A4 (en) * 2011-10-21 2015-11-18 Intuitive Surgical Operations Grip force control for robotic surgical instrument end effector
US10952802B2 (en) 2011-10-21 2021-03-23 Intuitive Surgical Operations, Inc. Grip force control for robotic surgical instrument end effector
US9314307B2 (en) 2011-10-21 2016-04-19 Intuitive Surgical Operations, Inc. Grip force control for robotic surgical instrument end effector
US10500007B2 (en) 2011-10-21 2019-12-10 Intuitive Surgical Operations, Inc. Grip force control for robotic surgical instrument end effector
CN103889360B (en) * 2011-10-21 2017-10-24 直观外科手术操作公司 Grasping force control for robotic surgical instrument end effector
US9820823B2 (en) 2011-10-21 2017-11-21 Intuitive Surgical Operations, Inc. Grip force control for robotic surgical instrument end effector
US20160065099A1 (en) * 2013-05-09 2016-03-03 Kabushiki Kaisha Yaskawa Denki Motor driving system, motor driving device, multi-axis motor driving system, and multi-axis motor driving device
US10063166B2 (en) * 2013-05-09 2018-08-28 Kabushiki Kaisha Yaskawa Denki Motor driving system, motor driving device, multi-axis motor driving system, and multi-axis motor driving device
EP2996240A4 (en) * 2013-05-09 2017-05-31 Kabushiki Kaisha Yaskawa Denki Motor driving system, motor driving device, multi-axle motor driving system, and multi-axle motor driving device
KR101304292B1 (en) * 2013-05-16 2013-09-11 (주)라온 Apparatus for relaying supply of power and control signal to articulated robot
US20180006518A1 (en) * 2016-06-29 2018-01-04 Seiko Epson Corporation Robot and motor
JP2018019471A (en) * 2016-07-26 2018-02-01 セイコーエプソン株式会社 Robot and motor

Also Published As

Publication number Publication date
JP5445229B2 (en) 2014-03-19

Similar Documents

Publication Publication Date Title
JP5760830B2 (en) Control device for three-phase rotating machine
JP5590076B2 (en) Control device for multi-phase rotating machine
JP5556845B2 (en) Control device for three-phase rotating machine
US9806645B2 (en) Robot system
JP2008043196A (en) Failure treatment of inverter drive version pm motor drive unit
JP5445229B2 (en) Robot control device and robot connection failure judgment method
JPWO2006112033A1 (en) AC motor controller
JP5636707B2 (en) Production equipment control device and production equipment motor stop control method
JP5309242B1 (en) Synchronous motor control device for controlling a synchronous motor to stop the synchronous motor during power regeneration and power failure
JP6769247B2 (en) Rotating electrical system
JP5402403B2 (en) Electric motor control system
JP2017093056A (en) Power conversion device and electric power steering device
JP2008043046A (en) Method for controlling servo motor
WO2018037506A1 (en) Rotating machine control device and electric power steering control device
JP6591089B2 (en) Rotating machine control device and electric power steering device including the same
JPWO2007114058A1 (en) Magnetic pole position detection method for permanent magnet synchronous motor
JP2019208329A (en) Sensorless vector control device and sensorless vector control method
Teng et al. Fault tolerant direct torque control of three-phase permanent magnet synchronous motors
JP6307223B2 (en) Three-phase synchronous motor control device, three-phase synchronous motor drive system using the same, integrated motor system, pump system, compressor system, and three-phase synchronous motor control method
JP2012016280A (en) Motor drive system
JP2010041890A (en) Electric motor drive device
JP5479094B2 (en) Synchronous motor control method and control apparatus
US9692337B2 (en) Method for controlling a synchronous reluctance electric motor
JP2009254191A (en) Motor controller, compressor, refrigerating apparatus, and air conditioner
WO2014017019A1 (en) Method for determining irregularity in industrial machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130109

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131121

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131209

R150 Certificate of patent or registration of utility model

Ref document number: 5445229

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees