JP2022069698A - Controller of robot calibrating mechanism error parameter for controlling robot, and teaching console panel - Google Patents

Controller of robot calibrating mechanism error parameter for controlling robot, and teaching console panel Download PDF

Info

Publication number
JP2022069698A
JP2022069698A JP2022044625A JP2022044625A JP2022069698A JP 2022069698 A JP2022069698 A JP 2022069698A JP 2022044625 A JP2022044625 A JP 2022044625A JP 2022044625 A JP2022044625 A JP 2022044625A JP 2022069698 A JP2022069698 A JP 2022069698A
Authority
JP
Japan
Prior art keywords
robot
parameter
mechanism error
error parameter
information
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
JP2022044625A
Other languages
Japanese (ja)
Other versions
JP7295302B2 (en
Inventor
悦来 王
Yuelai Wang
創一 有田
Souichi Arita
康広 内藤
Yasuhiro Naito
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.)
Fanuc Corp
Original Assignee
Fanuc Corp
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
Priority claimed from JP2019069987A external-priority patent/JP7048535B2/en
Application filed by Fanuc Corp filed Critical Fanuc Corp
Priority to JP2022044625A priority Critical patent/JP7295302B2/en
Publication of JP2022069698A publication Critical patent/JP2022069698A/en
Application granted granted Critical
Publication of JP7295302B2 publication Critical patent/JP7295302B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Manipulator (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a controller of a robot capable of calibrating a mechanism error parameter in a short time.
SOLUTION: A controller 4 includes a storage part 42 storing a plurality of mechanism error parameters and a processor. The processor drives a robot 1 at a plurality of positions and postures on the basis of a second mechanism error parameter and acquires an actual measurement position of the robot 1 and information about the state of the robot 1. The processor calculates a third mechanism error parameter after correcting value of a first mechanism error parameter on the basis of the actual measurement position of the robot 1 and the information about the state of the robot 1. The processor corrects the first mechanism error parameter stored to the storage part 42 to the third mechanism error parameter. The processor controls the robot 1 on the basis of a plurality of mechanism error parameters including the second mechanism error parameter and the third mechanism error parameter.
SELECTED DRAWING: Figure 2
COPYRIGHT: (C)2022,JPO&INPIT

Description

本発明は、ロボットを制御するための機構誤差パラメータを較正するロボットの制御装置に関する。 The present invention relates to a robotic control device that calibrates mechanical error parameters for controlling a robot.

従来の技術においては、作業ツールを取り付けたロボットを駆動することにより、様々な作業を行うことが知られている。ロボットは、動作プログラムに基づいて作業ツールを所定の位置および姿勢に移動する。ロボットの位置および姿勢は、動作プログラムにおいて指定された位置および姿勢と一致することが好ましい。しかしながら、ロボットを製造する時の構成部品の製造誤差、およびロボットを駆動する時の重力の影響などにより、ロボットの位置および姿勢は、動作プログラムにおいて指定された位置および姿勢から僅かにずれる場合がある。 In the conventional technique, it is known that various tasks are performed by driving a robot equipped with a work tool. The robot moves the work tool to a predetermined position and posture based on the motion program. It is preferred that the position and orientation of the robot match the position and orientation specified in the motion program. However, the position and orientation of the robot may deviate slightly from the position and orientation specified in the motion program due to manufacturing errors of components when manufacturing the robot and the influence of gravity when driving the robot. ..

従来の技術においては、ロボットから離れた場所に3次元位置検出装置を配置して、ロボットの動作を修正する制御が知られている(例えば、特開平11-90868号公報を参照)。3次元位置検出装置は、ロボットの実際の位置および姿勢を検出することができる。ロボットの実際の位置および姿勢は、動作プログラムにて指定された位置および姿勢とは異なる。制御装置は、3次元位置検出装置にて検出されたロボットの位置および姿勢と、動作プログラムにて指定されたロボットの位置および姿勢とに基づいて補正行列を算出する。制御装置は、この補正行列を用いて、ロボットの動作を修正することができる。 In the prior art, there is known a control in which a three-dimensional position detecting device is arranged at a place away from the robot to correct the operation of the robot (see, for example, Japanese Patent Application Laid-Open No. 11-90868). The 3D position detection device can detect the actual position and posture of the robot. The actual position and orientation of the robot will differ from the position and orientation specified in the motion program. The control device calculates the correction matrix based on the position and posture of the robot detected by the three-dimensional position detection device and the position and posture of the robot specified by the operation program. The control device can correct the movement of the robot by using this correction matrix.

ロボットの実際の位置が動作プログラムにて指定された位置からずれる原因としては、複数の項目の誤差が考えられる。例えば、駆動軸同士の間のアームの長さの誤差または減速機のギヤ比の誤差等により、ロボットの実際の位置が動作プログラムにて指定された位置からずれる。従来の技術においては、このような複数の項目を機構誤差パラメータとして設定し、それぞれの機構誤差パラメータごとに値を設定する方法が知られている(例えば、特開2008-12604号公報、および特開2012-196716号公報を参照)。 The reason why the actual position of the robot deviates from the position specified in the operation program is considered to be the error of multiple items. For example, the actual position of the robot deviates from the position specified in the operation program due to an error in the length of the arm between the drive shafts or an error in the gear ratio of the reducer. In the prior art, there is known a method of setting such a plurality of items as mechanism error parameters and setting values for each mechanism error parameter (for example, Japanese Patent Application Laid-Open No. 2008-12604, and Japanese Patent Application Laid-Open No. 2008-12604). Open 2012-196716 (see).

特開平11-90868号公報Japanese Unexamined Patent Publication No. 11-90868 特開2008-12604号公報Japanese Unexamined Patent Publication No. 2008-12604 特開2012-196716号公報Japanese Unexamined Patent Publication No. 2012-196716

ロボットの制御装置は、機構誤差パラメータに基づいて、それぞれの構成部材を駆動する駆動モータの回転角度を調整することができる。機構パラメータをロボットに対応して正確に設定することにより、ロボットの実際の位置および姿勢を動作プログラムにより指定された位置および姿勢に近づけることができる。 The robot control device can adjust the rotation angle of the drive motor that drives each component based on the mechanism error parameter. By accurately setting the mechanism parameters corresponding to the robot, the actual position and posture of the robot can be brought closer to the position and posture specified by the motion program.

例えば、ロボットを構成する部品を交換した場合に、機構誤差パラメータを較正する必要がある。すなわち、機構誤差パラメータを設定し直す必要がある。従来の技術においては、機構誤差パラメータを較正する場合には、全ての機構誤差パラメータを算出する制御を行っていた。機構誤差パラメータを算出する時には、ロボットのリストにカメラを取り付けたり、ロボットから離れた位置に3次元測定器を配置したりすることにより、ロボットの実際の位置を検出する。ロボットの位置を変更するようにロボットを駆動して、ロボットの実際の位置を数多く測定する。そして、ロボットの実際の位置に基づいて、機構誤差パラメータを算出する。 For example, it is necessary to calibrate the mechanical error parameters when the parts constituting the robot are replaced. That is, it is necessary to reset the mechanism error parameter. In the conventional technique, when calibrating the mechanical error parameters, control is performed to calculate all the mechanical error parameters. When calculating the mechanism error parameters, the actual position of the robot is detected by attaching a camera to the list of robots or arranging a 3D measuring device at a position away from the robot. Drive the robot to change the position of the robot and measure many actual positions of the robot. Then, the mechanism error parameter is calculated based on the actual position of the robot.

ところが、ロボットの制御装置には、数多くの機構誤差パラメータが設定されている。このために、全ての機構誤差パラメータを算出するためには、非常に多くの位置にロボットを駆動する必要が有る。または、全ての機構誤差パラメータを較正する場合には、ロボットの動作が可能な全体の範囲に亘ってロボットを駆動する必要が有る。ところが、工場等に設置されたロボットにおいては、ロボットが駆動できる範囲が限られる場合がある。例えば、ロボットの周りに柵またはロボット以外の装置が配置されて、ロボットが駆動できる範囲が小さい場合がある。このような小さな範囲内で、ロボットを駆動してロボットの実際の位置を測定しても、正確な機構誤差パラメータを算出できない場合がある。この結果、ロボットの制御の精度が十分に改善されない場合がある。 However, many mechanical error parameters are set in the control device of the robot. Therefore, in order to calculate all the mechanism error parameters, it is necessary to drive the robot to a large number of positions. Alternatively, if all mechanical error parameters are to be calibrated, it is necessary to drive the robot over the entire range in which the robot can operate. However, in a robot installed in a factory or the like, the range in which the robot can be driven may be limited. For example, a fence or a device other than the robot may be arranged around the robot, and the range in which the robot can be driven may be small. Even if the robot is driven and the actual position of the robot is measured within such a small range, it may not be possible to calculate an accurate mechanical error parameter. As a result, the accuracy of robot control may not be sufficiently improved.

また、ロボットの制御装置には、数多くの機構誤差パラメータが設定されるために、多くの位置にロボットを駆動して、ロボットの実際の位置を測定する必要がある。このために、1部の部品を交換した場合であっても、機構誤差パラメータの較正のために長い作業時間が必要になる。この結果、ロボット装置を使用できない時間が長くなり、工場の生産性が悪化するという問題があった。 In addition, since many mechanical error parameters are set in the control device of the robot, it is necessary to drive the robot to many positions and measure the actual position of the robot. For this reason, even if one part is replaced, a long working time is required for calibration of the mechanism error parameter. As a result, there is a problem that the time during which the robot device cannot be used becomes long and the productivity of the factory deteriorates.

本開示の一態様は、ロボットの制御を調整するための機構誤差パラメータを較正するロボットの制御装置である。ロボットの制御装置は、動作プログラムに基づいてロボットの動作を制御する動作制御部を備える。ロボットの制御装置は、複数の機構誤差パラメータのうち、一部の第1の機構誤差パラメータを無効に設定するパラメータ設定部を備える。ロボットの制御装置は、第1の機構誤差パラメータ以外の第2の機構誤差パラメータを用いて、ロボットを複数の位置および姿勢に駆動して、ロボットの実測位置と、実測位置を測定した時のロボットの状態に関する情報とを取得する測定制御部を備える。ロボットの制御装置は、ロボットの実測位置と、ロボットの状態に関する情報とを組み合わせた情報を記憶する記憶部を備える。ロボットの制御装置は、ロボットの実測位置と、ロボットの状態に関する情報とに基づいて、第1の機構誤差パラメータを算出するパラメータ算出部を備える。ロボットの制御装置は、複数の機構誤差パラメータのうち、第2の機構誤差パラメータは変更せずに、パラメータ設定部にて無効にした第1の機構誤差パラメータをパラメータ算出部にて算出した第1の機構誤差パラメータに変更する修正部を備える。動作制御部は、第2の機構誤差パラメータと修正部にて変更された第1の機構誤差パラメータとを含む複数の機構誤差パラメータを用いてロボットの動作を制御する。 One aspect of the present disclosure is a robotic control device that calibrates mechanical error parameters for coordinating robotic control. The robot control device includes a motion control unit that controls the motion of the robot based on the motion program. The robot control device includes a parameter setting unit for invalidating a first mechanism error parameter among a plurality of mechanism error parameters. The robot control device drives the robot to a plurality of positions and postures using a second mechanical error parameter other than the first mechanical error parameter, and measures the measured position of the robot and the measured position of the robot. It is provided with a measurement control unit that acquires information about the state of. The robot control device includes a storage unit that stores information that combines information on the actually measured position of the robot and information on the state of the robot. The robot control device includes a parameter calculation unit that calculates a first mechanism error parameter based on the measured position of the robot and information on the state of the robot. The robot control device has the first mechanism error parameter calculated by the parameter calculation unit as the first mechanism error parameter invalidated by the parameter setting unit without changing the second mechanism error parameter among the plurality of mechanism error parameters. It is equipped with a correction part that changes to the mechanism error parameter of. The motion control unit controls the motion of the robot using a plurality of mechanical error parameters including the second mechanical error parameter and the first mechanical error parameter changed by the correction unit.

本開示の一態様のロボットの制御装置は、短時間で機構誤差パラメータの較正を行うことができる。 The robot control device of one aspect of the present disclosure can calibrate the mechanism error parameters in a short time.

実施の形態におけるロボット装置の概略図である。It is a schematic diagram of the robot apparatus in embodiment. ロボット装置のブロック図である。It is a block diagram of a robot device. 実施の形態における3次元測定器の側面図である。It is a side view of the 3D measuring instrument in embodiment. 実施の形態におけるリストのフランジの拡大斜視図である。It is an enlarged perspective view of the flange of the list in an embodiment. ロボット装置の制御のフローチャートである。It is a flowchart of control of a robot apparatus.

図1から図5を参照して、実施の形態における較正装置について説明する。本実施の形態の較正装置は、ロボットを備えるロボット装置に配置されている。較正装置は、ロボットの制御を調整するための機構誤差パラメータを較正する。 The calibration device according to the embodiment will be described with reference to FIGS. 1 to 5. The calibration device of this embodiment is arranged in a robot device including a robot. The calibrator calibrates the mechanical error parameters for adjusting the control of the robot.

図1は、本実施の形態におけるロボット装置の概略図である。ロボット装置5は、作業ツールとしてのハンド2と、ハンド2を移動するロボット1とを備える。本実施の形態のロボット1は、複数の関節部18a,18b,18cを含む多関節ロボットである。ロボット1は、移動可能な複数の構成部材を含む。ロボット1のそれぞれの構成部材は、駆動軸J1~J6の周りに回転するように形成される。 FIG. 1 is a schematic diagram of a robot device according to the present embodiment. The robot device 5 includes a hand 2 as a work tool and a robot 1 that moves the hand 2. The robot 1 of the present embodiment is an articulated robot including a plurality of joint portions 18a, 18b, 18c. The robot 1 includes a plurality of movable components. Each component of the robot 1 is formed so as to rotate around the drive shafts J1 to J6.

ロボット1は、設置面79に固定されたベース部14と、ベース部14に支持された旋回ベース13とを含む。旋回ベース13は、ベース部14に対して駆動軸J1の周りに回転する。ロボット1は、上部アーム11および下部アーム12を含む。下部アーム12は、旋回ベース13に対して駆動軸J2の周りに回転するように支持されている。上部アーム11は、下部アーム12に対して駆動軸J3の周りに回転するように支持されている。更に、上部アーム11は、駆動軸J4の周りに回転する。ロボット1は、上部アーム11に支持されているリスト15を含む。リスト15は駆動軸J5の周りに回転する。また、リスト15は、駆動軸J6の周りに回転するフランジ16を含む。フランジ16には、ハンド2が固定されている。 The robot 1 includes a base portion 14 fixed to the installation surface 79 and a swivel base 13 supported by the base portion 14. The swivel base 13 rotates about the drive shaft J1 with respect to the base portion 14. The robot 1 includes an upper arm 11 and a lower arm 12. The lower arm 12 is supported so as to rotate about the drive shaft J2 with respect to the swivel base 13. The upper arm 11 is supported so as to rotate about the drive shaft J3 with respect to the lower arm 12. Further, the upper arm 11 rotates around the drive shaft J4. Robot 1 includes a wrist 15 supported by an upper arm 11. Listing 15 rotates around the drive shaft J5. Also, the list 15 includes a flange 16 that rotates around the drive shaft J6. The hand 2 is fixed to the flange 16.

本実施の形態のロボットは、6個の駆動軸を有するが、この形態に限られない。任意の機構にて位置および姿勢を変更するロボットを採用することができる。また、本実施の形態の作業ツールは、ワークを把持するハンドであるが、この形態に限られない。作業者は、ロボット装置が行う作業に応じた作業ツールを選定することができる。例えば、溶接を行う作業ツールまたは接着剤を塗布する作業ツールなどを採用することができる。 The robot of this embodiment has six drive shafts, but is not limited to this embodiment. A robot that changes its position and posture by any mechanism can be adopted. Further, the work tool of the present embodiment is a hand that grips the work, but is not limited to this form. The worker can select a work tool according to the work performed by the robot device. For example, a work tool for welding or a work tool for applying an adhesive can be adopted.

本実施の形態のロボット装置5には、基準座標系71が設定されている。図1に示す例では、ロボット1のベース部14に、基準座標系71の原点が配置されている。基準座標系71はワールド座標系とも称される。基準座標系71は、原点の位置が固定され、更に、座標軸の向きが固定されている座標系である。ロボット1の位置および姿勢が変化しても基準座標系71の位置および向きは変化しない。基準座標系71は、座標軸として、互いに直交するX軸、Y軸、およびZ軸を有する。また、X軸の周りの座標軸としてW軸が設定される。Y軸の周りの座標軸としてP軸が設定される。Z軸の周りの座標軸としてR軸が設定される。 A reference coordinate system 71 is set in the robot device 5 of the present embodiment. In the example shown in FIG. 1, the origin of the reference coordinate system 71 is arranged on the base portion 14 of the robot 1. The reference coordinate system 71 is also referred to as a world coordinate system. The reference coordinate system 71 is a coordinate system in which the position of the origin is fixed and the direction of the coordinate axes is fixed. Even if the position and posture of the robot 1 change, the position and orientation of the reference coordinate system 71 do not change. The reference coordinate system 71 has an X-axis, a Y-axis, and a Z-axis that are orthogonal to each other as coordinate axes. Further, the W axis is set as a coordinate axis around the X axis. The P-axis is set as the coordinate axis around the Y-axis. The R axis is set as the coordinate axis around the Z axis.

本実施の形態では、リスト15のフランジ16の表面に配置された原点を有するフランジ座標系72が設定されている。フランジ座標系72はメカニカルインタフェース座標系とも称される。フランジ座標系72は、フランジ16と共に回転したり移動したりする。フランジ座標系72の原点は、ロボット1の駆動軸J6上に設定されている。フランジ座標系72は、座標軸として、互いに直交するX軸、Y軸、およびZ軸を有する。図1に示す例では、フランジ座標系72は、Z軸の延びる方向が駆動軸J6の延びる方向と平行になるように設定されている。また、フランジ座標系72は、X軸の周りのW軸、Y軸の周りのP軸、およびZ軸の周りのR軸を有する。ロボット1の位置は、基準座標系71におけるフランジ座標系72の原点の位置に対応する。また、ロボット1の姿勢は、基準座標系71に対するフランジ座標系72の向きに対応する。 In this embodiment, a flange coordinate system 72 having an origin arranged on the surface of the flange 16 of the list 15 is set. The flange coordinate system 72 is also referred to as a mechanical interface coordinate system. The flange coordinate system 72 rotates and moves with the flange 16. The origin of the flange coordinate system 72 is set on the drive axis J6 of the robot 1. The flange coordinate system 72 has an X-axis, a Y-axis, and a Z-axis that are orthogonal to each other as coordinate axes. In the example shown in FIG. 1, the flange coordinate system 72 is set so that the extending direction of the Z axis is parallel to the extending direction of the drive axis J6. Also, the flange coordinate system 72 has a W axis around the X axis, a P axis around the Y axis, and an R axis around the Z axis. The position of the robot 1 corresponds to the position of the origin of the flange coordinate system 72 in the reference coordinate system 71. Further, the posture of the robot 1 corresponds to the orientation of the flange coordinate system 72 with respect to the reference coordinate system 71.

図2に、本実施の形態におけるロボット装置のブロック図を示す。図1および図2を参照して、ロボット1は、ロボット1の位置および姿勢を変化させるロボット駆動装置を含む。ロボット駆動装置は、上部アーム11、下部アーム12およびリスト15等の構成部材を駆動するロボット駆動モータ22を含む。本実施の形態では、それぞれの駆動軸J1~J6に対応して、複数のロボット駆動モータ22が配置されている。ロボット駆動モータ22が駆動することにより、それぞれの構成部材の向きが変化する。 FIG. 2 shows a block diagram of the robot device according to the present embodiment. With reference to FIGS. 1 and 2, the robot 1 includes a robot drive device that changes the position and orientation of the robot 1. The robot drive device includes a robot drive motor 22 that drives components such as the upper arm 11, the lower arm 12, and the wrist 15. In the present embodiment, a plurality of robot drive motors 22 are arranged corresponding to the respective drive shafts J1 to J6. By driving the robot drive motor 22, the orientation of each component changes.

ハンド2は、ハンド2を駆動するハンド駆動装置を備える。ハンド駆動装置は、ハンド2の爪部を駆動するハンド駆動モータ21を含む。ハンド駆動モータ21が駆動することによりハンド2の爪部が開いたり閉じたりする。なお、ハンドは、空気圧などにより駆動するように形成されていても構わない。 The hand 2 includes a hand drive device for driving the hand 2. The hand drive device includes a hand drive motor 21 that drives the claw portion of the hand 2. The claw portion of the hand 2 opens and closes when the hand drive motor 21 is driven. The hand may be formed so as to be driven by air pressure or the like.

ロボット装置5は、ロボット1およびハンド2を制御する制御装置4と、作業者が制御装置4を操作するための教示操作盤37とを含む。制御装置4は、プロセッサとしてのCPU(Central Processing Unit)を有する演算処理装置(コンピュータ)を含む。制御装置4は、CPUに、バスを介して接続されたRAM(Random Access Memory)およびROM(Read Only Memory)等を有する。 The robot device 5 includes a control device 4 for controlling the robot 1 and the hand 2, and a teaching operation panel 37 for the operator to operate the control device 4. The control device 4 includes an arithmetic processing unit (computer) having a CPU (Central Processing Unit) as a processor. The control device 4 has a RAM (Random Access Memory), a ROM (Read Only Memory), and the like connected to the CPU via a bus.

教示操作盤37は、ロボット1およびハンド2に関する情報を入力する入力部38を含む。入力部38は、キーボードおよびダイヤルなどにより構成されている。作業者は、動作プログラム、変数の設定値、および変数の判定値などを入力部38から制御装置4に入力することができる。教示操作盤37は、ロボット1およびハンド2に関する情報を表示する表示部39を含む。 The teaching operation panel 37 includes an input unit 38 for inputting information about the robot 1 and the hand 2. The input unit 38 is composed of a keyboard, a dial, and the like. The operator can input the operation program, the set value of the variable, the determination value of the variable, and the like from the input unit 38 to the control device 4. The teaching operation panel 37 includes a display unit 39 that displays information about the robot 1 and the hand 2.

制御装置4には、ロボット1およびハンド2の制御を行うために、予め作成された動作プログラム46が入力される。または、作業者が教示操作盤37を操作してロボット1を駆動することにより、ロボット1の教示点を設定することができる。制御装置4は、教示点に基づいて、ロボット1およびハンド2を駆動する動作プログラム46を生成することができる。制御装置4は、ロボット1およびハンド2の制御に関する情報を記憶する記憶部42を含む。動作プログラム46は、記憶部42に記憶される。ロボット装置5は、動作プログラム46に基づいて自動的に作業を行う。 An operation program 46 created in advance is input to the control device 4 in order to control the robot 1 and the hand 2. Alternatively, the teaching point of the robot 1 can be set by the operator operating the teaching operation panel 37 to drive the robot 1. The control device 4 can generate an operation program 46 for driving the robot 1 and the hand 2 based on the teaching points. The control device 4 includes a storage unit 42 that stores information related to the control of the robot 1 and the hand 2. The operation program 46 is stored in the storage unit 42. The robot device 5 automatically performs work based on the operation program 46.

制御装置4は、ロボット1およびハンド2に動作指令を送出する動作制御部43を含む。動作制御部43は、動作プログラム46に基づいて、ロボット1を駆動するための動作指令をロボット駆動部45に送出する。ロボット駆動部45は、ロボット駆動モータ22を駆動する電気回路を含む。ロボット駆動部45は、動作指令に基づいてロボット駆動モータ22に電気を供給する。また、動作制御部43は、動作プログラム46に基づいて、ハンド2を駆動する動作指令をハンド駆動部44に送出する。ハンド駆動部44は、ハンド駆動モータ21を駆動する電気回路を含む。ハンド駆動部44は、動作指令に基づいてハンド駆動モータ21に電気を供給する。 The control device 4 includes an operation control unit 43 that sends an operation command to the robot 1 and the hand 2. The motion control unit 43 sends an motion command for driving the robot 1 to the robot drive unit 45 based on the motion program 46. The robot drive unit 45 includes an electric circuit that drives the robot drive motor 22. The robot drive unit 45 supplies electricity to the robot drive motor 22 based on an operation command. Further, the operation control unit 43 sends an operation command for driving the hand 2 to the hand drive unit 44 based on the operation program 46. The hand drive unit 44 includes an electric circuit for driving the hand drive motor 21. The hand drive unit 44 supplies electricity to the hand drive motor 21 based on the operation command.

ロボット1は、ロボット1の位置および姿勢を含むロボット1の状態を検出するための状態検出器を含む。本実施の形態における状態検出器は、アーム等の駆動軸に対応するロボット駆動モータ22に取り付けられた回転位置検出器19を含む。回転位置検出器19は、ロボット駆動モータ22の回転角を検出するエンコーダ等により構成されている。本実施の形態では、複数の回転位置検出器19の出力に基づいて、ロボット1の位置および姿勢が検出される。 The robot 1 includes a state detector for detecting the state of the robot 1 including the position and the posture of the robot 1. The state detector in this embodiment includes a rotation position detector 19 attached to a robot drive motor 22 corresponding to a drive shaft such as an arm. The rotation position detector 19 is configured by an encoder or the like that detects the rotation angle of the robot drive motor 22. In the present embodiment, the position and posture of the robot 1 are detected based on the outputs of the plurality of rotation position detectors 19.

動作制御部43は、動作プログラム46において指定されたロボットの位置および姿勢になるように、ロボット1を制御する。動作制御部43は、例えば、逆運動学に基づいてロボット駆動モータ22の回転角を制御する。作業ツールの先端には、フランジ座標系72に対応するようにツール座標系を設定することができる。フランジ座標系72の位置および姿勢はツール座標系の位置および姿勢に対応する。フランジ座標系72が所望の位置および姿勢になるようにロボット1を制御することにより、作業ツールを所望の位置および姿勢に制御することができる。 The motion control unit 43 controls the robot 1 so as to be in the position and posture of the robot specified in the motion program 46. The motion control unit 43 controls the rotation angle of the robot drive motor 22 based on, for example, inverse kinematics. At the tip of the work tool, the tool coordinate system can be set so as to correspond to the flange coordinate system 72. The position and orientation of the flange coordinate system 72 correspond to the position and orientation of the tool coordinate system. By controlling the robot 1 so that the flange coordinate system 72 is in a desired position and posture, the work tool can be controlled in a desired position and posture.

ところで、ロボットの実際の位置および姿勢は、ロボットの構成部品の製造誤差、ロボットを組み立てるときの組み立て誤差、および重力の影響などにより、動作プログラム46にて指定された位置および姿勢からずれる場合がある。本実施の形態では、動作プログラム46とは別に、ロボット1の制御を調整するための複数の機構誤差パラメータ49が設定されている。複数の機構誤差パラメータ49は、記憶部42に記憶されている。 By the way, the actual position and posture of the robot may deviate from the position and posture specified in the operation program 46 due to manufacturing errors of robot components, assembly errors when assembling the robot, and the influence of gravity. .. In the present embodiment, apart from the operation program 46, a plurality of mechanism error parameters 49 for adjusting the control of the robot 1 are set. The plurality of mechanism error parameters 49 are stored in the storage unit 42.

機構誤差パラメータ49には、ロボット1を駆動する際に生じる位置および姿勢の誤差の原因となる任意のパラメータが含まれる。例えば、機構誤差パラメータ49には、各駆動軸同士の間のリンクの長さ、それぞれの駆動軸の位置、それぞれの駆動軸の減速機にて生じるバックラッシュに起因するギヤ比の誤差、および重力の影響により変形するリンクの弾性変形に関する変数などのパラメータが含まれる。表1に、機構誤差パラメータの例を示す。 The mechanism error parameter 49 includes any parameter that causes a position and attitude error that occurs when the robot 1 is driven. For example, the mechanism error parameter 49 includes the length of the link between the drive shafts, the position of each drive shaft, the gear ratio error due to the backlash caused by the reducer of each drive shaft, and the gravity. Contains parameters such as variables related to the elastic deformation of links that are deformed by the influence of. Table 1 shows examples of mechanism error parameters.

Figure 2022069698000002
Figure 2022069698000002

本実施の形態の機構誤差パラメータには、記号P1~P4で示されるDHパラメータが含まれる。DH(Denavit Hartenberg)法では、それぞれの駆動軸に座標系を設定し、駆動軸の座標系同士の間の関係に基づいてロボットの位置および姿勢を表現することができる。DHパラメータは、DH法におけるパラメータであり、例えば、パラメータDH-θ,DH-D,DH-A,DH-αが含まれる。 The mechanism error parameter of the present embodiment includes the DH parameter represented by the symbols P1 to P4. In the DH (Denavit Hartenberg) method, a coordinate system is set for each drive axis, and the position and posture of the robot can be expressed based on the relationship between the coordinate systems of the drive axes. The DH parameter is a parameter in the DH method, and includes, for example, the parameters DH-θ, DH-D, DH-A, and DH-α.

また、本実施の形態の機構誤差パラメータには、ニュートンオイラー法によって求められた駆動軸周りのトルクに関するばね定数が含まれる。これらのばね定数は、トルクに対するたわみ量に関するパラメータであり、記号P5~P7にて示されている。機構誤差パラメータには、それぞれの駆動軸における第1方向のばね定数θ、第2方向のばね定数α、および第3方向のばね定数βが含まれる。 Further, the mechanical error parameter of the present embodiment includes a spring constant related to the torque around the drive shaft obtained by the Newton Euler method. These spring constants are parameters related to the amount of deflection with respect to torque, and are indicated by symbols P5 to P7. The mechanism error parameters include the spring constant θ in the first direction, the spring constant α in the second direction, and the spring constant β in the third direction in each drive shaft.

また、それぞれの駆動軸に配置されるロボット駆動モータ22に取り付けられた回転位置検出器19の出力と、実際にアーム等に伝達される回転角との間に誤差が生じる場合がある。この角度の誤差は、例えば減速機におけるギヤ比の誤差にて生じる。本実施の形態の機構誤差パラメータには、記号P8にて示される減速機のギヤ比の誤差が含まれる。 Further, there may be an error between the output of the rotation position detector 19 attached to the robot drive motor 22 arranged on each drive shaft and the rotation angle actually transmitted to the arm or the like. This angle error occurs, for example, due to an error in the gear ratio in the reducer. The mechanism error parameter of the present embodiment includes an error of the gear ratio of the speed reducer indicated by the symbol P8.

機構誤差パラメータとしては、これらのパラメータに限られず、ロボットの制御を調整するための任意のパラメータを設定することができる。機構誤差パラメータは、ロボット1を設置する場所に応じて、ロボット1を出荷する時に設定されている。機構誤差パラメータは、それぞれの駆動軸J1~J6ごとに設定することができる。機構誤差パラメータ49の値は、ファイルの形式にて記憶部42に記憶されている。 The mechanism error parameter is not limited to these parameters, and any parameter for adjusting the control of the robot can be set. The mechanism error parameter is set at the time of shipping the robot 1 according to the place where the robot 1 is installed. The mechanism error parameter can be set for each drive shaft J1 to J6. The value of the mechanism error parameter 49 is stored in the storage unit 42 in the form of a file.

図2を参照して、動作制御部43は、逆運動学に基づいて動作プログラム46に設定されたロボット1の位置および姿勢になるように、ロボット駆動モータ22の回転角度を算出する。このときに、動作制御部43は、記憶部42に記憶された機構誤差パラメータ49を取得する。動作制御部43は、それぞれの機構誤差パラメータに基づいてロボット駆動モータ22の動作指令を修正する。この制御を実施することにより、ロボットの位置および姿勢を動作プログラム46に指定された位置および姿勢に近づけることができる。 With reference to FIG. 2, the motion control unit 43 calculates the rotation angle of the robot drive motor 22 so as to be the position and posture of the robot 1 set in the motion program 46 based on the inverse kinematics. At this time, the motion control unit 43 acquires the mechanism error parameter 49 stored in the storage unit 42. The motion control unit 43 corrects the motion command of the robot drive motor 22 based on each mechanism error parameter. By performing this control, the position and posture of the robot can be brought closer to the position and posture specified in the operation program 46.

本実施の形態における較正装置は、ロボット1の制御を調整する機構誤差パラメータを較正する。本実施の形態では、制御装置4が較正装置として機能する。ロボット装置5は、ロボット1の位置および姿勢を正確に測定するための3次元測定器8を備える。本実施の形態の3次元測定器8は、ロボット1から離れた位置に配置されている。 The calibration device in this embodiment calibrates the mechanical error parameters that adjust the control of the robot 1. In this embodiment, the control device 4 functions as a calibration device. The robot device 5 includes a three-dimensional measuring device 8 for accurately measuring the position and posture of the robot 1. The coordinate measuring device 8 of the present embodiment is arranged at a position away from the robot 1.

図3に、本実施の形態における3次元測定器の拡大図を示す。図1から図3を参照して、本実施の形態における3次元測定器8は、レーザ光を発振し、ロボット1に取り付けた反射器67または反射器68にて反射したレーザ光を受信する。3次元測定器8は、矢印91に示すようにレーザ光を発振するレーザヘッド63を含む。レーザヘッド63は、支持部材62に支持されている。レーザヘッド63は、レーザ光を発振する発振部81を含む。レーザヘッド63は、反射器67または反射器68にて反射したレーザ光を受信する受光部82を有する。受光部82は、レーザヘッド63の内部に配置されている。 FIG. 3 shows an enlarged view of the three-dimensional measuring instrument according to the present embodiment. With reference to FIGS. 1 to 3, the coordinate measuring device 8 in the present embodiment oscillates the laser light and receives the laser light reflected by the reflector 67 or the reflector 68 attached to the robot 1. The coordinate measuring device 8 includes a laser head 63 that oscillates a laser beam as shown by an arrow 91. The laser head 63 is supported by the support member 62. The laser head 63 includes an oscillating unit 81 that oscillates laser light. The laser head 63 has a light receiving unit 82 that receives the laser light reflected by the reflector 67 or the reflector 68. The light receiving unit 82 is arranged inside the laser head 63.

本実施の形態における3次元測定器8は、レーザヘッド63の向きを変更する回転装置64を含む。回転装置64は、レーザヘッド63の向きを変更する測定器駆動モータ84を含む。測定器駆動モータ84には、測定器駆動モータ84の回転角を検出するために、エンコーダ等の回転位置検出器85が取り付けられている。回転装置64は、矢印92に示すように、水平方向に延びる回転軸の周りにレーザヘッド63を回転する。また、回転装置64は、矢印93に示すように、鉛直方向に延びる回転軸の周りに支持部材62を回転する。回転装置64は、三脚65に支持されている。このように、3次元測定器8は、回転装置64が駆動することにより、任意の向きにレーザ光を発振することができる。 The coordinate measuring device 8 in the present embodiment includes a rotating device 64 that changes the direction of the laser head 63. The rotating device 64 includes a measuring instrument drive motor 84 that changes the direction of the laser head 63. A rotation position detector 85 such as an encoder is attached to the measuring instrument drive motor 84 in order to detect the rotation angle of the measuring instrument drive motor 84. The rotating device 64 rotates the laser head 63 around a horizontally extending rotation axis, as shown by the arrow 92. Further, as shown by the arrow 93, the rotating device 64 rotates the support member 62 around a rotating shaft extending in the vertical direction. The rotating device 64 is supported by a tripod 65. In this way, the coordinate measuring device 8 can oscillate the laser beam in any direction by driving the rotating device 64.

3次元測定器8は、CPUおよびRAM等を含む演算処理装置を含む。3次元測定器8の演算処理装置は、反射器67,68の位置を算出する位置算出部83を含む。位置算出部83は、発振したレーザ光と受信したレーザ光との位相差により、3次元測定器8から反射器67,68までの距離を算出する。位置算出部83は、3次元測定器8から反射器67,68までの距離と、レーザヘッド63の向きとに基づいて、反射器67,68の位置を算出することができる。 The coordinate measuring device 8 includes an arithmetic processing unit including a CPU, RAM, and the like. The arithmetic processing device of the coordinate measuring device 8 includes a position calculation unit 83 for calculating the positions of the reflectors 67 and 68. The position calculation unit 83 calculates the distance from the coordinate measuring device 8 to the reflectors 67 and 68 based on the phase difference between the oscillated laser light and the received laser light. The position calculation unit 83 can calculate the positions of the reflectors 67 and 68 based on the distance from the coordinate measuring device 8 to the reflectors 67 and 68 and the orientation of the laser head 63.

本実施の形態の3次元測定器8には、測定器座標系73が設定されている。測定器座標系73は、作業者が任意の位置に設定することができるユーザー座標系として、制御装置4に設定されている。測定器座標系73の原点は、3次元測定器8の内部の任意の位置に設定することができる。例えば、測定器座標系73の原点は、レーザヘッド63の内部に配置されているレーザ光源の先端に配置することができる。 A measuring instrument coordinate system 73 is set in the three-dimensional measuring instrument 8 of the present embodiment. The measuring instrument coordinate system 73 is set in the control device 4 as a user coordinate system that can be set at an arbitrary position by the operator. The origin of the measuring instrument coordinate system 73 can be set to an arbitrary position inside the three-dimensional measuring instrument 8. For example, the origin of the measuring instrument coordinate system 73 can be arranged at the tip of a laser light source arranged inside the laser head 63.

測定器座標系73は、座標軸として、互いに直交するX軸、Y軸、およびZ軸を有する。測定器座標系73の向きは、任意の向きに設定することができる。また、それぞれのX軸、Y軸、およびZ軸の周りには、座標軸としてW軸、P軸、およびR軸が設定される。本実施の形態においては、Z軸が鉛直方向と平行になるように設定されている。測定器座標系73は、原点の位置が固定され、更に、座標軸の向きが固定されている座標系である。レーザヘッド63の向きが変化しても測定器座標系73の位置および向きは変化しない。 The measuring instrument coordinate system 73 has an X-axis, a Y-axis, and a Z-axis that are orthogonal to each other as coordinate axes. The orientation of the measuring instrument coordinate system 73 can be set to any orientation. Further, around each X-axis, Y-axis, and Z-axis, a W-axis, a P-axis, and an R-axis are set as coordinate axes. In this embodiment, the Z axis is set to be parallel to the vertical direction. The measuring instrument coordinate system 73 is a coordinate system in which the position of the origin is fixed and the direction of the coordinate axes is fixed. Even if the orientation of the laser head 63 changes, the position and orientation of the measuring instrument coordinate system 73 do not change.

本実施の形態における機構誤差パラメータを更新する第1の制御では、ロボット1に対する3次元測定器8の相対的な位置および姿勢が予め定められている。すなわち、基準座標系71に対する測定器座標系73の相対的な位置および姿勢は予め定められている。ここで、基準座標系71に対する測定器座標系73の相対的な位置および姿勢の検出方法について説明する。 In the first control for updating the mechanism error parameter in the present embodiment, the relative position and posture of the coordinate measuring device 8 with respect to the robot 1 are predetermined. That is, the relative position and orientation of the measuring instrument coordinate system 73 with respect to the reference coordinate system 71 are predetermined. Here, a method of detecting the relative position and orientation of the measuring instrument coordinate system 73 with respect to the reference coordinate system 71 will be described.

図1を参照して、本実施の形態のロボット1には、基準座標系71に対する測定器座標系73の相対的な位置および姿勢を検出するための反射器68が配置されている。本実施の形態の反射器68は、ベース部14の表面に固定されている。 With reference to FIG. 1, in the robot 1 of the present embodiment, a reflector 68 for detecting the relative position and orientation of the measuring instrument coordinate system 73 with respect to the reference coordinate system 71 is arranged. The reflector 68 of the present embodiment is fixed to the surface of the base portion 14.

反射器68は、球状に形成されている。反射器68は、入射したレーザ光の方向と同一の方向にレーザ光を反射するように形成されている。反射器68は、基準座標系71に対する相対的な位置が予め定められている。すなわち、基準座標系71における反射器68の座標値は、予め定められている。 The reflector 68 is formed in a spherical shape. The reflector 68 is formed so as to reflect the laser beam in the same direction as the incident laser beam. The position of the reflector 68 relative to the reference coordinate system 71 is predetermined. That is, the coordinate values of the reflector 68 in the reference coordinate system 71 are predetermined.

3次元測定器8の回転装置64は、レーザ光が反射器68にて反射した後にレーザヘッド63に戻るように、レーザヘッド63の向きを調整する。作業者は、手動で回転装置64を駆動してレーザヘッド63の向きを調整することができる。または、3次元測定器8は、レーザ光の出射方向が円を描くように走査する自動探索機能を備える場合がある。この場合に、作業者は、3次元測定器8から出射されるレーザ光が反射器68に向かうように凡そのレーザヘッド63の向きを調整する。この後に、3次元測定器8は、自動探索機能により、反射器68にて反射されたレーザ光がレーザヘッド63に戻るようにレーザヘッド63の向きを調整することができる。 The rotating device 64 of the coordinate measuring device 8 adjusts the direction of the laser head 63 so that the laser light is reflected by the reflector 68 and then returns to the laser head 63. The operator can manually drive the rotating device 64 to adjust the orientation of the laser head 63. Alternatively, the coordinate measuring device 8 may have an automatic search function for scanning so that the emission direction of the laser beam draws a circle. In this case, the operator adjusts the orientation of the laser head 63 so that the laser light emitted from the coordinate measuring device 8 is directed toward the reflector 68. After that, the coordinate measuring device 8 can adjust the direction of the laser head 63 so that the laser light reflected by the reflector 68 returns to the laser head 63 by the automatic search function.

回転装置64は、回転位置検出器85の出力に基づいて、測定器座標系73におけるレーザヘッド63の向きを検出することができる。位置算出部83は、反射器68にて反射した光を受光することにより、3次元測定器8から反射器68までの距離を算出する。そして、位置算出部83は、算出した距離およびレーザヘッド63の向きに基づいて、測定器座標系73における反射器68の位置を算出することができる。基準座標系71における反射器68の位置は予め定められているために、位置算出部83は、基準座標系71に対する測定器座標系73の相対的な位置および姿勢を算出することができる。このように、測定器座標系73の位置および姿勢を予め設定することができる。なお、本実施の形態では、1個の反射器68からの反射光に基づいて測定器座標系73の位置および姿勢を算出しているが、この形態に限られない。複数の反射器をロボットのベース部等に配置して、複数の反射器からの反射光に基づいて、測定器座標系の位置および姿勢を算出しても構わない。 The rotation device 64 can detect the orientation of the laser head 63 in the measuring instrument coordinate system 73 based on the output of the rotation position detector 85. The position calculation unit 83 calculates the distance from the coordinate measuring device 8 to the reflector 68 by receiving the light reflected by the reflector 68. Then, the position calculation unit 83 can calculate the position of the reflector 68 in the measuring instrument coordinate system 73 based on the calculated distance and the direction of the laser head 63. Since the position of the reflector 68 in the reference coordinate system 71 is predetermined, the position calculation unit 83 can calculate the relative position and orientation of the measuring instrument coordinate system 73 with respect to the reference coordinate system 71. In this way, the position and orientation of the measuring instrument coordinate system 73 can be preset. In this embodiment, the position and orientation of the measuring instrument coordinate system 73 are calculated based on the light reflected from one reflector 68, but the present embodiment is not limited to this embodiment. A plurality of reflectors may be arranged on the base of the robot or the like, and the position and orientation of the measuring instrument coordinate system may be calculated based on the reflected light from the plurality of reflectors.

図4に、ロボットの先端のフランジに取り付けられた反射器の斜視図を示す。図4は、ハンド2が取り外された状態が示されている。ロボット1のフランジ16には、フランジ座標系72に対する測定器座標系73の相対的な位置を測定するための反射器67が固定されている。反射器67は、反射器68と同様の構成を有する。反射器67は、球状に形成されている。反射器67は、レーザ光を入射した方向に反射するように形成されている。反射器67は、支持部材66を介してフランジ16に固定されている。 FIG. 4 shows a perspective view of a reflector attached to the flange at the tip of the robot. FIG. 4 shows a state in which the hand 2 is removed. A reflector 67 for measuring the relative position of the measuring instrument coordinate system 73 with respect to the flange coordinate system 72 is fixed to the flange 16 of the robot 1. The reflector 67 has the same configuration as the reflector 68. The reflector 67 is formed in a spherical shape. The reflector 67 is formed so as to reflect the laser beam in the incident direction. The reflector 67 is fixed to the flange 16 via the support member 66.

機構誤差パラメータを更新する第1の制御において、支持部材66は、フランジ座標系72における反射器67の位置が定まるように形成されている。すなわち、フランジ座標系72の原点に対する反射器67の位置は予め定められている。 In the first control for updating the mechanism error parameter, the support member 66 is formed so that the position of the reflector 67 in the flange coordinate system 72 is fixed. That is, the position of the reflector 67 with respect to the origin of the flange coordinate system 72 is predetermined.

図2を参照して、制御装置4は、機構誤差パラメータを較正する較正部53を有する。較正部53は、複数の機構誤差パラメータのうち、一部の機構誤差パラメータを第1の機構誤差パラメータとして無効に設定する。較正部53は、第1の機構誤差パラメータ以外の第2の機構誤差パラメータを用いて、ロボット1を複数の位置および姿勢に駆動する。較正部53は、3次元測定器8にてロボット1の実測位置を測定する。また、このときに、較正部53は、ロボット駆動モータ22の回転角を含むロボット1の状態に関する情報を取得する。 With reference to FIG. 2, the control device 4 has a calibration unit 53 that calibrates the mechanism error parameters. The calibration unit 53 invalidates some of the mechanical error parameters among the plurality of mechanical error parameters as the first mechanical error parameter. The calibration unit 53 drives the robot 1 to a plurality of positions and postures by using a second mechanism error parameter other than the first mechanism error parameter. The calibration unit 53 measures the actually measured position of the robot 1 with the coordinate measuring device 8. Further, at this time, the calibration unit 53 acquires information regarding the state of the robot 1 including the rotation angle of the robot drive motor 22.

次に、較正部53は、ロボット1の実測位置と、ロボット1の状態に関する情報とを組み合わせた情報を記憶する。較正部53は、複数の組み合わせた情報に基づいて、無効にした第1の機構誤差パラメータを算出する。そして、第2の機構誤差パラメータを変更せずに、無効にした第1の機構誤差パラメータを、算出した第1の機構誤差パラメータに変更して、新たな機構誤差パラメータのファイルを作成する。 Next, the calibration unit 53 stores information that combines the actually measured position of the robot 1 and the information regarding the state of the robot 1. The calibration unit 53 calculates an invalidated first mechanism error parameter based on a plurality of combined information. Then, without changing the second mechanism error parameter, the invalidated first mechanism error parameter is changed to the calculated first mechanism error parameter, and a new mechanism error parameter file is created.

図5に、本実施の形態における較正装置の制御のフローチャートを示す。本実施の形態の較正の制御は、ロボット1の構成部品を取り換えたときに実施することができる。例えば、較正の制御は、ロボット駆動モータ22、下部アーム12、または上部アーム11を取り替えた場合に実施することができる。また、較正の制御は、ロボット駆動モータ22の回転速度を減速する減速機を取り替えた場合に実施することができる。または、上部アーム11などの構成部品に他の装置または物が衝突した場合に、本実施の形態の較正の制御を実施することができる。 FIG. 5 shows a flowchart of control of the calibration device according to the present embodiment. The calibration control of the present embodiment can be performed when the components of the robot 1 are replaced. For example, calibration control can be performed when the robot drive motor 22, the lower arm 12, or the upper arm 11 is replaced. Further, the calibration control can be performed when the speed reducer that reduces the rotational speed of the robot drive motor 22 is replaced. Alternatively, the calibration control of this embodiment can be performed when another device or object collides with a component such as the upper arm 11.

表1を参照して、本実施の形態では、減速機などの駆動軸J2に関連する構成部品を取り替える例について説明する。図2および図5を参照して、ステップ101において、複数の機構誤差パラメータのうち、無効にする第1の機構誤差パラメータを設定する。較正部53は、複数の機構誤差パラメータのうち、一部の機構誤差パラメータを第1の機構誤差パラメータに設定し、第1の機構誤差パラメータを無効に設定するパラメータ設定部54を含む。 With reference to Table 1, in the present embodiment, an example of replacing components related to the drive shaft J2 such as a speed reducer will be described. With reference to FIGS. 2 and 5, in step 101, a first mechanism error parameter to be invalidated is set among the plurality of mechanism error parameters. The calibration unit 53 includes a parameter setting unit 54 that sets some of the mechanism error parameters to the first mechanism error parameter and invalidates the first mechanism error parameter among the plurality of mechanism error parameters.

制御の調整を無効にする第1の機構誤差パラメータは、予め作業者が定めることができる。第1の機構誤差パラメータは、参照ファイルに定めて記憶部42に記憶させておくことができる。パラメータ設定部54は、参照ファイルを記憶部42から取得して、第1の機構誤差パラメータを設定する。表1に示す例においては、駆動軸J2において、ロボット1を出荷するときに設定されていた全ての機構誤差パラメータを第1の機構誤差パラメータに選定している。 The first mechanism error parameter that invalidates the adjustment of the control can be predetermined by the operator. The first mechanism error parameter can be defined in the reference file and stored in the storage unit 42. The parameter setting unit 54 acquires the reference file from the storage unit 42 and sets the first mechanism error parameter. In the example shown in Table 1, in the drive shaft J2, all the mechanical error parameters set at the time of shipping the robot 1 are selected as the first mechanical error parameters.

パラメータ設定部54は、第1の機構誤差パラメータ以外の機構誤差パラメータを第2の機構誤差パラメータに設定する。表1に示す例では、駆動軸J1,J3,J4,J5,J6に対して設定されている機構誤差パラメータを、第2の機構誤差パラメータに設定する。 The parameter setting unit 54 sets a mechanism error parameter other than the first mechanism error parameter as the second mechanism error parameter. In the example shown in Table 1, the mechanical error parameters set for the drive shafts J1, J3, J4, J5, and J6 are set as the second mechanical error parameters.

パラメータ設定部54は、この形態に限られず、任意の制御にて第1の機構誤差パラメータを設定することができる。例えば、教示操作盤37は、表示部39に機構誤差パラメータの一覧を表示する。そして、作業者は、入力部38を操作することにより、無効にする第1の機構誤差パラメータを選定する。パラメータ設定部54は、作業者の入力を取得して、第1の機構誤差パラメータを設定することができる。 The parameter setting unit 54 is not limited to this form, and can set the first mechanism error parameter by arbitrary control. For example, the teaching operation panel 37 displays a list of mechanism error parameters on the display unit 39. Then, the operator selects the first mechanism error parameter to be invalidated by operating the input unit 38. The parameter setting unit 54 can acquire the input of the operator and set the first mechanism error parameter.

次に、ステップ102において、パラメータ設定部54は、第1の機構誤差パラメータを無効に設定する。また、パラメータ設定部54は、第2の機構誤差パラメータを有効に設定する。 Next, in step 102, the parameter setting unit 54 invalidates the first mechanism error parameter. Further, the parameter setting unit 54 effectively sets the second mechanism error parameter.

次に、ステップ103において、第2の機構誤差パラメータを用いてロボット1を複数の位置に駆動する。較正部53は、第2の機構誤差パラメータを用いて、ロボット1を複数の位置および姿勢に駆動する測定制御部57を有する。測定制御部57は、ロボット1および3次元測定器8の動作指令を動作制御部43に送出する。ロボット1の実測位置を測定するための測定プログラム48は、作業者により予め生成されている。測定プログラム48は、記憶部42に記憶されている。 Next, in step 103, the robot 1 is driven to a plurality of positions by using the second mechanism error parameter. The calibration unit 53 has a measurement control unit 57 that drives the robot 1 to a plurality of positions and postures by using the second mechanism error parameter. The measurement control unit 57 sends an operation command of the robot 1 and the coordinate measuring device 8 to the operation control unit 43. The measurement program 48 for measuring the actually measured position of the robot 1 is generated in advance by the operator. The measurement program 48 is stored in the storage unit 42.

測定制御部57は、測定プログラム48に基づいて、ロボット1の位置および姿勢を変更する。この時に、測定制御部57は、第1の機構誤差パラメータは用いずにロボット1を駆動する。測定制御部57は、それぞれのロボット1の位置および姿勢において、3次元測定器8にてロボット1の実測位置を測定する。また、測定制御部57は、実測位置を測定した時のロボット1の状態に関する情報を取得する。ロボット1の状態には、ロボット駆動モータ22の回転位置が含まれる。 The measurement control unit 57 changes the position and posture of the robot 1 based on the measurement program 48. At this time, the measurement control unit 57 drives the robot 1 without using the first mechanism error parameter. The measurement control unit 57 measures the actually measured position of the robot 1 with the coordinate measuring device 8 at the position and posture of each robot 1. Further, the measurement control unit 57 acquires information regarding the state of the robot 1 when the measured position is measured. The state of the robot 1 includes the rotation position of the robot drive motor 22.

ロボット1の実測位置を測定する測定点の個数は、数十点から数百点の範囲内であることが好ましい。ロボット1の実測位置を測定するための測定点(ロボット1の位置および姿勢)は、任意の方法により定めることができる。例えば、ロボット1が動作可能な範囲内において、均等に分散されるように測定点を設定することができる。または、動作プログラム46にて設定される経路上に測定点を設定することができる。すなわち、動作プログラム46にて駆動されるロボット1の位置および姿勢になるように、測定点を設定することができる。動作プログラム46に設定されている経路上に測定点を設定することにより、動作プログラム46を実行した時に、ロボット1の位置および姿勢のずれ量を低減することができる。 The number of measurement points for measuring the measured position of the robot 1 is preferably in the range of several tens to several hundreds. The measurement points (position and posture of the robot 1) for measuring the actually measured position of the robot 1 can be determined by any method. For example, the measurement points can be set so as to be evenly distributed within the range in which the robot 1 can operate. Alternatively, the measurement point can be set on the path set by the operation program 46. That is, the measurement points can be set so as to be the position and posture of the robot 1 driven by the operation program 46. By setting the measurement points on the path set in the operation program 46, it is possible to reduce the amount of deviation in the position and posture of the robot 1 when the operation program 46 is executed.

図1を参照して、ロボット1の位置はフランジ座標系72の位置(原点の位置)に対応する。フランジ座標系72の位置に対して反射器67の位置は定められている。3次元測定器8は、反射器68の位置を測定した方法と同様の方法により、反射器67の位置を測定する。 With reference to FIG. 1, the position of the robot 1 corresponds to the position of the flange coordinate system 72 (the position of the origin). The position of the reflector 67 is defined with respect to the position of the flange coordinate system 72. The coordinate measuring device 8 measures the position of the reflector 67 by the same method as the method of measuring the position of the reflector 68.

例えば、基準座標系71に対する3次元測定器8の位置および姿勢は、予め定められているために、測定制御部57は、ロボット駆動モータ22の回転角の情報に基づいて、反射器67の凡その位置を算出する。測定制御部57は、基準座標系71における反射器67の座標値を算出する。次に、3次元測定器8の回転装置64は、基準座標系71における反射器67の座標値に基づいて、反射器67に向けてレーザ光を発振するように、レーザヘッド63の向きを調整する。そして、3次元測定器8は、自動探索機能により、反射器67の表面にて反射したレーザ光を受信するように、レーザヘッド63の向きを調整する。位置算出部83は、3次元測定器8から反射器67までの距離およびレーザヘッド63の向きに基づいて、測定器座標系73における反射器67の位置を算出することができる。 For example, since the position and orientation of the coordinate measuring device 8 with respect to the reference coordinate system 71 are predetermined, the measurement control unit 57 determines the approximate position of the reflector 67 based on the information of the rotation angle of the robot drive motor 22. Calculate the position. The measurement control unit 57 calculates the coordinate values of the reflector 67 in the reference coordinate system 71. Next, the rotating device 64 of the coordinate measuring device 8 adjusts the direction of the laser head 63 so as to oscillate the laser beam toward the reflector 67 based on the coordinate values of the reflector 67 in the reference coordinate system 71. do. Then, the coordinate measuring device 8 adjusts the direction of the laser head 63 so as to receive the laser light reflected on the surface of the reflector 67 by the automatic search function. The position calculation unit 83 can calculate the position of the reflector 67 in the measuring instrument coordinate system 73 based on the distance from the coordinate measuring device 8 to the reflector 67 and the orientation of the laser head 63.

基準座標系71に対する測定器座標系73の相対的な位置および姿勢は予め定められている。このために、位置算出部83は、測定器座標系73における反射器67の位置に基づいて、基準座標系71における反射器67の位置を算出することができる。更に、位置算出部83は、反射器67の位置に基づいて、フランジ座標系72の原点の位置を算出することができる、すなわち、位置算出部83は、ロボット1の実際に測定された位置である実測位置を算出することができる。なお、本実施の形態では、1個の反射器67からの反射光に基づいてロボット1の実測位置を算出しているが、この形態に限られない。複数の反射器をフランジ等に配置して、複数の反射器からの反射光に基づいて、ロボットの実測位置を算出しても構わない。 The relative position and orientation of the measuring instrument coordinate system 73 with respect to the reference coordinate system 71 are predetermined. Therefore, the position calculation unit 83 can calculate the position of the reflector 67 in the reference coordinate system 71 based on the position of the reflector 67 in the measuring instrument coordinate system 73. Further, the position calculation unit 83 can calculate the position of the origin of the flange coordinate system 72 based on the position of the reflector 67, that is, the position calculation unit 83 is at the actually measured position of the robot 1. A certain measured position can be calculated. In the present embodiment, the actually measured position of the robot 1 is calculated based on the reflected light from one reflector 67, but the present invention is not limited to this embodiment. A plurality of reflectors may be arranged on a flange or the like, and the measured position of the robot may be calculated based on the reflected light from the plurality of reflectors.

測定制御部57は、3次元測定器8からロボット1の実測位置を取得する。記憶部42は、1つの測定点に対してロボット1の実測位置と、ロボット1の状態に関する情報とを組み合わせた情報を記憶する。測定制御部57は、複数の測定点について、ロボット1の実測位置を測定し、ロボット1の実測位置とロボット1の状態に関する情報とを組み合わせて記憶部42に記憶する。 The measurement control unit 57 acquires the actually measured position of the robot 1 from the coordinate measuring device 8. The storage unit 42 stores information obtained by combining the actually measured position of the robot 1 and the information regarding the state of the robot 1 for one measurement point. The measurement control unit 57 measures the actually measured position of the robot 1 with respect to a plurality of measurement points, and stores the actually measured position of the robot 1 and the information about the state of the robot 1 in the storage unit 42 in combination.

図2および図5を参照して、次に、ステップ104においては、ステップ102において無効にした第1の機構パラメータを算出する。較正部53は、ロボットの実測位置と、ロボットの状態に関する情報とに基づいて第1の機構誤差パラメータを算出するパラメータ算出部55を含む。パラメータ算出部55は、多くの測定点に関する情報に基づいて、任意の方法により、第1の機構誤差パラメータを算出することができる。 With reference to FIGS. 2 and 5, next, in step 104, the first mechanism parameter invalidated in step 102 is calculated. The calibration unit 53 includes a parameter calculation unit 55 that calculates a first mechanism error parameter based on the measured position of the robot and information on the state of the robot. The parameter calculation unit 55 can calculate the first mechanism error parameter by any method based on the information about many measurement points.

表1を参照して、ここでの例では、駆動軸J2に関する7個の機構誤差パラメータを算出する。パラメータ算出部55は、それぞれの測定点における回転位置検出器19の出力および全ての機構誤差パラメータに基づいて、ロボット1の位置を算出することができる。本実施の形態では、このようなロボット1の位置を計算位置と称する。そして、パラメータ算出部55は、複数の測定点に対して、実測位置に対する計算位置の誤差が小さくなるように、最小二乗法を用いて第1の機構誤差パラメータを算出することができる。 With reference to Table 1, in this example, seven mechanical error parameters for the drive shaft J2 are calculated. The parameter calculation unit 55 can calculate the position of the robot 1 based on the output of the rotation position detector 19 at each measurement point and all the mechanism error parameters. In the present embodiment, such a position of the robot 1 is referred to as a calculated position. Then, the parameter calculation unit 55 can calculate the first mechanism error parameter by using the least squares method so that the error of the calculation position with respect to the actually measured position becomes small for a plurality of measurement points.

次に、ステップ105においては、機構誤差パラメータを修正する。較正部53は、複数の機構誤差パラメータを修正する修正部56を有する。修正部56は、第2の機構誤差パラメータを変更せずに、パラメータ設定部54にて無効にした第1の機構誤差パラメータを、パラメータ算出部55にて算出した第1の機構誤差パラメータに変更する。表1を参照して、例えば、修正部56は、較正のために無効に設定した駆動軸J2に関する機構誤差パラメータを、パラメータ算出部55にて算出した機構誤差パラメータに変更する。駆動軸J2以外の駆動軸J1,J3,J4,J5,J6に関する機構誤差パラメータは、修正前に使用されていた値と同一の値を採用する。 Next, in step 105, the mechanism error parameter is corrected. The calibration unit 53 has a correction unit 56 that corrects a plurality of mechanism error parameters. The correction unit 56 changes the first mechanism error parameter invalidated by the parameter setting unit 54 to the first mechanism error parameter calculated by the parameter calculation unit 55 without changing the second mechanism error parameter. do. With reference to Table 1, for example, the correction unit 56 changes the mechanism error parameter related to the drive shaft J2, which is set to be invalid for calibration, to the mechanism error parameter calculated by the parameter calculation unit 55. The mechanical error parameters for the drive shafts J1, J3, J4, J5, and J6 other than the drive shaft J2 adopt the same values as those used before the correction.

このように、本実施の形態の較正装置は、一部の機構誤差パラメータを無効にしてロボット1を駆動し、ロボット1の実測位置に基づいて、無効にした機構誤差パラメータを算出することにより、機構誤差パラメータを較正する。本実施の形態の較正装置は、複数の機構誤差パラメータのうち、一部の機構誤差パラメータを更新するために、全ての機構誤差パラメータを更新する場合に比べて、実測位置を測定するための測定点の数を少なくすることができる。例えば、工場などに設置されたロボット装置においては、ロボット装置の周りに配置される装置または柵により、ロボットの動作範囲が限られている場合がある。このために、測定点の個数が限られる場合がある。この場合にも、本実施の形態における較正装置は、機構誤差パラメータの較正を行うことができる。 As described above, the calibration device of the present embodiment drives the robot 1 with some mechanical error parameters invalidated, and calculates the invalidated mechanical error parameters based on the actually measured position of the robot 1. Calibrate the mechanism error parameters. The calibration device of the present embodiment is a measurement for measuring the measured position as compared with the case where all the mechanism error parameters are updated in order to update some mechanism error parameters among the plurality of mechanism error parameters. The number of points can be reduced. For example, in a robot device installed in a factory or the like, the operating range of the robot may be limited by a device or a fence arranged around the robot device. Therefore, the number of measurement points may be limited. Also in this case, the calibration device in the present embodiment can calibrate the mechanism error parameter.

または、本実施の形態の較正装置では、測定点の数を少なくすることができるために、ロボット1を駆動して3次元測定器8にて実測位置を測定する時間が短くなる。このために、機構誤差パラメータの較正のための作業時間を短くすることができる。ロボット装置5を停止している時間を短くすることができる。この結果、工場の生産性が悪化することを抑制することができる。 Alternatively, in the calibration device of the present embodiment, since the number of measurement points can be reduced, the time for driving the robot 1 and measuring the measured position with the coordinate measuring device 8 is shortened. Therefore, the working time for calibrating the mechanism error parameter can be shortened. The time during which the robot device 5 is stopped can be shortened. As a result, it is possible to prevent the productivity of the factory from deteriorating.

複数の機構誤差パラメータのうち、制御の調整を無効にする一部の第1の機構誤差パラメータは、様々な方法により設定することができる。例えば、記憶部42は、較正を行う理由に対応して無効にする第1の機構誤差パラメータをパラメータ情報として記憶することができる。パラメータ情報は、参照ファイルに記憶することができる。パラメータ設定部54は、パラメータ情報に定められている機構誤差パラメータを第1の機構誤差パラメータに設定することができる。例えば、所定の駆動軸のロボット駆動モータを交換した場合のパラメータ情報、所定のアームを交換した場合のパラメータ情報、および所定の構成部品が他の物の衝突したときのパラメータ情報などを予め作成して記憶部42に記憶させておくことができる。パラメータ設定部54は、較正を行う理由に基づいて第1の機構誤差パラメータを設定することができる。例えば、作業者が較正を行う理由を教示操作盤37に入力することにより、パラメータ設定部54は、自動的に第1の機構誤差パラメータを設定することができる。 Of the plurality of mechanism error parameters, some first mechanism error parameters that invalidate the adjustment of control can be set by various methods. For example, the storage unit 42 can store the first mechanism error parameter, which is invalidated according to the reason for calibration, as parameter information. Parameter information can be stored in the reference file. The parameter setting unit 54 can set the mechanism error parameter defined in the parameter information as the first mechanism error parameter. For example, parameter information when a robot drive motor of a predetermined drive shaft is replaced, parameter information when a predetermined arm is replaced, parameter information when a predetermined component collides with another object, and the like are created in advance. Can be stored in the storage unit 42. The parameter setting unit 54 can set the first mechanism error parameter based on the reason for performing the calibration. For example, the parameter setting unit 54 can automatically set the first mechanism error parameter by inputting the reason for the calibration by the operator to the teaching operation panel 37.

特に、パラメータ情報は、ロボット1の構成部品を交換する場合に、ロボット1の構成部品の交換に対応して無効にする第1の機構誤差パラメータを含むことができる。そして、パラメータ設定部54は、ロボット1の交換した構成部品の情報を取得する。パラメータ設定部54は、ロボット1の交換した構成部品に基づいて第1の機構誤差パラメータを設定することができる。この構成により、作業者がロボット1の交換した構成部品の情報を入力することにより、第1の機構誤差パラメータを自動的に選定することができる。 In particular, the parameter information can include a first mechanism error parameter that is invalidated in response to the replacement of the component of the robot 1 when the component of the robot 1 is replaced. Then, the parameter setting unit 54 acquires information on the replaced components of the robot 1. The parameter setting unit 54 can set the first mechanism error parameter based on the replaced component of the robot 1. With this configuration, the operator can automatically select the first mechanical error parameter by inputting the information of the replaced component of the robot 1.

上記の表1の例においては、駆動軸J2における部品を交換したために、駆動軸J2に関連する全ての機構誤差パラメータを無効にしている。すなわち、パラメータ設定部54は、駆動軸ごとに無効にする機構誤差パラメータおよび有効にする機構誤差パラメータを設定しているが、この形態に限られない。パラメータ設定部54は、複数の機構誤差パラメータのうち、任意の組み合わせの機構誤差パラメータを無効にすることができる。 In the example of Table 1 above, all the mechanical error parameters related to the drive shaft J2 are invalidated because the parts in the drive shaft J2 are replaced. That is, the parameter setting unit 54 sets a mechanism error parameter to be invalidated and a mechanism error parameter to be enabled for each drive shaft, but the present invention is not limited to this mode. The parameter setting unit 54 can invalidate any combination of mechanical error parameters among the plurality of mechanical error parameters.

例えば、1個の駆動軸に関連する機構誤差パラメータのうち、一部の機構誤差パラメータを無効にしても構わない。1個の駆動軸に対応する機構誤差パラメータにおいて、無効に設定する優先順位を予め定めておくことができる。例えば、ロボット1の動作範囲が小さいために、実測位置を測定するための測定点の個数を十分に多くできない場合がある。この場合に、優先順位の高い機構誤差パラメータを無効にしても構わない。例えば、表1を参照して、駆動軸J2の変速機を交換した場合に、駆動軸J2のパラメータDH-Aは優先順位が低いために、パラメータDH-Aは第2の機構誤差パラメータに設定しても構わない。 For example, among the mechanical error parameters related to one drive shaft, some mechanical error parameters may be invalidated. In the mechanism error parameter corresponding to one drive shaft, the priority to be invalidated can be predetermined. For example, because the operating range of the robot 1 is small, it may not be possible to sufficiently increase the number of measurement points for measuring the measured position. In this case, the mechanism error parameter having a high priority may be invalidated. For example, referring to Table 1, when the transmission of the drive shaft J2 is replaced, the parameter DH-A of the drive shaft J2 has a low priority, so the parameter DH-A is set as the second mechanism error parameter. It doesn't matter.

また、表1においては、1つの駆動軸に関連する機構誤差パラメータを無効にしているが、この形態に限られない。複数の駆動軸に関連する機構誤差パラメータを無効にしても構わない。例えば、下部アーム12を交換した場合には、駆動軸J2に関連する機構誤差パラメータおよび駆動軸J3に関連する機構誤差パラメータを、第1の機構誤差パラメータに設定することができる。更に、表1においては、それぞれの駆動軸ごとに無効にする機構誤差パラメータを設定しているが、この形態に限られず、駆動軸とは無関係に第1の機構誤差パラメータに設定する機構誤差パラメータを選定しても構わない。 Further, in Table 1, the mechanism error parameter related to one drive shaft is invalidated, but the present invention is not limited to this form. The mechanism error parameters associated with multiple drive shafts may be disabled. For example, when the lower arm 12 is replaced, the mechanical error parameter related to the drive shaft J2 and the mechanical error parameter related to the drive shaft J3 can be set as the first mechanical error parameter. Further, in Table 1, the mechanism error parameter to be invalidated is set for each drive shaft, but the present invention is not limited to this form, and the mechanism error parameter to be set as the first mechanism error parameter regardless of the drive shaft. May be selected.

また、機構誤差パラメータの較正を行った結果に基づいて、作業者が第1の機構誤差パラメータを増やしたり減らしたりしても構わない。例えば、パラメータ算出部55は、算出された第1の機構誤差パラメータおよびロボットの状態に関する情報に基づいて、計算位置を算出することができる。パラメータ算出部55は、全ての測定点について、実測位置に対する計算位置の誤差を算出することができる。作業者は、この誤差の平均値が大きい場合には、第1の機構誤差パラメータの数を減らしても構わない。 Further, the operator may increase or decrease the first mechanical error parameter based on the result of calibrating the mechanical error parameter. For example, the parameter calculation unit 55 can calculate the calculation position based on the calculated first mechanism error parameter and the information regarding the state of the robot. The parameter calculation unit 55 can calculate the error of the calculation position with respect to the actual measurement position for all the measurement points. The operator may reduce the number of first mechanism error parameters when the average value of this error is large.

更には、パラメータ設定部54は、第1の機構誤差パラメータを自動的に選定しても構わない。例えば、始めに、多くの機構誤差パラメータを第1の機構誤差パラメータとして設定することができる。パラメータ算出部55は、第1の機構誤差パラメータを算出する。次に、パラメータ設定部54は、機構誤差パラメータの優先順位に基づいて、1個ずつ機構誤差パラメータを削除する。パラメータ算出部55は、第1の機構誤差パラメータを算出する。この制御を繰り返すことにより、複数の種類の第1の機械誤差パラメータを算出することができる。パラメータ算出部55は、それぞれの第1の機構誤差パラメータについて、全ての測定点に関する実測位置に対する計算位置の誤差の平均値を算出することができる。修正部56は、実測位置に対する計算位置の誤差の平均値が最も小さな第1の機械誤差パラメータを採用することができる。このように、第1の機構誤差パラメータは、作業者が手動で選定したり、自動的に選定したりすることができる。 Further, the parameter setting unit 54 may automatically select the first mechanism error parameter. For example, first, many mechanism error parameters can be set as the first mechanism error parameter. The parameter calculation unit 55 calculates the first mechanism error parameter. Next, the parameter setting unit 54 deletes the mechanism error parameters one by one based on the priority of the mechanism error parameters. The parameter calculation unit 55 calculates the first mechanism error parameter. By repeating this control, a plurality of types of first mechanical error parameters can be calculated. The parameter calculation unit 55 can calculate the average value of the error of the calculation position with respect to the actual measurement position with respect to all the measurement points for each first mechanism error parameter. The correction unit 56 can adopt the first mechanical error parameter having the smallest average value of the error of the calculated position with respect to the actually measured position. As described above, the first mechanism error parameter can be manually selected or automatically selected by the operator.

また、ロボット1の実測位置を測定するために第2の機構誤差パラメータを用いてロボット1を駆動する場合に、ロボット1を駆動する駆動軸は任意の方法にて選定することができる。例えば、測定プログラム48において、全ての駆動軸においてロボット1が駆動するように測定点を設定することができる。この構成を採用することにより、高い精度で第1の機構誤差パラメータを較正することができる。ロボット1の様々な位置および姿勢に対して、高い精度にてロボット1を駆動することができる。 Further, when the robot 1 is driven by using the second mechanism error parameter to measure the actually measured position of the robot 1, the drive shaft for driving the robot 1 can be selected by any method. For example, in the measurement program 48, the measurement points can be set so that the robot 1 is driven on all the drive shafts. By adopting this configuration, the first mechanism error parameter can be calibrated with high accuracy. The robot 1 can be driven with high accuracy for various positions and postures of the robot 1.

または、それぞれの機構誤差パラメータに関連するロボット1の駆動軸の情報を予め定めておくことができる。記憶部42は、この情報を駆動軸情報として記憶することができる。測定制御部57は、ロボット1の複数の駆動軸のうち、第1の機構誤差パラメータに関連する駆動軸を駆動し、第1の機構誤差パラメータに関連する駆動軸以外の駆動軸は停止するようにロボット1を駆動することができる。例えば、駆動軸J2に関連する機構誤差パラメータの値を変更する場合には、駆動軸J2のロボット駆動モータ22のみを駆動して実測位置を測定することができる。この制御を実施することにより、実測位置を測定する測定点の数を減らすことができる。この結果、較正の作業時間を短くすることができる。 Alternatively, information on the drive axis of the robot 1 related to each mechanism error parameter can be predetermined. The storage unit 42 can store this information as drive axis information. The measurement control unit 57 drives the drive shaft related to the first mechanical error parameter among the plurality of drive shafts of the robot 1, and stops the drive shafts other than the drive shaft related to the first mechanical error parameter. The robot 1 can be driven. For example, when changing the value of the mechanism error parameter related to the drive shaft J2, only the robot drive motor 22 of the drive shaft J2 can be driven to measure the measured position. By implementing this control, the number of measurement points for measuring the measured position can be reduced. As a result, the calibration work time can be shortened.

次に、機構誤差パラメータを更新する第2の制御について説明する。上記の実施の形態においては、基準座標系71に対する測定器座標系73の位置および姿勢が予め測定されている。すなわち、ロボット1が設置されている位置に対する3次元測定器8の相対的な位置は予め定められている。しかしながら、本実施の形態の較正装置においては、数多くの実測位置を測定する。そこで、基準座標系71に対する測定器座標系73の相対的な位置および姿勢を変数にすることができる。例えば、測定器座標系73の位置および姿勢を、基準座標系71における座標値にて表現することができる。これらの座標値を変数に設定することができる。 Next, a second control for updating the mechanism error parameter will be described. In the above embodiment, the position and orientation of the measuring instrument coordinate system 73 with respect to the reference coordinate system 71 are measured in advance. That is, the relative position of the coordinate measuring device 8 with respect to the position where the robot 1 is installed is predetermined. However, in the calibration device of the present embodiment, a large number of actually measured positions are measured. Therefore, the relative position and orientation of the measuring instrument coordinate system 73 with respect to the reference coordinate system 71 can be used as variables. For example, the position and orientation of the measuring instrument coordinate system 73 can be expressed by the coordinate values in the reference coordinate system 71. These coordinate values can be set in variables.

パラメータ算出部55は、最小二乗法にて第1の機構誤差パラメータを算出するときに、基準座標系71における測定器座標系73の座標値を同時に算出することができる。すなわち、パラメータ算出部55は、ロボット1の実測位置およびロボット1の状態に関する情報に基づいて、基準座標系71に対する測定器座標系73の相対的な位置および姿勢を算出することができる。このように、パラメータ算出部55は、ロボット1が設置されている位置に対する3次元測定器8の相対的な位置を算出することができる。この制御により、ロボット1が設置されている位置に対する3次元測定器8の相対的な位置を予め定めなくても、機構誤差パラメータの較正を行うことができる。 The parameter calculation unit 55 can simultaneously calculate the coordinate values of the measuring instrument coordinate system 73 in the reference coordinate system 71 when the first mechanism error parameter is calculated by the least squares method. That is, the parameter calculation unit 55 can calculate the relative position and posture of the measuring instrument coordinate system 73 with respect to the reference coordinate system 71 based on the information regarding the actually measured position of the robot 1 and the state of the robot 1. In this way, the parameter calculation unit 55 can calculate the relative position of the coordinate measuring device 8 with respect to the position where the robot 1 is installed. By this control, the mechanism error parameter can be calibrated without predetermining the relative position of the coordinate measuring device 8 with respect to the position where the robot 1 is installed.

次に、機構誤差パラメータを更新する第3の制御について説明する。第3の制御では、パラメータ算出部55は、ロボットの実測位置およびロボットの状態に関する情報に基づいて、フランジ16の位置に対する反射器67の相対的な位置を算出する。第3の制御では、第2の制御における3次元測定器8の位置の算出と同様の方法により、フランジ16の位置に対する反射器67の相対的な位置を算出する。例えば、フランジ16の位置は、フランジ座標系72の原点の位置に相当する。反射器67の位置は、フランジ座標系72の座標値によって表現することができる。パラメータ算出部55は、フランジ座標系72における座標値を変数に設定することができる。 Next, a third control for updating the mechanism error parameter will be described. In the third control, the parameter calculation unit 55 calculates the relative position of the reflector 67 with respect to the position of the flange 16 based on the information regarding the actually measured position of the robot and the state of the robot. In the third control, the relative position of the reflector 67 with respect to the position of the flange 16 is calculated by the same method as the calculation of the position of the coordinate measuring device 8 in the second control. For example, the position of the flange 16 corresponds to the position of the origin of the flange coordinate system 72. The position of the reflector 67 can be represented by the coordinate values of the flange coordinate system 72. The parameter calculation unit 55 can set the coordinate values in the flange coordinate system 72 as variables.

パラメータ算出部55は、最小二乗法により、第1の機構誤差パラメータと共に、フランジ座標系72における反射器67の座標値を算出することができる。この制御により、フランジ16の位置に対する反射器67の相対的な位置を予め定めなくても、機構誤差パラメータの較正を行うことができる。例えば、フランジ16に対して反射器67の位置が定まる専用の治具を用いずに、反射器67が取り付けられている場合がある。反射器67が専用の冶具を用いて取り付けられていなくても、機構誤差パラメータの較正を行うことができる。 The parameter calculation unit 55 can calculate the coordinate value of the reflector 67 in the flange coordinate system 72 together with the first mechanism error parameter by the least squares method. By this control, the mechanism error parameter can be calibrated without predetermining the relative position of the reflector 67 with respect to the position of the flange 16. For example, the reflector 67 may be attached without using a dedicated jig for determining the position of the reflector 67 with respect to the flange 16. The mechanism error parameters can be calibrated even if the reflector 67 is not attached using a dedicated jig.

本実施の形態の3次元測定器8は、レーザ光を発振および受信することにより、反射器67,68の位置を測定できるように形成されているが、この形態に限られない。3次元測定器は、ロボットの実際の位置および姿勢を正確に測定することができる任意の装置を採用することができる。また、本実施の形態においては、ハンド2が取り付けられた状態にて、3次元測定器8によりロボット1の位置の測定を行っているが、この形態に限られない。ハンド2が取り外された状態にてロボット1の位置の測定を行っても構わない。 The three-dimensional measuring instrument 8 of the present embodiment is formed so that the positions of the reflectors 67 and 68 can be measured by oscillating and receiving the laser beam, but the present invention is not limited to this embodiment. As the coordinate measuring device, any device capable of accurately measuring the actual position and posture of the robot can be adopted. Further, in the present embodiment, the position of the robot 1 is measured by the coordinate measuring device 8 with the hand 2 attached, but the present invention is not limited to this embodiment. The position of the robot 1 may be measured with the hand 2 removed.

上述のそれぞれの制御においては、機能および作用が変更されない範囲において適宜ステップの順序を変更することができる。 In each of the above controls, the order of the steps can be changed as appropriate as long as the functions and actions are not changed.

上記の実施の形態は、適宜組み合わせることができる。上述のそれぞれの図において、同一または相等する部分には同一の符号を付している。なお、上記の実施の形態は例示であり発明を限定するものではない。また、実施の形態においては、特許請求の範囲に示される実施の形態の変更が含まれている。 The above embodiments can be combined as appropriate. In each of the above figures, the same or equal parts are designated by the same reference numerals. It should be noted that the above embodiment is an example and does not limit the invention. Further, in the embodiment, the modification of the embodiment shown in the claims is included.

1 ロボット
4 制御装置
5 ロボット装置
8 3次元測定器
16 フランジ
19 回転位置検出器
42 記憶部
43 動作制御部
46 動作プログラム
49 機構誤差パラメータ
54 パラメータ設定部
55 パラメータ算出部
56 修正部
57 測定制御部
67,68 反射器
71 基準座標系
72 フランジ座標系
73 測定器座標系
81 発振部
82 受光部
1 Robot 4 Control device 5 Robot device 8 3D measuring device 16 Flange 19 Rotational position detector 42 Storage unit 43 Operation control unit 46 Operation program 49 Mechanism error parameter 54 Parameter setting unit 55 Parameter calculation unit 56 Correction unit 57 Measurement control unit 67 , 68 Reflector 71 Reference coordinate system 72 Flange coordinate system 73 Measuring instrument coordinate system 81 Oscillating part 82 Light receiving part

本発明は、ロボットを制御するための機構誤差パラメータを較正するロボットの制御装置および教示操作盤に関する。 The present invention relates to a robot control device and a teaching control panel for calibrating mechanical error parameters for controlling a robot.

本開示の一態様のロボットの制御装置は、第1の機構誤差パラメータおよび第2の機構誤差パラメータを含む複数の機構誤差パラメータを記憶する少なくとも一つのメモリと、少なくとも一つのプロセッサとを備える。少なくとも一つのプロセッサは、第2の機構誤差パラメータに基づいてロボットを複数の位置および姿勢に駆動して、ロボットの実測位置とロボットの状態に関する情報とを取得する。少なくとも一つのプロセッサは、ロボットの実測位置とロボットの状態に関する情報とに基づいて、第1の機構誤差パラメータの値を修正した第3の機構誤差パラメータを算出する。少なくとも一つのプロセッサは、第2の機構誤差パラメータおよび第3の機構誤差パラメータを含む複数の機構誤差パラメータに基づいてロボットを制御する。
本開示の他の態様の教示操作盤は、複数の機構誤差パラメータに基づいてロボットを制御するロボットの制御装置に接続可能である。教示操作盤は、ロボットに関する情報を表示可能な表示部と、表示部に表示されたロボットに関する情報に基づいて、ロボットの構成部品に関する情報およびロボットの較正を行う理由に関する情報のうち少なくとも一方の情報の入力を受付ける入力部とを備える。教示操作盤は、入力部が受付けた情報に基づいて、ロボットの制御装置に複数の機構誤差パラメータから選定された第1の機構誤差パラメータを設定させる。
The robot control device of one aspect of the present disclosure includes at least one memory for storing a plurality of mechanical error parameters including a first mechanical error parameter and a second mechanical error parameter, and at least one processor. The at least one processor drives the robot into a plurality of positions and postures based on the second mechanism error parameter to acquire information about the actually measured position of the robot and the state of the robot. At least one processor calculates a third mechanism error parameter obtained by modifying the value of the first mechanism error parameter based on the measured position of the robot and the information about the state of the robot. The at least one processor controls the robot based on a plurality of mechanism error parameters including a second mechanism error parameter and a third mechanism error parameter.
The teaching operation panel of another aspect of the present disclosure can be connected to a robot control device that controls the robot based on a plurality of mechanical error parameters. The teaching operation panel has at least one of a display unit that can display information about the robot and information about the components of the robot and information about the reason for calibrating the robot based on the information about the robot displayed on the display unit. It is provided with an input unit that accepts the input of. The teaching operation panel causes the robot control device to set a first mechanical error parameter selected from a plurality of mechanical error parameters based on the information received by the input unit.

本開示の一態様のロボットの制御装置および教示操作盤は、短時間で機構誤差パラメータの較正を行うことができる。 The robot control device and the teaching operation panel of one aspect of the present disclosure can calibrate the mechanism error parameters in a short time.

Claims (6)

ロボットの制御を調整するための機構誤差パラメータを較正するロボットの制御装置であって、
動作プログラムに基づいてロボットの動作を制御する動作制御部と、
複数の機構誤差パラメータのうち、一部の第1の機構誤差パラメータを無効に設定するパラメータ設定部と、
第1の機構誤差パラメータ以外の第2の機構誤差パラメータを用いて、ロボットを複数の位置および姿勢に駆動して、ロボットの実測位置と、実測位置を測定した時のロボットの状態に関する情報とを取得する測定制御部と、
ロボットの実測位置と、ロボットの状態に関する情報とを組み合わせた情報を記憶する記憶部と、
ロボットの実測位置と、ロボットの状態に関する情報とに基づいて、第1の機構誤差パラメータを算出するパラメータ算出部と、
複数の機構誤差パラメータのうち、第2の機構誤差パラメータは変更せずに、前記パラメータ設定部にて無効にした第1の機構誤差パラメータを前記パラメータ算出部にて算出した第1の機構誤差パラメータに変更する修正部とを備え、
前記動作制御部は、第2の機構誤差パラメータと前記修正部にて変更された第1の機構誤差パラメータとを含む複数の機構誤差パラメータを用いてロボットの動作を制御する、ロボットの制御装置。
A mechanism for adjusting robot control A robot control device that calibrates error parameters.
An operation control unit that controls the operation of the robot based on the operation program,
A parameter setting unit that invalidates a part of the first mechanism error parameters among a plurality of mechanism error parameters,
Using the second mechanism error parameter other than the first mechanism error parameter, the robot is driven to a plurality of positions and postures, and the measured position of the robot and the information about the state of the robot when the measured position is measured are obtained. The measurement control unit to be acquired and
A storage unit that stores information that combines the measured position of the robot and information about the state of the robot.
A parameter calculation unit that calculates the first mechanism error parameter based on the measured position of the robot and information on the state of the robot.
Of the plurality of mechanism error parameters, the first mechanism error parameter obtained by the parameter calculation unit is the first mechanism error parameter invalidated by the parameter setting unit without changing the second mechanism error parameter. Equipped with a correction part to change to
The motion control unit is a robot control device that controls the motion of the robot using a plurality of mechanism error parameters including a second mechanism error parameter and a first mechanism error parameter changed by the correction unit.
前記記憶部は、較正を行う理由に対応して無効にする第1の機構誤差パラメータをパラメータ情報として記憶しており、
前記パラメータ設定部は、前記パラメータ情報に基づいて一部の機構誤差パラメータを第1の機構誤差パラメータに設定し、第1の機構誤差パラメータ以外の機構誤差パラメータを第2の機構誤差パラメータに設定する、請求項1に記載のロボットの制御装置。
The storage unit stores as parameter information a first mechanism error parameter that is invalidated according to the reason for calibration.
The parameter setting unit sets some mechanical error parameters in the first mechanical error parameter based on the parameter information, and sets mechanical error parameters other than the first mechanical error parameter in the second mechanical error parameter. , The robot control device according to claim 1.
前記パラメータ情報は、ロボットの構成部品を交換する場合に、ロボットの構成部品の交換に対応して無効にする第1の機構誤差パラメータを含んでおり、
前記パラメータ設定部は、ロボットの交換した構成部品の情報を取得し、ロボットの交換した構成部品に基づいて第1の機構誤差パラメータを設定する、請求項2に記載のロボットの制御装置。
The parameter information includes a first mechanism error parameter that is invalidated in response to the replacement of the robot component when the robot component is replaced.
The robot control device according to claim 2, wherein the parameter setting unit acquires information on the replaced components of the robot and sets a first mechanism error parameter based on the replaced components of the robot.
ロボットは、複数の駆動軸を含んでおり、
前記記憶部は、それぞれの機構誤差パラメータに関連するロボットの駆動軸を駆動軸情報として記憶しており、
前記測定制御部は、ロボットの複数の駆動軸のうち、第1の機構誤差パラメータに関連する駆動軸を駆動し、第1の機構誤差パラメータに関連する駆動軸以外の駆動軸は停止するようにロボットを駆動する、請求項1から3のいずれか一項に記載のロボットの制御装置。
The robot contains multiple drive axes and
The storage unit stores the drive axis of the robot related to each mechanism error parameter as drive axis information.
The measurement control unit drives the drive shaft related to the first mechanical error parameter among the plurality of drive shafts of the robot, and stops the drive shafts other than the drive shaft related to the first mechanical error parameter. The robot control device according to any one of claims 1 to 3, which drives the robot.
ロボットの実測位置を測定するための3次元測定器を備え、
前記パラメータ算出部は、ロボットの実測位置と、ロボットの状態に関する情報とに基づいて、ロボットが設置されている位置に対する3次元測定器の相対的な位置を算出する、請求項1から4のいずれか一項に記載のロボットの制御装置。
Equipped with a 3D measuring device for measuring the measured position of the robot
Any of claims 1 to 4, wherein the parameter calculation unit calculates the relative position of the coordinate measuring device with respect to the position where the robot is installed based on the actually measured position of the robot and the information about the state of the robot. The robot control device according to item 1.
ロボットの実測位置を測定するための3次元測定器を備え、
3次元測定器は、レーザ光を発振する発振部と、ロボットのリストのフランジの表面に固定された反射器にて反射されるレーザ光を受光する受光部と、発振したレーザ光と受光したレーザ光とに基づいて反射器の位置を算出する位置算出部とを含み、
前記パラメータ算出部は、ロボットの実測位置と、ロボットの状態に関する情報とに基づいて、フランジの位置に対する反射器の相対的な位置を算出する、請求項1から5のいずれか一項に記載のロボットの制御装置。
Equipped with a 3D measuring device for measuring the measured position of the robot
The three-dimensional measuring instrument has an oscillating part that oscillates laser light, a light receiving part that receives laser light reflected by a reflector fixed to the surface of the flange of the robot wrist, and a laser that receives the oscillated laser light. Including a position calculation unit that calculates the position of the reflector based on the light.
The parameter calculation unit according to any one of claims 1 to 5, wherein the parameter calculation unit calculates the relative position of the reflector with respect to the position of the flange based on the actually measured position of the robot and the information regarding the state of the robot. Robot control device.
JP2022044625A 2019-04-01 2022-03-18 Robot control device and teaching operation panel for calibrating mechanism error parameters for controlling robot Active JP7295302B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022044625A JP7295302B2 (en) 2019-04-01 2022-03-18 Robot control device and teaching operation panel for calibrating mechanism error parameters for controlling robot

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019069987A JP7048535B2 (en) 2019-04-01 2019-04-01 Mechanism for controlling the robot Robot control device that calibrates error parameters
JP2022044625A JP7295302B2 (en) 2019-04-01 2022-03-18 Robot control device and teaching operation panel for calibrating mechanism error parameters for controlling robot

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2019069987A Division JP7048535B2 (en) 2019-04-01 2019-04-01 Mechanism for controlling the robot Robot control device that calibrates error parameters

Publications (2)

Publication Number Publication Date
JP2022069698A true JP2022069698A (en) 2022-05-11
JP7295302B2 JP7295302B2 (en) 2023-06-20

Family

ID=86772630

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022044625A Active JP7295302B2 (en) 2019-04-01 2022-03-18 Robot control device and teaching operation panel for calibrating mechanism error parameters for controlling robot

Country Status (1)

Country Link
JP (1) JP7295302B2 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04310385A (en) * 1991-04-09 1992-11-02 Brother Ind Ltd Robot position correcting device
JPH05301196A (en) * 1992-04-28 1993-11-16 Canon Inc Robot control system parameter regulating device
JPH06309016A (en) * 1993-04-26 1994-11-04 Fanuc Ltd Link length data acquiring and correcting method and robot control method
JP2002292584A (en) * 2001-03-29 2002-10-08 Nachi Fujikoshi Corp Adjusting parameter setting method
JP2006110705A (en) * 2004-09-15 2006-04-27 Yaskawa Electric Corp Calibration method of robot
JP2009274188A (en) * 2008-05-16 2009-11-26 Denso Wave Inc Two-axis home position calibration method for six-axis robot, controller for six-axis robot, axial home position calibration method for articulated robot, and controller for articulated robot
JP2011230257A (en) * 2010-04-28 2011-11-17 Yaskawa Electric Corp Robot calibration device, and robot calibration method
JP2016187844A (en) * 2015-03-30 2016-11-04 セイコーエプソン株式会社 Robot, robot control device and robot system
WO2017167687A2 (en) * 2016-03-29 2017-10-05 Cognibotics Ab Method, constraining device and system for determining geometric properties of a manipulator

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04310385A (en) * 1991-04-09 1992-11-02 Brother Ind Ltd Robot position correcting device
JPH05301196A (en) * 1992-04-28 1993-11-16 Canon Inc Robot control system parameter regulating device
JPH06309016A (en) * 1993-04-26 1994-11-04 Fanuc Ltd Link length data acquiring and correcting method and robot control method
JP2002292584A (en) * 2001-03-29 2002-10-08 Nachi Fujikoshi Corp Adjusting parameter setting method
JP2006110705A (en) * 2004-09-15 2006-04-27 Yaskawa Electric Corp Calibration method of robot
JP2009274188A (en) * 2008-05-16 2009-11-26 Denso Wave Inc Two-axis home position calibration method for six-axis robot, controller for six-axis robot, axial home position calibration method for articulated robot, and controller for articulated robot
JP2011230257A (en) * 2010-04-28 2011-11-17 Yaskawa Electric Corp Robot calibration device, and robot calibration method
JP2016187844A (en) * 2015-03-30 2016-11-04 セイコーエプソン株式会社 Robot, robot control device and robot system
WO2017167687A2 (en) * 2016-03-29 2017-10-05 Cognibotics Ab Method, constraining device and system for determining geometric properties of a manipulator

Also Published As

Publication number Publication date
JP7295302B2 (en) 2023-06-20

Similar Documents

Publication Publication Date Title
JP7048535B2 (en) Mechanism for controlling the robot Robot control device that calibrates error parameters
JP4267005B2 (en) Measuring apparatus and calibration method
US8918210B2 (en) Method of detecting an inter-axis offset of 6-axis robot
EP2381325B1 (en) Method for robot offline programming
JP6386501B2 (en) Laser processing robot system and laser processing method
CN111319034B (en) Calibration device and calibration method
JP6836571B2 (en) Robot device
JP6622775B2 (en) Measuring system
JP3644991B2 (en) Coordinate system coupling method in robot-sensor system
JP6622772B2 (en) Measuring system
JP6568172B2 (en) ROBOT CONTROL DEVICE, MEASUREMENT SYSTEM, AND CALIBRATION METHOD FOR CALIBRATION
JP6603289B2 (en) Robot, robot system, and robot coordinate system setting method
CN113211493A (en) Calibration method and calibration system
JP7295302B2 (en) Robot control device and teaching operation panel for calibrating mechanism error parameters for controlling robot
WO2022181688A1 (en) Robot installation position measurement device, installation position measurement method, robot control device, teaching system, and simulation device
CN113799114A (en) Origin correction method of robot arm
WO2023170166A1 (en) System and method for calibration of an articulated robot arm
JP7401682B2 (en) robot system
JP7351935B2 (en) Control device, control method, information processing device, and information processing method
WO2023047591A1 (en) Calibration device for calibrating mechanism error parameter and determination device for determining necessity of calibrating mechanism error parameter
JPH05329786A (en) Industrial robot device
JP7182407B2 (en) Robot system and robot control method
JP2022177476A (en) Device and method for controlling robot
JP2024003357A (en) Robot system control method and robot system
JP2021013985A (en) Robot system, manufacturing method of articles using robot system, control method of robot system, calibration method of robot device, input device, control program and recording medium

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220318

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220318

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230131

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230207

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230327

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230608

R150 Certificate of patent or registration of utility model

Ref document number: 7295302

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150