JP2018036097A - Angle position detector - Google Patents

Angle position detector Download PDF

Info

Publication number
JP2018036097A
JP2018036097A JP2016167920A JP2016167920A JP2018036097A JP 2018036097 A JP2018036097 A JP 2018036097A JP 2016167920 A JP2016167920 A JP 2016167920A JP 2016167920 A JP2016167920 A JP 2016167920A JP 2018036097 A JP2018036097 A JP 2018036097A
Authority
JP
Japan
Prior art keywords
angular position
input
output shaft
shaft
calculated
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
JP2016167920A
Other languages
Japanese (ja)
Other versions
JP6696359B2 (en
Inventor
寛章 白取
Hiroaki Shiratori
寛章 白取
勇登 河地
Yuto Kawachi
勇登 河地
貴史 福岡
Takashi Fukuoka
貴史 福岡
大介 川瀬
Daisuke Kawase
大介 川瀬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Wave Inc
Original Assignee
Denso Wave Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Wave Inc filed Critical Denso Wave Inc
Priority to JP2016167920A priority Critical patent/JP6696359B2/en
Publication of JP2018036097A publication Critical patent/JP2018036097A/en
Application granted granted Critical
Publication of JP6696359B2 publication Critical patent/JP6696359B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Length Measuring Devices With Unspecified Measuring Means (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Manipulator (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an angle position detector with which it is possible to correct a detection error after assembling an encoder to an arm.SOLUTION: Provided is an angle position detector comprising an input shaft encoder 40 and an output shaft encoder 50, said detector calculating an input-side angle position that is an angle position of a prescribed shaft 12 on the basis of the angle position of an input shaft 21 detected by the input shaft encoder 40; calculating a load moment acting on the output shaft of a reduction gear 30 on the basis of a current flowing in a motor 20; calculating a detection error of the output shaft encoder 50 on the basis of the calculated input-side angle position, an output-side angle position that is the angle position of a prescribed shaft detected by the output shaft encoder, the calculated load moment, and the rigidity of the reduction gear 30; and correcting the output-side angle position detected by the output shaft encoder 50 by the calculated detection error.SELECTED DRAWING: Figure 1

Description

本発明は、ロボット等の回転軸の角度位置を検出する角度位置検出装置に関する。   The present invention relates to an angular position detection device that detects an angular position of a rotation axis of a robot or the like.

従来、この種の角度位置検出装置において、エンコーダの回転軸と回転ディスクの取り付け時の偏心に起因する検出誤差を補正するものがある(特許文献1参照)。また、特許文献1に記載のものでは、モータの回転を、減速機を介して出力軸に伝達する構成において、出力軸エンコーダを設けている。そして、入力軸エンコーダの検出値に基づく角度位置と出力軸エンコーダの検出値に基づく角度位置との差を、減速機の弾性変形等によるねじれ角として補正している。   2. Description of the Related Art Conventionally, there is an angular position detection device of this type that corrects a detection error caused by eccentricity when an encoder rotation shaft and a rotation disk are attached (see Patent Document 1). Moreover, in the thing of patent document 1, the output-shaft encoder is provided in the structure which transmits rotation of a motor to an output shaft via a reduction gear. The difference between the angular position based on the detected value of the input shaft encoder and the angular position based on the detected value of the output shaft encoder is corrected as a torsion angle due to elastic deformation of the speed reducer.

特開2015−194462号公報JP-A-2015-194462

しかしながら、偏心に起因する検出誤差の補正値を入出力軸エンコーダで検出しようとした場合でも、偏心分以外にもアーム自体の重さや、アームに取り付けるツール、ワーク等の重さにより、アームや減速機がたわんだりねじれたりした分が混ざって検出される。偏心は、エンコーダをアームに組み付けた後に決まるため、アーム影響分が混ざらないように分解したり、事前に検出したりすることは困難である。また、アーム影響分だけをロボットの設計値から幾何学的に算出することも可能だが、アーム長やロボット設置角度といった設計値と実機とのずれや、そもそも補正前のずれたアーム角度を元にずれを算出することになるといった事情から、補正値が正確には得られない。   However, even when trying to detect the correction value of the detection error due to eccentricity with the input / output axis encoder, the arm or deceleration speed depends on the weight of the arm itself, the tool attached to the arm, the work, etc. in addition to the eccentricity. The amount of bending or twisting of the machine is mixed and detected. Since the eccentricity is determined after the encoder is assembled to the arm, it is difficult to disassemble or detect it in advance so that the influence of the arm is not mixed. It is also possible to geometrically calculate the influence of the arm from the design value of the robot, but based on the deviation between the design value, such as the arm length and the robot installation angle, and the actual machine, or the arm angle before the correction in the first place The correction value cannot be obtained accurately due to the fact that the deviation is to be calculated.

本発明は、こうした課題を解決するためになされたものであり、その主たる目的は、エンコーダをアームに組み付け後に、検出誤差を補正することのできる角度位置検出装置を提供することにある。   The present invention has been made to solve these problems, and a main object of the present invention is to provide an angular position detection device capable of correcting a detection error after an encoder is assembled to an arm.

上記課題を解決するための第1の手段は、
モータの回転が入力される減速機の入力軸の角度位置を検出する入力軸エンコーダと、前記減速機の出力軸と一体で回転する所定軸の角度位置を検出する出力軸エンコーダと、を備える角度位置検出装置であって、
前記入力軸エンコーダにより検出された前記入力軸の角度位置に基づいて、前記所定軸の角度位置である入力側角度位置を算出する入力側角度位置算出部と、
前記モータに流れる電流に基づいて、前記出力軸に作用する負荷モーメントを算出する負荷モーメント算出部と、
前記入力側角度位置算出部により算出された前記入力側角度位置と、前記出力軸エンコーダにより検出された前記所定軸の角度位置である出力側角度位置と、前記負荷モーメント算出部により算出された前記負荷モーメントと、前記減速機の剛性とに基づいて、前記出力軸エンコーダの検出誤差を算出する検出誤差算出部と、
前記検出誤差算出部により算出された前記検出誤差により、前記出力軸エンコーダにより検出された前記出力側角度位置を補正する補正部と、
を備える。
The first means for solving the above problems is as follows.
An angle provided with an input shaft encoder that detects an angular position of an input shaft of a speed reducer to which rotation of a motor is input, and an output shaft encoder that detects an angular position of a predetermined shaft that rotates together with the output shaft of the speed reducer A position detecting device,
An input-side angular position calculation unit that calculates an input-side angular position that is an angular position of the predetermined axis based on an angular position of the input shaft detected by the input shaft encoder;
A load moment calculating unit that calculates a load moment acting on the output shaft based on a current flowing through the motor;
The input-side angular position calculated by the input-side angular position calculation unit, the output-side angular position that is the angular position of the predetermined axis detected by the output shaft encoder, and the load moment calculation unit A detection error calculation unit for calculating a detection error of the output shaft encoder based on a load moment and the rigidity of the reduction gear;
A correction unit that corrects the output-side angular position detected by the output shaft encoder based on the detection error calculated by the detection error calculation unit;
Is provided.

上記構成によれば、入力軸エンコーダにより、モータの回転が入力される減速機の入力軸の角度位置が検出される。また、出力軸エンコーダにより、減速機の出力軸と一体で回転する所定軸の角度位置が検出される。なお、所定軸は、減速機の出力軸に取り付けられた部材と一体で回転する軸であってもよいし、減速機の出力軸そのものであってもよい。   According to the above configuration, the angular position of the input shaft of the reduction gear to which the rotation of the motor is input is detected by the input shaft encoder. The output shaft encoder detects the angular position of a predetermined shaft that rotates integrally with the output shaft of the speed reducer. The predetermined shaft may be a shaft that rotates integrally with a member attached to the output shaft of the speed reducer, or may be the output shaft itself of the speed reducer.

そして、入力側角度位置算出部により、入力軸エンコーダにより検出された入力軸の角度位置に基づいて、所定軸の角度位置である入力側角度位置が算出される。入力側角度位置は、入力軸の角度位置と減速機の減速比とに基づいて算出することができる。この入力側角度位置は、たわみ及び弾性変形によるねじれの影響を受けていない状態での所定軸の角度位置に相当する。   Then, the input side angular position calculation unit calculates an input side angular position that is an angular position of the predetermined axis based on the angular position of the input shaft detected by the input shaft encoder. The input side angular position can be calculated based on the angular position of the input shaft and the reduction gear ratio of the speed reducer. This input-side angular position corresponds to an angular position of a predetermined axis in a state where it is not affected by torsion due to deflection and elastic deformation.

ここで、減速機を構成する部材がたわんだり弾性変形によりねじれたりした場合は、出力軸エンコーダにより検出される所定軸の角度位置が変化する。そして、減速機を構成する部材のたわみ角及び弾性変形によるねじれ角は、出力軸に作用する負荷モーメントが大きいほど大きくなり、減速機の剛性が低いほど大きくなる。これらのたわみ及びねじれによる検出角度位置の変化は、入力側角度位置算出部により算出された入力側角度位置と、出力軸エンコーダにより検出された所定軸の角度位置である出力側角度位置との差に相当する。また、出力軸に作用する負荷モーメントは、モータに流れる電流と相関を有しており、モータに流れる電流に基づき算出することができる。したがって、検出誤差算出部は、入力側角度位置算出部により算出された入力側角度位置と、出力軸エンコーダにより検出された出力側角度位置と、負荷モーメント算出部により算出された負荷モーメントと、減速機の剛性とに基づいて、出力軸エンコーダの検出誤差を算出することができる。   Here, when a member constituting the speed reducer bends or twists due to elastic deformation, the angular position of the predetermined axis detected by the output shaft encoder changes. The deflection angle of the members constituting the speed reducer and the torsion angle due to elastic deformation increase as the load moment acting on the output shaft increases, and increase as the rigidity of the speed reducer decreases. These changes in the detected angular position due to deflection and torsion are the difference between the input-side angular position calculated by the input-side angular position calculation unit and the output-side angular position that is the angular position of the predetermined axis detected by the output shaft encoder. It corresponds to. The load moment acting on the output shaft has a correlation with the current flowing through the motor, and can be calculated based on the current flowing through the motor. Therefore, the detection error calculation unit includes the input side angular position calculated by the input side angular position calculation unit, the output side angular position detected by the output shaft encoder, the load moment calculated by the load moment calculation unit, the deceleration The detection error of the output shaft encoder can be calculated based on the rigidity of the machine.

そして、補正部は、検出誤差算出部により算出された検出誤差により、出力軸エンコーダにより検出された出力側角度位置を補正する。このため、エンコーダをアームに組み付け後に個々の使用状態に応じて検出誤差が生じたとしても、エンコーダをアームに組み付け後に検出誤差を補正することができる。その結果、減速機の出力軸と一体で回転する所定軸の角度位置を、正確に検出することができる。   The correction unit corrects the output-side angular position detected by the output shaft encoder based on the detection error calculated by the detection error calculation unit. For this reason, even if a detection error occurs according to each use state after the encoder is assembled to the arm, the detection error can be corrected after the encoder is assembled to the arm. As a result, it is possible to accurately detect the angular position of the predetermined axis that rotates integrally with the output shaft of the speed reducer.

モータの駆動トルクにより減速機の出力軸を静止させた状態では、モータの駆動トルクと減速機の出力軸に作用する負荷モーメントとが釣り合っている。このため、たわみ及びねじれによる検出角度位置の変化は、負荷モーメント及び減速機の剛性に基づき算出される角度位置の変化に等しくなる。   In a state where the output shaft of the reduction gear is stationary by the driving torque of the motor, the driving torque of the motor and the load moment acting on the output shaft of the reduction gear are balanced. For this reason, the change in the detected angular position due to deflection and torsion is equal to the change in the angular position calculated based on the load moment and the reduction gear rigidity.

この点、第2の手段では、検出誤差算出部は、前記モータの駆動トルクにより前記出力軸を静止させた状態において、前記入力側角度位置算出部により算出された前記入力側角度位置と、前記出力軸エンコーダにより検出された前記出力側角度位置と、前記負荷モーメント算出部により算出された前記負荷モーメントと、前記減速機の剛性とに基づいて、前記検出誤差を算出する。したがって、モータの駆動トルクにより減速機の出力軸を静止させた状態にすることにより、検出誤差を算出することができる。   In this regard, in the second means, the detection error calculation unit, in a state where the output shaft is stationary by the driving torque of the motor, the input side angular position calculated by the input side angular position calculation unit, The detection error is calculated based on the output side angular position detected by the output shaft encoder, the load moment calculated by the load moment calculation unit, and the rigidity of the speed reducer. Therefore, the detection error can be calculated by making the output shaft of the reduction gear stationary by the driving torque of the motor.

モータを正回転させた時と逆回転させた時とでは、同一の角度位置であっても減速機の出力軸に作用する負荷モーメントが異なる。例えば、モータの回転方向によって、減速機で生じる摩擦力の大きさが異なったり、重力方向とアームの移動方向との関係が異なったりする。このため、モータに流れる電流はモータの回転方向に依存することとなり、モータの回転方向に応じて電流が受ける影響を考慮しなければ、モータに流れる電流に基づき負荷モーメントを適切に算出することができない。   The load moment acting on the output shaft of the speed reducer differs between when the motor is rotated forward and when it is rotated reversely. For example, the magnitude of the frictional force generated by the speed reducer varies depending on the rotation direction of the motor, or the relationship between the direction of gravity and the direction of movement of the arm varies. For this reason, the current flowing through the motor depends on the direction of rotation of the motor, and the load moment can be calculated appropriately based on the current flowing through the motor without considering the effect of the current depending on the direction of rotation of the motor. Can not.

この点、第3の手段では、負荷モーメント算出部は、前記出力軸のそれぞれの角度位置に、前記モータを正回転させた時に流れる電流と逆回転させた時に流れる電流との平均電流に基づいて、前記出力軸のそれぞれの角度位置における前記出力軸に作用する負荷モーメントを算出する。このため、モータの回転方向による電流の変化を相殺することができ、モータに流れる電流に基づき負荷モーメントを適切に算出することができる。   In this regard, in the third means, the load moment calculation unit is based on the average current of the current that flows when the motor rotates in the forward direction and the current that flows when the motor rotates in the reverse direction at each angular position of the output shaft. The load moment acting on the output shaft at each angular position of the output shaft is calculated. For this reason, a change in current due to the rotation direction of the motor can be canceled, and the load moment can be appropriately calculated based on the current flowing through the motor.

そして、検出誤差算出部は、前記入力側角度位置算出部により算出された前記入力側角度位置と、前記出力軸エンコーダにより検出された前記出力側角度位置と、前記入力側角度位置に対応して前記負荷モーメント算出部により算出された前記負荷モーメントと、前記減速機の剛性とに基づいて、前記検出誤差を算出する。したがって、モータの駆動トルクにより減速機の出力軸を静止させた状態にする必要がなく、出力軸を回転させながら迅速に検出誤差を算出することができる。   The detection error calculation unit corresponds to the input side angular position calculated by the input side angular position calculation unit, the output side angular position detected by the output shaft encoder, and the input side angular position. The detection error is calculated based on the load moment calculated by the load moment calculator and the rigidity of the speed reducer. Therefore, it is not necessary to make the output shaft of the reduction gear stationary by the motor driving torque, and the detection error can be calculated quickly while rotating the output shaft.

モータの駆動トルクにより減速機の出力軸を静止させた状態にして検出誤差を算出する場合も、出力軸を回転させながら検出誤差を算出する場合も、出力軸の角度位置毎に検出誤差を算出する必要がある。このため、角度位置検出装置の動作を開始するまでに、長時間を要するおそれがある。   Whether the detection error is calculated with the output shaft of the reduction gear stationary with the motor drive torque, or the detection error is calculated while rotating the output shaft, the detection error is calculated for each angular position of the output shaft. There is a need to. For this reason, it may take a long time to start the operation of the angular position detection device.

この点、第4の手段では、検出誤差算出部は、前記出力軸の角度位置に対応して予め測定された前記検出誤差をテーブルとして備えており、前記入力側角度位置算出部により算出された前記入力側角度位置及び前記テーブルに基づいて前記検出誤差を算出する。したがって、角度位置検出装置の動作開始時に、出力軸の角度位置毎に新たに検出誤差を算出する必要がなく、角度位置検出装置の動作を迅速に開始することができる。   In this regard, in the fourth means, the detection error calculation unit includes the detection error measured in advance corresponding to the angular position of the output shaft as a table, and is calculated by the input side angular position calculation unit. The detection error is calculated based on the input side angular position and the table. Therefore, when the operation of the angular position detection device is started, it is not necessary to newly calculate a detection error for each angular position of the output shaft, and the operation of the angular position detection device can be started quickly.

ロボット及びロボットコントローラを示す斜視図。The perspective view which shows a robot and a robot controller. ロボットのアームの関節を示す模式図。The schematic diagram which shows the joint of the arm of a robot. アームがたわむ状態を示す模式図。The schematic diagram which shows the state which an arm bends. 負荷モーメントが作用しない状態において、入力側角度位置に対する偏心誤差の実測値及び算出値を求めた結果を示すグラフ。The graph which shows the result of having calculated | required the measured value and calculated value of the eccentric error with respect to an input side angular position in the state where load moment does not act.

(第1実施形態)
以下、第1実施形態について、図面を参照しつつ説明する。本実施形態は、多関節ロボットの回転軸を接続する関節において、回転軸の角度位置を検出する角度位置検出装置に具現化している。
(First embodiment)
Hereinafter, a first embodiment will be described with reference to the drawings. This embodiment is embodied in an angular position detection device that detects an angular position of a rotation axis in a joint that connects rotation axes of an articulated robot.

図1に示すように、ロボット10の動作状態は、ロボットコントローラ80により制御される。ロボット10は、例えば6軸の垂直多関節ロボットであり、アームとしての第1軸11及び第2軸12を備えている。   As shown in FIG. 1, the operation state of the robot 10 is controlled by a robot controller 80. The robot 10 is a 6-axis vertical articulated robot, for example, and includes a first axis 11 and a second axis 12 as arms.

図2は、図1の円Aで囲む部分を拡大した模式図である。ロボット10のアームは、第1軸11、第2軸12、モータ20、減速機30、入力軸エンコーダ40、出力軸エンコーダ50等を備えている。   FIG. 2 is an enlarged schematic view of a portion surrounded by a circle A in FIG. The arm of the robot 10 includes a first shaft 11, a second shaft 12, a motor 20, a speed reducer 30, an input shaft encoder 40, an output shaft encoder 50, and the like.

第1軸11には、モータ20及び減速機30が固定されている。モータ20の駆動軸は、減速機30へ回転を入力する入力軸21になっている。モータ20の駆動状態は、ロボットコントローラ80により制御される。モータ20には、入力軸21の角度位置を検出する入力軸エンコーダ40が取り付けられている。なお、減速機30はモータ20に固定されていてもよい。   A motor 20 and a speed reducer 30 are fixed to the first shaft 11. The drive shaft of the motor 20 is an input shaft 21 that inputs rotation to the speed reducer 30. The driving state of the motor 20 is controlled by the robot controller 80. An input shaft encoder 40 that detects the angular position of the input shaft 21 is attached to the motor 20. The speed reducer 30 may be fixed to the motor 20.

入力軸エンコーダ40は、円板状のディスク41、検出素子42等を備えている。ディスク41は、入力軸21に同心状に取り付けられている。検出素子42は、入力軸エンコーダ40の筐体に取り付けられている。検出素子42は、ディスク41の検出面における外周縁部の所定位置に対向して配置されている。検出素子42は、ディスク41の角度位置に対応するオン・オフ信号を検出する。検出素子42により検出されたオン・オフ信号(すなわち角度位置)は、ロボットコントローラ80へ入力される。入力軸エンコーダ40として、透過型光学式エンコーダや、反射型光学式エンコーダ、磁気式エンコーダ等を採用することができる。   The input shaft encoder 40 includes a disk-shaped disk 41, a detection element 42, and the like. The disk 41 is concentrically attached to the input shaft 21. The detection element 42 is attached to the housing of the input shaft encoder 40. The detection element 42 is disposed to face a predetermined position on the outer peripheral edge of the detection surface of the disk 41. The detection element 42 detects an on / off signal corresponding to the angular position of the disk 41. The on / off signal (that is, the angular position) detected by the detection element 42 is input to the robot controller 80. As the input shaft encoder 40, a transmissive optical encoder, a reflective optical encoder, a magnetic encoder, or the like can be employed.

減速機30は、入力軸21の回転を所定の減速比で減速して、第2軸12の回転として出力する。すなわち、第2軸12(所定軸に相当)は、減速機30の出力軸と一体で回転する。減速機30として、波動歯車式の減速機や、遊星歯車式の減速機等を採用することができる。第2軸12には、第2軸12の角度位置を検出する出力軸エンコーダ50が取り付けられている。なお、出力軸エンコーダ50が、第1軸11あるいは減速機30に取り付けられた構成を採用することもできる。その場合は、出力軸エンコーダ50は、減速機30の出力軸(所定軸に相当)の角度位置を検出する。   The speed reducer 30 decelerates the rotation of the input shaft 21 at a predetermined reduction ratio and outputs it as the rotation of the second shaft 12. That is, the second shaft 12 (corresponding to a predetermined shaft) rotates integrally with the output shaft of the speed reducer 30. As the speed reducer 30, a wave gear type speed reducer, a planetary gear type speed reducer, or the like can be employed. An output shaft encoder 50 that detects the angular position of the second shaft 12 is attached to the second shaft 12. Note that a configuration in which the output shaft encoder 50 is attached to the first shaft 11 or the speed reducer 30 may be employed. In that case, the output shaft encoder 50 detects the angular position of the output shaft (corresponding to a predetermined shaft) of the speed reducer 30.

出力軸エンコーダ50は、円板状のディスク51、検出素子52等を備えている。ディスク51は、第2軸12に取り付けられた検出軸31に同心状に取り付けられている。検出素子52は、出力軸エンコーダ50の筐体あるいは第1軸11に取り付けられている。検出素子52は、ディスク51の検出面における外周縁部の所定位置に対向して配置されている。検出素子52は、ディスク51の角度位置に対応するオン・オフ信号をそれぞれ検出する。検出素子52により検出されたオン・オフ信号(すなわち角度位置)は、ロボットコントローラ80へ入力される。出力軸エンコーダ50として、透過型光学式エンコーダや、反射型光学式エンコーダ、磁気式エンコーダ等を採用することができる。   The output shaft encoder 50 includes a disk-shaped disk 51, a detection element 52, and the like. The disk 51 is concentrically attached to the detection shaft 31 attached to the second shaft 12. The detection element 52 is attached to the housing of the output shaft encoder 50 or the first shaft 11. The detection element 52 is disposed to face a predetermined position on the outer peripheral edge of the detection surface of the disk 51. The detection element 52 detects an on / off signal corresponding to the angular position of the disk 51. The on / off signal (that is, the angular position) detected by the detection element 52 is input to the robot controller 80. As the output shaft encoder 50, a transmissive optical encoder, a reflective optical encoder, a magnetic encoder, or the like can be employed.

入力軸21、ディスク41、検出軸31、及びディスク51は、同心状に配置されている。すなわち、入力軸21、ディスク41、検出軸31、及びディスク51の中心線は、軸線C1で一致している。ただし、入力軸21の中心と、検出軸31の中心又はディスク51の中心とは、アームへの入力軸エンコーダ40及び出力軸エンコーダ50の組み付け時に偏心が生じている。また、入力軸21の中心とディスク41の中心との偏心は予め解消されている、又は入力軸21の中心とディスク41の中心との偏心に起因する入力軸エンコーダ40の検出誤差は補正されているものとする。   The input shaft 21, the disk 41, the detection shaft 31, and the disk 51 are arranged concentrically. That is, the center lines of the input shaft 21, the disc 41, the detection shaft 31, and the disc 51 coincide with each other at the axis C1. However, the center of the input shaft 21 and the center of the detection shaft 31 or the center of the disk 51 are eccentric when the input shaft encoder 40 and the output shaft encoder 50 are assembled to the arm. Further, the eccentricity between the center of the input shaft 21 and the center of the disk 41 has been eliminated in advance, or the detection error of the input shaft encoder 40 caused by the eccentricity between the center of the input shaft 21 and the center of the disk 41 has been corrected. It shall be.

ロボットコントローラ80は、CPU、ROM、RAM、入出力ポート、駆動回路等を含むマイクロコンピュータである。ロボットコントローラ80は、入力軸エンコーダ40や、出力軸エンコーダ50等の各種センサによる検出値を入力し、モータ20等の各種アクチュエータの駆動状態を制御する。ロボットコントローラ80は、入力軸エンコーダ40の検出素子42により検出されたオン・オフ信号に基づいて、ディスク41すなわち入力軸21の角度位置を算出する。そして、ロボットコントローラ80(入力側角度位置算出部に相当)は、入力軸21の角度位置及び減速機30の減速比に基づいて、第2軸12(検出軸31)の角度位置である入力側角度位置を算出する。この入力側角度位置は、たわみ及び弾性変形によるねじれの影響を受けていない状態での第2軸12の角度位置に相当する。また、ロボットコントローラ80(出力側角度位置算出部に相当)は、出力軸エンコーダ50の検出素子52により検出されたオン・オフ信号に基づいて、ディスク51すなわち第2軸12の角度位置である出力側角度位置を算出する。なお、入力軸エンコーダ40、出力軸エンコーダ50、及びロボットコントローラ80により、角度位置検出装置が構成されている。   The robot controller 80 is a microcomputer including a CPU, a ROM, a RAM, an input / output port, a drive circuit, and the like. The robot controller 80 inputs detection values from various sensors such as the input shaft encoder 40 and the output shaft encoder 50, and controls the driving state of various actuators such as the motor 20. The robot controller 80 calculates the angular position of the disk 41, that is, the input shaft 21, based on the on / off signal detected by the detection element 42 of the input shaft encoder 40. Then, the robot controller 80 (corresponding to the input side angular position calculation unit) is based on the angular position of the input shaft 21 and the reduction ratio of the speed reducer 30, and is the input side that is the angular position of the second shaft 12 (detection shaft 31). Calculate the angular position. This input-side angular position corresponds to the angular position of the second shaft 12 in a state where it is not affected by torsion due to deflection and elastic deformation. Further, the robot controller 80 (corresponding to the output side angular position calculation unit) outputs the disk 51, that is, the angular position of the second shaft 12, based on the on / off signal detected by the detection element 52 of the output shaft encoder 50. The side angular position is calculated. The input shaft encoder 40, the output shaft encoder 50, and the robot controller 80 constitute an angular position detection device.

図3は、ロボット10のアームがたわむ状態を示す模式図である。同図に示すように、アームの第2軸12には、第2軸12自体の質量や、アームに取り付けられるツールの質量、把持するワークの質量等に相当する質量Wにより負荷F(重力)が作用する。負荷Fにより第2軸12に負荷モーメントが作用すると、減速機30や第2軸12の剛性に応じてたわみが生じる。なお、第2軸12をねじる方向の外力が第2軸12に作用する場合は、第2軸12に弾性変形によるねじれが生じる。そして、減速機30や第2軸12のたわみ角及び弾性変形によるねじれ角は、第2軸12に作用する負荷モーメントが大きいほど大きくなり、減速機30や第2軸12の剛性が低いほど大きくなる。こうしたたわみやねじれにより、出力軸エンコーダ50により検出される第2軸12の角度位置θが変化し、検出誤差が生じることとなる。   FIG. 3 is a schematic diagram illustrating a state in which the arm of the robot 10 is bent. As shown in the figure, the load F (gravity) is applied to the second shaft 12 of the arm due to the mass W corresponding to the mass of the second shaft 12 itself, the mass of the tool attached to the arm, the mass of the workpiece to be gripped, and the like. Act. When a load moment is applied to the second shaft 12 by the load F, deflection occurs according to the rigidity of the speed reducer 30 and the second shaft 12. Note that when an external force in the direction of twisting the second shaft 12 acts on the second shaft 12, the second shaft 12 is twisted due to elastic deformation. The deflection angle of the reduction gear 30 and the second shaft 12 and the torsion angle due to elastic deformation increase as the load moment acting on the second shaft 12 increases, and increase as the rigidity of the reduction gear 30 and the second shaft 12 decreases. Become. Due to such deflection and twist, the angular position θ of the second shaft 12 detected by the output shaft encoder 50 changes, and a detection error occurs.

そこで、本実施形態では、ロボットコントローラ80(負荷モーメント算出部、検出誤差算出部、補正部に相当)は、以下のように出力軸エンコーダ50により検出された第2軸12の角度位置(出力側角度位置θout)を補正する。   Therefore, in this embodiment, the robot controller 80 (corresponding to a load moment calculation unit, a detection error calculation unit, and a correction unit) detects the angular position (output side) of the second shaft 12 detected by the output shaft encoder 50 as follows. The angular position θout) is corrected.

出力側角度位置θoutは、第2軸12の真の角度位置θa(第1軸11に対する角度位置)と、組み付け時の偏心に起因する偏心誤差Δθeとの複合になっている。なお、角度位置θaは、上記質量Wに作用する重力により生じるたわみによる角度誤差Δθgと、第2軸12に作用する外力によるねじれ角Δθtとを含んで、出力軸エンコーダ50が検出すべき角度位置に相当する。すなわち、出力側角度位置θoutは、以下のように表される。   The output-side angular position θout is a composite of the true angular position θa of the second shaft 12 (angular position with respect to the first shaft 11) and the eccentric error Δθe caused by the eccentricity during assembly. The angular position θa includes an angular error Δθg due to deflection caused by gravity acting on the mass W and a torsion angle Δθt due to external force acting on the second shaft 12, and the angular position to be detected by the output shaft encoder 50. It corresponds to. That is, the output side angular position θout is expressed as follows.

θout=θa+Δθe ・・・(1)
ここで、入力軸エンコーダ40により検出された入力軸21の角度位置に基づき算出された第2軸12の角度位置である入力側角度位置θinと、出力側角度位置θoutとの検出角度差Δθdは、以下のように表される。
θout = θa + Δθe (1)
Here, the detected angle difference Δθd between the input side angular position θin, which is the angular position of the second shaft 12 calculated based on the angular position of the input shaft 21 detected by the input shaft encoder 40, and the output side angular position θout is: It is expressed as follows.

Δθd=θout−θin ・・・(2)
一方、検出角度差Δθdは、上記質量Wに作用する重力により生じるたわみによる角度誤差Δθgと、第2軸12に作用する外力によるねじれ角Δθtと、偏心誤差Δθeとの複合になっている。すなわち、検出角度差Δθdを、以下のように表すこともできる。
Δθd = θout−θin (2)
On the other hand, the detected angle difference Δθd is a composite of an angle error Δθg due to deflection caused by gravity acting on the mass W, a torsion angle Δθt due to an external force acting on the second shaft 12, and an eccentric error Δθe. That is, the detected angle difference Δθd can also be expressed as follows.

Δθd=Δθg+Δθt+Δθe ・・・(3)
また、モータ20の駆動トルクにより減速機30の出力軸、すなわち第2軸12を静止させた状態では、モータ20の駆動トルクと第2軸12に作用する負荷モーメントMとが釣り合っている。このため、たわみ及びねじれによる検出角度位置の変化は、負荷モーメントM、減速機30及び第2軸12の剛性kに基づき算出される角度位置の変化に等しくなる。すなわち、モータ20の駆動トルクにより第2軸12を静止させた状態では、以下の式が成立する。
Δθd = Δθg + Δθt + Δθe (3)
Further, when the output shaft of the speed reducer 30, that is, the second shaft 12 is stationary by the driving torque of the motor 20, the driving torque of the motor 20 and the load moment M acting on the second shaft 12 are balanced. For this reason, the change in the detected angular position due to deflection and torsion is equal to the change in the angular position calculated based on the load moment M, the reduction gear 30 and the rigidity k of the second shaft 12. That is, in the state where the second shaft 12 is stopped by the driving torque of the motor 20, the following expression is established.

Δθg+Δθt=M/k ・・・(4)
負荷モーメントMは、モータ20に流れる電流を電流センサ等により検出し、検出された電流に基づいて算出することができる。
Δθg + Δθt = M / k (4)
The load moment M can be calculated based on the detected current by detecting the current flowing through the motor 20 with a current sensor or the like.

式(3)を変形すると、以下のようになる。   When Expression (3) is transformed, the following is obtained.

Δθe=Δθd−(Δθg+Δθt) ・・・(5)
式(5)に、式(2)のΔθd、及び式(4)の(Δθg+Δθt)を代入すると、以下のようになる。
Δθe = Δθd− (Δθg + Δθt) (5)
Substituting Δθd in equation (2) and (Δθg + Δθt) in equation (4) into equation (5) results in the following.

Δθe=(θout−θin)−M/k ・・・(6)
式(6)において、出力側角度位置θout、入力側角度位置θin、負荷モーメントMはそれぞれ算出することができ、剛性kは既知の値である。このため、式(6)により、偏心誤差Δθeを算出することができる。そして、第2軸12の角度位置を所定角度変化させて、モータ20の駆動トルクにより第2軸12を静止させた状態とし、式(6)により偏心誤差Δθeを算出することを第2軸12の可動範囲にわたって繰り返す。
Δθe = (θout−θin) −M / k (6)
In Expression (6), the output-side angular position θout, the input-side angular position θin, and the load moment M can be calculated, respectively, and the stiffness k is a known value. For this reason, the eccentricity error Δθe can be calculated from the equation (6). Then, by changing the angular position of the second shaft 12 by a predetermined angle, the second shaft 12 is made stationary by the driving torque of the motor 20, and the eccentric error Δθe is calculated by the equation (6). Repeat over the movable range.

式(1)を変形すると、以下のようになる。   When formula (1) is transformed, it becomes as follows.

θa=θout−Δθe ・・・(7)
したがって、第2軸12の各角度位置において、式(7)に、検出された出力側角度位置θout、及び式(6)により算出された偏心誤差Δθeを代入することにより、第2軸12の真の角度位置θaを算出することができる。すなわち、たわみによる角度誤差Δθg、外力によるねじれ角Δθt、及び偏心誤差Δθeにより、出力側角度位置θoutを補正することができる。さらに、補正された出力側角度位置θoutを用いることで、アームに作用する負荷トルクやアームの先端位置を高精度に推定することができる。
θa = θout−Δθe (7)
Therefore, at each angular position of the second axis 12, by substituting the detected output side angular position θout and the eccentric error Δθe calculated by the expression (6) into Expression (7), The true angular position θa can be calculated. That is, the output-side angular position θout can be corrected by the angle error Δθg due to deflection, the twist angle Δθt due to external force, and the eccentric error Δθe. Furthermore, by using the corrected output side angular position θout, it is possible to estimate the load torque acting on the arm and the position of the tip of the arm with high accuracy.

以上詳述した本実施形態は、以下の利点を有する。   The embodiment described in detail above has the following advantages.

・減速機30を構成する部材のたわみ角及び弾性変形によるねじれ角Δθtは、第2軸12に作用する負荷モーメントMが大きいほど大きくなり、減速機30の剛性kが低いほど大きくなる。これらのたわみ及びねじれによる検出角度位置の変化(Δθg+Δθt)は、入力軸エンコーダ40により検出された角度位置に基づき算出された第2軸12の角度位置である入力側角度位置θinと、出力軸エンコーダ50により検出された第2軸12の角度位置である出力側角度位置θoutとの差に相当する。また、第2軸12に作用する負荷モーメントMは、モータ20に流れる電流と相関を有しており、モータ20に流れる電流に基づき算出することができる。したがって、入力側角度位置θinと、出力側角度位置θoutと、負荷モーメントMと、減速機30の剛性kとに基づいて、出力軸エンコーダ50の検出誤差(Δθe)を算出することができる。   The deflection angle of the members constituting the speed reducer 30 and the torsion angle Δθt due to elastic deformation increase as the load moment M acting on the second shaft 12 increases, and increase as the rigidity k of the speed reducer 30 decreases. The change (Δθg + Δθt) of the detected angular position due to these deflections and twists is the input-side angular position θin that is the angular position of the second shaft 12 calculated based on the angular position detected by the input shaft encoder 40, and the output shaft encoder. This corresponds to the difference from the output-side angular position θout which is the angular position of the second shaft 12 detected by 50. Further, the load moment M acting on the second shaft 12 has a correlation with the current flowing through the motor 20, and can be calculated based on the current flowing through the motor 20. Therefore, the detection error (Δθe) of the output shaft encoder 50 can be calculated based on the input side angular position θin, the output side angular position θout, the load moment M, and the rigidity k of the speed reducer 30.

・算出された検出誤差により、出力軸エンコーダ50により検出された出力側角度位置θoutが補正される。このため、エンコーダ40,50をアームに組み付け後に個々の使用状態に応じて検出誤差が生じたとしても、エンコーダ40,50をアームに組み付け後に検出誤差を補正することができる。その結果、減速機30の出力軸と一体で回転する第2軸12の角度位置θaを、正確に検出することができる。   The output side angular position θout detected by the output shaft encoder 50 is corrected by the calculated detection error. For this reason, even if a detection error occurs according to each use state after the encoders 40 and 50 are assembled to the arm, the detection errors can be corrected after the encoders 40 and 50 are assembled to the arm. As a result, the angular position θa of the second shaft 12 that rotates integrally with the output shaft of the speed reducer 30 can be accurately detected.

・モータ20の駆動トルクにより減速機30の第2軸12を静止させた状態では、モータ20の駆動トルクと減速機30の第2軸12に作用する負荷モーメントMとが釣り合っている。このため、たわみ及びねじれによる検出角度位置の変化(Δθg+Δθt)は、負荷モーメントM及び減速機30の剛性kに基づき算出される角度位置の変化(M/k)に等しくなる。そこで、ロボットコントローラ80は、モータ20の駆動トルクにより第2軸12を静止させた状態において、入力側角度位置θinと、出力側角度位置θoutと、負荷モーメントMと、減速機30の剛性kとに基づいて、検出誤差(Δθe)を算出する。したがって、モータ20の駆動トルクにより減速機30の第2軸12を静止させた状態にすることにより、検出誤差を算出することができる。   In a state where the second shaft 12 of the speed reducer 30 is stationary by the driving torque of the motor 20, the driving torque of the motor 20 and the load moment M acting on the second shaft 12 of the speed reducer 30 are balanced. For this reason, the change (Δθg + Δθt) of the detected angular position due to deflection and torsion is equal to the change (M / k) of the angular position calculated based on the load moment M and the rigidity k of the speed reducer 30. Therefore, the robot controller 80 has the input side angular position θin, the output side angular position θout, the load moment M, and the rigidity k of the speed reducer 30 in a state where the second shaft 12 is stationary by the driving torque of the motor 20. Based on the above, a detection error (Δθe) is calculated. Therefore, the detection error can be calculated by making the second shaft 12 of the speed reducer 30 stationary by the driving torque of the motor 20.

(第2実施形態)
以下、第2実施形態について、第1実施形態との相違点を中心に説明する。第1実施形態のように、第2軸12の角度位置を所定角度変化させて、モータ20の駆動トルクにより第2軸12を静止させた状態とし、式(6)により偏心誤差Δθeを算出することを第2軸12の可動範囲にわたって繰り返すには、長時間を要するおそれがある。本実施形態では、モータ20の駆動トルクにより減速機30の第2軸12を動かしながら、検出誤差を算出する。
(Second Embodiment)
Hereinafter, the second embodiment will be described focusing on differences from the first embodiment. As in the first embodiment, the angular position of the second shaft 12 is changed by a predetermined angle, the second shaft 12 is made stationary by the driving torque of the motor 20, and the eccentricity error Δθe is calculated by Equation (6). It may take a long time to repeat this over the movable range of the second shaft 12. In the present embodiment, the detection error is calculated while moving the second shaft 12 of the speed reducer 30 by the driving torque of the motor 20.

図3において、モータ20を正回転させた時と逆回転させた時とでは、同一の角度位置θであっても減速機30の出力軸、すなわち第2軸12に作用する負荷モーメントMが異なる。例えば、モータ20の回転方向によって、減速機30で生じる摩擦力の大きさが異なったり、重力方向(矢印で示す負荷Fの方向)とアームの第2軸12との関係が異なったりする。このため、モータ20に流れる電流はモータ20の回転方向に依存することとなり、モータ20の回転方向に応じて電流が受ける影響を考慮しなければ、モータ20に流れる電流に基づき負荷モーメントMを適切に算出することができない。   In FIG. 3, the load moment M acting on the output shaft of the speed reducer 30, that is, the second shaft 12 is different between when the motor 20 is rotated forward and when it is rotated reversely. . For example, the magnitude of the frictional force generated by the speed reducer 30 varies depending on the rotation direction of the motor 20, or the relationship between the direction of gravity (the direction of the load F indicated by the arrow) and the second shaft 12 of the arm varies. For this reason, the current flowing through the motor 20 depends on the rotation direction of the motor 20, and the load moment M is appropriately set based on the current flowing through the motor 20 unless the influence of the current on the rotation direction of the motor 20 is taken into consideration. Cannot be calculated.

そこで、本実施形態では、ロボットコントローラ80(負荷モーメント算出部に相当)は、第2軸12のそれぞれの角度位置に、モータ20を正回転させた時に流れる電流と逆回転させた時に流れる電流との平均電流に基づいて、第2軸12のそれぞれの角度位置における第2軸12に作用する負荷モーメントMを算出する。詳しくは、上記式(6)のΔθe=(θout−θin)−M/kにおいて、負荷モーメントMを、モータ20を正回転させた時の負荷モーメントM+と逆回転させた時の負荷モーメントM−との平均とする。すなわち、式(6)に代えて以下の式(8)を用いる。   Therefore, in the present embodiment, the robot controller 80 (corresponding to the load moment calculation unit) has a current flowing when the motor 20 is rotated in the reverse direction and a current flowing when the motor 20 is rotated in the respective angular positions of the second shaft 12. Based on the average current, the load moment M acting on the second shaft 12 at each angular position of the second shaft 12 is calculated. Specifically, when Δθe = (θout−θin) −M / k in the above equation (6), the load moment M− is a load moment M− when the motor 20 is rotated in the reverse direction and the load moment M− when the motor 20 is rotated in the reverse direction. And the average. That is, the following equation (8) is used instead of equation (6).

Δθe=(θout−θin)−{(M+)+(M−)}/2k ・・・(8)
負荷モーメントM+は、モータ20を正回転させた時にモータ20に流れる電流を電流センサ等により検出し、検出された電流に基づいて算出することができる。負荷モーメントM−は、モータ20を逆回転させた時にモータ20に流れる電流を電流センサ等により検出し、検出された電流に基づいて算出することができる。
Δθe = (θout−θin) − {(M +) + (M −)} / 2k (8)
The load moment M + can be calculated based on the detected current by detecting the current flowing through the motor 20 when the motor 20 is rotated forward by a current sensor or the like. The load moment M− can be calculated based on the detected current by detecting the current flowing through the motor 20 when the motor 20 is reversely rotated by a current sensor or the like.

ここで、第2軸12の角度位置を正回転方向へ所定角度ずつ変化させながら、それぞれの角度位置に対応する負荷モーメントM+を算出することを、第2軸12の可動範囲にわたって繰り返す。また、第2軸12の角度位置を逆回転方向へ所定角度ずつ変化させながら、それぞれの角度位置に対応する負荷モーメントM−を算出することを、第2軸12の可動範囲にわたって繰り返す。   Here, calculating the load moment M + corresponding to each angular position while changing the angular position of the second shaft 12 by a predetermined angle in the forward rotation direction is repeated over the movable range of the second shaft 12. Further, the calculation of the load moment M− corresponding to each angular position is repeated over the movable range of the second axis 12 while changing the angular position of the second axis 12 by a predetermined angle in the reverse rotation direction.

そして、第2軸12の各角度位置において、上記式(7)に、検出された出力側角度位置θout、及び式(8)により算出された偏心誤差Δθeを代入することにより、第2軸12の真の角度位置θaを算出する。   Then, at each angular position of the second axis 12, by substituting the detected output side angular position θout and the eccentric error Δθe calculated by the expression (8) into the above equation (7), the second axis 12 The true angular position θa is calculated.

図4は、第2軸12に負荷モーメントMが作用しない状態において、入力側角度位置θinに対する偏心誤差Δθeの実測値及び算出値を求めた結果を示すグラフである。なお、第2軸12に負荷モーメントMが作用しない状態は、アームにおいて減速機30の出力軸よりも先端側の部分を取り外し、且つアームにねじり力等の外力を作用させないようにして実現している。   FIG. 4 is a graph showing a result of obtaining an actual measurement value and a calculated value of the eccentric error Δθe with respect to the input side angular position θin in a state where the load moment M does not act on the second shaft 12. The state in which the load moment M does not act on the second shaft 12 is realized by removing the tip end portion of the arm from the output shaft of the speed reducer 30 and applying no external force such as torsional force to the arm. Yes.

同図に示すように、破線で示す偏心誤差Δθeの実測値と、実線で示す偏心誤差Δθeの算出値とが精度よく一致している。したがって、モータ20の駆動トルクにより減速機30の第2軸12を動かしながら偏心誤差Δθeを算出しても、偏心誤差Δθeを正確に算出することができる。なお、第1実施形態により、偏心誤差Δθeを算出した場合も、偏心誤差Δθeの実測値と算出値とが精度よく一致する。   As shown in the figure, the measured value of the eccentricity error Δθe indicated by the broken line and the calculated value of the eccentricity error Δθe indicated by the solid line coincide with each other with high accuracy. Therefore, even if the eccentric error Δθe is calculated while moving the second shaft 12 of the speed reducer 30 by the driving torque of the motor 20, the eccentric error Δθe can be accurately calculated. Note that, even when the eccentricity error Δθe is calculated according to the first embodiment, the measured value and the calculated value of the eccentricity error Δθe coincide with each other with high accuracy.

本実施形態は、以下の利点を有する。ここでは、第1実施形態との相違点のみを述べる。   This embodiment has the following advantages. Here, only differences from the first embodiment will be described.

・ロボットコントローラ80は、第2軸12のそれぞれの角度位置に、モータ20を正回転させた時に流れる電流と逆回転させた時に流れる電流との平均電流に基づいて、第2軸12のそれぞれの角度位置における第2軸12に作用する負荷モーメントMを算出する。このため、モータ20の回転方向による電流の変化を相殺することができ、モータ20に流れる電流に基づき負荷モーメントMを適切に算出することができる。   The robot controller 80 is configured so that each angular position of the second shaft 12 is based on the average current of the current that flows when the motor 20 rotates forward and the current that flows when the motor 20 rotates backward at each angular position of the second shaft 12. A load moment M acting on the second shaft 12 at the angular position is calculated. For this reason, a change in current due to the rotation direction of the motor 20 can be canceled, and the load moment M can be calculated appropriately based on the current flowing through the motor 20.

・ロボットコントローラ80は、入力側角度位置θinと、出力側角度位置θoutと、入力側角度位置θinに対応して算出された負荷モーメントMと、減速機30の剛性kとに基づいて、検出誤差を算出する。したがって、モータ20の駆動トルクにより減速機30の出力軸(第2軸12)を静止させた状態にする必要がなく、第2軸12を回転させながら迅速に検出誤差を算出することができる。   The robot controller 80 detects the detection error based on the input side angular position θin, the output side angular position θout, the load moment M calculated corresponding to the input side angular position θin, and the rigidity k of the speed reducer 30. Is calculated. Therefore, it is not necessary to make the output shaft (second shaft 12) of the speed reducer 30 stationary by the driving torque of the motor 20, and the detection error can be calculated quickly while rotating the second shaft 12.

なお、第1,第2実施形態を、以下のように変更して実施することもできる。   Note that the first and second embodiments can be modified as follows.

・モータ20の駆動トルクにより減速機30の出力軸(第2軸12)を静止させた状態にして検出誤差を算出する場合も、出力軸を回転させながら検出誤差を算出する場合も、第2軸12の角度位置毎に検出誤差を算出する必要がある。ロボットコントローラ80は、こうした検出誤差の算出をロボット10のキャリブレーションにおいて実行する。しかしながら、ロボット10(角度位置検出装置)の動作を開始するまでに、長時間を要するおそれがある。   Whether the detection error is calculated while the output shaft (second shaft 12) of the speed reducer 30 is stationary by the drive torque of the motor 20, or the detection error is calculated while rotating the output shaft, the second It is necessary to calculate a detection error for each angular position of the shaft 12. The robot controller 80 executes such detection error calculation in the calibration of the robot 10. However, it may take a long time to start the operation of the robot 10 (angular position detection device).

そこで、ロボットコントローラ80(検出誤差算出部に相当)は、第2軸12の角度位置に対応して予め測定された検出誤差をテーブルとして備えており、算出された入力側角度位置θin及びテーブルに基づいて検出誤差を算出してもよい。こうした構成によれば、ロボット10のキャリブレーション時(動作開始時)に、第2軸12の角度位置毎に新たに検出誤差を算出する必要がなく、ロボット10の動作を迅速に開始することができる。   Therefore, the robot controller 80 (corresponding to the detection error calculation unit) includes a detection error measured in advance corresponding to the angular position of the second axis 12 as a table, and the calculated input side angular position θin and the table are included in the table. The detection error may be calculated based on this. According to such a configuration, when the robot 10 is calibrated (at the start of operation), it is not necessary to newly calculate a detection error for each angular position of the second axis 12, and the operation of the robot 10 can be started quickly. it can.

・ロボット10のアームに限らず、いわゆるマニプレータを採用することができる。   A so-called manipulator can be employed in addition to the arm of the robot 10.

10…ロボット、12…第2軸(所定軸)、20…モータ、21…入力軸、30…減速機、40…入力軸エンコーダ、50…出力軸エンコーダ、80…ロボットコントローラ。   DESCRIPTION OF SYMBOLS 10 ... Robot, 12 ... 2nd axis (predetermined axis), 20 ... Motor, 21 ... Input shaft, 30 ... Reducer, 40 ... Input shaft encoder, 50 ... Output shaft encoder, 80 ... Robot controller.

Claims (4)

モータの回転が入力される減速機の入力軸の角度位置を検出する入力軸エンコーダと、前記減速機の出力軸と一体で回転する所定軸の角度位置を検出する出力軸エンコーダと、を備える角度位置検出装置であって、
前記入力軸エンコーダにより検出された前記入力軸の角度位置に基づいて、前記所定軸の角度位置である入力側角度位置を算出する入力側角度位置算出部と、
前記モータに流れる電流に基づいて、前記出力軸に作用する負荷モーメントを算出する負荷モーメント算出部と、
前記入力側角度位置算出部により算出された前記入力側角度位置と、前記出力軸エンコーダにより検出された前記所定軸の角度位置である出力側角度位置と、前記負荷モーメント算出部により算出された前記負荷モーメントと、前記減速機の剛性とに基づいて、前記出力軸エンコーダの検出誤差を算出する検出誤差算出部と、
前記検出誤差算出部により算出された前記検出誤差により、前記出力軸エンコーダにより検出された前記出力側角度位置を補正する補正部と、
を備える角度位置検出装置。
An angle provided with an input shaft encoder that detects an angular position of an input shaft of a speed reducer to which rotation of a motor is input, and an output shaft encoder that detects an angular position of a predetermined shaft that rotates together with the output shaft of the speed reducer A position detecting device,
An input-side angular position calculation unit that calculates an input-side angular position that is an angular position of the predetermined axis based on an angular position of the input shaft detected by the input shaft encoder;
A load moment calculating unit that calculates a load moment acting on the output shaft based on a current flowing through the motor;
The input-side angular position calculated by the input-side angular position calculation unit, the output-side angular position that is the angular position of the predetermined axis detected by the output shaft encoder, and the load moment calculation unit A detection error calculation unit for calculating a detection error of the output shaft encoder based on a load moment and the rigidity of the reduction gear;
A correction unit that corrects the output-side angular position detected by the output shaft encoder based on the detection error calculated by the detection error calculation unit;
An angular position detection device comprising:
前記検出誤差算出部は、前記モータの駆動トルクにより前記出力軸を静止させた状態において、前記入力側角度位置算出部により算出された前記入力側角度位置と、前記出力軸エンコーダにより検出された前記出力側角度位置と、前記負荷モーメント算出部により算出された前記負荷モーメントと、前記減速機の剛性とに基づいて、前記検出誤差を算出する請求項1に記載の角度位置検出装置。   The detection error calculation unit is configured to detect the input-side angular position calculated by the input-side angular position calculation unit and the output-shaft encoder in a state where the output shaft is stopped by the driving torque of the motor. The angular position detection device according to claim 1, wherein the detection error is calculated based on an output side angular position, the load moment calculated by the load moment calculation unit, and rigidity of the reduction gear. 前記負荷モーメント算出部は、前記出力軸のそれぞれの角度位置に、前記モータを正回転させた時に流れる電流と逆回転させた時に流れる電流との平均電流に基づいて、前記出力軸のそれぞれの角度位置における前記出力軸に作用する負荷モーメントを算出し、
前記検出誤差算出部は、前記入力側角度位置算出部により算出された前記入力側角度位置と、前記出力軸エンコーダにより検出された前記出力側角度位置と、前記入力側角度位置に対応して前記負荷モーメント算出部により算出された前記負荷モーメントと、前記減速機の剛性とに基づいて、前記検出誤差を算出する請求項1に記載の角度位置検出装置。
The load moment calculation unit is configured to determine each angle of the output shaft based on an average current of a current that flows when the motor rotates in the forward direction and a current that flows when the motor rotates in the reverse direction at each angular position of the output shaft. Calculate the load moment acting on the output shaft at the position,
The detection error calculation unit corresponds to the input side angular position calculated by the input side angular position calculation unit, the output side angular position detected by the output shaft encoder, and the input side angular position. The angular position detection device according to claim 1, wherein the detection error is calculated based on the load moment calculated by a load moment calculation unit and rigidity of the speed reducer.
前記検出誤差算出部は、前記出力軸の角度位置に対応して予め測定された前記検出誤差をテーブルとして備えており、前記入力側角度位置算出部により算出された前記入力側角度位置及び前記テーブルに基づいて前記検出誤差を算出する請求項2又は3に記載の角度位置検出装置。   The detection error calculation unit includes the detection error measured in advance corresponding to the angular position of the output shaft as a table, and the input-side angular position calculated by the input-side angular position calculation unit and the table The angular position detection device according to claim 2, wherein the detection error is calculated based on the angle.
JP2016167920A 2016-08-30 2016-08-30 Angular position detector Active JP6696359B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016167920A JP6696359B2 (en) 2016-08-30 2016-08-30 Angular position detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016167920A JP6696359B2 (en) 2016-08-30 2016-08-30 Angular position detector

Publications (2)

Publication Number Publication Date
JP2018036097A true JP2018036097A (en) 2018-03-08
JP6696359B2 JP6696359B2 (en) 2020-05-20

Family

ID=61564728

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016167920A Active JP6696359B2 (en) 2016-08-30 2016-08-30 Angular position detector

Country Status (1)

Country Link
JP (1) JP6696359B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020093363A (en) * 2018-12-14 2020-06-18 日本電産株式会社 Calibration device and calibration method
CN112692819A (en) * 2019-10-22 2021-04-23 大族激光科技产业集团股份有限公司 Encoder group position compensation method and robot module position compensation method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020093363A (en) * 2018-12-14 2020-06-18 日本電産株式会社 Calibration device and calibration method
JP7305951B2 (en) 2018-12-14 2023-07-11 ニデック株式会社 CALIBRATION DEVICE AND CALIBRATION METHOD
CN112692819A (en) * 2019-10-22 2021-04-23 大族激光科技产业集团股份有限公司 Encoder group position compensation method and robot module position compensation method

Also Published As

Publication number Publication date
JP6696359B2 (en) 2020-05-20

Similar Documents

Publication Publication Date Title
JP6743597B2 (en) Deflection angle detector
JP6844462B2 (en) Angle detector eccentricity error correction method, robot system
US20160263747A1 (en) Robot controlling method, robot apparatus, program and recording medium
US10668620B2 (en) Method and apparatus for correcting motions of robot
JP6135408B2 (en) Torque sensor, driving device, and robot
KR102007536B1 (en) Method for detecting a torque and industrial robot
JP6696359B2 (en) Angular position detector
JP5591180B2 (en) Drive joint mechanism
KR20230116045A (en) Robot, drive unit for robot and positioning method
JP6839369B2 (en) Robot system
CN108242906B (en) Motor control system
US8569988B2 (en) Elastic rotary actuator, particularly for robotic applications, and method for controlling the same
JP6341141B2 (en) Correction method of zero error of torque sensor
JPH07100781A (en) Articulated robot
JP5857948B2 (en) Nut runner
US11045950B2 (en) Driving device and detecting device
JP2020037172A (en) robot
JP7469523B2 (en) Displacement detection sensor, control device, and control system
JP7471825B2 (en) DETECTION DEVICE, DETECTION METHOD, CONTROL METHOD, ROBOT DEVICE, PROGRAM, AND RECORDING MEDIUM
JP4193054B2 (en) Ball groove measuring method and measuring apparatus
TW202219674A (en) Abnormality detection device which detects abnormalities in power transmission mechanism for transmitting rotational force outputted by motor
JP2021118669A5 (en)

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190207

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191206

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191217

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200207

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200406

R150 Certificate of patent or registration of utility model

Ref document number: 6696359

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250