JP6390832B2 - Processing trajectory generating apparatus and method - Google Patents

Processing trajectory generating apparatus and method Download PDF

Info

Publication number
JP6390832B2
JP6390832B2 JP2014125063A JP2014125063A JP6390832B2 JP 6390832 B2 JP6390832 B2 JP 6390832B2 JP 2014125063 A JP2014125063 A JP 2014125063A JP 2014125063 A JP2014125063 A JP 2014125063A JP 6390832 B2 JP6390832 B2 JP 6390832B2
Authority
JP
Japan
Prior art keywords
tool
machining
axis
trajectory
direction vector
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
JP2014125063A
Other languages
Japanese (ja)
Other versions
JP2016002628A (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.)
IHI Corp
Original Assignee
IHI 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 IHI Corp filed Critical IHI Corp
Priority to JP2014125063A priority Critical patent/JP6390832B2/en
Publication of JP2016002628A publication Critical patent/JP2016002628A/en
Application granted granted Critical
Publication of JP6390832B2 publication Critical patent/JP6390832B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ワークを仕上げ加工する加工ロボットの加工軌道生成装置と方法に関する。   The present invention relates to a machining trajectory generation apparatus and method for a machining robot that finishes a workpiece.

ロボットアームの手先に工具を取り付け、加工経路に沿って動作させてワークを加工する加工ロボットにおいて、位置決め精度が低いロボットアームを使って、高精度な加工を実現するための技術として、例えば特許文献1〜7が既に提案されている。   As a technique for realizing high-precision machining using a robot arm with low positioning accuracy in a machining robot that processes a workpiece by attaching a tool to the hand of the robot arm and moving it along the machining path, for example, Patent Literature 1-7 have already been proposed.

特許文献1、2は、位置と力のハイブリッド制御を開示している。
特許文献3は、工具押付け力をフィードバック制御する力制御型マニピュレータを開示している。
特許文献1〜4は、ワークのCADモデルから軌道を自動生成する手段を開示している。
特許文献5〜7は、冗長軸を有するロボットの動作範囲を制限する手段を開示している。
Patent Documents 1 and 2 disclose hybrid control of position and force.
Patent Document 3 discloses a force control type manipulator that performs feedback control of a tool pressing force.
Patent Documents 1 to 4 disclose means for automatically generating a trajectory from a CAD model of a workpiece.
Patent Documents 5 to 7 disclose means for limiting the operation range of a robot having redundant axes.

特開2012−176477号公報JP 2012-176477 A 特開2012−176478号公報JP 2012-176478 A 特開平6−214633号公報JP-A-6-214633 特開2002−23814号公報JP 2002-23814 A 特開平9−314487号公報JP-A-9-314487 特開平5−345291号公報JP-A-5-345291 特開2009−125893号公報JP 2009-125893 A

仕上げ加工とは、切削加工や研削加工等の後に、最終的に求められる形状や粗さに調整する加工であり、バリ取り、面取り、磨き、など多様な加工が含まれる。形状が複雑な部品や精密部品の仕上げ加工は、従来、熟練した作業者の手作業によって実施されており自動化が遅れている。このように人の技能に依存しているため、作業者の熟練度や体調によって品質や作業時間がばらつく可能性があり、自動化が長い間望まれていた。   The finishing process is a process of adjusting to a shape and roughness finally required after a cutting process or a grinding process, and includes various processes such as deburring, chamfering, and polishing. Conventionally, finishing of complicated parts and precision parts has been performed manually by skilled workers, and automation has been delayed. Thus, depending on human skill, there is a possibility that quality and work time may vary depending on the skill level and physical condition of the worker, and automation has been desired for a long time.

この要望を満たすため、ロボットアームを使用した仕上げ加工の自動化の研究開発が続けられている。ロボットアームは、可動範囲が広く、繰り返し位置決め精度が高い利点があるが、その反面、絶対位置決め精度が低い欠点がある。この欠点を補償するため、受動機構によるアプローチや制御技術の高度化によるアプローチが提案されている。特に、制御技術の高度化によるアプローチは、手先姿勢の変化に対しても工具重力の影響を高精度に除去できる点で、複雑形状の精密仕上げ加工に適している。   In order to satisfy this demand, research and development on automation of finishing using a robot arm has been continued. The robot arm has an advantage that the movable range is wide and the repeated positioning accuracy is high. However, the robot arm has a disadvantage that the absolute positioning accuracy is low. In order to compensate for this drawback, approaches based on passive mechanisms and advanced control techniques have been proposed. In particular, the approach based on the advancement of control technology is suitable for precision finishing of complex shapes in that the influence of tool gravity can be removed with high accuracy even when the hand posture changes.

制御技術の高度化における代表的な制御手段として、位置と力のハイブリッド制御がある。この制御手段は、ロボットの手先を対象物に一定の力で押し付けつつ、形状に倣う動作を可能とする。この技術をベースに、高速化や高精度化が提案されており、グラインダ作業などの比較的粗い仕上げ加工への適用は進んでいるが、精密仕上げ加工への適用事例は少ない。   As a typical control means in the advancement of control technology, there is a hybrid control of position and force. This control means enables an operation following the shape while pressing the hand of the robot against the object with a constant force. Based on this technology, high speed and high precision have been proposed, and its application to relatively rough finishing such as grinder work is progressing, but there are few examples of application to precision finishing.

精密仕上げ加工への適用が進まない1つの原因として、軌道生成の問題がある。ロボットアームの軌道は、教示作業で設定するのが一般的であるが、精密仕上げ加工への適用では教示作業が煩雑になることが多いため、オフライン軌道生成が提案されてきた。しかし、オフライン軌道生成は、以下の問題点があり、精密仕上げ加工への汎用的な適用は困難であった。
(1)位置と力のハイブリッド制御の目標軌道に必要な押付け方向が生成されない。
(2)ロボットアームの冗長性の問題や特異姿勢の問題に明確に対処されていない。
(3)工具とワークの形状に制約がある。
One cause of the failure of application to precision finishing is the problem of trajectory generation. The trajectory of the robot arm is generally set by teaching work, but since the teaching work is often complicated when applied to precision finishing, offline trajectory generation has been proposed. However, off-line trajectory generation has the following problems, and it is difficult to apply it to precision finishing.
(1) The pressing direction required for the target trajectory of the hybrid position / force control is not generated.
(2) The robot arm redundancy problem and the unique posture problem are not clearly addressed.
(3) There are restrictions on the shape of the tool and workpiece.

すなわち、精密仕上げ加工する加工ロボットの加工軌道を設定する手段として、従来、人が予めロボットの加工軌道を教示する教示作業や、ロボット用CAMの利用が知られていた。
しかし、曲面の磨き等、ワークの形状が複雑な場合、円錐型、円柱型などの工具形状に合わせて、(4)工具の工具面(外周面)をワーク表面に平行に設定する教示作業は煩雑であり、手間と時間を要し、ロボットの稼働率が低下する問題点があった。
That is, as a means for setting the machining trajectory of a machining robot for precision finishing, teaching work in which a person previously teaches the robot machining trajectory and the use of a robot CAM have been known.
However, when the shape of the workpiece is complicated, such as polishing a curved surface, (4) teaching work to set the tool surface (outer circumferential surface) of the tool parallel to the workpiece surface according to the shape of the tool, such as a cone or cylinder There is a problem that it is complicated, requires time and effort, and the operating rate of the robot is lowered.

本発明は、上述した問題点を解決するために創案されたものである。すなわち、本発明の第1の目的は、ワークの形状が複雑な場合でも、教示作業なしに、工具形状に合わせて、ハイブリッド制御に必要な工具の押付け方向を含む工具軌道データを生成することができる加工軌道生成装置と方法を提供することにある。また、本発明の第2の目的は、7軸ロボットアームを用いてロボットの特異姿勢回避や外部との干渉を回避することができる加工軌道生成装置と方法を提供することにある。   The present invention has been developed to solve the above-described problems. That is, the first object of the present invention is to generate tool trajectory data including the pressing direction of the tool necessary for hybrid control in accordance with the tool shape without teaching work even when the shape of the workpiece is complicated. An object of the present invention is to provide an apparatus and method for generating a machining trajectory. A second object of the present invention is to provide a machining trajectory generation apparatus and method that can avoid a specific posture of a robot and avoid interference with the outside using a 7-axis robot arm.

本発明によれば、ワーク表面を研削又は研磨により仕上げ加工する加工ロボットの加工軌道を生成する加工軌道生成装置であって、
ワーク表面の形状データと、
工具軸を回転中心とする回転体の工具面を有し、ワーク表面に接触して加工する加工工具の工具データと、
前記加工工具を3次元空間内で移動する7軸ロボットアームのロボットデータと、を記憶する記憶装置と、
前記加工工具の回転軸上に原点を、回転軸と一致するようにZ軸を設定したTCPの、空間に固定された座標系における位置と加工工具の押付け方向ベクトルを含む工具軌道データを生成する軌道データ生成装置と、を備え、
該軌道データ生成装置により、
(A)前記形状データからワーク表面の加工点位置と、各加工点における加工工具の押付け方向ベクトルとを生成し、
(B)各加工点において、加工工具の工具面がワーク表面と平行になるように、TCP位置と工具軸方向ベクトルを算出し、
(C)各加工点において、TCP位置と工具軸方向ベクトルを維持したままとりうる、前記7軸ロボットアームの複数の姿勢から、特異姿勢や外部との干渉のない姿勢を選択し、
前記加工工具は、工具軸を回転中心とする球型の工具面を有する球型工具であり、
前記(B)において、加工工具の球型の工具面の中心にTCPの原点を、回転軸と一致するようにTCPのZ軸を設定し、
ワーク表面の加工点を押付け方向ベクトルの逆向きに球型の半径距離をシフトしてTCP位置を算出する、ことを特徴とする加工軌道生成装置が提案される。
According to the present invention, there is provided a processing trajectory generating device that generates a processing trajectory of a processing robot that finishes a workpiece surface by grinding or polishing,
Shape data on the workpiece surface,
Tool data of a machining tool that has a tool surface of a rotating body with the tool axis as the rotation center and is in contact with the workpiece surface,
A storage device for storing robot data of a seven-axis robot arm that moves the processing tool in a three-dimensional space;
Tool trajectory data including a position in a coordinate system fixed in space and a pressing direction vector of the machining tool, with the origin set on the rotation axis of the machining tool and the Z axis set to coincide with the rotation axis. An orbit data generation device,
By the trajectory data generation device,
(A) A machining point position on the workpiece surface and a pressing direction vector of the machining tool at each machining point are generated from the shape data,
(B) At each machining point, calculate the TCP position and the tool axis direction vector so that the tool surface of the machining tool is parallel to the workpiece surface,
(C) At each machining point, select a posture that does not have a specific posture or interference with the outside from a plurality of postures of the seven-axis robot arm that can be taken while maintaining the TCP position and the tool axis direction vector .
The processing tool is a spherical tool having a spherical tool surface with a tool axis as a rotation center,
In (B), the origin of TCP is set at the center of the spherical tool surface of the machining tool, and the Z axis of TCP is set so as to coincide with the rotation axis.
There is proposed a machining trajectory generation apparatus characterized in that a TCP position is calculated by shifting a spherical radial distance of a machining point on a workpiece surface in a direction opposite to a pressing direction vector .

また、本発明によれば、ワーク表面を研削又は研磨により仕上げ加工する加工ロボットの加工軌道を生成する加工軌道生成装置であって、Moreover, according to the present invention, there is provided a processing trajectory generation device that generates a processing trajectory of a processing robot that finishes a workpiece surface by grinding or polishing,
ワーク表面の形状データと、Shape data on the workpiece surface,
工具軸を回転中心とする回転体の工具面を有し、ワーク表面に接触して加工する加工工具の工具データと、Tool data of a machining tool that has a tool surface of a rotating body with the tool axis as the rotation center and is in contact with the workpiece surface,
前記加工工具を3次元空間内で移動する7軸ロボットアームのロボットデータと、を記憶する記憶装置と、A storage device for storing robot data of a seven-axis robot arm that moves the processing tool in a three-dimensional space;
前記加工工具の回転軸上に原点を、回転軸と一致するようにZ軸を設定したTCPの、空間に固定された座標系における位置と加工工具の押付け方向ベクトルを含む工具軌道データを生成する軌道データ生成装置と、を備え、Tool trajectory data including a position in a coordinate system fixed in space and a pressing direction vector of the machining tool, with the origin set on the rotation axis of the machining tool and the Z axis set to coincide with the rotation axis. An orbit data generation device,
該軌道データ生成装置により、By the trajectory data generation device,
(A)前記形状データからワーク表面の加工点位置と、各加工点における加工工具の押付け方向ベクトルとを生成し、(A) A machining point position on the workpiece surface and a pressing direction vector of the machining tool at each machining point are generated from the shape data,
(B)各加工点において、加工工具の工具面がワーク表面と平行になるように、TCP位置と工具軸方向ベクトルを算出し、(B) At each machining point, calculate the TCP position and the tool axis direction vector so that the tool surface of the machining tool is parallel to the workpiece surface,
(C)各加工点において、TCP位置と工具軸方向ベクトルを維持したままとりうる、前記7軸ロボットアームの複数の姿勢から、特異姿勢や外部との干渉のない姿勢を選択し、(C) At each machining point, select a posture that does not have a specific posture or interference with the outside from a plurality of postures of the seven-axis robot arm that can be taken while maintaining the TCP position and the tool axis direction vector.
前記加工工具は、工具軸を回転中心とする円柱型の工具面を有する円柱型工具であり、The processing tool is a cylindrical tool having a cylindrical tool surface with a tool axis as a rotation center,
前記(B)において、加工工具の工具端面の中心にTCPの原点を、回転軸と一致するようにTCPのZ軸を設定し、In (B), the origin of TCP is set at the center of the tool end face of the machining tool, and the Z axis of TCP is set so as to coincide with the rotation axis.
工具軸方向ベクトルを、押付け方向ベクトルを送り方向回りに+90度又は−90度回転させた方向に設定し、Set the tool axis direction vector to the direction in which the pressing direction vector is rotated +90 degrees or -90 degrees around the feed direction,
ワーク表面の加工点を押付け方向ベクトルの逆向きに円柱型の半径距離をシフトしてTCP位置を算出する、ことを特徴とする加工軌道生成装置が提案される。There is proposed a machining trajectory generation apparatus characterized in that a TCP position is calculated by shifting a cylindrical radial distance of a machining point on a workpiece surface in a direction opposite to a pressing direction vector.

また本発明によれば、ワーク表面を研削又は研磨により仕上げ加工する加工ロボットの加工軌道を生成する加工軌道生成装置であって、Further, according to the present invention, there is provided a processing trajectory generating device for generating a processing trajectory of a processing robot for finishing a workpiece surface by grinding or polishing,
ワーク表面の形状データと、Shape data on the workpiece surface,
工具軸を回転中心とする回転体の工具面を有し、ワーク表面に接触して加工する加工工具の工具データと、Tool data of a machining tool that has a tool surface of a rotating body with the tool axis as the rotation center and is in contact with the workpiece surface,
前記加工工具を3次元空間内で移動する7軸ロボットアームのロボットデータと、を記憶する記憶装置と、A storage device for storing robot data of a seven-axis robot arm that moves the processing tool in a three-dimensional space;
前記加工工具の回転軸上に原点を、回転軸と一致するようにZ軸を設定したTCPの、空間に固定された座標系における位置と加工工具の押付け方向ベクトルを含む工具軌道データを生成する軌道データ生成装置と、を備え、Tool trajectory data including a position in a coordinate system fixed in space and a pressing direction vector of the machining tool, with the origin set on the rotation axis of the machining tool and the Z axis set to coincide with the rotation axis. An orbit data generation device,
該軌道データ生成装置により、By the trajectory data generation device,
(A)前記形状データからワーク表面の加工点位置と、各加工点における加工工具の押付け方向ベクトルとを生成し、(A) A machining point position on the workpiece surface and a pressing direction vector of the machining tool at each machining point are generated from the shape data,
(B)各加工点において、加工工具の工具面がワーク表面と平行になるように、TCP位置と工具軸方向ベクトルを算出し、(B) At each machining point, calculate the TCP position and the tool axis direction vector so that the tool surface of the machining tool is parallel to the workpiece surface,
(C)各加工点において、TCP位置と工具軸方向ベクトルを維持したままとりうる、前記7軸ロボットアームの複数の姿勢から、特異姿勢や外部との干渉のない姿勢を選択し、(C) At each machining point, select a posture that does not have a specific posture or interference with the outside from a plurality of postures of the seven-axis robot arm that can be taken while maintaining the TCP position and the tool axis direction vector.
前記加工工具は、工具軸を回転中心とし先端角がαの円錐型の工具面を有する円錐型工具であり、The processing tool is a conical tool having a conical tool surface having a tool axis as a rotation center and a tip angle α.
前記(B)において、加工工具の前記円錐型の頂点にTCPの原点を、回転軸と一致するようにTCPのZ軸を設定し、In (B), the origin of TCP is set at the apex of the conical shape of the processing tool, and the Z axis of TCP is set so as to coincide with the rotation axis.
工具軸方向ベクトルを、押付け方向ベクトルを送り方向回りに(90−α/2)度又は−(90−α/2)度回転させた方向に設定する、ことを特徴とする加工軌道生成装置が提案される。A machining trajectory generating apparatus characterized in that a tool axis direction vector is set to a direction in which a pressing direction vector is rotated by (90−α / 2) degrees or − (90−α / 2) degrees around a feed direction. Proposed.

また本発明によれば、ワーク表面を研削又は研磨により仕上げ加工する加工ロボットの加工軌道を生成する加工軌道生成方法であって、Further, according to the present invention, there is provided a processing trajectory generation method for generating a processing trajectory of a processing robot that finishes a workpiece surface by grinding or polishing,
記憶装置に、ワーク表面の形状データと、In the storage device, the shape data of the workpiece surface,
工具軸を回転中心とする回転体の工具面を有し、ワーク表面に接触して加工する加工工具の工具データと、Tool data of a machining tool that has a tool surface of a rotating body with the tool axis as the rotation center and is in contact with the workpiece surface,
前記加工工具を3次元空間内で移動する7軸ロボットアームのロボットデータと、を記憶する記憶ステップと、A storage step of storing robot data of a seven-axis robot arm that moves the processing tool in a three-dimensional space;
軌道データ生成装置により、前記加工工具の回転軸上に原点を、回転軸と一致するようにZ軸を設定したTCPの、空間に固定された座標系における位置と加工工具の押付け方向ベクトルを含む工具軌道データを生成する軌道データ生成ステップと、を有し、The trajectory data generation device includes the position in the coordinate system fixed in space and the pressing direction vector of the machining tool, with the origin set on the rotation axis of the machining tool and the Z axis set to coincide with the rotation axis. A trajectory data generation step for generating tool trajectory data,
軌道データ生成ステップは、The orbit data generation step
(A)前記形状データからワーク表面の加工点位置と、各加工点における加工工具の押付け方向ベクトルとを生成する第1ステップと、(A) a first step of generating a machining point position on the workpiece surface and a pressing direction vector of the machining tool at each machining point from the shape data;
(B)各加工点において、加工工具の工具面がワーク表面と平行になるように、TCP位置と工具軸方向ベクトルを算出する第2ステップと、(B) a second step of calculating a TCP position and a tool axis direction vector so that the tool surface of the machining tool is parallel to the workpiece surface at each machining point;
(C)各加工点において、TCP位置と工具軸方向ベクトルを維持したままとりうる、前記7軸ロボットアームの複数の姿勢から、特異姿勢や外部との干渉のない姿勢を選択する第3ステップと、を有し、(C) a third step of selecting, from each of the plurality of postures of the seven-axis robot arm, which can be taken while maintaining the TCP position and the tool axis direction vector at each machining point, and a posture without a specific posture or external interference; Have
前記加工工具は、工具軸を回転中心とする球型の工具面を有する球型工具であり、The processing tool is a spherical tool having a spherical tool surface with a tool axis as a rotation center,
前記(B)において、加工工具の球型の工具面の中心にTCPの原点を、回転軸と一致するようにTCPのZ軸を設定し、In (B), the origin of TCP is set at the center of the spherical tool surface of the machining tool, and the Z axis of TCP is set so as to coincide with the rotation axis.
ワーク表面の加工点を押付け方向ベクトルの逆向きに球型の半径距離をシフトしてTCP位置を算出する、ことを特徴とする加工軌道生成方法が提供される。There is provided a machining trajectory generation method characterized in that a TCP position is calculated by shifting a spherical radial distance of a machining point on a workpiece surface in a direction opposite to a pressing direction vector.

また本発明によれば、ワーク表面を研削又は研磨により仕上げ加工する加工ロボットの加工軌道を生成する加工軌道生成方法であって、Further, according to the present invention, there is provided a processing trajectory generation method for generating a processing trajectory of a processing robot that finishes a workpiece surface by grinding or polishing,
記憶装置に、ワーク表面の形状データと、In the storage device, the shape data of the workpiece surface,
工具軸を回転中心とする回転体の工具面を有し、ワーク表面に接触して加工する加工工具の工具データと、Tool data of a machining tool that has a tool surface of a rotating body with the tool axis as the rotation center and is in contact with the workpiece surface,
前記加工工具を3次元空間内で移動する7軸ロボットアームのロボットデータと、を記憶する記憶ステップと、A storage step of storing robot data of a seven-axis robot arm that moves the processing tool in a three-dimensional space;
軌道データ生成装置により、前記加工工具の回転軸上に原点を、回転軸と一致するようにZ軸を設定したTCPの、空間に固定された座標系における位置と加工工具の押付け方向ベクトルを含む工具軌道データを生成する軌道データ生成ステップと、を有し、The trajectory data generation device includes the position in the coordinate system fixed in space and the pressing direction vector of the machining tool, with the origin set on the rotation axis of the machining tool and the Z axis set to coincide with the rotation axis. A trajectory data generation step for generating tool trajectory data,
軌道データ生成ステップは、The orbit data generation step
(A)前記形状データからワーク表面の加工点位置と、各加工点における加工工具の押付け方向ベクトルとを生成する第1ステップと、(A) a first step of generating a machining point position on the workpiece surface and a pressing direction vector of the machining tool at each machining point from the shape data;
(B)各加工点において、加工工具の工具面がワーク表面と平行になるように、TCP位置と工具軸方向ベクトルを算出する第2ステップと、(B) a second step of calculating a TCP position and a tool axis direction vector so that the tool surface of the machining tool is parallel to the workpiece surface at each machining point;
(C)各加工点において、TCP位置と工具軸方向ベクトルを維持したままとりうる、前記7軸ロボットアームの複数の姿勢から、特異姿勢や外部との干渉のない姿勢を選択する第3ステップと、を有し、(C) a third step of selecting, from each of the plurality of postures of the seven-axis robot arm, which can be taken while maintaining the TCP position and the tool axis direction vector at each machining point, and a posture without a specific posture or external interference; Have
前記加工工具は、工具軸を回転中心とする円柱型の工具面を有する円柱型工具であり、The processing tool is a cylindrical tool having a cylindrical tool surface with a tool axis as a rotation center,
前記(B)において、加工工具の工具端面の中心にTCPの原点を、回転軸と一致するようにTCPのZ軸を設定し、In (B), the origin of TCP is set at the center of the tool end face of the machining tool, and the Z axis of TCP is set so as to coincide with the rotation axis.
工具軸方向ベクトルを、押付け方向ベクトルを送り方向回りに+90度又は−90度回転させた方向に設定し、Set the tool axis direction vector to the direction in which the pressing direction vector is rotated +90 degrees or -90 degrees around the feed direction,
ワーク表面の加工点を押付け方向ベクトルの逆向きに円柱型の半径距離をシフトしてTCP位置を算出する、ことを特徴とする加工軌道生成方法が提供される。There is provided a machining trajectory generation method characterized in that a TCP position is calculated by shifting a cylindrical radial distance of a machining point on a workpiece surface in a direction opposite to a pressing direction vector.

また本発明によれば、ワーク表面を研削又は研磨により仕上げ加工する加工ロボットの加工軌道を生成する加工軌道生成方法であって、Further, according to the present invention, there is provided a processing trajectory generation method for generating a processing trajectory of a processing robot that finishes a workpiece surface by grinding or polishing,
記憶装置に、ワーク表面の形状データと、In the storage device, the shape data of the workpiece surface,
工具軸を回転中心とする回転体の工具面を有し、ワーク表面に接触して加工する加工工具の工具データと、Tool data of a machining tool that has a tool surface of a rotating body with the tool axis as the rotation center and is in contact with the workpiece surface,
前記加工工具を3次元空間内で移動する7軸ロボットアームのロボットデータと、を記憶する記憶ステップと、A storage step of storing robot data of a seven-axis robot arm that moves the processing tool in a three-dimensional space;
軌道データ生成装置により、前記加工工具の回転軸上に原点を、回転軸と一致するようにZ軸を設定したTCPの、空間に固定された座標系における位置と加工工具の押付け方向ベクトルを含む工具軌道データを生成する軌道データ生成ステップと、を有し、The trajectory data generation device includes the position in the coordinate system fixed in space and the pressing direction vector of the machining tool, with the origin set on the rotation axis of the machining tool and the Z axis set to coincide with the rotation axis. A trajectory data generation step for generating tool trajectory data,
軌道データ生成ステップは、The orbit data generation step
(A)前記形状データからワーク表面の加工点位置と、各加工点における加工工具の押付け方向ベクトルとを生成する第1ステップと、(A) a first step of generating a machining point position on the workpiece surface and a pressing direction vector of the machining tool at each machining point from the shape data;
(B)各加工点において、加工工具の工具面がワーク表面と平行になるように、TCP位置と工具軸方向ベクトルを算出する第2ステップと、(B) a second step of calculating a TCP position and a tool axis direction vector so that the tool surface of the machining tool is parallel to the workpiece surface at each machining point;
(C)各加工点において、TCP位置と工具軸方向ベクトルを維持したままとりうる、前記7軸ロボットアームの複数の姿勢から、特異姿勢や外部との干渉のない姿勢を選択する第3ステップと、を有し、(C) a third step of selecting, from each of the plurality of postures of the seven-axis robot arm, which can be taken while maintaining the TCP position and the tool axis direction vector at each machining point, and a posture without a specific posture or external interference; Have
前記加工工具は、工具軸を回転中心とし先端角がαの円錐型の工具面を有する円錐型工具であり、The processing tool is a conical tool having a conical tool surface having a tool axis as a rotation center and a tip angle α.
前記(B)において、加工工具の前記円錐型の頂点にTCPの原点を、回転軸と一致するようにTCPのZ軸を設定し、In (B), the origin of TCP is set at the apex of the conical shape of the processing tool, and the Z axis of TCP is set so as to coincide with the rotation axis.
工具軸方向ベクトルを、押付け方向ベクトルを送り方向回りに(90−α/2)度又は−(90−α/2)度回転させた方向に設定する、ことを特徴とする加工軌道生成方法が提供される。A machining trajectory generation method characterized in that the tool axis direction vector is set in a direction rotated by (90-α / 2) degrees or-(90-α / 2) degrees around the feed direction of the pressing direction vector. Provided.

前記(B)において、工具形状データを利用して工具軸方向ベクトルを生成する。In (B), a tool axis direction vector is generated using the tool shape data.

前記(C)において、7軸ロボットアームの位置と姿勢を、1つの関節角、TCPの位置、TCP座標系のロール角、ピッチ角、及びヨー角で表現し、
1つの前記関節角とロール角、ピッチ角、又はヨー角のいずれかを仮の値に固定して、ロール角、ピッチ角、及びヨー角を算出する。
In (C), the position and posture of the 7-axis robot arm are expressed by one joint angle, TCP position, roll angle, pitch angle, and yaw angle of the TCP coordinate system,
One roll angle, pitch angle, or yaw angle is fixed to a temporary value, and the roll angle, pitch angle, and yaw angle are calculated.

前記(C)において、TCP位置と工具軸方向ベクトルの姿勢から、7軸ロボットアームの各関節角を計算し、
各関節角から、ロボットの特異姿勢又は外部との干渉の有無をチェックする。
In (C), each joint angle of the 7-axis robot arm is calculated from the posture of the TCP position and the tool axis direction vector,
From each joint angle, the robot's specific posture or the presence of interference with the outside is checked.

前記(C)において、TCP位置と工具軸方向ベクトルの姿勢から、TCP位置と工具軸方向ベクトルの姿勢を維持したままとりうる、前記7軸ロボットアームの姿勢から構成されるコンフィグレーション空間の各点において、ロボットの特異姿勢又は外部との干渉の有無を数値的に重みづけしたマップを作成し、そのマップ上でロボットアーム軌道を選択する。   In (C), each point of the configuration space composed of the posture of the seven-axis robot arm that can be taken from the posture of the TCP position and the tool axis direction vector while maintaining the posture of the TCP position and the tool axis direction vector. , A map is created by numerically weighting the specific posture of the robot or the presence or absence of interference with the outside, and the robot arm trajectory is selected on the map.

前記マップにおいて、干渉の有無の重みづけに、ロボットアームの各リンクと外部の物体との最小距離を使用する、ことが好ましい。   In the map, it is preferable to use the minimum distance between each link of the robot arm and an external object for weighting the presence or absence of interference.

前記マップにおいて、特異姿勢の重みづけに、ロボットアームの可操作度を使用する、ことが好ましい。   In the map, it is preferable to use the maneuverability of the robot arm for weighting the specific posture.

前記マップ上でのロボットアーム選定において、ロール角、ピッチ角、又はヨー角のいずれかを一定値という条件下で探索し、ロボットの特異姿勢又は外部との干渉のないロボットアーム軌道を選択する、ことが好ましい。   In the robot arm selection on the map, either the roll angle, the pitch angle, or the yaw angle is searched under the condition of a constant value, and the robot arm trajectory that does not interfere with the specific posture of the robot or the outside is selected. It is preferable.

上記本発明によれば、軌道データ生成装置による軌道データ生成ステップの第1ステップにおいて、ワーク表面の加工点位置と、各加工点における加工工具の押付け方向ベクトルを生成する。工具の押付け方向は、押付け方向ベクトルの方向である。
また、第2ステップにおいて、加工工具の工具面がワーク表面と平行になるように、TCP位置と工具軸方向ベクトルを算出する。
According to the present invention, in the first step of the trajectory data generation step by the trajectory data generation device, the processing point position on the workpiece surface and the pressing direction vector of the processing tool at each processing point are generated. The pressing direction of the tool is the direction of the pressing direction vector.
In the second step, the TCP position and the tool axis direction vector are calculated so that the tool surface of the machining tool is parallel to the workpiece surface.

従って、ワークの形状が複雑な場合でも、教示作業なしに、工具形状に合わせて、工具の工具面をワーク表面に平行に設定し、かつハイブリッド制御に必要なTCPの位置と姿勢と加工工具の押付け方向を含む工具軌道データを生成することができる。   Therefore, even if the shape of the workpiece is complicated, the tool surface of the tool is set parallel to the workpiece surface in accordance with the tool shape without teaching work, and the TCP position and orientation required for hybrid control and the machining tool Tool trajectory data including the pressing direction can be generated.

また、本発明によれば、軌道データ生成装置によるデータ生成ステップの第3ステップにおいて、TCP位置と工具軸方向ベクトルを維持したままとりうる、前記7軸ロボットアームの複数の姿勢から、特異姿勢や外部との干渉のない姿勢を選択する。
従って、7軸ロボットアームを用いてロボットの特異姿勢回避や外部との干渉を回避することができる。
Further, according to the present invention, in the third step of the data generation step by the trajectory data generation device, from the plurality of postures of the 7-axis robot arm that can be maintained while maintaining the TCP position and the tool axis direction vector, Select a posture that does not interfere with the outside.
Therefore, it is possible to avoid a specific posture of the robot and interference with the outside using the 7-axis robot arm.

すなわち、本発明によれば、ワーク表面の形状データから工具軌道データを自動生成するため、教示作業の手間が省ける。また、工具面をワークに密着させる軌道を生成しつつ、ロボット特有の問題である特異姿勢の回避もできるため、ロボットの特長である広い可動範囲を最大限に利用した加工が可能となる。   That is, according to the present invention, the tool trajectory data is automatically generated from the shape data of the workpiece surface, so that the teaching work can be saved. In addition, since a trajectory in which the tool surface is brought into close contact with the workpiece can be generated, a peculiar posture that is a problem peculiar to the robot can be avoided.

本発明の加工軌道生成装置を備えた加工ロボットの全体構成図である。It is a whole block diagram of the processing robot provided with the processing track generation device of the present invention. 本発明の加工軌道生成方法の全体フロー図である。It is a whole flowchart of the processing track generation method of the present invention. CAMによるCLデータの説明図である。It is explanatory drawing of CL data by CAM. 工具軸を回転中心とする回転体の工具面を有する加工工具の具体例を示す図である。It is a figure which shows the specific example of the processing tool which has the tool surface of the rotary body which makes a tool axis the rotation center. 本発明の第3ステップを示す説明図である。It is explanatory drawing which shows the 3rd step of this invention.

以下、本発明の好ましい実施形態を添付図面に基づいて詳細に説明する。なお、各図において共通する部分には同一の符号を付し、重複した説明を省略する。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In addition, the same code | symbol is attached | subjected to the common part in each figure, and the overlapping description is abbreviate | omitted.

図1は、本発明の加工軌道生成装置20を備えた加工ロボット10の全体構成図である。
この図において、1はワーク(被加工部材)、4は加工工具、10は加工ロボット、20は本発明の加工軌道生成装置である。
加工軌道生成装置20は、ワーク1の表面(以下、ワーク表面1a)を研削又は研磨により仕上げ加工する加工ロボット10の加工軌道を生成する。
この加工軌道には、後述する工具軌道データD4と7軸ロボットアーム12の姿勢(以下、ロボット姿勢と呼ぶ)が含まれる。
FIG. 1 is an overall configuration diagram of a machining robot 10 provided with a machining trajectory generation device 20 of the present invention.
In this figure, 1 is a workpiece (member to be processed), 4 is a processing tool, 10 is a processing robot, and 20 is a processing trajectory generating apparatus of the present invention.
The processing trajectory generation device 20 generates a processing trajectory of the processing robot 10 that finishes the surface of the workpiece 1 (hereinafter, the workpiece surface 1a) by grinding or polishing.
This machining trajectory includes tool trajectory data D4, which will be described later, and the posture of the seven-axis robot arm 12 (hereinafter referred to as a robot posture).

ワーク1は、加工工具4により、バリ取り、C面取り、又はラウンドエッジ加工される被加工部材であり、例えば鋳鉄等の硬い材質からなる。
ワーク1は図示しないワーク保持装置により所定位置に位置決めされている。
The workpiece 1 is a workpiece to be deburred, chamfered, or rounded by the machining tool 4 and is made of a hard material such as cast iron.
The workpiece 1 is positioned at a predetermined position by a workpiece holding device (not shown).

加工ロボット10は、加工工具4を3次元空間内で移動する7軸ロボットアーム12を備え、その手先部材14に加工工具4を取り付け、工具軌道データD4の加工経路に沿って動作させてワーク1を加工する。この加工は、ワーク表面1aを研削又は研磨する仕上げ加工である。   The processing robot 10 includes a 7-axis robot arm 12 that moves the processing tool 4 in a three-dimensional space. The processing tool 4 is attached to the hand member 14 and is moved along the processing path of the tool trajectory data D4. Is processed. This process is a finishing process for grinding or polishing the workpiece surface 1a.

7軸ロボットアーム12は、この例では、絶対座標系において、ワーク1と同一の固定部に固定されたベースb0と、6つのリンクb6,b5,b4,b3,b2,b1とを有する。
リンクb5は、リンクb5−1とリンクb5−2とからなる。リンクb5−1のリンクb5−2に対する回転角、すなわち制御軸a7の角度を以下「第7関節角θ」と呼ぶ。
ベースb0からリンクb1まで、順に7軸の制御軸a6,a5,a7,a4,a3,a2,a1で連結され、それぞれの制御軸を数値制御するようになっている。
上述した手先部材14は、制御軸a1を中心に回転可能である。
In this example, the seven-axis robot arm 12 has a base b0 fixed to the same fixed portion as the workpiece 1 and six links b6, b5, b4, b3, b2, b1 in the absolute coordinate system.
The link b5 includes a link b5-1 and a link b5-2. The rotation angle of the link b5-1 with respect to the link b5-2, that is, the angle of the control axis a7 is hereinafter referred to as “seventh joint angle θ”.
From the base b0 to the link b1, seven control axes a6, a5, a7, a4, a3, a2, and a1 are connected in order, and each control axis is numerically controlled.
The hand member 14 described above is rotatable about the control axis a1.

加工工具4は、工具軸Zを回転中心とする回転体の工具面5を有し、ワーク表面1aに接触して加工する。また加工工具4は、7軸ロボットアーム12の手先部材14に取り付けられ、駆動装置6(この例では電動スピンドルモータ)により工具軸Zを中心に回転駆動される。
加工工具4は、好ましくは、工具軸Zを回転中心とする球型、円柱型、又は円錐型の工具面5を有する回転工具である。
The machining tool 4 has a rotating tool surface 5 with the tool axis Z as the center of rotation, and works by contacting the workpiece surface 1a. Further, the processing tool 4 is attached to the hand member 14 of the seven-axis robot arm 12 and is rotationally driven around the tool axis Z by a driving device 6 (in this example, an electric spindle motor).
The processing tool 4 is preferably a rotary tool having a spherical, cylindrical, or conical tool surface 5 with the tool axis Z as the center of rotation.

以下、本発明において、加工工具4のTCP(Tool Center Point)を原点とする座標系をTCP座標系と呼ぶ。TCP座標系は工具軸Zをz軸とするx,y,zの直交座標系である。   Hereinafter, in the present invention, a coordinate system having a TCP (Tool Center Point) of the machining tool 4 as an origin is referred to as a TCP coordinate system. The TCP coordinate system is an x, y, z orthogonal coordinate system with the tool axis Z as the z axis.

この例において、力覚センサ8は、例えばロードセルであり、3次元的に移動可能な7軸ロボットアーム12の手先部材14に取り付けられ、手先部材14に作用する外力を検出するようになっている。
力覚センサ8で検出される外力は、好ましくは6自由度の外力(3方向の力と、3軸まわりのトルク)であるが、本発明はこれに限定されず、ワーク1に対する押付力が検出できる限りで、その他の力センサであってもよい。
In this example, the force sensor 8 is, for example, a load cell, is attached to the hand member 14 of the seven-axis robot arm 12 that can be moved three-dimensionally, and detects an external force acting on the hand member 14. .
The external force detected by the force sensor 8 is preferably an external force having six degrees of freedom (a force in three directions and a torque around three axes), but the present invention is not limited to this, and the pressing force against the workpiece 1 is Other force sensors may be used as long as they can be detected.

加工ロボット10は、さらにロボットコントローラ16を備える。ロボットコントローラ16は、例えば数値制御装置であり、指令信号により7軸ロボットアーム12の手先部材14を6自由度(3次元位置と3軸まわりの回転)に制御する。   The processing robot 10 further includes a robot controller 16. The robot controller 16 is, for example, a numerical controller, and controls the hand member 14 of the seven-axis robot arm 12 to six degrees of freedom (three-dimensional position and rotation about three axes) by a command signal.

加工ロボット10によるワーク表面1aの研削又は研磨による仕上げ加工は、後述する工具軌道データD4を目標軌道として加工工具4の移動を位置制御し、同時に加工工具4の押付け力を力制御するハイブリッド制御であるのがよい。
このハイブリッド制御では、加工工具4の押付け方向の力が目標値となるように力制御しながら、押付け方向に直交する方向は、工具軌道データD4に追従するように位置制御する。従って、力制御と位置制御とが干渉しない特徴がある。
The finishing process by grinding or polishing of the workpiece surface 1a by the processing robot 10 is a hybrid control in which the position of the movement of the processing tool 4 is controlled with the tool path data D4 described later as a target path, and the pressing force of the processing tool 4 is simultaneously controlled. There should be.
In this hybrid control, position control is performed so that the direction orthogonal to the pressing direction follows the tool trajectory data D4 while controlling the force so that the force in the pressing direction of the machining tool 4 becomes a target value. Therefore, there is a feature that force control and position control do not interfere with each other.

図1において、本発明の加工軌道生成装置20は、記憶装置22、及び軌道データ生成装置24を備える。   In FIG. 1, the machining trajectory generation device 20 of the present invention includes a storage device 22 and a trajectory data generation device 24.

記憶装置22は、ワーク表面1aの形状データD1と、加工工具4の工具データD2と、7軸ロボットアーム12のロボットデータD3とを記憶する。
この記憶装置22には、CADシステムとCAMシステムがインストールされているのがよい。以下、CADシステムとCAMシステムを単にCAD(computer aided design)、CAM(computer aided manufacturing)と呼ぶ。
軌道データ生成装置24は、加工工具4のTCP位置P(以下単に、TCP位置Pと呼ぶ)と加工工具4の押付け方向ベクトルvを含む工具軌道データD4を生成する。
The storage device 22 stores shape data D1 of the workpiece surface 1a, tool data D2 of the machining tool 4, and robot data D3 of the 7-axis robot arm 12.
The storage device 22 is preferably installed with a CAD system and a CAM system. Hereinafter, the CAD system and the CAM system are simply referred to as CAD (computer aided design) and CAM (computer aided manufacturing).
The trajectory data generation device 24 generates tool trajectory data D4 including the TCP position P of the machining tool 4 (hereinafter simply referred to as TCP position P) and the pressing direction vector v of the machining tool 4.

TCP位置Pは、P=(X,Y,Z)で表される。TCP位置Pは絶対座標系における3次元位置である。
加工工具4の押付け方向ベクトルv(すなわち力制御の方向)は、ワーク表面1aに対する法線方向ベクトルv=(vx,vy,vz)で表される。押付け方向ベクトルv、すなわち法線方向ベクトルvは、単位ベクトルである。
The TCP position P is represented by P = (X, Y, Z). The TCP position P is a three-dimensional position in the absolute coordinate system.
The pressing direction vector v (that is, the direction of force control) of the machining tool 4 is represented by a normal direction vector v = (vx, vy, vz) with respect to the workpiece surface 1a. The pressing direction vector v, that is, the normal direction vector v is a unit vector.

なお、本発明は、加工工具4の位置P、工具姿勢Q、及び押付け方向ベクトルvを設定できる限りで、これらの座標系と姿勢パラメータの定義に限定されない。一般に、姿勢表現には多種の定義のパラメータが使用されている。   The present invention is not limited to the definition of these coordinate systems and posture parameters as long as the position P, the tool posture Q, and the pressing direction vector v of the processing tool 4 can be set. In general, various defined parameters are used for posture expression.

軌道データ生成装置24は、例えば、PC(コンピュータ)であり、工具軌道データD4を演算し、ロボットコントローラ16に出力する。
軌道データ生成装置24は、この例では、ロボットコントローラ16と別個に設けられているが、ロボットコントローラ16と軌道データ生成装置24を同一の制御PCで構成してもよい。
The trajectory data generation device 24 is, for example, a PC (computer), calculates the tool trajectory data D4, and outputs it to the robot controller 16.
In this example, the trajectory data generation device 24 is provided separately from the robot controller 16, but the robot controller 16 and the trajectory data generation device 24 may be configured by the same control PC.

図2は、本発明の加工軌道生成方法の全体フロー図である。
上述した装置を用い、本発明の加工軌道生成方法は、記憶ステップS1と軌道データ生成ステップS2とを有する。
FIG. 2 is an overall flowchart of the machining trajectory generation method of the present invention.
Using the apparatus described above, the machining trajectory generation method of the present invention includes a storage step S1 and a trajectory data generation step S2.

記憶ステップS1では、記憶装置22に、ワーク表面1aの形状データD1、加工工具4の工具データD2、及び7軸ロボットアーム12のロボットデータD3を記憶する。   In the storage step S1, the shape data D1 of the workpiece surface 1a, the tool data D2 of the machining tool 4, and the robot data D3 of the 7-axis robot arm 12 are stored in the storage device 22.

軌道データ生成ステップS2では、軌道データ生成装置24により、加工工具4の回転軸上に原点を、回転軸と一致するようにZ軸を設定したTCPの、空間に固定された座標系における位置と、加工工具4の押付け方向ベクトルvを含む工具軌道データD4を生成する。
軌道データ生成ステップS2は、S21〜S23の各ステップ(工程)からなる。
In the trajectory data generation step S2, the trajectory data generation device 24 sets the origin on the rotation axis of the processing tool 4 and the position of the TCP in the coordinate system fixed in the space with the Z axis set to coincide with the rotation axis. Then, the tool trajectory data D4 including the pressing direction vector v of the machining tool 4 is generated.
The orbit data generation step S2 includes steps (steps) S21 to S23.

第1ステップS21では、ワーク表面1aの形状データD1(すなわちCADモデル)からワーク表面1aの加工点P1の位置(加工点位置)と、各加工点における加工工具4の押付け方向ベクトルvとを生成する。
第1ステップS21において、CAMを使用して、ワーク表面1aの法線方向となるように押付け方向ベクトルvを生成するのがよい。
In the first step S21, the position (machining point position) of the machining point P1 on the workpiece surface 1a and the pressing direction vector v of the machining tool 4 at each machining point are generated from the shape data D1 (ie, CAD model) of the workpiece surface 1a. To do.
In the first step S21, it is preferable to generate the pressing direction vector v using the CAM so as to be in the normal direction of the workpiece surface 1a.

第1ステップS21において、CAMシステムによっては、ワーク表面1aの加工点P1の位置と加工主軸の方向ベクトルが出力されるものがあるが、加工主軸がワーク表面1aに垂直となるような設定でCLデータを出力することで、加工主軸の方向ベクトルを押付け方向ベクトルvとして使用して、本発明を適用できる。また、CAMシステムによっては、ワーク表面1aの加工点P1の位置と加工主軸の姿勢角が出力されるものがあるが、加工主軸がワーク表面1aに垂直となるような設定でCLデータを出力し、加工主軸の姿勢角から加工主軸の方向ベクトルを算出することで、本発明を適用できる。   In the first step S21, depending on the CAM system, the position of the machining point P1 on the workpiece surface 1a and the direction vector of the machining spindle are output, but CL is set so that the machining spindle is perpendicular to the workpiece surface 1a. By outputting data, the present invention can be applied by using the direction vector of the machining spindle as the pressing direction vector v. Also, depending on the CAM system, the position of the machining point P1 on the workpiece surface 1a and the attitude angle of the machining spindle can be output, but CL data is output with settings such that the machining spindle is perpendicular to the workpiece surface 1a. The present invention can be applied by calculating the direction vector of the machining spindle from the attitude angle of the machining spindle.

第2ステップS22では、第1ステップS21における各加工点P1において、加工工具4の工具面5がワーク表面1aと平行になるように、工具形状データを利用してTCP位置Pと工具軸方向ベクトルwを算出する。工具軸方向ベクトルwは、TCP座標のZ軸方向ベクトルである。
第2ステップS22において、第1ステップS21のデータから、加工工具4の工具面5の形状に応じて、工具軸方向ベクトルw=(wx,wy,wz)を算出する。この算出の詳細は後述する。
In the second step S22, the TCP position P and the tool axis direction vector are utilized using the tool shape data so that the tool surface 5 of the machining tool 4 is parallel to the workpiece surface 1a at each machining point P1 in the first step S21. Calculate w. The tool axis direction vector w is a Z-axis direction vector of TCP coordinates.
In the second step S22, a tool axis direction vector w = (wx, wy, wz) is calculated from the data in the first step S21 according to the shape of the tool surface 5 of the machining tool 4. Details of this calculation will be described later.

第3ステップS23では、各加工点P1において、ロボットの特異姿勢と外部との干渉を回避するように、TCP位置Pと工具軸方向ベクトルwを維持したままとりうる、7軸ロボットアーム12の複数の姿勢から、特異姿勢や外部との干渉のない1つの姿勢を選択する。   In the third step S23, a plurality of 7-axis robot arms 12 that can be maintained while maintaining the TCP position P and the tool axis direction vector w so as to avoid interference between the specific posture of the robot and the outside at each machining point P1. From these postures, a single posture and a single posture that does not interfere with the outside are selected.

すなわち第3ステップS23では、第2ステップS22の結果に基づき、加工ロボット10の姿勢、すなわち7軸ロボットアーム12の姿勢(ロボット姿勢)を算出する。
第3ステップS23において、加工ロボット10の姿勢を、TCP座標系のロール角A、ピッチ角B、及びヨー角Cで表現し、ロール角A、ピッチ角B、又はヨー角Cのいずれかを仮の値に固定して、ロール角A、ピッチ角B、及びヨー角Cを算出するのがよい。
That is, in the third step S23, the posture of the processing robot 10, that is, the posture of the seven-axis robot arm 12 (robot posture) is calculated based on the result of the second step S22.
In the third step S23, the posture of the processing robot 10 is expressed by the roll angle A, the pitch angle B, and the yaw angle C in the TCP coordinate system, and any one of the roll angle A, the pitch angle B, or the yaw angle C is temporarily set. It is preferable to calculate the roll angle A, the pitch angle B, and the yaw angle C with the value fixed at.

また第3ステップS23において、TCP位置Pと工具軸方向ベクトルwの姿勢から、7軸ロボットアーム12の各関節角を計算し、各関節角から、ロボットの特異姿勢又は外部との干渉の有無をチェックするのがよい。   Also, in the third step S23, each joint angle of the 7-axis robot arm 12 is calculated from the posture of the TCP position P and the tool axis direction vector w, and from the joint angles, the presence or absence of the robot's specific posture or interference with the outside is determined. It is good to check.

第3ステップS23において、TCP位置Pと工具軸方向ベクトルwの姿勢から、TCP位置Pと工具軸方向ベクトルwの姿勢を維持したままとりうる、7軸ロボットアーム12の姿勢から構成されるコンフィグレーション空間の各点において、ロボットの特異姿勢又は外部との干渉の有無を数値的に重みづけしたマップを作成し、そのマップ上でロボットアーム軌道を選択する、ことが好ましい。
コンフィギュレーション空間とは、ある区切られた空間内で、特定の物体を他の物体と重なることなく置ける場所の有無(findspace)や、指定された場所から他の場所まで他の物体と衝突せずに移動する経路の有無(findpath)を計算機を用いて知るために提案された空間表現法である。
In the third step S23, a configuration constituted by the posture of the seven-axis robot arm 12 that can be taken from the posture of the TCP position P and the tool axis direction vector w while maintaining the posture of the TCP position P and the tool axis direction vector w. It is preferable to create a map that numerically weights the specific posture of the robot or the presence or absence of external interference at each point in the space, and selects the robot arm trajectory on the map.
Configuration space is the presence / absence of a place where a specific object can be placed without overlapping another object in a certain space, and does not collide with other objects from a specified place to another place. This is a spatial expression method that has been proposed in order to know the presence / absence (findpath) of a route that travels to the location using a computer.

また、マップにおいて、干渉の有無の重みづけに、ロボットアームの各リンクと外部の物体との最小距離を使用する、ことが好ましい。   In the map, it is preferable to use the minimum distance between each link of the robot arm and an external object to weight the presence or absence of interference.

また、マップにおいて、特異姿勢の重みづけに、ロボットアームの可操作度を使用する、ことが好ましい。   In the map, it is preferable to use the maneuverability of the robot arm for weighting the specific posture.

また、マップ上でのロボットアーム選定において、ロール角A、ピッチ角B、又はヨー角Cのいずれかを一定値という条件下で探索し、ロボットの特異姿勢又は外部との干渉の有無のないロボットアーム軌道を選択する、ことが好ましい。   Also, in selecting a robot arm on the map, a search is made for any one of roll angle A, pitch angle B, or yaw angle C under the condition of a constant value, and there is no robot having a specific posture or interference with the outside. It is preferable to select an arm trajectory.

以下、ロボット姿勢を算出する第3ステップS23について詳述する。   Hereinafter, the third step S23 for calculating the robot posture will be described in detail.

7軸ロボットアーム12の位置と姿勢は、第7関節角θ(度)、TCPの位置X,Y,Z(mm)、TCP座標系のロール角A(度)、ピッチ角B(度)、ヨー角C(度)で表現する。第7関節角θとヨー角Cを仮の値を設定して、ロール角Aとピッチ角Bを以下のように算出する。   The position and posture of the 7-axis robot arm 12 are as follows: seventh joint angle θ (degrees), TCP position X, Y, Z (mm), TCP coordinate system roll angle A (degrees), pitch angle B (degrees), Expressed in yaw angle C (degrees). Temporary values are set for the seventh joint angle θ and the yaw angle C, and the roll angle A and the pitch angle B are calculated as follows.

ロール角A、ピッチ角B、ヨー角Cと回転行列Rの関係は、数1の式(1)で表される。
前提として、TCP座標系のz軸を、工具軸Zと一致させるように設定すると、式(2)となる。式(2)のwx,wy,wzの各値は、第2ステップS22で計算済みである。
The relationship between the roll angle A, the pitch angle B, the yaw angle C, and the rotation matrix R is expressed by Equation (1) in Equation 1.
As a premise, if the z-axis of the TCP coordinate system is set to coincide with the tool axis Z, Expression (2) is obtained. Each value of wx, wy, wz in the equation (2) has been calculated in the second step S22.

Figure 0006390832
Figure 0006390832

これらの条件から、ロール角A、ピッチ角B、ヨー角Cを算出する。つまり、数2の式(3)の3列目の関係式である式(4)の連立方程式を解くことで、ロール角A、ピッチ角B、ヨー角Cを算出することができる。   From these conditions, roll angle A, pitch angle B, and yaw angle C are calculated. That is, the roll angle A, the pitch angle B, and the yaw angle C can be calculated by solving the simultaneous equations of Expression (4), which is the relational expression in the third column of Expression (3) of Formula 2.

Figure 0006390832
Figure 0006390832

式(4)の連立方程式は、変数が1つ多いため解けない。そのため、ロール角Aを仮の値に固定する。
式(4)の1行目にC、2行目にSをそれぞれかけて足し合わせると、数3の式(5)(6)となり、ピッチ角Bは、C≠0において、式(7)により算出できる。
なお、C=0(cosC=0)では解を一意に決めることはできないので、cosC=0(すなわちC=90度)とならない工具の当て方を選んでおく必要がある。ピッチ角Bを式(6)又は(8)に代入してヨー角Cを算出する。
これにより、θ,X,Y,Z,A,B,Cが算出され、7軸ロボットアーム12の姿勢が決定される。
The simultaneous equations of Equation (4) cannot be solved because there are one more variable. Therefore, the roll angle A is fixed to a temporary value.
When C A is added to the first line of Expression (4) and S A is added to the second line, Expressions (5) and (6) of Expression 3 are obtained, and the pitch angle B is expressed by Expression (5) when C C ≠ 0. It can be calculated by (7).
In addition, since the solution cannot be determined uniquely when C C = 0 (cos C = 0), it is necessary to select a tool application method that does not satisfy cos C = 0 (that is, C = 90 degrees). The yaw angle C is calculated by substituting the pitch angle B into the equation (6) or (8).
Thus, θ, X, Y, Z, A, B, and C are calculated, and the posture of the seven-axis robot arm 12 is determined.

Figure 0006390832
Figure 0006390832

以下、第3ステップS23の代替実施例を説明する。   In the following, an alternative embodiment of the third step S23 will be described.

<加工ロボット10の軌道生成方法1(衝突回避)>
式(4)の計算後、軌道上のある点において、ロール角Aを−180,−170,−160,・・・160,170,180に、第7関節角θを−180,−170,−160,・・・160,170,180に、仮決めして、式(5)〜(8)でピッチ角B、ヨー角Cを計算する。つまり、ロール角Aと第7関節角θの組み合わせから表1のようなテーブルを作成する。
<Track Generation Method 1 for Processing Robot 10 (Collision Avoidance)>
After calculation of Equation (4), at a certain point on the trajectory, the roll angle A is -180, -170, -160, ... 160, 170, 180, and the seventh joint angle θ is -180, -170, The pitch angle B and the yaw angle C are calculated by formulas (5) to (8) by temporarily determining −160,. That is, a table as shown in Table 1 is created from the combination of the roll angle A and the seventh joint angle θ.

Figure 0006390832
Figure 0006390832

表1のテーブル上の第7関節角θとTCP位置P(X,Y,Z)と工具姿勢Q(A,B,C)から、7軸ロボットアーム12の各関節角を計算する。6軸ロボットアームであれば、この計算方法はPieperの方法が一般的に知られている。7軸ロボットアーム12の場合も、第7関節角θを与えれば、同様に計算することが可能であり、表2のようなテーブルを作成できる。
ただし、J1〜J7は7つの関節軸の関節角であり、図1の制御軸a1,a2,a3,a4,a5,a6,a7の角度である。
Each joint angle of the seven-axis robot arm 12 is calculated from the seventh joint angle θ, the TCP position P (X, Y, Z), and the tool posture Q (A, B, C) on the table in Table 1. For a 6-axis robot arm, the Pieper method is generally known as this calculation method. In the case of the seven-axis robot arm 12, if the seventh joint angle θ is given, the calculation can be performed in the same manner, and a table as shown in Table 2 can be created.
However, J1 to J7 are the joint angles of the seven joint axes, and are the angles of the control axes a1, a2, a3, a4, a5, a6, and a7 in FIG.

Figure 0006390832
Figure 0006390832

7軸ロボットアーム12の各関節角から、周辺物との干渉をチェックすることができる。例えば、7軸ロボットアーム12を円柱の連なった形状に近似し、周辺物が、点、線分、三角形、で表現されるとすると、7軸ロボットアーム12のリンクパラメータ(関節軸と関節軸の相対位置を表現したもの)を使って、例えば、
(1)第1関節軸(制御軸a1)の座標系(Z軸がモータ軸)と第1リンクb1(手先部材14)の長さ、第1リンクb1の直径から、第1リンクb1と周辺物との距離を計算し、その最短距離を記録する。干渉する場合は負の値(−1など)を記録する。
(2)第2関節軸(制御軸a2)の座標系の位置を計算し、第2リンクb2についても、周辺物との干渉を計算する。
同様に第6関節軸(制御軸a6)まで同様の計算を実施し、表3のテーブルを作成する。ただし、Dminは全リンクの最短距離、−1は干渉することを示す。
Interference with surrounding objects can be checked from each joint angle of the seven-axis robot arm 12. For example, if the 7-axis robot arm 12 is approximated to a continuous shape of cylinders and the surrounding objects are represented by points, line segments, and triangles, the link parameters (the joint axis and the joint axis of the 7-axis robot arm 12) Using relative position), for example,
(1) From the coordinate system of the first joint axis (control axis a1) (Z axis is the motor axis), the length of the first link b1 (hand member 14), and the diameter of the first link b1, the first link b1 and the surroundings Calculate the distance to the object and record the shortest distance. If there is interference, record a negative value (such as -1).
(2) The position of the coordinate system of the second joint axis (control axis a2) is calculated, and the interference with surrounding objects is also calculated for the second link b2.
Similarly, the same calculation is performed up to the sixth joint axis (control axis a6), and the table of Table 3 is created. However, Dmin indicates the shortest distance of all links, and -1 indicates interference.

Figure 0006390832
Figure 0006390832

表3のテーブルを使い、ロール角Aと第7関節角θを決定する。決定方法は以下の(1)(2)が考えられる。   Using the table in Table 3, the roll angle A and the seventh joint angle θ are determined. The following (1) and (2) can be considered as the determination method.

(1)例えば、ロール角A=−180〜A=180、第7関節角θ=−180〜θ=180の各列ごとに、Dminの最小値を抽出し、その最小値が最大となる列を採用するという方法で、Aの値を選定する。
すなわち、表4の例ではロール角A=180、第7関節角θ=180の列のDminの最小値が50であるため、ロール角A=180、第7関節角θ=180を採用する。これにより、軌道全体についてロール角Aと第7関節角θを固定した軌道が得られる。
(1) For example, the minimum value of D min is extracted for each column of the roll angle A = −180 to A = 180 and the seventh joint angle θ = −180 to θ = 180, and the minimum value becomes the maximum. The value of A is selected by a method of adopting a column.
That is, in the example of Table 4, since the minimum value of Dmin in the row of the roll angle A = 180 and the seventh joint angle θ = 180 is 50, the roll angle A = 180 and the seventh joint angle θ = 180 are adopted. . Thereby, a track in which the roll angle A and the seventh joint angle θ are fixed with respect to the entire track is obtained.

Figure 0006390832
Figure 0006390832

(2)例えば、表5のように、点1でDminが最大のロール角A=180、第7関節角θ=180をスタートし、各点のDminが最大のロール角Aと第7関節角θをたどって軌道を作成する。ただし、ロール角Aと第7関節角θが急に変化すると、加工ロボット10の動作が振動的になるため、ロール角Aと第7関節角θの変化を一定幅以内として探索する必要がある。 (2) For example, as shown in Table 5, the roll angle A = 180 and the seventh joint angle θ = 180 having the maximum D min at the point 1 are started, and the roll angle A and the seventh roll having the maximum D min at each point are started. The trajectory is created by following the joint angle θ. However, if the roll angle A and the seventh joint angle θ change suddenly, the operation of the machining robot 10 becomes vibrational. Therefore, it is necessary to search for changes in the roll angle A and the seventh joint angle θ within a certain range. .

Figure 0006390832
Figure 0006390832

<加工ロボット10の軌道生成方法2(可操作度w2=特異姿勢回避)>
加工ロボット10の関節角から、ヤコビ行列Jを計算する。可操作度w2は数4の式(9)で定義される。ヤコビ行列Jとは、加工ロボット10の関節角速度と手先速度との変換行列である。特異姿勢では、ヤコビ行列Jがフルランクでなくなるため、可操作度w2は0に近づく。可操作度w2が大きいということは、手先がどの方向にも動きやすいことを意味するため、加工ロボット10にとって楽な姿勢といえる。
<Trajectory generation method 2 of the machining robot 10 (operability w2 = avoidance of unique posture)>
The Jacobian matrix J is calculated from the joint angle of the processing robot 10. The manipulability w2 is defined by Equation (9) of Equation 4. The Jacobian matrix J is a conversion matrix between the joint angular velocity and the hand velocity of the machining robot 10. In the singular posture, the Jacobian matrix J is not full rank, and the manipulability w2 approaches zero. A high manipulability w2 means that the hand is easy to move in any direction, and can be said to be an easy posture for the processing robot 10.

Figure 0006390832
Figure 0006390832

この指標を前述のようにテーブルにし、前述の(1)(2)のように探索して、ロール角Aと第7関節角θを決定することができる。   The index can be used as a table as described above, and the roll angle A and the seventh joint angle θ can be determined by searching as described in (1) and (2) above.

本発明では、加工ロボット10を精密仕上げ加工に適用する上での課題を整理し、シンプルで汎用性の高い、加工ロボット10の加工軌道生成装置20と方法を提案する。   In the present invention, problems in applying the machining robot 10 to precision finishing are arranged, and a machining trajectory generation apparatus 20 and a method for the machining robot 10 that are simple and versatile are proposed.

加工ロボット10を精密仕上げ加工に適用する上での、軌道生成の課題は以下の通り。
(1)形状が複雑なワーク1への対応
形状が複雑なワーク1のエッジ面取りや曲面磨きの軌道を生成するには、ワーク表面1aの形状データD1を数値化又は定式化する必要があるため、複雑形状への対応は一般に難しい。一方、一般のCAMではそれらの処理が行われているが、一般のCAMはロボットアームに対応していない。また、ロボットアームの軌道生成に対応した加工ロボット用のCAMもあるが、位置と力のハイブリッド制御に必要な目標軌道は生成できない。
なお、CAMとは、製品の製造を行うために、CADで作成された形状データD1を入力データとして、加工用のNCプログラム作成などの生産準備全般をコンピュータ上で行うシステムである。
(2)多様な工具形状への対応
精密仕上げ加工では、狭隘部への工具のアクセス等のため、球型、円柱型、円錐型、など、多様な形状の工具を使用する必要がある。
(3)位置と力のハイブリッド制御への対応
ロボットアームの絶対位置の位置決め精度は低いため、オフラインでの軌道生成と位置決め誤差の補償手段とを組み合わせて使用する必要がある。位置と力のハイブリッド制御の使用を前提とすると、目標軌道として、TCP位置Pと姿勢及び加工工具4の押付け方向ベクトルvを含む工具軌道データD4が必要である。
(4)加工ロボット10の特異姿勢や干渉の回避
7軸ロボットアーム12の手先部材14に工具軸Zを回転中心とする工具面5を有する回転工具を設置すると、回転工具の軸対称性により、冗長性が生じる。つまり、同じ加工を実現する加工ロボット10の姿勢が無数に存在し、この中から1つの姿勢を決定する必要がある。逆にこのことは、加工軌道において、7軸ロボットアーム12が特異姿勢をとる、周辺物と干渉する、などが懸念される場合、加工を変えることなく、これらを回避できる可能性を意味する。
なお、7軸ロボットアーム12は、上記冗長性の他にも、冗長軸(第7関節角θ)を有する。
The problems of trajectory generation when applying the machining robot 10 to precision finishing are as follows.
(1) Correspondence to workpiece 1 having a complicated shape To generate edge chamfering or curved surface polishing trajectory of workpiece 1 having a complicated shape, shape data D1 of workpiece surface 1a needs to be quantified or formulated. In general, it is difficult to deal with complex shapes. On the other hand, these processes are performed in a general CAM, but a general CAM does not correspond to a robot arm. There are also CAMs for machining robots that support the generation of robot arm trajectories, but they cannot generate the target trajectory required for hybrid position and force control.
Note that the CAM is a system that performs overall production preparation such as creation of an NC program for processing on a computer by using shape data D1 created by CAD as input data in order to manufacture a product.
(2) Response to various tool shapes In precision finishing, it is necessary to use tools of various shapes such as a spherical shape, a cylindrical shape, and a conical shape in order to access the tool to the narrow part.
(3) Response to hybrid control of position and force Since the positioning accuracy of the absolute position of the robot arm is low, it is necessary to use a combination of off-line trajectory generation and positioning error compensation means. If it is assumed that hybrid control of position and force is used, the tool path data D4 including the TCP position P, the posture, and the pressing direction vector v of the machining tool 4 is required as the target path.
(4) Avoiding the unique posture and interference of the machining robot 10 When a rotary tool having the tool surface 5 with the tool axis Z as the rotation center is installed on the hand member 14 of the seven-axis robot arm 12, due to the axial symmetry of the rotary tool, Redundancy occurs. That is, there are innumerable postures of the machining robot 10 that realizes the same machining, and it is necessary to determine one of these postures. Conversely, this means that if there is a concern that the 7-axis robot arm 12 takes a peculiar posture or interferes with surrounding objects in the machining trajectory, these can be avoided without changing the machining.
The 7-axis robot arm 12 has a redundant axis (seventh joint angle θ) in addition to the above redundancy.

(CAMで生成するデータの内容)
多軸工作機械の普及に伴い、CAMの導入が進んでいる。CAMで5軸工作機械の加工プログラムであるNCデータを作成する手順は、およそ以下の通りである。
まず、(1)CLデータ(Cutter Location Data)と呼ばれる中間データを出力する。これは加工形状を実現するために工具が描くべきTCP位置Pの軌道であり、TCP位置Pの座標点列と、各点における工具軸方向ベクトルw(=主軸の姿勢)とから構成される。
次に、(2)CLデータから工作機械を動作させるNCデータに変換する。
最後に、(3)工作機械を動作させながら、NCデータの工具回転速度や送り速度の設定を調整し、加工のNCデータを完成させる。
(Content of data generated by CAM)
With the spread of multi-axis machine tools, the introduction of CAM is progressing. The procedure for creating NC data, which is a machining program of a 5-axis machine tool, by CAM is as follows.
First, (1) intermediate data called CL data (Cutter Location Data) is output. This is a trajectory of the TCP position P to be drawn by the tool to realize the machining shape, and is composed of a coordinate point sequence of the TCP position P and a tool axis direction vector w (= posture of the main spindle) at each point.
Next, (2) the CL data is converted into NC data for operating the machine tool.
Finally, (3) while operating the machine tool, adjust the settings of the tool rotation speed and feed speed of the NC data to complete the NC data for machining.

(提案する軌道生成方法)
以下のステップからなる軌道生成方法を提案する。
(1)CAMによるCLデータの作成
図3は、CAMによるCLデータの説明図である。
市販のCAMを使用し、ワーク1の加工エッジや加工面上の点の位置P1(X,Y,Z)と、位置と力のハイブリッド制御で使用する押付け方向ベクトルv(vx,vy,vz)からなる中間データを生成する。押付け方向ベクトルvは、曲面の磨きにおいてはワーク表面1aの法線方向(図3)、エッジの面取りにおいては角の2等分方向のベクトルとする。
(Proposed trajectory generation method)
A trajectory generation method consisting of the following steps is proposed.
(1) Creation of CL data by CAM FIG. 3 is an explanatory diagram of CL data by CAM.
Using a commercially available CAM, the position P1 (X, Y, Z) of the machining edge of the workpiece 1 or a point on the machining surface, and the pressing direction vector v (vx, vy, vz) used for hybrid control of position and force Generate intermediate data consisting of The pressing direction vector v is a vector in the normal direction (FIG. 3) of the workpiece surface 1a when polishing a curved surface, and a vector in a bisecting direction of corners when chamfering an edge.

ただし、CAMは押付け方向ベクトルvを直接生成するわけではなく、5軸工作機械の工具軸方向ベクトルwを生成するに過ぎない。そこで、工具軸方向ベクトルwが加工面の法線方向やエッジの2等分方向となるようにCAM側を設定することで、位置と力のハイブリッド制御で使用可能な、押付け方向ベクトルvを含んだ工具軌道データD4を出力することができる。   However, the CAM does not directly generate the pressing direction vector v, but only generates the tool axis direction vector w of the 5-axis machine tool. Therefore, by setting the CAM side so that the tool axis direction vector w is the normal direction of the machining surface and the bisection direction of the edge, the pressing direction vector v that can be used in hybrid control of position and force is included. The tool path data D4 can be output.

(工具形状に対応した工具姿勢Qの計算)
(2)(1)で生成したCLデータと加工工具4の形状と当て方から、中間的な加工ロボット10の工具軌道データD4を生成する。この中間の工具軌道データD4は、加工工具4の工具面5が接するように動作するTCP位置P、工具軸方向ベクトルwの姿勢、加工工具4の押付け方向ベクトルvから構成される。
つまり、ここでは加工工具4の工具面5の形状による幾何学的な制約条件から、工具面5がワーク表面1aに接するような工具軸方向ベクトルwを軌道上の各TCP位置Pについて算出する。なお、これだけでは加工ロボット10の姿勢(ロボット姿勢)は一意に決まらないため、この条件を満たす加工ロボット10の姿勢を仮に1つ算出する。
(Calculation of tool posture Q corresponding to tool shape)
(2) Tool trajectory data D4 of the intermediate machining robot 10 is generated from the CL data generated in (1) and the shape and application method of the machining tool 4. The intermediate tool trajectory data D4 includes a TCP position P that operates so that the tool surface 5 of the machining tool 4 comes into contact, an attitude of the tool axis direction vector w, and a pressing direction vector v of the machining tool 4.
That is, here, the tool axis direction vector w such that the tool surface 5 is in contact with the workpiece surface 1a is calculated for each TCP position P on the trajectory from the geometrical constraint condition due to the shape of the tool surface 5 of the machining tool 4. Note that the posture (robot posture) of the machining robot 10 is not uniquely determined by this alone, and therefore, one posture of the machining robot 10 that satisfies this condition is temporarily calculated.

工具面5の形状ごとに、以下のように算出する。なお、加工ロボット10の姿勢はTCP座標系のロール角A、ピッチ角B、ヨー角Cで表現し、TCP座標系のz軸を工具軸Zとする。   It calculates as follows for every shape of the tool surface 5. The posture of the processing robot 10 is expressed by a roll angle A, a pitch angle B, and a yaw angle C in the TCP coordinate system, and the z axis in the TCP coordinate system is a tool axis Z.

図4は、工具軸Zを回転中心とする回転体の工具面5を有する加工工具4の具体例を示す図である。なお図4における加工工具4は、工具軸Zを回転中心とする球型(A)、円柱型(B)(C)、円錐型(D)の工具面5を有する回転工具である。   FIG. 4 is a view showing a specific example of the machining tool 4 having a rotating tool surface 5 with the tool axis Z as the center of rotation. 4 is a rotary tool having a spherical (A), cylindrical (B) (C), and conical (D) tool surface 5 with the tool axis Z as the center of rotation.

図4(A)は、工具軸Zを回転中心とする球型の工具面5を有する回転工具を示している。以下、かかる回転工具を球型工具と呼ぶ。
TCP座標の原点Pを球型の工具面5の中心に設定する。CLデータの各点P1を押付け方向ベクトルvの逆向きに球型の半径距離rをシフトすると、球型工具の姿勢にかかわらず、球型工具とワーク1とが接する軌道となる。つまり、工具軸方向と加工ロボット10の姿勢の両方に任意の値を設定することができる。
FIG. 4A shows a rotary tool having a spherical tool surface 5 with the tool axis Z as the center of rotation. Hereinafter, such a rotary tool is referred to as a spherical tool.
The origin P of the TCP coordinates is set at the center of the spherical tool surface 5. When the spherical radial distance r is shifted in the direction opposite to the pressing direction vector v for each point P1 of the CL data, a trajectory where the spherical tool and the workpiece 1 are in contact with each other regardless of the attitude of the spherical tool. That is, arbitrary values can be set for both the tool axis direction and the posture of the machining robot 10.

すなわち、球型工具では、加工工具4の球型の工具面5の中心にTCPの原点を、回転軸と一致するようにTCPのZ軸を設定し、ワーク表面1aの加工点P1を押付け方向ベクトルvの逆向きに球型の半径距離rをシフトしてTCP位置Pを算出する。   That is, in the spherical tool, the TCP origin is set at the center of the spherical tool surface 5 of the machining tool 4 and the TCP Z-axis is set so as to coincide with the rotation axis, and the machining point P1 on the workpiece surface 1a is pressed. The TCP position P is calculated by shifting the spherical radial distance r in the opposite direction of the vector v.

ここで、「TCPを設定する」とは、ロボットの手先のフランジ座標系を基準として、工具の球面の中心位置を原点とし、工具軸がZ軸となるようなTCP座標系を設定することを意味する(XYZABCで完全に定義する)。このとき、TCP座標系のX軸、Y軸は任意であるが、どちらかの軸をフランジ座標系の軸と同じにしておいたりする。
また、「TCP位置Pを算出する」とは、空間に固定された座標系(ロボットのベース座標系や、テーブル座標系など)を基準として、TCPの空間上の位置を算出することを意味する。そして空間上のTCPの位置姿勢(XYZABC)とは、TCPをその空間上の位置に移動させることのできるロボットの位置姿勢と同義であるが、ここではまだTCP座標系の位置(XYZ)だけなので、まだロボットの位置姿勢は1つには決まらない。
Here, “setting TCP” refers to setting a TCP coordinate system in which the center position of the spherical surface of the tool is the origin and the tool axis is the Z axis with reference to the flange coordinate system of the robot hand. Means (completely defined by XYZABC). At this time, the X-axis and Y-axis of the TCP coordinate system are arbitrary, but either axis is made the same as the axis of the flange coordinate system.
Further, “calculating the TCP position P” means calculating the position of the TCP in space based on a coordinate system (such as a robot base coordinate system or a table coordinate system) fixed in the space. . And the TCP position and orientation (XYZABC) in space is synonymous with the position and orientation of the robot that can move the TCP to the position in space, but here it is only the position (XYZ) of the TCP coordinate system. However, the position and orientation of the robot has not been determined yet.

図4(B)は、工具軸Zを回転中心とする円柱型工具の工具端面を使う場合を示している。
TCP座標の原点Pを工具端面の中心に設定する。TCP座標のZ軸方向ベクトルnを押付け方向ベクトルvと一致するように設定する。次に、TCP座標の姿勢を算出するには、上述した式(4)を解いてロール角A、ピッチ角B、ヨー角Cを算出する。
ただし、C:cosPの略記(P=A,B,C)、S:sinPの略記(P=A,B,C)、である。Z軸方向ベクトルnが与えられてもロール角A、ピッチ角B、ヨー角Cは一意に決まらないため、簡単のため、ロール角Aを(例えば0に)固定して残りのピッチ角B、ヨー角Cを算出することで、TCP座標の仮の姿勢とする。
FIG. 4B shows a case where a tool end face of a cylindrical tool having the tool axis Z as the rotation center is used.
The origin P of the TCP coordinate is set to the center of the tool end face. The Z-axis direction vector n Z of the TCP coordinates is set to coincide with the pressing direction vector v. Next, in order to calculate the orientation of the TCP coordinates, the roll angle A, the pitch angle B, and the yaw angle C are calculated by solving the above equation (4).
However, C P : abbreviation of cosP (P = A, B, C) and S P : abbreviation of sinP (P = A, B, C). Since the roll angle A, pitch angle B, and yaw angle C are not uniquely determined even if the Z-axis direction vector n Z is given, the roll angle A is fixed (for example, 0) and the remaining pitch angle B is fixed for simplicity. By calculating the yaw angle C, a temporary orientation of the TCP coordinates is obtained.

図4(C)は、工具軸Zを回転中心とする円柱型の工具面5を有する回転工具を示している。以下、かかる回転工具を円柱型工具と呼ぶ。
TCP座標の原点Pを図4(B)と同様に工具端面の中心に設定する。TCP座標のZ軸方向ベクトルnは、押付け方向ベクトルvを送り方向回りに+90度又は−90度回転させた方向に設定する。なお、送り方向は軌道上の次の点に向かう方向を算出して使用する。Z軸方向ベクトルn設定後のTCP座標の仮の姿勢角の算出は図4(B)と同様である。また、図4(A)と同様に、CLデータ上の点を円柱型の半径距離rをシフトして、工具とワーク1が接するようにする。
FIG. 4C shows a rotary tool having a cylindrical tool surface 5 with the tool axis Z as the center of rotation. Hereinafter, such a rotary tool is referred to as a cylindrical tool.
The origin P of the TCP coordinates is set to the center of the tool end face as in FIG. The Z-axis direction vector n Z of the TCP coordinates is set to a direction obtained by rotating the pressing direction vector v by +90 degrees or −90 degrees around the feed direction. The feed direction is calculated by using the direction toward the next point on the track. Calculation of the temporary posture angle of the TCP coordinates after setting the Z-axis direction vector n Z is the same as that in FIG. Similarly to FIG. 4A, the point on the CL data is shifted by the cylindrical radial distance r so that the tool and the workpiece 1 are in contact with each other.

図4(D)は、工具軸Zを回転中心とする円錐型の工具面5を有する回転工具を示している。以下、かかる回転工具を円錐型工具と呼ぶ。
円錐型工具では、加工工具4の円錐型の頂点にTCPの原点を、回転軸と一致するようにTCPのZ軸を設定する。
先端角をαとすると、工具軸方向ベクトルwを、押付け方向ベクトルvを送り方向回りに(90−α/2)度又は−(90−α/2)度回転させた方向に設定する。送り方向の算出は図4(C)と同様であり、TCP座標の仮の姿勢角の算出は図4(B)と同様である。
FIG. 4D shows a rotary tool having a conical tool surface 5 with the tool axis Z as the center of rotation. Hereinafter, such a rotary tool is referred to as a conical tool.
In the conical tool, the TCP origin is set at the conical apex of the machining tool 4 and the TCP Z-axis is set to coincide with the rotation axis.
When the tip angle is α, the tool axis direction vector w is set to a direction in which the pressing direction vector v is rotated by (90−α / 2) degrees or − (90−α / 2) degrees around the feed direction. The calculation of the feed direction is the same as in FIG. 4C, and the calculation of the temporary posture angle of the TCP coordinates is the same as in FIG.

(加工ロボット10の軌道の生成)
図5は、本発明の第3ステップS23を示す説明図である。
上述した工具の軸対称性による冗長性より、図5に破線で示すように、工具軸Z(=TCPのZ軸回り)の方向を変えずに加工ロボット10の姿勢を変えることで、加工に影響なく、加工ロボット10の姿勢を選択することができる。
そこで、算出した軌道上の各点のTCP座標の姿勢を工具軸Zを中心に回転させて、特異姿勢の回避や、周辺物との干渉回避を行う。この計算は、パラメータが工具軸Z回りの回転量のみであるため、試行錯誤的に姿勢を選択すればよい。
(Generation of the trajectory of the machining robot 10)
FIG. 5 is an explanatory diagram showing the third step S23 of the present invention.
Due to the above-described redundancy due to the axial symmetry of the tool, as shown by a broken line in FIG. 5, by changing the posture of the processing robot 10 without changing the direction of the tool axis Z (= around the Z axis of TCP), The posture of the processing robot 10 can be selected without any influence.
Therefore, the orientation of the calculated TCP coordinates of each point on the trajectory is rotated around the tool axis Z to avoid a specific orientation and avoid interference with surrounding objects. In this calculation, since the parameter is only the rotation amount around the tool axis Z, the posture may be selected by trial and error.

(動作試験)
3次元的な曲面を持つアルミ製ファンをCADでモデリングし、本発明の方法で軌道を生成した。さらに、位置と力のハイブリッド制御でフェルトバフによる磨き加工を行い、本発明の適用性を確認した。
なお、フェルトバフの形状は砲弾型であるが、円錐型工具(図4(D))の軌道生成方法を適用し、先端角の値を変えることで、バフの当てる位置を調整することができる。3次元CADはSolidWorks(登録商標)を、軌道生成ソフトウェアは、加工ロボット10のCAMであるRobotWorksを使用した。
(Operation test)
An aluminum fan having a three-dimensional curved surface was modeled by CAD, and a trajectory was generated by the method of the present invention. Furthermore, the felt buffing was performed by hybrid control of position and force, and the applicability of the present invention was confirmed.
Although the felt buff is bullet-shaped, the position of the buff can be adjusted by changing the value of the tip angle by applying the trajectory generation method of the conical tool (FIG. 4D). SolidWorks (registered trademark) was used as the three-dimensional CAD, and RobotWorks, which is the CAM of the processing robot 10, was used as the trajectory generation software.

上述したように精密仕上げ加工は自動化が遅れており、熟練技能に依存している。そこで、本発明では、精密仕上げ加工用の加工ロボット10の前提条件や課題を整理し、CAMとの親和性の高い、シンプルで汎用性の高い軌道生成方法を提案し、磨き加工によって適用性を確認した。
その後、提案する軌道生成方法を使って、多様な形状の工具を使い分けながら、形状が複雑な部品の仕上げに対応するロボットシステムを開発し、精密仕上げ加工に適用できることが確認された。
As described above, the precision finishing process is delayed in automation and depends on skilled skills. Therefore, in the present invention, the preconditions and problems of the machining robot 10 for precision finishing are arranged, a simple and versatile trajectory generation method having high affinity with CAM is proposed, and the applicability is improved by polishing. confirmed.
After that, using the proposed trajectory generation method, we developed a robot system that can finish parts with complex shapes while using differently shaped tools, and confirmed that it can be applied to precision finishing.

上述した本発明によれば、軌道データ生成装置24による軌道データ生成ステップS2の第1ステップS21において、ワーク表面1aの加工点位置、及び押付け方向ベクトルvを生成する。加工工具4の押付け方向は、押付け方向ベクトルvの方向である。
また、第2ステップS22において、加工工具4の工具面5がワーク表面1aと平行になるように、TCP位置Pと工具軸方向ベクトルwを算出する。
According to the present invention described above, in the first step S21 of the trajectory data generation step S2 by the trajectory data generation device 24, the machining point position of the workpiece surface 1a and the pressing direction vector v are generated. The pressing direction of the machining tool 4 is the direction of the pressing direction vector v.
In the second step S22, the TCP position P and the tool axis direction vector w are calculated so that the tool surface 5 of the machining tool 4 is parallel to the workpiece surface 1a.

従って、ワーク1の形状が複雑な場合でも、教示作業なしに、工具形状に合わせて、加工工具4の工具面5をワーク表面1aに平行に設定することができる。また、位置と力のハイブリッド制御に必要なTCP位置Pと加工工具4の押付け方向を含む工具軌道データD4を生成することができる。   Therefore, even when the shape of the workpiece 1 is complicated, the tool surface 5 of the machining tool 4 can be set parallel to the workpiece surface 1a in accordance with the tool shape without teaching work. Further, tool trajectory data D4 including the TCP position P necessary for hybrid control of position and force and the pressing direction of the machining tool 4 can be generated.

また、本発明によれば、軌道データ生成装置24による軌道データ生成ステップS2の第3ステップS23において、TCP位置Pと工具軸方向ベクトルwを維持したままとりうる、7軸ロボットアーム12の複数の姿勢から、特異姿勢や外部との干渉のない姿勢を選択する。
従って、7軸ロボットアーム12を用いてロボットの特異姿勢回避や外部との干渉を回避することができる。
Further, according to the present invention, in the third step S23 of the trajectory data generation step S2 by the trajectory data generation device 24, a plurality of the 7-axis robot arms 12 that can be maintained while maintaining the TCP position P and the tool axis direction vector w. From the posture, select a posture that does not have a singular posture or interference with the outside.
Therefore, it is possible to avoid a specific posture of the robot and interference with the outside by using the 7-axis robot arm 12.

すなわち、本発明によれば、ワーク表面1aの形状データD1から工具軌道データD4を自動生成するため、教示作業の手間が省ける。また、工具面5をワーク1に密着させる軌道を生成しつつ、ロボット特有の問題である特異姿勢の回避もできるため、ロボットの可動範囲を最大限に利用した加工が可能となる。   That is, according to the present invention, the tool trajectory data D4 is automatically generated from the shape data D1 of the workpiece surface 1a, so that the teaching work can be saved. In addition, since a trajectory for bringing the tool surface 5 into close contact with the workpiece 1 can be generated, a unique posture that is a problem peculiar to the robot can be avoided, so that machining using the maximum movable range of the robot becomes possible.

なお、本発明は上述した実施形態に限定されず、特許請求の範囲の記載によって示され、さらに特許請求の範囲の記載と均等の意味及び範囲内でのすべての変更を含むものである。   In addition, this invention is not limited to embodiment mentioned above, is shown by description of a claim, and also includes all the changes within the meaning and range equivalent to description of a claim.

A ロール角、B ピッチ角、C ヨー角、θ 第7関節角、
a1、a2、a3、a4、a5、a6、a7 制御軸、b0 ベース、
b1、b2、b3、b4、b5、b5−1、b5−2、b6 リンク、
D1 形状データ、D2 工具データ、D3 ロボットデータ、
D4 工具軌道データ、Dmin 全リンクの最短距離、J ヤコビ行列、
J1、J2、J3、J4、J5、J6、J7 関節軸の関節角、
P TCP位置、P1 加工点、Q 工具姿勢、r 半径距離、
v 押付け方向ベクトル(法線方向ベクトル)、w 工具軸方向ベクトル、
w2 可操作度、Z 工具軸、1 ワーク(被加工部材)、1a ワーク表面、
4 加工工具、5 工具面、6 駆動装置、8 力覚センサ、
10 加工ロボット、12 7軸ロボットアーム、14 手先部材、
16 ロボットコントローラ、20 加工軌道生成装置、22 記憶装置、
24 軌道データ生成装置
A roll angle, B pitch angle, C yaw angle, θ 7th joint angle,
a1, a2, a3, a4, a5, a6, a7 Control axis, b0 base,
b1, b2, b3, b4, b5, b5-1, b5-2, b6 links,
D1 shape data, D2 tool data, D3 robot data,
D4 tool path data, D min shortest distance of all links, J Jacobian matrix,
J1, J2, J3, J4, J5, J6, J7 joint angle of the joint axis,
P TCP position, P1 machining point, Q tool posture, r radius distance,
v pressing direction vector (normal direction vector), w tool axis direction vector,
w2 operability, Z tool axis, 1 workpiece (workpiece), 1a workpiece surface,
4 machining tools, 5 tool surfaces, 6 drive units, 8 force sensors,
10 processing robot, 12 7-axis robot arm, 14 hand member,
16 robot controllers, 20 processing trajectory generators, 22 storage devices,
24 Orbit data generator

Claims (13)

ワーク表面を研削又は研磨により仕上げ加工する加工ロボットの加工軌道を生成する加工軌道生成装置であって、
ワーク表面の形状データと、
工具軸を回転中心とする回転体の工具面を有し、ワーク表面に接触して加工する加工工具の工具データと、
前記加工工具を3次元空間内で移動する7軸ロボットアームのロボットデータと、を記憶する記憶装置と、
前記加工工具の回転軸上に原点を、回転軸と一致するようにZ軸を設定したTCPの、空間に固定された座標系における位置と加工工具の押付け方向ベクトルを含む工具軌道データを生成する軌道データ生成装置と、を備え、
該軌道データ生成装置により、
(A)前記形状データからワーク表面の加工点位置と、各加工点における加工工具の押付け方向ベクトルとを生成し、
(B)各加工点において、加工工具の工具面がワーク表面と平行になるように、TCP位置と工具軸方向ベクトルを算出し、
(C)各加工点において、TCP位置と工具軸方向ベクトルを維持したままとりうる、前記7軸ロボットアームの複数の姿勢から、特異姿勢や外部との干渉のない姿勢を選択し、
前記加工工具は、工具軸を回転中心とする球型の工具面を有する球型工具であり、
前記(B)において、加工工具の球型の工具面の中心にTCPの原点を、回転軸と一致するようにTCPのZ軸を設定し、
ワーク表面の加工点を押付け方向ベクトルの逆向きに球型の半径距離をシフトしてTCP位置を算出する、ことを特徴とする加工軌道生成装置。
A processing trajectory generation device that generates a processing trajectory of a processing robot that finishes a workpiece surface by grinding or polishing,
Shape data on the workpiece surface,
Tool data of a machining tool that has a tool surface of a rotating body with the tool axis as the rotation center and is in contact with the workpiece surface,
A storage device for storing robot data of a seven-axis robot arm that moves the processing tool in a three-dimensional space;
Tool trajectory data including a position in a coordinate system fixed in space and a pressing direction vector of the machining tool, with the origin set on the rotation axis of the machining tool and the Z axis set to coincide with the rotation axis. An orbit data generation device,
By the trajectory data generation device,
(A) A machining point position on the workpiece surface and a pressing direction vector of the machining tool at each machining point are generated from the shape data,
(B) At each machining point, calculate the TCP position and the tool axis direction vector so that the tool surface of the machining tool is parallel to the workpiece surface,
(C) At each machining point, select a posture that does not have a specific posture or interference with the outside from a plurality of postures of the seven-axis robot arm that can be taken while maintaining the TCP position and the tool axis direction vector .
The processing tool is a spherical tool having a spherical tool surface with a tool axis as a rotation center,
In (B), the origin of TCP is set at the center of the spherical tool surface of the machining tool, and the Z axis of TCP is set so as to coincide with the rotation axis.
A machining trajectory generating apparatus characterized in that a TCP position is calculated by shifting a spherical radial distance of a machining point on a workpiece surface in a direction opposite to a pressing direction vector .
ワーク表面を研削又は研磨により仕上げ加工する加工ロボットの加工軌道を生成する加工軌道生成装置であって、
ワーク表面の形状データと、
工具軸を回転中心とする回転体の工具面を有し、ワーク表面に接触して加工する加工工具の工具データと、
前記加工工具を3次元空間内で移動する7軸ロボットアームのロボットデータと、を記憶する記憶装置と、
前記加工工具の回転軸上に原点を、回転軸と一致するようにZ軸を設定したTCPの、空間に固定された座標系における位置と加工工具の押付け方向ベクトルを含む工具軌道データを生成する軌道データ生成装置と、を備え、
該軌道データ生成装置により、
(A)前記形状データからワーク表面の加工点位置と、各加工点における加工工具の押付け方向ベクトルとを生成し、
(B)各加工点において、加工工具の工具面がワーク表面と平行になるように、TCP位置と工具軸方向ベクトルを算出し、
(C)各加工点において、TCP位置と工具軸方向ベクトルを維持したままとりうる、前記7軸ロボットアームの複数の姿勢から、特異姿勢や外部との干渉のない姿勢を選択し、
前記加工工具は、工具軸を回転中心とする円柱型の工具面を有する円柱型工具であり、
前記(B)において、加工工具の工具端面の中心にTCPの原点を、回転軸と一致するようにTCPのZ軸を設定し、
工具軸方向ベクトルを、押付け方向ベクトルを送り方向回りに+90度又は−90度回転させた方向に設定し、
ワーク表面の加工点を押付け方向ベクトルの逆向きに円柱型の半径距離をシフトしてTCP位置を算出する、ことを特徴とする加工軌道生成装置。
A processing trajectory generation device that generates a processing trajectory of a processing robot that finishes a workpiece surface by grinding or polishing,
Shape data on the workpiece surface,
Tool data of a machining tool that has a tool surface of a rotating body with the tool axis as the rotation center and is in contact with the workpiece surface,
A storage device for storing robot data of a seven-axis robot arm that moves the processing tool in a three-dimensional space;
Tool trajectory data including a position in a coordinate system fixed in space and a pressing direction vector of the machining tool, with the origin set on the rotation axis of the machining tool and the Z axis set to coincide with the rotation axis. An orbit data generation device,
By the trajectory data generation device,
(A) A machining point position on the workpiece surface and a pressing direction vector of the machining tool at each machining point are generated from the shape data,
(B) At each machining point, calculate the TCP position and the tool axis direction vector so that the tool surface of the machining tool is parallel to the workpiece surface,
(C) At each machining point, select a posture that does not have a specific posture or interference with the outside from a plurality of postures of the seven-axis robot arm that can be taken while maintaining the TCP position and the tool axis direction vector .
The processing tool is a cylindrical tool having a cylindrical tool surface with a tool axis as a rotation center,
In (B), the origin of TCP is set at the center of the tool end face of the machining tool, and the Z axis of TCP is set so as to coincide with the rotation axis.
Set the tool axis direction vector to the direction in which the pressing direction vector is rotated +90 degrees or -90 degrees around the feed direction,
A machining trajectory generating apparatus characterized in that a TCP position is calculated by shifting a cylindrical radial distance of a machining point on a workpiece surface in a direction opposite to a pressing direction vector .
ワーク表面を研削又は研磨により仕上げ加工する加工ロボットの加工軌道を生成する加工軌道生成装置であって、
ワーク表面の形状データと、
工具軸を回転中心とする回転体の工具面を有し、ワーク表面に接触して加工する加工工具の工具データと、
前記加工工具を3次元空間内で移動する7軸ロボットアームのロボットデータと、を記憶する記憶装置と、
前記加工工具の回転軸上に原点を、回転軸と一致するようにZ軸を設定したTCPの、空間に固定された座標系における位置と加工工具の押付け方向ベクトルを含む工具軌道データを生成する軌道データ生成装置と、を備え、
該軌道データ生成装置により、
(A)前記形状データからワーク表面の加工点位置と、各加工点における加工工具の押付け方向ベクトルとを生成し、
(B)各加工点において、加工工具の工具面がワーク表面と平行になるように、TCP位置と工具軸方向ベクトルを算出し、
(C)各加工点において、TCP位置と工具軸方向ベクトルを維持したままとりうる、前記7軸ロボットアームの複数の姿勢から、特異姿勢や外部との干渉のない姿勢を選択し、
前記加工工具は、工具軸を回転中心とし先端角がαの円錐型の工具面を有する円錐型工具であり、
前記(B)において、加工工具の前記円錐型の頂点にTCPの原点を、回転軸と一致するようにTCPのZ軸を設定し、
工具軸方向ベクトルを、押付け方向ベクトルを送り方向回りに(90−α/2)度又は−(90−α/2)度回転させた方向に設定する、ことを特徴とする加工軌道生成装置。
A processing trajectory generation device that generates a processing trajectory of a processing robot that finishes a workpiece surface by grinding or polishing,
Shape data on the workpiece surface,
Tool data of a machining tool that has a tool surface of a rotating body with the tool axis as the rotation center and is in contact with the workpiece surface,
A storage device for storing robot data of a seven-axis robot arm that moves the processing tool in a three-dimensional space;
Tool trajectory data including a position in a coordinate system fixed in space and a pressing direction vector of the machining tool, with the origin set on the rotation axis of the machining tool and the Z axis set to coincide with the rotation axis. An orbit data generation device,
By the trajectory data generation device,
(A) A machining point position on the workpiece surface and a pressing direction vector of the machining tool at each machining point are generated from the shape data,
(B) At each machining point, calculate the TCP position and the tool axis direction vector so that the tool surface of the machining tool is parallel to the workpiece surface,
(C) At each machining point, select a posture that does not have a specific posture or interference with the outside from a plurality of postures of the seven-axis robot arm that can be taken while maintaining the TCP position and the tool axis direction vector .
The processing tool is a conical tool having a conical tool surface having a tool axis as a rotation center and a tip angle α.
In (B), the origin of TCP is set at the apex of the conical shape of the processing tool, and the Z axis of TCP is set so as to coincide with the rotation axis.
A machining trajectory generating apparatus, wherein the tool axis direction vector is set to a direction in which the pressing direction vector is rotated by (90-α / 2) degrees or-(90-α / 2) degrees around the feed direction .
ワーク表面を研削又は研磨により仕上げ加工する加工ロボットの加工軌道を生成する加工軌道生成方法であって、
記憶装置に、ワーク表面の形状データと、
工具軸を回転中心とする回転体の工具面を有し、ワーク表面に接触して加工する加工工具の工具データと、
前記加工工具を3次元空間内で移動する7軸ロボットアームのロボットデータと、を記憶する記憶ステップと、
軌道データ生成装置により、前記加工工具の回転軸上に原点を、回転軸と一致するようにZ軸を設定したTCPの、空間に固定された座標系における位置と加工工具の押付け方向ベクトルを含む工具軌道データを生成する軌道データ生成ステップと、を有し、
軌道データ生成ステップは、
(A)前記形状データからワーク表面の加工点位置と、各加工点における加工工具の押付け方向ベクトルとを生成する第1ステップと、
(B)各加工点において、加工工具の工具面がワーク表面と平行になるように、TCP位置と工具軸方向ベクトルを算出する第2ステップと、
(C)各加工点において、TCP位置と工具軸方向ベクトルを維持したままとりうる、前記7軸ロボットアームの複数の姿勢から、特異姿勢や外部との干渉のない姿勢を選択する第3ステップと、を有し、
前記加工工具は、工具軸を回転中心とする球型の工具面を有する球型工具であり、
前記(B)において、加工工具の球型の工具面の中心にTCPの原点を、回転軸と一致するようにTCPのZ軸を設定し、
ワーク表面の加工点を押付け方向ベクトルの逆向きに球型の半径距離をシフトしてTCP位置を算出する、ことを特徴とする加工軌道生成方法。
A processing trajectory generation method for generating a processing trajectory of a processing robot for finishing a workpiece surface by grinding or polishing,
In the storage device, the shape data of the workpiece surface,
Tool data of a machining tool that has a tool surface of a rotating body with the tool axis as the rotation center and is in contact with the workpiece surface,
A storage step of storing robot data of a seven-axis robot arm that moves the processing tool in a three-dimensional space;
The trajectory data generation device includes the position in the coordinate system fixed in space and the pressing direction vector of the machining tool, with the origin set on the rotation axis of the machining tool and the Z axis set to coincide with the rotation axis. A trajectory data generation step for generating tool trajectory data,
The orbit data generation step
(A) a first step of generating a machining point position on the workpiece surface and a pressing direction vector of the machining tool at each machining point from the shape data;
(B) a second step of calculating a TCP position and a tool axis direction vector so that the tool surface of the machining tool is parallel to the workpiece surface at each machining point;
(C) a third step of selecting, from each of the plurality of postures of the seven-axis robot arm, which can be taken while maintaining the TCP position and the tool axis direction vector at each machining point, and a posture without a specific posture or external interference; , have a,
The processing tool is a spherical tool having a spherical tool surface with a tool axis as a rotation center,
In (B), the origin of TCP is set at the center of the spherical tool surface of the machining tool, and the Z axis of TCP is set so as to coincide with the rotation axis.
A machining trajectory generation method, characterized in that a TCP position is calculated by shifting a spherical radial distance of a machining point on a workpiece surface in a direction opposite to a pressing direction vector .
ワーク表面を研削又は研磨により仕上げ加工する加工ロボットの加工軌道を生成する加工軌道生成方法であって、
記憶装置に、ワーク表面の形状データと、
工具軸を回転中心とする回転体の工具面を有し、ワーク表面に接触して加工する加工工具の工具データと、
前記加工工具を3次元空間内で移動する7軸ロボットアームのロボットデータと、を記憶する記憶ステップと、
軌道データ生成装置により、前記加工工具の回転軸上に原点を、回転軸と一致するようにZ軸を設定したTCPの、空間に固定された座標系における位置と加工工具の押付け方向ベクトルを含む工具軌道データを生成する軌道データ生成ステップと、を有し、
軌道データ生成ステップは、
(A)前記形状データからワーク表面の加工点位置と、各加工点における加工工具の押付け方向ベクトルとを生成する第1ステップと、
(B)各加工点において、加工工具の工具面がワーク表面と平行になるように、TCP位置と工具軸方向ベクトルを算出する第2ステップと、
(C)各加工点において、TCP位置と工具軸方向ベクトルを維持したままとりうる、前記7軸ロボットアームの複数の姿勢から、特異姿勢や外部との干渉のない姿勢を選択する第3ステップと、を有し、
前記加工工具は、工具軸を回転中心とする円柱型の工具面を有する円柱型工具であり、
前記(B)において、加工工具の工具端面の中心にTCPの原点を、回転軸と一致するようにTCPのZ軸を設定し、
工具軸方向ベクトルを、押付け方向ベクトルを送り方向回りに+90度又は−90度回転させた方向に設定し、
ワーク表面の加工点を押付け方向ベクトルの逆向きに円柱型の半径距離をシフトしてTCP位置を算出する、ことを特徴とする加工軌道生成方法。
A processing trajectory generation method for generating a processing trajectory of a processing robot for finishing a workpiece surface by grinding or polishing,
In the storage device, the shape data of the workpiece surface,
Tool data of a machining tool that has a tool surface of a rotating body with the tool axis as the rotation center and is in contact with the workpiece surface,
A storage step of storing robot data of a seven-axis robot arm that moves the processing tool in a three-dimensional space;
The trajectory data generation device includes the position in the coordinate system fixed in space and the pressing direction vector of the machining tool, with the origin set on the rotation axis of the machining tool and the Z axis set to coincide with the rotation axis. A trajectory data generation step for generating tool trajectory data,
The orbit data generation step
(A) a first step of generating a machining point position on the workpiece surface and a pressing direction vector of the machining tool at each machining point from the shape data;
(B) a second step of calculating a TCP position and a tool axis direction vector so that the tool surface of the machining tool is parallel to the workpiece surface at each machining point;
(C) a third step of selecting, from each of the plurality of postures of the seven-axis robot arm, which can be taken while maintaining the TCP position and the tool axis direction vector at each machining point, and a posture without a specific posture or external interference; , have a,
The processing tool is a cylindrical tool having a cylindrical tool surface with a tool axis as a rotation center,
In (B), the origin of TCP is set at the center of the tool end face of the machining tool, and the Z axis of TCP is set so as to coincide with the rotation axis.
Set the tool axis direction vector to the direction in which the pressing direction vector is rotated +90 degrees or -90 degrees around the feed direction,
A machining trajectory generation method characterized by calculating a TCP position by shifting a cylindrical radial distance of a machining point on a workpiece surface in a direction opposite to a pressing direction vector .
ワーク表面を研削又は研磨により仕上げ加工する加工ロボットの加工軌道を生成する加工軌道生成方法であって、
記憶装置に、ワーク表面の形状データと、
工具軸を回転中心とする回転体の工具面を有し、ワーク表面に接触して加工する加工工具の工具データと、
前記加工工具を3次元空間内で移動する7軸ロボットアームのロボットデータと、を記憶する記憶ステップと、
軌道データ生成装置により、前記加工工具の回転軸上に原点を、回転軸と一致するようにZ軸を設定したTCPの、空間に固定された座標系における位置と加工工具の押付け方向ベクトルを含む工具軌道データを生成する軌道データ生成ステップと、を有し、
軌道データ生成ステップは、
(A)前記形状データからワーク表面の加工点位置と、各加工点における加工工具の押付け方向ベクトルとを生成する第1ステップと、
(B)各加工点において、加工工具の工具面がワーク表面と平行になるように、TCP位置と工具軸方向ベクトルを算出する第2ステップと、
(C)各加工点において、TCP位置と工具軸方向ベクトルを維持したままとりうる、前記7軸ロボットアームの複数の姿勢から、特異姿勢や外部との干渉のない姿勢を選択する第3ステップと、を有し、
前記加工工具は、工具軸を回転中心とし先端角がαの円錐型の工具面を有する円錐型工具であり、
前記(B)において、加工工具の前記円錐型の頂点にTCPの原点を、回転軸と一致するようにTCPのZ軸を設定し、
工具軸方向ベクトルを、押付け方向ベクトルを送り方向回りに(90−α/2)度又は−(90−α/2)度回転させた方向に設定する、ことを特徴とする加工軌道生成方法。
A processing trajectory generation method for generating a processing trajectory of a processing robot for finishing a workpiece surface by grinding or polishing,
In the storage device, the shape data of the workpiece surface,
Tool data of a machining tool that has a tool surface of a rotating body with the tool axis as the rotation center and is in contact with the workpiece surface,
A storage step of storing robot data of a seven-axis robot arm that moves the processing tool in a three-dimensional space;
The trajectory data generation device includes the position in the coordinate system fixed in space and the pressing direction vector of the machining tool, with the origin set on the rotation axis of the machining tool and the Z axis set to coincide with the rotation axis. A trajectory data generation step for generating tool trajectory data,
The orbit data generation step
(A) a first step of generating a machining point position on the workpiece surface and a pressing direction vector of the machining tool at each machining point from the shape data;
(B) a second step of calculating a TCP position and a tool axis direction vector so that the tool surface of the machining tool is parallel to the workpiece surface at each machining point;
(C) a third step of selecting, from each of the plurality of postures of the seven-axis robot arm, which can be taken while maintaining the TCP position and the tool axis direction vector at each machining point, and a posture without a specific posture or external interference; , have a,
The processing tool is a conical tool having a conical tool surface having a tool axis as a rotation center and a tip angle α.
In (B), the origin of TCP is set at the apex of the conical shape of the processing tool, and the Z axis of TCP is set so as to coincide with the rotation axis.
A method for generating a machining trajectory, wherein the tool axis direction vector is set to a direction in which the pressing direction vector is rotated by (90-α / 2) degrees or-(90-α / 2) degrees about the feed direction .
前記(B)において、工具形状データを利用して工具軸方向ベクトルを生成する、ことを特徴とする請求項4乃至6のいずれか一項に記載の加工軌道生成方法。 7. The machining trajectory generation method according to claim 4 , wherein in (B), a tool axis direction vector is generated using tool shape data. 8. 前記(C)において、7軸ロボットアームの位置と姿勢を、1つの関節角、TCPの位置、TCP座標系のロール角、ピッチ角、及びヨー角で表現し、
1つの前記関節角とロール角、ピッチ角、又はヨー角のいずれかを仮の値に固定して、ロール角、ピッチ角、及びヨー角を算出する、ことを特徴とする請求項4乃至6のいずれか一項に記載の加工軌道生成方法。
In (C), the position and posture of the 7-axis robot arm are expressed by one joint angle, TCP position, roll angle, pitch angle, and yaw angle of the TCP coordinate system,
One of the joint angle and the roll angle, pitch angle, or any of the yaw angle was fixed to the value of the temporary, roll angle, according to claim 4 to 6 pitch angle, and calculates a yaw angle, and wherein the The processing track generation method according to any one of the above.
前記(C)において、TCP位置と工具軸方向ベクトルの姿勢から、7軸ロボットアームの各関節角を計算し、
各関節角から、ロボットの特異姿勢又は外部との干渉の有無をチェックする、とを特徴とする請求項4乃至6のいずれか一項に記載の加工軌道生成方法。
In (C), each joint angle of the 7-axis robot arm is calculated from the posture of the TCP position and the tool axis direction vector,
7. The machining trajectory generation method according to claim 4 , wherein the presence or absence of interference with a specific posture of the robot or the outside is checked from each joint angle.
前記(C)において、TCP位置と工具軸方向ベクトルの姿勢から、TCP位置と工具軸方向ベクトルの姿勢を維持したままとりうる、前記7軸ロボットアームの姿勢から構成されるコンフィグレーション空間の各点において、ロボットの特異姿勢又は外部との干渉の有無を数値的に重みづけしたマップを作成し、そのマップ上でロボットアーム軌道を選択することを特徴とする、ことを特徴とする請求項9に記載の加工軌道生成方法。   In (C), each point of the configuration space composed of the posture of the seven-axis robot arm that can be taken from the posture of the TCP position and the tool axis direction vector while maintaining the posture of the TCP position and the tool axis direction vector. The method according to claim 9, wherein a map weighted numerically with respect to the presence or absence of interference with the robot is created and a robot arm trajectory is selected on the map. The processing trajectory generation method described. 前記マップにおいて、干渉の有無の重みづけに、ロボットアームの各リンクと外部の物体との最小距離を使用する、ことを特徴とする請求項10に記載の加工軌道生成方法。   11. The machining trajectory generation method according to claim 10, wherein a minimum distance between each link of the robot arm and an external object is used for weighting the presence or absence of interference in the map. 前記マップにおいて、特異姿勢の重みづけに、ロボットアームの可操作度を使用する、ことを特徴とする請求項10に記載の加工軌道生成方法。   The machining trajectory generation method according to claim 10, wherein the operability of the robot arm is used for weighting the specific posture in the map. 前記マップ上でのロボットアーム選定において、ロール角、ピッチ角、又はヨー角のいずれかを一定値という条件下で探索し、ロボットの特異姿勢又は外部との干渉のないロボットアーム軌道を選択する、ことを特徴とする請求項10に記載の加工軌道生成方法。
In the robot arm selection on the map, either the roll angle, the pitch angle, or the yaw angle is searched under the condition of a constant value, and the robot arm trajectory that does not interfere with the specific posture of the robot or the outside is selected. The method for generating a machining trajectory according to claim 10.
JP2014125063A 2014-06-18 2014-06-18 Processing trajectory generating apparatus and method Active JP6390832B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014125063A JP6390832B2 (en) 2014-06-18 2014-06-18 Processing trajectory generating apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014125063A JP6390832B2 (en) 2014-06-18 2014-06-18 Processing trajectory generating apparatus and method

Publications (2)

Publication Number Publication Date
JP2016002628A JP2016002628A (en) 2016-01-12
JP6390832B2 true JP6390832B2 (en) 2018-09-19

Family

ID=55222327

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014125063A Active JP6390832B2 (en) 2014-06-18 2014-06-18 Processing trajectory generating apparatus and method

Country Status (1)

Country Link
JP (1) JP6390832B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106003027B (en) * 2016-06-03 2019-03-01 广州视源电子科技股份有限公司 The setting method and system in manipulator motion path
JP2018117530A (en) * 2017-01-23 2018-08-02 坂下 恒明 Agricultural machine
JP6708675B2 (en) 2018-02-22 2020-06-10 ファナック株式会社 robot
WO2023238268A1 (en) * 2022-06-08 2023-12-14 ヤマハ発動機株式会社 Robot control method and robot system

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3670700B2 (en) * 1994-04-27 2005-07-13 株式会社日立製作所 Robot mechanism control method
JPH0852674A (en) * 1994-08-12 1996-02-27 Kobe Steel Ltd Position attitude determining method for manipulator
JP3450464B2 (en) * 1994-10-24 2003-09-22 株式会社東芝 Force control robot
JPH09314487A (en) * 1996-05-31 1997-12-09 Mitsubishi Heavy Ind Ltd Method for controlling manipulator having redundant axis
JP2001038598A (en) * 1999-07-26 2001-02-13 Prima Meat Packers Ltd Automatic polisher
JP2001232469A (en) * 2000-02-21 2001-08-28 Nissan Motor Co Ltd Method of making data for automatic welding for metallic mold manufacturing
JP2004094399A (en) * 2002-08-29 2004-03-25 Mitsubishi Heavy Ind Ltd Control process for multi-joint manipulator and its control program as well as its control system
DE102008010983A1 (en) * 2008-02-25 2009-08-27 Mtu Aero Engines Gmbh Method for optimized near-net shape milling
JP5236596B2 (en) * 2009-08-19 2013-07-17 ファナック株式会社 Processing robot system
JP5459486B2 (en) * 2010-01-26 2014-04-02 株式会社Ihi Robot calibration method and apparatus
WO2013190639A1 (en) * 2012-06-19 2013-12-27 株式会社安川電機 Robotic system and method for manufacturing processed goods
JP6418483B2 (en) * 2014-06-18 2018-11-07 株式会社Ihi Processing trajectory generating apparatus and method

Also Published As

Publication number Publication date
JP2016002628A (en) 2016-01-12

Similar Documents

Publication Publication Date Title
JP6418483B2 (en) Processing trajectory generating apparatus and method
Liu et al. Inverse kinematics of a 5-axis hybrid robot with non-singular tool path generation
Song et al. Precision robotic deburring based on force control for arbitrarily shaped workpiece using CAD model matching
JP5720876B2 (en) Processing robot and gravity compensation method thereof
US8972056B2 (en) Method of finding feasible joint trajectories for an n-dof robot with rotation invariant process (n&gt;5)
JP2011041992A (en) Machining robot system
Bolmsjö et al. Robotic arc welding–trends and developments for higher autonomy
JP6390832B2 (en) Processing trajectory generating apparatus and method
Gołda et al. Modelling of cutting force and robot load during machining
EP2523786B1 (en) Method of finding feasible joint trajectories for an n-dof robot with rotation invariant process (n&gt;5)
CN111452033A (en) Double NURBS curve milling trajectory planning method for industrial robot
CN105598975A (en) Method for determining movement tracks of industrial robot
ZQ et al. Robotic milling of complex NURBS surface with fixed cutter axis control method
Hu et al. Robotic deburring and chamfering of complex geometries in high-mix/low-volume production applications
Zeng et al. Surface polishing by industrial robots: a review
JP5765557B2 (en) Trajectory tracking device and method for machining robot
Ghaffari et al. Kinematic design of a novel 4-DOF parallel mechanism for turbine blade machining
Xu et al. Dynamic analysis of a linear Delta robot in hybrid polishing machine based on the principle of virtual work
Owen et al. Stiffness optimization for two‐armed robotic sculpting
Subrin et al. Digital chain development for sanding application with a kinematically redundant robotic system
JP2003005811A (en) Method and program for generating 6-axis control nc program, generating device and computer readable recording medium with the program stored therein
KR20150112395A (en) Joint angle calculation system of robot and method thereof
JP2021186929A (en) Control method for multi-axis robot
Jayaweera et al. Robotic edge profiling of complex components
Tian et al. Research on robotic automatic machining for welding groove of complex integral impeller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170426

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180301

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180427

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180807

R151 Written notification of patent or utility model registration

Ref document number: 6390832

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151