[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JP7433509B2 - Control device, robot system, learning device, trajectory model, control method, and program - Google Patents

Control device, robot system, learning device, trajectory model, control method, and program Download PDF

Info

Publication number
JP7433509B2
JP7433509B2 JP2023500791A JP2023500791A JP7433509B2 JP 7433509 B2 JP7433509 B2 JP 7433509B2 JP 2023500791 A JP2023500791 A JP 2023500791A JP 2023500791 A JP2023500791 A JP 2023500791A JP 7433509 B2 JP7433509 B2 JP 7433509B2
Authority
JP
Japan
Prior art keywords
trajectory
robot
machining
workpiece
intermediate point
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
JP2023500791A
Other languages
Japanese (ja)
Other versions
JPWO2022176762A1 (en
JPWO2022176762A5 (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of JPWO2022176762A1 publication Critical patent/JPWO2022176762A1/ja
Publication of JPWO2022176762A5 publication Critical patent/JPWO2022176762A5/en
Application granted granted Critical
Publication of JP7433509B2 publication Critical patent/JP7433509B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/10Programme-controlled manipulators characterised by positioning means for manipulator elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Manipulator (AREA)
  • Numerical Control (AREA)

Description

本開示は、制御装置、ロボットシステム、学習装置、軌跡モデル、制御方法、およびプログラムに関する。 The present disclosure relates to a control device, a robot system, a learning device, a trajectory model, a control method, and a program.

産業用のロボットは、種々の動きを可能にするため、複数のリンクと、複数のリンクを接続する複数の関節と、を備える。制御装置が、ロボットが有する複数の関節を駆動する複数のサーボモータを制御することで、ロボットが目的の動作を行うことが可能となる。例えば、各サーボモータの遅れに差が生じると、複数のリンクの内、先端に位置するリンクである先端リンクの実際の軌跡は、目標とする軌跡からずれることがある。ロボットの実際の軌跡と目標とする軌跡との誤差を最小化するための技術の一例が特許文献1に開示されている。 Industrial robots include multiple links and multiple joints connecting the multiple links to enable various movements. A control device controls a plurality of servo motors that drive a plurality of joints of a robot, thereby enabling the robot to perform a desired operation. For example, if a difference occurs in the delay of each servo motor, the actual trajectory of the tip link, which is the link located at the tip of the plurality of links, may deviate from the target trajectory. An example of a technique for minimizing the error between the actual trajectory of a robot and a target trajectory is disclosed in Patent Document 1.

特許文献1に開示されるロボット位置教示装置は、ロボットの実際の軌跡を測定し、実際の軌跡と目標とする軌跡との距離である軌跡誤差に基づいて、誤差を最小化するための見込み教示点を算出する。見込み教示点に基づいてロボットを制御することで、軌跡誤差が減少する。 The robot position teaching device disclosed in Patent Document 1 measures the actual trajectory of the robot and performs prospective teaching to minimize the error based on the trajectory error, which is the distance between the actual trajectory and the target trajectory. Calculate points. Controlling the robot based on expected teaching points reduces trajectory errors.

特開平11-048176号公報Japanese Patent Application Publication No. 11-048176

上述のようにロボットの先端の実際の軌跡を目標とする軌跡に近づける制御を行っても、先端リンクに加工工具を取り付けて加工対象物を加工する際に先端リンクが力を受けるため、先端リンクの軌跡が目標とする軌跡からずれる。この結果、加工時のロボットの制御精度が低下する。 Even if control is performed to bring the actual trajectory of the robot's tip closer to the target trajectory as described above, the tip link will receive force when attaching a processing tool to the tip link and machining the workpiece. trajectory deviates from the target trajectory. As a result, the control accuracy of the robot during machining is reduced.

本開示は上述の事情に鑑みてなされたものであり、加工時のロボットの制御精度が高い制御装置、ロボットシステム、学習装置、軌跡モデル、制御方法、およびプログラムを提供することを目的とする。 The present disclosure has been made in view of the above circumstances, and aims to provide a control device, a robot system, a learning device, a trajectory model, a control method, and a program that can control a robot with high accuracy during machining.

上記目的を達成するため、本開示に係る制御装置は、加工対象物の加工を行うための加工工具が取り付け可能なロボットを制御する制御装置であって、駆動条件記憶部と、基準軌跡決定部と、実軌跡取得部と、学習部と、目標軌跡決定部と、制御部と、を備える。駆動条件記憶部は、ロボットの動作開始点および動作終了点を少なくとも指定する駆動条件に、動作開始点から動作終了点に至るまでにロボットが通る位置を示す基準中間点を対応付けて記憶している。基準軌跡決定部は、駆動条件記憶部から基準中間点を取得し、取得した基準中間点について、駆動条件に基づき、該基準中間点を通る基準軌跡を決定する。実軌跡取得部は、ロボットの実際の軌跡を取得する。学習部は、基準軌跡に応じてロボットを制御することで加工対象物の加工を行う場合に実軌跡取得部で取得された加工時実軌跡の駆動条件に基づく理想軌跡からのずれを示す加工時軌跡誤差を取得された基準中間点について求め、基準中間点と加工時軌跡誤差との対応を学習して、加工時軌跡誤差を最小化する目標中間点を駆動条件に応じて示す軌跡モデルを生成する。目標軌跡決定部は、軌跡モデルから得られる目標中間点を通る目標軌跡を決定する。制御部は、基準軌跡または目標軌跡に応じてロボットを制御する。 In order to achieve the above object, a control device according to the present disclosure is a control device that controls a robot to which a processing tool for processing a workpiece can be attached, and includes a drive condition storage unit and a reference trajectory determination unit. , an actual trajectory acquisition section, a learning section, a target trajectory determination section, and a control section. The drive condition storage unit stores drive conditions that specify at least a motion start point and a motion end point of the robot in association with a reference intermediate point indicating a position that the robot passes from the motion start point to the motion end point. There is. The reference trajectory determining unit acquires a reference intermediate point from the driving condition storage unit, and determines a reference trajectory passing through the acquired reference intermediate point based on the driving condition. The actual trajectory acquisition unit acquires the actual trajectory of the robot. When machining the workpiece by controlling the robot according to the reference trajectory, the learning section is configured to detect the deviation of the actual trajectory from the ideal trajectory based on the driving conditions of the actual trajectory acquired by the actual trajectory acquisition section. The trajectory error is determined for the obtained reference intermediate point, the correspondence between the reference intermediate point and the machining trajectory error is learned, and a trajectory model is generated that indicates the target intermediate point that minimizes the machining trajectory error according to the driving conditions. do. The target trajectory determination unit determines a target trajectory passing through a target intermediate point obtained from the trajectory model. The control unit controls the robot according to the reference trajectory or the target trajectory.

本開示に係る制御装置は、基準中間点と加工時軌跡誤差との対応を学習して、加工時軌跡誤差を最小化する目標中間点を駆動条件に応じて示す軌跡モデルを生成し、目標中間点を通る目標軌跡に応じてロボットを制御する。このため、本開示に係る制御装置による加工時のロボットの制御精度は高い。 A control device according to the present disclosure learns the correspondence between a reference intermediate point and a trajectory error during machining, generates a trajectory model that indicates a target intermediate point that minimizes the trajectory error during machining according to driving conditions, and generates a trajectory model that indicates a target intermediate point that minimizes the trajectory error during machining. Control the robot according to the target trajectory passing through the points. Therefore, the control accuracy of the robot during processing by the control device according to the present disclosure is high.

実施の形態1に係るロボットの斜視図A perspective view of a robot according to Embodiment 1 実施の形態1に係るロボットの側面図Side view of the robot according to Embodiment 1 実施の形態1に係るロボットシステムのブロック図Block diagram of robot system according to Embodiment 1 実施の形態1に係る制御装置のハードウェア構成を示すブロック図Block diagram showing the hardware configuration of the control device according to Embodiment 1 実施の形態1に係る制御装置が行う学習処理の一例を示すフローチャートFlowchart showing an example of learning processing performed by the control device according to Embodiment 1 実施の形態1に係る駆動条件記憶部が保持する駆動条件テーブルの例を示す図A diagram showing an example of a driving condition table held by the driving condition storage unit according to Embodiment 1. 実施の形態1における基準軌跡および実軌跡の例を示す図A diagram showing an example of a reference trajectory and an actual trajectory in Embodiment 1 実施の形態1に係る学習済みデータ記憶部が保持する誤差テーブルの例を示す図A diagram showing an example of an error table held by the learned data storage unit according to Embodiment 1. 実施の形態1に係る学習済みデータ記憶部が保持する目標中間点テーブルの例を示す図A diagram showing an example of a target intermediate point table held by the learned data storage unit according to Embodiment 1. 実施の形態1に係る制御装置が行う運用処理の一例を示すフローチャートFlowchart showing an example of operation processing performed by the control device according to Embodiment 1 実施の形態1における目標軌跡および実軌跡の例を示す図A diagram showing an example of a target trajectory and an actual trajectory in Embodiment 1 実施の形態2に係るロボットシステムのブロック図Block diagram of robot system according to Embodiment 2 実施の形態2に係る制御装置が行う学習処理の一例を示すフローチャートFlowchart showing an example of learning processing performed by the control device according to Embodiment 2 実施の形態2に係る学習済みデータ記憶部が保持する誤差テーブルの例を示す図A diagram showing an example of an error table held by the learned data storage unit according to Embodiment 2. 実施の形態2に係る制御装置が行う運用処理の一例を示すフローチャートFlowchart showing an example of operation processing performed by the control device according to Embodiment 2 実施の形態3に係るロボットシステムのブロック図Block diagram of robot system according to Embodiment 3 実施の形態3に係る制御装置が行う学習処理の一例を示すフローチャートFlowchart showing an example of learning processing performed by the control device according to Embodiment 3 実施の形態3に係る学習済みデータ記憶部が保持する誤差テーブルの例を示す図A diagram showing an example of an error table held by the learned data storage unit according to Embodiment 3 実施の形態4に係るロボットシステムのブロック図Block diagram of robot system according to Embodiment 4 実施の形態に係る学習済みデータ記憶部が保持する目標中間点テーブルの変形例を示す図A diagram showing a modified example of the target intermediate point table held by the learned data storage unit according to the embodiment. 実施の形態に係る学習済みデータ記憶部が保持する誤差テーブルの第1変形例を示す図A diagram showing a first modification of the error table held by the learned data storage unit according to the embodiment. 実施の形態に係る学習済みデータ記憶部が保持する誤差テーブルの第2変形例を示す図A diagram showing a second modification of the error table held by the learned data storage unit according to the embodiment. 実施の形態に係る学習済みデータ記憶部が保持する誤差テーブルの第3変形例を示す図A diagram showing a third modification of the error table held by the learned data storage unit according to the embodiment. 実施の形態に係るロボットシステムの変形例のブロック図Block diagram of a modified example of the robot system according to the embodiment 実施の形態に係るロボットの第1変形例の斜視図A perspective view of a first modification of the robot according to the embodiment 実施の形態に係るロボットの第2変形例の斜視図A perspective view of a second modification of the robot according to the embodiment

以下、本開示の実施の形態に係る制御装置、ロボットシステム、学習装置、軌跡モデル、制御方法、およびプログラムについて図面を参照して詳細に説明する。なお図中、同一または同等の部分には同一の符号を付す。 Hereinafter, a control device, a robot system, a learning device, a trajectory model, a control method, and a program according to embodiments of the present disclosure will be described in detail with reference to the drawings. In the figures, the same or equivalent parts are given the same reference numerals.

(実施の形態1)
複数のリンクと複数の関節とを備えるロボットを例にして、ロボットとロボットを制御する制御装置とを備えるロボットシステムについて実施の形態1で説明する。ロボットは、複数のリンクと、複数のリンクを互いに接続する複数の関節と、複数の関節に対応付けられて、対応する関節を駆動する複数のモータと、を有する。
(Embodiment 1)
In Embodiment 1, a robot system including a robot and a control device that controls the robot will be described using a robot including a plurality of links and a plurality of joints as an example. The robot includes a plurality of links, a plurality of joints that connect the plurality of links to each other, and a plurality of motors that are associated with the plurality of joints and drive the corresponding joints.

図1および図2に示すように、ロボット10は垂直多関節型のロボットである。詳細には、ロボット10は、複数のリンクとして、第1アーム110と、第2アーム120と、第3アーム130と、第4アーム140と、第5アーム150と、フランジ160と、ベース170と、を備える。フランジ160は、複数のリンクの内、先端に位置するリンクである先端リンクに相当する。 As shown in FIGS. 1 and 2, the robot 10 is a vertically articulated robot. Specifically, the robot 10 includes a first arm 110, a second arm 120, a third arm 130, a fourth arm 140, a fifth arm 150, a flange 160, and a base 170 as a plurality of links. , is provided. The flange 160 corresponds to a tip link that is a link located at the tip of the plurality of links.

ロボット10はさらに、平面に固定されてベース170を支持する固定部180と、フランジ160に取り付けられる加工工具200による加工対象物300の加工時にフランジ160が受ける力である反力を測定する力覚センサ190と、を備える。実施の形態1では、固定部180は、主面の形状が正方形である板状部材である。 The robot 10 further includes a fixed part 180 that is fixed to a flat surface and supports the base 170, and a force sense that measures the reaction force that the flange 160 receives when processing the workpiece 300 with the processing tool 200 that is attached to the flange 160. A sensor 190 is provided. In the first embodiment, the fixing part 180 is a plate-like member whose main surface has a square shape.

図1および図2において、固定部180の主面に平行な面に含まれ、互いに直交する軸として、X軸およびY軸を設定し、X軸およびY軸のそれぞれに直交する軸としてZ軸を設定する。X軸およびY軸はそれぞれ、固定部180の端面に沿って延伸する。固定部180が水平面に固定されていれば、Z軸は鉛直方向に延伸する。実施の形態1において、先端リンクの軌跡、具体的には、フランジ160の先端面160aの重心の軌跡は、XYZ直交座標系で表される。XYZ直交座標系の原点は、例えば、ロボット10が初期位置にあるときの先端面160aの重心の位置である。ロボット10が初期位置にあるときとは、後述のモータM1,M2,M3,M4,M5,M6のそれぞれの回転位置が初期位置にあるときを示す。 1 and 2, the X-axis and Y-axis are set as axes that are included in a plane parallel to the main surface of the fixing part 180 and are orthogonal to each other, and the Z-axis is set as an axis that is orthogonal to each of the X-axis and Y-axis. Set. The X-axis and the Y-axis each extend along the end surface of the fixed part 180. If the fixed part 180 is fixed on a horizontal plane, the Z axis extends in the vertical direction. In the first embodiment, the trajectory of the tip link, specifically, the trajectory of the center of gravity of the tip surface 160a of the flange 160, is expressed in an XYZ orthogonal coordinate system. The origin of the XYZ orthogonal coordinate system is, for example, the position of the center of gravity of the tip surface 160a when the robot 10 is at the initial position. When the robot 10 is at the initial position, it means when each of the rotational positions of motors M1, M2, M3, M4, M5, and M6, which will be described later, is at the initial position.

第1アーム110は、Z軸に平行な回転軸AX1周りに回転可能な状態でベース170に取り付けられる。第2アーム120は、第1アーム110に連結され、回転軸AX2周りに回転可能である。第3アーム130は、第2アーム120に連結され、回転軸AX3周りに回転可能である。第4アーム140は、第3アーム130に連結され、回転軸AX4周りに回転可能である。第5アーム150は、第4アーム140に連結され、回転軸AX5周りに回転可能である。フランジ160は、第5アーム150に連結され、回転軸AX6周りに回転可能である。換言すれば、ロボット10は、回転軸AX1,AX2,AX3,AX4,AX5,AX6に対応する6つの関節を有する。 The first arm 110 is attached to the base 170 in a rotatable state around a rotation axis AX1 parallel to the Z-axis. The second arm 120 is connected to the first arm 110 and is rotatable around the rotation axis AX2. The third arm 130 is connected to the second arm 120 and is rotatable around the rotation axis AX3. The fourth arm 140 is connected to the third arm 130 and is rotatable around a rotation axis AX4. The fifth arm 150 is connected to the fourth arm 140 and is rotatable around the rotation axis AX5. The flange 160 is connected to the fifth arm 150 and is rotatable around the rotation axis AX6. In other words, the robot 10 has six joints corresponding to the rotation axes AX1, AX2, AX3, AX4, AX5, and AX6.

制御装置1が、加工対象物300の加工を行うための加工工具200が取り付けられたロボット10を制御することで、加工工具200による加工対象物300の加工が可能となる。例えば、図2に示すように、制御装置1はロボット10を制御して、フランジ160の先端面が、ロボット10が固定されている平面に平行な状態で、フランジ160をX軸正方向に移動させる。この結果、フランジ160に取り付けられている加工工具200が加工対象物300のX軸方向と交差する側面に当接して、さらにX軸正方向に移動することで、バリ310を加工対象物300から取り除くことができる。バリ310は、加工対象物300の成形時にできる突起であり、加工対象物300の目標の外形から突出している部分である。 The control device 1 controls the robot 10 to which the processing tool 200 for processing the workpiece 300 is attached, so that the processing tool 200 can process the workpiece 300. For example, as shown in FIG. 2, the control device 1 controls the robot 10 to move the flange 160 in the positive direction of the X-axis with the distal end surface of the flange 160 parallel to the plane on which the robot 10 is fixed. let As a result, the processing tool 200 attached to the flange 160 comes into contact with the side surface of the workpiece 300 that intersects with the X-axis direction and further moves in the positive direction of the X-axis, removing the burr 310 from the workpiece 300. can be removed. The burr 310 is a protrusion formed during molding of the workpiece 300, and is a portion that protrudes from the target outer shape of the workpiece 300.

図3に示すように、ロボット10は、回転軸AX1,AX2,AX3,AX4,AX5,AX6に対応するモータM1,M2,M3,M4,M5,M6を備える。モータM1,M2,M3,M4,M5,M6は、サーボモータである。制御装置1が駆動条件に応じてモータM1,M2,M3,M4,M5,M6を制御することで、モータM1,M2,M3,M4,M5,M6が回転し、第1アーム110、第2アーム120、第3アーム130、第4アーム140、第5アーム150、およびフランジ160が回転する。この結果、ロボット10の先端リンクであるフランジ160の軌跡が駆動条件に応じた軌跡となる。ロボット10はさらに、モータM1,M2,M3,M4,M5,M6の回転位置を検出するエンコーダE1,E2,E3,E4,E5,E6を備える。 As shown in FIG. 3, the robot 10 includes motors M1, M2, M3, M4, M5, and M6 corresponding to rotational axes AX1, AX2, AX3, AX4, AX5, and AX6. Motors M1, M2, M3, M4, M5, and M6 are servo motors. The control device 1 controls the motors M1, M2, M3, M4, M5, and M6 according to the driving conditions, so that the motors M1, M2, M3, M4, M5, and M6 rotate, and the first arm 110 and the second arm Arm 120, third arm 130, fourth arm 140, fifth arm 150, and flange 160 rotate. As a result, the trajectory of the flange 160, which is the tip link of the robot 10, becomes a trajectory that corresponds to the driving conditions. The robot 10 further includes encoders E1, E2, E3, E4, E5, and E6 that detect the rotational positions of the motors M1, M2, M3, M4, M5, and M6.

ロボットシステム100は、上記構成を有するロボット10と、ロボット10を制御する制御装置1と、を備える。制御装置1は、ロボット10の動作開始点および動作終了点を少なくとも指定する駆動条件に応じて、ロボット10の軌跡、具体的には、フランジ160の軌跡を理想軌跡に近づける制御を行う。ロボット10の動作開始点は、ロボット10の可動部分の動作開始点、具体的には、ロボット10が備えるフランジ160の動作開始点を意味する。ロボット10の動作終了点は、ロボット10の可動部分の動作終了点、具体的には、ロボット10が備えるフランジ160の動作終了点を意味する。 The robot system 100 includes a robot 10 having the above configuration and a control device 1 that controls the robot 10. The control device 1 performs control to bring the trajectory of the robot 10, specifically, the trajectory of the flange 160, closer to an ideal trajectory in accordance with drive conditions that specify at least an operation start point and an operation end point of the robot 10. The operation start point of the robot 10 means the operation start point of the movable part of the robot 10, specifically, the operation start point of the flange 160 included in the robot 10. The operation end point of the robot 10 means the operation end point of the movable part of the robot 10, specifically, the operation end point of the flange 160 included in the robot 10.

実施の形態1では、制御装置1は、ロボット10が備えるフランジ160の動作開始点および動作終了点を少なくとも指定する駆動条件に応じて、ロボット10が備えるモータM1,M2,M3,M4,M5,M6を制御する。制御装置1が上述のように加工工具200が取り付けられたロボット10を制御することで、図2に示す加工対象物300のバリ310を除去するバリ取り、加工対象物300への部品の取付等の加工が可能となる。 In the first embodiment, the control device 1 controls the motors M1, M2, M3, M4, M5, and Control M6. By controlling the robot 10 to which the processing tool 200 is attached as described above, the control device 1 performs deburring to remove the burr 310 of the workpiece 300 shown in FIG. 2, attachment of parts to the workpiece 300, etc. processing becomes possible.

駆動条件に応じてロボット10を制御して加工対象物300の加工を行う際に、先端リンクの実際の軌跡は、駆動条件に基づく理想軌跡からずれる。実施の形態1では、理想軌跡は、駆動条件が示す動作開始点から駆動条件が示す動作終了点までの最短の軌跡である。 When controlling the robot 10 according to drive conditions to process the workpiece 300, the actual trajectory of the tip link deviates from the ideal trajectory based on the drive conditions. In the first embodiment, the ideal trajectory is the shortest trajectory from the operation start point indicated by the drive conditions to the operation end point indicated by the drive conditions.

理想軌跡からのずれは、機械的要因に起因するずれと、外部要因に起因するずれと、を含む。機械的要因に起因するずれは、例えば、加工対象物300の加工が行われない場合にモータM1,M2,M3,M4,M5,M6のそれぞれの動作の遅れの差に起因するずれである。外部要因に起因するずれは、例えば、重力、遠心力、加工反力等の影響を受けて、第1アーム110、第2アーム120、第3アーム130、第4アーム140、第5アーム150、およびフランジ160の少なくともいずれかに機械的なたわみが生じることに起因するずれである。 The deviation from the ideal trajectory includes deviations caused by mechanical factors and deviations caused by external factors. The deviation caused by a mechanical factor is, for example, a deviation caused by a difference in the delay in the operation of the motors M1, M2, M3, M4, M5, and M6 when the workpiece 300 is not processed. Misalignment caused by external factors is caused by, for example, gravity, centrifugal force, processing reaction force, etc. This is a deviation caused by mechanical deflection of at least one of the flange 160 and the flange 160.

機械的要因に起因するずれを最小化するため、制御装置1は、非加工時実軌跡の理想軌跡からのずれを示す非加工時軌跡誤差を最小化するための基準中間点を駆動条件に対応付けて記憶している。非加工時実軌跡は、加工対象物300の加工が行われない場合に駆動条件に応じて制御されたロボット10の先端リンクの軌跡を示す。基準中間点は、駆動条件が示す動作開始点から動作終了点に至るまでに先端リンクが通る位置を示す。 In order to minimize the deviation caused by mechanical factors, the control device 1 sets a reference intermediate point corresponding to the driving conditions to minimize the trajectory error during non-machining, which indicates the deviation of the actual trajectory during non-machining from the ideal trajectory. I remember putting it on. The non-processing actual trajectory indicates the trajectory of the tip link of the robot 10 that is controlled according to the drive conditions when the processing object 300 is not processed. The reference intermediate point indicates the position that the tip link passes from the motion start point to the motion end point indicated by the drive conditions.

外部要因の一例である加工反力に起因するずれを最小化するため、制御装置1は、加工時実軌跡の理想軌跡からのずれを示す加工時軌跡誤差を求め、基準中間点と加工時軌跡誤差との対応付けを学習する。加工反力は、加工対象物300の加工時にフランジ160が受ける力である。加工時実軌跡は、基準中間点を通る基準軌跡に応じてロボット10を制御することで加工対象物300の加工を行う場合の先端リンクの軌跡を示す。上述のように基準中間点と加工時軌跡誤差の対応を学習した後、制御装置1は、加工時軌跡誤差を最小化する目標中間点を駆動条件に応じて示す軌跡モデルを生成し、目標中間点を通る目標軌跡に応じてロボット10を制御する。目標軌跡に応じてロボット10を制御することで、加工時のロボット10の制御精度を向上させることが可能となる。 In order to minimize the deviation caused by machining reaction force, which is an example of an external factor, the control device 1 calculates the machining trajectory error that indicates the deviation of the actual machining trajectory from the ideal trajectory, and calculates the machining trajectory error between the reference intermediate point and the machining trajectory. Learn the correspondence with errors. The processing reaction force is a force that the flange 160 receives when processing the workpiece 300. The actual locus during machining indicates the locus of the tip link when machining the workpiece 300 by controlling the robot 10 according to the reference locus passing through the reference intermediate point. After learning the correspondence between the reference intermediate point and the trajectory error during machining as described above, the control device 1 generates a trajectory model that indicates the target intermediate point that minimizes the trajectory error during machining according to the driving conditions, and sets the target intermediate point. The robot 10 is controlled according to the target trajectory passing through the points. By controlling the robot 10 according to the target trajectory, it is possible to improve the control accuracy of the robot 10 during machining.

制御装置1の各部について以下に説明する。
制御装置1は、駆動条件と基準中間点とを対応付けて記憶している駆動条件記憶部11と、基準中間点を通る基準軌跡を決定する基準軌跡決定部12と、ロボット10の実際の軌跡、具体的には、先端リンクであるフランジ160の実際の移動軌跡を取得する実軌跡取得部13と、を備える。制御装置1はさらに、基準軌跡に応じてロボット10を制御することで加工対象物300の加工を行う場合に実軌跡取得部13で取得された実際の軌跡を示す加工時実軌跡の理想軌跡からのずれを示す加工時軌跡誤差を基準中間点のそれぞれについて求める。制御装置1は、基準中間点と加工時軌跡誤差との対応を学習し、加工時軌跡誤差を最小化する目標中間点を駆動条件に応じて示す軌跡モデルを生成する学習部14を備える。
Each part of the control device 1 will be explained below.
The control device 1 includes a drive condition storage unit 11 that stores drive conditions and reference intermediate points in association with each other, a reference trajectory determination unit 12 that determines a reference trajectory passing through the reference intermediate points, and an actual trajectory of the robot 10. Specifically, it includes an actual trajectory acquisition unit 13 that acquires the actual movement trajectory of the flange 160, which is the tip link. Furthermore, when processing the workpiece 300 by controlling the robot 10 according to the reference trajectory, the control device 1 further selects the ideal trajectory from the actual trajectory during machining, which indicates the actual trajectory acquired by the actual trajectory acquisition unit 13. The machining trajectory error indicating the deviation is determined for each reference intermediate point. The control device 1 includes a learning unit 14 that learns the correspondence between the reference intermediate point and the machining trajectory error, and generates a trajectory model that indicates a target intermediate point that minimizes the machining trajectory error according to the driving conditions.

制御装置1はさらに、学習部14の学習結果を記憶する学習済みデータ記憶部15と、軌跡モデルおよび駆動条件を含む駆動指令に基づき、駆動条件に応じた目標中間点を通る目標軌跡を決定する目標軌跡決定部16と、を備える。制御装置1は、基準軌跡または目標軌跡に応じてロボット10、具体的には、モータM1,M2,M3,M4,M5,M6を制御する制御部17と、ロボット10が備える力覚センサ190からセンサ信号を取得して、センサ信号から加工時にロボット10が受ける力である反力を算出する反力取得部18と、を備える。 The control device 1 further determines a target trajectory passing through a target intermediate point according to the drive conditions based on a learned data storage unit 15 that stores the learning results of the learning unit 14 and a drive command including a trajectory model and drive conditions. A target trajectory determination unit 16 is provided. The control device 1 includes a control unit 17 that controls the robot 10, specifically, motors M1, M2, M3, M4, M5, and M6 according to a reference trajectory or a target trajectory, and a force sensor 190 that the robot 10 includes. A reaction force acquisition unit 18 is provided that acquires a sensor signal and calculates a reaction force, which is a force that the robot 10 receives during machining, from the sensor signal.

図4に示すように、制御装置1は、ハードウェア構成として、プロセッサ31と、メモリ32と、インターフェース33と、を備える。プロセッサ31、メモリ32およびインターフェース33は互いにバス34で接続されている。制御装置1の各機能は、プロセッサ31がメモリ32に記憶されたプログラムを実行することにより実現される。インターフェース33は制御装置1と外部装置を接続し、外部装置との通信を可能とする。詳細には、制御装置1は、インターフェース33を介して、モータM1,M2,M3,M4,M5,M6、エンコーダE1,E2,E3,E4,E5,E6、および力覚センサ190に接続される。インターフェース33は、必要に応じて複数の種類のインターフェースモジュールを有する。 As shown in FIG. 4, the control device 1 includes a processor 31, a memory 32, and an interface 33 as a hardware configuration. Processor 31, memory 32 and interface 33 are connected to each other by bus 34. Each function of the control device 1 is realized by the processor 31 executing a program stored in the memory 32. The interface 33 connects the control device 1 and an external device and enables communication with the external device. In detail, the control device 1 is connected to the motors M1, M2, M3, M4, M5, M6, encoders E1, E2, E3, E4, E5, E6, and the force sensor 190 via the interface 33. . The interface 33 has multiple types of interface modules as necessary.

図4に示す制御装置1は、プロセッサ31およびメモリ32をそれぞれ1つずつ有するが、制御装置1は、複数のプロセッサ31および複数のメモリ32を有してもよい。この場合、複数のプロセッサ31および複数のメモリ32が連携することで、制御装置1の各機能が実現されればよい。 Although the control device 1 shown in FIG. 4 has one processor 31 and one memory 32, the control device 1 may have multiple processors 31 and multiple memories 32. In this case, each function of the control device 1 may be realized by the plurality of processors 31 and the plurality of memories 32 working together.

上記構成を有する制御装置1は、基準中間点を通る基準軌跡に応じてロボット10を制御することを駆動条件ごとに行って、加工時軌跡誤差を最小化する目標中間点を駆動条件に応じて示す軌跡モデルを生成する学習処理と目標中間点を通る目標軌跡に応じてロボット10を制御する運用処理とを行う。軌跡誤差の最小化とは、軌跡誤差を最小値または最小値の近傍値、あるいは、極小値または極小値の近傍値に近づけることを意味する。 The control device 1 having the above configuration controls the robot 10 according to the reference trajectory passing through the reference intermediate point for each drive condition, and sets the target intermediate point that minimizes the trajectory error during machining according to the drive conditions. A learning process for generating a trajectory model shown in the figure and an operation process for controlling the robot 10 according to the target trajectory passing through the target intermediate point are performed. Minimizing the trajectory error means bringing the trajectory error close to the minimum value, a value near the minimum value, or a minimum value or a value near the minimum value.

制御装置1が行う学習処理の動作の概要について、図5を用いて説明する。例えば、ロボット10の設置後に、制御装置1が初めて動作を開始する際または新たな駆動条件が追加された際に、制御装置1は図5の学習処理を開始する。図5の学習処理は、加工工具200がフランジ160に取り付けられ、加工対象物300に加工をしながら行われる。換言すれば、制御装置1が駆動条件ごとの加工時軌跡誤差を得るために、加工対象物300の加工が行われる。 An overview of the operation of the learning process performed by the control device 1 will be described using FIG. 5. For example, after the robot 10 is installed, the control device 1 starts the learning process shown in FIG. 5 when the control device 1 starts operating for the first time or when a new drive condition is added. The learning process in FIG. 5 is performed while the machining tool 200 is attached to the flange 160 and machining the workpiece 300. In other words, the workpiece 300 is machined in order for the control device 1 to obtain a machining trajectory error for each drive condition.

基準軌跡決定部12は、駆動条件と基準中間点とを対応付けて記憶している駆動条件記憶部11から、駆動条件と基準中間点を取得する(ステップS11)。そして、基準軌跡決定部12は、ステップS11で取得した駆動条件および基準中間点に基づき、基準中間点を通る基準軌跡を決定する(ステップS12)。制御部17は、ステップS12で決定された基準軌跡に応じてロボット10のモータM1,M2,M3,M4,M5,M6を制御し、実軌跡取得部13は、ロボット10の実際の軌跡を取得し、反力を算出する(ステップS13)。 The reference trajectory determining unit 12 acquires the driving condition and the reference intermediate point from the driving condition storage unit 11 that stores the driving condition and the reference intermediate point in association with each other (step S11). Then, the reference trajectory determination unit 12 determines a reference trajectory passing through the reference intermediate point based on the driving conditions and the reference intermediate point acquired in step S11 (step S12). The control unit 17 controls the motors M1, M2, M3, M4, M5, and M6 of the robot 10 according to the reference trajectory determined in step S12, and the actual trajectory acquisition unit 13 acquires the actual trajectory of the robot 10. Then, the reaction force is calculated (step S13).

詳細には、制御部17は、基準軌跡に従ってフランジ160を移動させるためモータM1,M2,M3,M4,M5,M6の目標位置を決定し、モータM1,M2,M3,M4,M5,M6を目標位置まで動かす制御を行う。実軌跡取得部13は、エンコーダE1,E2,E3,E4,E5,E6から取得したモータM1,M2,M3,M4,M5,M6の回転位置に基づいて、ロボット10の実際の軌跡を取得する。反力取得部18は、力覚センサ190から取得したセンサ信号に基づいて反力を算出する。学習部14は、ステップS13で取得された軌跡のステップS11で取得された駆動条件に基づく理想軌跡からのずれを示す加工時軌跡誤差を算出して、加工時軌跡誤差とステップS14で算出された反力とを対応付ける(ステップS14)。駆動条件記憶部11に記憶されている全ての駆動条件について加工時軌跡誤差と反力の対応付けが完了していない間は(ステップS15;No)、上述のステップS11からS14の処理が繰り返される。 Specifically, the control unit 17 determines the target positions of the motors M1, M2, M3, M4, M5, and M6 in order to move the flange 160 according to the reference trajectory, and controls the motors M1, M2, M3, M4, M5, and M6. Performs control to move to the target position. The actual trajectory acquisition unit 13 acquires the actual trajectory of the robot 10 based on the rotational positions of the motors M1, M2, M3, M4, M5, and M6 acquired from encoders E1, E2, E3, E4, E5, and E6. . The reaction force acquisition unit 18 calculates the reaction force based on the sensor signal acquired from the force sensor 190. The learning unit 14 calculates a machining trajectory error indicating a deviation of the trajectory acquired in step S13 from the ideal trajectory based on the driving conditions acquired in step S11, and calculates the machining trajectory error and the machining trajectory error calculated in step S14. and the reaction force (step S14). As long as the association between machining trajectory error and reaction force is not completed for all drive conditions stored in the drive condition storage unit 11 (step S15; No), the processes of steps S11 to S14 described above are repeated. .

駆動条件記憶部11に記憶されている全ての駆動条件について加工時軌跡誤差と反力の対応付けが完了すると(ステップS15;Yes)、学習部14は、加工時軌跡誤差を最小化する目標中間点を求め、駆動条件に応じて目標中間点を示す軌跡モデルを生成する(ステップS16)。ステップS16の処理が完了すると、制御装置1は学習処理を終了する。 When the correspondence between the machining trajectory error and the reaction force is completed for all the drive conditions stored in the drive condition storage unit 11 (step S15; Yes), the learning unit 14 determines the target intermediate that minimizes the machining trajectory error. The points are determined, and a trajectory model indicating the target intermediate point is generated according to the driving conditions (step S16). When the process of step S16 is completed, the control device 1 ends the learning process.

制御装置1が行う学習処理の詳細について以下に説明する。
駆動条件記憶部11は、図6に示すように、駆動条件と基準中間点とを対応付けた駆動条件テーブルを保持している。駆動条件は、先端リンクであるフランジ160の動作開始点および動作終了点を少なくとも指定する。実施の形態1では、駆動条件は、先端リンクの動作開始点、動作終了点、速度および姿勢を含む。動作開始点および動作終了点は、図1および図2に示すXYZ直交座標系での位置を示す。速度は、先端リンクの動作時の目標速度を示す。姿勢は、先端リンクの向き、具体的には、フランジ160の先端面160aとロボット10が固定されている平面がなす角度を示す。
Details of the learning process performed by the control device 1 will be described below.
As shown in FIG. 6, the driving condition storage unit 11 holds a driving condition table that associates driving conditions with reference midpoints. The driving conditions specify at least the operation start point and operation end point of the flange 160, which is the tip link. In the first embodiment, the driving conditions include the operation start point, operation end point, speed, and attitude of the tip link. The operation start point and the operation end point indicate positions in the XYZ orthogonal coordinate system shown in FIGS. 1 and 2. The speed indicates the target speed during operation of the tip link. The posture indicates the direction of the tip link, specifically, the angle formed between the tip surface 160a of the flange 160 and the plane on which the robot 10 is fixed.

例えば、図6に示す駆動条件テーブルの一行目のレコードが含む駆動条件は、フランジ160の先端面が、ロボット10が固定されている平面に平行な状態で、フランジ160を動作開始点(0,0,0)から動作終了点(100,0,0)まで目標速度V1で移動させることを示す。この場合、理想軌跡は、動作開始点SP1(0,0,0)から動作終了点EP1(100,0,0)まで延び、X軸上に位置する線分で示される。 For example, the drive conditions included in the first row record of the drive condition table shown in FIG. 0,0) to the operation end point (100,0,0) at the target speed V1. In this case, the ideal trajectory extends from the operation start point SP1 (0, 0, 0) to the operation end point EP1 (100, 0, 0), and is indicated by a line segment located on the X axis.

実施の形態1では、各駆動条件に対し、基準中間点が定められている。上述したように、基準中間点は、加工対象物300の加工が行われない場合にモータM1,M2,M3,M4,M5,M6のそれぞれの動作の遅れの差に起因するずれを最小化するために、駆動条件が示す動作開始点から動作終了点に至るまでに先端リンクが通る位置を示す。例えば、動作開始点から動作終了点までの間に位置する複数の初期中間点のそれぞれについて、加工対象物300の加工は行わずに、初期中間点を通る軌跡に応じてロボット10を制御した際の実際の先端リンクの軌跡の理想軌跡からのずれを算出し、ずれを最小化する初期中間点を基準中間点として用いればよい。 In the first embodiment, a reference midpoint is determined for each drive condition. As described above, the reference midpoint minimizes the deviation caused by the difference in the delay in the operation of the motors M1, M2, M3, M4, M5, and M6 when the workpiece 300 is not processed. Therefore, the position that the tip link passes from the operation start point to the operation end point indicated by the drive conditions is shown. For example, when the robot 10 is controlled according to a trajectory passing through the initial intermediate points without processing the workpiece 300 for each of a plurality of initial intermediate points located between the operation start point and the operation end point. The deviation of the actual trajectory of the tip link from the ideal trajectory may be calculated, and the initial intermediate point that minimizes the deviation may be used as the reference intermediate point.

基準軌跡決定部12は、図6に示す駆動条件テーブルから対応付けられた駆動条件と基準中間点を取得する。そして、基準軌跡決定部12は、駆動条件に基づき、取得した基準中間点を通る基準軌跡を決定する。詳細には、基準軌跡決定部12は、駆動条件が示す動作開始点、基準中間点、および駆動条件が示す動作終了点に基づくスプライン補間を行って、駆動条件が示す動作開始点から、基準中間点を通って、駆動条件が示す動作終了点に至る基準軌跡を算出する。基準軌跡は、例えば、制御周期ごとのXYZ直交座標系における先端リンクの位置を示す。制御周期は、例えば、制御装置1の演算処理能力に応じて定められる。 The reference trajectory determination unit 12 acquires the associated driving conditions and reference intermediate points from the driving condition table shown in FIG. Then, the reference trajectory determination unit 12 determines a reference trajectory passing through the acquired reference intermediate point based on the driving conditions. Specifically, the reference trajectory determination unit 12 performs spline interpolation based on the operation start point, reference intermediate point, and operation end point indicated by the drive conditions, and moves the reference trajectory from the operation start point indicated by the drive conditions to the reference intermediate point. A reference trajectory is calculated that passes through the point and reaches the operation end point indicated by the driving conditions. The reference trajectory indicates, for example, the position of the tip link in the XYZ orthogonal coordinate system for each control cycle. The control period is determined, for example, according to the arithmetic processing capacity of the control device 1.

例えば、基準軌跡決定部12は、図6に示す駆動条件テーブルの一行目のレコードが示す駆動条件と基準中間点を取得する。この駆動条件に含まれる動作開始点(0,0,0)および動作終了点(100,0,0)をそれぞれ、図7に動作開始点SP1および動作終了点EP1として示し、基準中間点(50,-2.5,0)を図7に基準中間点RP1として示す。基準軌跡決定部12は、動作開始点SP1(0,0,0)から動作終了点EP1(100,0,0)までの動作を指示する駆動条件に基づき、基準中間点RP1(50,-2.5,0)を通る基準軌跡RT1を決定する。図7において点線で示す基準軌跡RT1は、動作開始点SP1から基準中間点RP1を通って動作終了点EP1に至る滑らかな曲線であって、XY平面においてY軸負方向に突出する曲線で示される。上述のように基準軌跡を算出すると、基準軌跡決定部12は、駆動条件および決定した基準軌跡を、学習部14および制御部17に送る。 For example, the reference trajectory determining unit 12 acquires the driving conditions and the reference intermediate point indicated by the record in the first row of the driving condition table shown in FIG. The operation start point (0, 0, 0) and operation end point (100, 0, 0) included in this drive condition are shown in FIG. 7 as the operation start point SP1 and the operation end point EP1, respectively, and the reference midpoint (50 , -2.5, 0) is shown in FIG. 7 as the reference midpoint RP1. The reference trajectory determination unit 12 determines a reference intermediate point RP1 (50, -2 .5, 0) is determined. The reference trajectory RT1 indicated by a dotted line in FIG. 7 is a smooth curve from the operation start point SP1 through the reference intermediate point RP1 to the operation end point EP1, and is indicated by a curve that protrudes in the negative direction of the Y-axis in the XY plane. . After calculating the reference trajectory as described above, the reference trajectory determination unit 12 sends the driving conditions and the determined reference trajectory to the learning unit 14 and the control unit 17.

図3に示す制御部17は、基準軌跡決定部12から取得した駆動条件および基準軌跡に応じてモータM1,M2,M3,M4,M5,M6への制御指令を生成し、制御指令をモータM1,M2,M3,M4,M5,M6に送信する。詳細には、制御部17は、基準軌跡が示す先端リンクの位置を示す基準位置に応じてモータM1,M2,M3,M4,M5,M6への制御指令を生成し、制御指令をモータM1,M2,M3,M4,M5,M6に送信することを制御周期ごとに行う。この結果、モータM1,M2,M3,M4,M5,M6が制御指令に従って回転し、第1アーム110、第2アーム120、第3アーム130、第4アーム140、第5アーム150、およびフランジ160が回転する。これにより、先端リンクであるフランジ160が移動する。 The control unit 17 shown in FIG. 3 generates control commands for the motors M1, M2, M3, M4, M5, and M6 according to the drive conditions and the reference trajectory acquired from the reference trajectory determining unit 12, and sends the control commands to the motors M1, M2, M3, M4, M5, and M6. , M2, M3, M4, M5, and M6. Specifically, the control unit 17 generates control commands for the motors M1, M2, M3, M4, M5, and M6 according to a reference position indicating the position of the tip link indicated by the reference locus, and transmits the control commands to the motors M1, M2, M3, M4, M5, and M6. Transmission to M2, M3, M4, M5, and M6 is performed every control cycle. As a result, the motors M1, M2, M3, M4, M5, and M6 rotate according to the control command, and the first arm 110, the second arm 120, the third arm 130, the fourth arm 140, the fifth arm 150, and the flange 160 rotates. This causes the flange 160, which is the tip link, to move.

制御部17は、エンコーダE1,E2,E3,E4,E5,E6からモータM1,M2,M3,M4,M5,M6の回転位置を取得し、モータM1,M2,M3,M4,M5,M6をフィードバック制御することが好ましい。 The control unit 17 acquires the rotational positions of the motors M1, M2, M3, M4, M5, and M6 from the encoders E1, E2, E3, E4, E5, and E6, and controls the motors M1, M2, M3, M4, M5, and M6. Feedback control is preferable.

上述のように制御部17によって、モータM1,M2,M3,M4,M5,M6が駆動されている間、力覚センサ190は、フランジ160が受ける力である反力を測定し、測定値に応じたセンサ信号を出力する。 While the motors M1, M2, M3, M4, M5, and M6 are being driven by the control unit 17 as described above, the force sensor 190 measures the reaction force that is the force that the flange 160 receives, and converts it into a measured value. Outputs the corresponding sensor signal.

反力取得部18は、ロボット10が備える力覚センサ190から取得したセンサ信号を制御周期ごとに検出し、制御周期ごとに検出した値から、加工時にロボット10が受ける力である反力を算出し、算出した反力を制御部17に送る。 The reaction force acquisition unit 18 detects the sensor signal acquired from the force sensor 190 included in the robot 10 in each control cycle, and calculates the reaction force, which is the force that the robot 10 receives during machining, from the value detected in each control cycle. Then, the calculated reaction force is sent to the control section 17.

実軌跡取得部13は、エンコーダE1,E2,E3,E4,E5,E6からモータM1,M2,M3,M4,M5,M6の回転位置を取得し、モータM1,M2,M3,M4,M5,M6の回転位置から先端リンクの実際の位置を取得する。実軌跡取得部13は、上述の処理を制御周期ごとに行って、制御周期ごとのXYZ直交座標系における先端リンクの実際の位置である実位置を示す実軌跡を決定する。 The actual trajectory acquisition unit 13 acquires the rotational positions of the motors M1, M2, M3, M4, M5, M6 from the encoders E1, E2, E3, E4, E5, E6, and Obtain the actual position of the tip link from the rotational position of M6. The actual trajectory acquisition unit 13 performs the above-mentioned process for each control cycle, and determines an actual trajectory that indicates the actual position of the tip link in the XYZ orthogonal coordinate system for each control cycle.

一例として、図6に示す駆動条件テーブルの一行目のレコードが示す駆動条件と基準中間点RP1に基づく基準軌跡RT1に応じてモータM1,M2,M3,M4,M5,M6が制御された際に、実軌跡取得部13が取得した加工時実軌跡AT1を図7に実線で示す。実軌跡取得部13は、上述のように取得した実軌跡を学習部14に送る。加工対象物300の加工を行わない場合、基準軌跡RT1に応じてモータM1,M2,M3,M4,M5,M6が制御されると、先端リンクは図7に破線で示す実軌跡AT0のように、理想軌跡に近い軌跡を通る。しかしながら、加工対象物300の加工時に受ける反力によって、加工時実軌跡AT1は、理想軌跡からずれる。 As an example, when the motors M1, M2, M3, M4, M5, and M6 are controlled according to the driving conditions indicated by the first record of the driving condition table shown in FIG. 6 and the reference trajectory RT1 based on the reference intermediate point RP1. , the actual machining trajectory AT1 acquired by the actual trajectory acquisition unit 13 is shown by a solid line in FIG. The actual trajectory acquisition unit 13 sends the actual trajectory acquired as described above to the learning unit 14. When the workpiece 300 is not machined, when the motors M1, M2, M3, M4, M5, and M6 are controlled according to the reference trajectory RT1, the tip link moves along the actual trajectory AT0 shown by the broken line in FIG. , passes through a trajectory close to the ideal trajectory. However, due to the reaction force received during machining of the workpiece 300, the actual machining trajectory AT1 deviates from the ideal trajectory.

学習部14は、実軌跡取得部13から実軌跡を取得すると、ロボット10が基準軌跡に応じて制御されることで加工対象物300の加工が行われた際に実軌跡取得部13で取得された軌跡を示す加工時実軌跡の理想軌跡からのずれを示す加工時軌跡誤差を算出する。詳細には、学習部14は、駆動条件に基づき、動作開始点から動作終了点までの最短の軌跡を示す理想軌跡を決定し、理想軌跡上の制御周期ごとの先端リンクの位置を決定する。そして、学習部14は、理想軌跡が示す制御周期ごとのロボット10の位置、具体的には、ロボット10の先端リンクの位置である理想位置と加工時実軌跡が示す制御周期ごとのロボット10の位置、具体的には、先端リンクの位置である実位置との距離を算出する。学習部14は、距離が最大値となるときの、実位置の理想位置からのずれを加工時軌跡誤差として用いる。 When the learning unit 14 acquires the actual trajectory from the actual trajectory acquisition unit 13, the learning unit 14 acquires the actual trajectory by the actual trajectory acquisition unit 13 when the workpiece 300 is machined by controlling the robot 10 according to the reference trajectory. The machining trajectory error, which indicates the deviation of the actual machining trajectory from the ideal trajectory, is calculated. Specifically, the learning unit 14 determines an ideal trajectory indicating the shortest trajectory from the operation start point to the operation end point based on the driving conditions, and determines the position of the tip link for each control cycle on the ideal trajectory. Then, the learning unit 14 determines the position of the robot 10 for each control cycle indicated by the ideal trajectory, specifically, the ideal position of the tip link of the robot 10 and the position of the robot 10 for each control cycle indicated by the actual trajectory during machining. The position, specifically, the distance from the actual position, which is the position of the tip link, is calculated. The learning unit 14 uses the deviation of the actual position from the ideal position when the distance reaches the maximum value as a machining trajectory error.

例えば、学習部14は、基準軌跡決定部12から図6に示す駆動条件テーブルの一行目のレコードが示す駆動条件と基準軌跡を取得すると、動作開始点SP1(0,0,0)から動作終了点EP1(100,0,0)までの最短の軌跡である理想軌跡を算出する。この場合、理想軌跡は、図7に示す動作開始点SP1(0,0,0)から動作終了点EP1(100,0,0)まで延び、X軸上に位置する線分である。そして、学習部14は、理想軌跡が示す制御周期ごとの先端リンクの理想位置と加工時実軌跡AT1が示す制御周期ごとの先端リンクの実際の位置との距離を算出する。学習部14は、図7に矢印ER1で示すように、この距離が最大値となるときの、実位置の理想位置からのずれを加工時軌跡誤差として用いる。図7の例では、実位置はXY平面上で理想位置からY軸正方向にずれている。 For example, when the learning unit 14 acquires the driving conditions and reference trajectory indicated by the first record of the driving condition table shown in FIG. An ideal trajectory that is the shortest trajectory to point EP1 (100, 0, 0) is calculated. In this case, the ideal trajectory is a line segment located on the X-axis that extends from the motion start point SP1 (0,0,0) to the motion end point EP1 (100,0,0) shown in FIG. Then, the learning unit 14 calculates the distance between the ideal position of the tip link for each control cycle indicated by the ideal trajectory and the actual position of the tip link for each control cycle indicated by the actual machining trajectory AT1. The learning unit 14 uses the deviation of the actual position from the ideal position when this distance reaches the maximum value as the machining trajectory error, as shown by the arrow ER1 in FIG. In the example of FIG. 7, the actual position is shifted from the ideal position in the positive direction of the Y-axis on the XY plane.

学習部14はさらに、加工時軌跡誤差に反力を対応付ける。詳細には、学習部14は、理想位置と実位置との距離が最大値となるときの加工時軌跡誤差と反力とを対応付ける。 The learning unit 14 further associates the reaction force with the machining trajectory error. Specifically, the learning unit 14 associates the machining trajectory error with the reaction force when the distance between the ideal position and the actual position becomes the maximum value.

学習部14は、上述の処理を図6に示す駆動条件テーブルに記憶されている全ての駆動条件について行う。学習部14は、各駆動条件について加工時軌跡誤差の算出を行って、駆動条件、基準中間点、加工時軌跡誤差、および反力の対応を学習する。そして、学習部14は、図8に示す誤差テーブルを生成し、学習済みデータ記憶部15に記憶させる。図8の例では、加工時軌跡誤差は、ベクトルの成分として記憶されている。具体的には、加工時軌跡誤差は、理想位置を始点とし、実位置のずれを示すベクトルの成分で表されている。図8の例では、誤差テーブルに(Fx,Fy,Fz)で表される反力が記憶されている。 The learning unit 14 performs the above-described process for all drive conditions stored in the drive condition table shown in FIG. 6 . The learning unit 14 calculates the machining trajectory error for each drive condition, and learns the correspondence between the drive condition, the reference midpoint, the machining trajectory error, and the reaction force. The learning unit 14 then generates an error table shown in FIG. 8 and stores it in the learned data storage unit 15. In the example of FIG. 8, the machining trajectory error is stored as a vector component. Specifically, the machining trajectory error is expressed by a component of a vector starting from the ideal position and indicating a deviation from the actual position. In the example of FIG. 8, the reaction force represented by (Fx, Fy, Fz) is stored in the error table.

全ての駆動条件について加工時軌跡誤差と反力の対応付けが完了すると、学習部14は、基準中間点、加工時軌跡誤差、および反力の対応から加工時軌跡誤差を最小化する目標中間点を求め、駆動条件に応じて目標中間点を示す軌跡モデルを生成する。詳細には、学習部14は、駆動条件ごとに、理想軌跡、基準目標点を通る基準軌跡、加工時軌跡誤差、および反力から、加工時軌跡誤差が最小となる目標中間点を求める。例えば、学習部14は、反力に応じて、基準中間点の位置を調節し、調節した基準中間点を目標中間点とする。図8に示す誤差テーブルの一行目のレコードの例では、反力のY軸成分の大きさは、X軸成分およびZ軸成分の大きさより大きい。そこで、学習部14は、Y軸正方向に加わる反力の影響を最小化するために、基準中間点をY軸負方向に調節し、調節した基準中間点を目標中間点とする。実施の形態1では、学習部14は、軌跡モデルとして図9に示す目標中間点テーブルを生成し、学習済みデータ記憶部15に記憶させる。 When the correspondence between the machining trajectory error and the reaction force is completed for all drive conditions, the learning unit 14 determines a target intermediate point that minimizes the machining trajectory error from the correspondence between the reference intermediate point, the machining trajectory error, and the reaction force. is determined, and a trajectory model indicating the target intermediate point is generated according to the driving conditions. Specifically, the learning unit 14 determines the target intermediate point at which the machining trajectory error is minimized from the ideal trajectory, the reference trajectory passing through the reference target point, the machining trajectory error, and the reaction force for each driving condition. For example, the learning unit 14 adjusts the position of the reference midpoint according to the reaction force, and sets the adjusted reference midpoint as the target midpoint. In the example of the record in the first row of the error table shown in FIG. 8, the magnitude of the Y-axis component of the reaction force is larger than the magnitudes of the X-axis component and the Z-axis component. Therefore, in order to minimize the influence of the reaction force applied in the positive direction of the Y-axis, the learning unit 14 adjusts the reference midpoint in the negative direction of the Y-axis, and sets the adjusted reference midpoint as the target midpoint. In the first embodiment, the learning unit 14 generates the target intermediate point table shown in FIG. 9 as a trajectory model, and stores it in the learned data storage unit 15.

上述の学習処理が終了した後に行われるロボット10の制御処理である運用処理の動作の概要について、図10を用いて説明する。例えば、制御装置1は、学習処理が終了した後に、図示しない操作部からの操作によってロボット10の駆動条件を含む駆動指令が入力されると、図10の運用処理を開始する。図10の運用処理は、加工工具200がフランジ160に取り付けられ、加工対象物300に加工をしながら行われる。 An overview of operation processing, which is control processing for the robot 10, performed after the above-described learning processing is completed will be described using FIG. 10. For example, when the control device 1 receives a drive command including drive conditions for the robot 10 through an operation from an operation unit (not shown) after the learning process is completed, the control device 1 starts the operation process shown in FIG. 10 . The operation process in FIG. 10 is performed while the machining tool 200 is attached to the flange 160 and machining the workpiece 300.

目標軌跡決定部16は、駆動条件を含む駆動指令を取得すると、学習済みデータ記憶部15から駆動指令が示す駆動条件に応じた目標中間点を取得する(ステップS21)。そして、目標軌跡決定部16は、駆動条件に基づき、ステップS21で取得した目標中間点を通る目標軌跡を決定する(ステップS22)。制御部17は、ステップS22で決定された目標軌跡に応じてロボット10のモータM1,M2,M3,M4,M5,M6を制御する(ステップS23)。 Upon acquiring the drive command including the drive conditions, the target trajectory determination unit 16 acquires a target intermediate point according to the drive conditions indicated by the drive command from the learned data storage unit 15 (step S21). Then, the target trajectory determination unit 16 determines a target trajectory passing through the target intermediate point acquired in step S21 based on the driving conditions (step S22). The control unit 17 controls the motors M1, M2, M3, M4, M5, and M6 of the robot 10 according to the target trajectory determined in step S22 (step S23).

制御装置1が行う運用処理の詳細について以下に説明する。
目標軌跡決定部16は、駆動指令を取得すると、学習済みデータ記憶部15に記憶されている目標中間点テーブルから駆動指令が示す駆動条件に応じた目標中間点を取得する。そして、目標軌跡決定部16は、駆動条件が示す動作開始点から、目標中間点を通って、駆動条件が示す動作終了点に至る軌跡を示す目標軌跡を算出する。詳細には、目標軌跡決定部16は、駆動条件が示す動作開始点、目標中間点、および駆動条件が示す動作終了点に基づくスプライン補間を行って、駆動条件が示す動作開始点から、目標中間点を通って、駆動条件が示す動作終了点に至る目標軌跡を決定する。目標軌跡は、制御周期ごとの先端リンクの目標位置を示す。
Details of the operational processing performed by the control device 1 will be described below.
Upon acquiring the drive command, the target trajectory determination unit 16 acquires a target waypoint according to the drive condition indicated by the drive command from the target waypoint table stored in the learned data storage unit 15. Then, the target trajectory determination unit 16 calculates a target trajectory representing a trajectory from the operation start point indicated by the drive conditions, passing through the target intermediate point, and ending at the operation end point indicated by the drive conditions. Specifically, the target trajectory determination unit 16 performs spline interpolation based on the motion start point, the target intermediate point, and the motion end point indicated by the drive conditions, and moves the target midway point from the motion start point indicated by the drive conditions. A target trajectory passing through the point and reaching the operation end point indicated by the driving conditions is determined. The target trajectory indicates the target position of the tip link for each control cycle.

例えば、目標軌跡決定部16は、フランジ160の先端面160aが、ロボット10が固定されている平面に平行な状態で、フランジ160を動作開始点(0,0,0)から動作終了点(100,0,0)まで目標速度V1で移動させる駆動条件を示す駆動指令を取得する。目標軌跡決定部16は、取得した駆動条件に対応する図9に示す目標中間点テーブルの一行目のレコードが示す目標中間点(50,-3.5,0)を取得する。この目標中間点(50,-3.5,0)を図11に目標中間点TP1として示す。そして、目標軌跡決定部16は、動作開始点SP1(0,0,0)から目標中間点TP1(50,-3.5,0)を通って動作終了点EP1(100,0,0)に至る目標軌跡TT1を決定する。図11に点線で示すように、目標軌跡TT1は、動作開始点SP1から目標中間点TP1を通って動作終了点EP1に至る滑らかな曲線であって、XY平面においてY軸負方向に突出する曲線で示される。上述のように目標軌跡を決定すると、目標軌跡決定部16は、駆動条件および算出した目標軌跡を、制御部17に送る。 For example, the target trajectory determination unit 16 moves the flange 160 from a motion start point (0,0,0) to a motion end point (100 , 0, 0) at the target speed V1. The target trajectory determination unit 16 acquires the target intermediate point (50, -3.5, 0) indicated by the record in the first row of the target intermediate point table shown in FIG. 9 that corresponds to the acquired driving condition. This target halfway point (50, -3.5, 0) is shown in FIG. 11 as the target halfway point TP1. Then, the target trajectory determining unit 16 moves from the motion start point SP1 (0,0,0) to the motion end point EP1 (100,0,0) through the target intermediate point TP1 (50, -3.5,0). A target trajectory TT1 to be reached is determined. As shown by the dotted line in FIG. 11, the target trajectory TT1 is a smooth curve from the movement start point SP1 to the movement end point EP1 through the target intermediate point TP1, and is a curve that protrudes in the Y-axis negative direction in the XY plane. It is indicated by. After determining the target trajectory as described above, the target trajectory determination unit 16 sends the drive conditions and the calculated target trajectory to the control unit 17.

図3に示す制御部17は、目標軌跡決定部16から取得した目標軌跡に応じてモータM1,M2,M3,M4,M5,M6への制御指令を生成し、制御指令をモータM1,M2,M3,M4,M5,M6に送信する。この結果、モータM1,M2,M3,M4,M5,M6が制御指令に従って回転し、第1アーム110、第2アーム120、第3アーム130、第4アーム140、第5アーム150およびフランジ160が回転する。これにより、先端リンクであるフランジ160が移動する。加工工具200が取り付けられたフランジ160が移動することで、加工工具200による加工対象物300の加工が行われる。加工時軌跡誤差を最小化する目標軌跡に応じてモータM1,M2,M3,M4,M5,M6を制御することで、図11に示すように、加工時の先端リンクの実軌跡AT1’が理想軌跡に近づく。 The control unit 17 shown in FIG. 3 generates control commands to the motors M1, M2, M3, M4, M5, and M6 according to the target trajectory acquired from the target trajectory determination unit 16, and transmits the control commands to the motors M1, M2, Send to M3, M4, M5, M6. As a result, the motors M1, M2, M3, M4, M5, and M6 rotate according to the control command, and the first arm 110, second arm 120, third arm 130, fourth arm 140, fifth arm 150, and flange 160 rotate. Rotate. This causes the flange 160, which is the tip link, to move. By moving the flange 160 to which the processing tool 200 is attached, the workpiece 300 is processed by the processing tool 200. By controlling the motors M1, M2, M3, M4, M5, and M6 according to the target trajectory that minimizes the trajectory error during machining, the actual trajectory AT1' of the tip link during machining is ideal, as shown in Fig. 11. Approaching the trajectory.

以上説明したとおり、実施の形態1に係る制御装置1は、基準中間点と加工時軌跡誤差との対応を学習し、さらに反力に基づいて、加工時軌跡誤差を最小化する目標中間点を駆動条件に応じて示す軌跡モデルを生成する。制御装置1が目標中間点を通る目標軌跡に応じてロボット10を制御することで、加工対象物300の加工が行われる。目標軌跡は、反力に応じて調節されるため、加工時の実軌跡が理想軌跡に近づき、加工時の制御装置1によるロボット10の制御精度は高くなる。 As explained above, the control device 1 according to the first embodiment learns the correspondence between the reference intermediate point and the trajectory error during machining, and further determines the target intermediate point that minimizes the trajectory error during machining based on the reaction force. A trajectory model is generated depending on the driving conditions. Processing of the workpiece 300 is performed by the control device 1 controlling the robot 10 according to the target trajectory passing through the target intermediate point. Since the target trajectory is adjusted according to the reaction force, the actual trajectory during machining approaches the ideal trajectory, and the control accuracy of the robot 10 by the control device 1 during machining increases.

(実施の形態2)
ロボット10の制御方法は、実施の形態1の例に限られず、加工時の反力を考慮する方法であれば任意である。加工時のロボット10の制御精度を高めるために、反力の変動の原因となる加工対象物300についての情報に応じてモータM1,M2,M3,M4,M5,M6を制御する制御装置2について、実施の形態1に係る制御装置1と異なる点を中心に実施の形態2で説明する。加工対象物300についての情報は、加工対象物300の重量、形状、材質等を含む。
(Embodiment 2)
The method of controlling the robot 10 is not limited to the example of the first embodiment, and may be any method that takes into account the reaction force during machining. Regarding the control device 2 that controls the motors M1, M2, M3, M4, M5, and M6 according to information about the workpiece 300 that causes fluctuations in reaction force in order to improve control accuracy of the robot 10 during processing. , will be described in Embodiment 2 focusing on the points that are different from the control device 1 according to Embodiment 1. The information about the workpiece 300 includes the weight, shape, material, etc. of the workpiece 300.

図12に示す実施の形態2に係るロボットシステム101は、制御装置2と、ロボット10と、を備える。制御装置2は、加工対象物300についての情報を取得する加工対象物特定部19と、加工対象物特定部19が取得した加工対象物300についての情報を学習し、目標中間点を駆動条件および加工対象物300についての情報に応じて示す軌跡モデルを生成する学習部20と、駆動条件を含む駆動指令および加工対象物300についての情報に基づき、目標中間点を通る目標軌跡を決定する目標軌跡決定部21と、を備える。ロボット10は、実施の形態1と異なり、力覚センサ190を備えない。 A robot system 101 according to the second embodiment shown in FIG. 12 includes a control device 2 and a robot 10. The control device 2 learns the workpiece identification unit 19 that acquires information about the workpiece 300 and the information about the workpiece 300 acquired by the workpiece identification unit 19, and determines the target intermediate point based on the driving conditions and the workpiece identification unit 19. A learning unit 20 that generates a trajectory model shown in accordance with information about the workpiece 300, and a target trajectory that determines a target trajectory passing through a target intermediate point based on drive commands including drive conditions and information about the workpiece 300. A determination unit 21 is provided. Unlike the first embodiment, the robot 10 does not include a force sensor 190.

制御装置2がロボット10の制御を行うことで、実施の形態1と同様に、加工工具200によって加工対象物300のバリ310を取り除くバリ取りが行われる。加工対象物300は、例えば、ウレタン発泡断熱材である。加工対象物300の成形時に、バリ310が生じる。ウレタン発泡断熱材で加工対象物300が形成されていると、バリ310の厚み、長さ等の形状が変動する。バリ310の厚みは、図2の例に示す棒状の加工工具200の延伸方向、すなわち、Z軸方向のバリ310の厚みである。バリ310の長さは、図2の例に示す加工工具200の移動方向、すなわち、X軸方向のバリ310の長さである。バリ310の形状が変動することで、加工時にフランジ160が受ける力である反力が変動し、加工時軌跡誤差が変動する。そこで、制御装置2は、駆動条件およびバリ310の形状に応じた目標中間点を通る目標軌跡に応じてロボット10を制御する。この結果、バリ310の形状が変動しても、加工時のロボット10の制御精度を向上させることができる。 As the control device 2 controls the robot 10, the processing tool 200 performs deburring to remove the burr 310 from the workpiece 300, as in the first embodiment. The workpiece 300 is, for example, a urethane foam insulation material. During molding of the workpiece 300, burrs 310 are generated. When the workpiece 300 is formed of a urethane foam insulation material, the thickness, length, and other shapes of the burr 310 vary. The thickness of the burr 310 is the thickness of the burr 310 in the extending direction of the rod-shaped processing tool 200 shown in the example of FIG. 2, that is, in the Z-axis direction. The length of the burr 310 is the length of the burr 310 in the moving direction of the processing tool 200 shown in the example of FIG. 2, that is, in the X-axis direction. As the shape of the burr 310 changes, the reaction force that is the force that the flange 160 receives during processing changes, and the trajectory error during processing changes. Therefore, the control device 2 controls the robot 10 according to the target trajectory passing through the target intermediate point according to the driving conditions and the shape of the burr 310. As a result, even if the shape of the burr 310 changes, the control accuracy of the robot 10 during processing can be improved.

図12に示す加工対象物特定部19は、加工対象物300の画像データを生成する撮影装置191と、撮影装置191が生成した画像データから加工対象物300の形状を決定する形状決定部192と、を有する。 The workpiece specifying unit 19 shown in FIG. 12 includes a photographing device 191 that generates image data of the workpiece 300, and a shape determining unit 192 that determines the shape of the workpiece 300 from the image data generated by the photographing device 191. , has.

実施の形態2では、加工対象物特定部19は、加工対象物300のバリ310の形状を取得し、取得したバリ310の形状を学習部20に送る。バリ310の形状は、加工工具200の延伸方向、すなわち、Z軸方向のバリ310の厚みの最小値、最大値、および平均値の少なくともいずれかを含む。以下の説明では、加工対象物特定部19は、Z軸方向のバリ310の厚みの最大値を取得するものとする。 In the second embodiment, the workpiece specifying unit 19 acquires the shape of the burr 310 on the workpiece 300 and sends the acquired shape of the burr 310 to the learning unit 20 . The shape of the burr 310 includes at least one of a minimum value, a maximum value, and an average value of the thickness of the burr 310 in the extending direction of the processing tool 200, that is, the Z-axis direction. In the following description, it is assumed that the workpiece identification unit 19 acquires the maximum thickness of the burr 310 in the Z-axis direction.

学習部20は、加工対象物特定部19からバリ310の形状を取得すると、加工時軌跡誤差と対応付ける。そして、学習部20は、加工時軌跡誤差およびZ軸方向のバリ310の厚みの最大値を対応付け、駆動条件およびバリ310の厚みに応じて加工時軌跡誤差を最小化する目標中間点を求める。 When the learning unit 20 acquires the shape of the burr 310 from the workpiece specifying unit 19, it associates it with the machining trajectory error. Then, the learning unit 20 associates the machining trajectory error with the maximum thickness of the burr 310 in the Z-axis direction, and determines a target intermediate point that minimizes the machining trajectory error according to the driving conditions and the thickness of the burr 310. .

目標軌跡決定部21は、駆動条件を含む駆動指令を取得すると、加工対象物特定部19からバリ310の形状を取得する。そして、目標軌跡決定部21は、学習済みデータ記憶部15から駆動指令が示す駆動条件およびバリ310の形状に応じた目標中間点を取得する。目標中間点を取得すると、駆動条件に基づき、目標軌跡決定部21は目標中間点を通る目標軌跡を算出する。 Upon acquiring the drive command including the drive conditions, the target trajectory determination unit 21 acquires the shape of the burr 310 from the workpiece identification unit 19 . Then, the target trajectory determining unit 21 acquires a target intermediate point according to the drive condition indicated by the drive command and the shape of the burr 310 from the learned data storage unit 15. Once the target intermediate point is acquired, the target trajectory determination unit 21 calculates a target trajectory passing through the target intermediate point based on the driving conditions.

制御装置2のハードウェア構成は、図4に示す制御装置1のハードウェア構成と同様である。制御装置2は、インターフェース33を介して、モータM1,M2,M3,M4,M5,M6およびエンコーダE1,E2,E3,E4,E5,E6に接続される。 The hardware configuration of the control device 2 is similar to the hardware configuration of the control device 1 shown in FIG. The control device 2 is connected via an interface 33 to motors M1, M2, M3, M4, M5, M6 and encoders E1, E2, E3, E4, E5, E6.

上記構成を有する制御装置2が行う学習処理について図13を用いて説明する。制御装置1と同様に、例えば、ロボット10の設置後に、制御装置2が初めて動作を開始する際に、制御装置2は図13の学習処理を開始する。図13の学習処理は、加工工具200がフランジ160に取り付けられ、加工対象物300に加工をしながら行われる。換言すれば、制御装置2が駆動条件ごとの加工時軌跡誤差を得るために、加工対象物300の加工が行われる。 The learning process performed by the control device 2 having the above configuration will be explained using FIG. 13. Similar to the control device 1, for example, when the control device 2 starts operating for the first time after the robot 10 is installed, the control device 2 starts the learning process shown in FIG. 13. The learning process in FIG. 13 is performed while the machining tool 200 is attached to the flange 160 and machining the workpiece 300. In other words, the workpiece 300 is machined in order for the control device 2 to obtain the machining trajectory error for each drive condition.

加工対象物特定部19は、加工対象物300についての情報を取得する(ステップS31)。例えば、加工対象物特定部19は、加工対象物300のバリ310の形状を取得する。詳細には、撮影装置191は、加工対象物300の周囲に設けられる複数のカメラを有し、複数のカメラで加工対象物300を撮影することで、加工対象物300の画像データを生成する。形状決定部192は、画像データから加工対象物300のバリ310の形状を決定する。例えば、外面の位置が急激に変化している部分をバリ310とみなすことができる。形状決定部192で算出された加工対象物300のバリ310の形状は、学習部20に送られる。後続のステップS11からS12までの処理は、図5に示す制御装置1が行う処理と同様である。 The workpiece identification unit 19 acquires information about the workpiece 300 (step S31). For example, the workpiece identification unit 19 acquires the shape of the burr 310 on the workpiece 300. Specifically, the photographing device 191 includes a plurality of cameras provided around the workpiece 300, and generates image data of the workpiece 300 by photographing the workpiece 300 with the plurality of cameras. The shape determining unit 192 determines the shape of the burr 310 on the workpiece 300 from the image data. For example, a portion where the position of the outer surface changes rapidly can be regarded as the burr 310. The shape of the burr 310 on the workpiece 300 calculated by the shape determining section 192 is sent to the learning section 20. The processes from subsequent steps S11 to S12 are similar to the processes performed by the control device 1 shown in FIG. 5.

制御部17は、ステップS12で決定された基準軌跡に応じてロボット10のモータM1,M2,M3,M4,M5,M6を制御し、実軌跡取得部13は、エンコーダE1,E2,E3,E4,E5,E6から取得したモータM1,M2,M3,M4,M5,M6の回転位置に基づいて、基準軌跡に応じて制御されたロボット10の軌跡を取得する(ステップS32)。学習部20は、ステップS32で取得された軌跡のステップS11で取得された駆動条件に基づく理想軌跡からのずれを示す加工時軌跡誤差を算出し、加工時軌跡誤差とステップS31で取得された加工対象物300についての情報を対応付ける(ステップS33)。学習部20は、図14に示す誤差テーブルを生成し、学習済みデータ記憶部15に記憶させる。図14の例では、バリ310の厚みの最大値が、記憶されている。 The control unit 17 controls the motors M1, M2, M3, M4, M5, and M6 of the robot 10 according to the reference trajectory determined in step S12, and the actual trajectory acquisition unit 13 controls the encoders E1, E2, E3, and E4. , E5, and E6, the trajectory of the robot 10 controlled according to the reference trajectory is obtained based on the rotational positions of the motors M1, M2, M3, M4, M5, and M6 obtained from the motors M1, M2, M3, M4, M5, and M6 (step S32). The learning unit 20 calculates a machining trajectory error indicating the deviation of the trajectory acquired in step S32 from the ideal trajectory based on the driving conditions acquired in step S11, and calculates a machining trajectory error and a machining trajectory error obtained in step S31. Information about the target object 300 is associated (step S33). The learning unit 20 generates an error table shown in FIG. 14 and stores it in the learned data storage unit 15. In the example of FIG. 14, the maximum thickness of the burr 310 is stored.

駆動条件記憶部11に記憶されている各駆動条件について所定回数の対応付けが完了していない間は(ステップS34;No)、上述の処理が繰り返される。所定回数とは、軌跡モデルを生成するためのデータを取得することが可能となる回数である。加工対象物300のバリ310の形状は、変動するため、各駆動条件について上述の処理を繰り返すことで、図14に示すようにバリ310の変動に応じて変動する加工時軌跡誤差のデータを取得することができる。例えば、上述の処理を行った結果、図14に示すように、各駆動条件について、バリ310の厚みごとの加工時軌跡誤差を示す誤差テーブルが得られる。 As long as the predetermined number of associations for each drive condition stored in the drive condition storage unit 11 has not been completed (step S34; No), the above-described process is repeated. The predetermined number of times is the number of times that data for generating a trajectory model can be acquired. Since the shape of the burr 310 on the workpiece 300 changes, by repeating the above process for each drive condition, data on the trajectory error during machining that changes according to the change in the burr 310 as shown in FIG. 14 is obtained. can do. For example, as a result of performing the above-described processing, as shown in FIG. 14, an error table showing the machining trajectory error for each thickness of the burr 310 is obtained for each drive condition.

駆動条件記憶部11に記憶されている各駆動条件について所定回数の対応付けが完了すると(ステップS34;Yes)、学習部20は、加工時軌跡誤差を最小化する目標中間点を求め、駆動条件および加工対象物300についての情報に応じて目標中間点を示す軌跡モデルを生成する(ステップS35)。 When the predetermined number of correspondences are completed for each drive condition stored in the drive condition storage unit 11 (step S34; Yes), the learning unit 20 determines a target intermediate point that minimizes the machining trajectory error, and sets the drive condition A trajectory model indicating the target intermediate point is generated according to information about the workpiece 300 (step S35).

詳細には、学習部20は、バリ310の厚みに応じて加工時目標中間点を示す軌跡モデルを生成し、学習済みデータ記憶部15に記憶させる。例えば、学習部20は、多次元関数フィッティングまたはニューラルネットワークモデルに従って、教師あり学習を行って、軌跡モデルを生成する。教師あり学習とは、入力と結果のデータセットを大量に学習装置に与えることで、学習装置が大量のデータセットにある特徴を学習し、入力から結果を推定するモデルを生成することを意味する。例えば、学習部20は、駆動条件、基準中間点、およびバリ310の厚みを入力データとし、加工時軌跡誤差を結果データとして学習を行い、軌跡モデルを生成する。生成された軌跡モデルを利用して、加工時軌跡誤差を最小化する目標中間点を得ることが可能となる。 Specifically, the learning section 20 generates a trajectory model indicating a target midpoint during machining according to the thickness of the burr 310, and stores it in the learned data storage section 15. For example, the learning unit 20 performs supervised learning according to multidimensional function fitting or a neural network model to generate a trajectory model. Supervised learning means that by giving a large amount of input and result datasets to a learning device, the learning device learns the features in the large dataset and generates a model that estimates the result from the input. . For example, the learning unit 20 uses the driving conditions, the reference intermediate point, and the thickness of the burr 310 as input data, performs learning using the machining trajectory error as result data, and generates a trajectory model. Using the generated trajectory model, it is possible to obtain a target intermediate point that minimizes the trajectory error during machining.

機械学習においては、過学習により推定精度が低下することが知られているため、いずれの学習モデルを使用する場合でも、過学習を抑制することが好ましい。過学習を抑制する方法としては、例えば、学習するデータを正規化する方法、学習モデル内のパラメータ数を少なくする方法等がある。一例として、多次元関数フィッティングを行う際には、関数の次元数を制限、例えば、5次以下に制限することが好ましい。他の一例として、ニューラルネットワークモデルにおいて、中間層の数を制限、例えば、10層以下に制限することが好ましい。また、ニューラルネットワークモデルにおいては、学習モデルの特定のレイヤーの出力を学習時にランダムに0としてもよい。さらに、上述の方式を組み合わせることで、過学習を抑制してもよい。 In machine learning, it is known that estimation accuracy decreases due to overfitting, so it is preferable to suppress overfitting no matter which learning model is used. Examples of methods for suppressing overfitting include a method of normalizing learning data and a method of reducing the number of parameters in a learning model. For example, when performing multidimensional function fitting, it is preferable to limit the number of dimensions of the function, for example, to the fifth order or less. As another example, in a neural network model, it is preferable to limit the number of intermediate layers, for example, to 10 layers or less. Furthermore, in a neural network model, the output of a specific layer of the learning model may be randomly set to 0 during learning. Furthermore, overfitting may be suppressed by combining the above-described methods.

ステップS35の処理が完了すると、制御装置2は学習処理を終了する。上述の学習処理が終了した後に行われる運用処理の動作について、図15を用いて説明する。例えば、制御装置2は、学習処理が終了した後に、図示しない操作部からの操作によってロボット10の駆動条件を含む駆動指令が入力されると、図15の運用処理を開始する。 When the process of step S35 is completed, the control device 2 ends the learning process. The operation of the operation process performed after the above-described learning process is completed will be explained using FIG. 15. For example, when the control device 2 receives a drive command including drive conditions for the robot 10 through an operation from an operation unit (not shown) after the learning process is completed, the control device 2 starts the operation process shown in FIG. 15 .

目標軌跡決定部16は、駆動条件を含む駆動指令を取得すると、加工対象物特定部19から加工対象物300についての情報、例えば、加工対象物300のバリ310の厚みを取得する(ステップS24)。目標軌跡決定部16は、学習済みデータ記憶部15から、ステップS24で取得した駆動指令が示す駆動条件およびステップS24で取得したバリ310の厚みに応じた目標中間点を取得する(ステップS25)。バリ310の厚みが一致するものがなければ、バリ310の厚みの値が近いデータに基づいて補間処理を行って、目標中間点を取得すればよい。 Upon acquiring the drive command including the drive conditions, the target trajectory determination unit 16 acquires information about the workpiece 300, for example, the thickness of the burr 310 of the workpiece 300, from the workpiece identification unit 19 (step S24). . The target trajectory determination unit 16 acquires from the learned data storage unit 15 a target intermediate point according to the drive condition indicated by the drive command acquired in step S24 and the thickness of the burr 310 acquired in step S24 (step S25). If there is no burr 310 with the same thickness, interpolation processing may be performed based on data with similar burr 310 thickness values to obtain the target intermediate point.

ステップS22,S23の処理は、図10に示す実施の形態1に係る制御装置1が行う処理と同様である。 The processing in steps S22 and S23 is similar to the processing performed by the control device 1 according to the first embodiment shown in FIG.

以上説明したとおり、実施の形態2に係る制御装置2は、基準中間点、加工時軌跡誤差および加工対象物300についての情報の対応を学習して、加工時軌跡誤差を最小化する目標中間点を求め、駆動条件および加工対象物300についての情報に応じて目標中間点を示す軌跡モデルを生成する。制御装置2が目標中間点を通る目標軌跡に応じてロボット10を制御することで、加工対象物300の加工が行われる。目標軌跡は、加工対象物300についての情報、例えば、加工対象物300のバリ310の厚みに応じて調節されるため、加工時の実軌跡が理想軌跡に近づき、加工時の制御装置2によるロボット10の制御精度は高くなる。 As explained above, the control device 2 according to the second embodiment learns the correspondence between the reference intermediate point, the trajectory error during machining, and the information about the workpiece 300, and the target intermediate point that minimizes the trajectory error during machining. is determined, and a trajectory model indicating the target intermediate point is generated according to the driving conditions and information about the workpiece 300. Processing of the workpiece 300 is performed by the control device 2 controlling the robot 10 according to the target trajectory passing through the target intermediate point. Since the target trajectory is adjusted according to information about the workpiece 300, for example, the thickness of the burr 310 on the workpiece 300, the actual trajectory during processing approaches the ideal trajectory, and the control device 2 controls the robot during processing. 10, the control accuracy becomes higher.

(実施の形態3)
加工時の反力を考慮したロボット10の制御は、上述の実施の形態に限られず、上述の実施の形態を組み合わせた方法でロボット10を制御してもよい。加工時の反力および加工対象物300についての情報に応じてロボット10を制御する制御装置3について、実施の形態1,2と異なる点を中心に、実施の形態3で説明する。
(Embodiment 3)
The control of the robot 10 in consideration of the reaction force during machining is not limited to the above-described embodiments, and the robot 10 may be controlled by a method that combines the above-described embodiments. A control device 3 that controls the robot 10 according to the reaction force during processing and information about the workpiece 300 will be described in a third embodiment, focusing on the differences from the first and second embodiments.

図16に示す実施の形態3に係るロボットシステム102は、制御装置3と、ロボット10と、を備える。制御装置3は、実施の形態1に係る制御装置1の構成に加えて、加工対象物300についての情報を取得する加工対象物特定部19を備える。制御装置3は、加工時軌跡誤差、反力、および加工対象物特定部19が取得した加工対象物300についての情報の対応を学習して、加工時軌跡誤差を最小化する目標中間点を求め、駆動条件および加工対象物300についての情報に応じて目標中間点を示す軌跡モデルを生成する学習部22を備える。制御装置3では、制御部17は、反力取得部18から反力を取得する。 A robot system 102 according to the third embodiment shown in FIG. 16 includes a control device 3 and a robot 10. In addition to the configuration of the control device 1 according to the first embodiment, the control device 3 includes a workpiece identification unit 19 that acquires information about the workpiece 300. The control device 3 learns the correspondence between the machining trajectory error, the reaction force, and the information about the workpiece 300 acquired by the workpiece identification unit 19, and determines a target intermediate point that minimizes the machining trajectory error. , a learning unit 22 that generates a trajectory model indicating a target intermediate point according to the driving conditions and information about the workpiece 300. In the control device 3, the control section 17 acquires the reaction force from the reaction force acquisition section 18.

制御装置3のハードウェア構成は、図4に示す制御装置1のハードウェア構成と同様である。制御装置3は、インターフェース33を介して、モータM1,M2,M3,M4,M5,M6、エンコーダE1,E2,E3,E4,E5,E6、および力覚センサ190に接続される。 The hardware configuration of the control device 3 is similar to the hardware configuration of the control device 1 shown in FIG. Control device 3 is connected to motors M1, M2, M3, M4, M5, M6, encoders E1, E2, E3, E4, E5, E6, and force sensor 190 via interface 33.

上記構成を有する制御装置3が行う学習処理について図17を用いて説明する。制御装置1と同様に、例えば、ロボット10の設置後に、制御装置3が初めて動作を開始する際に、制御装置3は図17の学習処理を開始する。ステップS31の処理は、図13に示す制御装置2が行う処理と同様である。ステップS11からS13の処理は、図5に示す制御装置1が行う処理と同様である。 The learning process performed by the control device 3 having the above configuration will be explained using FIG. 17. Similar to the control device 1, for example, when the control device 3 starts operating for the first time after the robot 10 is installed, the control device 3 starts the learning process shown in FIG. The process in step S31 is similar to the process performed by the control device 2 shown in FIG. 13. The processing from steps S11 to S13 is similar to the processing performed by the control device 1 shown in FIG.

ただし、ステップS13において、制御部17は、反力が増大すると、基準軌跡が示す位置を加工対象物300から遠い位置に調節して、調節した基準軌跡に応じてモータM1,M2,M3,M4,M5,M6を制御する。これにより、大きな反力によって先端リンクの軌跡が理想軌跡から大きくずれることが抑制される。 However, in step S13, when the reaction force increases, the control unit 17 adjusts the position indicated by the reference trajectory to a position farther from the workpiece 300, and controls the motors M1, M2, M3, M4 according to the adjusted reference trajectory. , M5, and M6. This prevents the trajectory of the tip link from deviating significantly from the ideal trajectory due to a large reaction force.

学習部22は、実施の形態1と同様に、ステップS11で取得された駆動条件に基づく理想軌跡とステップS14で測定された実軌跡との差分を示す加工時軌跡誤差を算出し、加工時軌跡誤差とステップS14で算出された反力とステップS31で取得された加工対象物300についての情報を対応付ける(ステップS36)。詳細には、学習部22は、理想軌跡上の制御周期ごとの先端リンクの理想位置と加工時実軌跡が示す制御周期ごとの先端リンクの実際の位置との距離が最大値となるときの加工時軌跡誤差と反力とを対応付ける。学習部22は、図18に示す誤差テーブルを生成し、学習済みデータ記憶部15に記憶させる。図18の例では、誤差テーブルに(Fx,Fy,Fz)で表される反力が記憶されている。図18の例では、バリ310の厚みの最大値が、記憶されている。 As in the first embodiment, the learning unit 22 calculates a machining trajectory error indicating the difference between the ideal trajectory based on the driving conditions acquired in step S11 and the actual trajectory measured in step S14, and calculates the machining trajectory error. The error, the reaction force calculated in step S14, and the information about the workpiece 300 acquired in step S31 are associated (step S36). Specifically, the learning unit 22 performs machining when the distance between the ideal position of the tip link for each control cycle on the ideal trajectory and the actual position of the tip link for each control cycle indicated by the actual trajectory during machining is the maximum value. Correlate the time trajectory error and reaction force. The learning unit 22 generates an error table shown in FIG. 18, and stores it in the learned data storage unit 15. In the example of FIG. 18, the reaction force represented by (Fx, Fy, Fz) is stored in the error table. In the example of FIG. 18, the maximum thickness of the burr 310 is stored.

図17に示すように、駆動条件記憶部11に記憶されている各駆動条件について所定回数の対応付けが完了していない間は(ステップS34;No)、上述の処理が繰り返される。所定回数とは、軌跡モデルを生成するためのデータを取得することが可能となる回数である。 As shown in FIG. 17, the above-described process is repeated until the predetermined number of associations for each drive condition stored in the drive condition storage unit 11 has not been completed (step S34; No). The predetermined number of times is the number of times that data for generating a trajectory model can be acquired.

駆動条件記憶部11に記憶されている各駆動条件について所定回数の対応付けが完了すると(ステップS34;Yes)、学習部20は、加工時軌跡誤差を最小化する目標中間点を駆動条件および加工対象物300についての情報に応じて示す軌跡モデルを生成する(ステップS37)。 When the predetermined number of associations for each drive condition stored in the drive condition storage unit 11 is completed (step S34; Yes), the learning unit 20 sets the target intermediate point that minimizes the trajectory error during machining to the drive conditions and machining. A trajectory model is generated according to information about the target object 300 (step S37).

詳細には、学習部22は、バリ310の厚みに応じて加工時目標中間点を示す軌跡モデルを生成し、学習済みデータ記憶部15に記憶させる。例えば、学習部22は、ニューラルネットワークモデルに従って、教師あり学習を行って、軌跡モデルを生成する。詳細には、学習部22は、駆動条件、基準中間点、反力およびバリ310の厚みを入力データとし、加工時軌跡誤差を結果データとして学習を行い、軌跡モデルを生成する。生成された軌跡モデルを利用して、加工時軌跡誤差を最小化する目標中間点を決定することが可能となる。過学習を抑制するため、軌跡モデルは、10個未満の中間層を有することが好ましい。 Specifically, the learning unit 22 generates a trajectory model indicating a target midpoint during machining according to the thickness of the burr 310, and stores it in the learned data storage unit 15. For example, the learning unit 22 performs supervised learning according to a neural network model to generate a trajectory model. Specifically, the learning unit 22 uses the driving conditions, reference midpoint, reaction force, and thickness of the burr 310 as input data, performs learning using the machining trajectory error as result data, and generates a trajectory model. Using the generated trajectory model, it is possible to determine the target intermediate point that minimizes the trajectory error during machining. To suppress overfitting, the trajectory model preferably has less than 10 hidden layers.

ステップS37の処理が完了すると、制御装置3は学習処理を終了する。上述の学習処理が終了した後に行われる運用処理は、図15に示す制御装置2が行う処理と同様である。 When the process of step S37 is completed, the control device 3 ends the learning process. The operation process performed after the above-described learning process is completed is the same as the process performed by the control device 2 shown in FIG. 15.

以上説明したとおり、実施の形態3に係る制御装置3は、基準中間点、加工時軌跡誤差、反力および加工対象物300についての情報の対応を学習し、加工時軌跡誤差を最小化する目標中間点を求めて、加工時軌跡誤差を最小化する目標中間点を駆動条件および加工対象物300についての情報に応じて示す軌跡モデルを生成する。制御装置3が目標中間点を通る目標軌跡に応じてロボット10を制御することで、加工対象物300の加工が行われる。目標軌跡は、加工対象物300についての情報、例えば、加工対象物300のバリ310の厚みに応じて調節されるため、加工時の実軌跡が理想軌跡に近づき、加工時の制御装置3によるロボット10の制御精度は高くなる。 As explained above, the control device 3 according to the third embodiment learns the correspondence between the reference intermediate point, the machining trajectory error, the reaction force, and the information about the workpiece 300, and sets the goal of minimizing the machining trajectory error. The intermediate point is determined, and a trajectory model is generated that indicates a target intermediate point that minimizes the trajectory error during machining according to the driving conditions and information about the workpiece 300. Processing of the workpiece 300 is performed by the control device 3 controlling the robot 10 according to the target trajectory passing through the target intermediate point. Since the target trajectory is adjusted according to information about the workpiece 300, for example, the thickness of the burr 310 on the workpiece 300, the actual trajectory during processing approaches the ideal trajectory, and the control device 3 controls the robot during processing. 10, the control accuracy becomes higher.

加工対象物300についての情報は、上述の例に限られず、反力の変動の要因となる加工対象物300についての情報であれば任意である。一例として、加工対象物特定部19は、加工工具200の移動方向、上述の例ではX軸方向のバリ310の長さの最小値、最大値、または平均値でもよい。 The information about the workpiece 300 is not limited to the above-mentioned example, and may be any information about the workpiece 300 that causes fluctuations in the reaction force. As an example, the workpiece identification unit 19 may determine the minimum value, maximum value, or average value of the length of the burr 310 in the moving direction of the processing tool 200, in the above example, the X-axis direction.

(実施の形態4)
ロボット10の軌跡を取得する方法は、上述の例に限られない。ロボット10と、実施の形態1とは異なる方法でロボット10の軌跡を取得する制御装置4と、を備えるロボットシステム103について、実施の形態1に係るロボットシステム100と異なる点を中心に説明する。
(Embodiment 4)
The method of acquiring the trajectory of the robot 10 is not limited to the above example. A robot system 103 that includes a robot 10 and a control device 4 that acquires the trajectory of the robot 10 using a method different from that in the first embodiment will be described with a focus on the points that are different from the robot system 100 according to the first embodiment.

図19に示す制御装置4は、モータM1,M2,M3,M4,M5,M6の回転位置によらずロボット10の軌跡を取得する実軌跡取得部23を備える。実軌跡取得部23は、ロボット10の軌跡を測定する測定器、例えば、三次元測定器を有し、測定器の測定値に応じてロボット10の軌跡を取得する。三次元測定器は、ロボット10の先端リンクの移動範囲にレーザー光を照射し、ロボット10の先端リンクで反射されたレーザー光を受信することで、ロボット10の先端リンクの位置を取得する。 The control device 4 shown in FIG. 19 includes an actual trajectory acquisition unit 23 that acquires the trajectory of the robot 10 regardless of the rotational positions of the motors M1, M2, M3, M4, M5, and M6. The actual trajectory acquisition unit 23 has a measuring device, for example, a three-dimensional measuring device, for measuring the trajectory of the robot 10, and acquires the trajectory of the robot 10 according to the measurement value of the measuring device. The three-dimensional measuring device irradiates a laser beam onto the moving range of the tip link of the robot 10 and receives the laser beam reflected by the tip link of the robot 10, thereby obtaining the position of the tip link of the robot 10.

実施の形態4では、実軌跡取得部23は、上述の処理を制御周期ごとに行って、制御周期ごとのXYZ直交座標系における先端リンクの実際の位置である実位置を示す実軌跡を算出する。そして、実軌跡取得部23は、実軌跡を学習部14に送る。 In the fourth embodiment, the actual trajectory acquisition unit 23 performs the above-mentioned processing for each control period, and calculates an actual trajectory that indicates the actual position of the tip link in the XYZ orthogonal coordinate system for each control period. . The actual trajectory acquisition unit 23 then sends the actual trajectory to the learning unit 14.

制御装置4のハードウェア構成は、図4に示す制御装置1と同様である。
上記構成を有する制御装置4が行う学習処理は、先端リンクの軌跡の取得方法を除いて、制御装置1と同様である。制御装置4が行う運用処理は、制御装置1と同様である。
The hardware configuration of the control device 4 is similar to that of the control device 1 shown in FIG.
The learning process performed by the control device 4 having the above configuration is the same as that of the control device 1 except for the method of acquiring the trajectory of the tip link. The operation processing performed by the control device 4 is similar to that of the control device 1.

以上説明した通り、実施の形態4に係る制御装置4は、モータM1,M2,M3,M4,M5,M6の回転位置によらずロボット10の軌跡を取得するため、取得した実軌跡にロボット10の機械的剛性に起因する誤差が含まれず、実軌跡の精度が向上する。 As explained above, the control device 4 according to the fourth embodiment acquires the locus of the robot 10 regardless of the rotational positions of the motors M1, M2, M3, M4, M5, and M6. Errors due to mechanical rigidity are not included, and the accuracy of the actual trajectory is improved.

本開示は、上述の実施の形態に限られない。
駆動条件は、上述の例に限られない。一例として、駆動条件は、加工対象物300についての情報をさらに含むものでもよい。具体的には、駆動条件は、先端リンクの動作開始点、動作終了点、速度、および姿勢、ならびに加工対象物300の重量を含むものでもよい。学習部14は、外部装置、例えば加工対象物300の重量を測定する重量センサから測定値を取得すればよい。詳細には、制御装置1-4は、重量センサから測定値を取得し、駆動条件記憶部11に記憶されている駆動条件に従ってロボット10を制御し、駆動条件および重量センサの測定値に対応する加工時軌跡誤差を算出して、基準中間点と重量センサの測定値と加工時軌跡誤差の対応を学習して、加工時軌跡誤差を最小化する目標中間点を求め、駆動条件および加工対象物300の重量に応じて目標中間点を示す軌跡モデルを生成する。この結果、学習部14は、図20に示すように、先端リンクの動作開始点、動作終了点、速度、および姿勢、ならびに加工対象物300の重量を含む駆動条件と目標中間点とを対応付ける目標中間点テーブルを生成する。
The present disclosure is not limited to the embodiments described above.
The driving conditions are not limited to the above example. As an example, the driving conditions may further include information about the workpiece 300. Specifically, the driving conditions may include the operation start point, operation end point, speed, and posture of the tip link, and the weight of the workpiece 300. The learning unit 14 may acquire a measurement value from an external device, for example, a weight sensor that measures the weight of the workpiece 300. Specifically, the control device 1-4 acquires the measured value from the weight sensor, controls the robot 10 according to the drive conditions stored in the drive condition storage unit 11, and controls the robot 10 in accordance with the drive conditions and the measurement value of the weight sensor. Calculate the machining trajectory error, learn the correspondence between the reference intermediate point, the measured value of the weight sensor, and the machining trajectory error, find the target intermediate point that minimizes the machining trajectory error, and determine the driving conditions and workpiece. A trajectory model indicating the target intermediate point is generated according to the weight of the vehicle. As a result, as shown in FIG. 20, the learning unit 14 has a target that associates the drive conditions including the operation start point, operation end point, speed, and posture of the tip link, and the weight of the workpiece 300 with the target intermediate point. Generate waypoint table.

運用時において、目標軌跡決定部16は、駆動指令を取得すると、学習済みデータ記憶部15から、駆動指令が示す先端リンクの動作開始点、動作終了点、速度、および姿勢と重量センサの測定値に応じた目標中間点を取得する。そして、目標軌跡決定部16は、駆動指令が示す先端リンクの動作開始点、動作終了点、速度、および姿勢に基づき、目標中間点を通る目標軌跡を決定する。加工対象物300の重量に応じた目標軌跡に基づいてロボット10が制御されることで、ロボット10の制御精度が向上する。 During operation, upon acquiring a drive command, the target trajectory determining unit 16 retrieves from the learned data storage unit 15 the operation start point, operation end point, speed, and posture of the tip link indicated by the drive command, as well as the measured values of the weight sensor. Obtain the target midpoint according to. Then, the target trajectory determination unit 16 determines a target trajectory passing through the target intermediate point based on the operation start point, operation end point, speed, and attitude of the tip link indicated by the drive command. The control accuracy of the robot 10 is improved by controlling the robot 10 based on the target trajectory according to the weight of the workpiece 300.

他の一例として、駆動条件は、先端リンクの動作開始点、動作終了点、動作開始点から動作終了点に至るまでに要する時間および姿勢を含むものでもよい。
上述の実施の形態では、駆動条件は平面での直線的な移動を指示しているが、駆動条件は、三次元での移動、曲線的な移動等を指示してもよい。
As another example, the driving conditions may include an operation start point, an operation end point, a time required from the operation start point to the operation end point, and a posture of the tip link.
In the embodiments described above, the driving conditions instruct linear movement on a plane, but the driving conditions may instruct three-dimensional movement, curved movement, etc.

上述の実施の形態では、駆動条件記憶部11に記憶されている駆動条件テーブルの1つのレコードには、1つの基準中間点が記憶されているが、駆動条件テーブルの1つのレコードに複数の基準中間点が記憶されてもよい。この場合、基準軌跡決定部12は、同じレコードに記憶されている複数の基準中間点を通る基準軌跡を決定すればよい。 In the embodiment described above, one reference midpoint is stored in one record of the driving condition table stored in the driving condition storage unit 11, but a plurality of standards are stored in one record of the driving condition table. Intermediate points may be stored. In this case, the reference trajectory determination unit 12 may determine a reference trajectory that passes through a plurality of reference intermediate points stored in the same record.

駆動条件記憶部11および学習済みデータ記憶部15は、制御装置1-4の外部に設けられてもよい。一例として、駆動条件記憶部11および学習済みデータ記憶部15は、ネットワーク上の記憶装置の機能として実現されてもよい。 The driving condition storage section 11 and the learned data storage section 15 may be provided outside the control device 1-4. As an example, the driving condition storage section 11 and the learned data storage section 15 may be realized as functions of a storage device on a network.

基準軌跡、理想軌跡、および目標軌跡の決定方法は、上述の例に限られない。詳細には、実施の形態1において基準軌跡決定部12が決定する基準軌跡RT1は、動作開始点SP1から基準中間点RP1を通って動作終了点EP1に至る滑らかな曲線であって、XY平面においてY軸負方向に突出する曲線で示されるが、基準軌跡RT1はこのような曲線に限られず、複数の方向に突出する曲線で示されてもよい。一例として、基準軌跡RT1は、動作開始点SP1から動作終了点EP1に至るまでにY軸負方向に突出し、かつ、動作開始点SP1および動作終了点EP1の付近でXY平面においてY軸正方向に突出する曲線でも示されてもよい。 The method of determining the reference trajectory, ideal trajectory, and target trajectory is not limited to the above-mentioned example. Specifically, the reference trajectory RT1 determined by the reference trajectory determination unit 12 in the first embodiment is a smooth curve from the operation start point SP1 to the operation end point EP1 through the reference intermediate point RP1, and is a smooth curve in the XY plane. Although shown as a curve that projects in the negative direction of the Y-axis, the reference trajectory RT1 is not limited to such a curve, and may be shown as a curve that projects in a plurality of directions. As an example, the reference trajectory RT1 protrudes in the Y-axis negative direction from the operation start point SP1 to the operation end point EP1, and protrudes in the Y-axis positive direction on the XY plane near the operation start point SP1 and the operation end point EP1. It may also be shown as a protruding curve.

他の一例として、基準軌跡決定部12は、駆動条件が示す動作開始点と基準中間点を線形補間し、基準中間点と駆動条件が示す動作終了点を線形補間することで、基準軌跡を算出してもよい。基準軌跡が線形補間により算出されても、制御部17がモータM1,M2,M3,M4,M5,M6を滑らかに回転させる制御を行うことで、先端リンクは滑らかに移動し、実軌跡は滑らかな曲線となる。 As another example, the reference trajectory determination unit 12 calculates the reference trajectory by linearly interpolating the operation start point and reference intermediate point indicated by the driving condition, and by linearly interpolating the reference intermediate point and the operation end point indicated by the driving condition. You may. Even if the reference trajectory is calculated by linear interpolation, the control unit 17 controls the motors M1, M2, M3, M4, M5, and M6 to rotate smoothly, so that the tip link moves smoothly and the actual trajectory is smooth. It becomes a curve.

他の一例として、基準軌跡決定部12は、動作開始点、基準中間点、および動作終了点と制御周期ごとの先端リンクの基準位置とが対応付けられている図示しないテーブルを用いて、基準軌跡を決定してもよい。 As another example, the reference trajectory determination unit 12 uses a table (not shown) in which the operation start point, reference intermediate point, and operation end point are associated with the reference position of the tip link for each control cycle to determine the reference trajectory. may be determined.

理想軌跡および目標軌跡についても、上述の基準軌跡の決定方法と同様の方法によって、決定することが可能である。 The ideal trajectory and the target trajectory can also be determined using a method similar to the method for determining the reference trajectory described above.

実施の形態1では、ロボット10を直線的に動かすため、理想軌跡が直線であるが、理想軌跡はロボット10の動かし方に応じて定められればよく、直線に限られない。具体的には、理想軌跡は、円弧、曲線、または直線、円弧、および曲線の組合せでもよい。 In the first embodiment, the ideal trajectory is a straight line because the robot 10 is moved linearly, but the ideal trajectory may be determined according to the way the robot 10 is moved and is not limited to a straight line. Specifically, the ideal trajectory may be a circular arc, a curved line, or a combination of a straight line, a circular arc, and a curved line.

実施の形態1において目標軌跡決定部16が決定する目標軌跡TT1は、動作開始点SP1から目標中間点TP1を通って動作終了点EP1に至る滑らかな曲線であって、XY平面においてY軸負方向に突出する曲線で示されるが、目標軌跡TT1はこのような曲線に限られない。一例として、目標軌跡TT1は、動作開始点SP1から動作終了点EP1に至るまでにY軸負方向に突出し、かつ、動作開始点SP1および動作終了点EP1の付近でXY平面においてY軸正方向に突出する曲線で示されてもよい。 In the first embodiment, the target trajectory TT1 determined by the target trajectory determination unit 16 is a smooth curve from the motion start point SP1 through the target intermediate point TP1 to the motion end point EP1, and is a smooth curve extending in the Y-axis negative direction in the XY plane. However, the target trajectory TT1 is not limited to such a curve. As an example, the target trajectory TT1 protrudes in the Y-axis negative direction from the motion start point SP1 to the motion end point EP1, and in the Y-axis positive direction on the XY plane near the motion start point SP1 and the motion end point EP1. It may also be indicated by a protruding curve.

他の一例として、目標軌跡決定部16は、駆動条件が示す動作開始点と目標中間点を線形補間し、目標中間点と駆動条件が示す動作終了点を線形補間することで、目標軌跡を決定してもよい。目標軌跡が線形補間により決定されても、制御部17がモータM1,M2,M3,M4,M5,M6を滑らかに回転させる制御を行うことで、先端リンクは滑らかに移動し、実軌跡は滑らかな曲線となる。 As another example, the target trajectory determination unit 16 determines the target trajectory by linearly interpolating the operation start point and the target intermediate point indicated by the driving conditions, and by linearly interpolating the target intermediate point and the operation end point indicated by the driving conditions. You may. Even if the target trajectory is determined by linear interpolation, the control unit 17 controls the motors M1, M2, M3, M4, M5, and M6 to rotate smoothly, so that the tip link moves smoothly and the actual trajectory is smooth. It becomes a curve.

目標中間点の決定方法は、上述の例に限られない。一例として、学習部14は、線形回帰、曲線回帰、多項式回帰、多次元関数フィッティング等を用いて、目標中間点を決定してもよい。例えば、学習部14は、基準中間点のXYZ各座標成分を独立変数し、加工時軌跡誤差を目的関数として多次元関数フィッティングを行って、目標中間点を決定してもよい。 The method for determining the target midpoint is not limited to the above example. As an example, the learning unit 14 may determine the target intermediate point using linear regression, curve regression, polynomial regression, multidimensional function fitting, or the like. For example, the learning unit 14 may determine the target intermediate point by using the XYZ coordinate components of the reference intermediate point as independent variables and performing multidimensional function fitting using the machining trajectory error as an objective function.

学習部14は、理想軌跡が示す制御周期ごとの先端リンクの位置である理想位置と実軌跡が示す制御周期ごとの先端リンクの位置である実位置との距離を算出し、距離が極大値となるときの実位置の理想位置からのずれを軌跡誤差として用いてもよい。この場合、学習部14は、図21に示すように、複数の加工時軌跡誤差を誤差テーブルに記憶してもよい。そして、学習部14は、加工時軌跡誤差として記憶されている極大値に基づいて、目標中間点を算出すればよい。学習部20,22についても同様である。 The learning unit 14 calculates the distance between the ideal position, which is the position of the tip link in each control cycle indicated by the ideal trajectory, and the actual position, which is the position of the tip link in each control cycle, indicated by the actual trajectory, and determines whether the distance is a maximum value. The deviation of the actual position from the ideal position when the actual position becomes the ideal position may be used as the trajectory error. In this case, the learning unit 14 may store a plurality of machining trajectory errors in an error table, as shown in FIG. 21. Then, the learning unit 14 may calculate the target intermediate point based on the maximum value stored as the machining trajectory error. The same applies to the learning units 20 and 22.

学習部14は、軌跡誤差に対応する先端リンクの実際の位置を誤差テーブルに記憶してもよい。例えば、学習部14は、制御周期ごとの先端リンクの理想位置と実軌跡が示す制御周期ごとの先端リンクの実際の位置との距離の極大値を加工時軌跡誤差として用いる際には、図22に示すように、距離が極大値となるときの先端リンクの実際の位置である実位置を誤差テーブルに記憶してもよい。そして、学習部14は、加工時軌跡誤差として記憶されている極大値および極大値に対応する先端リンクの実際の位置に基づいて、目標中間点を算出すればよい。学習部20,22についても同様である。 The learning unit 14 may store the actual position of the tip link corresponding to the trajectory error in an error table. For example, when the learning unit 14 uses the maximum value of the distance between the ideal position of the tip link for each control cycle and the actual position of the tip link for each control cycle indicated by the actual trajectory as the machining trajectory error, As shown in , the actual position of the tip link when the distance reaches its maximum value may be stored in the error table. Then, the learning unit 14 may calculate the target intermediate point based on the maximum value stored as the machining trajectory error and the actual position of the tip link corresponding to the maximum value. The same applies to the learning units 20 and 22.

学習部14は、図23に示すように、距離が極大値となるときの反力を誤差テーブルに記憶してもよい。そして、学習部14は、加工時軌跡誤差として記憶されている極大値および極大値に対応する反力に基づいて、目標中間点を算出すればよい。 The learning unit 14 may store the reaction force when the distance reaches a maximum value in an error table, as shown in FIG. 23. Then, the learning unit 14 may calculate the target intermediate point based on the maximum value stored as the machining trajectory error and the reaction force corresponding to the maximum value.

学習部14,20,22は、学習処理が完了した後に行う運用処理に並行して学習処理を再度行ってもよい。詳細には、学習部14,20,22は、運用処理の際に、目標軌跡決定部16が取得した駆動指令が示す駆動条件に応じた理想軌跡と実軌跡取得部13が取得した実軌跡との差分を示す軌跡誤差を算出し、加工時軌跡誤差を得る。運用処理時と並行して学習処理を行うことで、軌跡誤差を最小化する目標中間点の精度が向上し、結果としてロボット10の制御精度が向上する。 The learning units 14, 20, and 22 may perform the learning process again in parallel with the operational process performed after the learning process is completed. Specifically, during the operation process, the learning units 14, 20, and 22 distinguish between an ideal trajectory corresponding to the drive conditions indicated by the drive command acquired by the target trajectory determination unit 16 and an actual trajectory acquired by the actual trajectory acquisition unit 13. The trajectory error indicating the difference between is calculated, and the trajectory error during machining is obtained. By performing the learning process in parallel with the operation process, the accuracy of the target intermediate point that minimizes the trajectory error is improved, and as a result, the control accuracy of the robot 10 is improved.

学習部14,20,22は、軌跡誤差として、先端リンクの実位置の理想位置からのずれの絶対値、平均値、中央値を用いて、目標中間点を決定してもよい。 The learning units 14, 20, and 22 may determine the target intermediate point using the absolute value, average value, and median value of the deviation of the actual position of the tip link from the ideal position as the trajectory error.

加工対象物特定部19は、加工対象物300についての情報を取得するものであれば、任意である。一例として、撮影装置191は、三次元カメラでもよいし、二次元カメラでもよい。他の一例として、加工対象物特定部19は、ロボット10に取り付けられて、加工対象物300の形状を測定するレーザースキャナを有してもよい。 The workpiece identification unit 19 may be any unit as long as it acquires information about the workpiece 300. As an example, the photographing device 191 may be a three-dimensional camera or a two-dimensional camera. As another example, the workpiece identification unit 19 may include a laser scanner that is attached to the robot 10 and measures the shape of the workpiece 300.

加工対象物特定部19によるバリ310の形状の決定方法は上述の例に限られない。一例として、加工対象物特定部19が有する形状決定部192は、撮影装置191が生成した画像データと設計データとを比較して、画像データと設計データとが一致しない部分をバリ310と判定してもよい。 The method of determining the shape of the burr 310 by the workpiece specifying unit 19 is not limited to the above-mentioned example. As an example, the shape determining unit 192 included in the workpiece specifying unit 19 compares the image data generated by the photographing device 191 and the design data, and determines that a portion where the image data and the design data do not match is a burr 310. You can.

制御装置1-4が行う学習処理を、他の装置の機能としてもよい。一例として、実施の形態1に係る制御装置1の機能を、ロボット10の制御を行う制御装置5と軌跡モデルを生成する学習装置6によって実現する例を図24に示す。図24に示すロボットシステム104は、ロボット10と、ロボット10を制御する制御装置5と、ロボット10を制御するための軌跡モデルを生成する学習装置6と、を備える。 The learning process performed by the control device 1-4 may be a function of another device. As an example, FIG. 24 shows an example in which the functions of the control device 1 according to the first embodiment are realized by a control device 5 that controls the robot 10 and a learning device 6 that generates a trajectory model. The robot system 104 shown in FIG. 24 includes a robot 10, a control device 5 that controls the robot 10, and a learning device 6 that generates a trajectory model for controlling the robot 10.

学習装置6は、駆動条件記憶部11と、基準軌跡決定部12と、実軌跡取得部13と、学習部14と、学習済みデータ記憶部15と、反力取得部18と、を備える。学習装置6の各部の機能は制御装置1の対応する各部の機能と同様である。制御装置5は、目標軌跡決定部16と、制御部17と、を備える。制御装置5の各部の機能は制御装置1の対応する各部の機能と同様である。制御装置5が備える目標軌跡決定部16は、学習装置6が備える学習済みデータ記憶部15から軌跡モデルを取得すればよい。制御装置5が備える制御部17は、学習装置6が備える基準軌跡決定部12から取得した基準軌跡または目標軌跡決定部16で算出した目標軌跡に応じてロボット10を制御する。学習済みデータ記憶部15は、制御装置5および学習装置6からアクセス可能な独立した記憶装置としてもよい。同様に、制御装置2,3の機能を、制御装置5と学習装置6によって実現することができる。 The learning device 6 includes a drive condition storage section 11, a reference trajectory determination section 12, an actual trajectory acquisition section 13, a learning section 14, a learned data storage section 15, and a reaction force acquisition section 18. The functions of each part of the learning device 6 are similar to the functions of the corresponding parts of the control device 1. The control device 5 includes a target trajectory determining section 16 and a control section 17. The functions of each part of the control device 5 are similar to the functions of the corresponding parts of the control device 1. The target trajectory determining unit 16 included in the control device 5 may acquire the trajectory model from the learned data storage unit 15 included in the learning device 6 . The control unit 17 included in the control device 5 controls the robot 10 according to the reference trajectory acquired from the reference trajectory determination unit 12 included in the learning device 6 or the target trajectory calculated by the target trajectory determination unit 16. The learned data storage section 15 may be an independent storage device that can be accessed from the control device 5 and the learning device 6. Similarly, the functions of the control devices 2 and 3 can be realized by the control device 5 and the learning device 6.

他の一例として、図24に示すロボットシステム104において、学習装置6が備える学習部14の機能の内、軌跡モデルを生成する処理を制御装置5にもたせてもよい。この場合、学習装置6は、駆動条件に応じた基準中間点ごとに加工時軌跡誤差を算出して、加工時軌跡誤差を学習済みデータ記憶部15に記憶すればよい。制御装置5は、学習装置6が予め学習したデータ、具体的には、学習済みデータ記憶部15に記憶されている加工時軌跡誤差を取得し、保持すればよい。そして、制御装置5は、加工時軌跡誤差を最小化する目標中間点を駆動条件ごとに示す軌跡モデルを生成すればよい。 As another example, in the robot system 104 shown in FIG. 24, among the functions of the learning unit 14 included in the learning device 6, the control device 5 may be provided with processing for generating a trajectory model. In this case, the learning device 6 may calculate the machining trajectory error for each reference intermediate point according to the driving conditions and store the machining trajectory error in the learned data storage unit 15. The control device 5 may acquire and hold the data learned in advance by the learning device 6, specifically, the machining trajectory error stored in the learned data storage section 15. Then, the control device 5 may generate a trajectory model that indicates a target intermediate point that minimizes the trajectory error during machining for each drive condition.

制御装置1-5の制御対象であるロボット10の軌跡は、先端リンクの軌跡に限られず、ロボット10またはロボット10に取り付けられる加工工具200の内、任意の部位の軌跡である。 The trajectory of the robot 10 that is controlled by the control device 1-5 is not limited to the trajectory of the tip link, but is the trajectory of any part of the robot 10 or the processing tool 200 attached to the robot 10.

実軌跡取得部23による先端リンクの軌跡の取得方法は、上述の例に限られない。一例として、実軌跡取得部23は、測定器として複数のカメラを有する。実軌跡取得部23は、複数のカメラによって、ロボット10の先端リンクの移動範囲を撮影し、複数のカメラで撮影された画像からロボット10の先端リンクの位置を決定してもよい。 The method of acquiring the trajectory of the tip link by the actual trajectory acquisition unit 23 is not limited to the above-mentioned example. As an example, the actual trajectory acquisition unit 23 includes a plurality of cameras as measuring instruments. The actual trajectory acquisition unit 23 may photograph the moving range of the tip link of the robot 10 using a plurality of cameras, and determine the position of the tip link of the robot 10 from the images captured by the plurality of cameras.

他の一例として、実軌跡取得部23は、測定器としてロボット10の先端リンクに取り付けられた加速度センサを有する。実軌跡取得部23は、加速度センサの測定値に基づいてロボット10の先端リンクの位置を決定してもよい。 As another example, the actual trajectory acquisition unit 23 includes an acceleration sensor attached to the tip link of the robot 10 as a measuring device. The actual trajectory acquisition unit 23 may determine the position of the tip link of the robot 10 based on the measured value of the acceleration sensor.

実軌跡取得部23は、制御周期とは独立した取得周期ごとに、ロボット10の先端リンクの位置を測定してもよい。この場合、学習部14は、取得周期ごとロボット10の先端リンクの位置を補間して、制御周期ごとのロボット10の先端リンクの位置を決定し、理想位置と比較すればよい。詳細には、学習部14は、線形補間、多項式補間等を用いて補間処理を行う。 The actual trajectory acquisition unit 23 may measure the position of the tip link of the robot 10 at every acquisition period independent of the control period. In this case, the learning unit 14 may interpolate the position of the tip link of the robot 10 for each acquisition cycle, determine the position of the tip link of the robot 10 for each control cycle, and compare it with the ideal position. Specifically, the learning unit 14 performs interpolation processing using linear interpolation, polynomial interpolation, or the like.

制御部17は、上述の実軌跡取得部23で取得されたロボット10の先端リンクの位置に応じて、モータM1,M2,M3,M4,M5,M6をフィードバック制御してもよい。 The control unit 17 may perform feedback control of the motors M1, M2, M3, M4, M5, and M6 according to the position of the tip link of the robot 10 acquired by the actual trajectory acquisition unit 23 described above.

その他、上述のハードウェア構成およびフローチャートは一例であり、任意に変更および修正が可能である。一例として、制御装置1-4および学習装置6は、図示しない操作部の操作に応じて、学習処理を開始してもよい。 In addition, the above-mentioned hardware configuration and flowchart are merely examples, and can be changed and modified as desired. As an example, the control device 1-4 and the learning device 6 may start learning processing in response to an operation on an operation unit (not shown).

上述の実施の形態では、実際にロボット10を動作させて軌跡誤差を求めるが、学習処理をシミュレーションによって行ってもよい。 In the embodiment described above, the trajectory error is determined by actually operating the robot 10, but the learning process may also be performed by simulation.

上述の動作を実行するためのコンピュータプログラムを、フレキシブルディスク、CD-ROM(Compact Disc - Read Only Memory)、DVD-ROM(Digital Versatile Disc - Read Only Memory)などのコンピュータが読み取り可能な記録媒体に格納して配布し、当該コンピュータプログラムをコンピュータにインストールすることにより、上述の動作を実行する制御装置1-5および学習装置6を実現してもよい。あるいは、専用のシステムによって、上述の動作を実行する制御装置1-5および学習装置6を実現してもよい。上記コンピュータプログラムは、搬送波に重畳されて通信ネットワークを介して提供されてもよい。 A computer program for performing the above-mentioned operations is stored on a computer-readable recording medium such as a flexible disk, a CD-ROM (Compact Disc - Read Only Memory), or a DVD-ROM (Digital Versatile Disc - Read Only Memory). The control device 1-5 and learning device 6 that execute the above operations may be realized by distributing the computer program and installing the computer program on a computer. Alternatively, the control device 1-5 and the learning device 6 that execute the above operations may be realized by a dedicated system. The computer program may be superimposed on a carrier wave and provided via a communication network.

ロボット10は、上述の例に限られず、任意である。一例として、制御装置1-5は、図25に示す水平多関節ロボットであるロボット40を制御してもよい。ロボット40は、第1アーム410と、第2アーム420と、第3アーム430と、ベース440と、を備える。第1アーム410は、Z軸に平行な回転軸AX1周りに回転可能な状態でベース440に取り付けられる。第2アーム420は、第1アーム410に連結され、Z軸に平行な回転軸AX2周りに回転可能である。第3アーム430は、第2アーム420に連結され、Z軸に平行な回転軸AX3周りに回転可能である。さらに第3アーム430は、回転軸AX3に沿う方向に伸縮可能である。ベース440は、平面に固定されて、第1アーム410を支持する。第3アーム430に加工工具200を取り付けることが可能である。制御装置1-5は、ロボット40が備える図示しないモータを制御することで、第3アーム430の先端である先端リンクの位置を制御すればよい。 The robot 10 is not limited to the above-mentioned example, but is arbitrary. As an example, the control device 1-5 may control a robot 40 that is a horizontal articulated robot shown in FIG. The robot 40 includes a first arm 410, a second arm 420, a third arm 430, and a base 440. The first arm 410 is attached to the base 440 in a rotatable state around a rotation axis AX1 parallel to the Z-axis. The second arm 420 is connected to the first arm 410 and is rotatable around a rotation axis AX2 parallel to the Z-axis. The third arm 430 is connected to the second arm 420 and is rotatable around a rotation axis AX3 parallel to the Z-axis. Further, the third arm 430 is extendable and retractable in the direction along the rotation axis AX3. The base 440 is fixed to a plane and supports the first arm 410. It is possible to attach the processing tool 200 to the third arm 430. The control device 1-5 may control the position of the tip link, which is the tip of the third arm 430, by controlling a motor (not shown) included in the robot 40.

他の一例として、制御装置1-5は、図26に示す複数の軸を有するロボットであるロボット50を制御してもよい。ロボット50は、第1アーム510と、第2アーム520と、ベース530と、を備える。第1アーム510は、X軸方向に移動可能な状態でベース530に取り付けられる。第2アーム520は、第1アーム510に連結され、Y軸方向に移動可能である。ベース530は、平面に固定されて、第1アーム510を支持する。第2アーム520には、加工工具200が取り付けられている。図26の例では、第2アーム520は印刷ヘッドであって、液体吐出部および吐出ノズルを有する加工工具200によって、ベース530上に設置されたステージ540上の基板に電極を形成する。詳細には、加工工具200の先端は、ステージ540上をX軸方向およびY軸方向に移動可能である。制御装置1-5は、ロボット50が備える図示しないモータを制御することで、第2アーム520の先端である先端リンクの位置を制御すればよい。 As another example, the control device 1-5 may control a robot 50, which is a robot having a plurality of axes as shown in FIG. 26. The robot 50 includes a first arm 510, a second arm 520, and a base 530. The first arm 510 is attached to the base 530 so as to be movable in the X-axis direction. The second arm 520 is connected to the first arm 510 and is movable in the Y-axis direction. The base 530 is fixed to a plane and supports the first arm 510. The processing tool 200 is attached to the second arm 520. In the example of FIG. 26, the second arm 520 is a print head, and forms electrodes on a substrate on a stage 540 placed on a base 530 using a processing tool 200 having a liquid ejection part and a ejection nozzle. Specifically, the tip of the processing tool 200 is movable on the stage 540 in the X-axis direction and the Y-axis direction. The control device 1-5 may control the position of the tip link, which is the tip of the second arm 520, by controlling a motor (not shown) included in the robot 50.

上述の例では、ロボット10,40,50の先端リンクの位置は、XYZ直交座標系で定義されたが、円筒座標系で定義されてもよい。 In the above example, the positions of the tip links of the robots 10, 40, and 50 were defined in the XYZ orthogonal coordinate system, but may be defined in the cylindrical coordinate system.

本開示は、本開示の広義の精神と範囲を逸脱することなく、様々な実施の形態及び変形が可能とされるものである。また、上述した実施の形態は、この開示を説明するためのものであり、本開示の範囲を限定するものではない。すなわち、本開示の範囲は、実施の形態ではなく、特許請求の範囲によって示される。そして、特許請求の範囲内及びそれと同等の開示の意義の範囲内で施される様々な変形が、この開示の範囲内とみなされる。 The present disclosure is capable of various embodiments and modifications without departing from the broad spirit and scope of the present disclosure. Moreover, the embodiments described above are for explaining this disclosure, and do not limit the scope of this disclosure. That is, the scope of the present disclosure is indicated by the claims rather than the embodiments. Various modifications made within the scope of the claims and the meaning of the disclosure equivalent thereto are considered to be within the scope of this disclosure.

本出願は、2021年2月18日に出願された、日本国特許出願特願2021-23848号に基づく。本明細書中に日本国特許出願特願2021-23848号の明細書、特許請求の範囲、図面全体を参照として取り込むものとする。 This application is based on Japanese Patent Application No. 2021-23848, filed on February 18, 2021. The entire specification, claims, and drawings of Japanese Patent Application No. 2021-23848 are incorporated herein by reference.

1,2,3,4,5 制御装置、6 学習装置、10,40,50 ロボット、11 駆動条件記憶部、12 基準軌跡決定部、13,23 実軌跡取得部、14,20,22 学習部、15 学習済みデータ記憶部、16,21 目標軌跡決定部、17 制御部、18 反力取得部、19 加工対象物特定部、31 プロセッサ、32 メモリ、33 インターフェース、34 バス、100,101,102,103,104 ロボットシステム、110,410,510 第1アーム、120,420,520 第2アーム、130,430 第3アーム、140 第4アーム、150 第5アーム、160 フランジ、160a 先端面、170,440,530 ベース、180 固定部、190 力覚センサ、191 撮影装置、192 形状決定部、200 加工工具、300 加工対象物、310 バリ、540 ステージ、AT0,AT1,AT1’ 実軌跡、AX1,AX2,AX3,AX4,AX5,AX6 回転軸、E1,E2,E3,E4,E5,E6 エンコーダ、EP1 動作終了点、ER1,ER2 軌跡誤差、M1,M2,M3,M4,M5,M6 モータ、RP1 基準中間点、RT1 基準軌跡、SP1 動作開始点、TP1 目標中間点、TT1 目標軌跡。 1, 2, 3, 4, 5 control device, 6 learning device, 10, 40, 50 robot, 11 driving condition storage section, 12 reference trajectory determining section, 13, 23 actual trajectory acquisition section, 14, 20, 22 learning section , 15 learned data storage unit, 16, 21 target trajectory determination unit, 17 control unit, 18 reaction force acquisition unit, 19 workpiece identification unit, 31 processor, 32 memory, 33 interface, 34 bus, 100, 101, 102 , 103, 104 Robot system, 110, 410, 510 First arm, 120, 420, 520 Second arm, 130, 430 Third arm, 140 Fourth arm, 150 Fifth arm, 160 Flange, 160a Tip surface, 170 , 440, 530 base, 180 fixed part, 190 force sensor, 191 photographing device, 192 shape determining part, 200 processing tool, 300 workpiece, 310 burr, 540 stage, AT0, AT1, AT1' actual trajectory, AX1, AX2, AX3, AX4, AX5, AX6 Rotating axis, E1, E2, E3, E4, E5, E6 Encoder, EP1 Operation end point, ER1, ER2 Trajectory error, M1, M2, M3, M4, M5, M6 Motor, RP1 Reference intermediate point, RT1 reference trajectory, SP1 operation start point, TP1 target intermediate point, TT1 target trajectory.

Claims (21)

加工対象物の加工を行うための加工工具が取り付け可能なロボットを制御する制御装置であって、
前記ロボットの動作開始点および動作終了点を少なくとも指定する駆動条件に、前記動作開始点から前記動作終了点に至るまでに前記ロボットが通る位置を示す基準中間点を対応付けて記憶している駆動条件記憶部と、
前記駆動条件記憶部から前記基準中間点を取得し、取得した前記基準中間点について、前記駆動条件に基づき、該基準中間点を通る基準軌跡を決定する基準軌跡決定部と、
前記ロボットの実際の軌跡を取得する実軌跡取得部と、
前記基準軌跡に応じて前記ロボットを制御することで前記加工対象物の加工を行う場合に前記実軌跡取得部で取得された加工時実軌跡の前記駆動条件に基づく理想軌跡からのずれを示す加工時軌跡誤差を取得された前記基準中間点について求め、前記基準中間点と前記加工時軌跡誤差との対応を学習して、前記加工時軌跡誤差を最小化する目標中間点を前記駆動条件に応じて示す軌跡モデルを生成する学習部と、
前記軌跡モデルから得られる前記目標中間点を通る目標軌跡を決定する目標軌跡決定部と、
前記基準軌跡または前記目標軌跡に応じて前記ロボットを制御する制御部と、
を備える制御装置。
A control device that controls a robot to which a processing tool for processing a workpiece can be attached,
A drive in which a reference intermediate point indicating a position that the robot passes from the motion start point to the motion end point is stored in association with a drive condition that specifies at least a motion start point and a motion end point of the robot. a condition storage unit;
a reference trajectory determining unit that acquires the reference intermediate point from the driving condition storage unit and determines a reference trajectory passing through the reference intermediate point based on the driving condition for the acquired reference intermediate point;
an actual trajectory acquisition unit that acquires an actual trajectory of the robot;
When processing the workpiece by controlling the robot according to the reference trajectory, processing indicates a deviation of the actual trajectory during machining acquired by the actual trajectory acquisition unit from the ideal trajectory based on the driving conditions. The time trajectory error is determined for the acquired reference intermediate point, the correspondence between the reference intermediate point and the machining trajectory error is learned, and a target intermediate point that minimizes the machining trajectory error is determined according to the driving conditions. a learning unit that generates a trajectory model shown in
a target trajectory determining unit that determines a target trajectory passing through the target intermediate point obtained from the trajectory model;
a control unit that controls the robot according to the reference trajectory or the target trajectory;
A control device comprising:
前記実軌跡取得部は、前記ロボットの軌跡を測定する測定器を有し、前記測定器の測定値に応じて前記ロボットの前記軌跡を取得する、
請求項1に記載の制御装置。
The actual trajectory acquisition unit includes a measuring device that measures the trajectory of the robot, and acquires the trajectory of the robot according to a measurement value of the measuring device.
The control device according to claim 1.
加工対象物の加工を行うための加工工具が取り付け可能なロボットを制御する制御装置であって、
前記ロボットの動作開始点および動作終了点を少なくとも指定する駆動条件に対応づけられていて、前記動作開始点から前記動作終了点に至るまでに前記ロボットが通る位置を示す基準中間点を用いて、前記加工対象物の加工が行われる場合の前記基準中間点を通る基準軌跡に応じて制御された前記ロボットの実際の軌跡を示す加工時実軌跡の前記駆動条件に基づく理想軌跡からのずれを示す加工時軌跡誤差を求め、前記基準中間点と前記加工時軌跡誤差との対応を学習して、前記加工時軌跡誤差を最小化する目標中間点を前記駆動条件に応じて示す軌跡モデルを生成する学習部と、
前記軌跡モデルから得られる前記目標中間点を通る目標軌跡を決定する目標軌跡決定部と、
前記目標軌跡に応じて前記ロボットを制御する制御部と、
を備える制御装置。
A control device that controls a robot to which a processing tool for processing a workpiece can be attached,
Using a reference intermediate point that is associated with a drive condition that specifies at least a motion start point and a motion end point of the robot and indicates a position that the robot passes from the motion start point to the motion end point, Indicates the deviation of the actual trajectory during machining from the ideal trajectory based on the driving conditions, which indicates the actual trajectory of the robot controlled according to the reference trajectory passing through the reference intermediate point when processing the workpiece. A trajectory error during machining is determined, a correspondence between the reference intermediate point and the trajectory error during machining is learned, and a trajectory model is generated that indicates a target intermediate point that minimizes the trajectory error during machining according to the driving conditions. Learning department and
a target trajectory determining unit that determines a target trajectory passing through the target intermediate point obtained from the trajectory model;
a control unit that controls the robot according to the target trajectory;
A control device comprising:
前記加工工具による加工の際に前記加工対象物から前記ロボットが受ける力である反力を取得する反力取得部をさらに備え、
前記学習部は、前記基準中間点、前記加工時軌跡誤差、および前記加工時軌跡誤差が生じる場合の前記反力の対応を学習して、前記軌跡モデルを生成する、
請求項1から3のいずれか1項に記載の制御装置。
further comprising a reaction force acquisition unit that acquires a reaction force that is a force that the robot receives from the workpiece during processing with the processing tool,
The learning unit generates the trajectory model by learning the reference intermediate point, the machining trajectory error, and the response force when the machining trajectory error occurs.
The control device according to any one of claims 1 to 3.
前記制御部は、前記基準軌跡または前記目標軌跡、および前記反力取得部が取得した前記反力に応じて前記ロボットを制御する、
請求項4に記載の制御装置。
The control unit controls the robot according to the reference trajectory or the target trajectory and the reaction force acquired by the reaction force acquisition unit.
The control device according to claim 4.
前記制御部は、前記反力の増大に従って、前記基準軌跡または前記目標軌跡が示す前記ロボットの位置を前記加工対象物から遠い位置に調節して、調節した前記ロボットの位置に応じて前記ロボットを制御する、
請求項5に記載の制御装置。
The control unit adjusts the position of the robot indicated by the reference trajectory or the target trajectory to a position farther from the workpiece according to the increase in the reaction force, and moves the robot according to the adjusted position of the robot. Control,
The control device according to claim 5.
前記加工対象物についての情報を取得する加工対象物特定部をさらに備え、
前記学習部は、前記基準中間点、前記加工時軌跡誤差、および前記加工対象物についての情報の対応を学習して、前記駆動条件および前記加工対象物についての情報に応じて前記目標中間点を示す前記軌跡モデルを生成する、
請求項1から6のいずれか1項に記載の制御装置。
further comprising a workpiece identification unit that acquires information about the workpiece,
The learning unit learns the correspondence between the reference intermediate point, the machining trajectory error, and information about the workpiece, and determines the target intermediate point according to the driving condition and the information about the workpiece. generating the trajectory model shown in FIG.
The control device according to any one of claims 1 to 6.
前記加工対象物特定部は、
前記加工対象物の画像データを生成する撮影装置と、
前記撮影装置が生成した前記画像データから前記加工対象物の形状を決定する形状決定部と、を有し、
前記加工対象物についての情報として、前記加工対象物の形状を取得する、
請求項7に記載の制御装置。
The workpiece identification unit is
an imaging device that generates image data of the processing object;
a shape determining unit that determines the shape of the workpiece from the image data generated by the photographing device;
acquiring the shape of the workpiece as information about the workpiece;
The control device according to claim 7.
前記加工対象物特定部は、前記ロボットに取り付けられて、前記加工対象物の形状を測定するレーザースキャナを有し、
前記加工対象物についての情報として、前記加工対象物の形状を取得する、
請求項7に記載の制御装置。
The workpiece identification unit includes a laser scanner that is attached to the robot and measures the shape of the workpiece,
acquiring the shape of the workpiece as information about the workpiece;
The control device according to claim 7.
前記加工工具による加工は、前記加工対象物のバリ取りであって、
前記加工対象物特定部は、前記加工対象物に含まれるバリの形状を取得する、
請求項7から9のいずれか1項に記載の制御装置。
The processing by the processing tool is deburring the workpiece,
The workpiece identification unit acquires the shape of a burr included in the workpiece,
The control device according to any one of claims 7 to 9.
棒状の形状を有する前記加工工具が前記ロボットに取り付けられ、
前記バリの形状は、前記加工工具の延伸方向における前記バリの厚みの最小値、最大値、および平均値の少なくともいずれかを含む、
請求項10に記載の制御装置。
The processing tool having a rod-like shape is attached to the robot,
The shape of the burr includes at least one of a minimum value, a maximum value, and an average value of the thickness of the burr in the stretching direction of the processing tool.
The control device according to claim 10.
前記バリの形状は、前記加工工具の移動方向における前記バリの長さの最小値、最大値、および平均値の少なくともいずれかを含む、
請求項10に記載の制御装置。
The shape of the burr includes at least one of a minimum value, a maximum value, and an average value of the length of the burr in the moving direction of the processing tool.
The control device according to claim 10.
前記加工時軌跡誤差は、前記理想軌跡が示す前記ロボットの位置である理想位置と前記実軌跡が示す前記ロボットの位置である実位置との距離が極大値となるときの前記実位置の前記理想位置からのずれを示す、
請求項1から12のいずれか1項に記載の制御装置。
The machining trajectory error is defined as the ideal position of the actual position when the distance between the ideal position of the robot indicated by the ideal trajectory and the actual position of the robot indicated by the actual trajectory reaches a maximum value. indicates a deviation from the position,
A control device according to any one of claims 1 to 12.
前記極大値は、前記理想位置と前記実位置との距離の最大値である、
請求項13に記載の制御装置。
The local maximum value is the maximum value of the distance between the ideal position and the actual position,
The control device according to claim 13.
加工対象物の加工を行うための加工工具が取り付け可能なロボットを制御する制御装置であって、
前記ロボットの動作開始点および動作終了点を少なくとも指定する駆動条件に応じて、前記ロボットを制御することで前記加工対象物の加工を行う場合の前記ロボットの実軌跡の前記駆動条件に基づく理想軌跡からのずれを示す加工時軌跡誤差を最小化する目標中間点を示す軌跡モデルを取得し、前記軌跡モデルから得られる前記目標中間点を通る目標軌跡を決定する目標軌跡決定部と、
前記目標軌跡に応じて前記ロボットを制御する制御部と、
を備える制御装置。
A control device that controls a robot to which a processing tool for processing a workpiece can be attached,
an ideal trajectory based on the driving conditions of the actual trajectory of the robot when processing the workpiece by controlling the robot according to driving conditions that specify at least an operation start point and an operation end point of the robot; a target trajectory determining unit that obtains a trajectory model indicating a target intermediate point that minimizes a machining trajectory error indicating a deviation from the trajectory model, and determines a target trajectory passing through the target intermediate point obtained from the trajectory model;
a control unit that controls the robot according to the target trajectory;
A control device comprising:
加工対象物の加工を行うための加工工具が取り付けられた先端リンクを備えるロボットの駆動条件に対応付けられた、前記先端リンクの非加工時実軌跡の理想軌跡からのずれを示す非加工時軌跡誤差を最小化するための基準中間点について、前記加工対象物の加工を行う場合の加工時実軌跡の前記理想軌跡からのずれを示す加工時軌跡誤差と加工時の反力を求め、前記基準中間点、前記加工時軌跡誤差、および前記加工時の反力との対応付けを学習して、前記ロボットの前記駆動条件を含む駆動指令が入力されると、前記反力に基づいて前記加工時軌跡誤差を最小化する目標中間点を出力する軌跡モデルを生成する、 A non-machining trajectory that indicates a deviation of the actual non-machining trajectory of the tip link from the ideal trajectory, which is associated with the driving conditions of a robot equipped with a tip link to which a processing tool for machining the workpiece is attached. Regarding the reference intermediate point for minimizing the error, the machining trajectory error indicating the deviation of the actual machining trajectory from the ideal trajectory when machining the workpiece and the reaction force during machining are determined, and the When the correspondence between the intermediate point, the trajectory error during machining, and the reaction force during machining is learned, and a drive command including the drive conditions for the robot is input, the robot performs the machining process based on the reaction force. Generate a trajectory model that outputs a target waypoint that minimizes trajectory error,
制御装置。 Control device.
加工対象物の加工を行うための加工工具が取り付け可能なロボットと、
前記ロボットの動作開始点および動作終了点を少なくとも指定する駆動条件に応じて前記ロボットを制御する請求項1から1のいずれか1項に記載の制御装置と、
を備えるロボットシステム。
A robot to which a processing tool can be attached for processing the workpiece,
The control device according to any one of claims 1 to 16 , which controls the robot according to drive conditions that specify at least an operation start point and an operation end point of the robot;
A robot system equipped with
加工対象物の加工を行うための加工工具が取り付け可能なロボットを制御するための軌跡モデルを学習する学習装置であって、
前記ロボットの動作開始点および動作終了点を少なくとも指定する駆動条件に、前記動作開始点から前記動作終了点に至るまでに前記ロボットが通る位置を示す基準中間点を対応付けて記憶している駆動条件記憶部と、
前記駆動条件記憶部から前記基準中間点を取得し、取得した前記基準中間点について、前記駆動条件に基づき、該基準中間点を通る基準軌跡を決定する基準軌跡決定部と、
前記ロボットの実際の軌跡を取得する実軌跡取得部と、
前記基準軌跡に応じて前記ロボットを制御することで前記加工対象物の加工を行う場合に前記実軌跡取得部で取得された加工時実軌跡の前記駆動条件に基づく理想軌跡からのずれを示す加工時軌跡誤差を取得された前記基準中間点について求め、前記基準中間点と前記加工時軌跡誤差との対応を学習して、前記加工時軌跡誤差を最小化する目標中間点を前記駆動条件に応じて示す軌跡モデルを生成する学習部と、
を備える学習装置。
A learning device for learning a trajectory model for controlling a robot to which a processing tool for processing a workpiece can be attached,
A drive in which a reference intermediate point indicating a position that the robot passes from the motion start point to the motion end point is stored in association with a drive condition that specifies at least a motion start point and a motion end point of the robot. a condition storage unit;
a reference trajectory determining unit that acquires the reference intermediate point from the driving condition storage unit and determines a reference trajectory passing through the reference intermediate point based on the driving condition for the acquired reference intermediate point;
an actual trajectory acquisition unit that acquires an actual trajectory of the robot;
When processing the workpiece by controlling the robot according to the reference trajectory, processing indicates a deviation of the actual trajectory during machining acquired by the actual trajectory acquisition unit from the ideal trajectory based on the driving conditions. The time trajectory error is determined for the acquired reference intermediate point, the correspondence between the reference intermediate point and the machining trajectory error is learned, and a target intermediate point that minimizes the machining trajectory error is determined according to the driving conditions. a learning unit that generates a trajectory model shown in
A learning device equipped with.
加工対象物の加工を行うための加工工具が取り付けられた先端リンクを備えるロボットの駆動条件に対応付けられた、前記先端リンクの非加工時実軌跡の理想軌跡からのずれを示す非加工時軌跡誤差を最小化するための基準中間点について、前記加工対象物の加工を行う場合の加工時実軌跡の前記理想軌跡からのずれを示す加工時軌跡誤差と加工時の反力を求め、前記基準中間点、前記加工時軌跡誤差、および前記加工時の反力との対応付けを学習することで得られ、 A non-machining trajectory that indicates the deviation of the actual non-machining trajectory of the tip link from the ideal trajectory, which is associated with the driving conditions of a robot equipped with a tip link to which a processing tool for machining the workpiece is attached. Regarding the reference intermediate point for minimizing the error, the machining trajectory error indicating the deviation of the actual machining trajectory from the ideal trajectory when machining the workpiece and the reaction force during machining are determined, and the machining reaction force is determined. Obtained by learning the correspondence between the intermediate point, the trajectory error during machining, and the reaction force during machining,
前記ロボットの前記駆動条件を含む駆動指令が入力されると、前記反力に基づいて前記加工時軌跡誤差を最小化する目標中間点を出力するよう、 When a drive command including the drive conditions of the robot is input, a target intermediate point that minimizes the machining trajectory error is output based on the reaction force;
コンピュータを機能させるための軌跡モデル。 A trajectory model for making computers work.
加工対象物の加工を行うための加工工具が取り付け可能なロボットを制御する制御方法であって、
前記ロボットの動作開始点および動作終了点を少なくとも指定する駆動条件に基づき、前記駆動条件に対応付けられていて、前記動作開始点から前記動作終了点に至るまでに前記ロボットが通る位置を示す基準中間点を通る基準軌跡を決定し、
前記基準軌跡に応じて前記ロボットを制御することで前記加工対象物の加工を行う場合の前記ロボットの加工時実軌跡の前記駆動条件に基づく理想軌跡からのずれを示す加工時軌跡誤差を前記基準中間点のそれぞれについて求め、前記基準中間点と前記加工時軌跡誤差との対応を学習して、前記加工時軌跡誤差を最小化する目標中間点を前記駆動条件に応じて示す軌跡モデルを生成し、
前記軌跡モデルから得られる前記目標中間点を通る目標軌跡を決定し、
前記基準軌跡または前記目標軌跡に応じて前記ロボットを制御する、
制御方法。
A control method for controlling a robot to which a processing tool for processing a workpiece can be attached, the method comprising:
Based on drive conditions that specify at least a motion start point and a motion end point of the robot, a reference that is associated with the drive condition and indicates a position that the robot passes from the motion start point to the motion end point. Determine the reference trajectory passing through the intermediate point,
When machining the workpiece by controlling the robot according to the reference trajectory, a machining trajectory error indicating a deviation of the actual machining trajectory of the robot from the ideal trajectory based on the driving conditions is set as the reference. each of the intermediate points, learns the correspondence between the reference intermediate point and the machining trajectory error, and generates a trajectory model that indicates a target intermediate point that minimizes the machining trajectory error according to the driving condition. ,
determining a target trajectory passing through the target intermediate point obtained from the trajectory model;
controlling the robot according to the reference trajectory or the target trajectory;
Control method.
加工対象物の加工を行うための加工工具が取り付け可能なロボットを制御するコンピュータを、
前記ロボットの動作開始点および動作終了点を少なくとも指定する駆動条件に、前記動作開始点から前記動作終了点に至るまでに前記ロボットが通る位置を示す基準中間点を対応付けて記憶している駆動条件記憶部、
前記駆動条件記憶部から前記基準中間点を取得し、取得した前記基準中間点について、前記駆動条件に基づき、該基準中間点を通る基準軌跡を決定する基準軌跡決定部、
前記ロボットの実際の軌跡を取得する実軌跡取得部、
前記基準軌跡に応じて前記ロボットを制御することで前記加工対象物の加工を行う場合に前記実軌跡取得部で取得された加工時実軌跡の前記駆動条件に基づく理想軌跡からのずれを示す加工時軌跡誤差を取得された前記基準中間点について求め、前記基準中間点と前記加工時軌跡誤差との対応を学習して、前記加工時軌跡誤差を最小化する目標中間点を前記駆動条件に応じて示す軌跡モデルを生成する学習部、
前記軌跡モデルから得られる前記目標中間点を通る目標軌跡を決定する目標軌跡決定部、および
前記基準軌跡または前記目標軌跡に応じて前記ロボットを制御する制御部、
として機能させるためのプログラム。
A computer that controls a robot to which a processing tool can be attached to process the workpiece.
A drive in which a reference intermediate point indicating a position that the robot passes from the motion start point to the motion end point is stored in association with a drive condition that specifies at least a motion start point and a motion end point of the robot. condition storage unit,
a reference trajectory determining unit that acquires the reference intermediate point from the driving condition storage unit and determines a reference trajectory passing through the reference intermediate point based on the driving condition for the acquired reference intermediate point;
an actual trajectory acquisition unit that acquires the actual trajectory of the robot;
When processing the workpiece by controlling the robot according to the reference trajectory, processing indicates a deviation of the actual trajectory during machining acquired by the actual trajectory acquisition unit from the ideal trajectory based on the driving conditions. The time trajectory error is determined for the acquired reference intermediate point, the correspondence between the reference intermediate point and the machining trajectory error is learned, and a target intermediate point that minimizes the machining trajectory error is determined according to the driving conditions. a learning unit that generates a trajectory model shown in
a target trajectory determination unit that determines a target trajectory passing through the target intermediate point obtained from the trajectory model; and a control unit that controls the robot according to the reference trajectory or the target trajectory.
A program to function as
JP2023500791A 2021-02-18 2022-02-10 Control device, robot system, learning device, trajectory model, control method, and program Active JP7433509B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2021023848 2021-02-18
JP2021023848 2021-02-18
PCT/JP2022/005293 WO2022176762A1 (en) 2021-02-18 2022-02-10 Control device, robot system, learning device, control method, and program

Publications (3)

Publication Number Publication Date
JPWO2022176762A1 JPWO2022176762A1 (en) 2022-08-25
JPWO2022176762A5 JPWO2022176762A5 (en) 2023-06-26
JP7433509B2 true JP7433509B2 (en) 2024-02-19

Family

ID=82931639

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2023500791A Active JP7433509B2 (en) 2021-02-18 2022-02-10 Control device, robot system, learning device, trajectory model, control method, and program

Country Status (3)

Country Link
JP (1) JP7433509B2 (en)
CN (1) CN116887954A (en)
WO (1) WO2022176762A1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5337785B2 (en) 2010-12-03 2013-11-06 株式会社日立製作所 Cellular system and handoff quality improving method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0746288B2 (en) * 1987-10-19 1995-05-17 株式会社日立製作所 Control method and device for robot with hand vision
JPH05337785A (en) * 1992-06-05 1993-12-21 Hitachi Constr Mach Co Ltd Grinding path correcting device of grinder robot

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5337785B2 (en) 2010-12-03 2013-11-06 株式会社日立製作所 Cellular system and handoff quality improving method

Also Published As

Publication number Publication date
WO2022176762A1 (en) 2022-08-25
JPWO2022176762A1 (en) 2022-08-25
CN116887954A (en) 2023-10-13

Similar Documents

Publication Publication Date Title
JP5754454B2 (en) Robot picking system and workpiece manufacturing method
JP6429473B2 (en) Robot system, robot system calibration method, program, and computer-readable recording medium
US10618164B2 (en) Robot system having learning control function and learning control method
JP6430986B2 (en) Positioning device using robot
JP4271232B2 (en) Apparatus, method, program, and recording medium for executing offline programming of robot
JP4202365B2 (en) Force control device
JP6661028B2 (en) Work position correction method
JP2016198828A (en) Robot control method, robot apparatus, program, and recording medium
US11141855B2 (en) Robot system, method of controlling robot arm, recording medium, and method of manufacturing an article
JP2014240106A (en) Robot, robot control device, and driving method of robot
JP2020171989A (en) Robot teaching system
JP6217322B2 (en) Robot control apparatus, robot, and robot control method
CN114952838B (en) Mechanical arm joint track planning method based on terminal measurement feedback
JP7307263B2 (en) Deburring device and control system
CN110154043B (en) Robot system for learning control based on machining result and control method thereof
JP5765557B2 (en) Trajectory tracking device and method for machining robot
JP7433509B2 (en) Control device, robot system, learning device, trajectory model, control method, and program
JP7462827B2 (en) CONTROL DEVICE, ROBOT SYSTEM, LEARNING DEVICE, TRAJECTORY MODEL, CONTROL METHOD, AND PROGRAM
US20230286143A1 (en) Robot control in working space
JP5324397B2 (en) Information processing method, apparatus and program
Mewes et al. The correction of the nozzle-bed-distance in robotic fused deposition modeling
JP7384933B2 (en) control system
CN118700164B (en) Control method and system for clamping mechanical arm
JP7311971B2 (en) ROBOT CONTROL DEVICE AND ROBOT CONTROL METHOD
KR20230046333A (en) A method and apparatus for controlling a robot using a model for stiffness and a model for cutting force

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230407

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230407

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240206

R150 Certificate of patent or registration of utility model

Ref document number: 7433509

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150