JP6516546B2 - Control method of robot device, robot device, and method of manufacturing article - Google Patents

Control method of robot device, robot device, and method of manufacturing article Download PDF

Info

Publication number
JP6516546B2
JP6516546B2 JP2015088702A JP2015088702A JP6516546B2 JP 6516546 B2 JP6516546 B2 JP 6516546B2 JP 2015088702 A JP2015088702 A JP 2015088702A JP 2015088702 A JP2015088702 A JP 2015088702A JP 6516546 B2 JP6516546 B2 JP 6516546B2
Authority
JP
Japan
Prior art keywords
work
point
workpiece
teaching point
amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2015088702A
Other languages
Japanese (ja)
Other versions
JP2015221490A5 (en
JP2015221490A (en
Inventor
上口 欣也
欣也 上口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2015088702A priority Critical patent/JP6516546B2/en
Publication of JP2015221490A publication Critical patent/JP2015221490A/en
Publication of JP2015221490A5 publication Critical patent/JP2015221490A5/en
Application granted granted Critical
Publication of JP6516546B2 publication Critical patent/JP6516546B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Manipulator (AREA)

Description

本発明は、複数の関節を有する多関節アームを備えるロボット装置の制御方法及びロボット装置に関する。   The present invention relates to a control method of a robot apparatus provided with an articulated arm having a plurality of joints, and a robot apparatus.

従来、垂直多関節アーム及びエンドエフェクタ(以下、ロボット本体と呼ぶ)と、ロボット本体を制御する制御装置とを備えたロボット装置が普及している。このようなロボット装置により、例えば把持したワークを他のワークに自動的に組み付けるような作業を行う場合には、高精度かつ高速で作業することが望まれている。このため、エンドエフェクタとしてのハンドの軌道が例えば直線である場合に、ロボット装置によりワーク同士の組付作業を行う前に実際の移動軌跡を予め直線に補正しておくロボット装置の制御方法が知られている(特許文献1参照)。このロボット装置の制御方法では、補正作業専用の距離センサをハンドに取り付け、ハンドを平板に沿わせて直進移動させながら、同時に平板と距離センサとの距離を計測する。そして、平板と距離センサとの距離の変化からハンドの実際の移動軌跡と直線状の軌道との誤差を演算し、その誤差に基づいて軌道を補正することで、実際の移動軌跡を直線状に補正できるようになっている。   2. Description of the Related Art Conventionally, a robot apparatus provided with a vertical articulated arm and an end effector (hereinafter referred to as a robot body) and a control device for controlling the robot body has become widespread. For example, when performing an operation of automatically attaching a gripped work to another work with such a robot apparatus, it is desired to work with high accuracy and high speed. For this reason, when the trajectory of the hand as the end effector is, for example, a straight line, a control method of the robot device is known in which the actual movement trajectory is corrected to a straight line in advance before performing the work of assembling the workpieces by the robot device. (See Patent Document 1). In this control method of the robot apparatus, a distance sensor dedicated to correction work is attached to the hand, and while the hand is moved straight along the flat plate, the distance between the flat plate and the distance sensor is measured simultaneously. Then, the error between the actual movement trajectory of the hand and the linear trajectory is calculated from the change in distance between the flat plate and the distance sensor, and the trajectory is corrected based on the error to make the actual movement trajectory linear. It can be corrected.

ところが、特許文献1のロボット装置の制御方法では、ハンドがワークを保持する前に軌道補正を行っているので、実際にワークを保持した際にワークがハンドに対して位置姿勢ずれしてしまうとワークの位置姿勢を高精度に制御することはできない。この場合、把持したワークを他のワークに高精度に組み付けることは困難である。また、このロボット装置の制御方法では、ハンドへの距離センサの設置や、軌道に沿った平板の設置は、いずれも高精度に行わなければならず、各設置作業が煩雑になり補正作業に長時間を要してしまう。   However, in the control method of the robot apparatus of Patent Document 1, since the trajectory correction is performed before the hand holds the work, when the work is actually held, the work may be displaced in position and orientation with respect to the hand. The position and orientation of the workpiece can not be controlled with high precision. In this case, it is difficult to assemble the held work on another work with high accuracy. In addition, in this method of controlling the robot apparatus, both the installation of the distance sensor on the hand and the installation of the flat plate along the track must be performed with high accuracy, and each installation operation becomes complicated and the correction operation is long. It takes time.

これに対し、ハンドの指の内側面に距離センサを設けることで、ハンドによりワークを保持する際に、ハンドに対するワークの位置姿勢を高精度に検出可能にしたロボット装置の制御方法が知られている(特許文献2参照)。このロボット装置の制御方法によれば、ハンドに対してワークを高精度な位置姿勢関係で把持できるので、把持したワークの位置姿勢を高精度に制御することで、他のワークへの組付精度を向上することができる。また、ロボット装置による作業中にハンドによってワークを把持する度に制御を行うものであり、しかも専用治具が不要であるので、これらのことから事前の準備時間に長時間を要することはない。   On the other hand, there is known a control method of a robot apparatus capable of detecting the position and orientation of a work relative to the hand with high accuracy when holding the work by the hand by providing a distance sensor on the inner surface of the finger of the hand. (See Patent Document 2). According to the control method of the robot apparatus, since the workpiece can be gripped with high precision in the position and orientation relationship with the hand, the position and orientation of the griped workpiece can be controlled with high accuracy, and thus the assembling accuracy to another workpiece can be achieved. Can be improved. Further, since the control is performed every time the work is held by the hand during the work by the robot apparatus, and a dedicated jig is not necessary, it is not necessary to take a long time for the preparation time in advance.

特開平11−165283号公報Japanese Patent Application Laid-Open No. 11-165283 特開平9−47986号公報JP-A-9-47986

しかしながら、特許文献2に記載されたロボット装置の制御方法では、ハンドに対するワークの位置姿勢のみを高精度に設定しており、ワークを組み付ける他のワークの位置姿勢については何ら考慮されていない。このため、ハンドに対してワークを高精度な位置姿勢で把持したとしても、例えば他のワークの位置姿勢にずれやアームの軸ずれがあった場合には組付け精度が低下してしまうという問題があった。   However, in the control method of the robot apparatus described in Patent Document 2, only the position and orientation of the workpiece with respect to the hand are set with high accuracy, and no consideration is given to the positions and orientations of other workpieces to be assembled. For this reason, even if the workpiece is gripped with a highly accurate position and orientation with respect to the hand, for example, if there is a shift in the position and orientation of another workpiece or an axis offset of the arm, the assembly accuracy may be degraded. was there.

本発明は、専用治工具を用いることなく軌道を補正して、保持したワークを他のワーク等に対して高精度に組付可能なロボット装置の制御方法及びロボット装置を提供することを目的とする。   It is an object of the present invention to provide a control method of a robot apparatus and a robot apparatus capable of correcting a trajectory without using a dedicated tool and assembling a held work with another work with high accuracy. Do.

本発明は、複数の関節を有する多関節アームと前記多関節アームに支持されるエンドエフェクタとを有するロボット本体と、前記エンドエフェクタに連結され、第1のワーク及び第2のワークの間に相対的に作用する力の変化量と前記第1のワーク及び前記第2のワークの相対位置姿勢の変位量との少なくとも一方を検出する検出部と、前記ロボット本体を制御する制御部と、を備えるロボット装置の制御方法において、前記制御部が、前記エンドエフェクタにより保持した前記第1のワークを、第1の教示点から、接触点を経て、第2の教示点までの軌道で移動させる移動工程と、前記制御部が、前記移動工程において前記第1のワークが前記接触点から前記第2の教示点までの前記軌道上に位置するときに、前記第1のワーク及び前記第2のワークの間に相対的に作用する力の変化量と、前記第1のワーク及び前記第2のワークの相対位置姿勢の変位量と、の少なくとも一方を前記検出部により検出する第1の検出工程と、前記制御部が、前記第1の検出工程で検出した前記力の変化量あるいは前記相対位置姿勢の変位量に基づき、前記軌道の補正量を演算する第1の演算工程と、前記制御部が、前記第1の演算工程で演算した前記補正量に基づき、前記第1の教示点と前記第2の教示点との各位置及び姿勢を補正する第1の補正工程と、を備えることを特徴とする。 According to the present invention, there is provided a robot body having an articulated arm having a plurality of joints and an end effector supported by the articulated arm, and a robot connected to the end effector and having a relative position between a first work and a second work. A detection unit that detects at least one of the amount of change in the force acting on the object and the amount of displacement of the relative position and orientation of the first work and the second work, and a control unit that controls the robot body a method of controlling a robot apparatus, the control section, the first workpiece held by the end effector, the first taught point, through the contact points, Before moving in orbit up to the second teaching point a moving step, the control section, when said at moving step a first workpiece is positioned on the track from the contact point to the second teaching point, the first workpiece and the second Of the variation of the force relative acting between the workpiece, prior to SL and the amount of displacement of the relative position and orientation of the first workpiece and the second workpiece, the first detecting at least one by the detection unit A detection step; a first calculation step of calculating the correction amount of the trajectory based on a change amount of the force detected in the first detection step or a displacement amount of the relative position and posture detected in the first detection step; And a first correction step of correcting a position and a posture of each of the first teaching point and the second teaching point based on the correction amount calculated in the first calculation step. It is characterized by

また、本発明は、複数の関節を有する多関節アームと前記多関節アームに支持されるエンドエフェクタとを有するロボット本体と、前記エンドエフェクタに連結され、第1のワーク及び第2のワークの間に相対的に作用する力の変化量と前記第1のワーク及び前記第2のワークの相対位置姿勢の変位量との少なくとも一方を検出する検出部と、前記ロボット本体を制御する制御部と、を備えるロボット装置において、前記制御部は、前記エンドエフェクタにより保持した前記第1のワークを、第1の教示点から、接触点を経て、第2の教示点まで所定の軌道で移動させ、前記第1のワークが前記接触点から前記第2の教示点までの前記軌道上に位置するときに、前記第1のワーク及び前記第2のワークの間に相対的に作用する力の変化量と、前記第1のワーク及び前記第2のワークの相対位置姿勢の変位量と、の少なくとも一方を前記検出部により検出し、検出した前記力の変化量あるいは前記相対位置姿勢の変位量に基づき、前記軌道の補正量を演算し、演算した前記補正量に基づき、前記第1の教示点と前記第2の教示点との各位置及び姿勢を補正することを特徴とする。 Further, according to the present invention, there is provided a robot main body having an articulated arm having a plurality of joints and an end effector supported by the articulated arm, and the robot connected to the end effector, between a first work and a second work. A detection unit that detects at least one of the amount of change in force acting on the relative position and the amount of displacement of the relative position and orientation of the first work and the second work, and a control unit that controls the robot body a robot apparatus comprising, said control unit, said first workpiece held by the end effector, the first taught point, through the contact point is moved in a predetermined orbit to the second teaching point, When the first work is positioned on the track from the contact point to the second teaching point, the amount of change in force acting relative between the first work and the second work and, Serial and displacement of the first work and the relative position and orientation of the second workpiece, the detected at least one by the detection unit, based on the displacement amount of the detected said force variation or the relative position and orientation, the The correction amount of the trajectory is calculated, and each position and posture of the first teaching point and the second teaching point are corrected based on the calculated correction amount.

本発明によれば、制御部が、第1のワークを所定の軌道上で移動させ第2のワークに対する接触動作又は非接触動作を実行する際に、第1のワーク及び第2のワークの接触動作による第1のワークの力の変化量あるいは相対位置姿勢の変位量を検出する。そして、制御部は、検出した力の変化量あるいは相対位置姿勢の変位量に基づいて軌道の補正量を演算し、補正量に基づいて軌道を補正する。このため、専用治工具を用いて軌道を補正することなく、保持したワークを他のワーク等に対して高精度に組み付けることができるようになる。   According to the present invention, when the control unit moves the first work on the predetermined trajectory and executes the contact operation or the non-contact operation on the second work, the contact between the first work and the second work The amount of change in force of the first work or the amount of displacement of the relative position / posture due to the movement is detected. Then, the control unit calculates the correction amount of the trajectory based on the detected change amount of the force or the displacement amount of the relative position and posture, and corrects the trajectory based on the correction amount. For this reason, it is possible to assemble the held work with another work or the like with high accuracy without correcting the trajectory using a dedicated tool.

本発明の第1の実施形態に係るロボット装置の概略構成を示す説明図である。It is an explanatory view showing a schematic structure of a robot device concerning a 1st embodiment of the present invention. 本発明の第1の実施形態に係るロボット装置により第1のワークを第2のワークに装着する動作を示す正面図である。(a)は第1のワークが第2のワークに対して上空点に位置した状態、(b)は第1のワークが第2のワークに対して接触点に位置した状態、(c)は第1のワークが第2のワークに対して下降点に位置した状態の正面図である。It is a front view which shows the operation | movement which mounts a 1st workpiece | work to a 2nd workpiece | work by the robot apparatus which concerns on the 1st Embodiment of this invention. (A) is a state in which the first work is positioned at an upper empty point with respect to the second work, (b) is a state in which the first work is positioned at a contact point with respect to the second work, (c) is a state It is a front view in the state where the 1st work was located in a descent point to the 2nd work. 本発明の第1の実施形態に係るロボット装置における第1のワークの位置と第1のワークへの反力との関係を示すグラフであり、(a)は軌道の補正前、(b)は上空点での仮想の反力の演算時、(c)は補正量の演算時である。It is a graph which shows the relationship between the position of the 1st work in the robot device concerning a 1st embodiment of the present invention, and the reaction force to the 1st work, and (a) is before correction of a track, (b) is At the time of calculation of the virtual reaction force at the upper empty point, (c) is at the time of calculation of the correction amount. 本発明の第1の実施形態に係るロボット装置の立ち上げ時の手順を示すフローチャートである。It is a flowchart which shows the procedure at the time of starting of the robot apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るロボット装置の軌道を補正する手順を示すフローチャートである。It is a flowchart which shows the procedure which correct | amends the track | orbit of the robot apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るロボット装置の変形例での軌道を補正する手順を示すフローチャートである。It is a flowchart which shows the procedure which correct | amends the track | orbit in the modification of the robot apparatus based on the 1st Embodiment of this invention. 本発明の第2の実施形態に係るロボット装置により第3のワークを第4のワークに装着する動作を示し、(a)は第3のワーク及び第4のワークの分離時の斜視図、(b)は第3のワークが第4のワークに対して上空点に位置した状態の正面図である。The robot apparatus which concerns on the 2nd Embodiment of this invention shows the operation | movement which mounts a 3rd workpiece | work to a 4th workpiece | work, (a) is a perspective view at the time of isolation | separation of a 3rd workpiece | work and a 4th workpiece, b) is a front view in the state where the 3rd work is located in the upper empty point to the 4th work. 本発明の第2の実施形態に係るロボット装置により第3のワークを第4のワークに装着する動作を示す正面図である。(a)は第3のワークが第4のワークに対して接触点に位置した状態、(b)は第3のワークが第4のワークに対して切換点に位置した状態、(c)は第3のワークが第4のワークに対して下降点に位置した状態の正面図である。It is a front view which shows the operation | movement which mounts a 3rd workpiece | work to a 4th workpiece | work by the robot apparatus which concerns on the 2nd Embodiment of this invention. (A) is a state in which the third work is positioned at the contact point with respect to the fourth work, (b) is a state in which the third work is positioned at the switching point with respect to the fourth work, (c) is a state It is a front view in the state where the 3rd work was located in a descent point to the 4th work. 本発明の第2の実施形態に係るロボット装置における第3のワークの位置と第3のワークへの反力との関係を示すグラフであり、(a)は軌道の補正前、(b)は上空点での仮想の反力の演算時、(c)は補正量の演算時である。It is a graph which shows the relationship between the position of the 3rd work in the robot apparatus concerning a 2nd embodiment of the present invention, and the reaction force to the 3rd work, (a) is before amendment of a track, (b) is At the time of calculation of the virtual reaction force at the upper empty point, (c) is at the time of calculation of the correction amount. 本発明の第3の実施形態に係るロボット装置により第5のワークを第6のワークに装着する動作を示す正面図である。(a)は第5のワークが第6のワークに対して上空点に位置した状態、(b)は第5のワークが第6のワークに対して接触点に位置した状態、(c)は第5のワークが接触点から上昇した状態の正面図である。It is a front view which shows the operation | movement which mounts a 5th workpiece | work to a 6th workpiece | work by the robot apparatus which concerns on the 3rd Embodiment of this invention. (A) is a state where the fifth work is positioned at the upper empty point with respect to the sixth work, (b) is a state where the fifth work is positioned at the contact point with respect to the sixth work, (c) is a state It is a front view in the state where the 5th work rose from the contact point. 本発明の第3の実施形態に係るロボット装置により第5のワークを第6のワークに装着する動作を示す正面図である。(a)は第5のワークの係合部を中心側に移動した状態、(b)は第5のワークを下降して第6のワークに当接した状態、(c)は第5のワークが第6のワークに対して下降点に位置した状態の正面図である。It is a front view which shows the operation | movement which mounts a 5th workpiece | work to a 6th workpiece | work by the robot apparatus which concerns on the 3rd Embodiment of this invention. (A) is a state in which the engagement portion of the fifth work is moved to the center side, (b) is a state in which the fifth work is lowered to abut on the sixth work, (c) is a fifth work Is a front view in a state where it is located at the lowering point with respect to the sixth work. 本発明の第3の実施形態に係るロボット装置における第5のワークの位置と第5のワークへの反力との関係を示すグラフであり、(a)は軌道の補正前、(b)は上空点での仮想の反力の演算時、(c)は補正量の演算時である。It is a graph which shows the relationship between the position of the 5th work in the robot apparatus concerning a 3rd embodiment of the present invention, and the reaction force to the 5th work, and (a) is before amendment of a track, (b) is At the time of calculation of the virtual reaction force at the upper empty point, (c) is at the time of calculation of the correction amount. 本発明の第4の実施形態に係るロボット装置により第7のワークを第8のワークに装着する動作を示す正面図である。(a)は第7のワークが第8のワークに対して上空点に位置した状態、(b)は第7のワークが第8のワークに対して接触点に位置した状態の正面図である。It is a front view which shows the operation | movement which mounts a 7th workpiece | work to an 8th workpiece | work by the robot apparatus which concerns on the 4th Embodiment of this invention. (A) is a front view of a state where the seventh work is positioned at an upper empty point with respect to the eighth work, (b) is a front view of a state where the seventh work is positioned at a contact point with respect to the eighth work . 本発明の第4の実施形態に係るロボット装置により第7のワークを第8のワークに装着する動作を示す正面図であり、(a)は第7のワークを傾斜させた状態、(b)は第7のワークが第8のワークに対して下降点に位置した状態である。It is a front view which shows the operation | movement which mounts a 7th workpiece | work to an 8th workpiece | work by the robot apparatus based on the 4th Embodiment of this invention, (a) is the state which inclined the 7th workpiece, (b) Is a state in which the seventh work is positioned at the lowering point with respect to the eighth work. 本発明の第4の実施形態に係るロボット装置における第7のワークの位置と第7のワークへの反力との関係を示すグラフであり、(a)は軌道の補正前、(b)は上空点での仮想の反力の演算時、(c)は補正量の演算時である。It is a graph which shows the relationship between the position of the 7th work in the robot device concerning a 4th embodiment of the present invention, and the reaction force to the 7th work, (a) is before amendment of a track, (b) is a At the time of calculation of the virtual reaction force at the upper empty point, (c) is at the time of calculation of the correction amount.

<第1の実施形態>
以下、本発明を実施するための第1の実施形態を、図面を参照しながら詳細に説明する。尚、本実施の形態では、ハンド21に把持される第1のワークW1と、これを組み付ける第2のワークW2とはいずれも円筒形状であって、第1のワークW1の内径は第2のワークW2の外径とほぼ一致したものとしている。これにより、第1のワークW1の中心軸W1cと第2のワークW2の中心軸W2cとを一致させることで、第2のワークW2を第1のワークW1の内周側に着脱可能に組み付けられるようになっている(図2(c)参照)。
First Embodiment
Hereinafter, a first embodiment for carrying out the present invention will be described in detail with reference to the drawings. In the present embodiment, the first workpiece W1 held by the hand 21 and the second workpiece W2 for assembling the first workpiece W1 have a cylindrical shape, and the inner diameter of the first workpiece W1 is the second. It is assumed that the outer diameter of the workpiece W2 substantially matches. As a result, by making the central axis W1c of the first work W1 coincide with the central axis W2c of the second work W2, the second work W2 can be detachably assembled on the inner peripheral side of the first work W1. (See FIG. 2 (c)).

図1に示すように、ロボット装置1は、ロボット本体2と、ロボット本体2を制御する制御装置(制御部)3とを備えている。ロボット本体2は、複数の関節を有する6軸の垂直多関節アーム(以下、アームと呼ぶ)20と、エンドエフェクタであるハンド21とを備えている。本実施の形態では、アーム20として6軸の垂直多関節アームを適用しているが、軸数は用途や目的に応じて適宜変更してもよい。   As shown in FIG. 1, the robot apparatus 1 includes a robot body 2 and a control device (control unit) 3 that controls the robot body 2. The robot body 2 includes a 6-axis vertical articulated arm (hereinafter referred to as an arm) 20 having a plurality of joints, and a hand 21 which is an end effector. In the present embodiment, a six-axis vertical articulated arm is applied as the arm 20, but the number of axes may be changed as appropriate depending on the application and purpose.

アーム20は、7つのリンク61〜67と、各リンク61〜67を揺動又は回動可能に連結する6つの関節71〜76とを備えている。各リンク61〜67としては、長さが固定されたものを採用している。但し、例えば、直動アクチュエータにより伸縮可能なリンクを採用してもよい。各関節71〜76は、例えば、不図示の関節機構及びモータ制御部を備え、制御装置3からの指令により動作するようになっている。基端リンク61はベース60に固定されており、ベース60は架台10にボルト等により締結固定されている。また、架台10の近傍にワーク載置台11が設置されており、ワーク載置台11に第2のワークW2が載置されている。本実施の形態では、第2のワークW2は、少なくとも第1のワークW1に対して接触状態にある時はワーク載置台11に固定されており、第1のワークW1に対して反力を与えるようになっている。   The arm 20 includes seven links 61 to 67, and six joints 71 to 76 swingably or rotatably connecting the links 61 to 67. As each link 61-67, what fixed length was employ | adopted. However, for example, a link that can be expanded and contracted by a linear actuator may be adopted. Each of the joints 71 to 76 includes, for example, a joint mechanism and a motor control unit (not shown), and operates according to a command from the control device 3. The base end link 61 is fixed to the base 60, and the base 60 is fastened and fixed to the mount 10 by a bolt or the like. In addition, the workpiece mounting table 11 is installed near the gantry 10, and the second workpiece W2 is mounted on the workpiece mounting table 11. In the present embodiment, the second workpiece W2 is fixed to the workpiece mounting base 11 when in contact with at least the first workpiece W1, and applies a reaction force to the first workpiece W1. It is supposed to be.

ハンド21は、アーム20の先端リンク67に取り付けられて支持され、アーム20の動作により位置及び姿勢の少なくとも一自由度が調整されるようになっている。ハンド21は、ハンド本体24と、ハンド本体24に対して移動可能に配設されて、第1のワークW1を把持可能な複数の指23とを備えている。ハンド本体24の先端リンク67との連結部には、力覚センサ(検出部)25が設けられている。力覚センサ25は、先端リンク67に対してハンド21から作用する外力を3方向(X,Y,Z)の力と3方向のモーメント(Mx,My,Mz)で検出可能になっており、検出値は反力Fとして制御装置3に入力されるようになっている。即ち、力覚センサ25は、第1のワークW1及び第2のワークW2の間に相対的に作用する力の変化量を検出するようになっている。   The hand 21 is attached to and supported by the distal end link 67 of the arm 20, and the movement of the arm 20 adjusts at least one degree of position and posture. The hand 21 includes a hand body 24 and a plurality of fingers 23 which are disposed movably with respect to the hand body 24 and can grip the first workpiece W1. A force sensor (detection unit) 25 is provided at a connection portion of the hand main body 24 with the tip link 67. The force sensor 25 can detect an external force acting on the tip link 67 from the hand 21 with forces in three directions (X, Y, Z) and moments in three directions (Mx, My, Mz). The detected value is input to the control device 3 as a reaction force F. That is, the force sensor 25 is configured to detect the amount of change in force acting relative to the first work W1 and the second work W2.

ここで、第1のワークW1を第2のワークW2に対して接触動作を行う場合あるいは非接触動作を行う場合に、第1のワークW1と第2のワークW2とが接触する際の相対的な力関係について説明する。尚、ここでの接触動作とは、第1のワークW1及び第2のワークW2を非接触状態から接触状態に変化させることであり、非接触動作とは、第1のワークW1及び第2のワークW2を接触状態から非接触状態に変化させることである。また、本実施形態では、接触動作は装着動作であり、非接触動作は離脱動作である。第2のワークW2はワーク載置台11に固定されているので、ワーク載置台11、床、架台10、ベース60を介してアーム20の基端リンク61に相対的に固定されている。一方、第1のワークW1はハンド21に把持されているので、アーム20の先端リンク67に相対的に固定されている。このため、第1のワークW1と第2のワークW2との支持関係は閉ループを構成しており、ロボット本体2を利用して第1のワークW1を第2のワークW2に接触させることにより、第1のワークW1と第2のワークW2との間には相対的に反力が発生する。この反力は、アーム20とハンド21との連結部に設けられた力覚センサ25により検出され、力覚センサ25は第1のワークW1と第2のワークW2との間に相対的に作用する力の変化量を検出可能になっている。   Here, when the first work W1 performs the contact operation on the second work W2 or the non-contact operation, the relative movement when the first work W1 and the second work W2 contact with each other Power relationships. Here, the contact operation is to change the first work W1 and the second work W2 from the non-contact state to the contact state, and the non-contact operation means the first work W1 and the second work W1. This is to change the work W2 from the contact state to the non-contact state. Further, in the present embodiment, the contact operation is a mounting operation, and the non-contact operation is a detachment operation. Since the second workpiece W2 is fixed to the workpiece mounting table 11, it is relatively fixed to the proximal end link 61 of the arm 20 via the workpiece mounting table 11, the floor, the gantry 10, and the base 60. On the other hand, since the first work W1 is gripped by the hand 21, it is relatively fixed to the tip link 67 of the arm 20. For this reason, the supporting relationship between the first work W1 and the second work W2 constitutes a closed loop, and by bringing the first work W1 into contact with the second work W2 using the robot main body 2, A reaction force is generated relatively between the first work W1 and the second work W2. The reaction force is detected by a force sensor 25 provided at the connecting portion between the arm 20 and the hand 21, and the force sensor 25 acts relatively between the first work W1 and the second work W2. The amount of change in force can be detected.

制御装置3は、コンピュータにより構成され、モータを制御することによりロボット本体2を制御可能になっている。制御装置3を構成するコンピュータは、例えばCPU30と、各部を制御するためのプログラムを記憶するROM31と、データを一時的に記憶するRAM32と、入出力インタフェース回路(I/F)33とを備えている。また、制御装置3には、教示点を教示させるため等に利用するティーチングペンダント4が接続可能になっている。   The control device 3 is configured by a computer, and can control the robot main body 2 by controlling a motor. The computer constituting the control device 3 includes, for example, a CPU 30, a ROM 31 for storing a program for controlling each part, a RAM 32 for temporarily storing data, and an input / output interface circuit (I / F) 33. There is. Further, a teaching pendant 4 used to teach a teaching point or the like can be connected to the control device 3.

制御装置3は、第1のワークW1を軌道上で移動させ第2のワークW2に対する装着動作を実行する際に、第1のワークW1及び第2のワークW2の接触状態において相対的に作用する反力(変化量)Fを力覚センサ25により検出するようになっている。また、制御装置3は、力覚センサ25により検出した反力Fに基づき軌道の補正量を演算し、演算して得た補正量に基づき軌道を補正するようになっている。   The control device 3 relatively acts in the contact state of the first work W1 and the second work W2 when moving the first work W1 on the track and performing the mounting operation on the second work W2. The reaction force (amount of change) F is detected by the force sensor 25. Further, the control device 3 calculates the correction amount of the trajectory based on the reaction force F detected by the force sensor 25 and corrects the trajectory based on the correction amount obtained by the calculation.

ここで、図2及び図3を利用して、制御装置3が第1のワークW1及び第2のワークW2を装着動作させて反力Fを検出し、軌道の補正量を演算して、軌道を修正する原理について説明する。   Here, using FIG. 2 and FIG. 3, the control device 3 mounts the first work W1 and the second work W2 to detect the reaction force F, calculates the correction amount of the track, and calculates the track The principle of correcting

図2(a)に示すように、第1のワークW1が第2のワークW2の真上で接触することなく適宜距離だけ離れた状態(非接触状態)で、第1のワークW1の中心軸W1cと第2のワークW2の中心軸W2cとが一致するように配置する。この時の第1のワークW1の位置姿勢を上空点(第1の教示点)とする。この時は、力覚センサ25により検出される反力Fは0となる。   As shown in FIG. 2A, the central axis of the first work W1 in a state (non-contact state) in which the first work W1 is appropriately separated by a suitable distance without contacting directly above the second work W2. It arranges so that central axis W2c of W1c and the 2nd work W2 may be in agreement. The position and orientation of the first workpiece W1 at this time is taken as an empty point (first teaching point). At this time, the reaction force F detected by the force sensor 25 is zero.

そして、ロボット本体2により、第1のワークW1の中心軸W1cと第2のワークW2の中心軸W2cとを一致させながら、第1のワークW1を下方に移動させる。これにより、図2(b)に示すように、第1のワークW1の下端面の一部と第2のワークW2の上端面の一部とが接触する。この時の第1のワークW1の位置姿勢を接触点(第3の教示点)とする。   Then, while the central axis W1c of the first workpiece W1 and the central axis W2c of the second workpiece W2 are aligned by the robot body 2, the first workpiece W1 is moved downward. As a result, as shown in FIG. 2B, a portion of the lower end surface of the first work W1 contacts a portion of the upper end surface of the second work W2. The position and orientation of the first workpiece W1 at this time is taken as a contact point (third teaching point).

更に、ロボット本体2により、第1のワークW1の中心軸W1cと第2のワークW2の中心軸W2cとを一致させながら、第1のワークW1を下方に移動させる。これにより、図2(c)に示すように、第1のワークW1が第2のワークW2に最後まで嵌合するようになる。この時の第1のワークW1の位置姿勢を、下降点(第2の教示点)とする。この時、第1のワークW1の中心軸W1cと第2のワークW2の中心軸W2cとの位置や角度がずれていると、第1のワークW1の内周面と第2のワークW2の外周面とが接触し、互いに反力Fが発生する。また、上空点と下降点とを結んだ直線が所定の軌道となる。   Furthermore, the first workpiece W1 is moved downward by the robot body 2 while the central axis W1c of the first workpiece W1 and the central axis W2c of the second workpiece W2 coincide with each other. As a result, as shown in FIG. 2C, the first work W1 is fitted to the second work W2 to the end. The position and orientation of the first workpiece W1 at this time is taken as a lowering point (second teaching point). At this time, if the position or angle between the central axis W1c of the first work W1 and the central axis W2c of the second work W2 is deviated, the inner peripheral surface of the first work W1 and the outer circumference of the second work W2 Contact with the surface generates a reaction force F on each other. Further, a straight line connecting the upper empty point and the lower point is a predetermined trajectory.

この反力Fは、図2(b)に示す端面の一部(とば口)同士が接触した状態(図3(a)の接触点)から、図2(c)に示す最後まで嵌合した状態(図3(a)の下降点)まで、線形的に上昇する。即ち、本実施の形態では、反力Fは、第1のワークW1及び第2のワークW2の接触動作により第1のワークW1が変位する変化量である。尚、図2(b)の状態と図2(c)の状態との間、即ち、接触点と下降点との間の状態が、第1のワークW1と第2のワークW2との接触状態である。   The reaction force F is fitted from the state (contact point in FIG. 3 (a)) in which part of the end face shown in FIG. 2 (b) is in contact with each other (the contact point in FIG. 3 (a)). It rises linearly to the state (falling point in FIG. 3 (a)). That is, in the present embodiment, the reaction force F is a change amount in which the first work W1 is displaced by the contact operation of the first work W1 and the second work W2. The state between the state of FIG. 2 (b) and the state of FIG. 2 (c), that is, the state between the contact point and the lowering point is the contact state between the first workpiece W1 and the second workpiece W2. It is.

例えば、図3(a)に示すように、上空点から接触点までのストロークをA2、接触点から下降点までのストロークをA1とし、力覚センサ25により検出された反力Fが接触点から下降点まで線形的に上昇して下降点においてF1になったとする。この場合、接触点から下降点までの反力の傾きΔFは、ΔF=F1/A1になる。   For example, as shown in FIG. 3A, the stroke from the upper empty point to the contact point is A2, the stroke from the contact point to the descending point is A1, and the reaction force F detected by the force sensor 25 is from the contact point It is assumed that it linearly rises up to the falling point and becomes F1 at the falling point. In this case, the slope ΔF of the reaction force from the contact point to the falling point is ΔF = F1 / A1.

次に、図3(b)に示すように、接触点から下降点までの反力の傾きΔFを上空点にまで延長し、第2のワークW2が上空点まで延長されていたとした場合に第1のワークW1が受けるであろう反力F2を想定して演算する。この反力F2は、F2=−ΔF×A2になる。尚、図3(b)に示すように、反力F2は、下降点における反力F1と、接触点における反力0とを延長した直線の上空点における交点として、作図によっても求めることができる。   Next, as shown in FIG. 3B, the inclination ΔF of the reaction force from the contact point to the falling point is extended to the upper empty point, and the second work W2 is extended to the upper empty point. It calculates taking into consideration the reaction force F2 that the work W1 of 1 receives. The reaction force F2 is F2 = −ΔF × A2. Incidentally, as shown in FIG. 3 (b), the reaction force F2 can also be determined by drawing as an intersection point of a straight line extending the reaction force F1 at the falling point and the reaction force 0 at the contact point. .

更に、図3(c)に示すように、上空点及び下降点について、反力Fを例えば水平方向の長さである補正量Xに変換する。このため、ロボット本体2の弾性率をKとすると、上空点での補正量X2は、X2=F2/Kになり、下降点での補正量X1は、X1=F1/Kになる。これら上空点及び下降点に対する補正量X1,X2が、軌道の補正量となる。そして、現在の上空点の位置姿勢に補正量X2を加算して補正し、現在の下降点の位置姿勢に補正量X1を加算して補正し、補正後の上空点と下降点とを結んだ直線を補正後の軌道とすることで、軌道の補正を実行することができる。尚、ここでは、弾性率Kはロボット本体2の弾性率を用いているが、これには限定されず、例えば、ハンド21の指23の弾性率を用いてもよい。弾性率Kとしてどの部位の弾性率を用いるかは、例えばロボット装置1の構成やロボット本体2等の動作により、適宜設定することができる。   Furthermore, as shown in FIG. 3C, the reaction force F is converted into a correction amount X, which is, for example, the length in the horizontal direction, for the up empty point and the down point. Therefore, assuming that the elastic modulus of the robot body 2 is K, the correction amount X2 at the upper empty point is X2 = F2 / K, and the correction amount X1 at the falling point is X1 = F1 / K. The correction amounts X1 and X2 with respect to the upper empty point and the falling point become correction amounts of the trajectory. Then, the correction amount X2 is added to the current position and orientation of the sky point to correct, and the position and orientation of the current drop point is corrected to add the correction amount X1 to connect the corrected sky point and the falling point. Trajectory correction can be performed by using the straight line as the corrected trajectory. Here, although the elastic modulus K uses the elastic modulus of the robot main body 2, it is not limited to this, for example, the elastic modulus of the finger 23 of the hand 21 may be used. The elastic modulus of which portion is to be used as the elastic modulus K can be appropriately set, for example, by the configuration of the robot device 1 or the operation of the robot body 2 or the like.

上述したロボット装置1の制御方法の手順について、図4及び図5に示すフローチャートに沿って説明する。   The procedure of the control method of the robot apparatus 1 described above will be described along the flowcharts shown in FIGS. 4 and 5.

図4に示すように、ロボット装置1の立ち上げ時には、ユーザはオフラインで仮教示点を設定することで基本となる動作プログラムを作成し(ステップS1)、それをロボット装置1の実機にインストールする(ステップS2)。その後、ユーザはプログラムのデバッグを行い(ステップS3)、それが完了した時点で教示作業を開始する(ステップS4)。   As shown in FIG. 4, when starting up the robot device 1, the user sets a temporary teaching point offline to create a basic operation program (step S 1) and install it on the actual robot device 1. (Step S2). Thereafter, the user debugs the program (step S3), and starts teaching when it is completed (step S4).

教示作業では、第2のワークW2又は不図示の専用治工具を用いて、第1のワークW1を位置決めし、それを教示点として登録することでロボット装置1に教示を行う。本実施の形態では、図2(a)に示す第1のワークW1の位置姿勢を上空点、図2(c)に示す第1のワークW1の位置姿勢を下降点として教示する。制御装置3は、上空点と下降点とを直結した直線を軌道として設定し、動作プログラムが完成して、教示作業が終了する。軌道は、非接触状態の第1のワークW1の位置姿勢である上空点と、接触状態の第1のワークW1の位置姿勢である下降点と、接触状態にある第1のワークW1の位置姿勢であり、軌道上で上空点及び下降点の間に位置する接触点と、に基づいて演算される。即ち、本実施の形態では、下降点における軌道と、接触点における軌道とは、一直線状の軌道である。制御装置3は、教示作業後、図2に示すように、ロボット本体2を駆動して確認動作を行い(ステップS5)、実際の組立作業に移行する(ステップS6)。組立作業では、制御装置3は動作プログラムを連続運転させる。   In the teaching operation, the robot device 1 is taught by positioning the first workpiece W1 using the second workpiece W2 or a dedicated tool (not shown) and registering it as a teaching point. In the present embodiment, the position and orientation of the first workpiece W1 shown in FIG. 2A is taught as an air gap, and the position and orientation of the first workpiece W1 shown in FIG. 2C are taught as a descending point. The control device 3 sets a straight line in which the upper empty point and the lower point are directly connected as a track, the operation program is completed, and the teaching work is completed. The trajectory is an open position that is the position and orientation of the first workpiece W1 in a non-contacting state, a descending point that is a position and orientation of the first workpiece W1 in a contacting state, and a position and orientation of the first workpiece W1 in a contacting state And calculated on the basis of a contact point located between the upper empty point and the lower point on the orbit. That is, in the present embodiment, the trajectory at the falling point and the trajectory at the contact point are straight trajectories. After the teaching operation, as shown in FIG. 2, the control device 3 drives the robot body 2 to perform a checking operation (step S5), and shifts to an actual assembling operation (step S6). In the assembly operation, the control device 3 operates the operation program continuously.

ロボット装置1の保守メンテナンス後や段取り換えの後には、図5に示すように、軌道補正の作業を行ってから組立作業を行うようにする。まず、ユーザはロボット装置1を起動する(ステップS11)。そして、制御装置3は、動作プログラムを読み込み(ステップS12)、準備動作を実行する(ステップS13)。準備動作では、ロボット本体2を低速で動作させ、第1のワークW1及びロボット本体2が他の部材への干渉等していないかの確認を、ユーザの目視により行う。   After maintenance of the robot apparatus 1 or after setup change, as shown in FIG. 5, the operation of trajectory correction is performed and then the assembly operation is performed. First, the user activates the robot apparatus 1 (step S11). Then, the control device 3 reads the operation program (step S12) and executes the preparation operation (step S13). In the preparation operation, the robot body 2 is operated at a low speed, and the user checks whether the first workpiece W1 and the robot body 2 do not interfere with other members or the like.

動作の確認後、制御装置3は、第1のワークW1を上空点から下降点まで低速動作で移動させ(装着動作)、力覚センサ25により、少なくとも接触点と下降点とにおける第1のワークW1に作用する反力Fを検出する(ステップS14、第1の検出工程)。ここでは、制御装置3は、力覚センサ25により反力Fの検出を常時行っており、上空点から下降点までの軌道の全域に亘って反力Fを検出するものとしている(図3(a)参照)。尚、本実施の形態では、第1のワークW1を上空点から下降点まで低速で移動させているが、これには限られず実速度で移動するようにしてもよい。   After confirming the operation, the control device 3 moves the first workpiece W1 from the upper empty point to the descending point at low speed (mounting operation), and the force sensor 25 causes the first workpiece W at least at the contact point and the descending point. A reaction force F acting on W1 is detected (step S14, first detection step). Here, the control device 3 constantly detects the reaction force F by the force sensor 25 and detects the reaction force F over the whole area of the trajectory from the upper empty point to the descending point (FIG. a) see). In the present embodiment, the first workpiece W1 is moved at a low speed from the upper empty point to the descending point. However, the present invention is not limited thereto and may move at an actual speed.

そして、制御装置3は、検出された反力Fに基づいて、下降点における水平方向の位置の補正量X1、上空点における水平方向の位置の補正量X2を演算する(ステップS15、第1の演算工程)(図3(b)(c)参照)。即ち、第1の演算工程では、制御装置3が、第1の検出工程で検出した力の変化量に基づき、軌道の補正量として、上空点及び下降点の各位置姿勢の補正量を演算する。更に、制御装置3は、位置の補正量X1,X2に基づいて、上空点及び下降点の2つの教示点の水平方向の位置を補正する(ステップS16、第1の補正工程)。これにより、上空点及び下降点の間の軌道が補正される。即ち、第1の補正工程では、制御装置3が、第1の演算工程で演算した上空点及び下降点の各位置姿勢の補正量に基づき、上空点及び下降点の各位置姿勢を補正することにより、軌道を補正する。   Then, based on the detected reaction force F, the control device 3 calculates the correction amount X1 of the position in the horizontal direction at the falling point and the correction amount X2 of the position in the horizontal direction at the empty point (step S15) Calculation process) (see FIG. 3 (b) (c)). That is, in the first calculation step, the control device 3 calculates the correction amount of each position and orientation of the up and down points as the correction amount of the trajectory based on the change amount of the force detected in the first detection step. . Further, the control device 3 corrects the horizontal position of the two teaching points of the up and down points based on the position correction amounts X1, X2 (step S16, first correction step). Thereby, the trajectory between the upper empty point and the lower point is corrected. That is, in the first correction step, the control device 3 corrects the positions and orientations of the upward empty point and the downward point based on the correction amounts of the respective positions and orientations of the upward empty point and the downward point calculated in the first calculation step. Correct the trajectory.

1回目の軌道補正の後、制御装置3は、第1のワークW1を上空点から下降点まで低速動作で移動させ、再び力覚センサ25により、少なくとも接触点と下降点とにおける第1のワークW1に作用する反力Fを検出する(ステップS17、第2の検出工程)。ステップS14における1回目の反力Fの検出と同様に、制御装置3は、力覚センサ25により反力Fの検出を常時行っており、上空点から下降点までの軌道の全域に亘って反力Fを検出するものとしている。   After the first trajectory correction, the control device 3 moves the first workpiece W1 from the upper empty point to the descending point at low speed, and the force sensor 25 again causes the first workpiece at at least the contact point and the descending point. A reaction force F acting on W1 is detected (step S17, second detection step). Similar to the first detection of the reaction force F in step S14, the control device 3 constantly detects the reaction force F by the force sensor 25, and the controller 3 is antipodal over the entire trajectory from the upper empty point to the descending point. Force F is to be detected.

そして、制御装置3は、検出された反力Fが予め設定した規定値以内であるか否かを判断する(ステップS18)。ここでの規定値は、その規定値以内の反力Fであれば、軌道の直線性が十分であるとする値としており、適宜設定することができる。制御装置3が、検出された反力Fが規定値以内であると判断した場合は、軌道が補正されたものとして組立作業に移行する(ステップS19)。   Then, the control device 3 determines whether or not the detected reaction force F is within the preset specified value (step S18). If the reaction force F is within the specified value, the specified value here is a value that assumes that the linearity of the track is sufficient, and can be set as appropriate. If the control device 3 determines that the detected reaction force F is within the specified value, the process proceeds to assembly work as the trajectory is corrected (step S19).

制御装置3が、反力Fが規定値以内ではないと判断した場合は、制御装置3は、検出された反力Fに基づいて、下降点における姿勢(傾斜)の補正量θ1、上空点における姿勢(傾斜)の補正量θ2を演算する(ステップS20、第2の演算工程)。更に、制御装置3は、補正量θ1,θ2に基づいて、上空点及び下降点の2つの教示点の姿勢(傾斜)を補正する(ステップS21、第2の補正工程)。これにより、上空点及び下降点の間の軌道が、再び補正される。2回目の軌道補正の後、制御装置3はステップS17以降を実行し、反力Fが規定値以下になって軌道が補正されるまで繰り返し実行する。   When the control device 3 determines that the reaction force F is not within the specified value, the control device 3 corrects the correction amount θ1 of the posture (inclination) at the falling point based on the detected reaction force F, and A correction amount θ2 of posture (tilt) is calculated (step S20, second calculation step). Further, the control device 3 corrects the postures (tilts) of the two teaching points of the up-empty point and the down-point based on the correction amounts θ1 and θ2 (step S21, second correction step). Thereby, the trajectory between the upper empty point and the lower point is corrected again. After the second trajectory correction, the control device 3 executes step S17 and subsequent steps, and repeatedly executes the process until the reaction force F becomes less than the specified value and the trajectory is corrected.

上述したように本実施の形態のロボット装置1によれば、制御装置3が、第1のワークW1を軌道上で移動させ第2のワークW2に対する装着動作を実行させる。その際に、制御装置3は、第1のワークW1及び第2のワークW2の接触動作により第1のワークW1が変位して発生する反力Fを検出する。そして、制御装置3は、反力Fに基づいて軌道の補正量X1,X2,θ1,θ2を演算し、それらに基づいて軌道を補正する。このため、専用治工具を用いて軌道を補正することなく、保持した第1のワークW1を第2のワークW2に対して高精度に組み付けることができるようになる。しかも、本実施の形態のロボット装置1によれば、組立作業に移行した後も、同じ補正教示点を使用し続けるため、ロボット装置が特異点を使うことが無く、安定した動作を実現することができる。   As described above, according to the robot device 1 of the present embodiment, the control device 3 moves the first workpiece W1 on the track to execute the mounting operation for the second workpiece W2. At that time, the control device 3 detects a reaction force F generated by displacement of the first workpiece W1 due to the contact operation of the first workpiece W1 and the second workpiece W2. Then, the control device 3 calculates the correction amounts X1, X2, θ1, θ2 of the trajectory based on the reaction force F, and corrects the trajectory based on them. For this reason, it is possible to assemble the held first work W1 to the second work W2 with high accuracy without correcting the trajectory using a dedicated tool. Moreover, according to the robot device 1 of the present embodiment, the robot device does not use a singular point and realizes stable operation because the same corrected teaching point is continuously used even after shifting to the assembly operation. Can.

また、本実施の形態のロボット装置1によれば、制御装置3は、反力Fに基づいて最初に第1のワークW1の位置を補正する(図5のステップS14〜S16)。そして、制御装置3は、この補正でも軌道のずれを規定量以内に抑えられない場合に、第1のワークW1の姿勢を補正する(図5のステップS17〜S21)。即ち、軌道を補正するために、2段階で補正を行っている。ここで、一般に、アーム20のメンテナンス時における教示点の位置姿勢の誤差としては、姿勢よりも位置で発生し易い。このため、本実施の形態のように、先に位置を補正し、次に姿勢を補正することにより、最初の補正のみで軌道の誤差を規制量以内に抑えられる可能性が高く、時短で効率良い軌道補正作業を実現することができる。   Further, according to the robot device 1 of the present embodiment, the control device 3 first corrects the position of the first workpiece W1 based on the reaction force F (steps S14 to S16 in FIG. 5). And the control apparatus 3 correct | amends the attitude | position of 1st workpiece | work W1 when the shift | offset | difference of a track | orbit can not be suppressed within the stipulated amount also by this correction | amendment (step S17-S21 of FIG. 5). That is, in order to correct the trajectory, correction is performed in two steps. Here, in general, the error in the position and orientation of the teaching point at the time of maintenance of the arm 20 is more likely to occur at a position than the posture. For this reason, as in the present embodiment, by correcting the position first and then correcting the attitude, there is a high possibility that the error of the trajectory can be suppressed within the regulation amount only by the first correction. Good trajectory correction work can be realized.

尚、上述した実施の形態では、制御装置3は、反力Fに基づいて最初に第1のワークW1の位置を補正し、軌道のずれを規定量以内に抑えられない場合に、第1のワークW1の姿勢を補正する場合について説明したが、これには限られない。例えば、制御装置3は、反力Fに基づいて最初に第1のワークW1の姿勢を補正し、軌道のずれを規定量以内に抑えられない場合に、第1のワークW1の位置を補正するようにしてもよい。このように、位置と姿勢との補正を行う順番は、例えば組み付けるワーク同士の形状やロボット本体2の性能等により適宜設定することができる。   In the embodiment described above, the control device 3 first corrects the position of the first workpiece W1 based on the reaction force F, and the first deviation can not be suppressed within the specified amount. Although the case of correcting the posture of the work W1 has been described, the present invention is not limited thereto. For example, the control device 3 first corrects the posture of the first work W1 based on the reaction force F, and corrects the position of the first work W1 when the deviation of the trajectory can not be suppressed within the prescribed amount. You may do so. As described above, the order of performing the correction of the position and the posture can be set as appropriate depending on, for example, the shape of the workpieces to be assembled, the performance of the robot main body 2, and the like.

また、上述した実施の形態では、制御装置3は、第1のワークW1が第2のワークW2から受けた反力Fを検出部としての力覚センサ25により検出し、その反力Fに基づいて各補正量を演算しているが、これには限られない。例えば、第1のワークW1が第2のワークW2との接触により位置姿勢を変位した変位量を検出部としてのカメラ等の位置センサにより検出し、その変位量に基づいて各補正量を演算するようにしてもよい。例えば、カメラを利用する場合は、力覚センサ25を省略することができるので、ハンド21の軽量化を図ることができる。また、検出部として力覚センサ25を用いて反力Fを検出するか、カメラ5を用いて位置姿勢の変位量を検出するかは、例えば組み付けるワーク同士の形状やロボット本体2の性能等により適宜設定することができる。   Further, in the above-described embodiment, the control device 3 detects the reaction force F received by the first work W1 from the second work W2 by the force sensor 25 as a detection unit. Although each correction amount is calculated, it is not limited to this. For example, a displacement amount at which the first work W1 displaces the position and orientation due to contact with the second work W2 is detected by a position sensor such as a camera as a detection unit, and each correction amount is calculated based on the displacement amount. You may do so. For example, when using a camera, since the force sensor 25 can be omitted, the weight of the hand 21 can be reduced. Further, whether the reaction force F is detected using the force sensor 25 as the detection unit or the displacement amount of the position and orientation is detected using the camera 5 depends on, for example, the shape of the workpieces to be assembled and the performance of the robot main body 2 It can be set appropriately.

ここで、検出部としてカメラ5(図1参照)を用いると共に、制御装置3が最初に第1のワークW1の位置を補正し、軌道のずれを規定量以内に抑えられない場合に、第1のワークW1の姿勢を補正する場合について、図6に沿って説明する。カメラ5は、天井に設置されたステレオカメラであるが、これには限られず、例えば第1のワークW1を側方から撮影可能なカメラとしたり、あるいは第1のワークW1の可動方向によっては単眼のカメラであってもよい。また、カメラ5は第1のワークW1を撮影するが、これには限られず、例えばハンド21の指23等を撮影することで、第1のワークW1の位置姿勢を検出するようにしてもよい。即ち、カメラ5は、第1のワークW1及び第2のワークW2の相対位置姿勢の変位量を検出するようになっている。尚、検出部としては、第1のワークW1及び第2のワークW2の間に相対的に作用する反力Fと第1のワークW1及び第2のワークW2の相対位置姿勢の変位量との少なくとも一方を検出するものであればよい。   Here, when the camera 5 (see FIG. 1) is used as the detection unit and the control device 3 first corrects the position of the first workpiece W1 and the deviation of the trajectory can not be suppressed within the prescribed amount, the first The correction of the posture of the workpiece W1 will be described with reference to FIG. The camera 5 is a stereo camera installed on the ceiling, but is not limited thereto. For example, the first work W1 may be a camera capable of photographing from the side, or a single eye depending on the movable direction of the first work W1. It may be a camera of The camera 5 captures the first work W1, but the invention is not limited thereto. For example, the position and orientation of the first work W1 may be detected by capturing the finger 23 or the like of the hand 21. . That is, the camera 5 is configured to detect the amount of displacement of the relative position and orientation of the first workpiece W1 and the second workpiece W2. As the detection unit, the reaction force F acting relatively between the first work W1 and the second work W2 and the displacement amount of the relative position and posture of the first work W1 and the second work W2 What is necessary is just to detect at least one.

まず、ユーザはロボット装置1を起動する(ステップS31)。そして、制御装置3は、動作プログラムを読み込み(ステップS32)、準備動作を実行する(ステップS33)。ここまでの動作は、図5のステップS11〜S13と同様である。   First, the user activates the robot device 1 (step S31). Then, the control device 3 reads the operation program (step S32), and executes the preparation operation (step S33). The operation up to this point is the same as steps S11 to S13 in FIG.

動作の確認後、制御装置3は、第1のワークW1を上空点から下降点まで低速動作で移動させ、カメラ5により、少なくとも接触点と下降点とにおける第1のワークW1の位置姿勢の変位量を検出する(ステップS34、第1の検出工程)。ここでは、カメラ5により、非接触状態と接触状態とを切り換えた時の第1のワークW1及び第2のワークW2の相対姿勢の変位量を検出する。制御装置3は、カメラ5により第1のワークW1の位置姿勢の検出を常時行っており、上空点から下降点までの軌道の全域に亘って検出するものとしている。   After confirmation of the operation, the control device 3 moves the first workpiece W1 from the upper empty point to the descending point at low speed, and the camera 5 displaces the position and orientation of the first workpiece W1 at least at the contact point and the descending point. The amount is detected (step S34, first detection step). Here, the amount of displacement of the relative posture of the first workpiece W1 and the second workpiece W2 when the non-contact state and the contact state are switched by the camera 5 is detected. The control device 3 constantly detects the position and orientation of the first workpiece W1 with the camera 5, and detects the entire position of the trajectory from the upper empty point to the lower point.

そして、制御装置3は、検出された位置姿勢の変位量に基づいて、下降点における姿勢(傾斜)の補正量θ1、上空点における姿勢(傾斜)θ2を演算する(ステップS35、第1の演算工程)。更に、制御装置3は、姿勢の補正量θ1,θ2に基づいて、上空点及び下降点の2つの教示点の姿勢を補正する(ステップS36、第1の補正工程)。これにより、上空点及び下降点の間の軌道が補正される。   Then, the control device 3 calculates the correction amount θ1 of the posture (tilt) at the falling point and the posture (tilt) θ2 at the upper empty point based on the detected displacement amount of the position and posture (step S35, first calculation) Process). Further, the control device 3 corrects the postures of the two teaching points of the upper empty point and the falling point based on the correction amounts θ1 and θ2 of the posture (step S36, first correction step). Thereby, the trajectory between the upper empty point and the lower point is corrected.

1回目の軌道補正の後、制御装置3は、第1のワークW1を上空点から下降点まで低速動作で移動させ、再びカメラ5により、少なくとも接触点と下降点とにおける第1のワークW1の位置姿勢の変位量を検出する(ステップS37、第2の検出工程)。ここでは、カメラ5により、非接触状態と接触状態とを切り換えた時の第1のワークW1及び第2のワークW2の相対位置の変位量を検出する。ステップS34における1回目の位置姿勢の変位量の検出と同様に、制御装置3は、カメラ5により変位量の検出を常時行っており、上空点から下降点までの軌道の全域に亘って変位量を検出するものとしている。   After the first trajectory correction, the control device 3 moves the first workpiece W1 from the upper empty point to the descending point at low speed, and the camera 5 again performs the first work W1 at the contact point and the descending point. The displacement amount of the position and orientation is detected (step S37, second detection step). Here, the amount of displacement of the relative position of the first workpiece W1 and the second workpiece W2 when the non-contacting state and the contacting state are switched by the camera 5 is detected. Similar to the first detection of the amount of displacement of the position and orientation in step S34, the control device 3 always detects the amount of displacement using the camera 5, and the amount of displacement over the entire trajectory from the upper empty point to the descending point Is supposed to be detected.

そして、制御装置3は、検出した変位量が予め設定した規定値以内であるか否かを判断する(ステップS38)。ここでの規定値は、その規定値以内の変位量であれば、軌道の直線性が十分であるとする値としており、適宜設定することができる。制御装置3が、検出された変位量が規定値以内であると判断した場合は、軌道が補正されたものとして組立作業に移行する(ステップS39)。   Then, the control device 3 determines whether or not the detected displacement amount is within the preset specified value (step S38). The specified value here is a value that assumes that the linearity of the track is sufficient if it is a displacement amount within the specified value, and can be set as appropriate. If the control device 3 determines that the detected displacement amount is within the specified value, the process proceeds to assembly work as the trajectory is corrected (step S39).

制御装置3が、変位量が規定値以内ではないと判断した場合は、制御装置3は、検出された変位量に基づいて、下降点における水平方向の位置の補正量X1、上空点における水平方向の位置の補正量X2を演算する(ステップS40、第2の演算工程)。即ち、第2の演算工程では、制御装置3が、第2の検出工程で検出した相対位置姿勢の変位量に基づき、軌道の補正量として、上空点及び下降点の各位置姿勢の補正量を演算する。更に、制御装置3は、補正量X1,X2に基づいて、上空点及び下降点の2つの教示点の位置を補正する(ステップS41、第2の補正工程)。これにより、上空点及び下降点の間の軌道が、再び補正される。即ち、第2の補正工程では、制御装置3が、第2の演算工程で演算した上空点及び下降点の各位置姿勢の補正量に基づき、上空点及び下降点の各位置姿勢を補正することにより、軌道を補正する。2回目の軌道補正の後、制御装置3はステップS37以降を実行し、変位量が規定値以下になって軌道が補正されるまで繰り返し実行する。   When the control device 3 determines that the displacement amount is not within the specified value, the control device 3 corrects the horizontal position correction amount X1 at the falling point and the horizontal direction at the upper empty point based on the detected displacement amount. The position correction amount X2 is calculated (step S40, second calculation step). That is, in the second calculation step, based on the amount of displacement of the relative position and posture detected in the second detection step, the controller 3 corrects the amounts of correction of the positions and postures of the up and down points as trajectory correction amounts. Calculate Furthermore, the control device 3 corrects the positions of the two teaching points of the up-empty point and the falling point based on the correction amounts X1 and X2 (step S41, second correction step). Thereby, the trajectory between the upper empty point and the lower point is corrected again. That is, in the second correction step, the control device 3 corrects the positions and orientations of the upward empty point and the downward point based on the correction amounts of the respective positions and orientations of the upward empty point and the downward point calculated in the second calculation step. Correct the trajectory. After the second trajectory correction, the control device 3 executes step S37 and subsequent steps, and repeatedly executes the process until the displacement amount becomes less than the specified value and the trajectory is corrected.

また、上述した実施の形態では、例えば図5のステップS14のように、第1のワークW1を上空点から下降点に移動させる装着動作において力覚センサ25を用いて反力Fを検出する場合について説明したが、これには限られない。例えば、第1のワークW1と第2のワークW2とを装着した状態でハンド21により第1のワークW1を把持し、第1のワークW1を下降点から上空点まで引き上げる離脱動作において力覚センサ25を用いて反力Fを検出するようにしてもよい。   In the embodiment described above, for example, as in step S14 of FIG. 5, the reaction force F is detected using the force sensor 25 in the mounting operation for moving the first workpiece W1 from the upper empty point to the lower point Although it explained about, it is not restricted to this. For example, in a separation operation in which the first work W1 is gripped by the hand 21 in a state in which the first work W1 and the second work W2 are mounted, and the first work W1 is pulled up from the lowering point to the upper empty point 25 may be used to detect the reaction force F.

また、上述した実施の形態では、反力Fを接触点と下降点との2点で検出した場合について説明したが、これには限られない。例えば、第1のワークW1と第2のワークW2とが非接触状態であれば反力Fは0であるので、少なくとも下降点での反力Fのみを検出することで接触状態における反力Fの傾きΔFを算出し、軌道を補正するようにしてもよい。あるいは、接触点と下降点との間の3点以上で反力Fを検出して、例えば最小二乗法等で反力Fの傾きΔFを算出するようにしてもよい。   Moreover, although the case where the reaction force F was detected by two points of a contact point and a fall point was demonstrated in embodiment mentioned above, it is not restricted to this. For example, if the first work W1 and the second work W2 are not in contact with each other, the reaction force F is 0, so that the reaction force F in the contact state is detected by detecting only the reaction force F at the descending point. The trajectory may be corrected by calculating the slope ΔF of Alternatively, the reaction force F may be detected at three or more points between the contact point and the descending point, and the inclination ΔF of the reaction force F may be calculated by, for example, the least squares method.

また、上述した実施の形態では、保守メンテナンス時等に軌道の補正を実施するようにした場合について説明したが、これには限られず、例えば、図4のステップS5の確認動作時に実施するようにしてもよい。   Further, in the embodiment described above, the case where the correction of the trajectory is performed at the time of maintenance or the like has been described, but the present invention is not limited thereto. For example, it is performed at the time of confirmation operation of step S5 in FIG. May be

また、上述した実施の形態では、軌道は一直線状である場合について説明したが、これには限られない。例えば、軌道は折線状であってもよく、あるいは円弧状や螺旋状等の曲線状であってもよい。いずれの場合も、第1のワークW1と第2のワークW2との接触状態における反力Fや位置姿勢の変位量を検出し、それに基づいて軌道を補正することで、高精度な組み付けを実現することができる。   Moreover, although the case where the track | orbit was linear was demonstrated in embodiment mentioned above, it is not restricted to this. For example, the track may be in the form of a broken line or in the form of a curved line such as an arc or a spiral. In any case, high-precision assembly is realized by detecting the reaction force F and the displacement amount of the position and orientation in the contact state between the first work W1 and the second work W2 and correcting the trajectory based thereon. can do.

<第2の実施形態>
次に、本発明を実施するための第2の実施形態を、図面を参照しながら詳細に説明する。尚、本実施の形態では、組み付けを行う第3のワーク(第1のワーク)W3及び第4のワーク(第2のワーク)W4の形状が、第1の実施形態の各ワークW1,W2の形状と異なっている。なお、ロボット装置1の構成は、第1の実施形態と同様であるので、符号を同じくして詳細な説明を省略する。
Second Embodiment
Next, a second embodiment for carrying out the present invention will be described in detail with reference to the drawings. In the present embodiment, the shapes of the third workpiece (first workpiece) W3 and the fourth workpiece (second workpiece) W4 to be assembled are the same as those of the workpieces W1 and W2 of the first embodiment. It is different from the shape. The configuration of the robot apparatus 1 is the same as that of the first embodiment, so the reference numerals are the same and the detailed description is omitted.

本実施形態では、図7(a)に示すように、ハンド21に把持される第3のワークW3と、これを組み付ける第4のワークW4とは、いずれも円筒形状であって、第3のワークW3の内径は第4のワークW4の外径とほぼ一致している。第3のワークW3は、内周面に中心に向けて突出した形状で、周方向に等間隔を開けて3か所に設けられた突起部W3aを有している。   In the present embodiment, as shown in FIG. 7A, the third work W3 held by the hand 21 and the fourth work W4 for assembling the third work W3 have a cylindrical shape, and the third work W3 is a third work W3. The inner diameter of the workpiece W3 substantially matches the outer diameter of the fourth workpiece W4. The third work W3 has a shape protruding toward the center on the inner circumferential surface, and has projections W3a provided at three locations at equal intervals in the circumferential direction.

第4のワークW4は、外周面において凹んだ形状で、周方向に等間隔を開けて3か所に設けられた略L字形状の係合溝W4aを有している。係合溝W4aは、第4のワークW4の軸方向に平行で第4のワークW4の縁部から軸方向の中央部まで延設された平行部W4bと、平行部W4bの軸方向中央部側の端部に直交して連続する直交部W4dと、を有している。また、3つの係合溝W4aの各平行部W4bは、第4のワークW4の軸方向の一方側に開放している。3つの係合溝W4aの各直交部W4dは、各平行部W4bから直交する周方向を同じくしている。   The fourth work W4 has a substantially L-shaped engagement groove W4a provided in three places spaced at equal intervals in the circumferential direction. The engagement groove W4a is parallel to the axial direction of the fourth work W4 and has a parallel portion W4b extended from the edge of the fourth work W4 to the axial central portion, and the axial central portion side of the parallel portion W4b And an orthogonal portion W4d which is orthogonal to and continuous with the end portion of The parallel portions W4b of the three engagement grooves W4a are open to one side of the fourth work W4 in the axial direction. The orthogonal portions W4d of the three engaging grooves W4a have the same circumferential direction orthogonal to the parallel portions W4b.

第3のワークW3の各突起部W3aは、それぞれ第4のワークW4の係合溝W4aに挿入可能になっている。第3のワークW3の突起部W3aが第4のワークW4の係合溝W4aに挿入して係合することにより、第3のワークW3が第4のワークW4に対して装着される。即ち、第3のワークW3を第4のワークW4に装着する際は、第3のワークW3の突起部W3aを第4のワークW4の軸方向一端部から平行部W4bに挿入する(図8(a)参照)。そして、第3のワークW3の突起部W3aが第4のワークW4の平行部W4bの最奥部に突き当たってから(図8(b)参照)、第3のワークW3を回転させることで、第3のワークW3の突起部W3aが第4のワークW4の直交部W4dに挿入される。更に、第3のワークW3の突起部W3aが第4のワークW4の直交部W4dの最奥部に突き当たると(図8(c)参照)、第3のワークW3が第4のワークW4に対して装着される。一方、第3のワークW3を第4のワークW4から取り外す際は、上述と逆の動作を行う。このように、本実施の形態では、第3のワークW3は、スラスト方向の力を受け止めるスナップリングであり、第4のワークW4は、スナップリングが着脱可能に取り付けられるユニットとなっている。   Each protrusion W3a of the third work W3 is insertable into the engagement groove W4a of the fourth work W4. The protrusion W3a of the third work W3 is inserted into and engaged with the engagement groove W4a of the fourth work W4, whereby the third work W3 is attached to the fourth work W4. That is, when the third work W3 is attached to the fourth work W4, the projection W3a of the third work W3 is inserted from one axial end of the fourth work W4 into the parallel part W4b (see FIG. a) see). Then, after the protrusion W3a of the third work W3 abuts on the deepest part of the parallel part W4b of the fourth work W4 (see FIG. 8B), the third work W3 is rotated, The protrusion W3a of the third work W3 is inserted into the orthogonal portion W4d of the fourth work W4. Furthermore, when the projection W3a of the third work W3 abuts on the deepest part of the orthogonal part W4d of the fourth work W4 (refer to FIG. 8C), the third work W3 works against the fourth work W4. Be worn. On the other hand, when removing the third work W3 from the fourth work W4, the operation reverse to the above is performed. As described above, in the present embodiment, the third work W3 is a snap ring that receives the force in the thrust direction, and the fourth work W4 is a unit to which the snap ring is detachably attached.

ここで、図7乃至図9を利用して、制御装置3が第3のワークW3及び第4のワークW4を装着動作させて反力Fを検出し、軌道の補正量を演算して、軌道を修正する原理について説明する。なお、本実施形態では、反力Fとは、力覚センサ25により検出された先端リンク67に対してハンド21から作用する外力のうち、Z方向の力、即ち先端リンク67の軸方向に沿った力としている。また、ここでの反力Fとしては、力覚センサ25により検出された先端リンク67に対してハンド21から作用する外力のうち、Z方向の力以外のX,Y方向の力及び3方向のモーメント(Mx,My,Mz)は含まない。また、力覚センサ25の座標系はハンド21の座標系と一体化されており、ハンド21の位置姿勢の変化に伴って力覚センサ25の座標系も移動・回転する。   Here, the control device 3 mounts the third work W3 and the fourth work W4 using FIG. 7 to FIG. 9, detects the reaction force F, calculates the correction amount of the track, and calculates the track The principle of correcting In the present embodiment, the reaction force F is a force in the Z direction, ie, an axial direction of the tip link 67 among external forces acting on the tip link 67 detected by the force sensor 25 from the hand 21. Power. Further, as the reaction force F in this case, among external forces acting from the hand 21 on the tip link 67 detected by the force sensor 25, forces in the X and Y directions other than the force in the Z direction and three directions. The moments (Mx, My, Mz) are not included. Further, the coordinate system of the force sensor 25 is integrated with the coordinate system of the hand 21, and the coordinate system of the force sensor 25 also moves and rotates with the change of the position and orientation of the hand 21.

図7(b)に示すように、第3のワークW3が第4のワークW4の真上で接触することなく適宜距離だけ離れた状態(非接触状態)で、第3のワークW3の中心軸W3cと第4のワークW4の中心軸W4cとが一致するように配置する。この時の第3のワークW3の位置姿勢を上空点(第1の教示点)とする。この時は、力覚センサ25により検出される反力Fは0となる。   As shown in FIG. 7 (b), the central axis of the third work W3 in a state (non-contact state) where the third work W3 is appropriately separated by a suitable distance without contacting immediately above the fourth work W4. It arranges so that W3c and central axis W4c of the 4th work W4 may be in agreement. The position and orientation of the third workpiece W3 at this time is set as an empty point (first teaching point). At this time, the reaction force F detected by the force sensor 25 is zero.

そして、ロボット本体2により、第3のワークW3の中心軸W3cと第4のワークW4の中心軸W4cとを一致させながら、第3のワークW3を下方に移動させる。これにより、図8(a)に示すように、第3のワークW3の下端面の一部と第4のワークW4の上端面の一部とが接触する。この時の第3のワークW3の位置姿勢を接触点(第3の教示点)とする。   Then, the third work W3 is moved downward while the central axis W3c of the third work W3 and the central axis W4c of the fourth work W4 coincide with each other by the robot body 2. Thereby, as shown to Fig.8 (a), a part of lower end surface of 3rd workpiece | work W3 and a part of upper end surface of 4th workpiece | work W4 contact. The position and orientation of the third workpiece W3 at this time is taken as a contact point (third teaching point).

更に、ロボット本体2により、第3のワークW3の中心軸W3cと第4のワークW4の中心軸W4cとを一致させながら、第3のワークW3を下方に移動させる。これにより、図8(b)に示すように、第3のワークW3の突起部W3aが、第4のワークW4の平行部W4bの最下部に突き当たる。この時の第3のワークW3の位置姿勢を切換点とする。   Further, the third work W3 is moved downward while the central axis W3c of the third work W3 and the central axis W4c of the fourth work W4 coincide with each other by the robot body 2. As a result, as shown in FIG. 8B, the projection W3a of the third work W3 abuts on the lowermost portion of the parallel part W4b of the fourth work W4. The position and orientation of the third workpiece W3 at this time is taken as a switching point.

そして、ロボット本体2により、第3のワークW3の中心軸W3cと第4のワークW4の中心軸W4cとを一致させながら、第3のワークW3をZ軸(中心軸W3c,W4c)を中心にR方向に回転させる。これにより、図8(c)に示すように、第3のワークW3の突起部W3aが、第4のワークW4の直交部W4dの最奥部まで嵌合するようになる。この時の第3のワークW3の位置姿勢を、下降点(第2の教示点)とする。なお、第3のワークW3のZ軸を中心とする回転に伴い、ハンド21の座標系も回転し、X軸及びY軸の方向が変化する。このとき、第3のワークW3は、Z軸を中心に回転するので、Z軸方向の位置は変わらない。また、上空点と下降点とを結んだ直線が所定の軌道となる。即ち、本実施の形態では、接触点における軌道は直線状の軌道であり、下降点における軌道は接触点における軌道の直線と同方向の軸を中心とする回転方向の軌道である。   Then, while the central axis W3c of the third workpiece W3 and the central axis W4c of the fourth workpiece W4 are aligned by the robot body 2, the third workpiece W3 is centered on the Z-axis (central axes W3c and W4c) Rotate in the R direction. As a result, as shown in FIG. 8C, the projection W3a of the third work W3 is fitted to the deepest part of the orthogonal part W4d of the fourth work W4. The position and orientation of the third workpiece W3 at this time is taken as a falling point (second teaching point). Note that, with the rotation of the third workpiece W3 about the Z axis, the coordinate system of the hand 21 also rotates, and the directions of the X axis and the Y axis change. At this time, since the third work W3 rotates about the Z axis, the position in the Z axis direction does not change. Further, a straight line connecting the upper empty point and the lower point is a predetermined trajectory. That is, in the present embodiment, the trajectory at the contact point is a linear trajectory, and the trajectory at the falling point is a trajectory in the rotational direction about an axis in the same direction as the straight line at the contact point.

この反力Fは、図7(b)に示す端面の一部(とば口)同士が接触した状態(図9(a)の接触点)から、図8(c)に示す最後まで嵌合した状態(図9(a)の下降点(切換点))まで、直線的に上昇する。即ち、本実施の形態では、反力Fは、第3のワークW3及び第4のワークW4の接触動作により第3のワークW3が変位する変化量である。尚、本実施形態では、図8(a)の状態及び図8(c)の状態、即ち、接触点と下降点との各状態が、それぞれ第3のワークW3と第4のワークW4との接触状態である。   The reaction force F is fitted from the state (contact point in FIG. 9 (a)) in which part of the end face shown in FIG. 7 (b) is in contact (the contact point in FIG. 9 (a)) to the end shown in FIG. It rises linearly to the state (falling point (switching point) in FIG. 9A). That is, in the present embodiment, the reaction force F is a change amount in which the third work W3 is displaced by the contact operation of the third work W3 and the fourth work W4. In the present embodiment, the state of FIG. 8A and the state of FIG. 8C, that is, the states of the contact point and the falling point are the third work W3 and the fourth work W4, respectively. It is in a contact state.

ここで、例えば、図9(a)に示すように、上空点から接触点までのZ方向のストロークをA2、接触点から下降点(切換点)までのZ方向のストロークをA1とする。力覚センサ25により検出されたZ方向の反力Fが、接触点から下降点まで直線的に上昇して、下降点(切換点)においてF1になったとする。また、予め計測した相対位置姿勢の変位がない場合の参照波形を理論値により取得し、その時の力覚センサ25により検出されたZ方向の反力Fが、接触点から下降点まで折線的に上昇して下降点においてF0になったとする。この場合、相対位置姿勢の変位がある場合とない場合との接触点から下降点までの反力Fの差分の傾きΔFは、ΔF=(F1−F0)/A1になる。   Here, for example, as shown in FIG. 9A, the stroke in the Z direction from the upper empty point to the contact point is A2, and the stroke in the Z direction from the contact point to the falling point (switching point) is A1. It is assumed that the reaction force F in the Z direction detected by the force sensor 25 linearly rises from the contact point to the falling point and becomes F1 at the falling point (switching point). In addition, the reference waveform in the case where there is no displacement of the relative position and orientation measured in advance is acquired as a theoretical value, and the reaction force F in the Z direction detected by the force sensor 25 at that time is broken linewise from the contact point to the falling point Suppose that it rises and it becomes F0 at the falling point. In this case, the slope ΔF of the difference between the reaction force F from the contact point to the falling point with and without the relative position / posture displacement is ΔF = (F1−F0) / A1.

次に、図9(b)に示すように、接触点から下降点までの反力Fの差分の傾きΔFを上空点にまで延長し、第4のワークW4が上空点まで延長されていたとした場合に第3のワークW3が受けるであろう反力F2を想定して演算する。この反力F2は、F2=ΔF×A2になる。尚、図9(b)に示すように、反力F2は、下降点(反力F1)及び接触点(反力0)を結んだ直線の上空点における交点と、下降点(反力F0)及び接触点(反力0)を結んだ直線の上空点における交点と、の差分として、作図によっても求めることができる。   Next, as shown in FIG. 9B, the slope ΔF of the difference of the reaction force F from the contact point to the falling point is extended to the upper empty point, and the fourth work W4 is extended to the upper empty point. In this case, it is calculated on the assumption of a reaction force F2 that the third work W3 will receive. The reaction force F2 is F2 = ΔF × A2. As shown in FIG. 9 (b), the reaction force F2 is the point of intersection of the falling point (reaction force F1) and the upper empty point of the straight line connecting the contact point (reaction force 0) and the falling point (reaction force F0). And it can obtain | require also by drawing as a difference of and the intersection in the upper empty point of the straight line which connected the contact point (reaction force 0).

更に、図9(c)に示すように、上空点及び下降点について、反力FをZ方向の長さである補正量Zに変換する。このため、ロボット本体2の弾性率をKとすると、上空点での補正量Z2は、Z2=F2/Kになり、下降点での補正量Z1は、Z1=F1/Kになる。これら上空点及び下降点に対する補正量Z1,Z2が、軌道の補正量となる。そして、現在の上空点の位置姿勢のZ方向に補正量Z2を加算して補正し、現在の下降点の位置姿勢のZ方向に補正量Z1を加算して補正し、補正後の上空点と下降点とを結んだ直線を補正後の軌道とすることで、軌道の補正を実行することができる。   Furthermore, as shown in FIG. 9C, the reaction force F is converted into a correction amount Z, which is the length in the Z direction, for the up empty point and the down point. Therefore, assuming that the elastic modulus of the robot body 2 is K, the correction amount Z2 at the upper empty point is Z2 = F2 / K, and the correction amount Z1 at the falling point is Z1 = F1 / K. The correction amounts Z1 and Z2 with respect to the upper empty point and the falling point become correction amounts of the trajectory. Then, the correction amount Z2 is added to the Z direction of the position and orientation of the current sky point to correct it, and the correction amount Z1 is added to correct the Z direction of the position and posture of the current drop point to correct the sky space after correction. Trajectory correction can be performed by using the straight line connecting the falling point as the corrected trajectory.

上述したロボット装置1の制御方法の手順は、第1の実施形態(図4及び図5)と同様であるので、詳細な説明を省略する。また、第3のワークW3に対する位置の補正と姿勢の補正との順序は、第1の実施形態と同様に適宜設定することができる。   The procedure of the control method of the robot apparatus 1 described above is the same as that of the first embodiment (FIG. 4 and FIG. 5), and thus the detailed description will be omitted. In addition, the order of the correction of the position and the correction of the posture with respect to the third workpiece W3 can be appropriately set as in the first embodiment.

上述したように本実施の形態のロボット装置1によっても、制御装置3が、第3のワークW3を軌道上で移動させ第4のワークW4に対する装着動作を実行させる。その際に、制御装置3は、第3のワークW3及び第4のワークW4の接触動作により第3のワークW3が変位して発生する反力Fを検出する。そして、制御装置3は、反力Fに基づいて軌道のZ方向の補正量Z1,Z2を演算し、それらに基づいて軌道を補正する。このため、専用治工具を用いて軌道を補正することなく、保持した第3のワークW3を第4のワークW4に対して高精度に組み付けることができるようになる。   As described above, also in the robot apparatus 1 according to the present embodiment, the control device 3 moves the third work W3 on the track to execute the mounting operation on the fourth work W4. At that time, the control device 3 detects a reaction force F generated by displacement of the third work W3 due to the contact operation of the third work W3 and the fourth work W4. Then, the control device 3 calculates the correction amounts Z1 and Z2 in the Z direction of the trajectory based on the reaction force F, and corrects the trajectory based on them. For this reason, it is possible to assemble the held third work W3 to the fourth work W4 with high accuracy, without correcting the trajectory using a dedicated tool.

また、本実施の形態においても、第1の実施形態と同様に、力覚センサ25を用いずに、第3のワークW3が第4のワークW4との接触により位置姿勢を変位した変位量をカメラ5により検出し、その変位量に基づいて各補正量を演算するようにしてもよい。   Also in the present embodiment, similarly to the first embodiment, the displacement amount at which the third work W3 is displaced in position and orientation due to the contact with the fourth work W4 without using the force sensor 25 is obtained. Each correction amount may be calculated based on the amount of displacement detected by the camera 5.

<第3の実施形態>
次に、本発明を実施するための第3の実施形態を、図面を参照しながら詳細に説明する。尚、本実施の形態では、組み付けを行う第5のワーク(第1のワーク)W5及び第6のワーク(第2のワーク)W6の形状が、第1の実施形態の各ワークW1,W2の形状と異なっている。なお、ロボット装置1の構成は、第1の実施形態と同様であるので、符号を同じくして詳細な説明を省略する。
Third Embodiment
Next, a third embodiment for carrying out the present invention will be described in detail with reference to the drawings. In the present embodiment, the shapes of the fifth work (first work) W5 to be assembled and the sixth work (second work) W6 are the same as those of the works W1 and W2 of the first embodiment. It is different from the shape. The configuration of the robot apparatus 1 is the same as that of the first embodiment, so the reference numerals are the same and the detailed description is omitted.

本実施形態では、例えば、図11(a)〜(c)に示すように、ハンド21に把持される第5のワークW5は円板形状であり、これを組み付ける第6のワークW6は円筒形状である。第5のワークW5は、一側面から中心軸W5cに沿って突出し、先端を外周側に曲折した爪形状の係合部W5aを有している。第6のワークW6は、軸方向の一端部から内周側にフランジ状に突出した形状の縁部W6aを有している。   In the present embodiment, for example, as shown in FIGS. 11A to 11C, the fifth work W5 held by the hand 21 has a disk shape, and the sixth work W6 for assembling the fifth work W5 has a cylindrical shape. It is. The fifth work W5 protrudes from one side surface along the central axis W5c, and has a claw-shaped engaging portion W5a whose tip is bent to the outer peripheral side. The sixth work W6 has an edge W6a shaped like a flange that protrudes inward from one end in the axial direction.

第5のワークW5と第6のワークW6とは、第5のワークW5の係合部W5aが第6のワークW6の縁部W6aに係合した際に、互いの中心軸W5c,W6cが一致するように形成されている(図11(c)参照)。そして、第5のワークW5の係合部W5aが第6のワークW6の縁部W6aに係合することにより、第5のワークW5が第6のワークW6に対して装着される。即ち、第5のワークW5を第6のワークW6に装着する際は、第5のワークW5を第6のワークW6の縁部W6a側から接近させ(図11(a)参照)、第5のワークW5を第6のワークW6の縁部W6aに面接触させる(図11(b)参照)。そして、第5のワークW5を軸方向に垂直に摺動させ、第5のワークW5の係合部W5aを第6のワークW6の縁部W6aに係合する(図11(c)参照)。これにより、第5のワークW5が第6のワークW6に対して着脱可能に装着される。一方、第5のワークW5を第6のワークW6から取り外す際は、上述と逆の動作を行う。   When the engaging portion W5a of the fifth work W5 is engaged with the edge W6a of the sixth work W6, the fifth work W5 and the sixth work W6 coincide with each other in central axes W5c and W6c. It forms so that (refer FIG.11 (c)). Then, the engagement portion W5a of the fifth work W5 engages with the edge W6a of the sixth work W6, whereby the fifth work W5 is attached to the sixth work W6. That is, when attaching the fifth work W5 to the sixth work W6, the fifth work W5 is made to approach from the edge W6a side of the sixth work W6 (see FIG. 11A); The workpiece W5 is in surface contact with the edge W6a of the sixth workpiece W6 (see FIG. 11B). Then, the fifth work W5 is slid vertically in the axial direction, and the engagement portion W5a of the fifth work W5 is engaged with the edge W6a of the sixth work W6 (see FIG. 11C). As a result, the fifth work W5 is detachably attached to the sixth work W6. On the other hand, when removing the fifth work W5 from the sixth work W6, the operation reverse to the above is performed.

ここで、図10乃至図12を利用して、制御装置3が第5のワークW5及び第6のワークW6を装着動作させて反力Fを検出し、軌道の補正量を演算して、軌道を修正する原理について説明する。なお、本実施形態では、反力Fとは、力覚センサ25により検出された先端リンク67に対してハンド21から作用する外力のうち、X方向の力としている。即ち、反力Fは、先端リンク67の軸方向(Z方向)に直交し、第5のワークW5の係合部W5aを第6のワークW6の縁部W6aに係脱する方向であるX方向の力としている(図11(c)等参照)。また、ここでの反力Fとしては、力覚センサ25により検出された先端リンク67に対してハンド21から作用する外力のうち、X方向の力以外のY,Z方向の力及び3方向のモーメント(Mx,My,Mz)は含まない。   Here, the control device 3 mounts the fifth work W5 and the sixth work W6 using FIG. 10 to FIG. 12, detects the reaction force F, calculates the correction amount of the track, and calculates the track The principle of correcting In the present embodiment, the reaction force F is a force in the X direction among external forces acting on the tip link 67 detected by the force sensor 25 from the hand 21. That is, the reaction force F is orthogonal to the axial direction (Z direction) of the tip link 67, and is an X direction in which the engaging portion W5a of the fifth work W5 is engaged with or released from the edge W6a of the sixth work W6. (See Fig. 11 (c) etc.). Further, as the reaction force F in this case, among external forces acting from the hand 21 on the tip link 67 detected by the force sensor 25, forces in the Y and Z directions other than the force in the X direction and in three directions. The moments (Mx, My, Mz) are not included.

図10(a)に示すように、第5のワークW5を、第6のワークW6に接触することなく適宜距離だけ離れた状態(非接触状態)にして配置する。この時、第5のワークW5は、水平で、係合部W5aの真下に第6のワークW6が存在せず、係合部W5aの最下部が第6のワークW6の最上面よりも下方に位置した状態でハンド21により保持されるようにする。この時の第5のワークW5の位置姿勢を上空点(第1の教示点)とする。この時は、力覚センサ25により検出される反力Fは0となる。   As shown in FIG. 10A, the fifth work W5 is disposed in a state (non-contact state) appropriately separated by a distance without contacting the sixth work W6. At this time, the fifth work W5 is horizontal, and the sixth work W6 does not exist immediately below the engagement portion W5a, and the lowermost portion of the engagement portion W5a is lower than the uppermost surface of the sixth work W6. It is made to hold | maintain by the hand 21 in the positioned state. The position and orientation of the fifth work W5 at this time is set as an empty point (first teaching point). At this time, the reaction force F detected by the force sensor 25 is zero.

そして、ロボット本体2により、第5のワークW5の中心軸W5cと第6のワークW6の中心軸W6cとが一致する方向(X方向)に第5のワークW5を移動させる。これにより、図10(b)に示すように、第5のワークW5の係合部W5aが第6のワークW6の側面に当接する。この時の第5のワークW5の位置姿勢を接触点(第3の教示点)とする。   Then, the fifth work W5 is moved by the robot body 2 in the direction (X direction) in which the central axis W5c of the fifth work W5 and the central axis W6c of the sixth work W6 coincide. As a result, as shown in FIG. 10B, the engaging portion W5a of the fifth work W5 abuts on the side surface of the sixth work W6. The position and orientation of the fifth work W5 at this time is taken as a contact point (third teaching point).

更に、ロボット本体2により、第5のワークW5を上方に移動させる。これにより、図10(c)に示すように、第5のワークW5の係合部W5aが第6のワークW6の側方に位置しなくなる。そして、ロボット本体2により、第5のワークW5の係合部W5aが第6のワークW6の縁部W6aを超えるまで第5のワークW5をX方向に移動させる。これにより、図11(a)に示すように、第5のワークW5の係合部W5aが第6のワークW6の縁部W6aよりも中心軸W6c側に位置する。   Further, the fifth work W5 is moved upward by the robot body 2. As a result, as shown in FIG. 10C, the engaging portion W5a of the fifth work W5 is not located on the side of the sixth work W6. Then, the fifth work W5 is moved in the X direction by the robot body 2 until the engagement portion W5a of the fifth work W5 exceeds the edge W6a of the sixth work W6. As a result, as shown in FIG. 11A, the engaging portion W5a of the fifth work W5 is located closer to the central axis W6c than the edge W6a of the sixth work W6.

更に、ロボット本体2により、第5のワークW5を下方に移動させる。これにより、図11(b)に示すように、第5のワークW5が、第6のワークW6の上面に突き当たる。このとき、第5のワークW5の係合部W5aは、第6のワークW6の縁部W6aの内側に入り込み、係合部W5aと縁部W6aとは干渉しない。   Further, the fifth work W5 is moved downward by the robot body 2. Thereby, as shown in FIG. 11B, the fifth work W5 abuts on the top surface of the sixth work W6. At this time, the engaging portion W5a of the fifth work W5 enters the inside of the edge W6a of the sixth work W6, and the engaging portion W5a does not interfere with the edge W6a.

そして、ロボット本体2により、第5のワークW5の中心軸W5cと第6のワークW6の中心軸W6cとを一致させるよう、即ち係合部W5aを縁部W6aに係合するように第5のワークW5をX方向に移動させる。これにより、図11(c)に示すように、第5のワークW5の係合部W5aが、第6のワークW6の縁部W6aに係合する。この時の第5のワークW5の位置姿勢を、下降点(第2の教示点)とする。この時、第5のワークW5の中心軸W5cと第6のワークW6の中心軸W6cとの位置や角度がずれていると、第5のワークW5の係合部W5a及び第6のワークW6の縁部W6a以外の箇所で互いに接触し、互いに余分な反力Fが発生する。また、上空点と下降点とを結んだ直線が所定の軌道となる。即ち、本実施の形態では、下降点における軌道と接触点における軌道とは、同方向の直線状の軌道であり、かつ、各軌道の間では第5のワークW5及び第6のワークW6は非接触である。   Then, the robot main body 2 makes the fifth work W5 c of the fifth work W5 coincide with the center axis W6 c of the sixth work W6, that is, the engagement portion W5 a is engaged with the edge W6 a. The workpiece W5 is moved in the X direction. As a result, as shown in FIG. 11C, the engaging portion W5a of the fifth work W5 engages with the edge W6a of the sixth work W6. The position and orientation of the fifth work W5 at this time is taken as a lowering point (second teaching point). At this time, when the position or angle between the central axis W5c of the fifth work W5 and the central axis W6c of the sixth work W6 is shifted, the engagement portion W5a of the fifth work W5 and the sixth work W6 are They contact with each other at places other than the edge W6a, and an excessive reaction force F is generated. Further, a straight line connecting the upper empty point and the lower point is a predetermined trajectory. That is, in the present embodiment, the trajectory at the falling point and the trajectory at the contact point are linear trajectories in the same direction, and the fifth workpiece W5 and the sixth workpiece W6 are not between each trajectory. It is a touch.

この反力Fは、図10(b)に示す第5のワークW5の係合部W5aが第6のワークW6の側部に接触した状態(図12(a)の接触点)から、図11(c)に示す最後まで嵌合した状態(図12(a)の下降点)まで、折線状に昇降する。即ち、本実施の形態では、反力Fは、第5のワークW5及び第6のワークW6の接触動作により第5のワークW5が変位する変化量である。尚、図10(b)の状態及び図11(c)の状態、即ち、接触点と下降点との各状態が、それぞれ第5のワークW5と第6のワークW6との接触状態である。   This reaction force F is shown in FIG. 11B from the state (the contact point in FIG. 12A) in which the engaging portion W5a of the fifth workpiece W5 shown in FIG. 10B contacts the side portion of the sixth workpiece W6. It moves up and down in the form of a broken line to the state (falling point in FIG. 12 (a)) which is fitted up to the end shown in (c). That is, in the present embodiment, the reaction force F is a change amount in which the fifth work W5 is displaced by the contact operation of the fifth work W5 and the sixth work W6. The state of FIG. 10 (b) and the state of FIG. 11 (c), that is, each state of the contact point and the lowering point is a contact state of the fifth work W5 and the sixth work W6.

ここで、例えば、図12(a)に示すように、上空点から接触点までのX方向のストロークをA2、接触点から下降点までのX方向のストロークをA1とする。力覚センサ25により検出されたX方向の反力Fが、接触点から下降点まで折線的に昇降して、接触点においてf1、下降点においてF1になったとする。また、予め計測した相対位置姿勢の変位がない場合の参照波形を理論値により取得し、その時の力覚センサ25により検出されたX方向の反力Fが、接触点から下降点まで折線的に昇降して、接触点においてf0、下降点においてF0になったとする。この場合、相対位置姿勢の変位がある場合とない場合との接触点から下降点までの反力Fの差分の傾きΔFは、ΔF=((F1−F0)−(f1−f0))/A1になる。   Here, for example, as shown in FIG. 12A, the stroke in the X direction from the upper empty point to the contact point is A2, and the stroke in the X direction from the contact point to the falling point is A1. It is assumed that the reaction force F in the X direction detected by the force sensor 25 ascends and descends from the contact point to the falling point, and becomes f1 at the contact point and F1 at the falling point. In addition, the reference waveform in the case where there is no displacement of the relative position and orientation measured in advance is acquired as a theoretical value, and the reaction force F in the X direction detected by the force sensor 25 at that time is broken linewise from the contact point to the falling point It raises and lowers, and it will be assumed that it became f0 in a contact point, and became F0 in a fall point. In this case, the slope ΔF of the difference between the reaction force F from the contact point to the falling point with and without displacement of the relative position and posture is ΔF = ((F1−F0) − (f1−f0)) / A1. become.

次に、図12(b)に示すように、接触点から下降点までの反力Fの差分の傾きΔFを上空点にまで延長し、第6のワークW6が上空点まで延長されていたとした場合に第5のワークW5が受けるであろう反力F2を想定して演算する。この反力F2は、F2=ΔF×A2+(f1−f0)になる。尚、同図に示すように、反力F2は、下降点(反力F1)及び接触点(反力f1)を結んだ直線の上空点における交点と、下降点(反力F0)及び接触点(反力f0)を結んだ直線の上空点における交点と、の差分として、作図によっても求めることができる。   Next, as shown in FIG. 12B, the slope ΔF of the difference of the reaction force F from the contact point to the falling point is extended to the upper empty point, and the sixth work W6 is extended to the upper empty point. In this case, it is calculated on the assumption of the reaction force F2 that the fifth work W5 will receive. The reaction force F2 is F2 = .DELTA.F.times.A2 + (f1-f0). As shown in the figure, the reaction force F2 is the point of intersection of the falling point (reaction force F1) and the contact point (reaction force f1) on the straight line connecting the depression point (reaction force F0) and the contact point It can also be determined by drawing as the difference between the point of intersection of the upper empty point of the straight line connecting the (reaction force f0).

更に、図12(c)に示すように、上空点及び下降点について、反力FをX方向の長さである補正量Xに変換する。このため、ロボット本体2の弾性率をKとすると、上空点での補正量X2は、X2=F2/Kになり、下降点での補正量X1は、X1=F1/Kになる。これら上空点及び下降点に対する補正量X1,X2が、軌道の補正量となる。そして、現在の上空点の位置姿勢のX方向に補正量X2を加算して補正し、現在の下降点の位置姿勢のX方向に補正量X1を加算して補正し、補正後の上空点と下降点とを結んだ直線を補正後の軌道とすることで、軌道の補正を実行することができる。   Further, as shown in FIG. 12C, the reaction force F is converted into a correction amount X, which is the length in the X direction, for the up empty point and the down point. Therefore, assuming that the elastic modulus of the robot body 2 is K, the correction amount X2 at the upper empty point is X2 = F2 / K, and the correction amount X1 at the falling point is X1 = F1 / K. The correction amounts X1 and X2 with respect to the upper empty point and the falling point become correction amounts of the trajectory. Then, the correction amount X2 is added to the X direction of the position and orientation of the current sky point to correct it, and the correction amount X1 is added to correct the X direction of the position and posture of the current drop point to correct the sky space after correction. Trajectory correction can be performed by using the straight line connecting the falling point as the corrected trajectory.

上述したロボット装置1の制御方法の手順は、第1の実施形態(図4及び図5)と同様であるので、詳細な説明を省略する。また、第5のワークW5に対する位置の補正と姿勢の補正との順序は、第1の実施形態と同様に適宜設定することができる。   The procedure of the control method of the robot apparatus 1 described above is the same as that of the first embodiment (FIG. 4 and FIG. 5), and thus the detailed description will be omitted. In addition, the order of the correction of the position and the correction of the posture with respect to the fifth workpiece W5 can be set as appropriate as in the first embodiment.

上述したように本実施の形態のロボット装置1によっても、制御装置3が、第5のワークW5を軌道上で移動させ第6のワークW6に対する装着動作を実行させる。その際に、制御装置3は、第5のワークW5及び第6のワークW6の接触動作により第5のワークW5が変位して発生する反力Fを検出する。そして、制御装置3は、反力Fに基づいて軌道のX方向の補正量X1,X2を演算し、それらに基づいて軌道を補正する。このため、専用治工具を用いて軌道を補正することなく、保持した第5のワークW5を第6のワークW6に対して高精度に組み付けることができるようになる。   As described above, also in the robot apparatus 1 according to the present embodiment, the control device 3 moves the fifth work W5 on the track to execute the mounting operation on the sixth work W6. At that time, the control device 3 detects a reaction force F generated by displacement of the fifth work W5 due to the contact operation of the fifth work W5 and the sixth work W6. Then, the control device 3 calculates the correction amounts X1 and X2 in the X direction of the trajectory based on the reaction force F, and corrects the trajectory based on them. For this reason, it becomes possible to assemble the held fifth work W5 with high precision to the sixth work W6 without correcting the trajectory using a dedicated tool.

また、本実施の形態においても、第1の実施形態と同様に、力覚センサ25を用いずに、第5のワークW5が第6のワークW6との接触により位置姿勢を変位した変位量をカメラ5により検出し、その変位量に基づいて各補正量を演算するようにしてもよい。   Further, also in the present embodiment, similarly to the first embodiment, the displacement amount at which the fifth work W5 is displaced in position and orientation due to the contact with the sixth work W6 without using the force sensor 25 is obtained. Each correction amount may be calculated based on the amount of displacement detected by the camera 5.

<第4の実施形態>
次に、本発明を実施するための第4の実施形態を、図面を参照しながら詳細に説明する。尚、本実施の形態では、組み付けを行う第7のワーク(第1のワーク)W7及び第8のワーク(第2のワーク)W8の形状が、第1の実施形態の各ワークW1,W2の形状と異なっている。なお、ロボット装置1の構成は、第1の実施形態と同様であるので、符号を同じくして詳細な説明を省略する。
Fourth Embodiment
Next, a fourth embodiment for carrying out the present invention will be described in detail with reference to the drawings. In the present embodiment, the shapes of the seventh work (first work) W7 and the eighth work (second work) W8 to be assembled are the same as those of the works W1 and W2 of the first embodiment. It is different from the shape. The configuration of the robot apparatus 1 is the same as that of the first embodiment, so the reference numerals are the same and the detailed description is omitted.

本実施形態では、例えば、図13(a)〜図14(b)に示すように、ハンド21に把持される第7のワークW7は円板形状であり、これを組み付ける第8のワークW8は円筒形状である。第7のワークW7は、一側面から中心軸W7cに沿って突出した形状の突出部W7aと、突出部W7aの先端部から内周側に曲折した爪形状の係合部W7bと、突出部W7aの根元部から内周側に突出した形状の爪部W7dと、を有している。第8のワークW8は、軸方向の一端部から内周側にフランジ状に突出した形状の縁部W8aを有している。   In the present embodiment, for example, as shown in FIGS. 13A to 14B, the seventh work W7 held by the hand 21 has a disk shape, and the eighth work W8 for assembling the seventh work W7 is It has a cylindrical shape. The seventh work W7 has a protrusion W7a having a shape protruding along the central axis W7c from one side, a claw-shaped engagement portion W7b bent to the inner peripheral side from the tip of the protrusion W7a, and the protrusion W7a And a claw portion W7d having a shape protruding to the inner peripheral side from the root portion. The eighth work W8 has an edge W8a shaped like a flange that protrudes inward from one end in the axial direction.

第7のワークW7と第8のワークW8とは、第8のワークW8に対して第7のワークW7が90°傾斜して、第7のワークW7の突出部W7aと係合部W7bと爪部W7dとが第8のワークW8の縁部W8aに係合することで装着される(図14(b)参照)。即ち、第7のワークW7と第8のワークW8とは、第7のワークW7の突出部W7aと係合部W7bと爪部W7dとが第8のワークW8の縁部W8aに係合した際に、互いの中心軸W7c,W8cが直交して装着されるように形成されている。   In the seventh work W7 and the eighth work W8, the seventh work W7 is inclined 90 ° with respect to the eighth work W8, and the protrusion W7a, the engagement part W7b, and the claws of the seventh work W7 The portion W7d is mounted by being engaged with the edge W8a of the eighth work W8 (see FIG. 14B). That is, in the seventh work W7 and the eighth work W8, when the protrusion W7a, the engagement part W7b, and the claw W7d of the seventh work W7 engage with the edge W8a of the eighth work W8. The respective central axes W7c and W8c are formed to be mounted at right angles to each other.

第7のワークW7を第8のワークW8に装着する際は、互いの中心軸W7c,W8cをZ軸方向に平行にした状態で、第7のワークW7の突出部W7aを第8のワークW8の縁部W8aに内周側からX方向に接近させる(図13(a)参照)。そして、第7のワークW7の突出部W7aを、第8のワークW8の縁部W8aに接触させる(図13(b)参照)。第7のワークW7を、突出部W7aと縁部W8aとの接点においてY軸を中心に回転させる(図14(a)参照)。そして、第7のワークW7の中心軸W7cを第8のワークW8の中心軸W8cに対して90°回転させ、第7のワークW7の突出部W7aと係合部W7bと爪部W7dとを第8のワークW8の縁部W8aに係合する(図14(b)参照)。これにより、第7のワークW7が第8のワークW8に対して着脱可能に装着される。一方、第7のワークW7を第8のワークW8から取り外す際は、上述と逆の動作を行う。   When the seventh work W7 is attached to the eighth work W8, the protrusion W7a of the seventh work W7 is the eighth work W8 with the central axes W7c and W8c of each other being parallel to the Z-axis direction. The edge W8a of the frame is approached in the X direction from the inner circumferential side (see FIG. 13A). Then, the protrusion W7a of the seventh work W7 is brought into contact with the edge W8a of the eighth work W8 (see FIG. 13B). The seventh work W7 is rotated about the Y axis at the contact point between the protrusion W7a and the edge W8a (see FIG. 14A). Then, the central axis W7c of the seventh work W7 is rotated by 90 ° with respect to the central axis W8c of the eighth work W8, and the protrusion W7a, the engagement part W7b, and the claw W7d of the seventh work W7 are It engages with the edge W8a of the eight workpieces W8 (see FIG. 14B). Thus, the seventh work W7 is detachably attached to the eighth work W8. On the other hand, when removing the seventh work W7 from the eighth work W8, the operation reverse to the above is performed.

ここで、図13乃至図15を利用して、制御装置3が第7のワークW7及び第8のワークW8を装着動作させて反力Fを検出し、軌道の補正量を演算して、軌道を修正する原理について説明する。なお、本実施形態では、反力Fとは、力覚センサ25により検出された先端リンク67に対してハンド21から作用する外力のうち、X方向の力としている。即ち、反力Fは、先端リンク67の軸方向(Z方向)に直交し、第7のワークW7の突出部W7aを第8のワークW8の縁部W8aに係脱する方向であるX方向の力としている(図14(b)等参照)。また、ここでの反力Fとしては、力覚センサ25により検出された先端リンク67に対してハンド21から作用する外力のうち、X方向の力以外のY,Z方向の力及び3方向のモーメント(Mx,My,Mz)は含まない。また、力覚センサ25の座標系はハンド21の座標系と一体化されており、ハンド21の位置姿勢の変化に伴って力覚センサ25の座標系も移動・回転する。   Here, the control device 3 mounts the seventh work W7 and the eighth work W8 using FIG. 13 to FIG. 15, detects the reaction force F, calculates the correction amount of the track, and calculates the track The principle of correcting In the present embodiment, the reaction force F is a force in the X direction among external forces acting on the tip link 67 detected by the force sensor 25 from the hand 21. That is, the reaction force F is orthogonal to the axial direction (Z direction) of the tip link 67, and is a direction in which the protrusion W7a of the seventh work W7 is engaged with or released from the edge W8a of the eighth work W8. Force (see Fig. 14 (b) etc.). Further, as the reaction force F in this case, among external forces acting from the hand 21 on the tip link 67 detected by the force sensor 25, forces in the Y and Z directions other than the force in the X direction and in three directions. The moments (Mx, My, Mz) are not included. Further, the coordinate system of the force sensor 25 is integrated with the coordinate system of the hand 21, and the coordinate system of the force sensor 25 also moves and rotates with the change of the position and orientation of the hand 21.

図13(a)に示すように、第7のワークW7を、第8のワークW8に接触することなく適宜距離だけ離れた状態(非接触状態)にして配置する。この時、第7のワークW7は、互いの中心軸W7c,W8cをZ軸方向に平行にした状態で、第7のワークW7の突出部W7aを第8のワークW8の縁部W8aに内周側に位置させる。この時の第7のワークW7の位置姿勢を上空点(第1の教示点)とする。この時は、力覚センサ25により検出される反力Fは0となる。   As shown in FIG. 13A, the seventh work W7 is disposed in a state (non-contact state) separated by an appropriate distance without contacting the eighth work W8. At this time, with the seventh work W7 having the central axes W7c and W8c parallel to each other in the Z-axis direction, the protrusion W7a of the seventh work W7 is in the inner circumference to the edge W8a of the eighth work W8. Position on the side. The position and orientation of the seventh workpiece W7 at this time is set as an empty point (first teaching point). At this time, the reaction force F detected by the force sensor 25 is zero.

そして、ロボット本体2により、第7のワークW7の突出部W7aを、第8のワークW8の縁部W8aに接近させる。これにより、図13(b)に示すように、第7のワークW7の突出部W7aが第8のワークW8の縁部W8aに当接する。この時の第7のワークW7の位置姿勢を接触点(第3の教示点)とする。   Then, the protrusion W7a of the seventh work W7 is made to approach the edge W8a of the eighth work W8 by the robot body 2. As a result, as shown in FIG. 13B, the protrusion W7a of the seventh work W7 abuts on the edge W8a of the eighth work W8. The position and orientation of the seventh workpiece W7 at this time is taken as a contact point (third teaching point).

更に、ロボット本体2により、第7のワークW7を、第7のワークW7の突出部W7aと第8のワークW8の縁部W8aとの接点においてY軸を中心に回転させる。これにより、図14(a)に示すように、突出部W7aと縁部W8aとを当接させたまま、第7のワークW7の姿勢が傾斜する。   Further, the robot body 2 rotates the seventh work W7 at the contact point between the protrusion W7a of the seventh work W7 and the edge W8a of the eighth work W8 about the Y axis. As a result, as shown in FIG. 14A, the posture of the seventh workpiece W7 is inclined while the protrusion W7a and the edge W8a are in contact with each other.

そして、ロボット本体2により、第7のワークW7の中心軸W7cを第8のワークW8の中心軸W8cに対して90°回転させる。これにより、図14(b)に示すように、第7のワークW7の突出部W7aと係合部W7bと爪部W7dとが、第8のワークW8の縁部W8aに係合する。この時の第7のワークW7の位置姿勢を、下降点(第2の教示点)とする。この時、第7のワークW7の中心軸W7cと第8のワークW8の中心軸W8cとの位置や角度がずれていると、第7のワークW7と第8のワークW8とが接触し、互いに余分な反力Fが発生する。また、上空点と下降点とを結んだ直線が所定の軌道となる。即ち、本実施の形態では、下降点における軌道と接触点における軌道とは、相対的に傾斜した直線状の軌道である。   Then, the central axis W7c of the seventh work W7 is rotated by 90 ° with respect to the central axis W8c of the eighth work W8 by the robot body 2. As a result, as shown in FIG. 14B, the protrusion W7a, the engaging portion W7b, and the claw W7d of the seventh work W7 engage with the edge W8a of the eighth work W8. The position and orientation of the seventh workpiece W7 at this time is taken as a lowering point (second teaching point). At this time, if the position or angle between the central axis W7c of the seventh work W7 and the central axis W8c of the eighth work W8 is deviated, the seventh work W7 and the eighth work W8 contact each other, An extra reaction force F is generated. Further, a straight line connecting the upper empty point and the lower point is a predetermined trajectory. That is, in the present embodiment, the trajectory at the falling point and the trajectory at the contact point are relatively inclined linear trajectories.

この反力Fは、図13(b)に示す第7のワークW7の突出部W7aが第8のワークW8の縁部W8aに接触した状態(図15(a)の接触点)から、図14(b)に示す最後まで嵌合した状態(図15(a)の下降点)まで、折線状に昇降する。即ち、本実施の形態では、反力Fは、第7のワークW7及び第8のワークW8の接触動作により第7のワークW7が変位する変化量である。尚、本実施形態では、図13(b)の状態及び図14(b)の状態、即ち、接触点と下降点との各状態が、それぞれ第7のワークW7と第8のワークW8との接触状態である。   This reaction force F is shown in FIG. 14 from the state where the projection W7a of the seventh work W7 shown in FIG. 13B is in contact with the edge W8a of the eighth work W8 (contact point in FIG. 15A). It moves up and down in the form of a broken line to the state (falling point in FIG. 15 (a)) which has been fitted up to the end shown in (b). That is, in the present embodiment, the reaction force F is an amount of change in which the seventh work W7 is displaced by the contact operation of the seventh work W7 and the eighth work W8. In the present embodiment, the state of FIG. 13 (b) and the state of FIG. 14 (b), that is, the states of the contact point and the lowering point are respectively the seventh work W7 and the eighth work W8. It is in a contact state.

ここで、例えば、図15(a)に示すように、上空点から接触点までのX方向のストロークをA2、接触点から下降点までのX方向のストロークをA1とする。力覚センサ25により検出されたX方向の反力Fが、接触点から下降点まで折線的に昇降して、接触点においてf1、下降点においてF1になったとする。また、予め計測した相対位置姿勢の変位がない場合の参照波形を理論値により取得し、その時の力覚センサ25により検出されたX方向の反力Fが、接触点から下降点まで折線的に昇降して、接触点においてf0、下降点においてF0になったとする。この場合、相対位置姿勢の変位がある場合とない場合との接触点から下降点までの反力Fの差分の傾きΔFは、ΔF=((F1−F0)−(f1−f0))/A1になる。   Here, for example, as shown in FIG. 15A, the stroke in the X direction from the upper empty point to the contact point is A2, and the stroke in the X direction from the contact point to the falling point is A1. It is assumed that the reaction force F in the X direction detected by the force sensor 25 ascends and descends from the contact point to the falling point, and becomes f1 at the contact point and F1 at the falling point. In addition, the reference waveform in the case where there is no displacement of the relative position and orientation measured in advance is acquired as a theoretical value, and the reaction force F in the X direction detected by the force sensor 25 at that time is broken linewise from the contact point to the falling point It raises and lowers, and it will be assumed that it became f0 in a contact point, and became F0 in a fall point. In this case, the slope ΔF of the difference between the reaction force F from the contact point to the falling point with and without displacement of the relative position and posture is ΔF = ((F1−F0) − (f1−f0)) / A1. become.

次に、図15(b)に示すように、接触点から下降点までの反力Fの差分の傾きΔFを上空点にまで延長し、第8のワークW8が上空点まで延長されていたとした場合に第7のワークW7が受けるであろう反力F2を想定して演算する。この反力F2は、F2=ΔF×A2+(f1−f0)になる。尚、同図に示すように、反力F2は、下降点(反力F1)及び接触点(反力f1)を結んだ直線の上空点における交点と、下降点(反力F0)及び接触点(反力f0)を結んだ直線の上空点における交点と、の差分として、作図によっても求めることができる。   Next, as shown in FIG. 15B, the slope ΔF of the difference of the reaction force F from the contact point to the descending point is extended to the upper empty point, and the eighth work W8 is extended to the upper empty point. In this case, it is calculated on the assumption of the reaction force F2 that the seventh work W7 will receive. The reaction force F2 is F2 = .DELTA.F.times.A2 + (f1-f0). As shown in the figure, the reaction force F2 is the point of intersection of the falling point (reaction force F1) and the contact point (reaction force f1) on the straight line connecting the depression point (reaction force F0) and the contact point It can also be determined by drawing as the difference between the point of intersection of the upper empty point of the straight line connecting the (reaction force f0).

更に、図15(c)に示すように、上空点及び下降点について、反力FをX方向の長さである補正量Xに変換する。このため、ロボット本体2の弾性率をKとすると、上空点での補正量X2は、X2=F2/Kになり、下降点での補正量X1は、X1=F1/Kになる。これら上空点及び下降点に対するX方向の補正量X1,X2が、軌道の補正量となる。そして、現在の上空点の位置姿勢のX方向に補正量X2を加算して補正し、現在の下降点の位置姿勢のX方向に補正量X1を加算して補正し、補正後の上空点と下降点とを結んだ直線を補正後の軌道とすることで、軌道の補正を実行することができる。   Further, as shown in FIG. 15C, the reaction force F is converted into a correction amount X which is a length in the X direction with respect to the up empty point and the down point. Therefore, assuming that the elastic modulus of the robot body 2 is K, the correction amount X2 at the upper empty point is X2 = F2 / K, and the correction amount X1 at the falling point is X1 = F1 / K. The correction amounts X1 and X2 in the X direction with respect to the upper empty point and the lower point are correction amounts of the trajectory. Then, the correction amount X2 is added to the X direction of the position and orientation of the current sky point to correct it, and the correction amount X1 is added to correct the X direction of the position and posture of the current drop point to correct the sky space after correction. Trajectory correction can be performed by using the straight line connecting the falling point as the corrected trajectory.

上述したロボット装置1の制御方法の手順は、第1の実施形態(図4及び図5)と同様であるので、詳細な説明を省略する。また、第7のワークW7に対する位置の補正と姿勢の補正との順序は、第1の実施形態と同様に適宜設定することができる。   The procedure of the control method of the robot apparatus 1 described above is the same as that of the first embodiment (FIG. 4 and FIG. 5), and thus the detailed description will be omitted. In addition, the order of the correction of the position and the correction of the posture with respect to the seventh work W7 can be appropriately set as in the first embodiment.

上述したように本実施の形態のロボット装置1によっても、制御装置3が、第7のワークW7を軌道上で移動させ第8のワークW8に対する装着動作を実行させる。その際に、制御装置3は、第7のワークW7及び第8のワークW8の接触動作により第7のワークW7が変位して発生する反力Fを検出する。そして、制御装置3は、反力Fに基づいて軌道のX方向の補正量X1,X2を演算し、それらに基づいて軌道を補正する。このため、専用治工具を用いて軌道を補正することなく、保持した第7のワークW7を第8のワークW8に対して高精度に組み付けることができるようになる。   As described above, also in the robot apparatus 1 of the present embodiment, the control device 3 moves the seventh work W7 on the track to execute the mounting operation on the eighth work W8. At that time, the control device 3 detects a reaction force F generated by displacement of the seventh work W7 due to the contact operation of the seventh work W7 and the eighth work W8. Then, the control device 3 calculates the correction amounts X1 and X2 in the X direction of the trajectory based on the reaction force F, and corrects the trajectory based on them. For this reason, it is possible to assemble the held seventh work W7 with high precision to the eighth work W8 without correcting the trajectory using a dedicated tool.

また、本実施の形態においても、第1の実施形態と同様に、力覚センサ25を用いずに、第7のワークW7が第8のワークW8との接触により位置姿勢を変位した変位量をカメラ5により検出し、その変位量に基づいて各補正量を演算するようにしてもよい。   Further, also in the present embodiment, similarly to the first embodiment, the displacement amount at which the seventh work W7 is displaced in position and orientation due to the contact with the eighth work W8 without using the force sensor 25 is determined. Each correction amount may be calculated based on the amount of displacement detected by the camera 5.

また、以上述べた第1〜第4の実施形態では、接触動作は装着動作であり、非接触動作は離脱動作である場合について説明したが、これには限られない。例えば、接触動作としては、第1のワークを工具とし、第2のワークに対して加工を施す場合や、第1のワークをラベルとし、第2のワークに貼付する場合等、装着以外の接触動作を含めることができる。   Moreover, in the first to fourth embodiments described above, although the case where the contact operation is a mounting operation and the non-contact operation is a detachment operation has been described, the present invention is not limited thereto. For example, as the contact operation, when the first work is used as a tool and the second work is processed, or when the first work is used as a label and attached to the second work, contact other than attachment It can contain actions.

尚、以上述べた第1〜第4の実施形態の各処理動作は具体的にはCPU30により実行されるものである。従って、上述した機能を実現するソフトウェアのロボット制御プログラムを記録した記録媒体をCPU30に供給し、CPU30が記録媒体に格納されたプログラムを読み出し実行することによって達成されるようにしてもよい。この場合、記録媒体から読み出されたプログラム自体が上述した各実施の形態の機能を実現することになり、ロボット制御プログラム自体及びそのプログラムを記録した記録媒体は本発明を構成することになる。   Specifically, each processing operation of the first to fourth embodiments described above is executed by the CPU 30. Therefore, a recording medium in which a robot control program of software that realizes the above-described function is recorded may be supplied to the CPU 30, and the CPU 30 may be achieved by reading and executing the program stored in the recording medium. In this case, the program itself read from the recording medium implements the functions of the above-described embodiments, and the robot control program itself and the recording medium recording the program constitute the present invention.

また、第1〜第4の実施形態では、コンピュータ読み取り可能な記録媒体がROM31であり、ROM31にプログラムが格納される場合について説明したが、これに限定するものではない。プログラムは、コンピュータ読み取り可能な記録媒体であれば、いかなる記録媒体に記録されていてもよい。例えば、プログラムを供給するための記録媒体としては、HDD、外部記憶装置、記録ディスク等を用いてもよい。   In the first to fourth embodiments, the case where the computer readable recording medium is the ROM 31 and the program is stored in the ROM 31 has been described. However, the present invention is not limited to this. The program may be recorded on any recording medium as long as it is a computer readable recording medium. For example, as a recording medium for supplying the program, an HDD, an external storage device, a recording disk or the like may be used.

1…ロボット装置、2…ロボット本体、3…制御装置(制御部)、5…カメラ(検出部)、20…多関節アーム、21…ハンド(エンドエフェクタ)、25…力覚センサ(検出部)、30…CPU、71〜76…複数の関節、W1…第1のワーク、W2…第2のワーク、W3…第3のワーク(第1のワーク)、W4…第4のワーク(第2のワーク)、W5…第5のワーク(第1のワーク)、W6…第6のワーク(第2のワーク)、W7…第7のワーク(第1のワーク)、W8…第8のワーク(第2のワーク) DESCRIPTION OF SYMBOLS 1 ... Robot apparatus, 2 ... Robot main body, 3 ... Control apparatus (control part), 5 ... Camera (detection part), 20 ... Multi-joint arm, 21 ... Hand (end effector), 25 ... Force sensor (detection part) , 30: CPU, 71 to 76: multiple joints, W1: first work, W2: second work, W3: third work (first work), W4: fourth work (second Work), W5: fifth work (first work), W6: sixth work (second work), W7: seventh work (first work), W8: eighth work (third) 2 work)

Claims (18)

複数の関節を有する多関節アームと前記多関節アームに支持されるエンドエフェクタとを有するロボット本体と、前記エンドエフェクタに連結され、第1のワーク及び第2のワークの間に相対的に作用する力の変化量と前記第1のワーク及び前記第2のワークの相対位置姿勢の変位量との少なくとも一方を検出する検出部と、前記ロボット本体を制御する制御部と、を備えるロボット装置の制御方法において、
前記制御部が、前記エンドエフェクタにより保持した前記第1のワークを、第1の教示点から、接触点を経て、第2の教示点までの軌道で移動させる移動工程と、
前記制御部が、前記移動工程において前記第1のワークが前記接触点から前記第2の教示点までの前記軌道上に位置するときに、前記第1のワーク及び前記第2のワークの間に相対的に作用する力の変化量と、前記第1のワーク及び前記第2のワークの相対位置姿勢の変位量と、の少なくとも一方を前記検出部により検出する第1の検出工程と、
前記制御部が、前記第1の検出工程で検出した前記力の変化量あるいは前記相対位置姿勢の変位量に基づき、前記軌道の補正量を演算する第1の演算工程と、
前記制御部が、前記第1の演算工程で演算した前記補正量に基づき、前記第1の教示点と前記第2の教示点との各位置及び姿勢を補正する第1の補正工程と、を備える、
ことを特徴とするロボット装置の制御方法。
A robot body having an articulated arm having a plurality of joints and an end effector supported by the articulated arm, and is connected to the end effector and acts relative to a first work and a second work Control of a robot apparatus comprising: a detection unit that detects at least one of a change amount of force and a displacement amount of a relative position and orientation of the first work and the second work; and a control unit that controls the robot body In the method
Wherein the control unit, the first workpiece held by the end effector, the first taught point, through the contact point, the moving step Before moving in orbit up to the second teaching point,
When the control unit is positioned on the track from the contact point to the second teaching point in the movement step, the control unit is between the first work and the second work. and variation of the force relative effect, a first detection step of the displacement amount before SL relative position and orientation of the first workpiece and the second workpiece, the at least one detected by the detecting unit,
A first calculation step of calculating the correction amount of the trajectory based on the change amount of the force detected in the first detection step or the displacement amount of the relative position and posture in the first detection step;
A first correction step of correcting the positions and attitudes of the first teaching point and the second teaching point based on the correction amount calculated in the first calculation step; Prepare,
And controlling the robot apparatus.
前記軌道は、前記第1のワーク及び前記第2のワークが接触状態にある場合と、非接触状態にある場合とで、一直線状である、
ことを特徴とする請求項1記載のロボット装置の制御方法。
Said track includes a case where the first workpiece and the second workpiece is in a state come in contact, in the case in a non-contact state, a straight line,
A control method of a robot apparatus according to claim 1, characterized in that.
前記軌道は、非接触状態にある前記第1のワークの位置姿勢である第1の教示点と、接触状態にある前記第1のワークの位置姿勢である第2の教示点と、に基づいて演算され、
前記第1の演算工程では、前記制御部が、前記第1の検出工程で検出した前記力の変化量あるいは前記相対位置姿勢の変位量に基づき、前記軌道の補正量として、前記第1の教示点及び前記第2の教示点の各位置姿勢の補正量を演算し、
前記第1の補正工程では、前記制御部が、前記第1の演算工程で演算した前記第1の教示点及び前記第2の教示点の各位置姿勢の補正量に基づき、前記第1の教示点及び前記第2の教示点の各位置及び姿勢を補正する、
ことを特徴とする請求項1又は2に記載のロボット装置の制御方法。
The trajectory is based on the first teaching point is the position and orientation of the first workpiece in a non-contact state, and the second teaching point is the position and orientation of the first workpiece in contact touch state, Is calculated,
In the first calculation step, the first teaching is performed as the correction amount of the trajectory based on the change amount of the force detected in the first detection step or the displacement amount of the relative position and posture in the first calculation step. Calculate the correction amount of each position and orientation of the point and the second teaching point,
In the first correction step, the control unit performs the first teaching based on correction amounts of respective positions and orientations of the first teaching point and the second teaching point calculated in the first calculation step. We correct the points and the position and orientation of the second teaching point,
The control method of the robot apparatus according to claim 1 or 2, characterized in that
前記軌道は、非接触状態にある前記第1のワークの位置姿勢である第1の教示点と、接触状態にある前記第1のワークの位置姿勢である第2の教示点と、前記接触状態にある前記第1のワークの位置姿勢であり、前記軌道で前記第1の教示点及び前記第2の教示点の間に位置する第3の教示点と、に基づいて演算され、
前記第1の演算工程では、前記制御部が、前記第1の検出工程で検出した前記力の変化量あるいは前記相対位置姿勢の変位量に基づき、前記軌道の補正量として、前記第1の教示点及び前記第2の教示点の各位置姿勢の補正量を演算し、
前記第1の補正工程では、前記制御部が、前記第1の演算工程で演算した前記第1の教示点及び前記第2の教示点の各位置姿勢の補正量に基づき、前記第1の教示点及び前記第2の教示点の各位置及び姿勢を補正する、
ことを特徴とする請求項1記載のロボット装置の制御方法。
It said track includes a first teaching point is the position and orientation of the first workpiece in a non-contact state, and the second teaching point is the position and orientation of the first workpiece in contact touch state, the contact the position and orientation of the first workpiece in the state, a third teaching point located between said first taught point and the second teaching point in the orbit, is calculated based on the,
In the first calculation step, the first teaching is performed as the correction amount of the trajectory based on the change amount of the force detected in the first detection step or the displacement amount of the relative position and posture in the first calculation step. Calculate the correction amount of each position and orientation of the point and the second teaching point,
In the first correction step, the control unit performs the first teaching based on correction amounts of respective positions and orientations of the first teaching point and the second teaching point calculated in the first calculation step. We correct the points and the position and orientation of the second teaching point,
A control method of a robot apparatus according to claim 1, characterized in that.
前記第2の教示点における軌道と、前記第3の教示点における軌道とは、一直線状の軌道である、
ことを特徴とする請求項4記載のロボット装置の制御方法。
The trajectory at the second teaching point and the trajectory at the third teaching point are straight trajectories,
A control method of a robot apparatus according to claim 4, characterized in that.
前記第2の教示点における軌道と、前記第3の教示点における軌道とは、同方向の直線状の軌道であり、かつ、各軌道の間では前記第1のワーク及び前記第2のワークは非接触である、
ことを特徴とする請求項4記載のロボット装置の制御方法。
The trajectory at the second teaching point and the trajectory at the third teaching point are linear trajectories in the same direction, and between the respective trajectories, the first work and the second work are Contactless,
A control method of a robot apparatus according to claim 4, characterized in that.
前記第2の教示点における軌道と、前記第3の教示点における軌道とは、相対的に傾斜した直線状の軌道である、
ことを特徴とする請求項4記載のロボット装置の制御方法。
The trajectory at the second teaching point and the trajectory at the third teaching point are relatively inclined linear trajectories,
A control method of a robot apparatus according to claim 4, characterized in that.
前記第3の教示点における軌道は直線状の軌道であり、前記第2の教示点における軌道は前記直線と同方向の軸を中心とする回転方向の軌道である、
ことを特徴とする請求項4記載のロボット装置の制御方法。
The trajectory at the third teaching point is a linear trajectory, and the trajectory at the second teaching point is a trajectory in a rotational direction about an axis in the same direction as the straight line.
A control method of a robot apparatus according to claim 4, characterized in that.
前記第1の検出工程では、前記変化量は、前記第1のワーク及び前記第2のワークの間に前記直線の方向に相対的に作用する力の変化量であるか、または前記変位量は、前記第1のワーク及び前記第2のワークの前記直線の方向の相対位置の変位量である、
ことを特徴とする請求項5乃至8のいずれか1項に記載のロボット装置の制御方法。
In the first detection step, the change amount is a change amount of a force acting relative to the direction of the straight line between the first work and the second work, or the displacement amount is A displacement amount of a relative position of the first work and the second work in the direction of the straight line,
A control method of a robot apparatus according to any one of claims 5 to 8, characterized in that.
前記第1の検出工程では、前記制御部が、前記移動工程において前記第1のワークが前記接触点から前記第2の教示点までの前記軌道上に位置するときに、前記第1のワーク及び前記第2のワークの間に相対的に作用する力の変化量と、前記第1のワーク及び前記第2のワークの相対位置の変位量と、の少なくとも一方を前記検出部により検出し、
前記第1の演算工程では、前記制御部が、前記第1の検出工程で検出した前記力の変化量あるいは前記相対位置の変位量に基づき、前記軌道の補正量として、前記第1の教示点及び前記第2の教示点の各位置の補正量を演算し、
前記第1の補正工程では、前記制御部が、前記第1の演算工程で演算した前記補正量に基づき、前記第1の教示点及び前記第2の教示点の各位置を補正し
前記制御部が、前記第1の補正工程での補正後に、前記移動工程において前記第1のワークが前記接触点から前記第2の教示点までの前記軌道上に位置するときに、前記第1のワーク及び前記第2のワークの間に相対的に作用する力の変化量と、前記第1のワーク及び前記第2のワークの相対姿勢の変位量と、の少なくとも一方を前記検出部により検出する第2の検出工程と、
前記制御部が、前記第2の検出工程で検出した前記力の変化量あるいは前記相対姿勢の変位量に基づき、前記軌道の補正量として、前記第1の教示点及び前記第2の教示点の各姿勢の補正量を演算する第2の演算工程と、
前記制御部が、前記第2の演算工程で演算した前記補正量に基づき、前記第1の教示点及び前記第2の教示点の各姿勢を補正する第2の補正工程と、を備える、
ことを特徴とする請求項3乃至9のいずれか1項に記載のロボット装置の制御方法。
In the first detection step, when the first work is positioned on the track from the contact point to the second teaching point in the movement step, the control unit performs the first work and the first work. and variation of the force relative acting between said second workpiece, detects a front Symbol displacement of the relative position of the first workpiece and the second workpiece, the at least one by the detection unit,
In the first operation step, the control section, based on the displacement amount of the first detection amount of change in the force detected by the step or the relative position location, as the correction amount of the track, the first teaching Calculate the correction amount of each position of the point and the second teaching point,
In the first correction process, the control section, based on the correction amount calculated by said first calculating step, correct for each position of the first taught point and the second teaching point,
When the control unit is positioned on the track from the contact point to the second teaching point in the movement step after the control unit corrects in the first correction step, of the work and force variation which relatively acts between the second workpiece, the pre-Symbol the detecting unit and the displacement amount of at least one of the relative orientation of the first workpiece and the second workpiece A second detection step of detecting;
Wherein the control unit is based on the displacement amount of the second variation of the force detected by the detection process or the phase Taisugata bias, as the correction amount of the track, said first taught point and said second teaching A second operation step of calculating the correction amount of each posture of the point;
Wherein the control unit, based on the correction amount calculated by the second calculating step, and a second correction step you correct each attitude of the first taught point and the second teaching point,
The control method of the robot apparatus according to any one of claims 3 to 9, characterized in that:
前記第1の検出工程では、前記制御部が、前記移動工程において前記第1のワークが前記接触点から前記第2の教示点までの前記軌道上に位置するときに、前記第1のワーク及び前記第2のワークの間に相対的に作用する力の変化量と、前記第1のワーク及び前記第2のワークの相対姿勢の変位量と、の少なくとも一方を前記検出部により検出し、
前記第1の演算工程では、前記制御部が、前記第1の検出工程で検出した前記力の変化量あるいは前記相対姿勢の変位量に基づき、前記軌道の補正量として、前記第1の教示点及び前記第2の教示点の各姿勢の補正量を演算し、
前記第1の補正工程では、前記制御部が、前記第1の演算工程で演算した前記補正量に基づき、前記第1の教示点及び前記第2の教示点の各姿勢を補正し
前記制御部が、前記第1の補正工程での補正後に、前記移動工程において前記第1のワークが前記接触点から前記第2の教示点までの前記軌道上に位置するときに、前記第1のワーク及び前記第2のワークの間に相対的に作用する力の変化量と、前記第1のワーク及び前記第2のワークの相対位置の変位量と、の少なくとも一方を前記検出部により検出する第2の検出工程と、
前記制御部が、前記第2の検出工程で検出した前記力の変化量あるいは前記相対位置の変位量に基づき、前記軌道の補正量として、前記第1の教示点及び前記第2の教示点の各位置の補正量を演算する第2の演算工程と、
前記制御部が、前記第2の演算工程で演算した前記補正量に基づき、前記第1の教示点及び前記第2の教示点の各位置を補正する第2の補正工程と、を備える、
ことを特徴とする請求項3乃至9のいずれか1項に記載のロボット装置の制御方法。
In the first detection step, when the first work is positioned on the track from the contact point to the second teaching point in the movement step, the control unit performs the first work and the first work. and variation of the force relative acting between said second workpiece is detected by the front Symbol the detecting unit and the displacement amount of at least one of the relative orientation of the first workpiece and the second workpiece,
In the first operation step, the control section, based on the displacement amount of the first variation of the force detected by the detection process or the phase Taisugata bias, as the correction amount of the track, the first Calculate the correction amount of each posture of the teaching point and the second teaching point,
In the first correction process, the control section, based on the correction amount calculated by said first calculating step, correct for the orientation of the first taught point and the second teaching point,
When the control unit is positioned on the track from the contact point to the second teaching point in the movement step after the control unit corrects in the first correction step, and the work and the variation of the force relative acting between said second workpiece, and before Symbol displacement of the relative position of the first workpiece and the second workpiece, by the detecting unit at least one of A second detection step of detecting;
Wherein the control unit is based on the displacement amount of the second detection amount of change in the force detected by the step or the relative position location, as the correction amount of the track, the first teaching point and the second teaching point A second operation step of calculating the correction amount of each position of
Wherein the control unit, based on the correction amount calculated by the second calculating step, and a second correction step you correct the respective positions of the first taught point and the second teaching point,
The control method of the robot apparatus according to any one of claims 3 to 9, characterized in that:
請求項1乃至11のいずれか1項に記載のロボット装置の制御方法の各工程をコンピュータに実行させるためのロボット制御プログラム。   The robot control program for making a computer perform each process of the control method of the robot apparatus of any one of Claims 1-11. 請求項12に記載のロボット制御プログラムが記録されたコンピュータが読み取り可能な記録媒体。   A computer readable recording medium on which the robot control program according to claim 12 is recorded. 複数の関節を有する多関節アームと前記多関節アームに支持されるエンドエフェクタとを有するロボット本体と、前記エンドエフェクタに連結され、第1のワーク及び第2のワークの間に相対的に作用する力の変化量と前記第1のワーク及び前記第2のワークの相対位置姿勢の変位量との少なくとも一方を検出する検出部と、前記ロボット本体を制御する制御部と、を備えるロボット装置において、
前記制御部は、前記エンドエフェクタにより保持した前記第1のワークを、第1の教示点から、接触点を経て、第2の教示点まで所定の軌道で移動させ、前記第1のワークが前記接触点から前記第2の教示点までの前記軌道上に位置するときに、前記第1のワーク及び前記第2のワークの間に相対的に作用する力の変化量と、前記第1のワーク及び前記第2のワークの相対位置姿勢の変位量と、の少なくとも一方を前記検出部により検出し、検出した前記力の変化量あるいは前記相対位置姿勢の変位量に基づき、前記軌道の補正量を演算し、演算した前記補正量に基づき、前記第1の教示点と前記第2の教示点との各位置及び姿勢を補正する、
ことを特徴とするロボット装置。
A robot body having an articulated arm having a plurality of joints and an end effector supported by the articulated arm, and is connected to the end effector and acts relative to a first work and a second work A robot apparatus comprising: a detection unit that detects at least one of a force change amount and a displacement amount of a relative position and orientation of the first work and the second work; and a control unit that controls the robot body.
Wherein the control unit, the first workpiece held by the end effector, the first taught point, via a contact point, to a second teaching point is moved in a predetermined orbit, said first workpiece when located on the track from the contact point to the second teaching point, the change amount of the force relative acting between said first workpiece and said second workpiece, prior Symbol first Correction of the trajectory based on the detected amount of change in the force or the detected relative position and posture detected by the detection unit at least one of the relative position and posture displacement of the workpiece and the second workpiece Calculating an amount, and correcting each position and orientation of the first teaching point and the second teaching point based on the calculated correction amount;
A robot apparatus characterized by
請求項1乃至11のいずれか1項に記載のロボット装置の制御方法により制御されるロボット装置、又は請求項14に記載のロボット装置を用いて物品を製造する、  A robot apparatus controlled by the control method of a robot apparatus according to any one of claims 1 to 11, or an article is manufactured using the robot apparatus according to claim 14.
ことを特徴とする物品の製造方法。  A method of producing an article characterized by
複数の関節を有する多関節アームと前記多関節アームに支持されるエンドエフェクタとを有するロボット本体と、前記エンドエフェクタに連結され、ワークとの間に相対的に作用する力の変化量と前記ワークとの相対位置姿勢の変位量との少なくとも一方を検出する検出部と、前記ロボット本体を制御する制御部と、を備えるロボット装置の制御方法において、  A robot main body having an articulated arm having a plurality of joints and an end effector supported by the articulated arm, and a change amount of a force acting on the work relative to the end effector and the work A control unit that detects at least one of a relative position and a displacement amount of the relative position and a control unit that controls the robot body,
前記制御部が、前記エンドエフェクタを、第1の教示点から、接触点を経て、第2の教示点までの軌道で移動させる移動工程と、  Moving the end effector in a trajectory from the first teaching point to the second teaching point via the contact point;
前記制御部が、前記移動工程において前記エンドエフェクタが前記接触点から前記第2の教示点までの前記軌道上に位置するときに、前記エンドエフェクタ及び前記ワークの間に相対的に作用する力の変化量と、前記エンドエフェクタ及び前記ワークの相対位置姿勢の変位量と、の少なくとも一方を前記検出部により検出する第1の検出工程と、  When the control unit is positioned on the track from the contact point to the second teaching point in the movement step, the control unit relatively moves the force between the end effector and the work. A first detection step of detecting at least one of a change amount and a displacement amount of a relative position / posture of the end effector and the work by the detection unit;
前記制御部が、前記第1の検出工程で検出した前記力の変化量あるいは前記相対位置姿勢の変位量に基づき、前記軌道の補正量を演算する第1の演算工程と、  A first calculation step of calculating the correction amount of the trajectory based on the change amount of the force detected in the first detection step or the displacement amount of the relative position and posture in the first detection step;
前記制御部が、前記第1の演算工程で演算した前記補正量に基づき、前記第1の教示点と前記第2の教示点との各位置及び姿勢を補正する第1の補正工程と、を備える、  A first correction step of correcting the positions and attitudes of the first teaching point and the second teaching point based on the correction amount calculated in the first calculation step; Prepare,
ことを特徴とするロボット装置の制御方法。  And controlling the robot apparatus.
複数の関節を有する多関節アームと前記多関節アームに支持されるエンドエフェクタとを有するロボット本体と、前記エンドエフェクタに連結され、ワークとの間に相対的に作用する力の変化量と前記ワークとの相対位置姿勢の変位量との少なくとも一方を検出する検出部と、前記ロボット本体を制御する制御部と、を備えるロボット装置において、  A robot main body having an articulated arm having a plurality of joints and an end effector supported by the articulated arm, and a change amount of a force acting on the work relative to the end effector and the work A robot unit comprising: a detection unit that detects at least one of a relative position and a displacement amount of the relative position posture; and a control unit that controls the robot body,
前記制御部は、前記エンドエフェクタを、第1の教示点から、接触点を経て、第2の教示点までの軌道で移動させ、前記エンドエフェクタが前記接触点から前記第2の教示点までの前記軌道上に位置するときに、前記エンドエフェクタ及び前記ワークの間に相対的に作用する力の変化量と、前記エンドエフェクタ及び前記ワークの相対位置姿勢の変位量と、の少なくとも一方を前記検出部により検出し、検出した前記力の変化量あるいは前記相対位置姿勢の変位量に基づき、前記軌道の補正量を演算し、演算した前記補正量に基づき、前記第1の教示点と前記第2の教示点との各位置及び姿勢を補正する、  The control unit moves the end effector in a trajectory from a first teaching point to a second teaching point via a contact point, and the end effector moves from the contact point to the second teaching point. The detection of at least one of the amount of change in force acting relative between the end effector and the work when positioned on the track, and the amount of displacement of the relative position and orientation of the end effector and the work The correction amount of the trajectory is calculated based on the detected change amount of the force or the displacement amount of the relative position and posture detected by the unit, and the first teaching point and the second teaching point are calculated based on the calculated correction amount. Correct each position and posture with the teaching point of
ことを特徴とするロボット装置。  A robot apparatus characterized by
請求項16に記載のロボット装置の制御方法により制御されるロボット装置、又は請求項17に記載のロボット装置を用いて物品を製造する、  A robot apparatus controlled by the control method of a robot apparatus according to claim 16 or an article is manufactured using the robot apparatus according to claim 17.
ことを特徴とする物品の製造方法。  A method of producing an article characterized by
JP2015088702A 2014-04-28 2015-04-23 Control method of robot device, robot device, and method of manufacturing article Active JP6516546B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015088702A JP6516546B2 (en) 2014-04-28 2015-04-23 Control method of robot device, robot device, and method of manufacturing article

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2014092364 2014-04-28
JP2014092364 2014-04-28
JP2015088702A JP6516546B2 (en) 2014-04-28 2015-04-23 Control method of robot device, robot device, and method of manufacturing article

Publications (3)

Publication Number Publication Date
JP2015221490A JP2015221490A (en) 2015-12-10
JP2015221490A5 JP2015221490A5 (en) 2018-07-05
JP6516546B2 true JP6516546B2 (en) 2019-05-22

Family

ID=54784823

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015088702A Active JP6516546B2 (en) 2014-04-28 2015-04-23 Control method of robot device, robot device, and method of manufacturing article

Country Status (1)

Country Link
JP (1) JP6516546B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6836571B2 (en) * 2018-11-14 2021-03-03 ファナック株式会社 Robot device
JP7351667B2 (en) * 2019-08-01 2023-09-27 ファナック株式会社 Robot control system, control method, computer program, and control device that performs multi-point mating

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08187687A (en) * 1995-01-10 1996-07-23 Toshiba Corp Control device for robot and hand device for robot
JPH09136279A (en) * 1995-11-15 1997-05-27 Fanuc Ltd Phase-adjusting fitting method using force control robot
JPH09258814A (en) * 1996-03-22 1997-10-03 Kayaba Ind Co Ltd Device and method for controlling position of assembling robot
JP3818986B2 (en) * 2003-07-08 2006-09-06 ファナック株式会社 Mating device
JP4598849B2 (en) * 2008-09-03 2010-12-15 ファナック株式会社 Fitting device for correcting clogged fitting
JP5451219B2 (en) * 2009-07-06 2014-03-26 キヤノン株式会社 Parts assembly method
JP5545534B2 (en) * 2010-04-19 2014-07-09 株式会社安川電機 Robot teaching reproduction device, teaching reproducing method, and teaching data creation method
JP2013127670A (en) * 2011-12-16 2013-06-27 Canon Inc Control device and drive unit

Also Published As

Publication number Publication date
JP2015221490A (en) 2015-12-10

Similar Documents

Publication Publication Date Title
JP6511715B2 (en) Robot control device, robot system, and robot
US8175750B2 (en) Control apparatus and control method for robot arm, robot, control program for robot arm, and robot arm control-purpose integrated electronic circuit
JP6733239B2 (en) Controller and robot system
JP5505138B2 (en) Robot apparatus and gripping method using robot apparatus
JP6996113B2 (en) Robot control methods, robot systems and controls
JP6351293B2 (en) Robot system and article manufacturing method
US8467901B2 (en) Calibration of a base coordinate system for an industrial robot
JP7204354B2 (en) Robot system, robot system control method, article manufacturing method using robot system, program and recording medium
JP2009255191A (en) Robot manipulator
CN106493711B (en) Control device, robot, and robot system
JP6361172B2 (en) Robot, robot system, and control device
JP2014176940A (en) Robot system, method for controlling robot and method for manufacturing workpiece
JP6746990B2 (en) Robot controller and robot system
JP2015000455A (en) Robot device and control method for robot device
US20190022859A1 (en) Robot apparatus, control method for the robot apparatus, assembly method using the robot apparatus, and recording medium
JP6516546B2 (en) Control method of robot device, robot device, and method of manufacturing article
JP2012125852A (en) Assembling robot and method of controlling the same
JP2015085499A (en) Robot, robot system, control device and control method
JP6314429B2 (en) Robot, robot system, and robot controller
JP2008254097A (en) Relative position calculating method between plurality of robots
JP2018167395A (en) Robot device, control device, and robot control method
JPH06143171A (en) Robot
JP2007160437A (en) Positioning robot
JP6322948B2 (en) Robot control apparatus, robot system, robot, robot control method, and program
WO2022195944A1 (en) Robot system, and control method for robot system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180420

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180523

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190312

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190416

R151 Written notification of patent or utility model registration

Ref document number: 6516546

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151